CN113438093A - Alarm method, device and equipment - Google Patents

Alarm method, device and equipment Download PDF

Info

Publication number
CN113438093A
CN113438093A CN202110752819.3A CN202110752819A CN113438093A CN 113438093 A CN113438093 A CN 113438093A CN 202110752819 A CN202110752819 A CN 202110752819A CN 113438093 A CN113438093 A CN 113438093A
Authority
CN
China
Prior art keywords
alarm
identification codes
swarm
members
alarmed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110752819.3A
Other languages
Chinese (zh)
Inventor
曾丹
李树彬
杨健
王永刚
高斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu New Hope Finance Information Co Ltd
Original Assignee
Chengdu New Hope Finance Information Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu New Hope Finance Information Co Ltd filed Critical Chengdu New Hope Finance Information Co Ltd
Priority to CN202110752819.3A priority Critical patent/CN113438093A/en
Publication of CN113438093A publication Critical patent/CN113438093A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis

Abstract

The application discloses a warning method, a warning device and warning equipment, which are applied to swarm robots and comprise the following steps: configuring different identification codes and the members of the group to be alarmed corresponding to the identification codes for the swarm robots based on different service scenes; wherein each of said business scenarios corresponds to one of said identification codes of said swarm robots; and acquiring an alarm instruction of the service scene, and controlling the swarm robots carrying the identification codes corresponding to the service scene to alarm the members of the alarmed swarm corresponding to the identification codes according to the alarm instruction. The method and the device have the advantages that different identification codes and the alarmed group members corresponding to the identification codes are configured for the swarm robots based on different service scenes, so that the swarm robots carrying the corresponding identification codes are controlled to alarm the alarmed members under different service scenes, the different alarmed members can be alarmed in batches according to different service scenes, and the alarm flexibility and the alarm selectivity are improved.

Description

