CN103176852A - Method and device for inter-progress communication - Google Patents

Method and device for inter-progress communication Download PDF

Info

Publication number
CN103176852A
CN103176852A CN2011104356897A CN201110435689A CN103176852A CN 103176852 A CN103176852 A CN 103176852A CN 2011104356897 A CN2011104356897 A CN 2011104356897A CN 201110435689 A CN201110435689 A CN 201110435689A CN 103176852 A CN103176852 A CN 103176852A
Authority
CN
China
Prior art keywords
shared drive
data volume
data
information
offset address
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
CN2011104356897A
Other languages
Chinese (zh)
Other versions
CN103176852B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201110435689.7A priority Critical patent/CN103176852B/en
Publication of CN103176852A publication Critical patent/CN103176852A/en
Application granted granted Critical
Publication of CN103176852B publication Critical patent/CN103176852B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method and a device for inter-progress communication. The method and the device belong to the field of computers. The method comprises the steps of mapping a first sharing memory and a second sharing memory to a progress space of a first progress, writing a first data body into the first sharing memory in a circulating mode to enable the second progress to read the first data body in a circulating mode and read a second data body in the second sharing memory in a circulating mode. According to the method and the device for inter-progress communication, the two sharing memories are established between the first progress and the second progress to serve as media for exchanging data and are respectively responsible for data transmission in a single direction between the two progresses, so that reading and writing operation can be simultaneously performed between the two mutually communicated progresses, seamless connection of inter-progress communication is achieved, and maximum efficiency of the inter-progress communication is achieved.

Description

