I/O signal reference method

A signal and application module technology, applied in the direction of instruments, electrical digital data processing, etc., can solve the problem of inflexible and efficient communication between cards and boards, and achieve the effect of flexible and efficient I/O access

Pending Publication Date: 2021-03-16
苏州云电电力科技有限公司
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to provide a reference method for I / O signals, which supports flexible and efficient access to I / O signals when application modules are running; supports I / O access when application modules are dynamically loaded and running, thereby solving the problem of inter-board communication The problem of not being flexible and efficient enough

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
  • I/O signal reference method
  • I/O signal reference method
  • I/O signal reference method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] Such as figure 1 , figure 2 As shown, the reference method of the I / O signal includes the following steps:

[0019] S1. Define the identities of the referenceable I / O signals.

[0020] S2. The application module creates a corresponding variable object locally by referring to the identifier of the I / O signal, and adds it to the mapping table between the identifier of the I / O signal and the variable object. If the identifier of the I / O signal in the mapping table already exists, directly refer to the variable object corresponding to the identifier of the I / O signal. The attribute members of the variable object include data value, quality, time stamp, read operation function and write operation function, and the time stamp is used to mark the change moment of the I / O signal.

[0021] S3. Establish the access mapping relationship between the variable object and the identifier of the I / O signal through the internal communication mechanism; specifically include: for the I...

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 provides a reference method of an I / O signal. The reference method comprises the following steps: S1, an identifier of a referenceable I / O signal is defined; s2, the application module locally creates a variable object corresponding to the identifier of the reference I / O signal by referring to the identifier of the I / O signal, and adds the variable object into a mapping table in which the identifier of the I / O signal is in one-to-one correspondence with the variable object; s3, an access mapping relationship is established between the variable object and the I / O signal through aninternal communication mechanism according to the mapping table; s4, the application module controls and accesses the I / O signal by reading and writing the variable object. In the method, the external I / O signals are controlled and accessed by operating the local variable object when the application module runs, program architecture is decoupled in a layered mode, and the method has the advantages that I / O access is flexible and efficient, and dynamic loading running of the application module is supported.

Description

technical field [0001] The invention belongs to the technical field of embedded devices, and in particular relates to a method for quoting I / O signals. Background technique [0002] The embedded universal control platform is usually composed of CPU board, communication board, input and output interface board, etc. The input and output interface board usually includes switch input board, switch output board, analog input board and analog output board. In order for the boards to work together, the boards need to interact with input and output signals (referred to as I / O signals). The conventional method is to design a dedicated inter-board communication protocol to complete the specified signal interaction. With this method, as long as the upper-layer application module (APP) access I / O requirements change, the communication protocol will be modified, and the adaptability is poor; or The configuration information including inter-board interaction signals is generated in advan...

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): G06F13/20G06F13/42
CPCG06F13/20G06F13/42
Inventor 冯亚东李秋华丁子民朱继红
Owner 苏州云电电力科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products