CN101674326A - Method for realizing interprocess synchronization communication and agent unit - Google Patents

Method for realizing interprocess synchronization communication and agent unit Download PDF

Info

Publication number
CN101674326A
CN101674326A CN200910175669A CN200910175669A CN101674326A CN 101674326 A CN101674326 A CN 101674326A CN 200910175669 A CN200910175669 A CN 200910175669A CN 200910175669 A CN200910175669 A CN 200910175669A CN 101674326 A CN101674326 A CN 101674326A
Authority
CN
China
Prior art keywords
message
agent unit
information
identification information
response message
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN200910175669A
Other languages
Chinese (zh)
Other versions
CN101674326B (en
Inventor
张斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Information and Telecommunication Branch of State Grid Jibei Electric Power Co Ltd
Original Assignee
ZTE Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ZTE Corp filed Critical ZTE Corp
Priority to CN200910175669A priority Critical patent/CN101674326B/en
Publication of CN101674326A publication Critical patent/CN101674326A/en
Application granted granted Critical
Publication of CN101674326B publication Critical patent/CN101674326B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Multi Processors (AREA)

Abstract

The invention discloses a method for realizing interprocess synchronization communication and an agent unit. The method comprises the following steps: the agent unit receives a first request message from a first process, and blocks the first process; the agent unit constructs a second request message according to the first request message and then sends the second request message to the second process; the agent unit receives a first response message returning from the second process, and recovers identification information according to the private data information carried by the first response message; the agent unit constructs a second response message according to the first response message and sends the second response message to the first process; and the agent unit relieves block onthe first process. According to the technical scheme provided by the invention, the mutual transformation between interprocess synchronization communication and asynchronization communication can be realized, thereby being convenient for maintenance.

Description

Interprocess synchronization communication implementation method and agent unit
Technical field
The present invention relates to the communications field, in particular to a kind of interprocess synchronization communication implementation method and agent unit.
Background technology
Synchronously, exactly when sending a funcall, before not obtaining the result, this just calls and does not return.Generally speaking, saying when synchronous, asynchronous, refering in particular to the task that those need the miscellaneous part cooperation or need certain hour to finish.Modal example is exactly SendMessage.This function sends a message to certain window, and before the other side handled message, this function did not return.After the other side disposed, this function just returned to caller to the LRESULT value that message processing function returned.
Asynchronous notion and locking phase are right.After an asynchronous procedure call sent, caller can not obtain the result at once.These parts that call of actual treatment are notified caller by state, notice and readjustment after finishing.
At present, each mainstream operation system (UNIX series, Linux series, WINDOWS) Chang Yong inter-process communication mechanisms (perhaps is called network process and connects (Internet ProcessConnection, abbreviate IPC as) mainly comprise: message queue, shared drive, semaphore.By the message queue real-time transmission of synchronous/asynchronous message between implementation process neatly, by shared drive can implementation process between the transmission of data in enormous quantities.
Fig. 1 is the course diagram of asynchronous interactive process between two processes.As shown in Figure 1, this flow process comprises following processing (step S101-step S113):
Step S101:ClientP initiates request 1 to ServerP;
Step S103:ClientP does not wait the ServerP echo reply, and ClientP initiates request 2 to ServerP again;
Step S105:ClientP does not wait the ServerP echo reply, and ClientP initiates request 3 to ServerP again;
The response message of the asynchronous wait request 1 of step S107:ClientP, request 2, request 3 goes to carry out other operations;
The step S109:ServerP request of receiving 1 after request 2 and the request 3, is handled respectively, but is asked 3 processing speed the fastest, so, reply 3 and turn back to ClientP earlier;
Step S111: after request 1 disposed, ServerP was to ClientP echo reply 1;
Step S113: after request 2 disposed, ServerP was to ClientP echo reply 2.
But, in the correlation technique,, need carry out bigger change to existing two processes for the mutual conversion of asynchronous communication between implementation process and synchronous communication, therefore, for realizing above-mentioned conversion, may be comparatively complicated for the design of system, and be not easy to safeguard.
Summary of the invention
At transforming mutually for synchronous communication between implementation process and asynchronous communication in the correlation technique, complicated and the problem that is not easy to safeguard of system design and propose the present invention, for this reason, main purpose of the present invention is to provide a kind of improved interprocess synchronization communication implementation method and sync agent unit, one of to address the above problem at least.
According to an aspect of the present invention, provide a kind of interprocess synchronization communication implementation method.
Interprocess synchronization communication implementation method according to the present invention comprises: between first process that intercoms mutually and second process agent unit is set, agent unit receives first request message that comes from first process, and first process blocked, wherein, first request message carries the identification information of first process; Agent unit is according to first message constructing, second request message and be sent to second process, and wherein, second request message carries the private data information of sign agent unit, and private data information generates according to identification information; Agent unit receives and comes from first response message that second process is returned, and recovers identification information according to the private data information that first response message carries; Agent unit is constructed second response message according to first response message, and is sent to first process, and wherein, second response message carries identification information; Agent unit is removed first process and is stoped.
According to a further aspect in the invention, provide a kind of agent unit.
Wherein, agent unit is arranged between first process and second process of intercommunication mutually, and agent unit according to the present invention comprises: first receiver module is used to receive first request message that comes from first process, wherein, first request message carries the identification information of first process; Stop module, be used for first process is stoped; First constructing module is used for according to first message constructing, second request message, and wherein, second request message carries the private data information of sign agent unit, and private data information generates according to identification information; First sending module is used for second request message is sent to second process; Second receiver module is used to receive and comes from first response message that second process is returned, and wherein, first response message carries private data information; Second constructing module is used for constructing second response message according to first response message; Second sending module is used for second response message is sent to first process, and wherein, second response message carries the identification information that recovers according to private data information; Remove the prevention module, be used for first process is removed prevention.
By the present invention, based on existing message queue of operating system and shared drive mechanism, a kind of implementation of the interprocess synchronization communication based on agent unit is provided, solved in the correlation technique to synchronous communication between implementation process and asynchronous communication and transformed mutually, system design complexity and the problem that is not easy to safeguard, and then can simplified system design, be easy to the user and safeguard.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the present invention.Purpose of the present invention and other advantages can realize and obtain by specifically noted structure in the specification of being write, claims and accompanying drawing.
Description of drawings
Accompanying drawing described herein is used to provide further understanding of the present invention, constitutes the application's a part, and illustrative examples of the present invention and explanation thereof are used to explain the present invention, do not constitute improper qualification of the present invention.In the accompanying drawings:
Fig. 1 is the course diagram of asynchronous interactive process between two processes;
Fig. 2 is the flow chart according to the interprocess synchronization communication implementation method of the embodiment of the invention;
Fig. 3 is a sequential chart of realizing synchronous communication according to the preferred embodiment of the invention between the process (process A and process B) by proxy module;
Fig. 4 is certain sequential chart in the asynchronous interactive process between process according to the preferred embodiment of the invention;
Fig. 5 is the structured flowchart according to the agent unit of the embodiment of the invention;
Fig. 6 is the structured flowchart of agent unit according to the preferred embodiment of the invention.
Embodiment
Functional overview
Consider in the correlation technique to synchronous communication between implementation process and asynchronous communication and transform mutually, system design complexity and the problem that is not easy to safeguard, the embodiment of the invention provides a kind of interprocess synchronization communication implementation, on the basis of the original asynchronous communication means of reservation process, by between two processes, increasing the sync agent unit, with the asynchronous communication seamless switching between the process is synchronous communication, both needed interprocess asynchronous communication at some, the occasion that needs interprocess asynchronous communication again, use this method can greatly reduce the exploitation amount and the maintenance work of module process, the module process can all be used asynchronous call when design, if need synchronization call on the business, only need asynchronous call to be converted to synchronization call and get final product by agent unit.Therefore, it is clear to make that the module process structure upgrades, and the design of system is also simpler.
Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.Describe the present invention below with reference to the accompanying drawings and in conjunction with the embodiments in detail.
Method embodiment
According to the embodiment of the invention, at first provide a kind of interprocess synchronization communication implementation method.
Fig. 2 is the flow chart according to the interprocess synchronization communication implementation method of the embodiment of the invention.Wherein, between first process that intercoms mutually and second process, agent unit is set.As shown in Figure 2, the interprocess synchronization communication implementation method according to the embodiment of the invention comprises following processing (step S201-step S209):
Step S201: agent unit receives first request message that comes from first process, and first process is blocked, and wherein, first request message carries the identification information of first process;
Preferably, agent unit blocks first process and comprises: agent unit blocks first process by the synchronization of access interface; Above-mentioned synchronization of access interface is the interface that agent unit offers process.
Step S203: agent unit is according to first message constructing, second request message and be sent to second process, and wherein, second request message carries the private data information of sign agent unit, and private data information generates according to identification information;
Preferably, above-mentioned first request message can also carry following information: the identification information of second process, message data information, message-length information, message id information; Then comprise following processing according to first message constructing, second request message:
(1) agent unit obtains identification information, the identification information of second process, message data information, message-length information, the message id information that comes from first process in first request message;
(2) identification information with first process is generated as private data information;
(3) identification information, the identification information of second process, message data information, message-length information, the message id information with the private data information and first process is reassembled as second request message.
Step S205: agent unit receives and comes from first response message that second process is returned, and recovers identification information according to the private data information that first response message carries;
Step S207: agent unit is constructed second response message according to first response message, and is sent to first process, and wherein, second response message carries identification information;
Preferably, above-mentioned first response message comprises: response message data message, response-message length information, private data information; Then construct second response message and comprise following processing according to first response message:
(2) obtain response message data message, response-message length information, private data information in first response message;
(2) private data information is reverted to the identification information of first process;
(3) identification information, response message data message, the response-message length information sets of first process are synthesized second response message.
Step S209: agent unit is removed first process and is stoped.
Preferably, above-mentioned agent unit is removed first process by the synchronization of access interface and is stoped.
By the execution of step S202-step S209, can realize the synchronous communication between first process and second process, by increasing the processing of agent unit, can simplified system design, be easy to carry out system maintenance.
Fig. 3 is a sequential chart of realizing synchronous communication according to the preferred embodiment of the invention between the process (process A and process B) by proxy module.As shown in Figure 3, mainly may further comprise the steps (step S301-step S313):
Step S301: module process A (being equivalent to first process) constructs a message M1, be used for module process B mutual, wherein, comprise among the message M1: the sign of module process A, the discernible message id of module process B, the discernible message data of module process B (being equivalent to second process), message-length, the sign of module process B.
Step S303: module process A is a parameter with the message of step S301, the SyncAccess interface (being synchronization of access interface above-mentioned) of visit SYNC_PROCXY (and agent unit above-mentioned).
Further, in the SyncAccess interface, the message M1 with module process A structure among the step S301 sends to sync agent module SYNC_PROXY with asynchronous system, and afterwards, the SyncAccess interface is blocked on the waiting list QUEUE_A module process A.
After step S305:SYNC_PROXY receives the message M1 of step S303, take out the sign of message id in M1 message, message data, message-length, module process B, simultaneously, SYNC_PROXY is with private data X of sign structure of module process A, SYNC_PROXY is dealt into module process B with message M3 with asynchronous system according to sign and these five parametric configuration message M3 of private data X of message id, message data, message-length, module process B.
After step S307, module process B receive the message M3 that SYNC_PROXY sends among the step S305, take out message id, message data, message-length in the message, carry out respective handling; After finishing dealing with, process B constructs a response message M3, and wherein, this response message M3 comprises: private data X, and the response message data, response message length, module process B sends to proxy module SYNC_PROXY with response message M3 with asynchronous system.
After step S309:SYNC_PROXY receives the response message M3 of step S307 module process B transmission, take out: private data X, response message data, response message length.Afterwards, SYNC_PROXY restores the sign of module process A according to private data X, afterwards, SYNC_PROXY sends to M4 the waiting list QUEUE_A of module process A with identifier, response message data, these three parametric configuration message M4 of response message length of module process A with asynchronous system.
Step S311: after the waiting list QUEUE_A of module process A receives the response message M4 of SYNC_PROXY, unblocking at once, afterwards, the SyncAccess interface makes module process A take out response message M4 from waiting list.
Step S313: module process A returns from the SyncAccess interface, and the response message M4 that obtains with step S311 handles.
So far, a Synchronous Processing flow process of asking module process B to reply from module process A finishes.
Fig. 4 is certain sequential chart in the asynchronous interactive process between process according to the preferred embodiment of the invention.Wherein, ClientP (being equivalent to first process) as shown in Figure 4, comprises following processing (step S401-step S411) by proxy module SYNC_PROXY reciprocal process to ServerP (being equivalent to second process) synchronization request ServiceData:
Step S401:ClientP initiates request 11 to ServerP, desires synchronization request business datum ServiceData, but ClientP is directly to the ServerP request, but has called the SyncAccess (synchronization of access interface) of SYNC_PROX (agent unit);
The SyncAccess interface of step S403:SYNC_PROXY arrives SYNC_PROXY with request 11 asynchronous transmissions of ClientP, and simultaneously, the SyncAccess interface makes ClientP block wait synchronously on QUEUE_Client;
After the step S405:SYNC_PROXY request of receiving 11, according to parameter and the request content in the request 11, the request of re-assemblying 22, SYNC_PROXY will ask 22 asynchronous transmissions to ServerP;
The step S407:ServerP request of receiving 22 is handled it, after finishing dealing with, assembles out the reply data of band ServiceData: reply 22 '; ServerP will reply 22 ' and send to SYNC_PROXY with asynchronous system;
After step S409:SYNC_PROXY received and replys 22 ', parameter and response content according to replying in 22 ' re-assemblied and reply 11 ', reply 11 ' and have comprised ServiceData.SYNC_PROXY will reply the QUEUE_Client of 11 ' asynchronous transmission to ClientP.
The QUEUE_Client of step S411:ClientP receives and replys 11 ', unblocking, and SyncAccess takes out and replys 11 ', and ClientP handles it with the ServiceData that replys in 11 '.
By the foregoing description, a kind of interprocess synchronization communication implementation method is provided, on the basis of the original asynchronous communication means of reservation process,, be synchronous communication with the asynchronous communication seamless switching between the process by between two processes, increasing the sync agent module.Thereby can simplified system design, and be easy to safeguard.
Device embodiment
According to the embodiment of the invention, also provide a kind of agent unit.
Fig. 5 is the structured flowchart according to the agent unit of the embodiment of the invention.Fig. 6 is the structured flowchart of agent unit according to the preferred embodiment of the invention.As shown in Figure 5, agent unit according to the embodiment of the invention comprises: first receiving element 1, prevention module 2, first constructing module 3, first sending module 4, second receiver module 5, second constructing module 6, second sending module 7, releasing stop module 8, are described below in conjunction with Fig. 6.
First receiver module 1 is used to receive first request message that comes from first process, and wherein, first request message carries the identification information of first process;
Stop module 2, be connected, be used for first process is stoped with first receiver module 1;
First constructing module 3 is connected with stoping module 2, is used for according to first message constructing, second request message, and wherein, second request message carries the private data information of sign agent unit, and private data information generates according to identification information;
Preferably, as shown in Figure 6, first constructing module 3 comprises: first obtains submodule 30, generation submodule 32, the first recon module 34, wherein, first obtains submodule 30, is used for obtaining identification information, the identification information of second process, message data information, message-length information, the message id information of first process that comes from first request message; Generate submodule 32, be used for the identification information of first process is generated private data information; The first recon module 34 is used for identification information, the identification information of second process, message data information, message-length information, the message id information of the private data information and first process are reassembled as second request message.
First sending module 4 is connected with first constructing module 3, is used for second request message is sent to second process;
Second receiver module 5 comes from first response message that second process is returned with being used to receive, and wherein, first response message carries private data information;
Second constructing module 6 is used for constructing second response message according to first response message;
Preferably, as shown in Figure 6, second constructing module 6 comprises: second obtains submodule 60, recovery submodule 62, the second recon module 64, wherein, second obtains submodule 60, is used for obtaining response message data message, response-message length information, the private data information of first response message; Recover submodule 62, be used for the identification information of first process that private data information is reverted to; The second recon module 64 is used for synthetic second response message of identification information, response message data message, response-message length information sets with first process.
Second sending module 7 is used for second response message is sent to first process, and wherein, second response message carries the identification information that recovers according to private data information;
Remove prevention module 8, be used for first process is removed prevention.
Preferably, above-mentioned prevention module 2 and releasing stop module 8 all can be the synchronization of access interface of agent unit.
Preferably, first receiver module 1, second receiver module 5 receive message by asynchronous system; First sending module 4, second sending module 7 send message by asynchronous system.
By the foregoing description, a kind of agent unit is provided, interact by each intermodule of this agent unit, can implementation process between asynchronous communication transfer the purpose of synchronous communication to.The module process can all be used asynchronous call when design, if need synchronization call on the business, only need by proxy module asynchronous call to be converted to synchronization call and get final product.Thereby it is clear to make that the module process structure upgrades, and the design of system is also simpler.
In sum, by the above embodiment of the present invention, the interprocess synchronization communication implementation that provides interacts by each intermodule of this agent unit, can implementation process between asynchronous communication transfer the purpose of synchronous communication to.The module process can all be used asynchronous call when design, if need synchronization call on the business, only need by proxy module asynchronous call to be converted to synchronization call and get final product.Thereby it is clear to make that the module process structure upgrades, and the design of system is also simpler.And both needed interprocess asynchronous communication at some, needed the occasion of interprocess asynchronous communication again, and can greatly reduce the exploitation amount and the maintenance work of module process.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and carry out by calculation element, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. an interprocess synchronization communication implementation method is characterized in that, between first process that intercoms mutually and second process agent unit is set, and described method comprises:
Agent unit receives first request message that comes from first process, and described first process is blocked, and wherein, described first request message carries the identification information of described first process;
Described agent unit is according to described first message constructing, second request message and be sent to second process, wherein, described second request message carries the private data information of the described agent unit of sign, and described private data information generates according to described identification information;
Described agent unit receives and comes from first response message that described second process is returned, and recovers described identification information according to the described private data information that described first response message carries;
Described agent unit is constructed described second response message according to described first response message, and is sent to described first process, and wherein, described second response message carries described identification information;
Described agent unit is removed described first process and is stoped.
2. method according to claim 1 is characterized in that,
Described agent unit stops described first process and comprises: described agent unit stops described first process by the synchronization of access interface;
Described agent unit is removed described first process to stop and comprised: described agent unit is removed described first process by the synchronization of access interface and is stoped.
3. method according to claim 1 is characterized in that,
Described first request message also carries: the identification information of described second process, message data information, message-length information, message id information;
Then describedly comprise according to described first message constructing, second request message:
Obtain the identification information of the identification information that comes from described first process in described first request message, described second process, described message data information, described message-length information;
The identification information of described first process is generated as private data information;
The identification information of the identification information of described private data information and described first process, described second process, described message data information, described message-length information are reassembled as second request message.
4. method according to claim 1 is characterized in that,
Described first response message also carries: response message data message, response-message length information;
Then describedly construct described second response message according to described first response message and comprise:
Obtain the described response message data message in described first response message, described response-message length information, described private data information;
Described private data information is reverted to the identification information of described first process;
With the identification information of described first process, described response message data message, synthetic described second response message of described response-message length information sets.
5. according to each described method in the claim 1 to 4, it is characterized in that the mode that described agent unit received and sent message comprises: asynchronous system.
6. an agent unit is characterized in that, described agent unit is arranged between first process and second process of intercommunication mutually, and described agent unit comprises:
First receiver module is used to receive first request message that comes from first process, and wherein, described first request message carries the identification information of described first process;
Stop module, be used for described first process is stoped;
First constructing module is used for according to described first message constructing, second request message, and wherein, described second request message carries the private data information of the described agent unit of sign, and described private data information generates according to described identification information;
First sending module is used for described second request message is sent to second process;
Second receiver module is used to receive and comes from first response message that described second process is returned, and wherein, described first response message carries described private data information;
Second constructing module is used for constructing described second response message according to described first response message;
Second sending module is used for described second response message is sent to described first process, and wherein, described second response message carries the described identification information that recovers according to described private data information;
Remove the prevention module, be used for described first process is removed prevention.
7. agent unit according to claim 6 is characterized in that,
Described prevention module and described releasing stop module to be the synchronization of access interface of described agent unit.
8. according to claim 6 or 7 described agent units, it is characterized in that described first constructing module comprises:
First obtains submodule, is used for obtaining identification information, message data information, message-length information, the message id information of the identification information of described first process that comes from described first request message, described second process;
Generate submodule, be used for the identification information of described first process is generated private data information;
The first recon module is used for the identification information of the identification information of described private data information and described first process, described second process, described message data information, described message-length information, described message id information are reassembled as second request message.
9. according to claim 6 or 7 described agent units, it is characterized in that described second constructing module comprises:
Second obtains submodule, is used for obtaining response message data message, response-message length information, the described private data information of described first response message;
Recover submodule, be used for described private data information is reverted to the identification information of described first process;
The second recon module is used for the identification information of described first process, described response message data message, synthetic described second response message of described response-message length information sets.
10. agent unit according to claim 8 is characterized in that,
Described first receiver module, described second receiver module receive message by asynchronous system;
Described second sending module, described second sending module send message by asynchronous system.
CN200910175669A 2009-09-21 2009-09-21 Method for realizing interprocess synchronization communication and agent unit Expired - Fee Related CN101674326B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200910175669A CN101674326B (en) 2009-09-21 2009-09-21 Method for realizing interprocess synchronization communication and agent unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910175669A CN101674326B (en) 2009-09-21 2009-09-21 Method for realizing interprocess synchronization communication and agent unit

Publications (2)

Publication Number Publication Date
CN101674326A true CN101674326A (en) 2010-03-17
CN101674326B CN101674326B (en) 2012-09-05

Family

ID=42021310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200910175669A Expired - Fee Related CN101674326B (en) 2009-09-21 2009-09-21 Method for realizing interprocess synchronization communication and agent unit

Country Status (1)

Country Link
CN (1) CN101674326B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103246557A (en) * 2012-02-07 2013-08-14 腾讯科技(深圳)有限公司 Method and device for calling application information in cross process mode
CN104679598A (en) * 2013-12-27 2015-06-03 卡巴斯基实验室封闭式股份公司 System and method for selecting a synchronous or asynchronous interprocess communication mechanism
CN105337849A (en) * 2015-12-07 2016-02-17 上海斐讯数据通信技术有限公司 Synchronous message handling method, synchronous message controller and sending and receiving devices
CN105516086A (en) * 2015-11-25 2016-04-20 广州华多网络科技有限公司 Service processing method and apparatus
CN107479981A (en) * 2017-06-30 2017-12-15 武汉斗鱼网络科技有限公司 A kind of processing method and processing device that synchronization call is realized based on asynchronous call
CN107656827A (en) * 2017-09-27 2018-02-02 郑州云海信息技术有限公司 A kind of inter-process communication methods and system
CN107770258A (en) * 2017-10-10 2018-03-06 许继电气股份有限公司 A kind of asynchronous call turns the implementation method of synchronization call
CN108268416A (en) * 2017-12-13 2018-07-10 深圳市国微电子有限公司 A kind of asynchronous interface turns sync cap control circuit
CN110532045A (en) * 2019-09-04 2019-12-03 深圳市迅雷网络技术有限公司 A kind of striding course call method and relevant apparatus
CN112612582A (en) * 2020-12-14 2021-04-06 北京和利时系统工程有限公司 Semaphore function implementation method and semaphore function implementation device
CN112929431A (en) * 2021-02-01 2021-06-08 深圳市科漫达智能管理科技有限公司 Message synchronous and asynchronous response conversion method and device based on micro-service framework
CN115883654A (en) * 2022-11-29 2023-03-31 深圳市汇川技术股份有限公司 Process communication method, device, equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2497525A1 (en) * 2002-09-03 2004-03-18 Nokia Corporation Method, device and system for synchronizing of data providing for the handling of an interrupted synchronization process
US7478381B2 (en) * 2003-12-15 2009-01-13 Microsoft Corporation Managing software updates and a software distribution service
CN1801102A (en) * 2006-01-17 2006-07-12 浙江大学 Method for implementing process synchronization in Java operation system by using message transmission

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103246557A (en) * 2012-02-07 2013-08-14 腾讯科技(深圳)有限公司 Method and device for calling application information in cross process mode
CN104679598A (en) * 2013-12-27 2015-06-03 卡巴斯基实验室封闭式股份公司 System and method for selecting a synchronous or asynchronous interprocess communication mechanism
CN104679598B (en) * 2013-12-27 2017-10-31 卡巴斯基实验室封闭式股份公司 System and method for selecting either synchronously or asynchronously inter-process communication mechanisms
CN105516086B (en) * 2015-11-25 2019-06-07 广州华多网络科技有限公司 Method for processing business and device
CN105516086A (en) * 2015-11-25 2016-04-20 广州华多网络科技有限公司 Service processing method and apparatus
CN105337849A (en) * 2015-12-07 2016-02-17 上海斐讯数据通信技术有限公司 Synchronous message handling method, synchronous message controller and sending and receiving devices
CN105337849B (en) * 2015-12-07 2019-09-13 上海斐讯数据通信技术有限公司 Synchronization message processing method, synchronization message controller, transmitting and receiving device
CN107479981B (en) * 2017-06-30 2020-02-07 武汉斗鱼网络科技有限公司 Processing method and device for realizing synchronous call based on asynchronous call
CN107479981A (en) * 2017-06-30 2017-12-15 武汉斗鱼网络科技有限公司 A kind of processing method and processing device that synchronization call is realized based on asynchronous call
CN107656827A (en) * 2017-09-27 2018-02-02 郑州云海信息技术有限公司 A kind of inter-process communication methods and system
CN107770258A (en) * 2017-10-10 2018-03-06 许继电气股份有限公司 A kind of asynchronous call turns the implementation method of synchronization call
CN108268416A (en) * 2017-12-13 2018-07-10 深圳市国微电子有限公司 A kind of asynchronous interface turns sync cap control circuit
CN108268416B (en) * 2017-12-13 2021-02-23 深圳市国微电子有限公司 Asynchronous interface to synchronous interface control circuit
CN110532045A (en) * 2019-09-04 2019-12-03 深圳市迅雷网络技术有限公司 A kind of striding course call method and relevant apparatus
CN112612582A (en) * 2020-12-14 2021-04-06 北京和利时系统工程有限公司 Semaphore function implementation method and semaphore function implementation device
CN112612582B (en) * 2020-12-14 2024-05-28 北京和利时控制技术有限公司 Semaphore function implementation method and device
CN112929431A (en) * 2021-02-01 2021-06-08 深圳市科漫达智能管理科技有限公司 Message synchronous and asynchronous response conversion method and device based on micro-service framework
CN112929431B (en) * 2021-02-01 2022-12-20 深圳市科漫达智能管理科技有限公司 Message synchronous and asynchronous response conversion method and device based on micro-service framework
CN115883654A (en) * 2022-11-29 2023-03-31 深圳市汇川技术股份有限公司 Process communication method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN101674326B (en) 2012-09-05

Similar Documents

Publication Publication Date Title
CN101674326B (en) Method for realizing interprocess synchronization communication and agent unit
EP0006216B1 (en) Improvements in digital data processing systems
CN105335221B (en) Based on restructural distributed software bus
JP2723217B2 (en) Processing of sequence calls in a distributed control and switching system.
CN101506807B (en) Database management in a wireless communication system
US5621726A (en) Point-to-point communication network and method and adapter for virtualizing a LAN system
CN108965457A (en) A kind of message delivery method of distributed cluster system, device, equipment and medium
CN101917394B (en) Middleware system for sharing data in mobile phone equipment and working method
CN110378826A (en) Data processing method, device, electronic equipment and computer readable storage medium
CN104809551A (en) Cross-system workflow cooperation method based on mobile agent client side
CN113821363B (en) Inter-process communication method and system
CN108495369B (en) Channel management method and device
CN111200653B (en) Multi-platform communication method, multi-platform communication device and intermediate server
JPH11212818A (en) Decentralized simulation system
CN102271167B (en) A kind of proxy server (Agent) method for parallel processing and structure being applicable to distributed communication middleware
CN103731501A (en) Mobile-terminal-based multi-people cooperative management method and system for backlogs
JP2005507522A (en) Method and system for ensuring sequential consistency in distributed computing
CN114328724A (en) Data synchronization method and system for parallel client of equipment
WO2022002427A1 (en) Migration of computational units in distributed networks
Chiang et al. Middleware support for coordination in distributed applications
JP4249408B2 (en) Data exchange method and method
KR0169037B1 (en) Method of message control in agent of electric communication control network
Wada et al. Distributed algorithms for allocating resources to process groups and their complexity
Fujii et al. A fast sequential distributed synchronization protocol
CN109639620A (en) The process production system of access right process

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
CB03 Change of inventor or designer information

Inventor after: Wu Shun

Inventor after: Zheng Xiaolin

Inventor after: Wang Haifeng

Inventor after: Meng De

Inventor before: Zhang Bin

COR Change of bibliographic data
TR01 Transfer of patent right

Effective date of registration: 20170303

Address after: 100053 Beijing, Xicheng District, Lin Street, No. 32

Patentee after: Information communication branch company of State Grid Jibei Electric Power Co., Ltd.

Address before: 518057 Nanshan District science and technology, Guangdong Province, South Road, No. 55, No.

Patentee before: ZTE Corporation

CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20120905

Termination date: 20170921

CF01 Termination of patent right due to non-payment of annual fee