A kind of method and device for interprocess communication
Technical field
The present invention relates to computer realm, particularly a kind of method and device for interprocess communication.
Background technology
Process is the basis of operating system configuration, is a program of carrying out.Process is one and has the program of standalone feature about the once operation activity of certain data acquisition, it can apply for and have system resource, it is not the code of program, also comprises current activity, represents by the value of programmable counter and the content of processing register.Along with the requirement of people's application programs is more and more higher, one process is applied in many occasions can not satisfy people's requirement.Writing the multi-process program becomes the important feature that modern procedures designs, and in the multi-process program design, the communication between process is inevitable.
Interprocess communication is exactly to propagate between different processes or exchange message, and the user's space of process is mutually independently, generally can not access mutually, can carry out communication between process by creating a shared drive.Shared drive is exactly one section internal memory that energy is accessed by other processes of mapping, and this section shared drive is by a process creation, but a plurality of process can be accessed.Different processes all can be carried out read-write operation to this shared drive, with the communication between implementation process.
In realizing process of the present invention, the inventor finds that there is following problem at least in prior art:
Existing interprocess communication mode can only have a process access shared drive at synchronization, makes the interprocess communication inefficiency.
Summary of the invention
In order to solve the problem of existing interprocess communication mode inefficiency, the embodiment of the present invention provides a kind of method for interprocess communication and device.Described technical scheme is as follows:
A kind of method for interprocess communication, described method comprises:
The first shared drive and the second shared drive are mapped to the process space of the first process;
The first data volume is write in described the first shared drive, read described the first data volume for the second process, and read the second data volume in described the second shared drive.
Further, described the first data volume is the data that need to be processed by described the second process, and described the second data volume is the data that need to be processed by described the first process that described the second process writes described the second shared drive.
Further, described the first shared drive and the second shared drive are mapped to the process space of the first process before, described method also comprises:
When described the first process initiation, detect described the first shared drive and whether described the second shared drive exists;
When described the first shared drive and described the second shared drive do not exist, create described the first shared drive and described the second shared drive.
Further, described the first shared drive of described establishment comprises:
Create the first data head information, first start offset address, first of the size of described the first shared drive of definition and storage the first data volume information finishes offset address in described the first data head information;
According to described the first described the first shared drive of data head information creating;
Wherein, described the first data volume information comprises length information and described first data volume of described the first data volume;
Described the second shared drive of described establishment comprises:
Create the second data head information, second start offset address, second of the size of described the second shared drive of definition and storage the second data volume information finishes offset address in described the second data head information;
According to described the second described the second shared drive of data head information creating;
Wherein, described the second data volume information comprises length information and described second data volume of described the second data volume.
Further, described the first data volume is write in described the first shared drive, comprising:
Begun by described the first start offset address, write successively length information and described first data volume of described the first data volume;
When described the first data volume write complete after, upgrade described first according to the length of described the first data volume information and finish offset address.
Further, described the second data volume that reads in described the second shared drive comprises:
Begun by described the second start offset address, read successively length information and described second data volume of described the second data volume;
When described the second data volume read complete after, upgrade described the second start offset address according to the length of described the second data volume information.
A kind of device for interprocess communication, described device comprises:
Mapping block is used for the first shared drive and the second shared drive are mapped to the process space of the first process;
Writing module is used for the first data volume is write described the first shared drive, reads described the first data volume for the second process;
Read module is for the second data volume that reads described the second shared drive.
Further, described the first data volume is the data that need to be processed by described the second process, and described the second data volume is the data that need to be processed by described the first process that described the second process writes described the second shared drive.
Further, described device also comprises:
Detection module before being used at described mapping block, the first shared drive and the second shared drive being mapped to the process space of the first process and during described the first process initiation, detects described the first shared drive and whether described the second shared drive exists;
Creation module is used for creating described the first shared drive and the second shared drive when described detection module detection obtains described the first shared drive and described the second shared drive and do not exist.
Further, described creation module comprises:
The first data head creating unit, be used for when described detection module detection obtains described the first shared drive and the second shared drive and do not exist, create the first data head information, first start offset address, first of the size of described the first shared drive of definition and storage the first data volume information finishes offset address in described the first data head information;
The first internal memory creating unit is used for according to described the first described the first shared drive of data head information creating;
The second data head creating unit, be used for when described detection module detection obtains described the first shared drive and the second shared drive and do not exist, create the second data head information, second start offset address, second of the size of described the second shared drive of definition and storage the second data volume information finishes offset address in described the second data head information;
The second internal memory creating unit is used for according to described the second described the second shared drive of data head information creating;
Wherein, described the first data volume information comprises length information and described first data volume of described the first data volume, and described the second data volume information comprises length information and described second data volume of described the second data volume.
Further, the said write module comprises:
The first writing unit is used for being begun by described the first start offset address, writes successively length information and described first data volume of described the first data volume;
The first updating block, be used for when described the first data volume write complete after, upgrade described the first end offset address according to the length of described the first data volume information.
Further, described read module comprises:
The first reading unit is begun by described the second start offset address, reads successively length information and described second data volume of described the second data volume;
The second updating block, when described the second data volume read complete after, upgrade described the second start offset address according to the length of described the second data volume information.
The beneficial effect that the technical scheme that the embodiment of the present invention provides is brought is: by set up the in return medium of data of two shared drives between the first and second processes, unidirectional data of being responsible for respectively between two processes transmit, make between two processes of mutual communication and can carry out simultaneously read-write operation, realize the seamless link of interprocess communication, reached the maximizing efficiency of interprocess communication.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, during the below will describe embodiment, the accompanying drawing of required use is done to introduce simply, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the schematic flow sheet of a kind of method for interprocess communication of providing in the embodiment of the present invention 1;
Fig. 2 is the schematic flow sheet of a kind of method for interprocess communication of providing in the embodiment of the present invention 2;
Fig. 3 is the schematic diagram that communicates between process 1,2 after the establishment shared drive A that provides in the embodiment of the present invention 2 and B;
Fig. 4 is the first structural representation of a kind of device for interprocess communication of providing in the embodiment of the present invention 3;
Fig. 5 is the second structural representation of a kind of device for interprocess communication of providing in the embodiment of the present invention 3;
Fig. 6 is the structural representation of the writing module of a kind of device for interprocess communication of providing in the embodiment of the present invention 3;
Fig. 7 is the structural representation of the read module of a kind of device for interprocess communication of providing in the embodiment of the present invention 3.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, embodiment of the present invention is described further in detail below in conjunction with accompanying drawing.
Embodiment 1
As shown in Figure 1, the embodiment of the present invention provides a kind of method for interprocess communication, and the method specifically comprises the steps:
101, the first shared drive and the second shared drive are mapped to the process space of the first process;
102, the first data volume is write in the first shared drive, read the first data volume for the second process, and read the second data volume in the second shared drive.
The embodiment of the present invention provides a kind of method for interprocess communication, by set up the in return medium of data of two shared drives between the first and second processes, unidirectional data of being responsible for respectively between two processes transmit, make between two processes of mutual communication and can carry out simultaneously read-write operation, realize the seamless link of interprocess communication, reached the maximizing efficiency of interprocess communication.
Embodiment 2
As shown in Figure 2, the embodiment of the present invention provides a kind of method for interprocess communication, is the improvement of carrying out on the basis of embodiment 1.
For convenience of explanation, the present embodiment describes to communicate between process 1 and process 2 as example, and process 1 starts prior to process 2, and process 1 and process 2 communicate by shared drive A and shared drive B.
A kind of method for interprocess communication specifically comprises the steps:
201, process 1 starts, and detect shared drive A and shared drive B and whether exist, if so, execution in step 203, if not, execution in step 202;
202, create shared drive A and shared drive B, execution in step 203;
Further, the structure of shared drive A and shared drive B described:
Shared drive A comprises the first data head information and the first data volume information, wherein, record the size of shared drive A and first start offset address, first of the first data volume information and finish offset address in the first data head information, the first data volume information comprises length information and first data volume of the first data volume.
The first data volume is that process 1 need to send process 2 to, the data of being processed by process 2.
Wherein, create shared drive A, concrete comprises:
Create the first data head information, first start offset address, first of the size of definition shared drive A and storage the first data volume information finishes offset address in the first data head information;
According to the first data head information creating shared drive A.
In the present embodiment, preferably adopt following statement that shared drive A is defined:
Wherein, sizeA is the size of shared drive A, and begin1 is the first start offset address, end1 is the first end offset address, and len1 is the length information of the first data volume, data[len1] the first data volume, and during shared drive A initial creation, above numerical value is default value.
Identical with the structure of shared drive A, shared drive B comprises the second data head information and the second data volume information, wherein, record the size of shared drive B and second start offset address, second of the second data volume information and finish offset address in the second data head information, the second data volume information comprises length information and second data volume of the second data volume.
The second data volume is that process 2 need to send process 1 to, the data of being processed by process 1.
Wherein, create shared drive B, concrete comprises:
Create the second data head information, second start offset address, second of the size of definition shared drive B and storage the second data volume information finishes offset address in the second data head information;
According to the second data head information creating shared drive B.
Need to prove, create shared drive B and can adopt identical definition mode with creating shared drive A, repeat no more here.
Further, when process 2 starts prior to process 1, also be fine by process 2 establishment shared drive A and shared drive B, wherein, shared drive A and shared drive B are the medium of swap data between process 1 and process 2, shared drive A is used for process 1 data writing, and read for process 2, shared drive B is used for process 2 data writings, and reads for process 1, after creating shared drive A and shared drive B, the signal intelligence between process 1 and process 2 as shown in Figure 3.
203, shared drive A and shared drive B are mapped to the process space of process 1;
need to prove, when shared drive A and shared drive B establishment, above-mentioned the first start offset address, first finishes offset address, the second start offset address and first finishes the logical address that is of offset address use, in operating system during actual process operation, logical address need to be converted to physical address, and record the logical address of internal memory and the mapping relations of physical address in the process space, therefore, shared drive A and shared drive B are mapped to the process space of process 1, can be so that the user need directly in the face of physical address, but directly get final product at the enterprising line operate of logical address.
204, circularly the first data volume is write in shared drive A, read circularly the first data volume for process 2, and read circularly the second data volume in shared drive B.
Further, circularly the first data volume is write in shared drive A, concrete comprises:
Begun by the first start offset address, write successively length information and first data volume of the first data volume;
When the first data volume write complete after, upgrade first according to the length of the first data volume information and finish offset address.
For example, when the first start offset address was 0x00, when the length of the first data volume information that writes was 2 bytes, it was 0x0F that first after upgrading finished offset address.
Need to prove, when process 2 reads the first data volume from shared drive A, begun to read by the first start offset address, after reading end, upgrade the first start offset address, for example, current the first start offset address is 0x00, after process 2 reads 1 byte, the first start offset address is updated to 0x07.
Further, read circularly the second data volume in shared drive B, specifically comprise:
Begun by the second start offset address, read successively length information and second data volume of the second data volume;
When the second data volume read complete after, upgrade the second start offset address according to the length of the second data volume information.
For example, current the second start offset address is 0x10, after process 1 reads 2 bytes, the second start offset address is updated to 0x12.
Need to prove, the second data volume information is write in shared drive B by process 2, and process 2 is begun by the second start offset address, writes successively length information and second data volume of the second data volume, when the second data volume write complete after, upgrade second and finish offset address.
Further, the method of process communication between two processes that embodiment provided by the present invention only illustrates (process 1 and process 2), communication between multi-process also can utilize said method, for example, communicate between process 1 and process 3, can be by taking to set up the mode of shared drive C and shared drive D, and identical with said method, repeat no more here.
The embodiment of the present invention provides a kind of method for interprocess communication, by set up the in return medium of data of two shared drives between process 1 and process 2, unidirectional data of being responsible for respectively between two processes transmit, and each shared drive adopts the mode of circulation to carry out read-write operation, make between two processes of mutual communication and can carry out simultaneously read-write operation, realize the seamless link of interprocess communication, reached the maximizing efficiency of interprocess communication.
Embodiment 3
By shown in Figure 4, the embodiment of the present invention provides a kind of device for interprocess communication, and said apparatus comprises:
Mapping block 301 is used for the first shared drive and the second shared drive are mapped to the process space of the first process;
Writing module 302 is used for circularly the first data volume being write the first shared drive, reads circularly the first data volume for the second process;
Read module 303 is used for reading circularly the second data volume of the second shared drive.
Particularly, the structure of the first shared drive and the second shared drive described:
The first shared drive comprises the first data head information and the first data volume information, wherein, record the size of the first shared drive and first start offset address, first of the first data volume information and finish offset address in the first data head information, the first data volume information comprises length information and first data volume of the first data volume.
The second shared drive is identical with the first shared drive structure, repeats no more here.
Further, the first data volume is the data that need to be processed by the second process, and the second data volume is the data that need to be processed by the first process that the second process writes the second shared drive.
Further, as shown in Figure 5, said apparatus also comprises:
Whether detection module 304 before being used at mapping block 301, the first shared drive and the second shared drive being mapped to the process space of the first process and during the first process initiation, detecting the first shared drive and the second shared drive and exists;
Creation module 305 is used for detecting when obtaining the first shared drive and the second shared drive and not existing when detection module 304 establishment the first shared drive and the second shared drive.
Further, creation module 305 comprises:
The first data head creating unit, be used for when detection module 301 detections obtain the first shared drive and the second shared drive and do not exist, create the first data head information, first start offset address, first of the size of definition the first shared drive and storage the first data volume information finishes offset address in the first data head information;
The first internal memory creating unit is used for according to first data head information creating the first shared drive;
In the present embodiment, preferably adopt following statement that the first shared drive is defined:
Figure BDA0000123736620000081
Wherein, sizeA is the size of the first shared drive, and begin1 is the first start offset address, end1 is the first end offset address, and len1 is the length information of the first data volume, data[len1] the first data volume, and during the first shared drive initial creation, above numerical value is default value.
The second data head creating unit, be used for when detection module 301 detections obtain the first shared drive and the second shared drive and do not exist, create the second data head information, second start offset address, second of the size of definition the second shared drive and storage the second data volume information finishes offset address in the second data head information;
The second internal memory creating unit is used for according to second data head information creating the second shared drive;
Wherein, the first data volume information comprises length information and first data volume of the first data volume, and the second data volume information comprises length information and second data volume of the second data volume.
Particularly, create the second shared drive and can adopt identical definition mode with creating the first shared drive, repeat no more here.
Further, as shown in Figure 6, writing module 302 comprises:
The first writing unit 3021 is used for being begun by the first start offset address, writes successively length information and first data volume of the first data volume;
The first updating block 3022, be used for when the first data volume write complete after, upgrade the first end offset address according to the length of the first data volume information.
Particularly, for example, when the first start offset address was 0x00, when the length of the first data volume information that writes was 2 bytes, it was 0x0F that first after upgrading finished offset address.
Need to prove, when the second process reads the first data volume from the first shared drive, begun to read by the first start offset address, after reading end, upgrade the first start offset address, for example, current the first start offset address is 0x00, after the second process reads 1 byte, the first start offset address is updated to 0x07.
Further, as shown in Figure 7, read module 303 comprises:
The first reading unit 3031 is begun by the second start offset address, reads successively length information and second data volume of the second data volume;
The second updating block 3032, when the second data volume read complete after, upgrade the second start offset address according to the length of the second data volume information.
For example, current the second start offset address is 0x10, after the first process reads 2 bytes, the second start offset address is updated to 0x12.
The embodiment of the present invention provides a kind of device for interprocess communication, by set up the in return medium of data of two shared drives between the first and second processes, unidirectional data of being responsible for respectively between two processes transmit, make between two processes of mutual communication and can carry out simultaneously read-write operation, realize the seamless link of interprocess communication, reached the maximizing efficiency of interprocess communication.
One of ordinary skill in the art will appreciate that all or part of step that realizes above-described embodiment can complete by hardware, also can come the relevant hardware of instruction to complete by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be ROM (read-only memory), disk or CD etc.
The above is only preferred embodiment of the present invention, and is in order to limit the present invention, within the spirit and principles in the present invention not all, any modification of doing, is equal to replacement, improvement etc., within all should being included in protection scope of the present invention.

