Lightweight general industrial situation awareness system

By designing a lightweight, general-purpose industrial situational awareness system based on coroutines, the problems of high resource consumption and untimely processing in existing technologies are solved. It achieves real-time environmental awareness and high-security data processing with low resource consumption, thereby enhancing the flexibility and security of business systems.

WO2026118892A1PCT designated stage Publication Date: 2026-06-11CHINA TELECOM CLOUD TECH CO LTD

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
CHINA TELECOM CLOUD TECH CO LTD
Filing Date
2025-11-20
Publication Date
2026-06-11

Smart Images

  • Figure CN2025136451_11062026_PF_FP_ABST
    Figure CN2025136451_11062026_PF_FP_ABST
Patent Text Reader

Abstract

The present application provides a lightweight general industrial situation awareness system. The system comprises: a system foundation layer, a system awareness layer, a situation awareness monitoring layer, and an application service layer; in a coroutine-based lightweight general industrial situation awareness system, a processing flow design is scientific and complete and has sequentiality, some customized awareness algorithms are also supported, small service intrusion is caused, and strong universality is realized; instant awareness and processing of environmental changes affecting the operation of the system are realized; on the basis of a coroutine manner, the overall resource consumption of the system is small and the efficiency is high; when application service data is processed, it is ensured that the overall flow has strong sequentiality, so that chaos of the application service data is avoided; instant interruption is supported, and the security is higher; a plurality of customized algorithms are supported, and a prediction model also offers advanced customization services; a plurality of awareness modes are fused, so that the timeliness of information change awareness is enhanced; and the present application is applied to various awareness scenarios and systems, and has small service intrusion and strong universality.
Need to check novelty before this filing date? Find Prior Art

Description

A lightweight, general-purpose industrial situational awareness system

[0001] Cross-references to related applications

[0002] This application claims priority to Chinese Patent Application No. 202411762836.5, filed on December 3, 2024, entitled "A Lightweight General-Purpose Industrial Situational Awareness System", the entire contents of which are incorporated herein by reference. Technical Field

[0003] This application relates to the field of data processing technology, and in particular to a lightweight general-purpose industrial situational awareness system, specifically a processing framework for responding to, processing, and feeding back variable information in complex environments. Background Technology

[0004] With the development of internet microservice technology architecture and the complexity of the overall operating environment, a business with a certain volume of business will generally have multiple microservices. Each service will have some interaction with other services. A complete business process may span multiple services, making the stability and reliability of each service crucial. In addition to the service's own process, the impact of the external environment on the service also needs to be considered.

[0005] In real-world scenarios, such as when a service is deployed in a central location, if that central location experiences a problem, how should the services within that central location be handled, how should other backup central locations be switched over, and where should the traffic arriving at this central location go next? These are all factors that should be considered when designing a service.

[0006] Specifically in the field of industrial situational awareness, we should consider how to promptly process various information changes, combine historical data, track trends, predict potential risks, and plan response strategies in advance.

[0007] In the process of application layer development, it is often necessary to respond to some system-level changes. This may require the application to perform some processing that is not very relevant to the business, and the process is relatively cumbersome, and may not have the timeliness and security of processing. At the same time, due to different processing methods, the perception of environmental changes may not be accurate, which may also cause a series of security problems. At present, there is no scientific and reliable intelligent architecture that can overcome the above technical defects. Summary of the Invention

[0008] To address the aforementioned technical issues, this application presents a lightweight, general-purpose industrial situation awareness system. Addressing the shortcomings of existing technologies, a lightweight, general-purpose industrial situation awareness system based on coroutines is designed. This system minimizes resource consumption while enabling real-time perception of environmental data changes. The processing flow is scientifically designed, complete, and sequential, and it also supports some custom perception algorithms. It exhibits minimal intrusion into business processes and strong versatility.

[0009] In the first aspect, this application discloses a lightweight general-purpose industrial situation awareness system, specifically including: a system base layer, a system awareness layer, a situation awareness monitoring layer, and an application service layer;

