Lightweight general industrial situation awareness system
By designing a lightweight industrial situational awareness system based on coroutines, the problem of untimely information processing in complex environments is solved, efficient and secure situational awareness and business processing are achieved, and the system's universality and expansion capabilities are improved.
Patent Information
- Application Number
- CN202411762836.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-03
- Publication Date
- 2025-04-25
AI Technical Summary
The prior art is difficult to effectively respond to and process variable information in complex environments, resulting in inaccurate perception of environmental changes, which may cause security problems, and lack of scientific and reliable intelligent architectures to overcome these technical shortcomings.
A lightweight general industrial situational awareness system is designed, and a coroutine-based processing framework is adopted, including the system base layer, system perception layer, situational awareness monitoring layer and application service layer. It collects and processes environment data in real time through active and passive ways, supports custom perception algorithms, and realizes the closed loop of situational awareness data instantly.
It realizes timely response and processing of information changes in complex environments, improves the real-time and security of environmental situation prediction and business processing, reduces resource consumption, and has extensive versatility and expansion capabilities.
Smart Images

Figure CN119884677A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to a lightweight universal industrial situation awareness system, and specifically to a processing framework for response, processing and feedback processes for variable information in a complex environment. Background Art
[0002] With the development of the Internet microservice technology architecture and the complexity of the overall operating environment, a business with a certain business volume generally has multiple microservices. Each service will have some processes that interact with other services to a greater or lesser extent. A complete business process may span multiple services. The stability and reliability of each service processing is crucial. In addition to the service processes themselves, the stability and reliability of these services also need to pay attention to the impact of the external environment on the services.
[0003] In actual scenarios, for example, if a service is deployed in a certain center, if a problem occurs in the center, how should the services under the center be handled, how should other backup centers be switched, and where should the traffic arriving at this center go next? These are all factors that should be considered when designing the service.
[0004] Specifically in the field of industrial situational awareness, what we should consider is how to deal with various information changes in a timely manner, combine historical data, track trends, predict possible risks and plan response strategies in advance.
[0005] During the application layer development process, it is often necessary to respond to some system-level changes, which may require the application to do some processing that is not very relevant to the business, and the process is cumbersome, and may not be timely and secure. 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 issues. At present, there is no scientific and reliable intelligent architecture that can overcome the above technical defects. Summary of the invention
[0006] In order to solve the above technical problems, the present application shows a lightweight general industrial situation awareness system. In view of the shortcomings of the existing technology, a lightweight general industrial situation awareness system based on coroutines is designed, which not only minimizes resource consumption, but also can perceive the changes in environmental data in real time. The processing flow design is scientific, complete and sequential. At the same time, it supports some custom perception algorithms, has little intrusion on business and is highly universal.
[0007] In the first aspect, the present application shows a lightweight general industrial situation awareness system, which specifically includes: a system base layer, a system perception layer, a situation awareness monitoring layer, and an application service layer;
[0008] The system base layer refers to the underlying support services of the business system. The system base layer is used to provide the basic capabilities of the business service and is also the cornerstone for the stable operation of the business system.
[0009] As an example, the underlying supporting service refers to: storage service, message queue service and / or cache service.
[0010] The system perception layer is used to dynamically perceive changes in the core configuration data of the system base layer, identify the occurrence of various security risk factors, and collect corresponding environmental data;
[0011] As an example, the environmental data refers to data when the system is running, including CPU indicators and memory usage indicators.
[0012] The situation awareness monitoring layer is used to receive situation awareness data and is also the most important data aggregation point for situation awareness. This layer is connected to the system base layer and the system perception layer downwards, and supports the specific application service layer upwards. It is the link between the application service layer and the system base layer;
[0013] As an example, the situation awareness monitoring layer collects the perception data required for situation awareness in two ways, including:
[0014] The first is an active method: using real-time detection to actively monitor the changes and trends of environmental data at the base layer of the system;
[0015] The second is a passive method: passively receiving the reported perception data of the system perception layer;
[0016] Through the above two complementary methods, the real-time collection of situational awareness data can be completed, while avoiding the loss problem caused by missing changes in perception data.
[0017] As an example, the core components of the situational awareness monitoring layer include:
[0018] ① Screening and confirmation module for perception data: used for screening and confirmation of perception data;
[0019] ②Callback processing module: used for callback processing after business processing is completed, so that the entire situation awareness monitoring layer forms a closed loop of processing.
[0020] The sensing data screening and confirmation module is the most important part of the service processing of the present invention, and the sensing data screening and confirmation module is designed as a plug-in mode.
[0021] As an example of application, the plug-in mode includes the following three:
[0022] 1. Customized advanced processing: It facilitates some high-level requirements and can perform customized development and identification processing based on the needs of perception data;
[0023] 2. Prediction model access: It can use the processing power of big data to complete the screening, filtering and analysis of perception data;
[0024] 3. General algorithm processing: Use general algorithms to perform pattern recognition, inspection, and other processing on sensory data.
[0025] The application service layer is used to complete the docking business services after the screening and confirmation of the perception data;
[0026] Since the application service layer involves connecting the business to the system of the present invention, in order to minimize the intrusion into the business, the application service layer intercepts the perception data before the business service processing, and adjusts the perception data again after the business processing to adapt the situation awareness monitoring layer to receive the required perception data.
[0027] As an example, the specific architecture design of the application service layer is as follows:
[0028] First, the core service of the entire application service layer is designed as a self-circulating mode package. At the data receiving end, a layer of proxy is forwarded to the data to cope with large-volume data and data authentication operations, ensuring the security and effectiveness of the data;
[0029] Secondly, after completing the above operations, the data enters the real-time signal processing service to obtain data signals; the data that need real-time signal processing include: business restart signals, situation awareness data signals, and system-level interruption 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;
[0030] Finally, the data signal is transmitted to the business system, and the business system performs corresponding processing according to the data signal.
[0031] As an example, the corresponding processing includes: being able to exit the self-loop mode by itself, and then forwarding the processing end status to the signal feedback service; after the feedback service processes the data signal, it sends an end signal to the situation awareness monitoring layer; after receiving the end signal, the situation awareness monitoring layer uses the callback mechanism and combines the latest perception data to actively start the self-loop mode; in this way, the situation awareness monitoring layer and the business base layer complete the data processing closed loop under the premise of the principle of minimum intrusion.
[0032] As an application example, the application service layer: uses the channel in the golang programming language combined with the goroutine (lightweight thread) coroutine mechanism to complete data reception, real-time signal processing services, data signal sending and polling services. Since the channel in the golang programming language combined with the goroutine (lightweight thread) coroutine mechanism itself occupies very few resources, it can achieve efficient work without occupying almost any system resources.
[0033] In a second aspect, the present application shows an electronic device, which includes: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the method described in any of the above aspects.
[0034] In a third aspect, the present application shows a non-temporary computer-readable storage medium, which, when the instructions in the storage medium are executed by the processor of the electronic device, enables the electronic device to execute the method described in any of the above aspects.
[0035] In a fourth aspect, the present application illustrates a computer program product. When instructions in the computer program product are executed by a processor of an electronic device, the electronic device is enabled to execute the method described in any of the above aspects.
[0036] Beneficial effects of the present invention:
[0037] During the entire design process of the present invention, since the business only needs to receive signal data that has undergone multiple layers of decision-making and processing, it can complete the corresponding processing of the business for situational awareness while minimizing the intrusion into the business; therefore, without changing the overall architecture design model and method, only adding other plug-in processing or expanding the algorithm in the screening and confirmation of situational awareness data, adding support for other signals in real-time signal processing services, etc., all fall within the scope of protection required by the present invention.
[0038] The present invention cleverly utilizes coroutines and signal mechanisms, and adopts a variety of detection technologies to realize data collection, processing, and processing to predict the current environmental situation and business processing. At the same time, it also expands the signal reception range and the real-time performance of emergency processing, and cooperates with signal feedback to complete the sequential processing closed loop of the overall architecture. The structure is streamlined, resource consumption is low, real-time performance is strong, and security is high. It also has wide versatility and expansion capabilities. General designs may rely on methods such as configuration centers and registration centers, which not only requires the deployment of multiple service systems separately, increasing the complexity of the system, but also requires the consumption of a large amount of resources, and lengthens the service link. Correspondingly, the business side also needs to make relatively large modifications to adapt to this service, and the maintenance costs on both sides are relatively high. BRIEF DESCRIPTION OF THE DRAWINGS
[0039] Figure 1 It is a structural schematic diagram of a lightweight universal industrial situation awareness system of the present invention.
[0040] Figure 2 It is a schematic diagram of the principle of a lightweight universal industrial situation awareness system of the present invention.
[0041] Figure 3 It is a structural block diagram of an electronic device of a lightweight universal industrial situation awareness system of the present invention.
[0042] Figure 4 It is a computer-readable storage medium structure block diagram of a lightweight universal industrial situation awareness system of the present invention. DETAILED DESCRIPTION
[0043] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0044] In the first aspect, the present application shows a lightweight general industrial situation awareness system, which specifically includes: a system base layer, a system perception layer, a situation awareness monitoring layer, and an application service layer;
[0045] The system base layer refers to the underlying support services of the business system. The system base layer is used to provide the basic capabilities of the business service and is also the cornerstone for the stable operation of the business system.
[0046] As an example, the underlying supporting service refers to: storage service, message queue service and / or cache service.
[0047] The system perception layer is used to dynamically perceive changes in the core configuration data of the system base layer, identify the occurrence of various security risk factors, and collect corresponding environmental data;
[0048] As an example, the environmental data refers to data when the system is running, including CPU indicators and memory usage indicators.
[0049] The situation awareness monitoring layer is used to receive situation awareness data and is also the most important data aggregation point for situation awareness. This layer is connected to the system base layer and the system perception layer downwards, and supports the specific application service layer upwards. It is the link between the application service layer and the system base layer;
[0050] As an example, the situation awareness monitoring layer collects the perception data required for situation awareness in two ways, including:
[0051] The first is an active method: using real-time detection to actively monitor the changes and trends of environmental data at the base layer of the system;
[0052] The second is a passive method: passively receiving the reported perception data of the system perception layer;
[0053] Through the above two complementary methods, the real-time collection of situational awareness data can be completed, while avoiding the loss problem caused by missing changes in perception data.
[0054] As an example, the core components of the situational awareness monitoring layer include:
[0055] ① Screening and confirmation module for perception data: used for screening and confirmation of perception data;
[0056] ②Callback processing module: used for callback processing after business processing is completed, so that the entire situation awareness monitoring layer forms a closed loop of processing.
[0057] The sensing data screening and confirmation module is the most important part of the service processing of the present invention, and the sensing data screening and confirmation module is designed as a plug-in mode.
[0058] As an example of application, the plug-in mode includes the following three:
[0059] 1. Customized advanced processing: It facilitates some high-level requirements and can perform customized development and identification processing based on the needs of perception data;
[0060] 2. Prediction model access: It can use the processing power of big data to complete the screening, filtering and analysis of perception data;
[0061] 3. General algorithm processing: Use general algorithms to perform pattern recognition, inspection, and other processing on sensory data.
[0062] The application service layer is used to complete the docking business services after the screening and confirmation of the perception data;
[0063] Since the application service layer involves connecting the business to the system of the present invention, in order to minimize the intrusion into the business, the application service layer intercepts the perception data before the business service processing, and adjusts the perception data again after the business processing to adapt the situation awareness monitoring layer to receive the required perception data.
[0064] As an example, the specific architecture design of the application service layer is as follows:
[0065] First, the core service of the entire application service layer is designed as a self-circulating mode package. At the data receiving end, a layer of proxy is forwarded to the data to cope with large-volume data and data authentication operations, ensuring the security and effectiveness of the data;
[0066] Secondly, after completing the above operations, the data enters the real-time signal processing service to obtain data signals; the data that need real-time signal processing include: business restart signals, situation awareness data signals, and system-level interruption 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;
[0067] Finally, the data signal is transmitted to the business system, and the business system performs corresponding processing according to the data signal.
[0068] As an example, the corresponding processing includes but is not limited to: the self-loop mode can be exited automatically, and then the processing end status is forwarded to the signal feedback service. After the feedback service processes the data signal, it sends an end signal to the situation awareness monitoring layer. After receiving the end signal, the situation awareness monitoring layer uses the callback mechanism and combines the latest perception data to actively start the self-loop mode. In this way, the situation awareness monitoring layer and the business base layer complete the data processing closed loop under the premise of the minimum intrusion principle.
[0069] As an application example, the application service layer: uses the channel in the golang programming language combined with the goroutine (lightweight thread) coroutine mechanism to complete data reception, real-time signal processing services, data signal sending and polling services. Since the channel in the golang programming language combined with the goroutine (lightweight thread) coroutine mechanism itself occupies very few resources, it can achieve efficient work without occupying almost any system resources.
[0070] Below, through specific practical applications, through specific examples of embodiments, the principles of the design of the present invention are explained:
[0071] Embodiment 1:
[0072] Suppose a service is deployed in two centers, where center A manages partitions 1, 2, and 3, and center B manages partitions 4, 5, and 6. Center B also has a partition service backup of center A, and the deployment of center A is similar. When an exception occurs in partition 1 of center A, how should we deal with it:
[0073] First, we don’t know when the anomaly will occur, and the perception frequency of the system perception layer may not be able to quickly monitor such changes. Therefore, we can use the real-time detection method of the situational awareness monitoring layer to discover it. The implementation method of this part can be as follows:
[0074]
[0075]
[0076] Secondly, when the monitoring layer perception module is started, the data can be processed by using the perception data screening and confirmation service to confirm whether changes are needed. The pseudo code is as follows:
[0077]
[0078]
[0079] When the screening and confirmation of the perception data occurs, a signal will be actively sent to changedCh to notify the business layer. The processing of the business layer is relatively simple and only needs to receive the current signal. The pseudo code is as follows:
[0080]
[0081]
[0082] It can not only receive data signals, but also other signals, such as emergency signals from the business system level, to enhance the security processing level, respond at the fastest speed, and improve the security of the business system.
[0083] When the data signal is received, the self-circulating process of the core business is stopped. After the processing is completed, an end signal is sent to closeChan. At this time, the monitoring layer senses the received signal, indicating that the previous data processing has been completed and a new round of self-circulating process needs to be started. Therefore, the business module is actively pulled up again with the latest data, and finally the closed loop of situational data perception from discovery to processing to feedback is completed.
[0084] As an example, the changedCh refers to: the place where the situational awareness monitoring layer receives and stores signals, the name in the example code;
[0085] ticker: a timed monitoring tool that is triggered at fixed intervals;
[0086] Changed, send: both are marker variables, indicating whether the perceived data in the instance has changed;
[0087] SignalChan: The processing when the system actively exits (such as abnormal exit) has nothing to do with the present invention. It is just a common processing of the Go language to prevent system abnormalities, mainly for the integrity of the pseudo code;
[0088] closeChan: is one of the signals received by the situational awareness monitoring layer, which specifically indicates that all perception data has been processed.
[0089] Optionally, an embodiment of the present application further provides an electronic device, comprising: 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, the various processes of the above-mentioned method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.
[0090] The embodiment of the present application also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the above method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0091] Figure 3 800 is a block diagram of an electronic device 800 shown in the present application. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0092] Reference Figure 3 As shown, the electronic device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power 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 .
[0093] The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.
[0094] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, images, videos, etc. The 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 memory, flash memory, magnetic disk or optical disk.
[0095] The power supply component 806 provides power to the various components of the electronic device 800. The 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 the electronic device 800.
[0096] The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the 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 touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0097] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.
[0098] 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 button, volume button, start button, and lock button.
[0099] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the electronic device 800, and the sensor assembly 814 can also detect the position change of the electronic device 800 or a component of the electronic device 800, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and the temperature change of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0100] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G or 5G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast operation information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0101] 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 above methods.
[0102] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by a processor 820 of an electronic device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0103] Figure 419 is a block diagram of a computer-readable storage medium 1900 shown in the present application. For example, the storage medium 1900 may be provided as a server.
[0104] Reference Figure 4 As shown, the storage medium 1900 includes a processing component 1922, which further includes one or more processors, and a memory resource represented by a memory 1932 for storing instructions, such as an application, that can be executed by the processing component 1922. The application stored in the memory 1932 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute instructions to perform the above method.
[0105] The storage medium 1900 may also include a power supply component 1926 configured to perform power management of the storage medium 1900, a wired or wireless network interface 1950 configured to connect the storage medium 1900 to a network, and an input / output (I / O) interface 1958. The storage medium 1900 may operate based on an operating system stored in the memory 1932, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™, or the like.
[0106] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0107] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0108] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
[0109] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the present application can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0110] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0111] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0112] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0113] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0114] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard drives, ROM, RAM, magnetic disks, or optical disks.
[0115] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A lightweight general industrial situation awareness system, characterized in that: include: System base layer, system perception layer, situational awareness monitoring layer, and application service layer; The system base layer is the underlying support service of the business system. The system base layer is an architecture layer used to provide basic capabilities for 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 situation awareness monitoring layer is used to receive situation awareness data, is a data aggregation point for situation awareness, is connected to the system base layer and the system perception layer downward, and supports the specific application service layer upward; The application service layer is used to connect to business services after completing the screening and confirmation of the perception data; the system intercepts and processes the perception data before the business service is processed, and adjusts the perception data again after the business processing to adapt the situation awareness monitoring layer to receive the required perception data.
2. A lightweight universal industrial situation awareness system according to claim 1, characterized in that: The underlying supporting services include at least storage services, message queue services, and cache services.
3. A lightweight universal industrial situation awareness system according to claim 1, characterized in that: The situation awareness monitoring layer collects the perception data required for situation awareness in the following ways: The first is an active method: using real-time detection to actively monitor the changes and trends of environmental data at the base layer of the system; The second is a passive method: passively receiving the reported perception data of the system perception layer.
4. A lightweight universal industrial situation awareness system according to claim 1, characterized in that: The situation awareness monitoring layer includes: A screening and confirmation module is embedded in the situation awareness monitoring layer in a plug-in mode, and is used to screen and confirm the perception data; The callback processing module is used to perform callback processing after the business processing is completed.
5. A lightweight universal industrial situation awareness system according to claim 4, characterized in that: The situational awareness listening layer receives situational awareness data based on the following mode of the plug-in: Customized advanced processing: customized development and identification processing based on the needs of perception data to achieve customized advanced processing; Access the prediction model and use the big data processing capabilities to complete the screening, filtering and analysis of perception data; as well as Use general algorithms to perform pattern recognition and verification on sensory data.
6. A lightweight universal industrial situation awareness system according to claim 1, characterized in that: The application service layer provides docking services after completing the screening and confirmation of the perception data, including: The core services of the application service layer are packaged in a self-circulating mode, and the data is forwarded by proxy when it is received to cope with large-volume data and data authentication operations; After the proxy forwarding operation is completed, the data enters the real-time signal processing service to obtain a data signal; wherein the data processed by the real-time signal includes: a service restart signal, a situation awareness data signal, and a system-level interrupt signal; The data signal is transmitted to the business system so that the business system can perform corresponding business processing according to the data signal.
7. A lightweight universal industrial situation awareness system according to claim 6, characterized in that: The service system performs corresponding service processing according to the data signal, including: The system automatically exits the self-loop mode and forwards the processing end status to the signal feedback service, so that the feedback service can process the data signal and send an end signal to the situation awareness monitoring layer. After receiving the end signal, the situation awareness monitoring layer uses the callback mechanism and actively starts the self-loop mode in combination with the current perception data.
8. A lightweight universal industrial situation awareness system according to claim 1, characterized in that: The application service layer is used to adopt the channel in the golang programming language combined with the lightweight thread coroutine mechanism to complete data reception, real-time signal processing services, data signal sending and polling services.
9. An electronic device, characterized in that: include: A processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the computer program is executed by the processor, a lightweight general industrial situation awareness system as described in any one of claims 1 to 8 is implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, a lightweight general industrial situation awareness system as described in any one of claims 1 to 8 is implemented.
Citation Information
Cited By
Lightweight general industrial situation awareness system
WO2026118892A1