An urban CPS structure representation system and a representation method

UML represents the urban CPS structure, and the unified modeling of urban CPS is achieved by using modules such as device management modules, solving the complexity of heterogeneous systems and improving the development efficiency and resource utilization of urban CPS.

CN114693171BActive Publication Date: 2025-07-22NORTHWESTERN POLYTECHNICAL UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210469862.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-28
Publication Date
2025-07-22
Estimated Expiration
2042-04-28

AI Technical Summary

Technical Problem

The existing technology lacks an effective unified modeling mechanism and an automated identification method of logical relationships between physical devices, which leads to the inability to accurately understand, control and coordinate multiple heterogeneous systems, which brings obstacles to the construction and interaction of urban CPS.

Method used

UML represents the urban CPS structure, and through the device management module, event management module, port management module, interface management module and intelligent data processing module, the components and operating logic of urban CPS are clarified to realize unified modeling and data exchange within the city.

Benefits of technology

It realizes a clear representation of the internal and interactive characteristics of urban CPS, improves the utilization rate of urban resources and the development speed of smart city systems, and is suitable for almost all heterogeneous urban CPS.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114693171B_ABST
    Figure CN114693171B_ABST
Patent Text Reader

Abstract

The present invention discloses an urban CPS structure representation system and a representation method, belonging to the technical field of cyber-physical systems. The system includes: a device management module, an event management module, a port management module, an interface management module, an instruction management module, and an intelligent data processing module. The method uses the above modules to clarify the main components of the urban CPS, stipulates the composition structure of the urban CPS, which is beneficial to the smooth implementation of the urban CPS planning and improves the utilization rate of urban resources. The present invention represents the data structure of the urban CPS in JSON format, differentiates dynamic data from static attributes, and represents the attribute format and basic operations in an appropriate manner, solving the problems generated in the development and operation of heterogeneous urban CPS.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of cyber-physical systems, and particularly relates to an urban CPS structure representation system and a representation method. Background Art

[0002] Urban cyber-physical systems (CPS) are networked physical device interconnection systems that deeply integrate the capabilities of 3C (computing, communication, and control) on the basis of environmental perception. Through feedback loops, computing processes and physical processes are deeply integrated to achieve secure, efficient, and real-time detection and control of physical entities in smart cities. With the explosive growth of the number of Internet of Things devices and the continuous increase in the application requirements of smart cities, it has become a research hotspot in academia and industry to clarify the urban CPS structure and representation method and achieve efficient and intelligent analysis, control, and optimization coordination of smart city CPS.

[0003] Due to the lack of an effective unified modeling mechanism for physical and computing devices and an automated recognition method for the logical relationships between physical devices, current Internet of Things technologies can only implement simple "sensing, execution, transmission, and control" among a small range of devices in a single system and cannot accurately and real-time recognize, control, and coordinate multiple heterogeneous systems from a macroscopic perspective. Urban CPS emphasizes information interaction between heterogeneous subsystems. So far, there is no clear solution or framework to model the complex whole of the entire city and implement CPS construction and operation support technologies. The existing research results do not clarify its structure and constituent elements in the process of urban CPS design and implementation, which brings obstacles to the construction and interaction of large-scale urban CPS.

[0004] In terms of the intelligent construction of urban CPS, it is necessary to clarify the composition content and operation logic of urban CPS. By studying the intelligent construction technology of smart city CPS systems, an intelligent development platform for smart city CPS systems is formed to assist the rapid development of the system. Digital twin technology provides a means for supporting the expression and coordination of urban CPS, forming a management closed-loop for urban CPS. Summary of the Invention

[0005] In view of the above deficiencies in the prior art, a method for representing the structure of urban CPS provided by the present invention uses UML to represent the structure of urban CPS, defines the data structure and its operations of urban CPS, and establishes a method for representing the structure of urban CPS that conforms to the operation specifications of urban-level systems, solving the problems arising in the development and operation of heterogeneous urban CPS.

[0006] To achieve the above invention purpose, the technical solution adopted by the present invention is as follows:

[0007] A system for representing the structure of urban CPS provided by the present invention includes:

