Processing method for optimization of inter-process communication of embedded operating system
A technology of inter-process communication and operating system, which is applied in the field of optimized devices for inter-process communication of embedded operating systems, can solve the problem of low message processing efficiency, and achieve the effects of improving equipment communication efficiency, facilitating monitoring and control, and simplicity and complexity
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0055] Please refer to figure 1 , the message queue shared memory of the present invention is made up of two independent parts, and a part is used for the message queue information of management, establishes independent index ID, memory reads, writes the pointer, adopts independent semaphore control synchronization; The other part is used for communication The message queue of the process. All communication processes use a common semaphore to control synchronization. Each process has an independent message queue with characteristic values. The messages are convenient for message classification management and improve access efficiency. The read and write pointers of the message queue are easy to distinguish Whether the message has been processed.
[0056] Considering the consistency of message processing methods, the same message structure is used in the management message queue and the message queues of each process. The structure needs to have some key flag information for in...
no. 2 example
[0076] Please refer to figure 2 , the method for the optimization of embedded operating system interprocess communication of the present invention comprises:
[0077] Step 1: Initialize the management process, read the corresponding configuration file of the device, and determine various operating information such as the number of system interfaces and the number of devices. For each interface information, a relatively independent characteristic value is required, and a special structure is established to store the information;
[0078] Step 2: System device initialization, including system time, watchdog, etc.;
[0079] Step 3: Create a shared memory interval, including: parameter shared memory, real-time database shared memory and other equipment operations that must be operated;
[0080] Step 4: Establish a channel communication message shared memory space according to the system's maximum interface resources and assign values to corresponding pointers, including messa...
no. 3 example
[0095] As another alternative embodiment, the method for optimizing inter-process communication of an embedded operating system in this embodiment includes:
[0096]Step 1: Initialize the management process, read the corresponding configuration file of the system equipment, and determine the operation information of the system equipment. The operation information includes the interface quantity information and / or the equipment quantity information. For each operation information, an independent characteristic value is used Establish a characteristic message structure to store the operation information, the characteristic message structure includes: read register serial number, write register serial number, message queue space; the message queue space includes a plurality of message queues, and each message queue Independent; establish the quantity of the message queue according to the quantity of the management process;
[0097] Step 2: Initialize the feature information struc...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com