Alarm method, device and equipment
Technical Field
The invention relates to the technical field of computers, in particular to an alarm method, an alarm device and alarm equipment.
Background
In the era of the vigorous development of the current internet, in order to improve the operation and maintenance quality, the warning information is promoted for corresponding personnel by short message warning, mail warning, telephone voice warning and enterprise WeChat application warning. However, short message alarming needs to be connected with a three-party short message platform, the stability, reliability and cost of the short message platform need to be examined in the early stage, for example, a cloud network, one short message is 0.03-0.05 yuan, and during the use period, short messages need to be configured with a short message template, and the configuration of the short message template needs to consider the limitations of sensitive characters, the number of characters and the like. The fault tolerance is low, the switch is not closed during the pressure test or the program test, which causes the batch short message sending and the cost loss, and in addition, rich text can not be sent, which is not suitable for the alarm of sending longer text. Compared with the short message alarm, the mail alarm saves cost, is a traditional alarm mode, but the alarm information is easy to ignore, and the abnormality cannot be sensed at the first time. Telephone voice alarm is most direct, but the cost is more expensive than short message alarm, voice alarm cannot be given all the time, life can be seriously influenced, and the method is only suitable for alarm in an emergency serious scene.
At present, social software such as WeChat and nailing becomes an integral part of people's life. Particularly, in the application of enterprise wechat, because different enterprise wechat groups have more and larger processed information amount, group members and notification information in the enterprise wechat groups need to be managed, and automatic pushing of the warning information to the group members can be realized, so that the group members can see the warning content more clearly and process the warning content at the first time. In the prior art, the mode of giving an alarm to group members through enterprise WeChat groups is general, but information push is generally not selectively carried out, different alarm information can not be pushed for different group member types, pertinence is absent, cost is high, and the alarm information pushed for certain group members is invalid information.
Therefore, how to provide an efficient and flexible swarm robot alarm pushing method is a technical problem to be solved in the field.
Disclosure of Invention
In view of this, the present invention provides an alarm method, an alarm device, and an alarm apparatus, and also provides a corresponding storage medium, which can perform alarm for different members to be alarmed in batches according to different service scenarios, thereby improving alarm flexibility and selectivity. The specific scheme is as follows:
a first aspect of the present application provides an alarm method applied to swarm robots, including:
configuring different identification codes and the members of the group to be alarmed corresponding to the identification codes for the swarm robots based on different service scenes; wherein each of said business scenarios corresponds to one of said identification codes of said swarm robots;
and acquiring an alarm instruction of the service scene, and controlling the swarm robots carrying the identification codes corresponding to the service scene to alarm the members of the alarmed swarm corresponding to the identification codes according to the alarm instruction.
Optionally, the warning method further includes: grouping the alarmed group members in advance, and setting corresponding group codes for each group of the alarmed group members to obtain alarmed group codes;
correspondingly, different identification codes and the members of the group to be warned corresponding to the identification codes are configured for the swarm robots based on different service scenes, and the method comprises the following steps:
and configuring different identification codes and the group codes of the warned alarms corresponding to the identification codes for the swarm robots based on different service scenes.
Optionally, before the controlling the swarm robots that carry the identification codes corresponding to the service scenarios to alarm the members of the alarmed swarm corresponding to the identification codes according to the alarm instruction, the method further includes:
and acquiring the identification code corresponding to the service scene, and ending the alarm if the corresponding identification code does not exist or the swarm robots of the corresponding identification code are not started.
Optionally, the obtaining an alarm instruction of the service scene and controlling the swarm robots carrying the identification code corresponding to the service scene to alarm the alarmed swarm member corresponding to the identification code according to the alarm instruction includes:
acquiring an alarm instruction for alarming the service scene in a text form;
and controlling the swarm robots carrying the identification codes corresponding to the service scenes to send alarm texts to the members of the alarmed swarm corresponding to the identification codes.
Optionally, the obtaining an alarm instruction of the service scene and controlling the swarm robots carrying the identification code corresponding to the service scene to alarm the alarmed swarm member corresponding to the identification code according to the alarm instruction includes:
acquiring an alarm instruction for alarming the service scene in a text form and alarming in a file form;
and controlling the swarm robots carrying the identification codes corresponding to the service scene to acquire the alarm file according to the file path of the alarm file, and sending the alarm file and the alarm text to the members of the alarmed swarm corresponding to the identification codes.
Optionally, after obtaining the alert file according to the file path of the alert file, the method further includes:
and judging whether the size of the alarm file meets a preset condition, if so, starting the step of sending the alarm file and the alarm text to the alarm group member corresponding to the identification code.
Optionally, after configuring different identification codes and the group members to be alerted corresponding to the identification codes for the swarm robots based on different service scenarios, the method further includes:
configuring alarm times thresholds for the swarm robots with different identification codes for limiting the alarm times of the swarm robots;
correspondingly, before controlling the swarm robots carrying the identification codes corresponding to the service scenes to alarm the members of the alarmed swarm corresponding to the identification codes according to the alarm instruction, the method further comprises the following steps:
and judging whether the alarm times of the swarm robots of the identification code corresponding to the service scene exceed the alarm time threshold value or not, and if so, ending the alarm.
Optionally, the determining whether the alarm times of the swarm robots of the identification code corresponding to the service scenario exceed the alarm time threshold includes:
and judging whether the alarming times of the swarm robots of the identification codes corresponding to the service scene exceed the alarming time threshold value or not in a remote dictionary service mode.
A second aspect of the present application provides an alarm device applied to swarm robots, including:
the configuration module is used for configuring different identification codes and the alarmed swarm members corresponding to the identification codes for the swarm robots based on different service scenes; wherein each of said business scenarios corresponds to one of said identification codes of said swarm robots;
and the alarm module is used for acquiring an alarm instruction of the service scene and controlling the swarm robots carrying the identification codes corresponding to the service scene to alarm the members of the alarmed swarm corresponding to the identification codes according to the alarm instruction.
A third aspect of the application provides an electronic device comprising a processor and a memory; wherein the memory is used for storing a computer program which is loaded and executed by the processor to implement the aforementioned alerting method.
A fourth aspect of the present application provides a computer-readable storage medium having stored therein computer-executable instructions, which, when loaded and executed by a processor, implement the aforementioned alert method.
In the application, different identification codes and the members of the group to be alarmed corresponding to the identification codes are configured for the swarm robots based on different service scenes; wherein each of said business scenarios corresponds to one of said identification codes of said swarm robots; and then acquiring an alarm instruction of the service scene, and controlling the swarm robots carrying the identification codes corresponding to the service scene to alarm the members of the alarmed swarm corresponding to the identification codes according to the alarm instruction. The method and the device have the advantages that different identification codes and the alarmed group members corresponding to the identification codes are configured for the swarm robots based on different service scenes, so that the swarm robots carrying the corresponding identification codes are controlled to alarm the alarmed members under different service scenes, the different alarmed members can be alarmed in batches according to different service scenes, and the alarm flexibility and the alarm selectivity are improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
FIG. 1 is a flow chart of an alarm method provided in the present application;
FIG. 2 is a flow chart of a specific alert mode provided herein;
FIG. 3 is a flow chart of a specific warning method provided in the present application;
FIG. 4 is a schematic diagram of a specific swarm robot configuration provided herein;
FIG. 5 is a schematic diagram of an implementation of a specific swarm robot alarm provided by the present application;
FIG. 6 is a schematic structural diagram of an alarm device according to the present application;
fig. 7 is a structural diagram of an electronic alarm device according to the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the prior art, the mode of giving an alarm to group members through enterprise WeChat groups is general, but information push is generally not selectively carried out, different alarm information can not be pushed for different group member types, pertinence is absent, cost is high, and the alarm information pushed for certain group members is invalid information. Aiming at the technical defects, the method for alarming by the swarm robots configures different identification codes and the alarmed swarm members corresponding to the identification codes for the swarm robots based on different service scenes, so that the swarm robots carrying the corresponding identification codes are controlled to alarm the alarmed members in different service scenes, the different alarmed members can be alarmed in batches according to different service scenes, and the alarming flexibility and the alarming selectivity are improved.
Fig. 1 is a flowchart of an alarm method according to an embodiment of the present application. Referring to fig. 1, the warning method is applied to swarm robots and comprises the following steps:
s11: configuring different identification codes and the members of the group to be alarmed corresponding to the identification codes for the swarm robots based on different service scenes; wherein each of the service scenarios corresponds to one of the identification codes of the swarm robots.
In this embodiment, different identification codes are configured for the swarm robots based on different service scenarios, and each service scenario corresponds to one identification code of the swarm robots. It is understood that one swarm robot can be configured with a plurality of identification codes, that is, one swarm robot can correspond to a plurality of service scenes, but only one swarm robot carrying the corresponding identification code performs alarm processing in one service scene. Each of the business scenarios may be understood as a different business system, including but not limited to a reconciliation system, a deposit system, etc. When each service system is accessed, only the service system needs to be integrated with the client executing the alarm method in the embodiment. Meanwhile, the swarm robots are configured with the members of the swarm to be alarmed corresponding to the identification codes, and the members of the swarm to be alarmed correspond to the identification codes one to one. Taking enterprise wechat as an example, the client side sends corresponding warning messages to specific group members in a specific enterprise wechat group through an API provided by the enterprise wechat, so that the access cost is reduced, and the warning efficiency is improved.
S12: and acquiring an alarm instruction of the service scene, and controlling the swarm robots carrying the identification codes corresponding to the service scene to alarm the members of the alarmed swarm corresponding to the identification codes according to the alarm instruction.
In this embodiment, after configuring different identification codes and the group members to be warned corresponding to the identification codes, when acquiring the warning instruction of the service scene, the swarm robots carrying the identification codes corresponding to the service scene are controlled to warn the group members to be warned corresponding to the identification codes according to the warning instruction, so as to distribute the swarm robots and the objects to be warned according to service requirements, and flexibly cope with the change of the service scene. The existing enterprise wechat application alarm supports message pushing of texts, pictures, files and the like, is rich in function, but cannot simultaneously achieve pushing of mixed formats of the texts, the files and the like, and integrated application message pushing is troublesome, an enterprise wechat background is required to create applications, configure callback addresses and allocate login credentials, the enterprise wechat background relates to a lot of employee information, is inconvenient to open and configure relevant information for employees, and is required to communicate with professionals, and the access cost is high. The embodiment of the application has the advantages of low access cost and use cost and rich functions, and can simultaneously push messages such as texts and files and support all scenes needing warning.
In one embodiment, the alert information is pushed solely in the form of text. Firstly, an alarm instruction for alarming in a text mode in the service scene is obtained, and then the swarm robots carrying the identification codes corresponding to the service scene are controlled to send alarm texts to the members of the alarmed swarm corresponding to the identification codes. In the mode, the swarm robot pushes the text only by sending the text content and the assigned unique identification code of the swarm robot.
In another embodiment, the alarm information is pushed in the form of text and file at the same time, as shown in fig. 2, which includes step S121 and step S122. And firstly, acquiring an alarm instruction for alarming the service scene in a text form and alarming in a file form. And then controlling the swarm robots carrying the identification codes corresponding to the service scene to acquire the alarm file according to the file path of the alarm file, and sending the alarm file and the alarm text to the members of the alarmed swarm corresponding to the identification codes. In this embodiment, the swarm robot pushes the alarm file in a file sending path on the access side instead of a file stream mode, so that the influence of a large amount of bandwidth occupied by the file stream on the stability of other systems is avoided. In this way, the swarm robots only need to send the file path, the text content and the assigned unique identification codes of the swarm robots. In addition, the text content is set to be selectively sent, that is, the alarm file can be pushed independently, and the alarm text can also be pushed simultaneously.
Therefore, the embodiment of the application allocates different identification codes and the alarmed swarm members corresponding to the identification codes for the swarm robots based on different service scenes; wherein each of said business scenarios corresponds to one of said identification codes of said swarm robots; and then acquiring an alarm instruction of the service scene, and controlling the swarm robots carrying the identification codes corresponding to the service scene to alarm the members of the alarmed swarm corresponding to the identification codes according to the alarm instruction. According to the embodiment of the application, different identification codes and the alarmed group members corresponding to the identification codes are configured for the swarm robots based on different service scenes, so that the swarm robots carrying the corresponding identification codes are controlled to alarm the alarmed members under different service scenes, the different alarmed members can be alarmed in batches according to different service scenes, and the alarm flexibility and the alarm selectivity are improved.
Fig. 3 is a flowchart of a specific alarm method provided in an embodiment of the present application. Referring to fig. 3, the warning method includes:
s21: and grouping the alarmed group members in advance, and setting corresponding group codes for each group of the alarmed group members to obtain the alarmed group codes.
S22: configuring different identification codes and the group codes of the warned alarms corresponding to the identification codes for the swarm robots based on different service scenes; wherein each of the service scenarios corresponds to one of the identification codes of the swarm robots.
In this embodiment, the group members to be alarmed are grouped in advance, and a corresponding group code is set for each group of the group members to be alarmed, so as to obtain the group code to be alarmed. The set of codes to be alarmed may be set 1, set 2, etc., and each of the set of codes to be alarmed corresponds to a different member to be alarmed, as shown in fig. 4. And then configuring different identification codes and the alarm group codes corresponding to the identification codes for the swarm robots based on different service scenes, wherein each service scene corresponds to one identification code of the swarm robots. The identification code in this embodiment may be a unique code assigned in a format of "service line _ R robot serial number". The group members to be alarmed in each alarm group code can be stored in a list in the form of mobile phone numbers of the group members to be alarmed, so that the alarm group codes are suitable for different services and different scenes needing to push alarm messages to different group members. Furthermore, the present embodiment can also control whether the swarm robots are enabled and can push messages for the members in the group through the switches. And when the switch is closed, the role alarm is invalid, no alarm message is sent, and the closing of the switch can be set in a database table.
S23: configuring alarm times threshold values for limiting alarm times of the swarm robots different from the identification codes.
S24: and acquiring an alarm instruction of the service scene, judging whether the alarm frequency of the swarm robots of the identification code corresponding to the service scene exceeds the alarm frequency threshold value, and if so, ending the alarm.
S25: and if not, controlling the swarm robots carrying the identification codes corresponding to the service scenes to alarm the members of the swarm to be alarmed corresponding to the identification codes according to the alarm instruction.
In this embodiment, in order to improve the alarm fault tolerance rate and the rationality, a maximum number of daily alarms may be further configured. Specifically, alarm time thresholds for limiting the alarm times of the swarm robots are configured for the swarm robots with different identification codes. The alarm frequency threshold is set according to specific service requirements, and if the alarm frequency threshold is set to 200 times, the alarm frequency threshold is not limited in the embodiment of the present application. Wherein, whether the alarm times of the swarm robots of the identification code corresponding to the service scene exceed the alarm time threshold value can be judged by a Remote Dictionary service (Redis) mode. The reset period of the alarm number threshold may be morning each day. Redis is an open source API written in ANSIC language, supports network, can be based on a log type with memory and can also be persistent, and provides multiple languages.
In this embodiment, as shown in fig. 5, after the alarm instruction of the service scenario is obtained, the identification code corresponding to the service scenario is further obtained, and if the corresponding identification code does not exist or the swarm robots of the corresponding identification code are not enabled, the alarm is ended. And if the swarm robots corresponding to the identification code are in the enabled state, judging whether the alarm frequency of the swarm robots of the identification code corresponding to the service scene exceeds the alarm frequency threshold value, and if so, ending the alarm. And if the alarm times do not exceed the alarm time threshold, controlling the swarm robots carrying the identification codes corresponding to the service scene to alarm the members of the alarmed swarm corresponding to the identification codes according to the alarm instruction.
Referring to fig. 5, when an alarm is made only in a text form, the swarm robots carrying the identification code corresponding to the service scenario are directly controlled to send an alarm text to the alarmed swarm member corresponding to the identification code. When the alarm is performed in the form of a file and a text, on one hand, the swarm robots carrying the identification codes corresponding to the service scene are controlled to acquire the alarm file according to the file path of the alarm file and send the alarm file and the alarm text to the alarmed swarm member corresponding to the identification codes, on the other hand, the size of the file is controlled, the problems that the file is too large, the downloading time is too long, the pushing time is too long are avoided, specifically, whether the size of the alarm file meets the preset condition or not is judged, and if the size of the alarm file meets the preset condition, the step of sending the alarm file and the alarm text to the alarmed swarm member corresponding to the identification codes is started, so that the problem that the alarm content is not complete due to the fact that the content is too long and intercepted is solved. Since the present embodiment uploads a file in a file path mode, taking an Object Storage Service (OSS) as an example, the file is downloaded from the OSS according to the file path, and then uploads the file, sends the file, and selectively and integrally sends corresponding text information.
Therefore, the alarm group codes are obtained by grouping the alarm group members in advance and setting corresponding group codes for each group of alarm group members. Then configuring different identification codes and the group codes of the warned alarms corresponding to the identification codes for the swarm robots based on different service scenes; wherein each of the service scenarios corresponds to one of the identification codes of the swarm robots. And simultaneously configuring alarm times threshold values for limiting the alarm times of the swarm robots with different identification codes. After the alarm instruction of the service scene is acquired, whether the alarm frequency of the swarm robots of the identification code corresponding to the service scene exceeds the alarm frequency threshold value or not is judged, and if yes, the alarm is finished. And if not, controlling the swarm robots carrying the identification codes corresponding to the service scenes to alarm the members of the swarm to be alarmed corresponding to the identification codes according to the alarm instruction. The alarm fault tolerance rate is improved, the alarm rationality is ensured, meanwhile, the alarm content is relatively perfect, and the alarm efficiency is improved.
Referring to fig. 6, the embodiment of the present application further discloses a warning device, applied to swarm robots, including:
the configuration module 11 is configured to configure different identification codes and alarmed group members corresponding to the identification codes for the swarm robots based on different service scenes; wherein each of said business scenarios corresponds to one of said identification codes of said swarm robots;
and the alarm module 12 is configured to acquire an alarm instruction of the service scene, and control the swarm robots carrying the identification code corresponding to the service scene to alarm the alarmed swarm members corresponding to the identification code according to the alarm instruction.
Therefore, the embodiment of the application allocates different identification codes and the alarmed swarm members corresponding to the identification codes for the swarm robots based on different service scenes; wherein each of said business scenarios corresponds to one of said identification codes of said swarm robots; and then acquiring an alarm instruction of the service scene, and controlling the swarm robots carrying the identification codes corresponding to the service scene to alarm the members of the alarmed swarm corresponding to the identification codes according to the alarm instruction. According to the embodiment of the application, different identification codes and the alarmed group members corresponding to the identification codes are configured for the swarm robots based on different service scenes, so that the swarm robots carrying the corresponding identification codes are controlled to alarm the alarmed members under different service scenes, the different alarmed members can be alarmed in batches according to different service scenes, and the alarm flexibility and the alarm selectivity are improved.
In some specific embodiments, the configuration module 11 specifically includes:
the grouping unit is used for grouping the alarmed group members in advance and setting corresponding group codes for each group of the alarmed group members to obtain alarmed group codes;
and the distribution unit is used for configuring different identification codes and the alarmed group codes corresponding to the identification codes for the swarm robots based on different service scenes.
In some specific embodiments, the alarm module 12 specifically includes:
the first acquisition unit is used for acquiring an alarm instruction for alarming the service scene in a text form;
the first alarm unit is used for controlling the swarm robots carrying the identification codes corresponding to the service scenes to send alarm texts to the members of the alarmed swarm corresponding to the identification codes;
the second acquisition unit is used for acquiring an alarm instruction for alarming the service scene in a text form and alarming in a file form;
and the second alarm unit is used for controlling the swarm robots carrying the identification codes corresponding to the service scene to acquire the alarm file according to the file path of the alarm file and send the alarm file and the alarm text to the members of the alarmed swarm corresponding to the identification codes.
In some embodiments, the warning device further includes:
the first judgment module is used for acquiring the identification code corresponding to the service scene, and if the corresponding identification code does not exist or the swarm robots of the corresponding identification code are not started, the alarm is ended;
and the second judgment module is used for judging whether the size of the alarm file meets a preset condition or not, and if so, starting the step of sending the alarm file and the alarm text to the alarm group member corresponding to the identification code.
And the third judging module is used for configuring an alarm time threshold value for limiting the alarm times of the swarm robots for the swarm robots with different identification codes so as to judge whether the alarm times of the swarm robots of the identification codes corresponding to the service scene exceed the alarm time threshold value or not, and if so, ending the alarm.
Further, the embodiment of the application also provides electronic equipment. FIG. 7 is a block diagram illustrating an electronic device 20 according to an exemplary embodiment, and the contents of the diagram should not be construed as limiting the scope of use of the present application in any way.
Fig. 7 is a schematic structural diagram of an electronic device 20 according to an embodiment of the present disclosure. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input output interface 25, and a communication bus 26. Wherein the memory 22 is used for storing a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the alarm method disclosed in any of the foregoing embodiments.
In this embodiment, the power supply 23 is configured to provide a working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and an external device, and a communication protocol followed by the communication interface is any communication protocol applicable to the technical solution of the present application, and is not specifically limited herein; the input/output interface 25 is configured to obtain external input data or output data to the outside, and a specific interface type thereof may be selected according to specific application requirements, which is not specifically limited herein.
In addition, the storage 22 is used as a carrier for resource storage, and may be a read-only memory, a random access memory, a magnetic disk or an optical disk, etc., and the resources stored thereon may include an operating system 221, a computer program 222, data 223, etc., and the storage may be a transient storage or a permanent storage.
The operating system 221 is used for managing and controlling each hardware device and the computer program 222 on the electronic device 20, so as to realize the operation and processing of the mass data 223 in the memory 22 by the processor 21, and may be Windows Server, Netware, Unix, Linux, and the like. The computer program 222 may further include a computer program that can be used to perform other specific tasks in addition to the computer program that can be used to perform the alert method performed by the electronic device 20 disclosed in any of the foregoing embodiments. Data 223 may include alert instructions, identification codes, etc. collected by electronic device 20.
Further, an embodiment of the present application further discloses a storage medium, in which a computer program is stored, and when the computer program is loaded and executed by a processor, the steps of the alarm method disclosed in any of the foregoing embodiments are implemented.
The embodiments are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same or similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description.
Finally, it should also be noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above detailed description of the alarm method, device, apparatus and storage medium provided by the present invention, and the specific examples applied herein have been provided to explain the principles and embodiments of the present invention, and the above descriptions of the embodiments are only used to help understanding the method and its core ideas of the present invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. An alarm method, applied to swarm robots, comprises the following steps:
configuring different identification codes and the members of the group to be alarmed corresponding to the identification codes for the swarm robots based on different service scenes; wherein each of said business scenarios corresponds to one of said identification codes of said swarm robots;
and acquiring an alarm instruction of the service scene, and controlling the swarm robots carrying the identification codes corresponding to the service scene to alarm the members of the alarmed swarm corresponding to the identification codes according to the alarm instruction.
2. The warning method according to claim 1, further comprising: grouping the alarmed group members in advance, and setting corresponding group codes for each group of the alarmed group members to obtain alarmed group codes;
correspondingly, different identification codes and the members of the group to be warned corresponding to the identification codes are configured for the swarm robots based on different service scenes, and the method comprises the following steps:
and configuring different identification codes and the group codes of the warned alarms corresponding to the identification codes for the swarm robots based on different service scenes.
3. The warning method according to claim 1, wherein before the controlling the swarm robots carrying the identification code corresponding to the service scenario to warn the members of the group to be warned corresponding to the identification code according to the warning command, the method further comprises:
and acquiring the identification code corresponding to the service scene, and ending the alarm if the corresponding identification code does not exist or the swarm robots of the corresponding identification code are not started.
4. The warning method according to claim 3, wherein the obtaining of the warning instruction of the service scenario and the controlling of the swarm robots carrying the identification code corresponding to the service scenario to warn the members of the group to be warned corresponding to the identification code according to the warning instruction comprises:
acquiring an alarm instruction for alarming the service scene in a text form;
and controlling the swarm robots carrying the identification codes corresponding to the service scenes to send alarm texts to the members of the alarmed swarm corresponding to the identification codes.
5. The warning method according to claim 3, wherein the obtaining of the warning instruction of the service scenario and the controlling of the swarm robots carrying the identification code corresponding to the service scenario to warn the members of the group to be warned corresponding to the identification code according to the warning instruction comprises:
acquiring an alarm instruction for alarming the service scene in a text form and alarming in a file form;
and controlling the swarm robots carrying the identification codes corresponding to the service scene to acquire the alarm file according to the file path of the alarm file, and sending the alarm file and the alarm text to the members of the alarmed swarm corresponding to the identification codes.
6. The warning method according to claim 5, wherein after obtaining the warning file according to the file path of the warning file, further comprising:
and judging whether the size of the alarm file meets a preset condition, if so, starting the step of sending the alarm file and the alarm text to the alarm group member corresponding to the identification code.
7. The warning method according to any one of claims 1 to 6, wherein after configuring different identification codes and the warned group members corresponding to the identification codes for the swarm robots based on different service scenarios, the method further comprises:
configuring alarm times thresholds for the swarm robots with different identification codes for limiting the alarm times of the swarm robots;
correspondingly, before controlling the swarm robots carrying the identification codes corresponding to the service scenes to alarm the members of the alarmed swarm corresponding to the identification codes according to the alarm instruction, the method further comprises the following steps:
and judging whether the alarm times of the swarm robots of the identification code corresponding to the service scene exceed the alarm time threshold value or not, and if so, ending the alarm.
8. The warning method according to claim 7, wherein the determining whether the number of warnings by the swarm robots of the identification code corresponding to the business scenario exceeds the warning number threshold comprises:
and judging whether the alarming times of the swarm robots of the identification codes corresponding to the service scene exceed the alarming time threshold value or not in a remote dictionary service mode.
9. An alarm device, applied to swarm robots, comprises:
the configuration module is used for configuring different identification codes and the alarmed swarm members corresponding to the identification codes for the swarm robots based on different service scenes; wherein each of said business scenarios corresponds to one of said identification codes of said swarm robots;
and the alarm module is used for acquiring an alarm instruction of the service scene and controlling the swarm robots carrying the identification codes corresponding to the service scene to alarm the members of the alarmed swarm corresponding to the identification codes according to the alarm instruction.
10. An electronic device, comprising a processor and a memory; wherein the memory is for storing a computer program that is loaded and executed by the processor to implement the alerting method of any of claims 1-8.
CN202110752819.3A 2021-07-02 2021-07-02 Alarm method, device and equipment Pending CN113438093A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110752819.3A CN113438093A (en) 2021-07-02 2021-07-02 Alarm method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110752819.3A CN113438093A (en) 2021-07-02 2021-07-02 Alarm method, device and equipment