[0008] The device management module is used to initialize the urban CPS, maintain the static attributes and dynamic data in the urban CPS, and transmit event data to the event management module;

[0009] The event management module is used to receive the event data transmitted by the device management module, send the dynamic data of the urban CPS to the device management module, and drive the urban CPS to perform discrete state transitions;

[0010] The port management module is used to build asynchronous communication and collaboration among several urban CPSs;

[0011] The interface management module is used to maintain the interfaces of the urban CPS, register and cancel urban CPS services, send urban CPS action instructions to the instruction management module, and provide a call interface for urban CPS services to the outside of the urban CPS;

[0012] The instruction management module is used to receive and manage urban CPS device instructions, assemble device instruction messages, encapsulate instruction message protocols, and transmit device instruction messages to the intelligent data processing module;

[0013] The intelligent data processing module is used to receive device instruction messages and drive urban CPS devices based on the device instruction messages to obtain the internal and external operation rules of the urban CPS.

[0014] The beneficial effects of the present invention are as follows: The urban CPS structure representation system provided by the present invention, by clarifying the constituent elements of the urban CPS, standardizing the attributes and actions, uses a complete structured method to represent the internal characteristics and interaction characteristics of the urban CPS through the device management module, event management module, port management module, interface management module, instruction management module and intelligent data processing module, so as to obtain the internal and external operation rules of the urban CPS, and can realize the unified modeling of large-scale CPSs within the city.

[0015] The present invention also provides a representation method of an urban CPS structure representation system, including the following steps:

[0016] S1. Use the device management module to initialize the urban CPS, maintain the static attributes and dynamic data in the urban CPS, and transmit event data to the event management module;

[0017] S2. Use the event management module to receive event data and drive the urban CPS to perform discrete state transitions according to the event data;

[0018] S3. Use the urban CPS after discrete state transition to exchange data with urban CPSs in different regions through the port management module;

[0019] S4. Use the urban CPS after data exchange to set the urban CPS service through the interface management module, and send the urban CPS action instruction sequence to the instruction management module;

[0020] S5. Use the instruction management module to receive the urban CPS action instruction sequence and transmit the device instruction message to the intelligent data processing module;

[0021] S6. Use the intelligent data processing module to receive the device instruction message and drive the urban CPS device based on the device instruction message to obtain the internal and external operation rules of the urban CPS, and complete the urban CPS structure representation.

[0022] The beneficial effects of the present invention are as follows: The representation method of an urban CPS structure representation system provided by the present invention is applicable to the urban CPS structure representation system. This method recognizes the complexity of heterogeneous urban CPS, pays attention to the constituent elements of the urban CPS model, abstracts the existing CPS, standardizes the content such as the attributes and behaviors of physical entities through clear UML class diagrams, clarifies the main constituent content of the urban CPS, stipulates the composition structure of the urban CPS, is conducive to the smooth implementation of urban CPS planning, and improves the utilization rate of urban resources; This method represents the data structure of the urban CPS in JSON format, distinguishes dynamic data from static attributes, and represents the attribute format and basic operations in an appropriate manner, including urban CPS initialization, attribute maintenance, service call series operations. The present invention can deeply represent the urban CPS, has clear element descriptions, is applicable to almost all heterogeneous urban CPS, enabling urban CPS developers to focus on business logic, attach importance to scenario linkage, and quickly improve the development speed of the smart city system with strong reliability.

[0023] Further, the step S1 includes the following steps:

[0024] S11. Use the device management module to set and maintain the static attributes in the urban CPS, and obtain the urban CPS name, unique identifier, and bound device set;

[0025] S12. Based on the urban CPS name, unique identifier, and bound device set, construct the default initial state of the urban CPS to complete the initialization of the urban CPS;

[0026] S13. Based on the default initial state of the urban CPS, receive the dynamic data of the urban CPS operation;

[0027] S14. Based on the dynamic data of the urban CPS operation, use the device management module to transmit the event data to the event management module.