Claims (12)

1. a method that is used for interprocess communication, is characterized in that, described method comprises:
The first shared drive and the second shared drive are mapped to the process space of the first process;
The first data volume is write in described the first shared drive, read described the first data volume for the second process, and read the second data volume in described the second shared drive.
2. method according to claim 1, it is characterized in that, described the first data volume is the data that need to be processed by described the second process, and described the second data volume is the data that need to be processed by described the first process that described the second process writes described the second shared drive.
3. method according to claim 1 and 2, is characterized in that, described the first shared drive and the second shared drive are mapped to the process space of the first process before, described method also comprises:
When described the first process initiation, detect described the first shared drive and whether described the second shared drive exists;
When described the first shared drive and described the second shared drive do not exist, create described the first shared drive and described the second shared drive.
4. method according to claim 3, is characterized in that, described the first shared drive of described establishment comprises:
Create the first data head information, first start offset address, first of the size of described the first shared drive of definition and storage the first data volume information finishes offset address in described the first data head information;
According to described the first described the first shared drive of data head information creating;
Wherein, described the first data volume information comprises length information and described first data volume of described the first data volume;
Described the second shared drive of described establishment comprises:
Create the second data head information, second start offset address, second of the size of described the second shared drive of definition and storage the second data volume information finishes offset address in described the second data head information;
According to described the second described the second shared drive of data head information creating;
Wherein, described the second data volume information comprises length information and described second data volume of described the second data volume.
5. method according to claim 4, is characterized in that, described the first data volume write in described the first shared drive, comprising:
Begun by described the first start offset address, write successively length information and described first data volume of described the first data volume;
When described the first data volume write complete after, upgrade described first according to the length of described the first data volume information and finish offset address.
6. method according to claim 4, is characterized in that, described the second data volume that reads in described the second shared drive comprises:
Begun by described the second start offset address, read successively length information and described second data volume of described the second data volume;
When described the second data volume read complete after, upgrade described the second start offset address according to the length of described the second data volume information.
7. a device that is used for interprocess communication, is characterized in that, described device comprises:
Mapping block is used for the process space that the first shared drive and the second shared drive are mapped to the first process;
Writing module is used for the first data volume is write described the first shared drive, reads described the first data volume for the second process;
Read module is for the second data volume that reads described the second shared drive.
8. device according to claim 7, it is characterized in that, described the first data volume is the data that need to be processed by described the second process, and described the second data volume is the data that need to be processed by described the first process that described the second process writes described the second shared drive.
9. according to claim 7 or 8 described devices, is characterized in that, described device also comprises:
Detection module before being used at described mapping block, the first shared drive and the second shared drive being mapped to the process space of the first process and during described the first process initiation, detects described the first shared drive and whether described the second shared drive exists;
Creation module is used for creating described the first shared drive and the second shared drive when described detection module detection obtains described the first shared drive and described the second shared drive and do not exist.
10. device according to claim 9, is characterized in that, described creation module comprises:
The first data head creating unit, be used for when described detection module detection obtains described the first shared drive and the second shared drive and do not exist, create the first data head information, first start offset address, first of the size of described the first shared drive of definition and storage the first data volume information finishes offset address in described the first data head information;
The first internal memory creating unit is used for according to described the first described the first shared drive of data head information creating;
The second data head creating unit, be used for when described detection module detection obtains described the first shared drive and the second shared drive and do not exist, create the second data head information, second start offset address, second of the size of described the second shared drive of definition and storage the second data volume information finishes offset address in described the second data head information;
The second internal memory creating unit is used for according to described the second described the second shared drive of data head information creating;
Wherein, described the first data volume information comprises length information and described first data volume of described the first data volume, and described the second data volume information comprises length information and described second data volume of described the second data volume.
11. device according to claim 10 is characterized in that, the said write module comprises:
The first writing unit is used for being begun by described the first start offset address, writes successively length information and described first data volume of described the first data volume;
The first updating block, be used for when described the first data volume write complete after, upgrade described the first end offset address according to the length of described the first data volume information.
12. device according to claim 10 is characterized in that, described read module comprises:
The first reading unit is begun by described the second start offset address, reads successively length information and described second data volume of described the second data volume;
The second updating block, when described the second data volume read complete after, upgrade described the second start offset address according to the length of described the second data volume information.
CN201110435689.7A 2011-12-22 2011-12-22 A kind of method for interprocess communication and device Active CN103176852B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110435689.7A CN103176852B (en) 2011-12-22 2011-12-22 A kind of method for interprocess communication and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110435689.7A CN103176852B (en) 2011-12-22 2011-12-22 A kind of method for interprocess communication and device

