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

Simulation system communication method and simulation system

A technology of simulation system and communication method, applied in the field of simulation system communication method and simulation system, can solve problems such as simulation data error, communication failure, etc., and achieve the effect of automatic correction, improvement of anti-interference and stability

Active Publication Date: 2017-07-28
SHANGHAI EASTSOFT MICROELECTRONICS
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The invention provides a simulation system communication method and a simulation system, which are used to solve the problem of communication failure or simulation data error caused by the interference of the simulator, improve the anti-interference and stability of the simulator, and realize automatic correction

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
  • Simulation system communication method and simulation system
  • Simulation system communication method and simulation system
  • Simulation system communication method and simulation system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0025] figure 1 It is a flow chart of the simulation system communication method provided by Embodiment 1 of the present invention, figure 2 It is a schematic diagram of the top-level data flow of the slave device in the simulation system communication method provided by Embodiment 1 of the present invention, image 3 It is a schematic diagram of the message frame structure of the request message in the communication method of the simulation system provided by Embodiment 1 of the present invention. This method is applicable to the simulation system. Usually, the simulation system includes a master device and a slave device, and the master device and the slave device are connected through various communication methods , the slave device receives instructions from the master device to complete the simulation operation, and returns the simulation result to the master device. The method can be executed by the master device in the simulation system, and can be implemented in a so...

Embodiment 2

[0036] Figure 4 The flow chart of the simulation system communication method provided by Embodiment 2 of the present invention, this embodiment further optimizes the simulation system communication method on the basis of the above embodiments, and the method can be executed by the master device in the simulation system. Such as Figure 4 As shown, on the basis of the above-mentioned embodiments, the request-response message may also include: when the slave device judges that one or more of the slave device address, function code and sum check code in the request message is incorrect, return The exception function code. That is, the request-response message includes three kinds of messages, and the master device receives one of the messages and judges whether the receiving of the message times out. In the specific implementation process, the master device performs one of the following three steps:

[0037] Step 1021, the master device receives the abnormal function code ret...

Embodiment 3

[0058] Figure 5 It is a flow chart of the simulation system communication method provided by the third embodiment of the present invention. This embodiment further optimizes the simulation system communication method on the basis of the above embodiments, and the method can be executed by the slave device in the simulation system. Such as Figure 5 As shown, the simulation system communication method may include:

[0059] Step 201, the slave device receives the request message sent by the master device, and judges whether the request message is received timed out.

[0060] Specifically, when the slave device knows that the master device will send a request message, it immediately starts the timer to start counting, and starts to receive the request message sent by the master device. If the complete request message frame is received before the timer expires , it is considered that the request message has not timed out, and if the complete message frame of the request messag...

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 present invention provides a simulation system communication method and a simulation system, wherein the method includes: a master device sends a request message to a slave device; the master device receives one of the request-response messages returned by the slave device, and judges the Whether the reception of one of the request-response messages has timed out, the request-response messages include the processing result of the first message returned by the slave device when it determines that the request message is the first message, and the slave device The response message of the request message returned when it is determined that the request message is the second message; the master device resends the request message or performs timeout error processing when receiving the request message overtime. The simulation system communication method and the simulation system provided by the invention are used to solve the problems of communication failure or simulation data error caused by the interference of the simulator, improve the anti-interference and stability of the simulator, and realize automatic correction.

Description

technical field [0001] The invention relates to communication technology, in particular to a simulation system communication method and a simulation system. Background technique [0002] At present, emulators are usually used to simulate and debug software and hardware in the application development process of microcontrollers. The emulator includes a main control board and main control firmware, a simulation board, an adapter board and a power supply board, and a host computer simulation software matching the emulator is also required. Wherein, the main control board is provided with a main control chip, the main control firmware is software solidified in the main control chip, the simulation board is provided with a simulation chip, and the main control chip can be used to control the simulation chip to perform simulation operations. In the process of using the emulator for testing, external environmental interference or abnormality of the user's development board will ca...

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 Patents(China)
IPC IPC(8): H04L1/00H04L1/18
Inventor 周亚林潘松杨荣褚桂英
Owner SHANGHAI EASTSOFT MICROELECTRONICS
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