WO2021248286A1 - Multi-level scalable cyber-physical system and sensor convergence access method - Google Patents

Multi-level scalable cyber-physical system and sensor convergence access method Download PDF

Info

Publication number
WO2021248286A1
WO2021248286A1 PCT/CN2020/094982 CN2020094982W WO2021248286A1 WO 2021248286 A1 WO2021248286 A1 WO 2021248286A1 CN 2020094982 W CN2020094982 W CN 2020094982W WO 2021248286 A1 WO2021248286 A1 WO 2021248286A1
Authority
WO
WIPO (PCT)
Prior art keywords
node
bus
cyber
data
nodes
Prior art date
Application number
PCT/CN2020/094982
Other languages
French (fr)
Chinese (zh)
Inventor
张伟功
王莹
周继芹
王晶
朱晓燕
Original Assignee
首都师范大学
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 首都师范大学 filed Critical 首都师范大学
Priority to PCT/CN2020/094982 priority Critical patent/WO2021248286A1/en
Publication of WO2021248286A1 publication Critical patent/WO2021248286A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/40Network security protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/20Network architectures or network communication protocols for network security for managing network security; network security policies in general

Definitions

  • the present disclosure relates to the field of computer technology, and in particular to a cyber-physical system that can be expanded at multiple levels and a sensor convergence access method.
  • CPS Cyber-Physical Systems
  • CPS is a new generation of intelligent systems that integrates information processing and physical perception through the organic combination of computing, communication and control technologies, and realizes the coordinated work of computing resources and physical resources.
  • CPS improves the system's capabilities in information processing, real-time communication, remote precise control, and automatic component coordination through a series of high integration and interaction of computing units and physical objects in the network environment. It is a hybrid autonomous system with multidimensional heterogeneous time and space. , With real-time, safe, reliable, high-performance and other characteristics.
  • CPS integrates advanced sensing, computing, communication, control and other information technologies and automatic control technologies to build a complex system that maps, interacts in a timely manner, and collaborates with multiple elements in the physical space and the information space to achieve the allocation and operation of resources in the system. On-demand response, rapid iteration, and dynamic optimization.
  • CPS In order to meet the requirements of ubiquitous sensor access and multi-source perception fusion, CPS should have good adaptability to heterogeneous information, while allowing some components in the system to dynamically exit and access. Compared with ordinary embedded systems, CPS has higher requirements for system scalability and openness. At present, CPS mostly uses industrial field network as the basis to establish the network connection of the system, and wireless sensor network is also a main way for CPS to perceive data. However, in a large number of industrial production sites, embedded control and other fields, due to factors such as noise, signal attenuation, and message conflicts, wireless sensor networks cannot meet application requirements in terms of real-time, accuracy, and reliability.
  • the present disclosure provides a cyber-physical system and a sensor convergence access method that can be expanded at multiple levels to solve the problem of heterogeneous access and integration of cyber-physical systems.
  • the main technical solutions adopted by the present disclosure include:
  • An embodiment of the present disclosure provides a cyber-physical system that can be expanded at multiple levels, including:
  • Network protocol converter used to connect with other information physical systems or external devices via Ethernet to complete the two-way conversion of Ethernet access and bus access
  • the communication bus is used to connect the network protocol converter, at least one master node and at least one slave node;
  • Multiple heterogeneous data-sensing execution components are used to connect with corresponding slave nodes according to the functional partitioning of the master node or slave node, and the data-aware execution components include sensors and/or actuators;
  • the master node can initiate access to other master nodes or slave nodes through the communication bus, and the slave nodes connect and access corresponding sensors and/or actuators through functional partitioning.
  • the communication bus is a UM-BUS bus.
  • the cyber-physical system includes 1-7 master nodes and 1-28 slave nodes, and the total number of master nodes and slave nodes is less than or equal to 29.
  • the function partitioning mode of the slave node includes an attribute storage area and a method storage area.
  • the attribute storage area includes a node description area and a plurality of function attribute definition areas
  • the method storage area includes a global method. Area and multiple functional method areas.
  • the network protocol converter includes:
  • the bus controller is used to control the communication and access between the master node and other master nodes and the master node and slave nodes in the cyber-physical system using the communication bus;
  • the Ethernet controller is used to control the two-way communication and access between the master node in the cyber-physical system and other cyber-physical systems or external devices.
  • Another embodiment of the present disclosure also provides a sensor convergence access method of a cyber-physical system, including:
  • the slave node receives the bus access request of the master node, and sets the function partition mode according to the bus access request.
  • the function partition mode of the slave node includes an attribute storage area and a method storage area.
  • the attribute storage area includes a node description area and multiple functions
  • An attribute definition area the method storage area includes a global method area and a plurality of functional method areas, wherein the functional method area is used to store the code of the function processing method;
  • the multiple heterogeneous data perception execution components are classified and grouped according to application requirements and encapsulated to obtain encapsulated data, where the data perception execution components include sensors and/or actuators;
  • the method further includes:
  • the data-aware execution component When there is a newly added data-aware execution component, the data-aware execution component is classified and grouped according to the code of the functional processing method in the functional method area combined with application requirements, and the data-aware execution component is corresponding to the corresponding slave node according to the classification grouping result Function method area.
  • the method further includes:
  • the communication bus stores the data attributes and processing methods of multiple heterogeneous data-aware execution components connected to slave nodes in the attribute storage area and the method storage area, respectively.
  • the method further includes:
  • the information in the global method area, function method area and attribute storage area of all slave nodes on the communication bus is processed and stored in a unified and standardized manner;
  • the data attributes and processing methods stored in the attribute storage area and the method storage area are loaded into each master node of the communication bus.
  • S1 in the method when the slave node is replaced as the master node, S1 in the method includes:
  • S3 includes:
  • the data-aware execution component is mapped to the corresponding function method area of the main node.
  • the beneficial effect of the present disclosure is that based on the dynamic access capability of the communication bus, it can be expanded from three different levels by means of the interoperability conversion between the Ethernet and the communication bus.
  • Cyber-physical systems can support the dynamic organization and integration of different types of CPS nodes, solve the problems of heterogeneous integration and dynamic access of CPS nodes, improve the openness of CPS and system expansion capabilities, and facilitate the standardized upgrade and maintenance of CPS systems.
  • FIG. 1 is a structural diagram of a cyber-physical system that can be expanded at multiple levels according to an embodiment of the present disclosure
  • Fig. 2 is a flowchart of a method for converging and accessing sensors of a cyber-physical system according to an embodiment of the present disclosure
  • Fig. 3 is a schematic diagram of sensor aggregation and access of CPS nodes in another embodiment of the present disclosure.
  • the present disclosure provides a cyber-physical system that can be expanded from multiple levels and an expansion method thereof, which can provide applications such as multi-source data expansion of cyber-physical systems, dynamic access of a large number of sensors, and information fusion of heterogeneous systems. support.
  • FIG. 1 is a structural diagram of a cyber-physical system that can be expanded at multiple levels according to an embodiment of the present disclosure.
  • the cyber-physical system 100 includes: a network protocol converter 110, a communication bus 120, and a master node 130 , Slave node 140 and multiple heterogeneous data-aware execution components 150.
  • the network protocol converter 110 is used to connect with other information physical systems or external devices via Ethernet to complete the two-way conversion of Ethernet access and bus access;
  • the communication bus 120 is used to connect the network protocol converter 110, at least one CPS master node 130 and At least one CPS slave node 140; multiple heterogeneous data sensing execution components 150 are used to connect to corresponding slave nodes according to the functional partitioning of the master node or slave node, and the data sensing execution component 150 includes sensors and/or actuators, namely Sensor/actuator.
  • the CPS master node 130 can initiate access to other master nodes or slave nodes through the communication bus, and the CPS slave node 140 connects and accesses corresponding sensors and/or actuators in a function partition manner.
  • This cyber-physical system uses two-way conversion between Ethernet and UM-BUS bus, and expands the system level through Ethernet, forms a larger system with other cyber-physical systems, and can access internal resources with each other; add new ones through UM-BUS bus
  • the nodes in the system expand the internal functions of the system; through the function partition of the CPS node, the convergence access expansion of a variety of heterogeneous sensors/actuators is realized.
  • the multi-level expandable cyber-physical system of the present disclosure can realize flexible extension and standardized access of system functions and interfaces from multiple levels, increase the openness of the system, and improve the cohesive coupling capability of heterogeneous sensors/actuators.
  • the network protocol converter 110 includes a bus controller and an Ethernet controller.
  • the bus controller is used to communicate between the master node and other master nodes and the master node and slave nodes in the cyber-physical system using a communication bus.
  • Ethernet controller is used to control the two-way communication and access between the master node in the cyber-physical system and other cyber-physical systems or external devices.
  • the cyber-physical system includes CPS system 1 and CPS system n. Since the cyber-physical system is connected to the external Ethernet through the network protocol converter 100 therein, system-level expansion is realized; the cyber-physical system can be connected to the external Ethernet through the Ethernet Other cyber-physical systems perform information exchange; other cyber-physical systems can also access the CPS master node and CPS slave node connected on the internal communication bus of the cyber-physical system after protocol conversion via a network protocol converter via Ethernet.
  • the communication bus 120 is used to connect the CPS master node, the CPS slave node and the network protocol converter to provide a data access channel.
  • the communication bus may be a UM-BUS bus.
  • other types of communication buses may also be used according to the needs of the application.
  • the UM-BUS bus is used as the internal communication bus of the CPS.
  • Dynamically reconfigurable high-speed serial bus (UM-BUS) is a high-speed serial bus that can organically unify redundant fault tolerance and high-speed communication, and has remote expansion capability, which is proposed for system miniaturization and embedded integrated design.
  • Each CPS master node in the CPS system 1 can access the Ethernet controller in the network protocol converter through the UM-BUS bus, and perform Ethernet communication with other devices.
  • other devices outside the CPS system 1 can also use specific Ethernet messages to access the CPS master node and CPS slave node connected on the UM-BUS bus in the CPS system 1 through the network protocol converter, and to the CPS master node Or CPS reads and writes from the memory, sensors, etc. in the node.
  • the network protocol converter can convert the received specific Ethernet message into an access request to the UM-BUS bus; then according to the access request, it generates an access request to the UM-BUS bus; and then receives the UM-BUS bus node’s access request.
  • Response information According to the response information of the UM-BUS bus node, the response Ethernet message is constructed and sent to the access requester on the Ethernet.
  • the cyber-physical system may include 1-7 master nodes and 1-28 slave nodes, and the total number of master nodes and slave nodes is less than or equal to 29.
  • the UM-BUS bus supports direct interconnection of multiple nodes, up to 32 channels (lane1 ⁇ lane32) can be used for concurrent transmission, and the communication rate can reach 6.4Gbps. In the communication process, if some channels fail, the bus controller can monitor it in real time, dynamically allocate the data to the remaining valid channels for transmission, realize dynamic reconstruction, and dynamically fault-tolerate communication failures.
  • the CPS master node is a node with computing capabilities in the cyber-physical system. It is the master control device on the UM-BUS bus.
  • the slave device has 0-4 functional partitions, and each functional partition can store the function method and attribute information related to the sensor/actuator, and realize the connection and access to the sensor/actuator.
  • each CPS slave node is connected to a data perception execution component 150.
  • the data perception execution component generally refers to the data perception component and drive execution component of the cyber-physical system, which is the basis for data perception and function execution in the CPS system.
  • Components, including sensors and/or actuators, are connected to the cyber-physical system from nodes through CPS. These sensors/actuators are classified according to functions and data types, and their function methods and data attributes are encapsulated in different functional partitions of the CPS slave node according to the functional needs of the system.
  • the UM-BUS bus adopts a master-slave command response communication mode, and the nodes exchange information in the form of data packets.
  • the nodes connected to the bus can be divided into master nodes, slave nodes and monitoring nodes according to their functions.
  • the bus communication process is always initiated by the master node and completed by the response of the slave nodes.
  • the monitoring node is used to monitor the communication process on the bus.
  • the UM-BUS bus has a time synchronization function, which can ensure the precise synchronization of the time system between each node of the bus.
  • the UM-BUS bus supports two communication modes: single-master communication and multi-master communication.
  • the UM-BUS bus communication process can only be initiated by the master node.
  • the master node can read and write access to the internal functional units of other nodes according to the address. It can support three address spaces: IO space, storage space and attribute space.
  • the attribute space is 1KB, IO
  • the space size is 64KB, and the storage space is 256TB.
  • the IO space and the attribute space can only be read and written by word and cannot be buffered.
  • the storage space can only be read and written by page and needs to be buffered locally.
  • the UM-BUS bus also supports interrupt processing. Any node on the bus can make an interrupt request to any one or more bus nodes through a common interrupt signal line, where the bus nodes are the master and slave nodes connected to the communication bus.
  • the processing layer at the sending end obtains data from the upper interface and stores it in the data buffer.
  • the data packets are dynamically and evenly distributed to the effective channel according to the effective line information provided by the MAC sublayer.
  • After packaging the packet data at the physical layer it is encoded into a bit stream by 8b/10b and sent to the link.
  • 8b/10b decoding, serial-to-parallel conversion of the received data at the physical layer of the receiving end the channel data is unpacked, and then the data is dynamically organized and combined in the transmission sublayer according to the effective line information provided by the MAC sublayer. Stored in the data buffer, and finally handed over to the application layer by the processing layer for processing.
  • the master node can only send data from the physical layer to the bus after obtaining the right to use the bus, and start a bus communication process.
  • the UM-BUS bus has a time synchronization function. When working, all nodes on the bus are in a time synchronization state.
  • the UM-BUS bus sets up a dedicated shared interrupt signal line between all nodes. All nodes on the bus can adopt a serial encoding method to send an interrupt request signal to the shared interrupt signal line and raise an interrupt request to the bus master node. All nodes can also receive signals from the shared interrupt line to obtain the information transmitted on the interrupt line.
  • the UM-BUS bus node can store the data attributes and processing method codes of the sensors and actuators connected to the node in the attribute space and storage space of the bus node.
  • the attributes stored on the node The method and method will be dynamically loaded into each master node on the bus as needed for application tasks on the master node.
  • the attribute space of the UM-BUS bus can be used to realize a software-defined virtual device. Through the attribute space The defined standardized interfaces and methods realize the consistent operation of heterogeneous equipment.
  • UM-BUS bus nodes can use the attribute space to define the device type, function classification, function organization, function loading requirements, sensor/actuator connection and other conditions of the node.
  • the functional partitioning method of the bus node includes an attribute storage area and a method storage area.
  • the attribute storage area includes a node description area and multiple function attribute definition areas
  • the method storage area includes a global method. Areas and multiple functional method areas are used to store global processing method codes and functional processing method codes. The number of functional attribute definition areas and functional method areas is up to four.
  • the node description area includes three parts: node identification, global method information, and functional attribute definition description information.
  • the node identification is used to describe and define the node number, node type, node name, production information, etc. of the node device.
  • the global method information is the node global
  • the storage location information of the function method code in the storage space, and the function attribute definition description information describes and defines the interrupt control of the node device, the function type, the number of function method areas, and the storage space mapping requirements.
  • the function attribute definition area includes three parts: function identifier, function processing method information and function data information.
  • the function identifier is used to store the function code, function name, basic attribute of function operation and other information.
  • the function processing method information is the processing method code included in the function.
  • the storage location information of the space, and the functional data information are the address information of the attribute space and the IO space in the functional module that can be directly or indirectly accessed by the application task.
  • each method area includes a method description area, a method mapping area, and a method entity area.
  • the method description area stores basic information such as method area name, version, method quantity, etc.; method mapping area creates an index item for each method including method name, parameter, code storage location, etc.; method entity area is all functional methods of the method area
  • the actual storage area of the processing code and data is all functional methods of the method area.
  • a UM-BUS bus master node when a UM-BUS bus master node is reset, the master node reads the attribute space of all other nodes on the bus, and according to the information in the node description area and function attribute definition area of each node’s attribute space, The global method code and function method code and data information of each node are loaded into the memory of the main node, and through a unified specification, for application tasks in the system to access and call.
  • a UM-BUS bus node When a UM-BUS bus node is connected to the bus system (or after reset), it will actively request all the master nodes on the bus to read the attribute space of the new access node, and change the node's global method and function method code And data information is loaded into the memory of all master nodes for system use.
  • the CPS system 1 is connected to an external Ethernet through the network protocol converter therein, and connected with other CPS systems through the Ethernet to achieve system-level expansion.
  • the CPS system 1 can exchange information with other cyber-physical systems via Ethernet, send the information to the CPS system n in an Ethernet message, and can also receive the Ethernet message information sent by the CPS system n.
  • each CPS master node in CPS system 1 needs to send out Ethernet messages, or need to receive Ethernet messages from the The Ethernet controller performs access, and the Ethernet message is sent and received through the Ethernet controller.
  • CPS system n can send specific Ethernet messages to the network protocol converter in CPS system 1 via Ethernet.
  • the CPS master node and CPS slave node perform read and write access to memory, sensors/actuators, etc.
  • the CPS system 1 shown in Fig. 1 can realize dynamic expansion of the internal functions of the system by connecting more CPS master nodes or CPS slave nodes on the UM-BUS bus.
  • the CPS master node n needs to be expanded, connect it to the UM-BUS bus.
  • the CPS master node After the CPS master node completes the reset initialization, it dynamically loads the function methods and attributes of all the nodes in the CPS system 1 through the UM-BUS bus, and then uses the load function method to manage those existing nodes, and can Read and write access to the data of existing nodes and connected sensors/actuators.
  • CPS master nodes in the CPS system 1 will also dynamically load the function methods and attributes of the newly added CPS master node n according to the UM-BUS bus node dynamic loading protocol, and then use the loaded function method It manages the CPS master node n and its connected sensors/actuators, and can read and write access to the data of the CPS master node n and its connected sensors/actuators.
  • the existing CPS master nodes in the CPS system 1 will dynamically load the function methods and attributes of the newly added CPS slave node n according to the UM-BUS bus node dynamic loading protocol. Then use the loading function method to manage the CPS slave node n and its connected sensors/actuators, and can read and write access to the data of the CPS slave node n and its connected sensors/actuators.
  • the CPS system 1 shown in Fig. 1 can expand data collection and control functions by connecting more sensors/actuators to each CPS slave node.
  • a CPS slave node can have 0-4 functional partitions. Each functional zone can be connected to a variety of different sensors/actuators, and corresponding functions and data processing methods are set for these sensors/actuators.
  • the sensors/actuators to be connected can be classified and grouped. Access to different functional partitions of the CPS slave node, and use the functional partition and dynamic loading characteristics of the CPS slave node to support the convergent access to a large number of heterogeneous sensors/actuators.
  • the multi-level expandable cyber-physical system Based on the multi-level expandable cyber-physical system provided by the first embodiment, based on the dynamic access capability of communication buses such as UM-BUS, and with the help of the interoperability conversion between Ethernet and communication buses, it can be expanded from three different levels: 1 ) High-level expansion between multiple cyber-physical systems can be realized through Ethernet; 2) Functional expansion can be carried out within cyber-physical systems through the communication bus; 3) Various heterogeneous sensing/executions can be performed through CPS node functional partitioning Convergence access extension of the device.
  • communication buses such as UM-BUS
  • Fig. 2 is a flow chart of a method for sensor aggregation and access of a cyber-physical system provided by an embodiment of the present disclosure. As shown in Fig. 2, the method includes the following steps:
  • step S1 the slave node receives the bus access request of the master node, and sets the function partition mode according to the bus access request.
  • the function partition mode of the slave node includes an attribute storage area and a method storage area.
  • the attribute storage area Including a node description area and multiple functional attribute definition areas, the method storage area includes a global method area and multiple functional method areas, wherein the functional method area is used to store the code of the functional processing method;
  • step S2 multiple heterogeneous data perception execution components are classified and grouped according to application requirements and encapsulated to obtain encapsulated data, where the data perception execution components include sensors and/or actuators;
  • step S3 the data-aware execution component is mapped to the corresponding functional method area of the slave node based on the encapsulated data combined with the function partition mode;
  • step S4 the multiple heterogeneous data sensing execution components are initialized through the global method area, and the data sensing execution components are tracked and fault monitored in the system operation device to obtain the status parameters and fault status. parameter.
  • the functional agent in the functional method area realizes the encapsulation and shielding of the heterogeneous characteristics of the sensor, and provides a unified access agent to the system for sensors with the same function or the same data;
  • the system management agent in the global method area combined with functional agents, realizes sensor status tracking and fault monitoring, and realizes the convergence and access expansion of multiple heterogeneous sensors.
  • the sensor convergence access method of the cyber-physical system of the present disclosure can shield structural differences, can converge access and manage a large number of sensors, and expand the multi-source data of the cyber-physical system, the dynamic access of a large number of sensors, and the information fusion of heterogeneous systems. And other applications to provide support.
  • step S1 since the slave node is the controlled party, it needs to perform corresponding processing according to the received bus access request.
  • the slave node in step S1 is replaced as the master node, the function partition mode of the master node is directly set .
  • step S3 the data sensing execution component is mapped to the corresponding functional method area of the master node based on the encapsulated data combined with the function partition method.
  • the method further includes:
  • the data-aware execution component When there is a newly added data-aware execution component, the data-aware execution component is classified and grouped according to the code of the functional processing method in the functional method area combined with application requirements, and the data-aware execution component is corresponding to the corresponding slave node according to the classification grouping result Function method area.
  • the method further includes:
  • the communication bus stores the data attributes and processing methods of multiple heterogeneous data-aware execution components connected to slave nodes in the attribute storage area and the method storage area, respectively.
  • the method further includes:
  • the information in the global method area, function method area and attribute storage area of all slave nodes on the communication bus is processed and stored in a unified and standardized manner;
  • the data attributes and processing methods stored in the attribute storage area and the method storage area are loaded into each master node of the communication bus.
  • the number of functional partitions should be 1-4.
  • the CPS slave node can use its global method area and functional method area. Taking the sensor as an example, the sensor can be aggregated and connected according to the following method:
  • All the sensors connected to the CPS slave node are grouped according to application requirements, and each group of sensors corresponds to a functional method area;
  • FIG. 3 is a schematic diagram of the convergent access of CPS node sensors in another embodiment of the present disclosure. As shown in FIG. 3, the heterogeneous attributes of the sensors are shielded through method encapsulation. When the application tasks use the data collection, processing, and transmission functions related to the physical characteristics of the sensor, they are all performed by calling these standard interfaces in the functional agents loaded into the memory of the CPS master node;
  • the functional agent in Figure 3 is not only responsible for processing the function and data of the sensor, but also for the initialization, status tracking and fault monitoring of the sensor.
  • the management of the global method backplane Next, initialize the sensor, and then continuously monitor the working status of the sensor and its method during the operation of the system, and record the key parameters and fault status of the sensor by the backplane agent in the global method;
  • the global method area serves as the unified backplane of each functional method area, providing an interface between the system and each functional method area; at the same time, the global method area also implements a system management agent to complete the control of each functional method area. Agent tracking status and fault report collection and summary, and report upward; at the same time, the system management agent will also locally record the key working status parameters and fault status of the sensor as required.
  • the CPS master node in the cyber-physical system can have all the functions of the CPS slave node, all CPS master nodes can use the same method as the CPS slave node to perform convergent access to sensors.
  • the actuator used in CPS like the sensor, the above method can also be used to converge access from the node through the CPS, and the actuator and the sensor can use the same functional method area.
  • the CPS master node can also be used to implement the convergent access of the aforementioned sensors/actuators.
  • the CPS master node will not only set the corresponding function attribute area and function method area through the attribute space and memory, but also provide the function method and attribute encapsulation of the sensor/actuator, and realize the connection of the connected sensor and actuator. Management and monitoring.
  • the CPS master node will also serve as a CPS master node to dynamically load the function methods on this node and other nodes, run the corresponding system applications, and access the sensors and actuators on this node and other nodes.
  • the multi-level expandable cyber-physical system realized by the present disclosure is based on the UM-BUS bus and Ethernet, and establishes a hierarchical connection structure and functional device connection method for the cyber-physical system, so that the cyber-physical system can follow a unified specification .
  • Flexible and convenient expansion from the three levels of the system layer, the function module layer and the perception execution interface layer can greatly improve the openness and scalability of the system, and can improve the dynamic compatibility of heterogeneous CPS nodes, which is beneficial to CPS Standardized upgrade and maintenance of the system.
  • the present disclosure can have many variations, such as: replacing the UM-BUS bus with other networks or buses, replacing the Ethernet with other networks or buses, and changing the information physics Changing the system to another system, changing the number of functional partitions in the CPS node, etc., can all be changed in different implementations. These modifications are also included in the scope of protection claimed by the present disclosure.
  • the cyber-physical system Based on the dynamic access capability of the UM-BUS bus, in the cyber-physical system, the convergence access of multiple heterogeneous sensors/actuators through the functional partition of CPS nodes can shield the differences of heterogeneous sensors/actuators. Unified and standardized management, and can continuously track and monitor the status and faults of sensors/actuators.
  • the cyber-physical system based on the present disclosure can support the dynamic organization and integration of a large number of heterogeneous sensors/actuators, improve the openness and system expansion capability of the CPS, and facilitate the standardized upgrade and maintenance of the CPS system.
  • modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory.
  • the features and functions of two or more modules or units described above may be embodied in one module or unit.
  • the features and functions of a module or unit described above can be further divided into multiple modules or units to be embodied.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Small-Scale Networks (AREA)