[0028] The beneficial effects of adopting the above further solution are as follows: By using the device management module, the initial values of the static attributes of the urban CPS are assigned to complete the initialization of the urban CPS. The name, unique identifier, and bound device set of the urban CPS are input to form the default initial state of the urban CPS, completing the startup process of the urban CPS and preparing to receive dynamic data during runtime.

[0029] Further, the step S2 includes the following steps:

[0030] S21. Receive event data using the event management module;

[0031] S22. Determine whether the received event data is less than the preset event data threshold. If so, return to step S21; otherwise, proceed to step S23;

[0032] S23. Set the name, type, source, and parameters of the event according to the event data to obtain the dynamic data of the urban CPS;

[0033] S24. Use the event management module to send the dynamic data to the device management module and drive the urban CPS to perform discrete state transitions.

[0034] The beneficial effects of adopting the above further solution are as follows: After the initial work is completed, the event management module is used to receive and process the data uploaded by the devices included in the urban CPS. When the data reaches the threshold set for initialization, the event management module sets the name, type, source, and parameters of the event, sets the dynamic data of the urban CPS, and drives the urban CPS to perform discrete state transitions.

[0035] Further, the step S4 includes the following steps:

[0036] S41. Use the urban CPS after data exchange to register and unregister urban CPS services through the interface management module;

[0037] S42. Set the call time range corresponding to the urban CPS service to obtain the urban CPS action instruction sequence;

[0038] S43. Use the interface management module to send the urban CPS action instruction sequence to the instruction management module.

[0039] The beneficial effects of adopting the above further solution are as follows: By using the urban CPS interface management module, internal services are registered and unregistered, the call time range of the services is set to remain silent outside the service time, service permissions are added and revoked, and the urban CPS action instruction sequence is sent to the instruction management module to dynamically adapt to changes in the complex urban environment.

[0040] Further, the step S5 includes the following steps:

[0041] S51. Use the instruction management module to receive the action instruction sequence of the urban CPS.

[0042] S52. Based on the action instruction sequence of the urban CPS, use the instruction management module to assemble the device instruction message and encapsulate the instruction message protocol.

[0043] S53. According to the instruction message protocol, use the instruction management module to transmit the device instruction message to the intelligent data processing module.

[0044] The beneficial effects of adopting the above further solution are as follows: Receive the action instruction sequence generated by the running urban CPS, perform message informatization processing on the action instruction sequence, and send it to the intelligent data processing module, so as to realize the allocation of instructions for the device to execute actions according to the characteristics of the device cluster managed by the urban CPS device management function, realize the external intervention of the urban CPS, and provide a basis for obtaining the internal and external operation rules of the urban CPS. Description of the Drawings

[0045] Figure 1 It is a structural block diagram of the urban CPS structure representation system in the embodiment of the present invention.

[0046] Figure 2 It is a step flow chart of the representation method of the urban CPS structure representation system in the embodiment of the present invention.

[0047] Figure 3 It is a structure and operation schematic diagram of the vehicle CPS in the urban CPS in the embodiment of the present invention. Detailed Embodiment

[0048] The following describes the detailed embodiment of the present invention to facilitate those skilled in the art of the present technology to understand the present invention. However, it should be clear that the present invention is not limited to the scope of the detailed embodiment. For those of ordinary skill in the art of the present technology, as long as various changes are within the spirit and scope of the present invention defined and determined by the appended claims, these changes are obvious, and all inventions and creations using the concept of the present invention are within the scope of protection.

[0049] Among the components of the urban CPS, the variables generated by the device are aggregated into the urban CPS through device mapping. During the operation of the urban CPS, it will integrate multiple continuous quantities that make it up according to its functional needs, and obtain the behavior change law of the urban CPS through artificial intelligence algorithms to promote the evolution of the urban CPS.

[0050] Attributes, ports, events, and intelligent devices together constitute the components of the urban CPS. Defining these basic elements, shielding the differences in the underlying hardware and software structures of the urban CPS, planning and implementing urban CPSs suitable for different application scenarios, providing an important basis for the continuous operation of large-scale urban application software and guiding the operation of physical entities, and realizing the coordination of urban-level cyber-physical systems.

[0051] Embodiment 1

[0052] As Figure 1 shown, in an embodiment of the present invention, the present invention provides an urban CPS structure representation system, including:

