Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Component interactive synchronization method based on transaction

A component and transaction technology, applied in the field of computer data interactive communication, can solve the problems of priority inversion, client C cannot get timely response, high priority C cannot get timely response, etc.

Inactive Publication Date: 2008-10-29
ZHEJIANG UNIV
View PDF0 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Although the message passing process does not involve thread scheduling, all other threads remain in the original state, but when the next scheduling cycle arrives, the priority inversion problem may occur after the thread is scheduled.
like figure 2 As shown, the high-priority client C sends a request to the low-priority server S. During the operation of S, a scheduling occurs, and the medium-priority client X preempts the operation of S. The result is that the medium-priority Priority X causes high priority C to fail to respond in time
[0006] Another situation such as image 3 As shown, the medium-priority client X sends a request to the server S. During the processing of the server S, a scheduling occurs, and the high-priority client C starts running and sends a request to the server S. However, under the IPC mechanism of the client / server mode, the server S must process the client X's request before receiving the client C's request, resulting in the high-priority client C not being able to get a timely response

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Component interactive synchronization method based on transaction
  • Component interactive synchronization method based on transaction
  • Component interactive synchronization method based on transaction

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] Embodiments of the method for component interaction synchronization based on the componentized embedded operating system of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0033] Such as Figure 4 As shown, after the embedded operating system is started, the client A of one component sends a request to the server A of another component (that is, calls the remote method), and the server A stores the TC and EC of the client A in the service stack. Determine whether server A is executing a higher-level client B request. If so, server A creates a new initial context and continues to execute client B's request. After execution, server A returns the result to the client b. The service stack transforms the state of server A to the TC of client A through state transition, and server A shares the TC of client A to execute the request of client A. If not, directly execute the request of client A, and during the execution ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for component interaction synchronization based on objects. The method realizes the data interaction communication between the client and the server of the component by a component-typed built-in operation system; when the server receives the request sent by the client, the server gains the event context of the interactive synchronization component based on the objects and determines the priority of the component interaction according to the event context of the component interaction synchronous mechanism based on the objects, and runs as the priority of the client. The invention also discloses a component-typed interaction model based on the event; the model is based on the event context and realizes the precise interaction between the components. The method of the invention solves the priority inversion problem between the independent components by introducing the event context of the interaction synchronous component based on the objects, is realized on a multi-core component-typed built-in operation system platform Pcanel and ensures the high efficiency and low expense of the interaction between the components.

Description

technical field [0001] The invention belongs to the field of computer data interactive communication, and in particular relates to a method for component interaction synchronization of a transaction-based component embedded operating system of a computer. Background technique [0002] A component is a reusable part of the system, and the state and behavior of the component are encapsulated by the component interface. Components communicate with each other through interfaces (remote method calls). Components generally interact through the IPC mechanism, which has a good ability to isolate errors and protect trusted components from interference or attacks. IPC (Inter-Process Communication) refers to the resources shared by "named pipes". Encrypted data is exchanged, enabling access to remote computers. Since the componentized operating system must frequently use IPC during operation, the efficiency of IPC must be guaranteed. Since the traditional interaction between compon...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/54H04L29/06
Inventor 陈文智王宽卿姚刚
Owner ZHEJIANG UNIV
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products