[0010] System foundation layer: refers to the underlying support services of the business system. The system foundation layer is the architecture layer that provides basic capabilities for business services and is also the cornerstone for the stable operation of the business system.

[0011] In some embodiments, the underlying support services refer to: storage services, message queue services, and / or caching services.

[0012] System perception layer: used to dynamically perceive changes in the core configuration data of the system's foundation layer, identify the occurrence of various security risk factors, and collect corresponding environmental data;

[0013] In some embodiments, environmental data refers to data generated during system operation, including CPU metrics and memory usage metrics.

[0014] Situational Awareness Listening Layer: Used to receive situational awareness data, and is also the most important data aggregation point for situational awareness. This layer connects downward to the system base layer and the system awareness layer, and supports the specific application service layer upward. It is the link between the application service layer and the system base layer.

[0015] In some embodiments, the situational awareness listening layer collects the sensing data required for situational awareness in two ways, including:

[0016] The first approach is proactive: using real-time detection to actively monitor changes and trends in environmental data at the system's foundational layer;

[0017] The second approach is passive: passively receiving sensing data reported by the system's sensing layer;

[0018] By using the two complementary methods described above, real-time collection of situational awareness data can be achieved, while avoiding the problem of missing data due to overlooking changes in the perceived data.

[0019] In some embodiments, the core components of the situational awareness listening layer include:

[0020] ① Sensing data filtering and confirmation module: used for filtering and confirming sensing data;

[0021] ② Callback processing module: Used for callback processing after business processing is completed, so that the entire situation awareness and monitoring layer forms a closed loop of processing.

[0022] The sensor data filtering and verification module is the most important part of the business processing in this application, and it is designed as a plug-in module.

[0023] As examples of some applications, the plugin model includes the following three types:

[0024] 1. Custom Advanced Processing: Facilitates some high-level requirements, allowing for customized development and identification processing based on the needs of the perceived data;

[0025] 2. Predictive model integration: It can utilize big data processing capabilities to screen, filter, and analyze perceived data;

[0026] 3. General algorithm processing: Use general algorithms to perform pattern recognition, verification and other processing on the perceived data.

[0027] Application service layer: Used to complete the integration of business services after the perception data has been filtered and confirmed;

[0028] Since the application service layer involves integrating business into the system of this application, in order to minimize the intrusion into the business, the application service layer intercepts the perception data before the business service processes it, and adjusts the perception data again after the business processing to adapt to the perception data required by the situational awareness listening layer.

[0029] In some embodiments, the specific architecture design of the application service layer is as follows:

[0030] First, the core services of the entire application service layer are designed as a self-circulating wrapper. At the data receiving point, a proxy is applied to forward the data to handle large traffic volumes and data authentication operations, ensuring the security and validity of the data.

[0031] Secondly, after completing the above operations, the data enters the real-time signal processing service to obtain data signals; the data that needs to be processed in real time includes: service restart signals, situational awareness data signals, and system-level interrupt signals; this step can further enhance the flexibility and security of the business system, and use different data signals to control the business system at any time.

[0032] Finally, the data signal is transmitted to the business system, which then processes the data signal accordingly.

[0033] In some embodiments, the corresponding processing includes: exiting the self-loop mode on its own, then forwarding the processing completion status to the signal feedback service. After processing the data signal, the feedback service sends an end signal to the situational awareness listening layer. After receiving the end signal, the situational awareness listening layer uses a callback mechanism and combines the latest sensing data to actively restart the self-loop mode. In this way, the situational awareness listening layer and the business base layer complete the data processing loop under the premise of the principle of minimum intrusion.

[0034] As an example of an application, the application service layer uses the channel and goroutine mechanism from the Go programming language to complete data reception, real-time signal processing services, data signal sending, and polling services. Since the channel and goroutine mechanism in the Go programming language itself consumes very few resources, it can complete efficient work with almost no system resources.

[0035] Secondly, this application discloses an electronic device comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to perform the method as described in any of the above aspects.

[0036] Thirdly, this application discloses a non-transitory computer-readable storage medium that, when the instructions in the storage medium are executed by the processor of an electronic device, enables the electronic device to perform the methods described in any of the above aspects.

