摘要:
A method and system for garbage collection in a virtualization environment. The virtualization environment includes a virtual machine hypervisor, at least one guest operating system, and at least one application program that runs on each guest operating system. The application program performs memory management using a garbage collection mechanism. The method includes, in response to an operating environment of the application program initiating garbage collection, the garbage collector requesting the guest operating system to assign a memory space and in response, the guest operating system assigns the memory space to the garbage collector. Then garbage collector marks live objects in an original memory space of the application program, and replicates the marked live objects to the assigned memory space. Finally, the garbage collector releases the original memory space of the application program to the guest operating system.
摘要:
A method and apparatus for protecting user information. The method includes receiving a request for accessing the user information from an application. When the request does not include an authorized token, the user is requested to temporally confirm the request for access. In response to the confirmation, a token is generated and the user on a mobile service platform is associated with the request for access by the token. The application is then allowed to access the user information based on the token associating the user with the request for accessing the user information from the application.
摘要:
A method for realizing content sharing among mobile terminals comprises: receiving an index of access content sent by a requesting mobile terminal; looking up a shareable content index table for the index of the access content; and sending identification information of a mobile terminal having the index of the access content to the requesting mobile terminal if the index of the access content is found, so that the requesting mobile terminal obtains the requested access content from the mobile terminal having the index of the access content via wireless communication.
摘要:
The present invention discloses a method and system for processing test cases for applications to be tested. The method includes evaluating two applications to be tested; obtaining test cases for the two applications to be tested and determining resources and execution times needed by the test cases for the two applications to be tested. According to the compatibility relationship between the two applications to be tested, and the resources and execution times needed by the test cases for the two applications to be tested, the test cases for the two applications to be tested are clustered to a virtual machine instance to test the test cases for the two applications to be tested on the virtual machine instance.
摘要:
A hypervisor obtains an agent with an obtaining device. A file for implementing an agent of the virtual machine is obtained in response to an instruction to start the virtual machine. An agent replacing device stores the obtained file to a specified location in a file system of the virtual machine. A virtual machine starting device starts the virtual machine.
摘要:
A method and system for garbage collection in a virtualization environment. The virtualization environment includes a virtual machine hypervisor, at least one guest operating system, and at least one application program that runs on each guest operating system. The application program performs memory management using a garbage collection mechanism. The method includes, in response to an operating environment of the application program initiating garbage collection, the garbage collector requesting the guest operating system to assign a memory space and in response, the guest operating system assigns the memory space to the garbage collector. Then garbage collector marks live objects in an original memory space of the application program, and replicates the marked live objects to the assigned memory space. Finally, the garbage collector releases the original memory space of the application program to the guest operating system.
摘要:
Systems, methods, and computer program products for processing data are disclosed. A method according to one embodiment includes reading a data processing instruction locally called by a virtual work unit; optimizing the read data processing instruction; and performing data processing for the virtual work unit using the optimized data processing instruction. The step of optimizing the read data processing instruction may include one or more of: merging data processing instructions from different virtual work units for same data, and analyzing data processing instructions from different virtual work units to select suitable data processing timing. The data processing method is executed in a virtual environment.
摘要:
Embodiments of the present invention relate to a method and apparatus for determining the location of a mobile device. Specifically, the method comprises: receiving the location message from a neighboring mobile device, the location message comprising the location of the neighboring mobile device at the current time which is obtained by the neighboring mobile device through calculation utilizing signals received from satellites; and estimating the location of the mobile device at the current time based on stored locations of the mobile device at historical time, stored locations of the neighboring mobile device at the historical time, and the received location of the neighboring mobile device at the current time.
摘要:
A method for power-efficiency management in a virtualized cluster system is disclosed, wherein the virtualized cluster system comprises a front-end physical host and at least one back-end physical host, and each of the at least one back-end physical host comprises at least one virtual machine and a virtual machine manager for managing the at least one virtual machine. In the method, flow characteristics of the virtualized cluster system are detected at a regular time cycle, then a power-efficiency management policy is generated for each of the at least one back-end physical host based on the detected flow characteristics, and finally the power-efficiency management policies are performed. The method can detect the real-time flow characteristics of the virtualized cluster system and make the power-efficiency management policies thereupon to control the power consumption of the system and perform admission control on the whole flow, thereby realizing optimal power saving while meeting the quality of service requirements, so that a virtualized cluster system with high power-efficiency can be provided.
摘要:
A computer-implemented method, apparatus, and virtual machine for facilitating the communication between VMs. The method of facilitating the communication between a first VM and a second VM includes: allocating a shared memory segment from within the memory of the physical machine; mapping the requested memory space addresses to the shared memory segments in response to the memory space requests from the VMs; and providing the requested memory space addresses. A method of communication from a first VM to a second VM includes: requesting a memory space in response to a notification that a shared memory segment has been allocated; obtaining the requested memory space address, which has been mapped to the allocated shared memory segment; and accessing communication data in the shared memory segment according to the address. The apparatus and virtual machine executes the steps of the methods.