Cross-process fast big data transmission method and device, equipment and computer program
A technology for fast transmission and big data, applied in the field of inter-process communication and message transmission, it can solve the problems of synchronization and mutual exclusion of read and write data, and decrease in communication efficiency, and achieve the effect of improving communication efficiency and improving the degree of intelligence.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0053] This embodiment provides a method for quickly transferring large data across applications, for example, it can be applied to the Android system. When multi-process communication requires rapid transmission of large data, for example, the host process needs to transmit the preview data of the camera to the service process. Calculate (camera preview data is generally 1280×720, and the average frame is about 30ms), such as figure 1 shown, including the following steps:
[0054] S1. Establish a waiting task set according to the first-in-first-out principle, each waiting task element in the waiting task set corresponds to one service process in one or more than two service processes, that is, each service process corresponds to a waiting task ;
[0055] S2. Each of the one or more host processes uses the shared memory area to write a set of data, and the file descriptor of the shared memory area is passed to one or more service processes through the binder mechanism;
[00...
Embodiment 2
[0076] Corresponding to Embodiment 1, this embodiment provides a device for quickly transferring large data across processes, such as Figure 4 shown, including:
[0077] The waiting task set creation unit 1 is used to establish a waiting task set according to the first-in-first-out principle, and each waiting task element in the waiting task set corresponds to one service process in one or more than two service processes;
[0078] Data writing unit 2, used for each host process in one or more than two host processes to use the shared memory area to write a set of data, and the file descriptor of the shared memory area is passed to one or more than two service processes through the binder mechanism ;
[0079] The label information obtaining unit 3 is used to obtain the label information of a group of data correspondingly written by each host process, and the label information includes the data type, the data representation object, the location of the data collection place and...
Embodiment 3
[0099] This embodiment provides a device for rapidly transferring large data across processes, including:
[0100] one or more processors;
[0101] storage means for storing one or more programs;
[0102] When the one or more programs are executed by the one or more processors, the one or more processors are made to implement the method for rapidly transferring large data across applications in Embodiment 1.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More - R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com



