摘要:
An endless script or other function is considered to be malicious as it exhausts system resources such as CPU time and memory. Therefore, the handling of an endless function execution is crucial, particularly in a wireless runtime environment. A combination of time-out and user-interruption scheme is used to detect and handle the problem.
摘要:
A method of application waste management in a wireless device is provided. The method comprised a first low-memory event. Deleting a first set of data records incrementally until event is cleared or no more records are present. Determining a second low-memory event when memory is still low. Executing a clean-up script to mark additional data records for deletion. Deleting the second set of data records until the second low-memory condition are cleared or no more records are present.
摘要:
An application container-level transaction management system for managing transactions of an application on a wireless device. The system comprises a transaction manager for providing an interface to the application container for accessing methods for creation and execution of transactions in a hierarchical order. The transactions comprising correlative operations. The system further comprises a transaction stack for storing the transactions to be executed in an execution order according to the hierarchical order, the order of execution providing for at least one of rollback and completion of the correlative operations.
摘要:
A system and method for the simplification of data structures, particularly those used for wireless communications, encodes data structures for efficient storage and access. Wireless devices are provisioned with user applications for accessing remote services, such as World Wide Web services. The user applications comprise a plurality of component definitions which typically describe complex data structures for execution by a runtime environment. The runtime environment is conditioned to use a manner to encode such data structures in flat arrays of primitive types.
摘要:
A method of application waste management in a wireless device is provided. The method comprised a first low-memory event. Deleting a first set of data records incrementally until event is cleared or no more records are present. Determining a second low-memory event when memory is still low. Executing a clean-up script to mark additional data records for deletion. Deleting the second set of data records until the second low-memory condition are cleared or no more records are present.
摘要:
A waste management system and method of registering and deleting application waste is provided. The waste management system comprises a waste registration module for registering application waste and a waste deletion module for deleting the registered waste based upon the deletion priority. The waste registration module includes a deletion priority unit for assigning deletion priority to registered waste. The method comprises the steps of registering application waste, assigning deletion priority to registered waste, and deleting the registered waste based upon the deletion priority.
摘要:
A method is disclosed for handling an error in a script-based application, the method comprising detecting an error in the script-based application, the detecting comprising identifying the error and handling the detected error in accordance with a predetermined error-handling procedure suitable for the identified error.
摘要:
A waste management system and method of registering and deleting application waste is provided. The waste management system comprises a waste registration module for registering application waste and a waste deletion module for deleting the registered waste based upon the deletion priority. The waste registration module includes a deletion priority unit for assigning deletion priority to registered waste. The method comprises the steps of registering application waste, assigning deletion priority to registered waste, and deleting the registered waste based upon the deletion priority.
摘要:
An application container-level transaction management system for managing transactions of an application on a wireless device. The system comprises a transaction manager for providing an interface to the application container for accessing methods for creation and execution of transactions in a hierarchical order. The transactions comprising correlative operations. The system further comprises a transaction stack for storing the transactions to be executed in an execution order according to the hierarchical order, the order of execution providing for at least one of rollback and completion of the correlative operations.
摘要:
A method for introducing a service to a runtime environment of a wireless device, the service for supporting at least one application in the runtime environment, the wireless device communicating over a wireless network with a data processing system, the method comprising: configuring the service as a system application, wherein the system application is adapted to: communicate system and application level messaging with the data processing system and at least one other service in the runtime environment; and, communicate application level messaging with the at least one application in the runtime environment; and, installing the system application in the runtime environment as an application.