[0053] A device management module, which is used to initialize the urban CPS, maintain the static attributes and dynamic data in the urban CPS, and transmit event data to the event management module;

[0054] An event management module, which is used to receive the event data transmitted by the device management module, send the dynamic data of the urban CPS to the device management module, and drive the urban CPS to perform discrete state transitions;

[0055] A port management module, which is used to build asynchronous communication and collaboration among several urban CPSs;

[0056] An interface management module, which is used to maintain the interfaces of the urban CPS, register and unregister urban CPS services, send urban CPS action instructions to the instruction management module, and provide a call interface for urban CPS services to the outside of the urban CPS;

[0057] An instruction management module, which is used to receive and manage urban CPS device instructions, assemble device instruction messages, encapsulate instruction message protocols, and transmit device instruction messages to the intelligent data processing module;

[0058] An intelligent data processing module, which is used to receive device instruction messages and drive urban CPS devices based on the device instruction messages to obtain the internal and external operation rules of the urban CPS.

[0059] The urban CPS structure representation system provided by the present invention, by clarifying the components of the urban CPS, standardizing attributes and actions, and using a complete structured method to represent the internal characteristics and interaction characteristics of the urban CPS through the device management module, event management module, port management module, interface management module, instruction management module, and intelligent data processing module, thereby obtaining the internal and external operation rules of the urban CPS, and being able to realize the unified modeling of large-scale CPSs within the city.

[0060] Embodiment 2

[0061] As Figure 2As shown in the figure, in another embodiment of the present invention, the present invention provides a representation method for a city CPS structure representation system, including the following steps:

[0062] S1. Use the device management module to initialize the city CPS, maintain the static attributes and dynamic data in the city CPS, and transmit event data to the event management module;

[0063] The step S1 includes the following steps:

[0064] S11. Use the device management module to set and maintain the static attributes in the city CPS, and obtain the city CPS name, unique identifier, and bound device set;

[0065] S12. Based on the city CPS name, unique identifier, and bound device set, construct the default initial state of the city CPS to complete the initialization of the city CPS;

[0066] S13. Based on the default initial state of the city CPS, receive the dynamic data of the city CPS operation;

[0067] S14. Based on the dynamic data of the city CPS operation, use the device management module to transmit event data to the event management module;

[0068] Use the device management module to assign initial values to the static attributes of the city CPS, implement the initialization work of the city CPS, input the city CPS name, unique identifier, and bound device set, form the default initial state of the city CPS, complete the startup process of the city CPS, and prepare to receive dynamic data during operation;

[0069] S2. Use the event management module to receive event data and drive the city CPS to perform discrete state transitions according to the event data;

[0070] The step S2 includes the following steps:

[0071] S21. Use the event management module to receive event data;

[0072] S22. Determine whether the received event data is less than the preset event data threshold. If so, return to step S21; otherwise, enter step S23;

[0073] S23. Set the name, type, source, and parameters of the event according to the event data to obtain the dynamic data of the city CPS;

[0074] S24. Use the event management module to send dynamic data to the device management module and drive the city CPS to perform discrete state transitions;

[0075] After the initial work is completed, the event management module is used to receive and process the data uploaded by the devices contained in the urban CPS. When the data reaches the threshold set during initialization, the event management module sets the name, type, source, and parameters of the event, sets the dynamic data of the urban CPS, and drives the urban CPS to perform discrete state transitions.

[0076] S3. Use the urban CPS after discrete state transition to exchange data with urban CPSs in different regions through the port management module.

[0077] S4. Use the urban CPS after data exchange to set the urban CPS service through the interface management module and send the urban CPS action instruction sequence to the instruction management module.

[0078] The step S4 includes the following steps:

[0079] S41. Use the urban CPS after data exchange to register and unregister the urban CPS service through the interface management module.

[0080] S42. Set the call time range corresponding to the urban CPS service to obtain the urban CPS action instruction sequence.

[0081] S43. Use the interface management module to send the urban CPS action instruction sequence to the instruction management module.