Publications (2)

Publication Number Publication Date
CN103176852A true CN103176852A (en) 2013-06-26
CN103176852B CN103176852B (en) 2016-05-25

Family

ID=48636752

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110435689.7A Active CN103176852B (en) 2011-12-22 2011-12-22 A kind of method for interprocess communication and device

Country Status (1)

Country Link
CN (1) CN103176852B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572313A (en) * 2013-10-22 2015-04-29 华为技术有限公司 Inter-process communication method and device
CN105068878A (en) * 2015-07-30 2015-11-18 汉柏科技有限公司 Inter-process communication method and system
CN105426261A (en) * 2015-11-11 2016-03-23 东莞福泽尔电子科技有限公司 Cross-platform real-time memory communication system method
CN106980551A (en) * 2017-03-24 2017-07-25 山东浪潮商用系统有限公司 A kind of Way of Process Communication and device
CN108062252A (en) * 2016-11-08 2018-05-22 阿里巴巴集团控股有限公司 A kind of information interacting method, method for managing object and device and system
CN112559196A (en) * 2019-09-10 2021-03-26 航天科工惯性技术有限公司 Transmission method for interprocess communication data sharing
WO2022021896A1 (en) * 2020-07-30 2022-02-03 华为技术有限公司 Interprocess communication method and apparatus

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6629152B2 (en) * 1998-06-29 2003-09-30 International Business Machines Corporation Message passing using shared memory of a computer
CN101382953A (en) * 2008-09-19 2009-03-11 中兴通讯股份有限公司 Interface system for accessing file system in user space and file reading and writing method
CN101551808A (en) * 2009-05-13 2009-10-07 山东中创软件商用中间件股份有限公司 Technology supporting multi-process embedded tree-based databases
CN101853238A (en) * 2010-06-01 2010-10-06 华为技术有限公司 Message communication method and system between communication processors

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6629152B2 (en) * 1998-06-29 2003-09-30 International Business Machines Corporation Message passing using shared memory of a computer
CN101382953A (en) * 2008-09-19 2009-03-11 中兴通讯股份有限公司 Interface system for accessing file system in user space and file reading and writing method
CN101551808A (en) * 2009-05-13 2009-10-07 山东中创软件商用中间件股份有限公司 Technology supporting multi-process embedded tree-based databases
CN101853238A (en) * 2010-06-01 2010-10-06 华为技术有限公司 Message communication method and system between communication processors

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572313A (en) * 2013-10-22 2015-04-29 华为技术有限公司 Inter-process communication method and device
CN104572313B (en) * 2013-10-22 2018-03-13 华为技术有限公司 Communication means and device between a kind of process
CN105068878A (en) * 2015-07-30 2015-11-18 汉柏科技有限公司 Inter-process communication method and system
CN105426261A (en) * 2015-11-11 2016-03-23 东莞福泽尔电子科技有限公司 Cross-platform real-time memory communication system method
CN105426261B (en) * 2015-11-11 2019-04-30 东莞福泽尔电子科技有限公司 A kind of cross-platform real-time communication system method
CN108062252A (en) * 2016-11-08 2018-05-22 阿里巴巴集团控股有限公司 A kind of information interacting method, method for managing object and device and system
CN108062252B (en) * 2016-11-08 2022-02-01 斑马智行网络(香港)有限公司 Information interaction method, object management method, device and system
CN106980551A (en) * 2017-03-24 2017-07-25 山东浪潮商用系统有限公司 A kind of Way of Process Communication and device
CN112559196A (en) * 2019-09-10 2021-03-26 航天科工惯性技术有限公司 Transmission method for interprocess communication data sharing
CN112559196B (en) * 2019-09-10 2024-03-26 航天科工惯性技术有限公司 Transmission method for sharing communication data between processes
WO2022021896A1 (en) * 2020-07-30 2022-02-03 华为技术有限公司 Interprocess communication method and apparatus