[0037] Fourthly, this application discloses a computer program product in which, when the instructions in the computer program product are executed by the processor of an electronic device, the electronic device is enabled to perform the methods described in any of the above aspects.

[0038] The beneficial effects of this application are:

[0039] Throughout the design process of this application, since the business only needs to receive signal data that has undergone multi-level decision-making and processing, the business can complete the corresponding processing of situational awareness with minimal intrusion into the business. Therefore, without changing the overall architecture design model and method, adding other plugins or expanding the algorithm in the screening and confirmation of situational awareness data, or adding support for other signals in the real-time signal processing service, are all within the scope of protection claimed in this application.

[0040] This application cleverly utilizes coroutines and signaling mechanisms, employing various detection technologies to achieve data acquisition, processing, and manipulation for predicting the current environmental situation and handling business operations. It also expands the signal reception range and enhances the real-time nature of emergency processing, completing the sequential processing loop of the overall architecture in conjunction with signal feedback. Structurally, it is streamlined, consumes few resources, boasts strong real-time performance, and offers high security, along with broad versatility and scalability. Conventional designs might rely on configuration centers and registration centers, which not only require the separate deployment of multiple service systems, increasing system complexity and resource consumption, but also lengthen service chains. Correspondingly, significant modifications are needed on the business side to adapt to such services, resulting in high maintenance costs on both sides. Attached Figure Description

[0041] Figure 1 is a schematic diagram of the structure of a lightweight general-purpose industrial situational awareness system according to this application.

[0042] Figure 2 is a schematic diagram of a lightweight general-purpose industrial situational awareness system according to this application.

[0043] Figure 3 is a block diagram of an electronic device structure for a lightweight general-purpose industrial situational awareness system according to this application.

[0044] Figure 4 is a block diagram of a computer-readable storage medium structure for a lightweight general-purpose industrial situational awareness system according to this application. Detailed Implementation

[0045] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0046] In the first aspect, this application discloses a lightweight general-purpose industrial situation awareness system, specifically including: a system base layer, a system awareness layer, a situation awareness monitoring layer, and an application service layer;

[0047] System foundation layer: refers to the underlying support services of the business system. The system foundation layer is the architecture layer that provides basic capabilities for business services and is also the cornerstone for the stable operation of the business system.

[0048] As an example, the underlying support services refer to: storage services, message queue services, and / or caching services.

[0049] System perception layer: used to dynamically perceive changes in the core configuration data of the system's foundation layer, identify the occurrence of various security risk factors, and collect corresponding environmental data;

[0050] In some embodiments, environmental data refers to data generated during system operation, including CPU (Central Processing Unit) metrics and memory usage metrics.

[0051] Situational Awareness Listening Layer: Used to receive situational awareness data, and is also the most important data aggregation point for situational awareness. This layer connects downward to the system base layer and the system awareness layer, and supports the specific application service layer upward. It is the link between the application service layer and the system base layer.

[0052] In some embodiments, the situational awareness listening layer collects the sensing data required for situational awareness in two ways, including:

[0053] The first approach is proactive: using real-time detection to actively monitor changes and trends in environmental data at the system's foundational layer;

[0054] The second approach is passive: passively receiving sensing data reported by the system's sensing layer;

[0055] By using the two complementary methods described above, real-time collection of situational awareness data can be achieved, while avoiding the problem of missing data due to overlooking changes in the perceived data.

[0056] In some embodiments, the core components of the situational awareness listening layer include:

[0057] ① Sensing data filtering and confirmation module: used for filtering and confirming sensing data;

[0058] ② Callback processing module: Used for callback processing after business processing is completed, so that the entire situation awareness and monitoring layer forms a closed loop of processing.

[0059] The sensor data filtering and verification module is the most important part of the business processing in this application, and it is designed as a plug-in module.

[0060] As examples of some applications, the plugin model includes the following three types:

[0061] 1. Custom Advanced Processing: Facilitates some high-level requirements, allowing for customized development and identification processing based on the needs of the perceived data;

