Industrial terminal monitoring method, device and equipment and storage medium
By receiving business change notification messages and dynamically adjusting the alarm threshold, the problem of inaccurate monitoring results in industrial terminals in the existing technology is solved, accurate monitoring and fault alarms are achieved in different business scenarios, and the accuracy and reliability of monitoring are improved. .
Patent Information
- Application Number
- CN202310678671.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-08
- Publication Date
- 2024-12-10
AI Technical Summary
The existing industrial terminal monitoring methods have low accuracy in the monitoring results of industrial terminals, which can easily lead to misjudgment of fault alarms, especially when the industrial terminal itself does not have a SIM card and cannot accurately obtain the terminal's online status when monitoring through CPE, or if the SIM exists. The fixed alarm threshold when the card cannot adapt to business changes.
By receiving business change notification messages sent by the service system server, determine the change type and quantity of the target industrial terminal, dynamically adjust the alarm threshold based on this information, and decide whether to perform alarm processing based on the current terminal number and alarm threshold to ensure that in different business scenarios Accurately monitor the operating status of industrial terminals.
It realizes accurate monitoring of industrial terminals in different business scenarios, reduces the misjudgment of fault alarms, and improves the accuracy and reliability of monitoring results.
Smart Images

Figure CN119109840A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of monitoring technology, and in particular to an industrial terminal monitoring method, device, equipment and storage medium. Background Art
[0002] With the development of wireless communication network technology and the innovation of industrial technology, a variety of industrial terminals are deployed in various industrial scenarios to realize industrial production and management.
[0003] In order to ensure the safety of industrial production, it is necessary to monitor industrial terminals. At present, in one industrial scenario, the industrial terminal itself does not have a corresponding user identity card (SIM card for short). In order to realize the networking of the industrial terminal, it is necessary to switch to the network through the customer premise equipment (full name in English: Customer Premise Equipment, abbreviated as: CPE). Therefore, one method of monitoring industrial terminals is to indirectly monitor the industrial terminals by monitoring the CPE. In another industrial scenario, the industrial terminal has a SIM card, and the industrial terminal is monitored by the number of online SIM cards in the industrial terminal and the fixed fault alarm threshold.
[0004] However, the current monitoring methods for industrial terminals and the accuracy of monitoring results for industrial terminals are both low, which may lead to misjudgment of fault alarms. Summary of the invention
[0005] The embodiment of the present invention provides an industrial terminal monitoring method, device, equipment and storage medium, which solves the technical problems that the prior art can only record the general content but cannot record the comprehensive communication content and the recording efficiency is low.
[0006] In a first aspect, an embodiment of the present invention provides an industrial terminal monitoring method, comprising:
[0007] In response to receiving a business change notification message sent by a server corresponding to the business system, determining the type and number of changes in the target industrial terminals in operation caused by the business change according to the business change notification message;
[0008] Determine the matching target alarm threshold based on the change type and quantity of the target industrial terminal;
[0009] Acquire the number of current target industrial terminals; the current target industrial terminals are industrial terminals that are actually in operation after the business changes;
[0010] Whether to perform alarm processing is determined according to the number of the current target industrial terminals and the target alarm threshold.
[0011] Optionally, determining the change type and quantity of the target industrial terminals in operation caused by the service change according to the service change notification message includes:
[0012] Determine the target service identifier, target service change type and quantity from the service change notification message;
[0013] Obtain the mapping relationship between the pre-configured service identifier, service change type and quantity, and industrial terminal change type and quantity;
[0014] The industrial terminal change type and quantity having a mapping relationship with the target business identifier and the target business change type and quantity are obtained from the mapping relationship as the change type and quantity of the target industrial terminal.
[0015] Optionally, the determining a matching target alarm threshold based on the change type and quantity of the target industrial terminal includes:
[0016] Get pre-configured default alarm thresholds;
[0017] In response to the change type of the target industrial terminal being a reduction in the target industrial terminal, subtracting the default alarm threshold from the change amount of the target industrial terminal, and determining the subtraction result as the target alarm threshold;
[0018] In response to the change type of the target industrial terminal being an increase in the target industrial terminal, the default alarm threshold is added to the change quantity of the target industrial terminal, and the addition result is determined as the target alarm threshold.
[0019] Optionally, determining whether to perform alarm processing according to the number of the current target industrial terminals and the target alarm threshold includes:
[0020] Calculate the change ratio of the target industrial terminals according to the number of the current target industrial terminals and the target alarm threshold;
[0021] Whether to perform alarm processing is determined according to the change ratio of the target industrial terminal and the preset allowable floating industrial terminal ratio.
[0022] Optionally, the change ratio of the target industrial terminal is an increase ratio or a decrease ratio of the target industrial terminal;
[0023] The calculating the change ratio of the target industrial terminals according to the number of the current target industrial terminals and the target alarm threshold comprises:
[0024] In response to the number of the current target industrial terminals being greater than the target alarm threshold, calculating an increase ratio of the target industrial terminals according to the number of the current target industrial terminals and the target alarm threshold;
[0025] In response to the current number of target industrial terminals being less than or equal to the target alarm threshold, a reduction ratio of target industrial terminals is calculated according to the current number of target industrial terminals and the target alarm threshold.
[0026] Optionally, the calculating the increase ratio of the target industrial terminals according to the current number of the target industrial terminals and the target alarm threshold comprises:
[0027] Calculating a first difference between the number of current target industrial terminals and the target alarm threshold, and determining a ratio of the first difference to the target alarm threshold as an increase ratio of the target industrial terminals;
[0028] The calculating the reduction ratio of the target industrial terminals according to the number of the current target industrial terminals and the target alarm threshold comprises:
[0029] A second difference between the target alarm threshold and the number of current target industrial terminals is calculated, and a ratio of the second difference to the target alarm threshold is determined as a reduction ratio of the target industrial terminals.
[0030] Optionally, the determining whether to perform alarm processing according to the change ratio of the target industrial terminal and the preset allowable floating industrial terminal ratio includes:
[0031] If it is determined that the change ratio of the target industrial terminal is greater than the preset allowable floating industrial terminal ratio, determine to perform alarm processing;
[0032] If it is determined that the change ratio of the target industrial terminal is less than or equal to the preset allowable floating industrial terminal ratio, it is determined that no alarm processing is performed.
[0033] Optionally, the change ratio of the target industrial terminal is an increase ratio of the target industrial terminal;
[0034] After the determination to perform alarm processing, the method further includes:
[0035] Generate first alarm information of illegal access of industrial terminal, and send the first alarm information to the operation and maintenance terminal.
[0036] Optionally, the change ratio of the target industrial terminal is a reduction ratio of the target industrial terminal;
[0037] After the determination to perform alarm processing, the method further includes:
[0038] Generate a second alarm message that the industrial terminal is offline, and send the second alarm message to the operation and maintenance terminal.
[0039] Optionally, the business system is an order system, and the business change notification message is order change notification information;
[0040] Alternatively, the business system is a production system, and the business change notification information is production task change notification information.
[0041] In a second aspect, an embodiment of the present invention provides an industrial terminal monitoring device, including:
[0042] A first determination module is used to determine the type and number of changes in the target industrial terminals in operation caused by the business change according to the business change notification message in response to receiving the business change notification message sent by the server corresponding to the business system;
[0043] A second determination module is used to determine a matching target alarm threshold based on the change type and quantity of the target industrial terminal;
[0044] An acquisition module, used to acquire the number of current target industrial terminals; the current target industrial terminals are industrial terminals that are actually in operation after the business changes;
[0045] The third determination module is used to determine whether to perform alarm processing according to the number of the current target industrial terminals and the target alarm threshold.
[0046] In a third aspect, an embodiment of the present invention provides an electronic device, comprising: a processor, and a memory communicatively connected to the processor;
[0047] The memory stores computer-executable instructions;
[0048] The processor executes the computer-executable instructions stored in the memory to implement the method as described in any one of the first aspects.
[0049] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program is executed by a processor to implement a method as described in any one of the first aspects.
[0050] In a fifth aspect, an embodiment of the present invention provides a computer program product, including a computer program, which implements the method as described in any one of the first aspects when executed by a processor.
[0051] The embodiment of the present invention provides an industrial terminal monitoring method, device, equipment and storage medium, the method comprising: in response to receiving a business change notification message sent by a server corresponding to a business system, determining the change type and number of target industrial terminals in operation caused by the business change according to the business change notification message; determining a matching target alarm threshold based on the change type and number of the target industrial terminals; obtaining the number of current target industrial terminals; the current target industrial terminals are industrial terminals that are actually in operation after the business change; determining whether to perform alarm processing according to the number of current target industrial terminals and the target alarm threshold. Since the change type and number of target industrial terminals in operation caused by the business change are determined according to the business change notification message, and the matching target alarm threshold is determined according to the change type and number of the target industrial terminals, the target alarm threshold can change with normal business changes to match different businesses. At the same time, whether to issue an alarm is determined by the number of current target industrial terminals and the target alarm threshold, and whether the number of current target industrial terminals is normal under different businesses can be determined, and the working terminal can be accurately monitored and fault alarms can be accurately issued.
[0052] It should be understood that the contents described in the above summary of the invention are not intended to limit the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0054] Figure 1 A schematic diagram of an application scenario of the industrial terminal monitoring method provided by an embodiment of the present invention;
[0055] Figure 2 A flowchart of an industrial terminal monitoring method provided by an embodiment of the present invention;
[0056] Figure 3 A flowchart of an industrial terminal monitoring method provided by another embodiment of the present invention;
[0057] Figure 4 A flowchart of an industrial terminal monitoring method provided by another embodiment of the present invention;
[0058] Figure 5 A schematic diagram of the structure of an industrial terminal monitoring device provided by an embodiment of the present invention;
[0059] Figure 6 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0060] Embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be construed as being limited to the embodiments described herein, which are instead provided for a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments of the present invention are only for exemplary purposes and are not intended to limit the scope of protection of the present invention.
[0061] The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the embodiments of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein, for example, can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0062] In order to clearly understand the technical solution of the present application, the solution of the prior art is first introduced in detail.
[0063] With the development of wireless communication network technology and the innovation of industrial technology, various industrial terminals are deployed in various industrial scenarios to achieve industrial production and management. For example, in scenarios such as smart logistics, machine vision quality inspection, smart inspection, automated production, and remote equipment control, various industrial terminals are deployed to achieve industrial production and management. In order to ensure the safety of industrial production, industrial terminals need to be monitored.
[0064] In an industrial scenario, the industrial terminal itself does not have a corresponding SIM card. In order to realize the networking of the industrial terminal, it is necessary to switch to the network through the CPE. The signal sent by the operator base station is converted into a wireless signal or a wired signal. The industrial terminal can access the network through the wireless signal or wired signal converted by the CPE. Therefore, the industrial terminal is indirectly monitored by monitoring the CPE. In this method, the industrial terminal can only be monitored when the CPE is offline, and then the industrial terminal offline alarm is triggered. When the industrial terminal is offline but the CPE is not offline, the industrial terminal cannot be monitored and the industrial terminal offline alarm cannot be triggered. Therefore, the method of indirectly monitoring the industrial terminal by monitoring the CPE is not accurate enough for the monitoring results of the industrial terminal, and it is easy to miss the alarm.
[0065] In another industrial scenario, the industrial terminal itself corresponds to a SIM card. Therefore, the number of online SIM cards corresponding to the industrial terminal can be used to monitor whether the industrial terminal is offline. For example, the number of online SIM cards is compared with a fixed fault alarm threshold. If the number of online SIM cards is greater than or less than the fixed fault alarm threshold, a fault alarm is issued. However, when the industrial terminal is repaired or inspected, the inspection equipment can be connected to the network where the industrial terminal is located. For example, a camera with a SIM card is mounted on a drone, and the camera's SIM card is used to transmit the image captured by the camera. The connection and disconnection of the inspection equipment will cause the number of online SIM cards to change, making the number of online SIM cards greater than or less than the fixed fault alarm threshold, thereby triggering a fault alarm. However, when inspecting industrial equipment, it is normal for the number of online SIM cards to change, and no alarm is required. Therefore, by comparing the number of online SIM cards with a fixed fault alarm threshold, the monitoring result of the industrial terminal is not accurate enough, which is easy to cause false alarms.
[0066] In summary, in the prior art, the monitoring methods for industrial terminals and the monitoring results of industrial terminals are both low in accuracy, which may lead to misjudgment of fault alarms.
[0067] Therefore, in order to solve the technical problems in the prior art, the inventors found that when the industrial terminal itself does not have a corresponding SIM card, it is impossible to obtain whether the industrial terminal is online by monitoring the industrial terminal through the CPE, which results in inaccurate monitoring results. When the industrial terminal itself has a corresponding SIM card, when the industrial terminal is monitored by the number of online SIM cards and a fixed alarm threshold, the normal change of the number of online SIM cards will cause the monitoring results of the industrial terminal to be inaccurate. Therefore, if the alarm threshold can change with the business changes of the number of online industrial terminals, and different businesses match different alarm thresholds, the working terminal can be accurately monitored according to the number of online SIM cards and the alarm thresholds corresponding to different businesses, and then accurately perform fault alarms.
[0068] Therefore, the inventor proposes the technical solution of the present application, which is to determine the change type and number of target industrial terminals in operation caused by business changes according to the business change notification message in response to receiving the business change notification message sent by the server corresponding to the business system; determine the matching target alarm threshold based on the change type and number of the target industrial terminals; obtain the number of current target industrial terminals; the current target industrial terminals are industrial terminals that are actually in operation after the business changes; determine whether to perform alarm processing according to the number of current target industrial terminals and the target alarm threshold. Since the change type and number of target industrial terminals in operation caused by business changes are determined according to the business change notification message, and the matching target alarm threshold is determined according to the change type and number of target industrial terminals, the target alarm threshold can change with normal business changes to match different businesses. At the same time, whether to issue an alarm is determined by the number of current target industrial terminals and the target alarm threshold, and it can be determined whether the number of current target industrial terminals is normal under different businesses, accurately monitor the working terminals, and accurately issue fault alarms.
[0069] The application scenarios of the embodiments of the present invention are introduced below.
[0070] Figure 1 A schematic diagram of an application scenario of the industrial terminal monitoring method provided by an embodiment of the present invention. Figure 1 As shown, an application scenario of the industrial terminal monitoring method provided by an embodiment of the present invention includes: an electronic device 10, a server 11 corresponding to a business system, and multiple industrial terminals 12. The electronic device is connected to the server 11 corresponding to the business system in communication. Each industrial terminal 12 can be connected to a network 13, and the network can be a local area network, a private network, the Internet, etc. The electronic device 10 can determine from the network 13 whether each industrial terminal 12 is online or offline, and the target industrial terminal is an industrial terminal that is online, or in other words, in a running state.
[0071] The industrial terminal 12 can execute services. When services change, the industrial terminal 12 can change its own operating state, for example, from operating to non-operating, or from non-operating to operating. When the industrial terminal 12 is in the operating state, it is connected to the network 13 and is in an online state.
[0072] When the operating state of the industrial terminal 12 changes from not operating to operating, a communication connection with the network 13 is established, the network 13 is connected, and the industrial terminal 12 is in an online state; when the operating state of the industrial terminal 12 changes from operating to not operating, the communication connection with the network 13 is disconnected, the network 13 is separated, and the offline state is processed.
[0073] Therefore, when the business changes, the operating status of each industrial terminal will change, and the number of target industrial terminals will also change.
[0074] The server 11 corresponding to the business system can send a business change notification message to the electronic device 10 when the business executed by any industrial terminal 12 changes.
[0075] In response to receiving a business change notification message sent by a server 11 corresponding to the business system, the electronic device 10 determines the type and number of changes in the target industrial terminals in operation caused by the business change according to the business change notification message; and determines a matching target alarm threshold based on the type and number of changes in the target industrial terminals.
[0076] The electronic device 10 can obtain the number of current target industrial terminals and determine whether to perform alarm processing according to the number of current target industrial terminals and the target alarm threshold. The current target industrial terminal is an industrial terminal that is actually in operation after the service changes.
[0077] The technical solution provided in the embodiments of the present application can be applicable to a variety of systems, such as global system of mobile communication (GSM) system, code division multiple access (CDMA) system, wideband code division multiple access (WCDMA) system, general packet radio service (GPRS) system, long term evolution (LTE) system, LTE frequency division duplex (FDD) system, LTE time division duplex (TDD) system, long term evolution advanced (LTE-A) system, universal mobile telecommunication system (UMTS), worldwide interoperability for microwave access (WiMAX) system, 5G new radio (NR) system, etc.
[0078] Therefore, optionally, the above-mentioned base station can be a base station (Base Transceiver Station, referred to as BTS) and / or a base station controller in GSM or CDMA, or a base station (NodeB, referred to as NB) and / or a radio network controller (Radio Network Controller, referred to as RNC) in WCDMA, or an evolved base station (EvolutionalNode B, referred to as eNB or eNodeB) in LTE, or a relay station or access point, or a base station (gNB) in a 5G network, which is not limited in this application.
[0079] Embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0080] Embodiment 1
[0081] Figure 2 A flowchart of an industrial terminal monitoring method provided by an embodiment of the present invention is shown in FIG. Figure 2 As shown, the executor of the industrial terminal monitoring method provided in the embodiment of the present invention is an industrial terminal monitoring device, which can be integrated into an electronic device. The industrial terminal monitoring method provided in this embodiment includes steps 201 to 204.
[0082] Step 201 , in response to receiving a service change notification message sent by a server corresponding to a service system, determining the change type and quantity of target industrial terminals in operation caused by the service change according to the service change notification message.
[0083] In this embodiment, the industrial terminal may be industrial production equipment, shared equipment, monitoring or detection equipment, etc. For example, it may be a CNC machine tool, a shared bicycle, a shared charging pile, a sensor, a camera, a drone equipped with a camera, etc. The industrial terminal is used to process services, and the services processed by the industrial terminal may be order distribution, product production, information collection, etc.
[0084] The target industrial terminal refers to the industrial terminal in operation.
[0085] It is understandable that the number of target industrial terminals can change when the business changes. For example, after the order increases, it may be necessary to start a new industrial terminal to process the new order, and the number of target industrial terminals increases. After the production task is completed, the target industrial terminal that processes the production business can be closed to save energy, and the number of target industrial terminals decreases.
[0086] In this embodiment, the server corresponding to the business system can be electrically connected to the industrial terminal and can control the industrial terminal through the electrical connection. The control of the industrial terminal by the server corresponding to the business system may include: powering on, starting, pausing, adjusting operating parameters, and shutting down.
[0087] When the business changes, users can modify the business on the business system, and then the server corresponding to the business system can change the operating status of any industrial terminal, change the number of target industrial terminals, process the changed business or save energy.
[0088] In this embodiment, when the business changes, the user can also change the operating state of the industrial terminal by other means, such as manual control, and then change the number of target industrial terminals to achieve the purpose of processing the changed business or saving energy. At the same time, the user can modify the business on the business system to achieve business synchronization in the business system.
[0089] The server corresponding to the business system is connected to the electronic device in communication. The business system may be a system for managing industrial terminals, for example, an order system, a production system, etc.
[0090] Optionally, the business system is an order system, and the business change notification message is order change notification information; or the business system is a production system, and the business change notification information is production task change notification information.
[0091] For example, when the business system is an order system, users can add, delete, modify, and other operations on order information on the business system, and the server corresponding to the business system obtains the order change information and sends order change notification information to the electronic system. The order change notification information may include the addition, cancellation, modification, and other operations of an order.
[0092] Exemplarily, when the business system is a production system, users can add, pause, complete, and other operations on production tasks on the business system. The server corresponding to the business system obtains production task change information and sends production task change notification information to the electronic device. The production task change notification information may include the addition, suspension, completion, and other operations of production tasks.
[0093] In this embodiment, the change type of the target industrial terminal may include increase, decrease, etc., and the change quantity of the target industrial terminal may be the number of units, the number of groups, etc.
[0094] Optionally, the service change notification message may include the change type and change quantity of the target industrial terminal, and then the electronic device may determine the change type and change quantity of the target industrial terminal by reading the change type and change quantity of the target industrial terminal included in the service change notification message.
[0095] Step 202: determining a matching target alarm threshold based on the change type and quantity of the target industrial terminal.
[0096] As an optional implementation, in the above embodiment, step 202 is further refined to include steps 2021 to 2023.
[0097] Step 2021, obtain the pre-configured default alarm threshold.
[0098] In this embodiment, the default alarm threshold may match the number of target industrial terminals before the service is changed. For example, if the number of target industrial terminals is 1000 before the service is changed, the default alarm threshold may be 900.
[0099] Step 2022: in response to the change type of the target industrial terminal being a reduction in the target industrial terminal, subtract the default alarm threshold from the change amount of the target industrial terminal, and determine the subtraction result as the target alarm threshold.
[0100] Step 2023, in response to the change type of the target industrial terminal being an increase in the target industrial terminal, the default alarm threshold is added to the change quantity of the target industrial terminal, and the addition result is determined as the target alarm threshold.
[0101] In this embodiment, the number of changes in the target industrial terminals is a numerical value, for example, 100. When the change type of the target industrial terminal is to reduce the target industrial terminal, the target alarm threshold is the difference between the default alarm threshold and the number of changes in the target industrial terminal. When the change type of the target industrial terminal is to increase the target industrial terminal, the target alarm threshold is the sum of the default alarm threshold and the number of changes in the target industrial terminal.
[0102] Specifically, when the change type of the target industrial terminal is to reduce the target industrial terminal, the target alarm threshold can be calculated by the following formula:
[0103] N de =N ae -N bu ;
[0104] When the change type of the target industrial terminal is to add a target industrial terminal, the target alarm threshold can be calculated by the following formula:
[0105] N de =N ae +N bu ;
[0106] Among them, N de is the target alarm threshold, N ae is the default alarm threshold, N bu The number of changes in the target industrial terminal.
[0107] For example, the default alarm threshold is 1000, the number of changes in the target industrial terminal is 100, and when the type of change of the target industrial terminal is to reduce the target industrial terminal, the target alarm threshold is 1000-100=900. When the type of change of the target industrial terminal is to increase the target industrial terminal, the target alarm threshold is 1000+100=1100.
[0108] The industrial terminal monitoring method provided in this embodiment obtains a pre-configured default alarm threshold; in response to the change type of the target industrial terminal being a reduction in the target industrial terminal, the default alarm threshold is subtracted from the change number of the target industrial terminal, and the subtraction result is determined as the target alarm threshold; in response to the change type of the target industrial terminal being an increase in the target industrial terminal, the default alarm threshold is added to the change number of the target industrial terminal, and the addition result is determined as the target alarm threshold. Since the default alarm threshold is calculated according to the change type and number of the target industrial terminal to determine the target alarm threshold, the target alarm threshold can be changed with the business changes to match the current business, the working terminal can be accurately monitored, and alarm errors caused by normal business changes can be avoided.
[0109] Step 203, obtaining the number of current target industrial terminals; the current target industrial terminals are industrial terminals that are actually in operation after the service changes.
[0110] In this embodiment, the industrial terminal may have a corresponding SIM card and may access the network through the corresponding SIM card. The network accessed by the industrial terminal may be a local area network, a private network, the Internet, etc. After the service changes, the electronic device may obtain the number of online SIM cards from the network, and then obtain the number of current target industrial terminals. For example, if the electronic device obtains that the number of online SIM cards is 500, it is considered that the number of current target industrial terminals is 500.
[0111] Exemplarily, the electronic device and the industrial terminal are in the same network, the communication address of each industrial terminal is stored in the electronic device, and the electronic device sends an online confirmation message to each industrial terminal. The online confirmation message is used to instruct the industrial terminal to send an online confirmation response to the electronic device after receiving the online confirmation message. The electronic device can determine the number of online confirmation responses received within a preset time period as the number of target industrial terminals.
[0112] Step 204: Determine whether to perform alarm processing according to the current number of target industrial terminals and the target alarm threshold.
[0113] In this embodiment, the electronic device may compare the current number of target industrial terminals with the target alarm threshold, and perform alarm processing when the current number of target industrial terminals is less than the target alarm threshold.
[0114] The industrial terminal monitoring method provided in this embodiment, in response to receiving a business change notification message sent by a server corresponding to the business system, determines the change type and number of the target industrial terminal in operation caused by the business change according to the business change notification message; determines the matching target alarm threshold based on the change type and number of the target industrial terminal; obtains the number of current target industrial terminals; the current target industrial terminal is the industrial terminal actually in operation after the business change; determines whether to perform alarm processing according to the number of the current target industrial terminals and the target alarm threshold. Since the change type and number of the target industrial terminal in operation caused by the business change are determined according to the business change notification message, and the matching target alarm threshold is determined according to the change type and number of the target industrial terminal, the target alarm threshold can change with the business change to match different businesses. At the same time, by determining whether to issue an alarm according to the number of the current target industrial terminals and the target alarm threshold, it can be determined whether the number of the current target industrial terminals is normal under different businesses, accurately monitor the working terminal, and accurately issue a fault alarm.
[0115] As an optional implementation, in the above embodiment, step 201 is further refined to include steps 2011 to 2013.
[0116] Step 2011: determine the target service identifier, target service change type and quantity from the service change notification message.
[0117] In this embodiment, the service change notification message includes a target service identifier, a target service change type and a quantity. Among them, the service may include a production service, a maintenance service, an inspection service, etc. The service identifier is used to distinguish different services. The target service identifier is the identifier of the service that has changed. For example, when the production service changes, the target service identifier is the identifier of the production service. The target service change type may be increase, decrease, pause, continue, cancel, etc. The target service change quantity may be a numerical value, a proportional value, etc.
[0118] The target business identifier, target business change type and quantity are used to indicate the change of the business. For example, when the target business identifier is the identifier of the production business, the target business change type is increase, and the target business change quantity is 10%, it can indicate that the production task has increased by 10% on the original basis. For another example, when the target business identifier is the identifier of the maintenance business, the target business change type is increase, and the target business change quantity is 3, it can indicate that 3 new maintenance businesses have been added.
[0119] Step 2012: Obtain a mapping relationship between a pre-configured service identifier, service change type and quantity, and industrial terminal change type and quantity.
[0120] In this embodiment, different service identifiers, service change types and quantities may have a mapping relationship with different industrial terminal change types and quantities. This mapping relationship may be pre-configured and may be stored in the electronic device. The electronic device may read the pre-configured mapping relationship between the service identifier, service change type and quantity and the industrial terminal change type and quantity from its memory.
[0121] Step 2013: acquiring, from the mapping relationship, the industrial terminal change type and quantity that have a mapping relationship with the target service identifier, the target service change type and quantity as the change type and quantity of the target industrial terminal.
[0122] In this embodiment, the electronic device can use the target business identifier, target business change type and quantity as keywords or keyword combinations to query in a pre-configured mapping relationship between the business identifier, business change type and quantity and the industrial terminal change type and quantity, and use the queried industrial terminal change type and quantity that has a mapping relationship with the target business identifier, target business change type and quantity as the change type and quantity of the target industrial terminal.
[0123] The industrial terminal monitoring method provided in this embodiment determines the target business identifier, target business change type and quantity from the business change notification message; obtains the mapping relationship between the pre-configured business identifier, business change type and quantity and the industrial terminal change type and quantity; obtains the industrial terminal change type and quantity that has a mapping relationship with the target business identifier, target business change type and quantity from the mapping relationship as the change type and quantity of the target industrial terminal. Since the industrial terminal change type and quantity that has a mapping relationship with the target business identifier, target business change type and quantity is directly obtained from the mapping relationship as the change type and quantity of the target industrial terminal, the change type and quantity of the target industrial terminal can be determined quickly, conveniently and accurately, thereby improving the real-time performance of monitoring the industrial terminal.
[0124] Embodiment 2
[0125] Figure 3 A flowchart of an industrial terminal monitoring method provided by another embodiment of the present invention is as follows: Figure 3 As shown, the industrial terminal monitoring method provided in this embodiment is a further refinement of step 204 based on any one of the above embodiments, and step 204 is further refined to include steps 301 to 302.
[0126] Step 301, calculating the change ratio of the target industrial terminals according to the current number of target industrial terminals and the target alarm threshold.
[0127] In this embodiment, due to business changes, the target industrial terminals will have a reasonable change in quantity. Therefore, in order to enable the target alarm threshold to change with business changes, accommodate this part of reasonable quantity changes, and avoid false alarms, the target alarm threshold is determined based on the change type and quantity of the target industrial terminals.
[0128] Among the changes in the number of target industrial terminals, there are changes in the number caused by business changes, and there may also be changes in the number caused by failures of the target industrial terminals themselves. Therefore, the change ratio of the target industrial terminals can be used to indicate the ratio of the changes in the number of target industrial terminals caused by failures of the target industrial terminals themselves.
[0129] Step 302: Determine whether to perform alarm processing according to the change ratio of the target industrial terminal and the preset allowable floating industrial terminal ratio.
[0130] In this embodiment, when the preset change ratio of the target industrial terminal exceeds the preset allowable floating industrial terminal ratio, it can be determined to perform an alarm process. At this time, it can be understood that, in the change number of the target industrial terminal, the ratio of the change in the number caused by the target industrial terminal's own fault is too large, and the change in the number of the target industrial terminal is unreasonable, so an alarm process needs to be performed.
[0131] The industrial terminal monitoring method provided in this embodiment calculates the change ratio of the target industrial terminal according to the current number of target industrial terminals and the target alarm threshold, and determines whether to perform alarm processing according to the change ratio of the target industrial terminal and the preset allowable floating industrial terminal ratio. Since the rationality of the change number of the target industrial terminal is determined by the change ratio of the target industrial terminal, it is possible to avoid false alarms when the number of target industrial terminals changes due to business changes, thereby improving the accuracy of industrial terminal monitoring.
[0132] Embodiment 3
[0133] Figure 4 A flowchart of an industrial terminal monitoring method provided by another embodiment of the present invention is as follows: Figure 3 As shown, the industrial terminal monitoring method provided in this embodiment is based on any one of the above embodiments, and the change ratio of the target industrial terminal is the increase ratio or decrease ratio of the target industrial terminal, and the step 301 is further refined, then the step 301 is refined to include steps 401 to 402.
[0134] Step 401 : in response to the current number of target industrial terminals being greater than a target alarm threshold, calculating an increase ratio of the target industrial terminals according to the current number of target industrial terminals and the target alarm threshold.
[0135] In this embodiment, since the business change may cause the number of target industrial terminals to increase or decrease, the current number of target industrial terminals is determined by the number of target industrial terminals before the business change and the change type and number of the target industrial terminals, and the target alarm threshold matches the change type and number of the target industrial terminals. Therefore, the target alarm threshold may represent the number of target industrial terminals after the business change.
[0136] When the number of target industrial terminals is greater than the target alarm threshold, it can be understood that the increase in the number of target industrial terminals exceeds the increase in the number of target industrial terminals caused by business changes. At this time, it is possible that the increase in the number of target industrial terminals is caused by the failure of the industrial terminal itself, for example, the industrial terminal turns on itself when it is not needed. It is also possible that other industrial terminals are illegally connected.
[0137] Here, the industrial terminals can be monitored by calculating the increase ratio of the target industrial terminals. The larger the increase ratio of the target industrial terminals, the more the increase in the number of target industrial terminals exceeds the increase in the number of target industrial terminals caused by business changes.
[0138] Exemplarily, the increase ratio of the target industrial terminals may be a ratio of the number of current target industrial terminals to the target alarm threshold.
[0139] Step 402 : In response to the current number of target industrial terminals being less than or equal to the target alarm threshold, a reduction ratio of the target industrial terminals is calculated according to the current number of target industrial terminals and the target alarm threshold.
[0140] As in step 401, when the number of target industrial terminals is less than the target alarm threshold, it can be understood that the number of target industrial terminals reduced exceeds the number of target industrial terminals reduced due to business changes. At this time, the number of target industrial terminals may be reduced due to a fault of the target industrial terminal itself, for example, the target industrial terminal is offline or crashed.
[0141] Here, the industrial terminals can be monitored by calculating the reduction ratio of the target industrial terminals. The larger the reduction ratio of the target industrial terminals, the more the number of target industrial terminals reduced exceeds the number of target industrial terminals reduced due to business changes.
[0142] Exemplarily, the reduction ratio of the target industrial terminals may be a ratio of the number of current target industrial terminals to the target alarm threshold.
[0143] The improved industrial terminal monitoring method of this embodiment uses the change ratio of the target industrial terminal as the increase ratio or decrease ratio of the target industrial terminal; in response to the current number of target industrial terminals being greater than the target alarm threshold, the increase ratio of the target industrial terminal is calculated according to the current number of target industrial terminals and the target alarm threshold; in response to the current number of target industrial terminals being less than or equal to the target alarm threshold, the decrease ratio of the target industrial terminal is calculated according to the current number of target industrial terminals and the target alarm threshold. Since the increase ratio or decrease ratio of the target industrial terminal is calculated when the number of target industrial terminals is greater than or less than the target alarm threshold, the part of the increase or decrease in the number of target industrial terminals that is not caused by business changes is determined from the increase or decrease in the number of target industrial terminals. Therefore, the target terminal can be monitored when the number of target terminals changes, and then it is determined that there is illegal access to the industrial terminal or the target terminal is offline, which is convenient for subsequent alarm processing.
[0144] As an optional implementation, in this embodiment, step 401 and step 402 are refined, and step 401 is refined to include step 4011, and step 402 is refined to include step 4021.
[0145] Step 4011, calculating a first difference between the number of current target industrial terminals and the target alarm threshold, and determining a ratio of the first difference to the target alarm threshold as an increase ratio of the target industrial terminals.
[0146] In this embodiment, the increase ratio of the target industrial terminal can be calculated by the following formula:
[0147]
[0148] Among them, ΔN1 is the first difference, N re is the number of current target industrial terminals, N de is the target alarm threshold, and r′ is the increase ratio of the target industrial terminal.
[0149] Optionally, the increase ratio of the target industrial terminal can also be calculated by the following formula:
[0150]
[0151] Among them, k and b can be coefficients preset according to actual industrial scenarios.
[0152] Step 4021: Calculate a second difference between the target alarm threshold and the number of current target industrial terminals, and determine the ratio of the second difference to the target alarm threshold as the reduction ratio of the target industrial terminals.
[0153] In this embodiment, the reduction ratio of the target industrial terminal can be calculated by the following formula:
[0154]
[0155] Among them, ΔN2 is the second difference, N de is the target alarm threshold, N re is the number of current target industrial terminals, and r″ is the reduction ratio of target industrial terminals.
[0156] Optionally, the increase ratio of the target industrial terminal can also be calculated by the following formula:
[0157]
[0158] Among them, k and b can be coefficients preset according to actual industrial scenarios.
[0159] The monitoring method of industrial terminals provided in this embodiment calculates the first difference between the number of current target industrial terminals and the target alarm threshold, and determines the ratio of the first difference to the target alarm threshold as the increase ratio of the target industrial terminals; calculates the second difference between the target alarm threshold and the number of current target industrial terminals, and determines the ratio of the second difference to the target alarm threshold as the decrease ratio of the target industrial terminals. Since the first difference and the second difference are calculated first, and then the increase ratio or decrease ratio of the target industrial terminal is determined according to the first difference and the second difference and the target alarm threshold, the increase ratio or decrease ratio of the target industrial terminal can be accurately and quickly determined, thereby improving the efficiency of determining the monitoring results of monitoring the industrial terminals, thereby improving the alarm speed, and facilitating the safety of the industrial terminals and industrial production.
[0160] As an optional implementation, in this embodiment, step 302 is refined, and step 302 is refined to include step 501 to step 502.
[0161] Step 501: If it is determined that the change ratio of the target industrial terminal is greater than the preset allowable floating industrial terminal ratio, it is determined to perform alarm processing.
[0162] Step 502: If it is determined that the change ratio of the target industrial terminal is less than or equal to the preset allowable floating industrial terminal ratio, it is determined not to perform alarm processing.
[0163] In this embodiment, in order to avoid frequent alarms of electronic equipment, an alarm process may be performed when the change ratio of the target industrial terminal is greater than the preset allowable floating industrial terminal ratio, and no alarm process may be performed when the change ratio of the target industrial terminal is less than or equal to the preset allowable floating industrial terminal ratio. This is because, in actual applications, the number of target industrial terminals may fluctuate due to various circumstances, such as unstable network connection, frequent business changes, and staff operating errors. As long as the number of target industrial terminals fluctuates within a reasonable range, it is understandable and does not require special processing by operation and maintenance personnel.
[0164] The industrial terminal monitoring method provided in this embodiment determines to perform alarm processing if it is determined that the change ratio of the target industrial terminal is greater than the preset allowable floating industrial terminal ratio, and determines not to perform alarm processing if it is determined that the change ratio of the target industrial terminal is less than or equal to the preset allowable floating industrial terminal ratio. Since the preset allowable floating industrial terminal ratio allows the number of target industrial terminals to fluctuate within a reasonable range, and the preset allowable floating industrial terminal ratio can be adjusted, the applicable scenarios and rationality of industrial terminal monitoring can be improved, which conforms to actual industrial scenarios.
[0165] As an optional implementation manner, in this embodiment, the change ratio of the target industrial terminal is the increase ratio of the target industrial terminal, and after step 501, step 601 is also included.
[0166] Step 601: Generate first alarm information of illegal access of an industrial terminal, and send the first alarm information to an operation and maintenance terminal.
[0167] In this embodiment, the operation and maintenance terminal may be an intelligent terminal carried by the operation and maintenance personnel, such as a smart phone, a smart bracelet, etc. When the change ratio of the target industrial terminal is the increase ratio of the target industrial terminal, and the increase ratio of the target industrial terminal is greater than the preset allowable floating industrial terminal ratio, it is considered that the number of industrial terminals accessing the network is too large, and a first alarm message of illegal access of the industrial terminal may be generated and sent to the operation and maintenance terminal. The first alarm message is used to notify the operation and maintenance personnel of illegal access of the industrial terminal.
[0168] In the industrial terminal monitoring method provided in this embodiment, the change ratio of the target industrial terminal is the increase ratio of the target industrial terminal, and the first alarm information of illegal access of the industrial terminal is generated and sent to the operation and maintenance terminal. Since the first alarm information of illegal access of the industrial terminal is sent to the operation and maintenance terminal, the operation and maintenance personnel can directly know that the industrial terminal is illegally accessed, and can quickly make an emergency response, inspect and maintain each industrial terminal, and ensure the safety of the industrial terminal and industrial production.
[0169] As an optional implementation manner, in this embodiment, the change ratio of the target industrial terminal is a reduction ratio of the target industrial terminal, and after step 501, step 701 is also included.
[0170] Step 701, generate a second alarm message that the industrial terminal is offline, and send the second alarm message to the operation and maintenance terminal.
[0171] In this embodiment, when the change ratio of the target industrial terminal is the reduction ratio of the target industrial terminal, and the reduction ratio of the target industrial terminal is greater than the preset allowable floating industrial terminal ratio, it is considered that the number of industrial terminals that have been disconnected is too large, and a second alarm information of the industrial terminal being disconnected from the network can be sent to the operation and maintenance terminal. The second alarm information is used to notify the operation and maintenance personnel that the industrial terminal is disconnected from the network.
[0172] In the industrial terminal monitoring method provided in this embodiment, the change ratio of the target industrial terminal is the reduction ratio of the target industrial terminal, and the second alarm information of the industrial terminal being disconnected from the network is generated, and the second alarm information is sent to the operation and maintenance terminal. Since the second alarm information of the industrial terminal being disconnected from the network is sent to the operation and maintenance terminal, the operation and maintenance personnel can directly know that the industrial terminal is disconnected from the network, and can quickly make an emergency response, inspect and maintain each industrial terminal, and ensure the safety of the industrial terminal and industrial production.
[0173] Embodiment 3
[0174] Figure 5 A schematic diagram of the structure of an industrial terminal monitoring device provided by an embodiment of the present invention is shown in FIG. Figure 5 As shown, the industrial terminal monitoring device provided in this embodiment is located in an electronic device. The industrial terminal monitoring device 50 provided in this embodiment includes: a first determination module 51 , a second determination module 52 , an acquisition module 53 and a third determination module 54 .
[0175] The first determining module 51 is configured to determine, in response to receiving a business change notification message sent by a server corresponding to the business system, the change type and quantity of the target industrial terminals in operation caused by the business change according to the business change notification message.
[0176] The second determination module 52 is used to determine a matching target alarm threshold based on the change type and quantity of the target industrial terminal.
[0177] The acquisition module 53 is used to acquire the number of current target industrial terminals; the current target industrial terminals are industrial terminals that are actually in operation after the service changes.
[0178] The third determination module 54 is used to determine whether to perform alarm processing according to the number of the current target industrial terminals and the target alarm threshold.
[0179] The industrial terminal monitoring device provided in this embodiment can perform Figure 2 The technical solution of the method embodiment shown has similar implementation principles and technical effects, which will not be repeated here.
[0180] Optionally, the first determination module 51 is used to determine the target business identifier, target business change type and quantity from the business change notification message; obtain a mapping relationship between a pre-configured business identifier, business change type and quantity and an industrial terminal change type and quantity; and obtain an industrial terminal change type and quantity that has a mapping relationship with the target business identifier, target business change type and quantity from the mapping relationship as the change type and quantity of the target industrial terminal.
[0181] Optionally, the second determination module 52 is used to obtain a pre-configured default alarm threshold; in response to the change type of the target industrial terminal being a reduction in the target industrial terminal, subtract the default alarm threshold from the change quantity of the target industrial terminal, and determine the subtraction result as the target alarm threshold; in response to the change type of the target industrial terminal being an increase in the target industrial terminal, add the default alarm threshold to the change quantity of the target industrial terminal, and determine the addition result as the target alarm threshold.
[0182] Optionally, the third determination module 54 is used to calculate the change ratio of the target industrial terminals according to the number of the current target industrial terminals and the target alarm threshold; and determine whether to perform alarm processing according to the change ratio of the target industrial terminals and the preset allowable floating industrial terminal ratio.
[0183] Optionally, the change ratio of the target industrial terminal is the increase ratio or decrease ratio of the target industrial terminal; the third determination module 54 is specifically used to, in response to the number of the current target industrial terminals being greater than the target alarm threshold, calculate the increase ratio of the target industrial terminals according to the number of the current target industrial terminals and the target alarm threshold; in response to the number of the current target industrial terminals being less than or equal to the target alarm threshold, calculate the decrease ratio of the target industrial terminals according to the number of the current target industrial terminals and the target alarm threshold.
[0184] Optionally, the third determination module 54 is also specifically used to calculate a first difference between the current number of target industrial terminals and the target alarm threshold, and determine the ratio of the first difference to the target alarm threshold as the increase ratio of the target industrial terminals; calculate a second difference between the target alarm threshold and the current number of target industrial terminals, and determine the ratio of the second difference to the target alarm threshold as the decrease ratio of the target industrial terminals.
[0185] Optionally, the third determination module 54 is specifically used to determine whether to perform alarm processing if the change ratio of the target industrial terminal is greater than the preset allowable floating industrial terminal ratio; if the change ratio of the target industrial terminal is less than or equal to the preset allowable floating industrial terminal ratio, determine not to perform alarm processing.
[0186] Optionally, the change ratio of the target industrial terminal is the increase ratio of the target industrial terminal; the industrial terminal monitoring device 50 also includes an alarm module, which is used to generate a first alarm information of illegal access to the industrial terminal and send the first alarm information to the operation and maintenance terminal.
[0187] Optionally, the change ratio of the target industrial terminal is a reduction ratio of the target industrial terminal; the alarm module is also used to generate a second alarm information that the industrial terminal is offline, and send the second alarm information to the operation and maintenance terminal.
[0188] Optionally, the business system is an order system, and the business change notification message is order change notification information; or the business system is a production system, and the business change notification information is production task change notification information.
[0189] The industrial terminal monitoring device provided in this embodiment can also perform Figure 3 and Figure 4 The technical solution of the method embodiment shown has similar implementation principles and technical effects, which will not be repeated here.
[0190] Embodiment 4
[0191] Figure 6 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention is shown in FIG. Figure 6 As shown, the electronic device 60 includes: a processor 62 and a memory 61 communicatively connected to the processor.
[0192] The memory 61 stores computer-executable instructions. The processor 62 executes the computer-executable instructions stored in the memory to implement the industrial terminal monitoring method provided in the corresponding embodiment.
[0193] The relevant instructions can be understood by referring to the relevant descriptions and effects corresponding to the steps in the accompanying drawings, and no further elaboration is given here.
[0194] exist Figure 6 In a corresponding embodiment, the program may include program code, and the program code includes computer-executable instructions. The memory may include a high-speed RAM memory, and may also include a non-volatile memory, such as at least one disk memory.
[0195] The memory, transceiver and processor are connected through a bus. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 6 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0196] An embodiment of the present invention further provides a computer-readable storage medium on which a computer program is stored. The computer program is executed by a processor to implement the industrial terminal monitoring method provided by any embodiment of the present invention.
[0197] An embodiment of the present invention further provides a computer program product, including a computer program, and when the computer program is executed by a processor, the industrial terminal monitoring method provided by any one of the above embodiments is implemented.
[0198] In the several embodiments provided by the present invention, 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 modules is only a logical function division, and there may be other division methods in actual implementation, such as multiple modules 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 modules, which can be electrical, mechanical or other forms.
[0199] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0200] In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of hardware plus software functional modules.
[0201] The program code for implementing the method of the present invention can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer or other programmable data processing device, so that the program code, when executed by the processor or controller, enables the functions / operations specified in the flow chart and / or block diagram to be implemented. The program code can be executed entirely on the machine, partially on the machine, partially on the machine as a stand-alone software package and partially on a remote machine, or entirely on a remote machine or server.
[0202] In the context of the present invention, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0203] In addition, although each operation is depicted in a specific order, this should be understood as requiring such operations to be performed in the specific order shown or in a sequential order, or requiring that all illustrated operations should be performed to obtain the desired results. Under certain circumstances, multiple characters and parallel processing may be advantageous. Similarly, although several specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Certain features described in the context of separate embodiments can also be implemented in a single implementation in combination. Conversely, the various features described in the context of a single implementation can also be implemented in multiple implementations individually or in any suitable sub-combination.
[0204] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.
Claims
1. An industrial terminal monitoring method, characterized in that: include: In response to receiving a business change notification message sent by a server corresponding to the business system, determining the type and number of changes in the target industrial terminals in operation caused by the business change according to the business change notification message; Determine the matching target alarm threshold based on the change type and quantity of the target industrial terminal; Acquire the number of current target industrial terminals; the current target industrial terminals are industrial terminals that are actually in operation after the business changes; Whether to perform alarm processing is determined according to the number of the current target industrial terminals and the target alarm threshold.
2. The method according to claim 1, characterized in that The determining, according to the service change notification message, the change type and quantity of the target industrial terminal in operation caused by the service change includes: Determine the target service identifier, target service change type and quantity from the service change notification message; Obtain the mapping relationship between the pre-configured service identifier, service change type and quantity, and industrial terminal change type and quantity; The industrial terminal change type and quantity having a mapping relationship with the target business identifier and the target business change type and quantity are obtained from the mapping relationship as the change type and quantity of the target industrial terminal.
3. The method according to claim 1, characterized in that: The method of determining a matching target alarm threshold based on the change type and quantity of the target industrial terminal includes: Get pre-configured default alarm thresholds; In response to the change type of the target industrial terminal being a reduction in the target industrial terminal, subtracting the default alarm threshold from the change amount of the target industrial terminal, and determining the subtraction result as the target alarm threshold; In response to the change type of the target industrial terminal being an increase in the target industrial terminal, the default alarm threshold is added to the change quantity of the target industrial terminal, and the addition result is determined as the target alarm threshold.
4. The method according to claim 1, characterized in that The determining whether to perform alarm processing according to the number of the current target industrial terminals and the target alarm threshold comprises: Calculate the change ratio of the target industrial terminals according to the number of the current target industrial terminals and the target alarm threshold; Whether to perform alarm processing is determined according to the change ratio of the target industrial terminal and the preset allowable floating industrial terminal ratio.
5. The method according to claim 4, characterized in that The change ratio of the target industrial terminal is the increase ratio or decrease ratio of the target industrial terminal; The calculating the change ratio of the target industrial terminals according to the number of the current target industrial terminals and the target alarm threshold comprises: In response to the number of the current target industrial terminals being greater than the target alarm threshold, calculating an increase ratio of the target industrial terminals according to the number of the current target industrial terminals and the target alarm threshold; In response to the current number of target industrial terminals being less than or equal to the target alarm threshold, a reduction ratio of target industrial terminals is calculated according to the current number of target industrial terminals and the target alarm threshold.
6. The method according to claim 5, characterized in that The calculating the increase ratio of the target industrial terminals according to the number of the current target industrial terminals and the target alarm threshold comprises: Calculating a first difference between the number of current target industrial terminals and the target alarm threshold, and determining a ratio of the first difference to the target alarm threshold as an increase ratio of the target industrial terminals; The calculating the reduction ratio of the target industrial terminals according to the number of the current target industrial terminals and the target alarm threshold comprises: A second difference between the target alarm threshold and the number of current target industrial terminals is calculated, and a ratio of the second difference to the target alarm threshold is determined as a reduction ratio of the target industrial terminals.
7. The method according to claim 5, characterized in that The determining whether to perform alarm processing according to the change ratio of the target industrial terminal and the preset allowable floating industrial terminal ratio includes: If it is determined that the change ratio of the target industrial terminal is greater than the preset allowable floating industrial terminal ratio, determine to perform alarm processing; If it is determined that the change ratio of the target industrial terminal is less than or equal to the preset allowable floating industrial terminal ratio, it is determined that no alarm processing is performed.
8. The method according to claim 7, characterized in that The change ratio of the target industrial terminal is the increase ratio of the target industrial terminal; After the determination to perform alarm processing, the method further includes: Generate first alarm information of illegal access of industrial terminal, and send the first alarm information to the operation and maintenance terminal.
9. The method according to claim 7, characterized in that: The change ratio of the target industrial terminal is the reduction ratio of the target industrial terminal; After the determination to perform alarm processing, the method further includes: Generate a second alarm message that the industrial terminal is offline, and send the second alarm message to the operation and maintenance terminal.
10. The method according to any one of claims 1 to 9, characterized in that: The business system is an order system, and the business change notification message is order change notification information; Alternatively, the business system is a production system, and the business change notification information is production task change notification information.
11. An industrial terminal monitoring device, characterized in that: include: A first determination module is used to determine the type and number of changes in the target industrial terminals in operation caused by the business change according to the business change notification message in response to receiving the business change notification message sent by the server corresponding to the business system; A second determination module is used to determine a matching target alarm threshold based on the change type and quantity of the target industrial terminal; An acquisition module, used to acquire the number of current target industrial terminals; the current target industrial terminals are industrial terminals that are actually in operation after the business changes; The third determination module is used to determine whether to perform alarm processing according to the number of the current target industrial terminals and the target alarm threshold.
12. An electronic device, characterized in that: include: A processor, and a memory and a transceiver communicatively connected to the processor; The memory stores computer-executable instructions; the transceiver is used to send and receive data; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 10.
13. A computer-readable storage medium, characterized in that: A computer program is stored thereon, and the computer program is executed by a processor to implement the method according to any one of claims 1 to 10.
