摘要:
The present invention discloses a method for callback processing in telecommunication capability opening, a telecommunication capability opening server, a client, and a telecommunication capability opening service system. 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.
摘要:
In embodiments of the present invention, 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, so that when the virtual memory page is subsequently accessed, a time delay caused by cross-partition access is reduced.
摘要:
Embodiments of the present invention disclose a method and a related device for determining a management mode of a shared virtual memory page. A method for determining a management mode of a shared virtual memory page may include: monitoring access characteristics of a 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 access characteristics meet 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 embodiments of the present invention can enhance performance of accessing a shared virtual memory.
摘要:
The present invention discloses a data processing system, a computing node, and a data processing method. 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 process the first processing tasks allocated by the management node; a computing node performs a combine combine2 operation and a reduce reduce2 operation on a data block M x and a data block V 1x , to obtain a first intermediate result; and 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 provided by embodiments of the present invention, when a combine operation and a reduce operation are being performed on data blocks, there is no need to perform all combine operations before the reduce operation is performed; instead, the combine operation and the reduce operation are performed alternately, so that memory space occupied by computation can be reduced, and a computation time can be reduced.
摘要:
Embodiments of the present invention provide a method and an apparatus for sharing data on a computing node, including: 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. In the embodiments of the present invention, by using programmable on-chip memory of a computing node, 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.