[0062] 2. Predictive model integration: It can utilize big data processing capabilities to screen, filter, and analyze perceived data;

[0063] 3. General algorithm processing: Use general algorithms to perform pattern recognition, verification and other processing on the perceived data.

[0064] Application service layer: Used to complete the integration of business services after the perception data has been filtered and confirmed;

[0065] Since the application service layer involves integrating business into the system of this application, in order to minimize the intrusion into the business, the application service layer intercepts the perception data before the business service processes it, and adjusts the perception data again after the business processing to adapt to the perception data required by the situational awareness listening layer.

[0066] In some embodiments, the specific architecture design of the application service layer is as follows:

[0067] First, the core services of the entire application service layer are designed as a self-circulating wrapper. At the data receiving point, a proxy is applied to forward the data to handle large traffic volumes and data authentication operations, ensuring the security and validity of the data.

[0068] Secondly, after completing the above operations, the data enters the real-time signal processing service to obtain data signals; the data that needs to be processed in real time includes: service restart signals, situational awareness data signals, and system-level interrupt signals; this step can further enhance the flexibility and security of the business system, and use different data signals to control the business system at any time.

[0069] Finally, the data signal is transmitted to the business system, which then processes the data signal accordingly.

[0070] In some embodiments, the corresponding processing includes, but is not limited to: being able to exit the self-loop mode on its own, then forwarding the processing completion status to the signal feedback service, the feedback service processing the data signal and sending an end signal to the situational awareness listening layer, the situational awareness listening layer receiving the end signal using a callback mechanism and combining the latest sensing data to actively restart the self-loop mode, so that the situational awareness listening layer and the business base layer complete the data processing loop under the premise of the principle of minimum intrusion.

[0071] As some application examples, the application service layer uses the channel and goroutine mechanism in the Go programming language to complete data reception, real-time signal processing services, data signal sending, and polling services. Since the channel and goroutine mechanism in the Go programming language itself consumes very few resources, it can complete efficient work with almost no system resources.

[0072] The design principles of this application will be explained below through specific practical applications and examples of embodiments:

[0073] In some embodiments:

[0074] Suppose a service is deployed across two centers, where center A manages partitions 1, 2, and 3, and center B manages partitions 4, 5, and 6. Center B also contains backups of the partition services from center A, and center A's deployment is similar. How should we handle a situation where partition 1 in center A experiences an anomaly?

[0075] First, we don't know when the anomaly will occur, and the sensing frequency of the system's perception layer may not be able to detect such changes quickly enough. Therefore, we can use the real-time detection method of the situational awareness monitoring layer to detect it. This part can be implemented with pseudocode like the following:

[0076] Secondly, once the listening layer awareness module is started, the data filtering and confirmation service can be used to process the data to confirm whether changes are needed. The pseudocode is as follows:

[0077] When the filtering and confirmation of perceived data occur, a signal is proactively sent to changedCh to notify the business layer. The processing of the business layer is relatively simple; it only needs to receive the current signal. The pseudocode is as follows:

[0078] It can receive not only data signals, but also other signals, such as emergency signals from the business system level, thereby increasing the security level and responding as quickly as possible, thus improving the security of the business system.

[0079] Upon receiving a data signal, the core business's self-loop process is stopped. After processing is complete, an end signal is sent to closeChan. At this point, the listening layer senses that the previous data processing has ended and a new round of self-loop process needs to begin. Therefore, it actively restarts the business module with the latest data, thus completing the closed loop of situational data perception from discovery to processing to feedback.

[0080] In some embodiments, changedCh refers to the place where the situational awareness listening layer receives and stores signals; it is the name in the example code.

[0081] ticker: A timed monitoring tool that triggers at fixed intervals;

[0082] Changed and send are both marker variables that indicate whether the perceived data in the instance has changed.

[0083] SignalChan: Handling of system exit (such as abnormal exit), which is unrelated to this application. It is just a common Go language method to prevent system exceptions, mainly for the sake of pseudocode integrity.