[0082] Use the urban CPS interface management module to register and unregister internal services, set the callable time range of the services, remain silent outside the service time, add and revoke service permissions, send the urban CPS action instruction sequence to the instruction management module, and dynamically adapt to changes in the complex urban environment.

[0083] S5. Use the instruction management module to receive the urban CPS action instruction sequence and transmit the device instruction message to the intelligent data processing module.

[0084] The step S5 includes the following steps:

[0085] S51. Use the instruction management module to receive the urban CPS action instruction sequence.

[0086] S52. Based on the urban CPS action instruction sequence, use the instruction management module to assemble the device instruction message and encapsulate the instruction message protocol.

[0087] S53. According to the instruction message protocol, use the instruction management module to transmit the device instruction message to the intelligent data processing module.

[0088] Receive the action instruction sequence generated by the running urban CPS, perform message informatization processing on the action instruction sequence, and send it to the intelligent data processing module, so as to allocate instructions for the device to execute actions according to the characteristics of the device cluster managed by the urban CPS device management function, realize the external intervention of the urban CPS, and provide a basis for obtaining the internal and external operation rules of the urban CPS;

[0089] S6. Use the intelligent data processing module to receive the device instruction message, and drive the urban CPS device based on the device instruction message to obtain the internal and external operation rules of the urban CPS, and complete the structure representation of the urban CPS.

[0090] The representation method of an urban CPS structure representation system provided by the present invention is a method applicable to the urban CPS structure representation system. This method recognizes the complexity of heterogeneous urban CPS, pays attention to the constituent elements of the urban CPS model, abstracts the existing CPS, standardizes the content such as the attribute behavior of physical entities through a clear UML class diagram, clarifies the main constituent content of the urban CPS, and stipulates the composition structure of the urban CPS, which is beneficial to the smooth implementation of urban CPS planning and improves the utilization rate of urban resources; this method represents the data structure of the urban CPS in JSON format, distinguishes dynamic data from static attributes, and represents the attribute format and basic operations in an appropriate way, including urban CPS initialization, attribute maintenance, service call series operations. The present invention can deeply represent the urban CPS, has clear element descriptions, is applicable to almost all heterogeneous urban CPS, so that urban CPS developers can focus on business logic, attach importance to scenario linkage, and quickly improve the development speed of the smart city system, with strong reliability.

[0091] Embodiment 3

[0092] As Figure 3 shown, in a practical example of the present invention, an intelligent vehicle is used as a part of the urban CPS, which has complete attributes and action capabilities. The structure of a complete intelligent vehicle CPS includes device management, event management, interface management, etc. indicated by the present invention;

[0093] Use the vehicle CPS device management module to realize operation initialization, set the identifier of the vehicle CPS as "Vehicle CPS - 001", and specify the devices internally bound to the vehicle CPS, including the braking system, temperature sensing system, fuel quantity control system, and video perception system, to form the set of devices bound to the vehicle CPS. Subsequently, the vehicle CPS can receive runtime data, including the current vehicle speed, in-vehicle temperature, and vehicle position information;

[0094] After the initial work is completed, the automotive CPS event management module receives and processes the data uploaded by the engine equipment included in the automotive CPS. When the vehicle speed exceeds 120 KM / h, the event management module of the automotive CPS sets the event name as overspeed and the event source as the vehicle's engine, and instructs the automotive CPS device management module to adjust its status to the overspeed state;

[0095] When the automotive CPS is in the overspeed state, the port management module timely collects index data such as engine speed and temperature, and sends the data to the alarm CPS, prompting the internal state of the alarm CPS to change to the warning state, and the buzzer and warning light start to work;

[0096] When the automotive CPS is running, the interface management module sets the service providing time. When the vehicle speed exceeds the threshold for a long time, the multimedia CPS is suspended to ensure that the driver in the automotive CPS works in a safe environment; when the speed is zero and the automotive CPS is in the startup state, the in-vehicle multimedia can be used normally and the seat belt can be removed normally;

[0097] After running for a period of time, all the instructions generated by the automotive CPS are summarized in the instruction management module, and the objects of action include the surrounding fire-fighting CPS, the parking lot CPS, and the CPS that provides services inside the vehicle; the instruction set is distributed from here to each CPS object to command the device to complete the action;