Abstract

The present disclosure relates to a multi-level scalable cyber-physical system and a sensor convergence access method. The system comprises: a network protocol converter, which is used for connecting to other cyber-physical systems or external devices by means of Ethernet; a communication bus, which is used for connecting to the network protocol converter, at least one master node and at least one slave node; and multiple heterogeneous data perception execution components, which comprise a sensor and/or an actuator, and are used for connecting to corresponding slave nodes according to a function division mode of the master node or the slave node, wherein the master node can initiate access to other master nodes or slave nodes by means of the communication bus, and the slave node is connected to and accesses the corresponding sensor and/or actuator by means of the function division mode. According to the present disclosure, on the basis of the dynamic access capability of a communication bus and by means of the interoperable conversion between Ethernet and the communication bus, scaling can be performed from three different levels, thereby solving the problem of heterogeneous integration and dynamic access of nodes, improving the openness and the scalability of a system, and facilitating the standardized upgrade and maintenance of the system.

Description

一种可多层次扩展的信息物理系统及传感器汇聚接入方法Multi-level expandable cyber-physical system and sensor convergence access method 技术领域Technical field
本公开涉及计算机技术领域,尤其涉及一种可多层次扩展的信息物理系统及传感器汇聚接入方法。The present disclosure relates to the field of computer technology, and in particular to a cyber-physical system that can be expanded at multiple levels and a sensor convergence access method.
背景技术Background technique
信息物理系统(Cyber-Physical Systems,简称为CPS)是通过计算、通信与控制技术的有机结合,将信息处理与物理感知执行深度融合,实现计算资源与物理资源协调工作的新一代智能系统。CPS通过一系列计算单元和物理对象在网络环境下的高度集成与交互,来提高系统在信息处理、实时通信、远程精准控制以及组件自动协调等方面的能力,是时空多维异构的混杂自治系统,具有实时、安全、可靠、高性能等特点。CPS通过集成先进的感知、计算、通信、控制等信息技术和自动控制技术,构建物理空间与信息空间中多种要素相互映射、适时交互、高效协同的复杂系统,实现系统内资源配置和运行的按需响应、快速迭代、动态优化。Cyber-Physical Systems (CPS) is a new generation of intelligent systems that integrates information processing and physical perception through the organic combination of computing, communication and control technologies, and realizes the coordinated work of computing resources and physical resources. CPS improves the system's capabilities in information processing, real-time communication, remote precise control, and automatic component coordination through a series of high integration and interaction of computing units and physical objects in the network environment. It is a hybrid autonomous system with multidimensional heterogeneous time and space. , With real-time, safe, reliable, high-performance and other characteristics. CPS integrates advanced sensing, computing, communication, control and other information technologies and automatic control technologies to build a complex system that maps, interacts in a timely manner, and collaborates with multiple elements in the physical space and the information space to achieve the allocation and operation of resources in the system. On-demand response, rapid iteration, and dynamic optimization.
为了适应传感器泛在接入、多源感知融合的需求,CPS对于异构信息应当具有很好的适应能力,同时允许系统中部分部件动态的退出和接入。与通常的嵌入式系统相比,CPS对系统的可扩展性与开放性具有更高的要求。目前的CPS多采用工业现场网络为基础建立系统的网络连接,无线传感器网络也是CPS感知数据的一个主要途径。然而,在大量的工业生产现场、嵌入式控制等领域,由于受到噪声、信号衰减、报文冲突等因素的制约,无线传感器网络在实时性、精准性、可靠性等方面难以满足应用要求。传统的面向嵌入式系统与信息系统远程连接的工业现场总线与网络,在传输速率、容错能力、节点同步、异构扩展等方面缺乏足够的支持,也难以满足CPS在异构接入、动态连接、可靠性、实时性、开放性、扩展性等方面发展的综合需求。同时,各种无线网络及 高速总线,大多缺乏设备间的中断支持,难以给CPS应用中设备间事件的快速实时响应提供良好支持。In order to meet the requirements of ubiquitous sensor access and multi-source perception fusion, CPS should have good adaptability to heterogeneous information, while allowing some components in the system to dynamically exit and access. Compared with ordinary embedded systems, CPS has higher requirements for system scalability and openness. At present, CPS mostly uses industrial field network as the basis to establish the network connection of the system, and wireless sensor network is also a main way for CPS to perceive data. However, in a large number of industrial production sites, embedded control and other fields, due to factors such as noise, signal attenuation, and message conflicts, wireless sensor networks cannot meet application requirements in terms of real-time, accuracy, and reliability. Traditional industrial field buses and networks for remote connection of embedded systems and information systems lack sufficient support in terms of transmission rate, fault tolerance, node synchronization, heterogeneous expansion, etc., and it is difficult to satisfy CPS in heterogeneous access and dynamic connection. , Reliability, real-time, openness, scalability and other aspects of the development of comprehensive needs. At the same time, most of the various wireless networks and high-speed buses lack interruption support between devices, and it is difficult to provide good support for the rapid and real-time response of events between devices in CPS applications.
随着CPS应用的深入,信息物理系统接入的传感器与执行器数量也在迅速地增长,传感器与执行器的异构接入需求也随之迅速增加。一方面,大量传感器与执行器的接入会给CPS底层管理接口带来极大的操作复杂性,影响系统数据采集与驱动效率。另一方面,在信息物理系统扩展与系统维护升级中,存在对异构传感器的兼容与共融问题,对系统应用的兼容性与持续性有着不可忽视的影响。With the deepening of CPS applications, the number of sensors and actuators connected to cyber-physical systems is also increasing rapidly, and the demand for heterogeneous access of sensors and actuators is also rapidly increasing. On the one hand, the access of a large number of sensors and actuators will bring great operational complexity to the CPS bottom management interface, and affect the efficiency of system data collection and drive. On the other hand, in cyber-physical system expansion and system maintenance and upgrading, there are problems of compatibility and inclusiveness of heterogeneous sensors, which have a non-negligible impact on the compatibility and continuity of system applications.
上述缺陷是本领域技术人员期望克服的。The above-mentioned shortcomings are expected to be overcome by those skilled in the art.
发明内容Summary of the invention
(一)要解决的技术问题(1) Technical problems to be solved
为了解决现有技术的上述问题,本公开提供一种可多层次扩展的信息物理系统及传感器汇聚接入方法,用以解决信息物理系统的异构接入与融合的问题。In order to solve the above-mentioned problems in the prior art, the present disclosure provides a cyber-physical system and a sensor convergence access method that can be expanded at multiple levels to solve the problem of heterogeneous access and integration of cyber-physical systems.
(二)技术方案(2) Technical solution
为了达到上述目的,本公开采用的主要技术方案包括:In order to achieve the above objectives, the main technical solutions adopted by the present disclosure include:
本公开一实施例提供一种可多层次扩展的信息物理系统,包括:An embodiment of the present disclosure provides a cyber-physical system that can be expanded at multiple levels, including:
网络协议转换器,用于通过以太网与其他信息物理系统或外部设备连接,完成以太访问和总线访问的双向转换;Network protocol converter, used to connect with other information physical systems or external devices via Ethernet to complete the two-way conversion of Ethernet access and bus access;
通信总线,用于连接网络协议转换器、至少一个主节点和至少一个从节点;The communication bus is used to connect the network protocol converter, at least one master node and at least one slave node;
多个异构的数据感知执行部件,用于按照主节点或从节点的功能分区方式与相应的从节点连接,数据感知执行部件包括传感器和/或执行器;Multiple heterogeneous data-sensing execution components are used to connect with corresponding slave nodes according to the functional partitioning of the master node or slave node, and the data-aware execution components include sensors and/or actuators;
其中主节点可通过通信总线向其他主节点或从节点发起访问,从节点通过功能分区方式对相应的传感器和/或执行器进行连接和访问。Among them, the master node can initiate access to other master nodes or slave nodes through the communication bus, and the slave nodes connect and access corresponding sensors and/or actuators through functional partitioning.
在本公开一实施例中,所述通信总线为UM-BUS总线。In an embodiment of the present disclosure, the communication bus is a UM-BUS bus.
在本公开一实施例中,所述信息物理系统中包括1~7个主节点和1~28 个从节点,主节点和从节点的数量总和小于或等于29。In an embodiment of the present disclosure, the cyber-physical system includes 1-7 master nodes and 1-28 slave nodes, and the total number of master nodes and slave nodes is less than or equal to 29.
在本公开一实施例中,从节点的功能分区方式包括属性存储区和方法存储区,所述属性存储区包括一个节点描述区和多个功能属性定义区,所述方法存储区包括一个全局方法区和多个功能方法区。In an embodiment of the present disclosure, the function partitioning mode of the slave node includes an attribute storage area and a method storage area. The attribute storage area includes a node description area and a plurality of function attribute definition areas, and the method storage area includes a global method. Area and multiple functional method areas.
在本公开一实施例中,所述网络协议转换器包括:In an embodiment of the present disclosure, the network protocol converter includes:
总线控制器,用于对信息物理系统内的主节点与其他主节点以及主节点与从节点利用通信总线的通信和访问进行控制;The bus controller is used to control the communication and access between the master node and other master nodes and the master node and slave nodes in the cyber-physical system using the communication bus;
以太网控制器,用于对信息物理系统内的主节点与其他信息物理系统或外部设备的双向通信和访问进行控制。The Ethernet controller is used to control the two-way communication and access between the master node in the cyber-physical system and other cyber-physical systems or external devices.
本公开另一实施例中还提供一种信息物理系统的传感器汇聚接入方法,包括:Another embodiment of the present disclosure also provides a sensor convergence access method of a cyber-physical system, including:
S1、从节点接收主节点的总线访问请求,根据总线访问请求设置功能分区方式,从节点的功能分区方式包括属性存储区和方法存储区,所述属性存储区包括一个节点描述区和多个功能属性定义区,所述方法存储区包括一个全局方法区和多个功能方法区,其中所述功能方法区用于存储功能处理方法的代码;S1. The slave node receives the bus access request of the master node, and sets the function partition mode according to the bus access request. The function partition mode of the slave node includes an attribute storage area and a method storage area. The attribute storage area includes a node description area and multiple functions An attribute definition area, the method storage area includes a global method area and a plurality of functional method areas, wherein the functional method area is used to store the code of the function processing method;
S2、将多个异构数据感知执行部件按照应用需求进行分类分组并进行封装得到封装数据,其中数据感知执行部件包括传感器和/或执行器;S2. The multiple heterogeneous data perception execution components are classified and grouped according to application requirements and encapsulated to obtain encapsulated data, where the data perception execution components include sensors and/or actuators;
S3、基于封装数据结合功能分区方式将数据感知执行部件对应到从节点相应的功能方法区中;S3. Corresponding data-aware execution components to the corresponding functional method area of the slave node based on the encapsulated data combined with the function partition method;
S4、通过全局方法区对多个异构数据感知执行部件进行初始化操作,并在系统运行器件对数据感知执行部件进行状态跟踪与故障监控得到状态参数和故障状态参数。S4. Perform initialization operations on multiple heterogeneous data sensing execution components through the global method area, and perform state tracking and fault monitoring on the data sensing execution components in the system operating device to obtain state parameters and fault state parameters.
在本公开一实施例中,所述方法还包括:In an embodiment of the present disclosure, the method further includes:
当有新加入的数据感知执行部件时,按照所述功能方法区中功能处理方法的代码结合应用需求对数据感知执行部件进行分类分组,按照分类分组结果将数据感知执行部件对应到从节点相应的功能方法区中。When there is a newly added data-aware execution component, the data-aware execution component is classified and grouped according to the code of the functional processing method in the functional method area combined with application requirements, and the data-aware execution component is corresponding to the corresponding slave node according to the classification grouping result Function method area.
在本公开一实施例中,所述方法还包括:In an embodiment of the present disclosure, the method further includes:
通信总线将与多个异构的、与从节点连接的数据感知执行部件的数据属性和处理方法分别存储在属性存储区和方法存储区。The communication bus stores the data attributes and processing methods of multiple heterogeneous data-aware execution components connected to slave nodes in the attribute storage area and the method storage area, respectively.
在本公开一实施例中,当其中一个主节点复位后,还包括:In an embodiment of the present disclosure, after one of the master nodes is reset, the method further includes:
通过读取通信总线上其他主节点和所有从节点的属性存储区,获取相应从节点的属性存储区的信息;Obtain the information of the attribute storage area of the corresponding slave node by reading the attribute storage area of other master nodes and all the slave nodes on the communication bus;
将通信总线上的所有从节点的全局方法区、功能方法区和属性存储区的信息进行统一的规范处理并存储;The information in the global method area, function method area and attribute storage area of all slave nodes on the communication bus is processed and stored in a unified and standardized manner;
通过响应读取请求,将属性存储区和方法存储区中存储的数据属性和处理方法加载到通信总线的各个主节点中。By responding to the read request, the data attributes and processing methods stored in the attribute storage area and the method storage area are loaded into each master node of the communication bus.
在本公开一实施例中,当将从节点替换为主节点时,所述方法中S1包括:In an embodiment of the present disclosure, when the slave node is replaced as the master node, S1 in the method includes:
直接对主节点的功能分区方式进行设置;Directly set the function partition mode of the master node;
S3中包括:S3 includes:
基于封装数据结合功能分区方式将数据感知执行部件对应到主节点相应的功能方法区中。Based on the encapsulated data combined with the function partition method, the data-aware execution component is mapped to the corresponding function method area of the main node.
(三)有益效果(3) Beneficial effects
本公开的有益效果是:基于通信总线的动态接入能力,借助以太网与通信总线互操作转换,可以从三个不同层次进行扩展。信息物理系统能够支持不同类型CPS节点的动态组织与融合,解决CPS节点异构融合及动态接入问题,提高CPS的开放性与系统扩展能力,有利于CPS系统的标准化升级维护。The beneficial effect of the present disclosure is that based on the dynamic access capability of the communication bus, it can be expanded from three different levels by means of the interoperability conversion between the Ethernet and the communication bus. Cyber-physical systems can support the dynamic organization and integration of different types of CPS nodes, solve the problems of heterogeneous integration and dynamic access of CPS nodes, improve the openness of CPS and system expansion capabilities, and facilitate the standardized upgrade and maintenance of CPS systems.
附图说明Description of the drawings
图1为本公开一个实施例提供的一种可多层次扩展的信息物理系统的结构图;FIG. 1 is a structural diagram of a cyber-physical system that can be expanded at multiple levels according to an embodiment of the present disclosure;
图2为本公开一个实施例提供的一种信息物理系统的传感器汇聚接 入方法的流程图;Fig. 2 is a flowchart of a method for converging and accessing sensors of a cyber-physical system according to an embodiment of the present disclosure;
图3为本公开另一实施例中CPS节点传感器汇聚接入示意图。Fig. 3 is a schematic diagram of sensor aggregation and access of CPS nodes in another embodiment of the present disclosure.
具体实施方式detailed description
为了更好的解释本公开,以便于理解,下面结合附图,通过具体实施方式,对本公开作详细描述。In order to better explain the present disclosure and facilitate understanding, the present disclosure will be described in detail below through specific embodiments in conjunction with the accompanying drawings.
本文所使用的所有的技术和科学术语与属于本公开的技术领域的技术人员通常理解的含义相同。本文中在本公开的说明书中所使用的术语只是为了描述具体的实施例的目的,不是旨在于限制本公开。本文所使用的术语“和/或”包括一个或多个相关的所列项目的任意的和所有的组合。All technical and scientific terms used herein have the same meanings as commonly understood by those skilled in the technical field of the present disclosure. The terminology used in the specification of the present disclosure herein is only for the purpose of describing specific embodiments, and is not intended to limit the present disclosure. The term "and/or" as used herein includes any and all combinations of one or more related listed items.
基于上述,本公开提供一种可从多个层次进行系统扩展的信息物理系统及其扩展方法,可以为信息物理系统的多源数据扩展、大量传感器动态接入、异构系统信息融合等应用提供支持。Based on the above, the present disclosure provides a cyber-physical system that can be expanded from multiple levels and an expansion method thereof, which can provide applications such as multi-source data expansion of cyber-physical systems, dynamic access of a large number of sensors, and information fusion of heterogeneous systems. support.
图1为本公开一个实施例提供的一种可多层次扩展的信息物理系统的结构图,如图1所示,该信息物理系统100包括:网络协议转换器110、通信总线120、主节点130、从节点140和多个异构的数据感知执行部件150。FIG. 1 is a structural diagram of a cyber-physical system that can be expanded at multiple levels according to an embodiment of the present disclosure. As shown in FIG. 1, the cyber-physical system 100 includes: a network protocol converter 110, a communication bus 120, and a master node 130 , Slave node 140 and multiple heterogeneous data-aware execution components 150.
其中网络协议转换器110用于通过以太网与其他信息物理系统或外部设备连接,完成以太访问和总线访问的双向转换;通信总线120用于连接网络协议转换器110、至少一个CPS主节点130和至少一个CPS从节点140;多个异构的数据感知执行部件150用于按照主节点或从节点的功能分区方式与相应的从节点连接,数据感知执行部件150包括传感器和/或执行器,即传感/执行器。其中CPS主节点130可通过通信总线向其他主节点或从节点发起访问,CPS从节点140通过功能分区方式对相应的传感器和/或执行器进行连接和访问。The network protocol converter 110 is used to connect with other information physical systems or external devices via Ethernet to complete the two-way conversion of Ethernet access and bus access; the communication bus 120 is used to connect the network protocol converter 110, at least one CPS master node 130 and At least one CPS slave node 140; multiple heterogeneous data sensing execution components 150 are used to connect to corresponding slave nodes according to the functional partitioning of the master node or slave node, and the data sensing execution component 150 includes sensors and/or actuators, namely Sensor/actuator. The CPS master node 130 can initiate access to other master nodes or slave nodes through the communication bus, and the CPS slave node 140 connects and accesses corresponding sensors and/or actuators in a function partition manner.
该信息物理系统,通过以太网与UM-BUS总线双向转换,通过以太网进行系统层次扩展,与其它信息物理系统组成更大系统,并能够相互 进行内部资源访问;通过UM-BUS总线上增加新的节点进行系统内部功能扩展;通过CPS节点功能分区实现多种异构传感/执行器的汇聚接入扩展。本公开的可多层次扩展的信息物理系统,可以从多个层次实现系统功能与接口的灵活扩展与规范化接入,增加系统的开放性,提高异构传感/执行器的共融耦合能力。This cyber-physical system uses two-way conversion between Ethernet and UM-BUS bus, and expands the system level through Ethernet, forms a larger system with other cyber-physical systems, and can access internal resources with each other; add new ones through UM-BUS bus The nodes in the system expand the internal functions of the system; through the function partition of the CPS node, the convergence access expansion of a variety of heterogeneous sensors/actuators is realized. The multi-level expandable cyber-physical system of the present disclosure can realize flexible extension and standardized access of system functions and interfaces from multiple levels, increase the openness of the system, and improve the cohesive coupling capability of heterogeneous sensors/actuators.
在本公开一个实施例中,网络协议转换器110包括总线控制器和以太网控制器,总线控制器用于对信息物理系统内的主节点与其他主节点以及主节点与从节点利用通信总线的通信和访问进行控制;以太网控制器,用于对信息物理系统内的主节点与其他信息物理系统或外部设备的双向通信和访问进行控制。In an embodiment of the present disclosure, the network protocol converter 110 includes a bus controller and an Ethernet controller. The bus controller is used to communicate between the master node and other master nodes and the master node and slave nodes in the cyber-physical system using a communication bus. And access control; Ethernet controller is used to control the two-way communication and access between the master node in the cyber-physical system and other cyber-physical systems or external devices.
如图1所示,包括CPS系统1和CPS系统n,由于信息物理系统通过其中的网络协议转换器100连接到外部的以太网上,实现系统级的扩展;所述信息物理系统可以通过以太网与其它信息物理系统进行信息交换;其它信息物理系统也可以通过以太网,经网络协议转换器进行协议转换后,对所述信息物理系统内部通信总线上连接的CPS主节点和CPS从节点进行访问。As shown in Figure 1, it includes CPS system 1 and CPS system n. Since the cyber-physical system is connected to the external Ethernet through the network protocol converter 100 therein, system-level expansion is realized; the cyber-physical system can be connected to the external Ethernet through the Ethernet Other cyber-physical systems perform information exchange; other cyber-physical systems can also access the CPS master node and CPS slave node connected on the internal communication bus of the cyber-physical system after protocol conversion via a network protocol converter via Ethernet.
在本公开一个实施例中,通信总线120用于连接CPS主节点、CPS从节点和网络协议转换器,提供数据访问通道。所述通信总线可以为UM-BUS总线,在本公开其他实施例中还可以根据应用的需要采用其他类型的通信总线。如图1所示,本实施例中以UM-BUS总线作为CPS内部的通信总线。动态可重构高速串行总线(UM-BUS)是针对系统小型化与嵌入式一体化设计提出的一种能够将冗余容错与高速通信有机统一,具备远程扩展能力的高速串行总线。CPS系统1中的各个CPS主节点可以通过UM-BUS总线访问网络协议转换器中的以太网控制器,与其它设备进行以太网通信。同时,CPS系统1外部的其它设备也可以通过网络协议转换器,使用特定以太网报文实现对CPS系统1中UM-BUS总线上连接的CPS主节点和CPS从节点的访问,对CPS主节点或CPS从节点 中的存储器、传感器等进行读写访问。网络协议转换器能够把收到的特定的以太网报文,转换为对UM-BUS总线的访问请求;然后根据该访问请求,向UM-BUS总线产生访问请求;之后接收UM-BUS总线节点的应答信息;再根据UM-BUS总线节点的应答信息构造应答以太网报文,发送给以太网上的访问请求者。In an embodiment of the present disclosure, the communication bus 120 is used to connect the CPS master node, the CPS slave node and the network protocol converter to provide a data access channel. The communication bus may be a UM-BUS bus. In other embodiments of the present disclosure, other types of communication buses may also be used according to the needs of the application. As shown in Fig. 1, in this embodiment, the UM-BUS bus is used as the internal communication bus of the CPS. Dynamically reconfigurable high-speed serial bus (UM-BUS) is a high-speed serial bus that can organically unify redundant fault tolerance and high-speed communication, and has remote expansion capability, which is proposed for system miniaturization and embedded integrated design. Each CPS master node in the CPS system 1 can access the Ethernet controller in the network protocol converter through the UM-BUS bus, and perform Ethernet communication with other devices. At the same time, other devices outside the CPS system 1 can also use specific Ethernet messages to access the CPS master node and CPS slave node connected on the UM-BUS bus in the CPS system 1 through the network protocol converter, and to the CPS master node Or CPS reads and writes from the memory, sensors, etc. in the node. The network protocol converter can convert the received specific Ethernet message into an access request to the UM-BUS bus; then according to the access request, it generates an access request to the UM-BUS bus; and then receives the UM-BUS bus node’s access request. Response information: According to the response information of the UM-BUS bus node, the response Ethernet message is constructed and sent to the access requester on the Ethernet.
在本公开一实施例中,信息物理系统中可以包括1~7个主节点和1~28个从节点,主节点和从节点的数量总和小于或等于29。UM-BUS总线支持多节点直接互连,最多可使用32条通道(lane1~lane32)并发传输,通信速率可达6.4Gbps。在通信过程中,如果某些通道出现故障,总线控制器可实时地监测出来,将数据动态分配到剩余有效通道上进行传输,实现动态重构,从而对通信故障进行动态容错。CPS主节点是信息物理系统中具有计算能力的节点,是UM-BUS总线上的主控设备,能够主动发起对UM-BUS总线上其它节点设备的访问;CPS从节点可以作为UM-BUS总线的从设备,具有0-4个功能分区,每个功能分区都可以存储与传感/执行器相关的功能方法及属性信息,并实现对传感器/执行器的连接与访问。In an embodiment of the present disclosure, the cyber-physical system may include 1-7 master nodes and 1-28 slave nodes, and the total number of master nodes and slave nodes is less than or equal to 29. The UM-BUS bus supports direct interconnection of multiple nodes, up to 32 channels (lane1~lane32) can be used for concurrent transmission, and the communication rate can reach 6.4Gbps. In the communication process, if some channels fail, the bus controller can monitor it in real time, dynamically allocate the data to the remaining valid channels for transmission, realize dynamic reconstruction, and dynamically fault-tolerate communication failures. The CPS master node is a node with computing capabilities in the cyber-physical system. It is the master control device on the UM-BUS bus. It can actively initiate access to other node devices on the UM-BUS bus; the CPS slave node can be used as the UM-BUS bus The slave device has 0-4 functional partitions, and each functional partition can store the function method and attribute information related to the sensor/actuator, and realize the connection and access to the sensor/actuator.
在本公开一实施例中,每个CPS从节点都连接数据感知执行部件150,数据感知执行部件泛指信息物理系统的数据感知部件及驱动执行部件是CPS系统中进行数据感知与功能执行的基础部件,包括传感器和/或执行器,通过CPS从节点连接到信息物理系统。这些传感/执行器又按功能与数据类型进行分类,根据系统的功能需要将其功能方法、数据属性封装在CPS从节点的不同功能分区中。In an embodiment of the present disclosure, each CPS slave node is connected to a data perception execution component 150. The data perception execution component generally refers to the data perception component and drive execution component of the cyber-physical system, which is the basis for data perception and function execution in the CPS system. Components, including sensors and/or actuators, are connected to the cyber-physical system from nodes through CPS. These sensors/actuators are classified according to functions and data types, and their function methods and data attributes are encapsulated in different functional partitions of the CPS slave node according to the functional needs of the system.
UM-BUS总线采用主从命令应答的通信模式,节点间通过数据包的形式进行信息交互。连接在总线上的节点按功能不同可分为主节点、从节点和监控节点,总线通信过程总是由主节点发起,从节点响应来完成的,监视节点用于监视总线上的通信过程。UM-BUS总线具有时间同步功能,可保证总线各个节点之间时间系统的精确同步。UM-BUS总线支 持单主(Single Master)通信与多主(Multi Master)通信两种通信模式。在多主模式下,总线上可以存在多个主节点,多个主节点间需要通过可变时隙轮转的仲裁方式来竞争总线使用权。UM-BUS总线通信过程只能由主节点发起,主节点可以对其它节点内部功能单元按地址读写访问,可支持IO空间、存储空间和属性空间三种地址空间,其中属性空间大小1KB,IO空间大小64KB,存储空间256TB。IO空间与属性空间只能按字进行读写访问,且不可缓冲,存储空间则只能按页进行读写访问,且需要在本地进行缓冲。可为CPS中传感器与执行器的即插即用、数据方法属性封装、高速可靠连接、异构实时接入等提供技术支撑。UM-BUS总线还支持中断处理,总线上的任何节点都可以通过公共中断信号线向任何一个或多个总线节点进行中断请求,其中总线节点为连接到通信总线上的主节点和从节点。The UM-BUS bus adopts a master-slave command response communication mode, and the nodes exchange information in the form of data packets. The nodes connected to the bus can be divided into master nodes, slave nodes and monitoring nodes according to their functions. The bus communication process is always initiated by the master node and completed by the response of the slave nodes. The monitoring node is used to monitor the communication process on the bus. The UM-BUS bus has a time synchronization function, which can ensure the precise synchronization of the time system between each node of the bus. The UM-BUS bus supports two communication modes: single-master communication and multi-master communication. In the multi-master mode, there can be multiple master nodes on the bus, and multiple master nodes need to compete for the right to use the bus through the arbitration method of variable time slot rotation. The UM-BUS bus communication process can only be initiated by the master node. The master node can read and write access to the internal functional units of other nodes according to the address. It can support three address spaces: IO space, storage space and attribute space. The attribute space is 1KB, IO The space size is 64KB, and the storage space is 256TB. The IO space and the attribute space can only be read and written by word and cannot be buffered. The storage space can only be read and written by page and needs to be buffered locally. It can provide technical support for plug-and-play of sensors and actuators in CPS, data method attribute encapsulation, high-speed and reliable connection, and heterogeneous real-time access. The UM-BUS bus also supports interrupt processing. Any node on the bus can make an interrupt request to any one or more bus nodes through a common interrupt signal line, where the bus nodes are the master and slave nodes connected to the communication bus.
总线节点之间进行数据通信时,在发送端处理层从上层接口获得数据并存储到数据缓冲区,在传输子层根据MAC子层提供的有效线路信息将数据包动态均衡地分配到有效通道上,在物理层将分组数据包装后,经8b/10b编码成比特流发送到链路上。在接收端物理层将收到的数据进行时钟同步、8b/10b解码、串并转换后,将通道数据解包,然后在传输子层根据MAC子层提供的有效线路信息将数据进行动态组织并存储在数据缓冲区,最后由处理层交给应用层处理。During data communication between bus nodes, the processing layer at the sending end obtains data from the upper interface and stores it in the data buffer. At the transmission sublayer, the data packets are dynamically and evenly distributed to the effective channel according to the effective line information provided by the MAC sublayer. , After packaging the packet data at the physical layer, it is encoded into a bit stream by 8b/10b and sent to the link. After clock synchronization, 8b/10b decoding, serial-to-parallel conversion of the received data at the physical layer of the receiving end, the channel data is unpacked, and then the data is dynamically organized and combined in the transmission sublayer according to the effective line information provided by the MAC sublayer. Stored in the data buffer, and finally handed over to the application layer by the processing layer for processing.
在多主通信模式下,主节点必须在获得总线使用权之后才能从物理层向总线发送数据,启动一次总线通信过程。UM-BUS总线具有时间同步功能,工作时,总线上所有节点处于时间同步状态。另外,UM-BUS总线在所有节点之间设置专门的共享中断信号线,总线所有节点均可以采用串行编码方式,向共享中断信号线发送中断请求信号,向总线主节点提起中断请求。所有节点也可以从共享中断线上接收信号,获取中断线上传输的信息。In the multi-master communication mode, the master node can only send data from the physical layer to the bus after obtaining the right to use the bus, and start a bus communication process. The UM-BUS bus has a time synchronization function. When working, all nodes on the bus are in a time synchronization state. In addition, the UM-BUS bus sets up a dedicated shared interrupt signal line between all nodes. All nodes on the bus can adopt a serial encoding method to send an interrupt request signal to the shared interrupt signal line and raise an interrupt request to the bus master node. All nodes can also receive signals from the shared interrupt line to obtain the information transmitted on the interrupt line.
UM-BUS总线节点可以将从节点上连接的传感器、执行器的数据属 性及处理方法代码等存储在总线节点的属性空间与存储空间,在总线节点进入系统或系统复位时,节点上存储的属性与方法会根据需要动态加载到总线上的各个主节点中,供主节点上的应用任务使用。为了在CPS系统中实现对UM-BUS总线节点设备的规范化操作,满足异构融合及动态接入的需求,可以利用UM-BUS总线的属性空间实现一种软件定义的虚拟化设备,通过属性空间定义的标准化接口、方法实现对异构设备的一致化操作。UM-BUS总线节点可以使用属性空间对节点的设备类型、功能分类、功能组织、功能加载要求、传感器/执行器连接等情况进行定义。The UM-BUS bus node can store the data attributes and processing method codes of the sensors and actuators connected to the node in the attribute space and storage space of the bus node. When the bus node enters the system or the system is reset, the attributes stored on the node The method and method will be dynamically loaded into each master node on the bus as needed for application tasks on the master node. In order to realize the standardized operation of the UM-BUS bus node equipment in the CPS system and meet the needs of heterogeneous integration and dynamic access, the attribute space of the UM-BUS bus can be used to realize a software-defined virtual device. Through the attribute space The defined standardized interfaces and methods realize the consistent operation of heterogeneous equipment. UM-BUS bus nodes can use the attribute space to define the device type, function classification, function organization, function loading requirements, sensor/actuator connection and other conditions of the node.
在本公开一实施例中,总线节点的功能分区方式包括属性存储区和方法存储区,所述属性存储区包括一个节点描述区和多个功能属性定义区,所述方法存储区包括一个全局方法区和多个功能方法区,用于存储全局处理方法代码和功能处理方法代码,功能属性定义区和功能方法区的数量最多为4个。In an embodiment of the present disclosure, the functional partitioning method of the bus node includes an attribute storage area and a method storage area. The attribute storage area includes a node description area and multiple function attribute definition areas, and the method storage area includes a global method. Areas and multiple functional method areas are used to store global processing method codes and functional processing method codes. The number of functional attribute definition areas and functional method areas is up to four.
节点描述区包括节点标识、全局方法信息和功能属性定义描述信息三部分,节点标识用于对节点设备的节点号、节点类型、节点名称、生产信息等进行描述与定义,全局方法信息是节点全局功能方法代码在存储空间的存储位置信息,功能属性定义描述信息对节点设备的中断控制、功能类型、功能方法区数量、存储空间映射需求等进行描述与定义。The node description area includes three parts: node identification, global method information, and functional attribute definition description information. The node identification is used to describe and define the node number, node type, node name, production information, etc. of the node device. The global method information is the node global The storage location information of the function method code in the storage space, and the function attribute definition description information describes and defines the interrupt control of the node device, the function type, the number of function method areas, and the storage space mapping requirements.
功能属性定义区包括功能标识、功能处理方法信息和功能数据信息三部分,功能标识用于存储功能代码、功能名称、功能操作基本属性等信息,功能处理方法信息是功能包含的处理方法代码在存储空间的存储位置信息,功能数据信息则是功能模块中可以由应用任务直接或间接进行数据访问的属性空间与IO空间地址信息。The function attribute definition area includes three parts: function identifier, function processing method information and function data information. The function identifier is used to store the function code, function name, basic attribute of function operation and other information. The function processing method information is the processing method code included in the function. The storage location information of the space, and the functional data information are the address information of the attribute space and the IO space in the functional module that can be directly or indirectly accessed by the application task.
全局方法区与4个功能方法区的存储区域相互独立,无论是全局方法区还是功能方法区中的每个方法区包括方法描述区、方法映射区和方法实体区。方法描述区存储了方法区名称、版本、方法数量等基本信息; 方法映射区为每一个方法建立一个包括方法名称、参数、代码存储位置等信息的索引项;方法实体区是方法区所有功能方法的处理代码与数据的实际存储区域。The storage areas of the global method area and the 4 functional method areas are independent of each other. Whether it is the global method area or the functional method area, each method area includes a method description area, a method mapping area, and a method entity area. The method description area stores basic information such as method area name, version, method quantity, etc.; method mapping area creates an index item for each method including method name, parameter, code storage location, etc.; method entity area is all functional methods of the method area The actual storage area of the processing code and data.
对于上述信息物理系统,当一个UM-BUS总线主节点复位后,该主节点通过读取总线上其它所有节点的属性空间,根据各个节点属性空间的节点描述区与功能属性定义区的信息,将各个节点的全局方法代码与功能方法代码及数据信息加载到主节点的内存中,并通过一个统一的规范,供系统中的应用任务进行访问调用。当一个UM-BUS总线节点接入到总线系统中(或复位后),它会主动请求总线上的所有主节点来读取该新接入节点的属性空间,将节点的全局方法与功能方法代码及数据信息加载到所有主节点的内存中,供系统使用。For the above cyber-physical system, when a UM-BUS bus master node is reset, the master node reads the attribute space of all other nodes on the bus, and according to the information in the node description area and function attribute definition area of each node’s attribute space, The global method code and function method code and data information of each node are loaded into the memory of the main node, and through a unified specification, for application tasks in the system to access and call. When a UM-BUS bus node is connected to the bus system (or after reset), it will actively request all the master nodes on the bus to read the attribute space of the new access node, and change the node's global method and function method code And data information is loaded into the memory of all master nodes for system use.
基于上述UM-BUS总线及系统工作原理,本公开的可多层次扩展的信息物理系统的一种具体实施方式如下:Based on the above-mentioned UM-BUS bus and the working principle of the system, a specific implementation of the cyber-physical system that can be expanded at multiple levels in the present disclosure is as follows:
对于图1所示的CPS系统1,可以从三个不同的层次进行扩展:For the CPS system 1 shown in Figure 1, it can be extended from three different levels:
(1)CPS系统级扩展(1) CPS system-level expansion
如图1所示,将CPS系统1通过其中的网络协议转换器,连接到外部的以太网上,通过以太网与其它的CPS系统连接在一起,实现系统级的扩展。CPS系统1可以通过以太网与其它信息物理系统进行信息交换,将信息采用以太网报文发送给CPS系统n,也可以接收CPS系统n送来的以太网报文信息。CPS系统1中的各个CPS主节点需要向外发送以太网报文,或需要从以太网上接收以太网报文时,只需要通过UM-BUS总线按照正常的访问协议,对网络协议转换器中的以太网控制器进行访问,通过该以太网控制器进行以太网报文的发送与接收。As shown in Figure 1, the CPS system 1 is connected to an external Ethernet through the network protocol converter therein, and connected with other CPS systems through the Ethernet to achieve system-level expansion. The CPS system 1 can exchange information with other cyber-physical systems via Ethernet, send the information to the CPS system n in an Ethernet message, and can also receive the Ethernet message information sent by the CPS system n. When each CPS master node in CPS system 1 needs to send out Ethernet messages, or need to receive Ethernet messages from the The Ethernet controller performs access, and the Ethernet message is sent and received through the Ethernet controller.
以太网上的其它CPS系统,如CPS系统n,可以通过以太网向CPS系统1中的网络协议转换器发送特定的以太网报文,经网络协议转换器进行协议转换后,对CPS系统1内部的CPS主节点和CPS从节点中的存储器、传感/执行器等进行读写访问。Other CPS systems on the Ethernet, such as CPS system n, can send specific Ethernet messages to the network protocol converter in CPS system 1 via Ethernet. The CPS master node and CPS slave node perform read and write access to memory, sensors/actuators, etc.
(2)CPS系统功能模块扩展(2) CPS system function module expansion
图1所示的CPS系统1,可以通过在UM-BUS总线上,连接更多的CPS主节点或CPS从节点,实现系统内部的功能动态扩展。当需要扩展CPS主节点n时,将其连接到UM-BUS总线上。当CPS主节点完成复位初始化后,通过UM-BUS总线对CPS系统1中已有的所有节点的功能方法及属性进行动态加载,之后使用加载的功能方法对那些已有的节点进行管理,并能够对已有节点及其所连接的传感/执行器的数据进行读写访问。同时,CPS系统1中已有的其它CPS主节点,也会根据UM-BUS总线节点动态加载协议,将新加入的CPS主节点n中的功能方法及属性进行动态加载,之后使用加载的功能方法对CPS主节点n及其所连接的传感/执行器进行管理,并能够对CPS主节点n及其所连接的传感/执行器的数据进行读写访问。The CPS system 1 shown in Fig. 1 can realize dynamic expansion of the internal functions of the system by connecting more CPS master nodes or CPS slave nodes on the UM-BUS bus. When the CPS master node n needs to be expanded, connect it to the UM-BUS bus. After the CPS master node completes the reset initialization, it dynamically loads the function methods and attributes of all the nodes in the CPS system 1 through the UM-BUS bus, and then uses the load function method to manage those existing nodes, and can Read and write access to the data of existing nodes and connected sensors/actuators. At the same time, other existing CPS master nodes in the CPS system 1 will also dynamically load the function methods and attributes of the newly added CPS master node n according to the UM-BUS bus node dynamic loading protocol, and then use the loaded function method It manages the CPS master node n and its connected sensors/actuators, and can read and write access to the data of the CPS master node n and its connected sensors/actuators.
当需要扩展CPS从节点n时,将其连接到UM-BUS总线上。当从节点n完成复位初始化后,CPS系统1中已有的各个CPS主节点,会根据UM-BUS总线节点动态加载协议,将新加入的CPS从节点n中的功能方法及属性进行动态加载,之后使用加载的功能方法对CPS从节点n及其所连接的传感/执行器进行管理,并能够对CPS从节点n及其所连接的传感/执行器的数据进行读写访问。When the CPS slave node n needs to be expanded, connect it to the UM-BUS bus. After the slave node n completes the reset initialization, the existing CPS master nodes in the CPS system 1 will dynamically load the function methods and attributes of the newly added CPS slave node n according to the UM-BUS bus node dynamic loading protocol. Then use the loading function method to manage the CPS slave node n and its connected sensors/actuators, and can read and write access to the data of the CPS slave node n and its connected sensors/actuators.
(3)传感/执行器扩展(3) Sensor/actuator extension
图1所示的CPS系统1可以通过在各个CPS从节点上连接更多的传感/执行器,进行数据采集与控制功能的扩展。一个CPS从节点中可以有0-4个功能分区。每个功能分区均可以接入多种不同的传感/执行器,并为这些传感/执行器设置相应的功能与数据处理方法,可以对要接入的传感/执行器进行分类分组,接入CPS从节点不同的功能分区,利用CPS从节点的功能分区与动态加载特性,支持对大量异构传感/执行器的汇聚接入。The CPS system 1 shown in Fig. 1 can expand data collection and control functions by connecting more sensors/actuators to each CPS slave node. A CPS slave node can have 0-4 functional partitions. Each functional zone can be connected to a variety of different sensors/actuators, and corresponding functions and data processing methods are set for these sensors/actuators. The sensors/actuators to be connected can be classified and grouped. Access to different functional partitions of the CPS slave node, and use the functional partition and dynamic loading characteristics of the CPS slave node to support the convergent access to a large number of heterogeneous sensors/actuators.
基于上述实施例一提供的可多层次扩展的信息物理系统,基于UM-BUS等通信总线的动态接入能力,借助以太网与通信总线互操作转 换,可以从三个不同层次上进行扩展:1)可以通过以太网实现多个信息物理系统之间的高层次扩展;2)可以通过通信总线在信息物理系统内部进行功能扩展;3)可以通过CPS节点功能分区进行多种异构传感/执行器的汇聚接入扩展。这使得基于本公开的信息物理系统能够支持不同类型CPS节点的动态组织与融合,解决CPS节点异构融合及动态接入问题,提高CPS的开放性与系统扩展能力,有利于CPS系统的标准化升级维护。Based on the multi-level expandable cyber-physical system provided by the first embodiment, based on the dynamic access capability of communication buses such as UM-BUS, and with the help of the interoperability conversion between Ethernet and communication buses, it can be expanded from three different levels: 1 ) High-level expansion between multiple cyber-physical systems can be realized through Ethernet; 2) Functional expansion can be carried out within cyber-physical systems through the communication bus; 3) Various heterogeneous sensing/executions can be performed through CPS node functional partitioning Convergence access extension of the device. This enables the cyber-physical system based on the present disclosure to support the dynamic organization and integration of different types of CPS nodes, solve the problems of heterogeneous integration and dynamic access of CPS nodes, improve the openness and system expansion capabilities of CPS, and facilitate the standardization and upgrade of CPS systems maintain.
图2为本公开一个实施例提供的一种信息物理系统的传感器汇聚接入方法的流程图,如图2所示,包括以下步骤:Fig. 2 is a flow chart of a method for sensor aggregation and access of a cyber-physical system provided by an embodiment of the present disclosure. As shown in Fig. 2, the method includes the following steps:
如图2所示,在步骤S1中,从节点接收主节点的总线访问请求,根据总线访问请求设置功能分区方式,从节点的功能分区方式包括属性存储区和方法存储区,所述属性存储区包括一个节点描述区和多个功能属性定义区,所述方法存储区包括一个全局方法区和多个功能方法区,其中所述功能方法区用于存储功能处理方法的代码;As shown in Figure 2, in step S1, the slave node receives the bus access request of the master node, and sets the function partition mode according to the bus access request. The function partition mode of the slave node includes an attribute storage area and a method storage area. The attribute storage area Including a node description area and multiple functional attribute definition areas, the method storage area includes a global method area and multiple functional method areas, wherein the functional method area is used to store the code of the functional processing method;
如图2所示,在步骤S2中,将多个异构数据感知执行部件按照应用需求进行分类分组并进行封装得到封装数据,其中数据感知执行部件包括传感器和/或执行器;As shown in Figure 2, in step S2, multiple heterogeneous data perception execution components are classified and grouped according to application requirements and encapsulated to obtain encapsulated data, where the data perception execution components include sensors and/or actuators;
如图2所示,在步骤S3中,基于封装数据结合功能分区方式将数据感知执行部件对应到从节点相应的功能方法区中;As shown in Figure 2, in step S3, the data-aware execution component is mapped to the corresponding functional method area of the slave node based on the encapsulated data combined with the function partition mode;
如图2所示,在步骤S4中,通过全局方法区对多个异构数据感知执行部件进行初始化操作,并在系统运行器件对数据感知执行部件进行状态跟踪与故障监控得到状态参数和故障状态参数。As shown in Figure 2, in step S4, the multiple heterogeneous data sensing execution components are initialized through the global method area, and the data sensing execution components are tracked and fault monitored in the system operation device to obtain the status parameters and fault status. parameter.
基于上述接入方法,对于信息物理系统的CPS从节点,通过功能方法区的功能代理实现对传感器异构特性进行封装屏蔽,对功能相同或数据相同的传感器,向系统提供统一的访问代理;通过全局方法区的系统管理代理,结合功能代理实现对传感器状态跟踪与故障监控,实现多种异构传感器的汇聚接入扩展。本公开的信息物理系统的传感器汇聚接入方法,能够屏蔽结构差异,可以对大量传感器进行汇聚接入与管理,为 信息物理系统的多源数据扩展、大量传感器动态接入、异构系统信息融合等应用提供支持。Based on the above-mentioned access method, for the CPS slave node of the cyber-physical system, the functional agent in the functional method area realizes the encapsulation and shielding of the heterogeneous characteristics of the sensor, and provides a unified access agent to the system for sensors with the same function or the same data; The system management agent in the global method area, combined with functional agents, realizes sensor status tracking and fault monitoring, and realizes the convergence and access expansion of multiple heterogeneous sensors. The sensor convergence access method of the cyber-physical system of the present disclosure can shield structural differences, can converge access and manage a large number of sensors, and expand the multi-source data of the cyber-physical system, the dynamic access of a large number of sensors, and the information fusion of heterogeneous systems. And other applications to provide support.
以下对图2所示实施例的各个步骤的具体实现进行详细阐述:The specific implementation of each step of the embodiment shown in FIG. 2 is described in detail below:
在步骤S1中,从节点由于是受控方,需要按照接收的总线访问请求进行相应处理,当将步骤S1中的从节点替换为主节点时,则是直接对主节点的功能分区方式进行设置。相应的,步骤S3中是基于封装数据结合功能分区方式将数据感知执行部件对应到主节点相应的功能方法区中。In step S1, since the slave node is the controlled party, it needs to perform corresponding processing according to the received bus access request. When the slave node in step S1 is replaced as the master node, the function partition mode of the master node is directly set . Correspondingly, in step S3, the data sensing execution component is mapped to the corresponding functional method area of the master node based on the encapsulated data combined with the function partition method.
在本公开一实施例中,所述方法还包括:In an embodiment of the present disclosure, the method further includes:
当有新加入的数据感知执行部件时,按照所述功能方法区中功能处理方法的代码结合应用需求对数据感知执行部件进行分类分组,按照分类分组结果将数据感知执行部件对应到从节点相应的功能方法区中。When there is a newly added data-aware execution component, the data-aware execution component is classified and grouped according to the code of the functional processing method in the functional method area combined with application requirements, and the data-aware execution component is corresponding to the corresponding slave node according to the classification grouping result Function method area.
在本公开一实施例中,所述方法还包括:In an embodiment of the present disclosure, the method further includes:
通信总线将与多个异构的、与从节点连接的数据感知执行部件的数据属性和处理方法分别存储在属性存储区和方法存储区。The communication bus stores the data attributes and processing methods of multiple heterogeneous data-aware execution components connected to slave nodes in the attribute storage area and the method storage area, respectively.
在本公开一实施例中,当其中一个主节点复位后,还包括:In an embodiment of the present disclosure, after one of the master nodes is reset, the method further includes:
通过读取通信总线上其他主节点和所有从节点的属性存储区,获取相应从节点的属性存储区的信息;Obtain the information of the attribute storage area of the corresponding slave node by reading the attribute storage area of other master nodes and all the slave nodes on the communication bus;
将通信总线上的所有从节点的全局方法区、功能方法区和属性存储区的信息进行统一的规范处理并存储;The information in the global method area, function method area and attribute storage area of all slave nodes on the communication bus is processed and stored in a unified and standardized manner;
通过响应读取请求,将属性存储区和方法存储区中存储的数据属性和处理方法加载到通信总线的各个主节点中。By responding to the read request, the data attributes and processing methods stored in the attribute storage area and the method storage area are loaded into each master node of the communication bus.
对于一个CPS从节点,如果要对传感/执行器进行汇聚接入时,其功能分区数量应当是1-4。此时,CPS从节点可以通过其全局方法区与功能方法区,以传感器为例,按照以下方法对传感器进行汇聚接入:For a CPS slave node, if the sensor/actuator is to be converged and accessed, the number of functional partitions should be 1-4. At this time, the CPS slave node can use its global method area and functional method area. Taking the sensor as an example, the sensor can be aggregated and connected according to the following method:
(1)把CPS从节点连接的所有传感器,按应用需求进行分组,每一组传感器对应到一个功能方法区中;(1) All the sensors connected to the CPS slave node are grouped according to application requirements, and each group of sensors corresponds to a functional method area;
(2)在CPS从节点的功能方法区中,设置需要的功能处理方法与数 据访问方法,用于对每一个传感器进行数据采集、处理、传输;这些功能处理方法与数据访问方法在系统复位后,会被信息物理系统中的所有CPS主节点动态加载到节点的内存中,由应用任务根据需要进行调用;(2) In the functional method area of the CPS slave node, set the required functional processing methods and data access methods for data collection, processing, and transmission for each sensor; these functional processing methods and data access methods will be reset after the system is reset , Will be dynamically loaded into the memory of the node by all CPS master nodes in the cyber-physical system, and called by application tasks as needed;
(3)CPS从节点的功能方法区的一组方法可以组成一个功能代理,对来自不同厂家、不同结构的传感器按功能类型或数据类型进行统一的抽象管理。图3为本公开另一实施例中CPS节点传感器汇聚接入示意图,如图3所示,通过方法封装对传感器的异构属性进行屏蔽。应用任务使用与传感器物理特性相关的数据采集、处理、传输功能时,均通过调用这些加载到CPS主节点内存中的功能代理中的标准接口进行;(3) A group of methods in the functional method area of the CPS slave node can form a functional agent to perform unified abstract management of sensors from different manufacturers and different structures according to functional types or data types. FIG. 3 is a schematic diagram of the convergent access of CPS node sensors in another embodiment of the present disclosure. As shown in FIG. 3, the heterogeneous attributes of the sensors are shielded through method encapsulation. When the application tasks use the data collection, processing, and transmission functions related to the physical characteristics of the sensor, they are all performed by calling these standard interfaces in the functional agents loaded into the memory of the CPS master node;
(4)图3中的功能代理不仅负责对传感器的功能与数据进行处理,还要完成对传感器的初始化、状态跟踪与故障监控,在功能方法区被动态加载以后,在全局方法背板的管理下,对传感器进行初始化,之后在系统运行期间,对传感器及其方法的工作状态进行持续监控,将传感器的关键参数及故障状态将由全局方法中的背板代理进行记录;(4) The functional agent in Figure 3 is not only responsible for processing the function and data of the sensor, but also for the initialization, status tracking and fault monitoring of the sensor. After the function method area is dynamically loaded, the management of the global method backplane Next, initialize the sensor, and then continuously monitor the working status of the sensor and its method during the operation of the system, and record the key parameters and fault status of the sensor by the backplane agent in the global method;
(5)在CPS从节点中,全局方法区作为各功能方法区的统一背板,提供系统与各功能方法区的接口;同时,全局方法区还实现一个系统管理代理,完成对各功能方法区代理跟踪状态及故障报告的收集汇总,并向上报告;同时,该系统管理代理还会根据需要,对传感器关键工作状态参数与故障状态进行本地记录。(5) In the CPS slave node, the global method area serves as the unified backplane of each functional method area, providing an interface between the system and each functional method area; at the same time, the global method area also implements a system management agent to complete the control of each functional method area. Agent tracking status and fault report collection and summary, and report upward; at the same time, the system management agent will also locally record the key working status parameters and fault status of the sensor as required.
基于上述接入方法,由于所述信息物理系统中的CPS主节点可以具有CPS从节点的所有功能,所有的CPS主节点都可以采用和CPS从节点相同的方法进行传感器的汇聚接入。对于CPS中使用的执行器,与传感器一样,也可以采用上述方法通过CPS从节点汇聚接入,并且执行器与传感器可以使用同一个功能方法区。Based on the above access method, since the CPS master node in the cyber-physical system can have all the functions of the CPS slave node, all CPS master nodes can use the same method as the CPS slave node to perform convergent access to sensors. For the actuator used in CPS, like the sensor, the above method can also be used to converge access from the node through the CPS, and the actuator and the sensor can use the same functional method area.
具体应用时,也可以使用CPS主节点实现上述传感/执行器的汇聚接入。这种情况下,该CPS主节点不仅会通过属性空间和存储器设置相应的功能属性区与功能方法区,提供传感/执行器的功能方法与属性的封装, 实现对所连接的传感器与执行器的管理与监控。同时,该CPS主节点还会作为一个CPS主节点动态加载本节点和其它节点上的功能方法,运行相应的系统应用,对本节点与其它节点上的传感器与执行器进行访问。In specific applications, the CPS master node can also be used to implement the convergent access of the aforementioned sensors/actuators. In this case, the CPS master node will not only set the corresponding function attribute area and function method area through the attribute space and memory, but also provide the function method and attribute encapsulation of the sensor/actuator, and realize the connection of the connected sensor and actuator. Management and monitoring. At the same time, the CPS master node will also serve as a CPS master node to dynamically load the function methods on this node and other nodes, run the corresponding system applications, and access the sensors and actuators on this node and other nodes.
本公开实现的可多层次扩展的信息物理系统,基于UM-BUS总线和以太网,为信息物理系统建立了层次化的连接结构与功能设备连接方法,使得信息物理系统能够按照一种统一的规范,从系统层、功能模块层与感知执行接口层三个层面进行灵活方便的扩展,可以大大提高系统的开放性与可扩展性,并且能够提高异构CPS节点的动态共融能力,有利于CPS系统的标准化升级维护。The multi-level expandable cyber-physical system realized by the present disclosure is based on the UM-BUS bus and Ethernet, and establishes a hierarchical connection structure and functional device connection method for the cyber-physical system, so that the cyber-physical system can follow a unified specification , Flexible and convenient expansion from the three levels of the system layer, the function module layer and the perception execution interface layer can greatly improve the openness and scalability of the system, and can improve the dynamic compatibility of heterogeneous CPS nodes, which is beneficial to CPS Standardized upgrade and maintenance of the system.
需要说明的是,在不脱离本公开精神的范围内,本公开可以具有多种变形,如:将UM-BUS总线更换为其它网络或总线、将以太网更换为其它网络或总线、将信息物理系统更换为其它系统、更改CPS节点中功能分区的数量等,均可在不同的实施中改变。这些变形也包含在本公开所要求保护的范围之内。It should be noted that, without departing from the spirit of the present disclosure, the present disclosure can have many variations, such as: replacing the UM-BUS bus with other networks or buses, replacing the Ethernet with other networks or buses, and changing the information physics Changing the system to another system, changing the number of functional partitions in the CPS node, etc., can all be changed in different implementations. These modifications are also included in the scope of protection claimed by the present disclosure.
综上所述,采用本公开实施例提供的可多层次扩展的信息物理系统的传感器汇聚接入方法,具有如下技术效果:In summary, adopting the sensor convergence access method of a cyber-physical system that can be expanded at multiple levels provided by the embodiments of the present disclosure has the following technical effects:
基于UM-BUS总线的动态接入能力,在信息物理系统中,通过CPS节点功能分区进行多种异构传感/执行器的汇聚接入,能够屏蔽异构传感/执行器的差异,按照统一规范进行管理,并且能够对传感/执行器的状态与故障进行持续跟踪与监控。使得基于本公开的信息物理系统能够支持大量异构传感/执行器的动态组织与融合,提高CPS的开放性与系统扩展能力,有利于CPS系统的标准化升级维护。Based on the dynamic access capability of the UM-BUS bus, in the cyber-physical system, the convergence access of multiple heterogeneous sensors/actuators through the functional partition of CPS nodes can shield the differences of heterogeneous sensors/actuators. Unified and standardized management, and can continuously track and monitor the status and faults of sensors/actuators. The cyber-physical system based on the present disclosure can support the dynamic organization and integration of a large number of heterogeneous sensors/actuators, improve the openness and system expansion capability of the CPS, and facilitate the standardized upgrade and maintenance of the CPS system.
应当注意,尽管在上文详细描述中提及了用于动作执行的设备的若干模块或者单元,但是这种划分并非强制性的。实际上,根据本公开的实施方式,上文描述的两个或更多模块或者单元的特征和功能可以在一个模块或者单元中具体化。反之,上文描述的一个模块或者单元的特征和功能可以进一步划分为由多个模块或者单元来具体化。It should be noted that although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above may be embodied in one module or unit. Conversely, the features and functions of a module or unit described above can be further divided into multiple modules or units to be embodied.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Those skilled in the art will easily think of other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptive changes of the present disclosure. These variations, uses, or adaptive changes follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field that are not disclosed in the present disclosure. . The description and the embodiments are to be regarded as exemplary only, and the true scope and spirit of the present disclosure are pointed out by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise structure that has been described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.