[0084] closeChan is one of the signals received by the situational awareness listening layer, specifically indicating that all sensing data has been processed.

[0085] In some embodiments, this application also provides an electronic device, including: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the various processes of the above method embodiments and achieves the same technical effects. To avoid repetition, it will not be described again here.

[0086] This application also provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the various processes of the above-described method embodiments and achieves the same technical effects. To avoid repetition, it will not be described again here. The computer-readable storage medium may include read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0087] Figure 3 is a block diagram of an electronic device 800 according to this application. For example, the electronic device 800 may be a mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, medical device, fitness device, personal digital assistant, etc.

[0088] Referring to FIG3, the electronic device 800 may include one or more of the following components: a processing component 802, a memory 804, a power supply component 806, a multimedia component 808, an audio component 810, an input / output (I / O) interface 812, a sensor component 814, and a communication component 816.

[0089] Processing component 802 typically controls the overall operation of electronic device 800, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the methods described above. Furthermore, processing component 802 may include one or more modules to facilitate interaction between processing component 802 and other components. For example, processing component 802 may include a multimedia module to facilitate interaction between multimedia component 808 and processing component 802.

[0090] Memory 804 is configured to store various types of data to support the operation of device 800. Examples of this data include instructions for any application or method operating on electronic device 800, contact data, phonebook data, messages, images, videos, etc. Memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as Static Random-Access Memory (SRAM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.

[0091] Power supply component 806 provides power to various components of electronic device 800. Power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 800.

[0092] Multimedia component 808 includes a screen that provides an output interface between electronic device 800 and user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a Touch Panel, the screen may be implemented as a touchscreen to receive input signals from the user. The Touch Panel includes one or more touch sensors to sense touches, swipes, and gestures on the Touch Panel. The touch sensors may sense not only the boundaries of touch or swipe actions but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 808 includes a front-facing camera and / or a rear-facing camera. When device 800 is in an operating mode, such as a shooting mode or video mode, the front-facing camera and / or rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.

[0093] Audio component 810 is configured to output and / or input audio signals. For example, audio component 810 includes a microphone (MIC) configured to receive external audio signals when electronic device 800 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 804 or transmitted via communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.

[0094] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.

[0095] Sensor assembly 814 includes one or more sensors for providing state assessments of various aspects of electronic device 800. For example, sensor assembly 814 may detect the on / off state of device 800, the relative positioning of components such as the display and keypad of electronic device 800, changes in position of electronic device 800 or a component of electronic device 800, the presence or absence of user contact with electronic device 800, orientation or acceleration / deceleration of electronic device 800, and temperature changes of electronic device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 814 may also include an optical sensor, such as a CMOS (Complementary Metal-Oxide-Semiconductor) or CCD (Charge-Coupled Device) image sensor, for use in imaging applications. In some embodiments, sensor assembly 814 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.

[0096] Communication component 816 is configured to facilitate wired or wireless communication between electronic device 800 and other devices. Electronic device 800 can access wireless networks based on communication standards, such as WiFi, carrier networks (such as 2G, 3G, 4G, or 5G), or combinations thereof. In one exemplary embodiment, communication component 816 receives broadcast signals or broadcast operation information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 816 also includes a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio-Frequency Identification (RFID) technology, Infrared Data Association (IrDA) technology, Ultra-Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.

[0097] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.

[0098] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, which can be executed by a processor 820 of an electronic device 800 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM (Compact Disc Read-Only Memory), magnetic tape, floppy disk, and optical data storage device, etc.

[0099] Figure 4 is a block diagram illustrating a computer-readable storage medium 1900 according to this application. For example, the storage medium 1900 may be provided as a server.

[0100] Referring to FIG4, storage medium 1900 includes processing component 1922, which further includes one or more processors, and memory resources represented by memory 1932 for storing instructions, such as application programs, that can be executed by processing component 1922. The application programs stored in memory 1932 may include one or more modules, each corresponding to a set of instructions. Furthermore, processing component 1922 is configured to execute instructions to perform the methods described above.

[0101] Storage medium 1900 may also include a power supply component 1926 configured to perform power management of storage medium 1900, a wired or wireless network interface 1950 configured to connect storage medium 1900 to a network, and an input / output (I / O) interface 1958. Storage medium 1900 can operate on an operating system stored in memory 1932, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, or similar.

[0102] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0103] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods of the various embodiments of this application.