Also Published As

Publication number Publication date
CN103176852B (en) 2016-05-25

Similar Documents

Publication Publication Date Title
CN103176852A (en) Method and device for inter-progress communication
CN103034603A (en) Multi-channel flash memory card control device and control method thereof
JP2010506242A (en) Communication method with multi-function memory card
CN102622136B (en) A kind of multi-point touch system data processing method and device
CN102566939B (en) Solid state disk (SSD) and read-modify-write operation data management method thereof
CN107391400A (en) A kind of memory expanding method and system for supporting complicated access instruction
CN102364443A (en) Method for online programming network card configuration file
EP1806650A3 (en) Information processing apparatus, controller and file reading method
JP2013030145A (en) Memory card controller, memory card adapter and memory card drive
CN202584143U (en) A read-only card reader with multiple interfaces
CN102486719B (en) Intelligent memory card and transaction-writing method thereof
CN101178933B (en) Flash memory array device
CN104572513B (en) A kind of TF card and its implementation without driving with Bluetooth function
CN206975631U (en) A kind of universal input output timing processor
CN103389893A (en) Read-write method and device for configuration register
CN202189558U (en) SPI interface-based data storage device
CN102207921B (en) Based on system and the method thereof of UASP protocol realization multiport Storage Media
CN104268005B (en) Virtual machine awakening method and device
CN101976230A (en) Transaction translator of universal serial bus and input request isochronous transaction method
CN102622318B (en) Storage controlling circuit and vector data addressing method controlled by same
CN102110065B (en) Cache system for reducing data transmission
CN201142229Y (en) Flash memory array device
TW201126327A (en) Power-saving method and system for the same
CN103577113A (en) Storage unit accessing method
CN202067260U (en) Buffer memory system for reducing data transmission

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