Claims (10)

  1. 一种可多层次扩展的信息物理系统,其特征在于,包括:A cyber-physical system that can be expanded at multiple levels is characterized in that it includes:
    网络协议转换器,用于通过以太网与其他信息物理系统或外部设备连接,完成以太访问和总线访问的双向转换;Network protocol converter, used to connect with other information physical systems or external devices via Ethernet to complete the two-way conversion of Ethernet access and bus access;
    通信总线,用于连接网络协议转换器、至少一个主节点和至少一个从节点;The communication bus is used to connect the network protocol converter, at least one master node and at least one slave node;
    多个异构的数据感知执行部件,用于按照主节点或从节点的功能分区方式与相应的从节点连接,数据感知执行部件包括传感器和/或执行器;Multiple heterogeneous data-sensing execution components are used to connect with corresponding slave nodes according to the functional partitioning of the master node or slave node, and the data-aware execution components include sensors and/or actuators;
    其中主节点可通过通信总线向其他主节点或从节点发起访问,从节点通过功能分区方式对相应的传感器和/或执行器进行连接和访问。Among them, the master node can initiate access to other master nodes or slave nodes through the communication bus, and the slave nodes connect and access corresponding sensors and/or actuators through functional partitioning.
  2. 如权利要求1所述的可多层次扩展的信息物理系统,其特征在于,所述通信总线为UM-BUS总线。The cyber-physical system with multi-level scalability according to claim 1, wherein the communication bus is a UM-BUS bus.
  3. 如权利要求1所述的可多层次扩展的信息物理系统,其特征在于,所述信息物理系统中包括1~7个主节点和1~28个从节点,主节点和从节点的数量总和小于或等于29。The cyber-physical system with multi-level scalability according to claim 1, wherein the cyber-physical system includes 1-7 master nodes and 1-28 slave nodes, and the total number of master nodes and slave nodes is less than Or equal to 29.
  4. 如权利要求1所述的可多层次扩展的信息物理系统,其特征在于,功能分区方式包括属性存储区和方法存储区,所述属性存储区包括一个节点描述区和多个功能属性定义区,所述方法存储区包括一个全局方法区和多个功能方法区。The cyber-physical system with multi-level scalability according to claim 1, wherein the functional partitioning mode includes an attribute storage area and a method storage area, and the attribute storage area includes a node description area and multiple functional attribute definition areas, The method storage area includes a global method area and multiple functional method areas.
  5. 如权利要求1所述的可多层次扩展的信息物理系统,其特征在于,所述网络协议转换器包括:The cyber-physical system capable of multi-level expansion according to claim 1, wherein the network protocol converter comprises:
    总线控制器,用于对信息物理系统内的主节点与其他主节点以及主节点与从节点利用通信总线的通信和访问进行控制;The bus controller is used to control the communication and access between the master node and other master nodes and the master node and slave nodes in the cyber-physical system using the communication bus;
    以太网控制器,用于对信息物理系统内的主节点与其他信息物理系统或外部设备的双向通信和访问进行控制。The Ethernet controller is used to control the two-way communication and access between the master node in the cyber-physical system and other cyber-physical systems or external devices.
  6. 一种权利要求1-5中任一项所述的信息物理系统的传感器汇聚接入方法,其特征在于,包括:A sensor convergence access method for a cyber-physical system according to any one of claims 1 to 5, characterized in that it comprises:
    S1、从节点接收主节点的总线访问请求,根据总线访问请求设置功 能分区方式,从节点的功能分区方式包括属性存储区和方法存储区,所述属性存储区包括一个节点描述区和多个功能属性定义区,所述方法存储区包括一个全局方法区和多个功能方法区,其中所述功能方法区用于存储功能处理方法的代码;S1. The slave node receives the bus access request of the master node, and sets the function partition mode according to the bus access request. The function partition mode of the slave node includes an attribute storage area and a method storage area. The attribute storage area includes a node description area and multiple functions An attribute definition area, the method storage area includes a global method area and a plurality of functional method areas, wherein the functional method area is used to store the code of the function processing method;
    S2、将多个异构数据感知执行部件按照应用需求进行分类分组并进行封装得到封装数据,其中数据感知执行部件包括传感器和/或执行器;S2. The multiple heterogeneous data perception execution components are classified and grouped according to application requirements and packaged to obtain encapsulated data, where the data perception execution components include sensors and/or actuators;
    S3、基于封装数据结合功能分区方式将数据感知执行部件对应到从节点相应的功能方法区中;S3. Corresponding data-aware execution components to the corresponding functional method area of the slave node based on the encapsulated data combined with the function partition method;
    S4、通过全局方法区对多个异构数据感知执行部件进行初始化操作,并在系统运行器件对数据感知执行部件进行状态跟踪与故障监控得到状态参数和故障状态参数。S4. Perform initialization operations on multiple heterogeneous data sensing execution components through the global method area, and perform state tracking and fault monitoring on the data sensing execution components in the system operating device to obtain state parameters and fault state parameters.
  7. 如权利要求6所述的信息物理系统的传感器汇聚接入方法,其特征在于,所述方法还包括:The sensor convergence access method of the cyber-physical system according to claim 6, wherein the method further comprises:
    当有新加入的数据感知执行部件时,按照所述功能方法区中功能处理方法的代码结合应用需求对数据感知执行部件进行分类分组,按照分类分组结果将数据感知执行部件对应到从节点相应的功能方法区中。When there is a newly added data-aware execution component, the data-aware execution component is classified and grouped according to the code of the functional processing method in the functional method area combined with application requirements, and the data-aware execution component is corresponding to the corresponding slave node according to the classification grouping result Function method area.
  8. 如权利要求6所述的信息物理系统的传感器汇聚接入方法,其特征在于,所述方法还包括:The sensor convergence access method of the cyber-physical system according to claim 6, wherein the method further comprises:
    通信总线将与多个异构的、与从节点连接的数据感知执行部件的数据属性和处理方法分别存储在属性存储区和方法存储区。The communication bus stores the data attributes and processing methods of multiple heterogeneous data-aware execution components connected to slave nodes in the attribute storage area and the method storage area, respectively.
  9. 如权利要求8所述的信息物理系统的传感器汇聚接入方法,其特征在于,当其中一个主节点复位后,还包括:The sensor convergence access method of the cyber-physical system according to claim 8, wherein when one of the master nodes is reset, the method further comprises:
    通过读取通信总线上其他主节点和所有从节点的属性存储区,获取相应从节点的属性存储区的信息;Obtain the information of the attribute storage area of the corresponding slave node by reading the attribute storage areas of other master nodes and all slave nodes on the communication bus;
    将通信总线上的所有从节点的全局方法区、功能方法区和属性存储区的信息进行统一的规范处理并存储;The information in the global method area, function method area and attribute storage area of all slave nodes on the communication bus is processed and stored in a unified and standardized manner;
    通过响应读取请求,将属性存储区和方法存储区中存储的数据属性 和处理方法加载到通信总线的各个主节点中。By responding to the read request, the data attributes and processing methods stored in the attribute storage area and method storage area are loaded into each master node of the communication bus.
  10. 如权利要求7所述的信息物理系统的传感器汇聚接入方法,其特征在于,当将从节点替换为主节点时,所述方法中S1包括:8. The sensor convergence access method of the cyber-physical system according to claim 7, wherein when the slave node is replaced as the master node, S1 in the method includes:
    直接对主节点的功能分区方式进行设置;Directly set the function partition mode of the master node;
    S3中包括:S3 includes:
    基于封装数据结合功能分区方式将数据感知执行部件对应到主节点相应的功能方法区中。Based on the encapsulated data combined with the function partition method, the data-aware execution component is mapped to the corresponding function method area of the main node.