[0104] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

[0105] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed in this application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0106] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0107] In the embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0108] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0109] In addition, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0110] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.

[0111] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.

Claims

1. A lightweight, general-purpose industrial situational awareness system, characterized by, include: The system consists of a foundational layer, a system awareness layer, a situational awareness and monitoring layer, and an application service layer. The system foundation layer is the underlying support service for the business system. The system foundation layer is the architecture layer that provides basic capabilities for the business services. The system perception layer is used to dynamically perceive changes in the core configuration data of the system base layer, identify various security risk factors, and collect environmental data. The situational awareness listening layer is used to receive situational awareness data, serves as the data aggregation point for situational awareness, connects downwards to the system base layer and the system awareness layer, and supports the specific application service layer upwards. The application service layer is used to connect with business services after the sensing data has been filtered and confirmed. Before the business service is processed, the system intercepts and processes the sensing data, and after the business is processed, it adjusts the sensing data again to adapt to the sensing data required by the situational awareness monitoring layer.

2. The lightweight general-purpose industrial situational awareness system according to claim 1, wherein, The underlying support services include at least storage services, message queue services, and caching services.

3. The lightweight general-purpose industrial situational awareness system of claim 1, wherein, The situational awareness monitoring layer collects the sensing data required for situational awareness in the following ways: The first approach is proactive: actively monitoring environmental data changes and trends at the system's foundational layer using real-time detection. The second approach is passive: passively receiving the sensing data reported by the system's sensing layer.

4. The lightweight general-purpose industrial situational awareness system of claim 1, wherein, The situational awareness monitoring layer includes: The filtering and confirmation module is embedded in the situational awareness monitoring layer in a plug-in mode to filter and confirm the sensed data. The callback handling module is used to perform callback processing after the business processing is completed.

5. The lightweight general-purpose industrial situational awareness system of claim 4, wherein, The situational awareness listening layer receives situational awareness data based on the following modes of the plugin: Custom advanced processing involves developing and identifying data tailored to specific needs, thus enabling custom advanced processing. It integrates a predictive model and leverages big data processing capabilities to filter, analyze, and process the perceived data. as well as Use general algorithms to perform pattern recognition and verification on perceived data.

6. The lightweight general-purpose industrial situational awareness system of claim 1, wherein, The application service layer provides business services after the sensing data has been filtered and confirmed, including: The core services of the application service layer are packaged in a self-looping mode, and the data is forwarded by proxy when the data is received in order to cope with large traffic of data and data authentication operations. After the proxy forwarding operation is completed, the data enters the real-time signal processing service to obtain data signals; wherein, the data of the real-time signal processing includes: service restart signals, situational awareness data signals, and system-level interrupt signals; The data signal is transmitted to the business system so that the business system can perform the corresponding business processing based on the data signal.

7. The lightweight general-purpose industrial situational awareness system of claim 6, wherein, The business system performs corresponding business processing based on the data signal, including: The system exits the self-loop mode and forwards the processing completion status to the signal feedback service. The feedback service processes the data signal and sends an end signal to the situational awareness monitoring layer. Upon receiving the end signal, the situational awareness monitoring layer uses a callback mechanism and combines the current sensing data to actively restart the self-loop mode.

8. The lightweight general-purpose industrial situational awareness system of claim 1, wherein, The application service layer is used to complete data reception, real-time signal processing services, data signal transmission, and polling services by using channels in the Golang programming language combined with lightweight thread coroutines.

9. An electronic device, comprising: include: A processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program, when executed by the processor, implements a lightweight general-purpose industrial situational awareness system as claimed in any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements a lightweight, general-purpose industrial situational awareness system as described in any one of claims 1 to 8.