Publications (1)

Publication Number Publication Date
CN113438093A true CN113438093A (en) 2021-09-24

Family

ID=77758857

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110752819.3A Pending CN113438093A (en) 2021-07-02 2021-07-02 Alarm method, device and equipment

Country Status (1)

Country Link
CN (1) CN113438093A (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080146205A1 (en) * 2006-12-14 2008-06-19 Bellsouth Intellectual Property Corp. Management of locations of group members via mobile communications devices
CN102761430A (en) * 2011-04-29 2012-10-31 中兴通讯股份有限公司 Method and system for acquiring alarm message
CN103634734A (en) * 2012-08-20 2014-03-12 财团法人工业技术研究院 Method of group based machine type communication and apparatuses using the same
CN108572907A (en) * 2018-01-25 2018-09-25 北京金山云网络技术有限公司 A kind of alarm method, device, electronic equipment and computer readable storage medium
CN110266777A (en) * 2019-06-05 2019-09-20 广州云华智慧科技有限公司 The robot of intelligent cloud platform alarms and session method
CN111181837A (en) * 2019-11-29 2020-05-19 深圳市思博创科技有限公司 Method and device for sending alarm information
CN111262731A (en) * 2020-01-10 2020-06-09 上海米哈游天命科技有限公司 Alarm method, alarm device, server equipment and storage medium
CN111698301A (en) * 2020-05-29 2020-09-22 成都新希望金融信息有限公司 Service management method, device and storage medium for ensuring service continuation
CN112149850A (en) * 2020-09-18 2020-12-29 杭州云徙科技有限公司 Intelligent reservation system capable of highly adapting to service change and activity making method thereof
CN112491625A (en) * 2020-11-30 2021-03-12 深圳前海微众银行股份有限公司 Operation and maintenance alarming method, device and equipment based on instant communication platform
CN112650655A (en) * 2020-12-30 2021-04-13 深圳市世强元件网络有限公司 Automatic alarm device and method for business system and computer equipment
CN113037846A (en) * 2021-03-17 2021-06-25 成都新希望金融信息有限公司 Data reporting method and device, electronic equipment and computer readable storage medium

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080146205A1 (en) * 2006-12-14 2008-06-19 Bellsouth Intellectual Property Corp. Management of locations of group members via mobile communications devices
CN102761430A (en) * 2011-04-29 2012-10-31 中兴通讯股份有限公司 Method and system for acquiring alarm message
CN103634734A (en) * 2012-08-20 2014-03-12 财团法人工业技术研究院 Method of group based machine type communication and apparatuses using the same
CN108572907A (en) * 2018-01-25 2018-09-25 北京金山云网络技术有限公司 A kind of alarm method, device, electronic equipment and computer readable storage medium
CN110266777A (en) * 2019-06-05 2019-09-20 广州云华智慧科技有限公司 The robot of intelligent cloud platform alarms and session method
CN111181837A (en) * 2019-11-29 2020-05-19 深圳市思博创科技有限公司 Method and device for sending alarm information
CN111262731A (en) * 2020-01-10 2020-06-09 上海米哈游天命科技有限公司 Alarm method, alarm device, server equipment and storage medium
CN111698301A (en) * 2020-05-29 2020-09-22 成都新希望金融信息有限公司 Service management method, device and storage medium for ensuring service continuation
CN112149850A (en) * 2020-09-18 2020-12-29 杭州云徙科技有限公司 Intelligent reservation system capable of highly adapting to service change and activity making method thereof
CN112491625A (en) * 2020-11-30 2021-03-12 深圳前海微众银行股份有限公司 Operation and maintenance alarming method, device and equipment based on instant communication platform
CN112650655A (en) * 2020-12-30 2021-04-13 深圳市世强元件网络有限公司 Automatic alarm device and method for business system and computer equipment
CN113037846A (en) * 2021-03-17 2021-06-25 成都新希望金融信息有限公司 Data reporting method and device, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
EP3399715B1 (en) Protocol conversion method, platform, and protocol conversion gateway
CN111130825B (en) Network slice template generation method, device, equipment and storage medium
CA2852639A1 (en) System and method for managing industrial processes
CN109450693B (en) Hybrid cloud monitoring system and monitoring method using same
CN113742031B (en) Node state information acquisition method and device, electronic equipment and readable storage medium
US10495336B2 (en) Energy operations across domains
CN113377626B (en) Visual unified alarm method, device, equipment and medium based on service tree
CN111246406A (en) Short message sending method, system, storage medium and terminal equipment
CN111600772B (en) Network distribution content detection processing device, method, system and electronic equipment
CN113498117A (en) Method, device, communication system and storage medium for switching network slices
EP3171552A1 (en) Energy operations across domains
CN112395107A (en) Tax control equipment control method and device, storage medium and electronic equipment
CN105052076A (en) Interface management service entity, functional service entity and network element management method
CN112087499A (en) Internet of things cloud management method and system
CN112583630B (en) Device management method, device, system, device and storage medium
CN112084042B (en) Message processing method and device
CA3065729A1 (en) Business rules processing framework
CN113867892A (en) Elastic expansion method, system, equipment and storage medium
CN102831179A (en) Webpage processing method and device
CN113438093A (en) Alarm method, device and equipment
CN111240904A (en) Database backup method and device, electronic equipment and storage medium
CN113079055B (en) AGV operation data dynamic acquisition method and device
CN112448932B (en) Message processing method and device
CN114090397A (en) Alarm information processing method and device
WO2017186271A1 (en) Method and managing module for managing voice data generated by a call managing system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20210924

RJ01 Rejection of invention patent application after publication