PCT/CN2020/094982 2020-06-08 2020-06-08 Multi-level scalable cyber-physical system and sensor convergence access method WO2021248286A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/094982 WO2021248286A1 (en) 2020-06-08 2020-06-08 Multi-level scalable cyber-physical system and sensor convergence access method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/094982 WO2021248286A1 (en) 2020-06-08 2020-06-08 Multi-level scalable cyber-physical system and sensor convergence access method

Publications (1)

Publication Number Publication Date
WO2021248286A1 true WO2021248286A1 (en) 2021-12-16

Family

ID=78846978

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/094982 WO2021248286A1 (en) 2020-06-08 2020-06-08 Multi-level scalable cyber-physical system and sensor convergence access method

Country Status (1)

Country Link
WO (1) WO2021248286A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110077755A (en) * 2009-12-30 2011-07-07 중앙대학교 산학협력단 A dynamic control management system and the control and administrator for cyber-physical system
CN105930642A (en) * 2016-04-16 2016-09-07 邵阳学院 Cyber-physical system hierarchical structure model
CN108845964A (en) * 2018-06-25 2018-11-20 首都师范大学 A kind of CPS host node dynamic identifying method based on UM-BUS bus
CN110798479A (en) * 2019-11-07 2020-02-14 首都师范大学 Interoperation device and method for dynamically reconfigurable high-speed serial bus and Ethernet

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110077755A (en) * 2009-12-30 2011-07-07 중앙대학교 산학협력단 A dynamic control management system and the control and administrator for cyber-physical system
CN105930642A (en) * 2016-04-16 2016-09-07 邵阳学院 Cyber-physical system hierarchical structure model
CN108845964A (en) * 2018-06-25 2018-11-20 首都师范大学 A kind of CPS host node dynamic identifying method based on UM-BUS bus
CN110798479A (en) * 2019-11-07 2020-02-14 首都师范大学 Interoperation device and method for dynamically reconfigurable high-speed serial bus and Ethernet

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ZHANG, LIN ET AL.: "Design and Implementation of the Driver for Network Card Plugged via UM-BUS", APPLICATION OF ELECTRONIC TECHNIQUE, vol. 46, no. 5, 6 May 2020 (2020-05-06), pages 83 - 87, XP055879636 *

