Abstract:
A method and an apparatus for processing data and a computer system are provided. The method includes copying a shared virtual memory page to which a first process requests access into off-chip memory of a computing node, and using the shared virtual memory page copied into the off-chip memory as a working page of the first process; and before the first process performs a write operation on the working page, creating, in on-chip memory of the computing node, a backup page of the working page, so as to back up original data of the working page. Before a write operation is performed on a working page, page data is backed up in the on-chip memory, so as to ensure data consistency when multiple processes perform an operation on a shared virtual memory page while accessing off-chip memory as less as possible and improving a speed of a program.
Abstract:
The present invention discloses a platform, method, and device for managing an application, and belongs to the field of the Internet. The platform includes a mall and a store, where the mall includes: a management module configured to record and maintain information of an application store, application information, and user information; an application store creation module configured to create the application store according to store implementation logic, so that the application store presents an application according to the implementation logic; and a transaction management module configured to complete billing and charging of the application according to information maintained by the management module; and the store includes: a store interface management module configured to manage and present the application, so that the application is presented in a set presentation manner.
Abstract:
Embodiments of the present invention relate to a breakpoint information management method and a breakpoint information manager. The breakpoint information management method includes: obtaining, according to a query parameter obtained from a current application program and stored breakpoint information of at least one application program, breakpoint context information corresponding to the query parameter; calculating interest information according to the breakpoint context information; and returning the interest information to the current application program so that the current application program plays a corresponding electronic file. With the breakpoint information management method and the breakpoint information manager provided in the present invention, breakpoint information is deeply analyzed to obtain interest information, so that the breakpoint information is reused; and electronic files satisfying a user's interest characteristics are played for the user according to the interest information, thereby enlarging the application scope of the breakpoint information.
Abstract:
A method for callback processing in telecommunication capability opening, a telecommunication capability opening server, a client, and a telecommunication capability opening service system are disclosed. The method includes: receiving a telecommunication capability application programming interface (API) call request sent by a client, where the telecommunication capability API call request includes a callback information parameter; performing callback processing according to the telecommunication capability API call request, and generating a callback message according to the callback information parameter; and pushing the callback message to the client. The method may also include: initiating a telecommunication capability API call request to a telecommunication capability opening server, where the telecommunication capability API call request includes a callback information parameter; receiving a callback message pushed by the telecommunication capability opening server, and parsing the callback message; and determining, according to a parsing result, a function that callback processing needs, and calling the function.
Abstract:
A method for callback processing in telecommunication capability opening, a telecommunication capability opening server, a client, and a telecommunication capability opening service system are disclosed. The method includes: receiving a telecommunication capability application programming interface (API) call request sent by a client, where the telecommunication capability API call request includes a callback information parameter; performing callback processing according to the telecommunication capability API call request, and generating a callback message according to the callback information parameter; and pushing the callback message to the client. The method may also include: initiating a telecommunication capability API call request to a telecommunication capability opening server, where the telecommunication capability API call request includes a callback information parameter; receiving a callback message pushed by the telecommunication capability opening server, and parsing the callback message; and determining, according to a parsing result, a function that callback processing needs, and calling the function.
Abstract:
A data processing system, a computing node, and a data processing method are provided. The data processing system includes a management node and a first class of computing nodes. The management node is configured to allocate first processing tasks to the first class of computing nodes. At least two computing nodes in the first class of computing nodes concurrently perform the first processing tasks allocated by the management node. A computing node performs a combine2 operation and a reduce2 operation on a data block Mx and a data block V1x, to obtain a first intermediate result. Then, the management node obtains a processing result for a to-be-processed dataset according to first intermediate results obtained by the first class of computing nodes. According to the data processing system, when a combine operation and a reduce operation are being performed on data blocks, memory space occupied by computation can be reduced.
Abstract:
An on-chip memory in a many-core system is partitioned, and according to a frequency at which a processor core set in each on-chip partition accesses a virtual memory page in virtual memory space that is shared among multiple processes that belong to a same application program, data corresponding to the virtual memory page is moved to an on-chip memory partition in which a processor core set whose access frequency is high is located such that when the virtual memory page is subsequently accessed, a time delay caused by cross-partition access is reduced.
Abstract:
A method and a related device for determining a management mode of a shared virtual memory page are disclosed. In one example, a method is disclosed that includes monitoring frequency or mode of access operation of at least one process accessing the shared virtual memory page; and changing the management mode of the shared virtual memory page to a shared physical memory mode if the monitored frequency or mode of access operation meets a first set condition and a current management mode of the shared virtual memory page is a distributed shared memory mode. The technical solutions provided in the present disclosure can enhance performance of accessing a shared virtual memory.
Abstract:
A method and a related device for determining a management mode of a shared virtual memory page are disclosed. In one example, a method is disclosed that includes monitoring frequency or mode of access operation of at least one process accessing the shared virtual memory page; and changing the management mode of the shared virtual memory page to a shared physical memory mode if the monitored frequency or mode of access operation meets a first set condition and a current management mode of the shared virtual memory page is a distributed shared memory mode. The technical solutions provided in the present disclosure can enhance performance of accessing a shared virtual memory.
Abstract:
A method and an apparatus for processing data and a computer system are provided. The method includes copying a shared virtual memory page to which a first process requests access into off-chip memory of a computing node, and using the shared virtual memory page copied into the off-chip memory as a working page of the first process; and before the first process performs a write operation on the working page, creating, in on-chip memory of the computing node, a backup page of the working page, so as to back up original data of the working page. Before a write operation is performed on a working page, page data is backed up in the on-chip memory, so as to ensure data consistency when multiple processes perform an operation on a shared virtual memory page while accessing off-chip memory as less as possible and improving a speed of a program.