[0098] When the automotive CPS is in the standby state or the stop state, the intelligent data processing module summarizes the engine speed, temperature at each moment and the data transmitted by other urban CPSs except the automotive CPS, performs data cleaning inside the module, and completes the physical environment behavior characterization with the help of the built-in algorithm processing function, providing data support for the normal operation and intelligent processing of the automotive CPS next time.

Claims

1. An urban CPS structure representation system, characterized in that, Including: The device management module is used to initialize the urban CPS, maintain the static attributes and dynamic data in the urban CPS, and transmit event data to the event management module; The event management module is used to receive the event data transmitted by the device management module, send the dynamic data of the urban CPS to the device management module, and drive the urban CPS to perform discrete state transitions; The port management module is used to build asynchronous communication and collaboration among several urban CPSs; The interface management module is used to maintain the interfaces of the urban CPS, register and unregister urban CPS services, send urban CPS action instructions to the instruction management module, and provide a call interface for urban CPS services outside the urban CPS; The instruction management module is used to receive and manage urban CPS device instructions, assemble device instruction messages, encapsulate instruction message protocols, and transmit device instruction messages to the intelligent data processing module; The intelligent data processing module is used to receive device instruction messages and drive urban CPS devices based on the device instruction messages to obtain the internal and external operation rules of the urban CPS.

2. A representation method of the urban CPS structure representation system as described in claim 1, characterized in that, Including the following steps: S1. Use the device management module to initialize the urban CPS, maintain the static attributes and dynamic data in the urban CPS, and transmit event data to the event management module; S2. Use the event management module to receive event data and drive the urban CPS to perform discrete state transitions according to the event data; S3. Use the urban CPS after discrete state transition to exchange data with urban CPSs in different regions through the port management module; S4. Use the urban CPS after data exchange to set urban CPS services through the interface management module and send a sequence of urban CPS action instructions to the instruction management module; S5. Use the instruction management module to receive the sequence of urban CPS action instructions and transmit device instruction messages to the intelligent data processing module; S6. Use the intelligent data processing module to receive device instruction messages and drive urban CPS devices based on the device instruction messages to obtain the internal and external operation rules of the urban CPS, and complete the structural representation of the urban CPS.

3. The representation method of the urban CPS structure representation system according to claim 2, characterized in that, The step S1 includes the following steps: S11. Use the device management module to set and maintain the static attributes in the urban CPS, and obtain the urban CPS name, unique identifier, and bound device set; S12. Based on the urban CPS name, unique identifier, and bound device set, construct the default initial state of the urban CPS to complete the initialization of the urban CPS; S13. Based on the default initial state of the urban CPS, receive the dynamic data of the urban CPS operation; S14. Based on the dynamic data of the urban CPS operation, use the device management module to transmit event data to the event management module.

4. The representation method of the urban CPS structure representation system according to claim 2, characterized in that, The step S2 includes the following steps: S21. Use the event management module to receive event data; S22. Judge whether the received event data is less than the preset event data threshold. If so, return to step S21; otherwise, enter step S23; S23. Set the name, type, source, and parameters of the event according to the event data to obtain the dynamic data of the urban CPS. S24. Send dynamic data to the device management module using the event management module and drive the urban CPS to perform discrete state transitions.

5. The representation method of the urban CPS structure representation system according to claim 2, characterized in that, The step S4 includes the following steps: S41. Register and deregister the urban CPS service through the interface management module using the urban CPS after data exchange; S42. Set the call time range corresponding to the urban CPS service to obtain the urban CPS action instruction sequence; S43. Send the urban CPS action instruction sequence to the instruction management module using the interface management module.

6. The representation method of the urban CPS structure representation system according to claim 2, characterized in that, The step S5 includes the following steps: S51. Receive the urban CPS action instruction sequence using the instruction management module; S52. Assemble the device instruction message using the instruction management module based on the urban CPS action instruction sequence and encapsulate the instruction message protocol; S53. Transmit the device instruction message to the intelligent data processing module using the instruction management module according to the instruction message protocol.