Similar Documents

Publication Publication Date Title
CN101963798B (en) Embedded-type rail transit station equipment information collection method
CN108845964B (en) Dynamic identification method for CPS (cyber physical system) main node based on UM-BUS (UM-BUS)
CN102955474A (en) Measurement control method and system of automobile ECU (electronic control unit)
CN102035688A (en) Design method for rapidly controlling network link access
CN102622323B (en) Data transmission management method based on switch matrix in dynamic configurable serial bus
CN101013315A (en) General numerical control system based on full digital ring bus
CN108563501B (en) Interrupt request method and device for dynamic reconfigurable high-speed serial bus
KR102607421B1 (en) Computing resource disaggregated collaboration system of interconnected an optical line and, resource disaggregated collaboration method
CN110798479B (en) Interoperation device and method for dynamically reconfigurable high-speed serial bus and Ethernet
CN111541599B (en) Cluster software system and method based on data bus
CN100464535C (en) Dynamic loading and control method for router virtual drive module
CN111585859B (en) Information physical system capable of multi-level expansion
WO2021248286A1 (en) Multi-level scalable cyber-physical system and sensor convergence access method
CN104243172B (en) The extension input/output unit and method of a kind of scattered control system
CN101778038B (en) Gigabit Ethernet-based high-speed data transmission system of embedded equipment
CN101815089B (en) Command executing method and system of Web high-end disk array controller
CN108845965B (en) Dynamic identification method for CPS slave node based on UM-BUS BUS
CN110955602B (en) Distributed embedded software testing system based on resource sharing
CN108829624B (en) CPS node attribute data and function method code storage and organization method
CN111586031B (en) Sensor convergence access method of information physical system
CN2660795Y (en) Optical fiber Ethernet exchanger and monitor modular for same
CN209105202U (en) A kind of multiplex roles protocol-intelligent converter based on Linux platform
CN200997073Y (en) Universal digital-controlled system based on digital ring bus
CN208569619U (en) The interrupt request device of dynamic reconfigurable high-speed serial bus
CN113672549B (en) Microsystem architecture based on non-shared storage multi-core processor

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20940374

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 03.04.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20940374

Country of ref document: EP

Kind code of ref document: A1