WO2020082911A1 - Method and apparatus for sending information - Google Patents

Method and apparatus for sending information Download PDF

Info

Publication number
WO2020082911A1
WO2020082911A1 PCT/CN2019/104687 CN2019104687W WO2020082911A1 WO 2020082911 A1 WO2020082911 A1 WO 2020082911A1 CN 2019104687 W CN2019104687 W CN 2019104687W WO 2020082911 A1 WO2020082911 A1 WO 2020082911A1
Authority
WO
WIPO (PCT)
Prior art keywords
user terminal
online
time
alarm information
terminal
Prior art date
Application number
PCT/CN2019/104687
Other languages
French (fr)
Chinese (zh)
Inventor
聂奇
Original Assignee
杭州海康威视***技术有限公司
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 杭州海康威视***技术有限公司 filed Critical 杭州海康威视***技术有限公司
Publication of WO2020082911A1 publication Critical patent/WO2020082911A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • H04L67/1004Server selection for load balancing
    • H04L67/1008Server selection for load balancing based on parameters of servers, e.g. available memory or workload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/54Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/90Services for handling of emergency or hazardous situations, e.g. earthquake and tsunami warning systems [ETWS]

Definitions

  • This application relates to the field of security technology, in particular to an information sending method and device.
  • the alarm platform in the security system can issue an alarm message for the danger that has occurred or the potential danger, so as to notify relevant personnel to deal with it in time.
  • the alarm platform After the alarm platform obtains the relevant alarm information, the alarm platform will send the alarm information to all the personnel responsible for processing the alarm information. After receiving the alarm information issued by the alarm platform, the personnel responsible for processing the alarm information can According to the alarm information, carry out corresponding processing to eliminate the dangers targeted by the alarm information.
  • the alarm platform sends the alarm information to all the personnel responsible for processing the alarm information.
  • all the personnel responsible for processing the alarm information receive the alarm information and are in the idle state, all the personnel responsible for processing the alarm information will go to Processing the same alarm message currently received, which results in the same alarm message being processed repeatedly.
  • all the personnel responsible for processing the alarm message will process the previous alarm message, and the subsequent alarm messages will be put on hold, which affects the timeliness of the alarm processing. , Resulting in untimely processing of alarm information.
  • the purpose of the embodiments of the present application is to provide an information sending method and device, which takes a relatively small number of user terminals to be processed as a target user terminal, and sends only the alarm information to be delivered to the target user terminal, so as to solve the problem Repeated processing and untimely problems.
  • the specific technical solutions are as follows:
  • an embodiment of the present application provides an information sending method, and the method includes:
  • a first user terminal is selected from each of the online user terminals as the target user terminal, and the first user terminal The number is less than the number of other user terminals to be processed except the first user terminal in each online user terminal;
  • a second user terminal is selected from each online user terminal as the target user terminal, and the number of the second user terminals is less than the online user terminals quantity;
  • the method further includes:
  • a third user terminal is selected from the first user terminals as the target user terminal, the first of the third user terminals
  • the processing time is earlier than the first processing time of other user terminals except the third user terminal in the first user terminal;
  • the selecting the second user terminal from the online user terminals according to a preset selection rule includes: selecting the second user terminal from each online user terminal according to each first processing time, the The first processing time is earlier than the first processing time of each of the online user terminals except the second user terminal.
  • the method further includes:
  • the selecting the second user terminal from the online user terminals according to a preset selection rule includes: selecting the second user terminal from the online user terminals according to the online time of each online user terminal, the first The online time of the second user terminal is earlier than the online time of the other user terminals except the second user terminal in each online user terminal.
  • the method further includes:
  • the alarm information sending time is the time when the alarm platform closest to the current time sends the to-be-delivered alarm information to the online user terminal;
  • each alarm information sending time selects a fourth user terminal from the first user terminal as the target user terminal, the fourth user terminal alarm information
  • the sending time is earlier than the sending time of the alarm information of other user terminals except the fourth user terminal in the first user terminal;
  • the selecting a second user terminal from the online user terminals according to a preset selection rule includes: selecting a second user terminal from each online user terminal according to each alarm information sending time, The alarm information transmission time is earlier than the alarm information transmission time of the other user terminals except the second user terminal in each online user terminal.
  • the method further includes:
  • the alarm information sending time is the time when the alarm platform closest to the current time sends the to-be-delivered alarm information to the online user terminal;
  • each alarm information sending time select the fifth user terminal from the third user terminal as the target user terminal, the alarm information of the fifth user terminal
  • the transmission time is earlier than the alarm information transmission time of other user terminals except the fifth user terminal in the third user terminal.
  • the method further includes:
  • selecting the first user terminal from the online user terminals as the target user terminal includes:
  • the user terminals are sorted to obtain the user terminal queue;
  • the user terminals with the first number of terminals are sequentially selected from the user terminal queue as the target user terminals.
  • the method further includes:
  • the alarm information sending time is the time when the alarm platform closest to the current time sends the to-be-delivered alarm information to the online user terminal;
  • the online user terminals are sorted according to the size of the to-be-processed quantity.
  • the The equal number of user terminals to be processed are sorted to obtain a user terminal queue, including:
  • Sort the online user terminals according to the size of the number to be processed, and when there are user terminals with the same number to be processed in each of the online user terminals, according to the order of the first processing time, the Sort the equal number of user terminals.
  • the equal number of pending terminals and the first The user terminals with the same processing time are sorted to obtain the user terminal queue.
  • the method further includes:
  • the user terminal queue is rearranged according to the size of the number of online user terminals to be processed in the user terminal queue, the order of first processing time and the time of sending alarm information, wherein ,
  • the preset event includes at least one of the following: a user terminal is online on the alarm platform, a user terminal is offline from the alarm platform, the alarm platform issues alarm information, and the user terminal processes the alarm information Finished.
  • an information sending apparatus the apparatus includes:
  • the first acquisition module is set to execute the acquisition of the number of unprocessed alarm information of each online user terminal as the number of each online user terminal to be processed;
  • the first selection module is configured to execute the selection of the first user terminal from each of the online user terminals as the target user terminal according to the size of the number of to-be-processed when the to-be-processed numbers of the on-line user terminals are not completely equal.
  • the number of to-be-processed of the first user terminal is less than the number of to-be-processed of other user terminals except the first user terminal in each online user terminal;
  • the second selection module is configured to execute the selection of the second user terminal from the online user terminals as the target user terminal according to a preset selection rule when the number of to-be-processed terminals of the online user terminals is completely equal.
  • the number of second user terminals is less than the number of online user terminals;
  • the delivery module is configured to execute sending the alarm information to be delivered to the target user terminal.
  • the device further includes:
  • the receiving module is configured to execute and receive the alarm processing completion message sent by each online user terminal, and update the first processing time of each online user terminal;
  • the first selection module is specifically configured to execute when the number of the first user terminals is greater than a first preset threshold, select a third user terminal from the first user terminals as the target according to each first processing time User terminal, the first processing time of the third user terminal is earlier than the first processing time of other user terminals except the third user terminal in the first user terminal;
  • the second selection module is specifically configured to execute: select a second user terminal from each online user terminal according to each first processing time, the first processing time of the second user terminal is earlier than that of each online user terminal The first processing time of user terminals other than the second user terminal.
  • the device further includes:
  • the second obtaining module is set to execute obtaining the online time of each online user terminal
  • the second selection module is specifically configured to execute: select a second user terminal from the online user terminals according to the online time of each online user terminal, the online time of the second user terminal is earlier than each online user The online time of other user terminals except the second user terminal in the terminal.
  • the device further includes:
  • the third acquisition module is set to perform acquisition of the alarm information sending time of each online user terminal, where the alarm information sending time is the time when the alarm platform closest to the current time sends the alarm information to the online user terminal;
  • the first selection module is specifically configured to execute when the number of the first user terminals is greater than a second preset threshold, select a fourth user terminal from the first user terminals as the target according to the sending time of each alarm information User terminal, the alarm information transmission time of the fourth user terminal is earlier than the alarm information transmission time of other user terminals except the fourth user terminal in the first user terminal;
  • the second selection module is specifically configured to execute: select a second user terminal from each online user terminal according to each alarm information transmission time, the alarm information transmission time of the second user terminal is earlier than each online user terminal Alarm information sending time of user terminals other than the second user terminal.
  • the device further includes:
  • the third acquisition module is set to perform acquisition of the alarm information sending time of each online user terminal, where the alarm information sending time is the time when the alarm platform closest to the current time sends the alarm information to the online user terminal;
  • the first selection module is specifically set to execute when the number of the third user terminals is greater than a third preset threshold, select the fifth user terminal from the third user terminals as the target according to the sending time of each alarm information User terminal, the alarm information transmission time of the fifth user terminal is earlier than the alarm information transmission time of other user terminals except the fifth user terminal in the third user terminal.
  • the device further includes:
  • the receiving module is configured to execute and receive the alarm processing completion message sent by each online user terminal, and update the first processing time of each online user terminal;
  • the first selection module is specifically configured to sort the online user terminals according to the size of the to-be-processed quantity, and when there are equal number of user terminals to be processed among the online user terminals, according to The order of the first processing time is to sort the user terminals with equal number of processing to obtain the user terminal queue;
  • the order of the user terminal queue sequentially select the user terminals with the first number of terminals from the user terminal queue as the target user terminals.
  • the device further includes:
  • the second obtaining module is used to obtain the sending time of the alarm information of each online user terminal.
  • the sending time of the alarm information is the time when the alarm platform closest to the current time sends the to-be-delivered alarm information to the online user terminal;
  • the first selection module is specifically configured to execute:
  • Sort the online user terminals according to the size of the number to be processed, and when there are user terminals with the same number to be processed in each of the online user terminals, according to the order of the first processing time, the Sort the equal number of user terminals.
  • the equal number of pending terminals and the first The user terminals with the same processing time are sorted to obtain the user terminal queue.
  • the device further includes:
  • the rearrangement module is set to execute when a preset event occurs, according to the size of the number of each online user terminal in the user terminal queue to be processed, the first processing time and the alarm information sending time
  • the user terminal queue is rearranged, wherein the preset event includes at least one of the following: a user terminal is online on the alarm platform, a user terminal is offline from the alarm platform, and the alarm platform issues an alarm
  • the information and user terminal process the alarm information.
  • an embodiment of the present application provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
  • Memory used to store computer programs
  • the processor is configured to execute any of the steps of the information sending method described above when executing the program stored in the memory.
  • an embodiment of the present application provides a machine-readable storage medium that stores a computer program in the machine-readable storage medium, and when the computer program is executed by a processor, implements any of the foregoing information sending methods step.
  • an embodiment of the present application provides a computer program product containing instructions, which, when run on a computer, causes the computer to perform any of the steps of the information sending method described above.
  • the number of unprocessed alarm information of each online user terminal is obtained as the number of pending processing of each online user terminal; when the number of pending processing of each online user terminal is not exactly equal, according to each pending The size of the number of processing, select the first user terminal from each online user terminal as the target user terminal, the number of the first user terminal to be processed is smaller than the number of other user terminals in the online user terminal except the first user terminal When the number of online user terminals to be processed is completely equal, according to a preset selection rule, select a second user terminal from each online user terminal as the target user terminal, the number of second user terminals is less than the number of online user terminals; Send the alarm information to be delivered to the target user terminal.
  • the user terminal with a relatively small number to be processed is taken as the target user terminal, and when the number to be processed is completely equal, the second user selected as the target user terminal
  • the number of terminals is smaller than the number of online user terminals. In other words, the number of selected target user terminals is less than the number of online user terminals, and the alarm information to be issued is only sent to the target user terminal, so that only the target user terminal that has received the alarm information to be issued will treat the alarm information to be issued
  • the processing is carried out to avoid the repeated processing of an alarm message by all user terminals.
  • the user terminal with a relatively small number to be processed is used as the target user terminal to receive the alarm information to be issued, so that the alarm information to be issued can be processed as soon as possible, and further Improve the timeliness of the processing of alarm information.
  • FIG. 2 is another flowchart of the information sending method provided by the embodiment of the present application.
  • FIG. 3 is a schematic diagram of a scenario of an information sending method provided by an embodiment of this application.
  • FIG. 4 is a schematic structural diagram of an information sending device provided by an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • embodiments of the present application provide an information sending method and device, where the information sending method includes:
  • the number of to-be-processed of each online user terminal is not completely equal, according to the size of each to-be-processed, select the first user terminal from each of the online user terminals as the target user terminal, the number of to-be-processed of the first user terminal is less than each online The number of pending user terminals other than the first user terminal in the user terminal;
  • a second user terminal is selected from each online user terminal as the target user terminal, and the number of second user terminals is less than the number of online user terminals;
  • the user terminal with a relatively small number to be processed is taken as the target user terminal, and when the number to be processed is completely equal, the second user selected as the target user terminal
  • the number of terminals is smaller than the number of online user terminals. In other words, the number of selected target user terminals is less than the number of online user terminals, and the alarm information to be issued is only sent to the target user terminal, so that only the target user terminal that has received the alarm information to be issued will treat the alarm information to be issued
  • the processing is carried out to avoid the repeated processing of an alarm message by all user terminals.
  • the user terminal with a relatively small number to be processed is used as the target user terminal to receive the alarm information to be issued, so that the alarm information to be issued can be processed as soon as possible, and Improve the timeliness of the processing of alarm information.
  • the information sending method provided in the embodiments of the present application may be applied to an alarm platform, and may also be applied to other electronic devices that are communicatively connected to the alarm platform, which is not limited herein.
  • the information sending method provided by the embodiment of the present application includes the following steps.
  • the online user terminal refers to a user terminal that is online on the alarm platform.
  • the online user terminal establishes a communication connection with the alarm platform and can receive information sent by the alarm platform.
  • the information can be different types of information such as alarm information and instruction information.
  • Each online user terminal corresponds to at least one processing personnel, and the processing personnel can perform corresponding processing according to the alarm information received by the online user terminal to resolve the matters indicated by the alarm information.
  • each online user terminal corresponds to a processor, where online user terminal A corresponds to processor A, and online user terminal B corresponds to processor B.
  • the processor A handles the dispute expressed by the alarm message.
  • the unprocessed alarm information of each online user terminal refers to the alarm information issued to the online user terminal by the alarm platform and processed by the online user terminal but not yet processed and being processed.
  • the online user terminal For each online user terminal, whenever the alarm information is received, if it cannot be processed in time, the online user terminal can store the received alarm information locally as unprocessed alarm information. When there are multiple unprocessed alarm messages, they can be arranged in chronological order, so that the processing personnel can process each unprocessed alarm message in sequence according to the order in which the unprocessed alarm messages are arranged.
  • Each online user terminal online on the alarm platform corresponds to a quantity to be processed. For example, when the quantity to be processed corresponding to the online user terminal A is 0, it means that the online user terminal A currently has no unprocessed alarm information. When the number of to-be-processed corresponding to the online user terminal B is 3, it means that the online user terminal B currently has 3 unprocessed alarm messages.
  • an unprocessed alarm information corresponding to each online user terminal may be recorded by an alarm platform.
  • the alarm platform records the number of unprocessed alarm information for each online user terminal. After an online user terminal completes the processing of the alarm information, the online user terminal feeds back the processed information to the alarm platform, so that the alarm platform updates the recorded amount of unprocessed alarm information.
  • the alarm platform records the amount of unprocessed alarm information for each online user terminal, and each online user terminal can also record its own amount of unprocessed alarm information.
  • Each online user terminal can feed back the amount of unprocessed alarm information to the alarm platform according to a preset time point or interval duration, so that the alarm platform can update the locally stored amount of unprocessed alarm information of each online user terminal in time.
  • the preset time point or interval duration can be set by user.
  • the number of unprocessed alarm information of each online user terminal can be obtained directly from the local.
  • S102 When the number of to-be-processed terminals of each online user terminal is not completely equal, select the first user terminal from each of the online user terminals as the target user terminal according to the size of each to-be-processed number.
  • the number of the first user terminal to be processed is smaller than the number of the other user terminals except the first user terminal in each online user terminal. In this way, the number of selected first user terminals is smaller than the number of online user terminals. Wherein, the number of the first user terminals selected from the online user terminals may be set by the user.
  • the number of pending first user terminals is less than the other online users in each online user terminal except the first user terminal The number of terminals to be processed.
  • the number of the first user terminal may be one or more. When the number of first user terminals is multiple. The number of pending processing of the first user terminal is less than the number of pending processing of other user terminals except the first user terminal in each online user terminal, which means that the number of pending processing of any first user terminal is less than that of each online user terminal The number of any other user terminals to be processed outside the first user terminal. The number of to-be-processed of one first user terminal among the plurality of first user terminals may be greater than or equal to the number of to-be-processed of other first user terminals.
  • the first user terminal is selected from each online user terminal as the target user terminal according to the size of the number to be processed, and then the alarm information to be issued is sent to the target user terminal for processing.
  • the number of target user terminals to be processed is relatively small, and the alarm information to be issued can be processed as soon as possible after being sent to the target user terminal, thereby increasing The processing efficiency and timeliness of the alarm information have been introduced.
  • the first processing time may also be considered to further improve the timeliness of the alarm information.
  • the alarm processing completion message sent by each online user terminal is received, and the first processing time of each online user terminal is updated.
  • the alarm platform records the first processing time of each online user terminal, and the alarm platform can update the recorded first processing time.
  • the first processing time may be the time when the alarm platform receives the alarm processing completion message sent by the online user terminal.
  • the first processing time may also refer to the completion time of the online user terminal for processing the alarm information.
  • the online user terminal will carry the The alarm processing completion message of the completion time is sent to the alarm platform, and the alarm platform updates the first processing time according to the completion time.
  • the first processing time of the online user terminal is the time when the alarm information closest to the current time is processed. For example, for the online user terminal A, an alarm message is processed at 11 o'clock, and an alarm message is completed at 11:20. If the current time is 11:30, the alarm message closest to the current 11:30 The processing time is 11:20, that is, 11:20 is the first processing time of the online user terminal A.
  • the first processing time corresponding to the same online user terminal at different moments may be the same or different.
  • the first processing time of each online user terminal at the same time may be the same or different.
  • the third user terminal is selected from the first user terminals as the target user according to each first processing time terminal.
  • the first preset threshold may be set by custom.
  • the first processing time of the third user terminal is earlier than the first processing time of other user terminals except the third user terminal in the first user terminal.
  • online user terminals include: terminal A, terminal B, terminal C, terminal D, and terminal E, where terminal A, terminal B, and terminal C are selected as the first user terminal according to the size of the number to be processed, according to the first processing At time, terminal A and terminal B are selected from the first user terminal as the third user terminal, that is, the target user terminal. Then, the terminal A, terminal B, and terminal C each have a smaller amount of to-be-processed than the terminal D and terminal E, and the first processing time of the terminal A and the terminal B is earlier than the first processing time of the terminal C.
  • the first user terminals are sorted according to the order of the first processing time from morning to night, and according to the order, the user terminals are sequentially selected from the first user terminals as the third user terminal.
  • the third user terminal is the target user terminal.
  • the selected first user terminals include: terminal A, terminal B, terminal C, and terminal D, where the first user terminals are sorted according to the order of the first processing time from early to late, and the resulting order is: For terminal D, terminal B, terminal C, and terminal A, it can be known from the ranking that terminal D has the earliest processing time, terminal B is the second, terminal C is later than terminal D and terminal B, and terminal A is the latest.
  • terminal D For terminal D, terminal B, terminal C, and terminal A, it can be known from the ranking that terminal D has the earliest processing time, terminal B is the second, terminal C is later than terminal D and terminal B, and terminal A is the latest.
  • the selection of the target user terminal may also consider the sending time of the alarm information.
  • the alarm platform can obtain the alarm information sending time of each online user terminal.
  • the alarm information sending time is the time when the alarm platform closest to the current time sends the alarm information to be sent to the online user terminal.
  • the alarm platform sends an alarm message to the online user terminal B at 11 o'clock.
  • the alarm message transmission time of the online user terminal B is 11 o'clock.
  • the alarm platform sends an alarm message to the online user terminal B at 11:20, and sends an alarm message to the online user terminal B at 12 o'clock. If the current time is 13:00, the sending time of the alarm information of the online user terminal B is 12:00.
  • the sending time is based on each alarm information , Select the fifth user terminal from the third user terminals as the target user terminal.
  • the third preset threshold may be set by self-definition, and the third preset threshold may be the same as or different from the above-mentioned first preset threshold. No limitation here.
  • the number of fifth user terminals is less than or equal to the third preset threshold.
  • the alarm information transmission time of the fifth user terminal is earlier than the alarm information transmission time of other user terminals except the fifth user terminal in the third user terminal.
  • the third preset threshold is 1, and the third user terminal includes: terminal A, terminal B, and terminal C, wherein the alarm information transmission time of terminal A is 9 o'clock, and the terminal B alarm information transmission time is 10 o'clock, the terminal The alarm information transmission time of C is 11 o'clock, and then terminal A is selected as the fifth user terminal according to the order of the alarm information transmission time.
  • the alarm information transmission time of terminal A is earlier than that of terminal B and terminal C.
  • the third user terminals are sorted according to the order in which the alarm information is sent from morning to night, and a queue based on the time when the alarm information is sent is obtained. According to the queue, the user terminals are sequentially selected from the third user terminals as the For the fifth user terminal, the selected fifth user terminal is the target user terminal.
  • the third user terminal includes: terminal A, terminal B, terminal C, and terminal D, where the third user terminal is sorted according to the order of sending the alarm information from early to late, and the resulting queue is: terminal D, From terminal B, terminal C, and terminal A, it can be known from the queue that the alarm information of terminal D is sent the earliest, terminal B is the second, terminal C is later than terminal D and terminal B, and terminal A is the latest.
  • the terminal D and the terminal B are successively selected as the fifth user terminal according to the above queue.
  • the alarm information sending time for the alarm platform to deliver the alarm information to each user terminal is considered, the earlier the alarm information sending time is online
  • the user terminal has priority as the target user terminal to further improve the timeliness of the alarm information.
  • the alarm information sending time of each online user terminal may be obtained.
  • the fourth user terminal is selected from the first user terminals as the target user terminal according to the sending time of each alarm information.
  • the second preset threshold may be set by the user, and the second preset threshold may be the same as or different from the first preset threshold and the third preset threshold described above. No limitation here.
  • the number of fourth user terminals is less than or equal to the second preset threshold.
  • the alarm information transmission time of the fourth user terminal is earlier than the alarm information transmission time of other user terminals except the fourth user terminal in the first user terminal
  • the second preset threshold is 2
  • the first user terminal includes: terminal A, terminal B, terminal C, and terminal D
  • the alarm information transmission time of terminal A is 9 o'clock
  • the alarm information transmission time of terminal B is 10 Point
  • terminal C's alarm information transmission time is 11 o'clock
  • terminal D's alarm information transmission time is 13 o'clock
  • the alarm information transmission time of B is earlier than that of terminal C and terminal D.
  • the first user terminals are sorted according to the order in which the alarm information is sent from morning to night, and a queue based on the time when the alarm information is sent is obtained. According to the queue, the user terminals are sequentially selected from the first user terminals as the For the fourth user terminal, the selected fourth user terminal is the target user terminal.
  • the first user terminal includes: terminal A, terminal B, terminal C, and terminal D, where the first user terminal is sorted according to the order of sending the alarm information from early to late, and the resulting queue is: terminal D, From terminal B, terminal C, and terminal A, it can be known from the queue that the alarm information of terminal D is sent the earliest, terminal B is the second, terminal C is later than terminal D and terminal B, and terminal A is the latest.
  • the terminal D and the terminal B are successively selected as the fourth user terminal according to the above queue.
  • the alarm information sending time for the alarm platform to deliver the alarm information to each user terminal is considered, and the online user terminal with the earlier alarm information sending time takes priority as the target user terminal To further improve the timeliness of the alarm information.
  • the preset selection rule may be set by custom, and the number of second user terminals is smaller than the number of online user terminals.
  • the preset selection rule may be random selection, that is, a second user terminal is randomly selected from each online user terminal as the target user terminal.
  • the subsequent alarm platform only sends the alarm information to a small number of target user terminals for processing, which avoids the same alarm information being processed by all online user terminals and reduces repeated processing The number of times has further improved the processing efficiency of the entire alarm system.
  • the preset selection rule may also be selected according to the first processing time.
  • a second user terminal is selected from each online user terminal, and the selected second user terminal is the target user terminal.
  • the first processing time of the second user terminal is earlier than the first processing time of other user terminals except the second user terminal in each online user terminal.
  • the number of second user terminals may be set by custom. For example, if only one user terminal is selected as the second user terminal from each online user terminal, the first processing time of the second user terminal is the earliest among all online user terminals.
  • an online user terminal includes: terminal A, terminal B, terminal C, terminal D, and terminal E, where terminal A and terminal B are selected as the second user terminal according to the first processing time, then terminal A and terminal B The first processing time is earlier than the first processing time of terminal C, terminal D, and terminal E.
  • the target user terminal is selected according to the first processing time, and the first processing time of the selected target user terminal is relatively earlier.
  • the alarm platform delivers the alarm information to these target user terminals
  • the target user terminal can The alarm information is processed as soon as possible, thereby improving the processing efficiency and timeliness of the alarm information.
  • a user terminal whose first processing time is before a preset time is selected from each online user terminal as the second user terminal.
  • the preset time can also be customized.
  • the N online user terminals may be used as second user terminals.
  • N is a positive integer.
  • online user terminals include: terminal A, terminal B, terminal C, and terminal D, where the first processing time of terminal A is 10 o'clock, the first processing time of terminal B is 13 o'clock, and the first processing time of terminal C It is 11:00, and the first processing time of terminal D is 15:00. If the preset time is 12 o'clock, the user terminals satisfying the first processing time before the preset time are terminal A and terminal C, and then terminal A and terminal C are determined as second user terminals.
  • an online user terminal may be arbitrarily selected from each online user terminal as the second user terminal.
  • the alarm platform records the online time of each online user terminal.
  • the online time of the online user terminal refers to the time that the user terminal is online on the alarm platform.
  • the alarm platform can obtain the online time of each online user terminal, and select a second user terminal from each online user terminal according to the online time of each online user terminal.
  • the online time of the second user terminal is earlier than the online time of other user terminals except the second user terminal in each online user terminal.
  • online user terminals include: terminal A, terminal B, terminal C, and terminal D, where terminal A's online time is 10:00, terminal B's online time is 11:00, terminal C's online time is 12:00, terminal D The online time is 13 o'clock. If two online user terminals are selected as the second user terminal, terminal A and terminal B are determined as second user terminals, and the online time of terminal A and terminal B is earlier than the online time of terminal C and terminal D.
  • the online user terminals are sorted according to the order of the online time to obtain a queue based on the online time. Select the user terminals as the second user terminals in sequence from the obtained queue.
  • online user terminals include: terminal A, terminal B, terminal C, and terminal D, where terminal A's online time is 13:00, terminal B's online time is 11:00, terminal C's online time is 15:00, terminal D The online time is 10 o'clock. Then, the queues sorted according to the order of online time are: terminal D, terminal B, terminal A, and terminal C. If two user terminals are selected as the second user terminal, then terminal D and terminal B are selected as the second User terminal.
  • the preset selection rule can also be selected according to the sending time of the alarm information.
  • the alarm platform can obtain the sending time of the alarm information of each online user terminal, and select the first from the online user terminals according to the sending time of each alarm information. Two user terminals.
  • the alarm information transmission time of the second user terminal is earlier than the alarm information transmission time of the other user terminals except the second user terminal in each online user terminal.
  • online user terminals include: terminal A, terminal B, terminal C, and terminal D, where the alarm information transmission time of terminal A is 10 o'clock, the alarm information transmission time of terminal B is 11 o'clock, and the terminal C alarm information transmission time It is 12 o'clock, and the alarm information sending time of terminal D is 13 o'clock. If two online user terminals are selected as the second user terminal, then terminal A and terminal B are determined as the second user terminal, the alarm information sending time of terminal A and terminal B is earlier than that of terminal C and terminal D .
  • the online user terminals are sorted according to the order of the alarm information transmission time, and a queue based on the alarm information transmission time can be obtained. Select the user terminals as the second user terminals in sequence from the obtained queue.
  • online user terminals include: terminal A, terminal B, terminal C, and terminal D, where the alarm information transmission time of terminal A is 13:00, the alarm information transmission time of terminal B is 11:00, and the terminal C alarm information transmission time It is 15 o'clock, and the alarm information sending time of terminal D is 10 o'clock.
  • the queues obtained by sorting according to the order in which the alarm information is sent are: terminal D, terminal B, terminal A and terminal C. If two user terminals are selected as the second user terminal, terminal D and terminal B are selected in order The second user terminal.
  • S104 Send the alarm information to be sent to the target user terminal.
  • the alarm platform When the alarm platform generates alarm information that needs to be issued, the alarm information is used as the alarm information to be issued, and the alarm information to be issued is sent to the target user terminal.
  • the alarm information to be issued is processed only by the processing personnel of the target user terminal, to avoid repeated processing of the same alarm information by all processing personnel, and when there is only one target user terminal, the alarm information to be issued at this time It is only handled by the processing personnel of one user terminal, avoiding repeated processing of the same alarm information.
  • the target user terminal is selected according to the order from small to large, so the target user terminal has a relatively small number of user terminals, which is conducive to faster delivery of alarm information issued by the alarm platform Is processed to further improve the timeliness of alarm information processing.
  • the number of unprocessed alarm information of each online user terminal is obtained as the number of pending processing of each online user terminal; when the number of pending processing of each online user terminal is not exactly equal, according to each pending The size of the number of processing, select the first user terminal from each online user terminal as the target user terminal, the number of the first user terminal to be processed is smaller than the number of other user terminals in the online user terminal except the first user terminal When the number of online user terminals to be processed is completely equal, according to a preset selection rule, select a second user terminal from each online user terminal as the target user terminal, the number of second user terminals is less than the number of online user terminals; Send the alarm information to be delivered to the target user terminal.
  • the user terminal with a relatively small number to be processed is taken as the target user terminal, and when the number to be processed is completely equal, the second user selected as the target user terminal
  • the number of terminals is smaller than the number of online user terminals. In other words, the number of selected target user terminals is less than the number of online user terminals, and the alarm information to be issued is only sent to the target user terminal, so that only the target user terminal that has received the alarm information to be issued will treat the alarm information to be issued
  • the processing is carried out to avoid the repeated processing of an alarm message by all user terminals.
  • the user terminal with a relatively small number to be processed is used as the target user terminal to receive the alarm information to be issued, so that the alarm information to be issued can be processed as soon as possible, and further Improve the timeliness of the processing of alarm information.
  • An embodiment of the present application further provides an information sending method. As shown in FIG. 2, the information sending method includes the following steps.
  • S201 is the same as S101 in the foregoing embodiment, and details are not described herein again.
  • S202 Receive an alarm processing completion message sent by each online user terminal, and update the first processing time of each online user terminal.
  • S202 is the same as the implementation manner in the foregoing embodiment, and details are not described herein again.
  • S203 Sort each online user terminal according to the number of to-be-processed. When there are user terminals with equal numbers of to-be-processed in each online user terminal, sort the user terminals with equal to-be-processed according to the order of the first processing time To get the user terminal queue.
  • the online user terminals are sorted according to the order of the number to be processed from small to large.
  • the equal number of user terminals to be processed are sorted according to the order of the first processing time to obtain a user terminal queue.
  • online user terminals include: terminal A, terminal B, terminal C, terminal D, and terminal E, where the number of pending processing of terminal A is 1, the number of pending processing of terminal B is 4, and the number of pending processing of terminal C is 2
  • the number of terminals D to be processed is 2, and the number of terminals E to be processed is 2.
  • terminal A is ranked first, and terminal B is ranked last.
  • terminal C For terminal C, terminal D and terminal E, it is further sorted according to the order of the first processing time, where the first processing time of terminal C is 11 o'clock and the first processing time of terminal D is 11:15, the terminal The first processing time of E is 12 o'clock, the order for terminal C, terminal D and terminal E is: terminal C, terminal D and terminal E.
  • the resulting user terminal queue is: terminal A, terminal C, terminal D. Terminal E and Terminal B.
  • the alarm platform can obtain the sending time of the alarm information of each online user terminal.
  • the alarm information sending time is the time when the alarm platform closest to the current time sends the alarm information to be sent to the online user terminal.
  • online user terminals include: terminal A, terminal B, terminal C, terminal D, and terminal E, where the number of pending processing of terminal A is 1, the number of pending processing of terminal B is 4, and the number of pending processing of terminal C is 2
  • the number of terminals D to be processed is 2, and the number of terminals E to be processed is 2.
  • terminal A is ranked first, and terminal B is ranked last.
  • terminal C terminal D and terminal E, they are sorted according to the first processing time, where the first processing time of terminal C is 11 o'clock, the first processing time of terminal D is 11:15, and the first terminal E If the processing time is 11 o'clock, then in the order of the first processing time from early to late, terminal D is ranked in front of terminal C and terminal E.
  • terminal C and terminal E that is, user terminals with the same number of to-be-processed and the same first processing time, they are sorted according to the sending time of the alarm information, where the sending time of the alarm information of terminal C is 9 o'clock and the sending of the alarm information of terminal E
  • the order of terminal C and terminal E is as follows: terminal C and terminal E according to the order of sending the alarm information from morning to night.
  • the obtained user terminal queue is: terminal A, terminal D, terminal C, terminal E, and terminal B.
  • step S204 according to the order of the user terminal queue, the user terminals with the first number of terminals are sequentially selected from the user terminal queue as the target user terminals.
  • the number of the first terminal may be set by customization. For example, if the number of first terminals is 1, the first user terminal in the user terminal queue is determined as the target user terminal.
  • the order of the user terminal queue is: terminal B, terminal A, terminal D, and terminal C, and the number of the first terminal is 2, then select terminal B and terminal A in sequence as the target user terminal.
  • the number of any terminal to be processed is selected from the user terminals of the first number of terminals in the order of the user terminal queue, Theoretically, it is smaller than the number of unselected user terminals in the user terminal queue to be processed. Therefore, the number of user terminals of the first terminal selected in this manner is equivalent to the first user terminal mentioned in S102. Therefore, S202-S204 can be regarded as a possible implementation manner of selecting the first user terminal from each online user terminal.
  • S205 Send the alarm information to be delivered to the target user terminal.
  • S205 is the same as S104 in the foregoing embodiment, and details are not described herein.
  • the user terminal queue is rearranged according to the size of the number of online user terminals to be processed in the user terminal queue, the order of the first processing time and the time of sending the alarm information .
  • the preset event includes at least one of the following: the presence of a user terminal going online on the alarm platform, the presence of a user terminal going offline from the alarm platform, the alarm platform delivering alarm information, and the user terminal processing the alarm information.
  • the first processing time and the alarm information sending time after rearranging the user terminal queue, two results will appear.
  • the first result The user terminal queue has changed, the second result, the user terminal queue has not changed. Regardless of the above result, the queue before the rearrangement is updated with the rearranged user terminal queue, and the user terminal queue after the update is the rearranged user terminal queue.
  • Table 1 is used as an example for description, where the number of target user terminals is 1.
  • the online user terminals online on the alarm platform include U1, U2, and U3, and go online in the order of U1, U2, and U3.
  • the number of U1, U2, and U3 to be processed are all 0, and there is no
  • the records of the first processing time and the sending time of the alarm information are therefore recorded as 0, and the user terminal queue is U1, U2, U3.
  • the alarm platform needs to send the alarm information a to be issued.
  • U1 can be determined as the target user terminal, and the alarm platform sends the alarm information a to U1.
  • the number of U1 to be processed becomes 1, the alarm information sending time is t2, and the user terminal queue is rearranged as: U2, U3, U1.
  • the alarm platform needs to send the alarm information b to be issued.
  • U2 can be determined as the target user terminal, and then the alarm platform sends the alarm information b to be sent to U2.
  • the number of U2 to be processed becomes 1, the alarm information sending time is t3, and the user terminal queue is rearranged as: U3, U1, U2.
  • the alarm platform needs to send the alarm information c to be issued.
  • U3 can be determined as the target user terminal, and then the alarm platform sends the alarm information c to be sent to U3.
  • the number of U3 to be processed becomes 1, and the alarm information sending time is t4.
  • the number to be processed is the same, all are 1, the first processing time is the same, all are 0, then the user terminal queue is rearranged into U1, U2, U3.
  • U2 finishes processing the alarm information b, which is the alarm information b to be issued by the alarm platform.
  • the number of U2 to be processed becomes 0, the first processing time is t5, and the alarm information sending time is unchanged, which is still t3.
  • U2 has the least number of to-be-processed, ranking first, and sorts U1 and U3 into U1 and U3 according to the order in which the alarm information is sent.
  • the obtained user terminal queues are U2, U1, and U3.
  • U3 finishes processing the alarm information c, which is the alarm information c to be issued by the alarm platform.
  • the number of U3 to be processed becomes 0, the first processing time is t6, and the alarm information sending time is unchanged, still t4.
  • the least to be processed are U2 and U3, both of which are 0, then U2 and U3 are sorted according to the order of the first processing time: U2, U3, U1 has a relatively large number of to be processed, and is ranked last.
  • the obtained user terminal queues are: U2, U3, U1.
  • U4 goes online on the alarm platform, and is rearranged based on the user terminal queue at time t6.
  • the number of U4 to be processed is the smallest, it is 0, and there is no record of the first processing time, so it is also recorded as 0.
  • the obtained user terminal queue is U4, U2, U3, U1.
  • the alarm platform needs to send the pending alarm information d.
  • U4 can be determined as the target user terminal, and the alarm platform sends the pending alarm information d to U4.
  • the number of U4 to be processed becomes 1, and the alarm information sending time is t8.
  • U2 and U3 have the least number of to-be-processed, which are both 0, and U2 and U3 are sorted according to the order of the first processing time: U2, U3.
  • the number to be processed is the same, and the first processing time is the same, then U1 and U4 are sorted into U1 and U4 according to the order in which the alarm information is sent.
  • the obtained user terminal queues are: U2, U3, U1, U4.
  • the alarm platform needs to send the alarm information e to be issued.
  • U2 can be determined as the target user terminal, and the alarm platform sends the alarm information e to be sent to U2.
  • the number of U2 to be processed becomes 1, the alarm information transmission time is t9, and the first processing time is unchanged, which is still t5.
  • the number of U3 to be processed is 0, which is the least, ranking first.
  • the number of to-be-processed is the same, all are 1, then compare the first processing time, where the first processing time of U1 and U4 are the same, are recorded as 0, so U2 ranks the last bit.
  • the alarm information is sent in the order of time: U1, U4.
  • the resulting user terminal queue is: U3, U1, U4, U2.
  • the alarm platform needs to send the alarm information f to be issued.
  • U3 can be determined as the target user terminal, and the alarm platform sends the alarm information f to be sent to U3.
  • the number of U3 to be processed becomes 1, the alarm information sending time is t10, and the first processing time is unchanged, which is still t6.
  • the number of U1, U2, U3, U4 to be processed is the same, all are 1, then compare the first processing time, where the first processing time of U1 and U4 are the same, and the first processing time of U2 and U3 are late
  • U2 and U3 are ranked after U1 and U4, and the order of U2 and U3 is: U2, U3.
  • the alarm information is sent in the order of time: U1, U4.
  • the obtained user terminal queues are: U1, U4, U2, U3.
  • the alarm platform needs to send the alarm information g to be issued.
  • U1 can be determined as the target user terminal, and the alarm platform sends the alarm information g to be sent to U1.
  • the number of U1 to be processed becomes 2, the alarm information sending time is t11, and the first processing time is unchanged, still 0.
  • U1 has the largest number of pending processing, ranking last.
  • the number of U2, U3, U4 to be processed is the same, all are 1, then the first processing time is compared, and sorted according to the order of the first processing time: U4, U2, U3.
  • the obtained user terminal queues are: U4, U2, U3, U1.
  • the alarm platform needs to send the pending alarm information h.
  • U4 can be determined as the target user terminal, and the alarm platform sends the pending alarm information h to U4.
  • the number of U4 to be processed becomes 2
  • the alarm information sending time is t12
  • the first processing time remains unchanged, still 0.
  • the number of U1 and U4 to be processed and the first processing time are the same, according to the order of the alarm information sending time: U1, U4, U2 and U3 are the same, according to the order of the first processing time
  • the order is: U2, U3. Because the number of U2 and U3 to be processed is smaller than that of U1 and U4, U2 and U3 are ranked in front of U1 and U4.
  • the obtained user terminal queues are: U2, U3, U1, U4.
  • U1 processes the alarm information a
  • the alarm information a is the alarm information a to be issued by the alarm platform.
  • the number of U1 to be processed becomes 1, the first processing time is t13, and the alarm information sending time is unchanged, which is still t11.
  • the least to be processed are U1, U2, and U3, which are all 1, and then U1, U2, and U3 are sorted according to the order of the first processing time: U2, U3, U1, and the number of U4 to be processed is relatively Many, ranked last.
  • the obtained user terminal queues are: U2, U3, U1, U4.
  • the alarm platform only sends to one user terminal each time it sends an alarm message to be issued.
  • the alarm platform has 4 alarm messages to be issued, namely: alarm information 1, alarm information 2 , Alarm information 3 and alarm information 4, the user terminals online on the alarm platform include terminal A, terminal B, terminal C and terminal D, the number of pending processing at terminal A, terminal B, terminal C and terminal D, the first processing time
  • the alarm platform will send 4 alarm messages to 4 user terminals on average: send alarm message 1 to terminal A, send alarm message 2 to terminal B, and send alarm message 3 To terminal C, send the alarm message 4 to terminal D.
  • the four alarm messages can be processed at the same time, which improves the efficiency of alarm message processing.
  • the network bandwidth required for the alarm platform to deliver the M1 piece of alarm information to be issued is: a1 ⁇ M1 ⁇ N1
  • the occupied network bandwidth is: a1 ⁇ M1
  • the network bandwidth required for the alarm platform to deliver the M1 piece of alarm information to be issued is: a1 ⁇ M1
  • the occupied network bandwidth is: a1 ⁇ M1 / N1. It can be seen that compared with the prior art, the network bandwidth required by the technical solution provided by the embodiments of the present application is reduced.
  • a1 500KB
  • N1 5
  • M1 10
  • an alarm message is 500KB
  • an embodiment of the present application further provides an information sending device.
  • the information sending device includes:
  • the first obtaining module 410 is configured to perform the obtaining of the number of unprocessed alarm information of each online user terminal as the number of pending processing of each online user terminal;
  • the first selection module 420 is configured to select the first user terminal from each online user terminal as the target user terminal according to the size of each to-be-processed number when the number of each online user terminal to be processed is not completely equal.
  • the number of pending processing of a user terminal is less than the number of pending processing of other user terminals except the first user terminal in each online user terminal;
  • the second selection module 430 is configured to execute the selection of the second user terminal from the online user terminals as the target user terminal and the second user terminal according to a preset selection rule when the number of online user terminals to be processed is completely equal The number is less than the number of online user terminals;
  • the delivery module 440 is configured to execute sending the alarm information to be delivered to the target user terminal.
  • the device may further include:
  • the receiving module is configured to execute and receive the alarm processing completion message sent by each online user terminal, and update the first processing time of each online user terminal;
  • the first selection module 420 is specifically configured to execute when the number of first user terminals is greater than a first preset threshold, select a third user terminal from the first user terminals as the target user terminal according to each first processing time, The first processing time of the third user terminal is earlier than the first processing time of other user terminals in the first user terminal except the third user terminal;
  • the second selection module 430 is specifically configured to execute: select the second user terminal from each online user terminal according to each first processing time, the first processing time of the second user terminal is earlier than the second user terminal except the second The first processing time of a user terminal other than the user terminal.
  • the device may further include:
  • the second obtaining module is set to execute obtaining the online time of each online user terminal
  • the second selection module 430 is specifically configured to execute: according to the online time of each online user terminal, select the second user terminal from each online user terminal, the online time of the second user terminal is earlier than each online user terminal except the second The online time of user terminals other than the user terminal.
  • the device may further include:
  • the third acquisition module is set to execute the acquisition of the alarm information transmission time of each online user terminal, and the alarm information transmission time is the time when the alarm platform closest to the current time sends the alarm information to the online user terminal;
  • the first selection module 420 is specifically configured to execute the selection of the fourth user terminal from the first user terminals as the target user terminal according to the sending time of each alarm information when the number of first user terminals is greater than the second preset threshold, The alarm information transmission time of the fourth user terminal is earlier than the alarm information transmission time of other user terminals except the fourth user terminal in the first user terminal;
  • the second selection module 430 is specifically configured to execute: select a second user terminal from each online user terminal according to each alarm information sending time, and the second user terminal's alarm information sending time is earlier than each online user terminal except the second The alarm information sending time of user terminals other than the user terminal.
  • the device may further include:
  • the third acquisition module is set to execute the acquisition of the alarm information transmission time of each online user terminal, and the alarm information transmission time is the time when the alarm platform closest to the current time sends the alarm information to the online user terminal;
  • the first selection module 420 is configured to execute the selection of the fifth user terminal from the third user terminals as the target user terminal according to each alarm information transmission time when the number of third user terminals is greater than the third preset threshold.
  • the alarm information transmission time of the fifth user terminal is earlier than the alarm information transmission time of other user terminals except the fifth user terminal in the third user terminal.
  • the device further includes:
  • the receiving module is configured to execute and receive the alarm processing completion message sent by each online user terminal, and update the first processing time of each online user terminal;
  • the first selection module 420 is specifically set to perform sorting of each online user terminal according to the size of the number to be processed. When there are user terminals with the same number to be processed in each online user terminal, according to the order of the first processing time, Sort the equal number of user terminals to be processed to obtain the user terminal queue;
  • the user terminals with the first number of terminals are sequentially selected from the user terminal queue as the target user terminals.
  • the device may further include:
  • the second obtaining module is used to obtain the sending time of the alarm information of each online user terminal.
  • the sending time of the alarm information is the time when the alarm platform closest to the current time sends the to-be-delivered alarm information to the online user terminal;
  • the first selection module 420 is specifically configured to execute:
  • the user terminals to be processed with equal number are sorted according to the order of the first processing time.
  • the user terminals with the same to-be-processed number and the same first processing time are sorted according to the sequence of the alarm information sending time to obtain a user terminal queue.
  • the device may further include:
  • the rearrangement module is set to execute when the preset event occurs, according to the size of the number of each online user terminal in the user terminal queue to be processed, the first processing time and the alarm information sending time, the user terminal queue Rearrangement, wherein the preset event includes at least one of the following: the presence of a user terminal going online on the alarm platform, the presence of a user terminal going offline from the alarm platform, the alarm platform issuing alarm information, and the user terminal processing the alarm information.
  • the user terminal with a relatively small number to be processed is taken as the target user terminal, and when the number to be processed is completely equal, the second user selected as the target user terminal
  • the number of terminals is smaller than the number of online user terminals. In other words, the number of selected target user terminals is less than the number of online user terminals, and the alarm information to be issued is only sent to the target user terminal, so that only the target user terminal that has received the alarm information to be issued will treat the alarm information to be issued
  • the processing is carried out to avoid the repeated processing of an alarm message by all user terminals.
  • the user terminal with a relatively small number to be processed is used as the target user terminal to receive the alarm information to be issued, so that the alarm information to be issued can be processed as soon as possible, and further Improve the timeliness of the processing of alarm information.
  • An embodiment of the present application also provides an information sending apparatus, where the apparatus includes a processor and a memory.
  • the processor is used to execute the following program modules stored in the memory:
  • the first acquisition module is set to execute the acquisition of the number of unprocessed alarm information of each online user terminal as the number of each online user terminal to be processed;
  • the first selection module is configured to execute the selection of the first user terminal from each of the online user terminals as the target user terminal according to the size of the number of to-be-processed when the to-be-processed numbers of the on-line user terminals are not completely equal.
  • the number of to-be-processed of the first user terminal is less than the number of to-be-processed of other user terminals except the first user terminal in each online user terminal;
  • the second selection module is configured to execute the selection of the second user terminal from the online user terminals as the target user terminal according to a preset selection rule when the number of to-be-processed terminals of the online user terminals is completely equal.
  • the number of second user terminals is less than the number of online user terminals;
  • the delivery module is configured to execute sending the alarm information to be delivered to the target user terminal.
  • the processor is also used to execute the following program modules stored in the memory:
  • the receiving module is configured to execute and receive the alarm processing completion message sent by each online user terminal, and update the first processing time of each online user terminal;
  • the first selection module is specifically configured to execute when the number of first user terminals is greater than the first preset threshold, according to each first processing time, select a third user terminal from the first user terminal as the target user terminal, The first processing time of the three user terminals is earlier than the first processing time of other user terminals except the third user terminal in the first user terminal;
  • the second selection module is specifically set to be executed: according to each first processing time, a second user terminal is selected from each online user terminal, the first processing time of the second user terminal is earlier than each online user terminal except the second user The first processing time of user terminals other than the terminal.
  • the processor is also used to execute the following program modules stored in the memory:
  • the second obtaining module is set to execute obtaining the online time of each online user terminal
  • the second selection module is specifically configured to execute: according to the online time of each online user terminal, the second user terminal is selected from each online user terminal, the online time of the second user terminal is earlier than the second user terminal except the second user The online time of user terminals other than the terminal.
  • the processor is also used to execute the following program modules stored in the memory:
  • the third acquisition module is set to execute the acquisition of the alarm information transmission time of each online user terminal, and the alarm information transmission time is the time when the alarm platform closest to the current time sends the alarm information to the online user terminal;
  • the first selection module is specifically configured to execute when the number of first user terminals is greater than the second preset threshold, select a fourth user terminal from the first user terminals as the target user terminal according to each alarm information transmission time, and The alarm information transmission time of the four user terminals is earlier than the alarm information transmission time of other user terminals except the fourth user terminal in the first user terminal;
  • the second selection module is specifically set to execute: select the second user terminal from each online user terminal according to the sending time of each alarm information, and the sending time of the alarm information of the second user terminal is earlier than that of each online user terminal except the second user The alarm information sending time of user terminals other than the terminal.
  • the processor is also used to execute the following program modules stored in the memory:
  • the third acquisition module is set to execute the acquisition of the alarm information transmission time of each online user terminal, and the alarm information transmission time is the time when the alarm platform closest to the current time sends the alarm information to the online user terminal;
  • the first selection module is configured to execute, when the number of third user terminals is greater than the third preset threshold, select the fifth user terminal from the third user terminals as the target user terminal according to each alarm information transmission time, The alarm information transmission time of the fifth user terminal is earlier than the alarm information transmission time of other user terminals except the fifth user terminal in the third user terminal.
  • the processor is also used to execute the following program modules stored in the memory:
  • the receiving module is configured to execute and receive the alarm processing completion message sent by each online user terminal, and update the first processing time of each online user terminal;
  • the first selection module is specifically set to perform sorting of each online user terminal according to the number of to-be-processed.
  • the first Sort the equal number of user terminals to obtain the user terminal queue;
  • the processor is also used to execute the following program modules stored in the memory:
  • the second acquisition module is set to execute the acquisition of the alarm information sending time of each online user terminal.
  • the alarm information sending time is the time when the alarm platform closest to the current time sends the alarm information to be sent to the online user terminal;
  • the first selection module is specifically set to execute:
  • the user terminals to be processed with equal number are sorted according to the order of the first processing time.
  • the user terminals with the same to-be-processed number and the same first processing time are sorted according to the sequence of the alarm information sending time to obtain a user terminal queue.
  • the processor is also used to execute the following program modules stored in the memory:
  • the rearrangement module is set to execute when the preset event occurs, according to the size of the number of each online user terminal in the user terminal queue to be processed, the first processing time and the alarm information sending time, the user terminal queue Rearrangement, wherein the preset event includes at least one of the following: the presence of a user terminal going online on the alarm platform, the presence of a user terminal going offline from the alarm platform, the alarm platform issuing alarm information, and the user terminal processing the alarm information.
  • the user terminal with a relatively small number to be processed is taken as the target user terminal, and when the number to be processed is completely equal, the second user selected as the target user terminal
  • the number of terminals is smaller than the number of online user terminals. In other words, the number of selected target user terminals is less than the number of online user terminals, and the alarm information to be issued is only sent to the target user terminal, so that only the target user terminal that has received the alarm information to be issued will treat the alarm information to be issued
  • the processing is carried out to avoid the repeated processing of an alarm message by all user terminals.
  • the user terminal with a relatively small number to be processed is used as the target user terminal to receive the alarm information to be issued, so that the alarm information to be issued can be processed as soon as possible, and further Improve the timeliness of the processing of alarm information.
  • An embodiment of the present application also provides an electronic device, as shown in FIG. 5, including a processor 510, a communication interface 520, a memory 530, and a communication bus 540, where the processor 510, the communication interface 520, and the memory 530 pass through the communication bus 540 Complete communication with each other;
  • the memory 530 is used to store computer programs
  • the number of to-be-processed of each online user terminal is not completely equal, according to the size of each to-be-processed, select the first user terminal from each of the online user terminals as the target user terminal, the number of to-be-processed of the first user terminal is less than each online The number of pending user terminals other than the first user terminal in the user terminal;
  • a second user terminal is selected from each online user terminal as the target user terminal, and the number of second user terminals is less than the number of online user terminals;
  • the user terminal with a relatively small number to be processed is taken as the target user terminal, and when the number to be processed is completely equal, the second user selected as the target user terminal
  • the number of terminals is smaller than the number of online user terminals. In other words, the number of selected target user terminals is less than the number of online user terminals, and the alarm information to be issued is only sent to the target user terminal, so that only the target user terminal that has received the alarm information to be issued will treat the alarm information to be issued
  • the processing is carried out to avoid the repeated processing of an alarm message by all user terminals.
  • the user terminal with a relatively small number to be processed is used as the target user terminal to receive the alarm information to be issued, so that the alarm information to be issued can be processed as soon as possible, and further Improve the timeliness of the processing of alarm information.
  • the communication bus mentioned in the above electronic device may be a peripheral component interconnection standard (Peripheral Component Interconnect, PCI) bus or an extended industry standard structure (Extended Industry Standard Architecture, EISA) bus, etc.
  • PCI peripheral component interconnection standard
  • EISA Extended Industry Standard Architecture
  • the communication bus can be divided into an address bus, a data bus, and a control bus.
  • the figure is only represented by a thick line, but it does not mean that there is only one bus or one type of bus.
  • the communication interface is used for communication between the electronic device and other devices.
  • the memory may include random access memory (Random Access Memory, RAM), or non-volatile memory (Non-Volatile Memory, NVM), for example, at least one disk memory.
  • RAM Random Access Memory
  • NVM Non-Volatile Memory
  • the memory may also be at least one storage device located away from the foregoing processor.
  • the aforementioned processor may be a general-purpose processor, including a central processor (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc .; it may also be a digital signal processor (Digital Signal Processing, DSP), dedicated integration Circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
  • a central processor Central Processing Unit, CPU
  • NP Network Processor
  • DSP Digital Signal Processing
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • an embodiment of the present application further provides a machine-readable storage medium in which a computer program is stored, and the computer program is processed by a processor When executed, any one of the above-mentioned steps of the information sending method corresponding to FIG. 1 and FIG. 1 is realized.
  • the communication bus mentioned in the above electronic device may be a peripheral component interconnection standard (Peripheral Component Interconnect, PCI) bus or an extended industry standard structure (Extended Industry Standard Architecture, EISA) bus, etc.
  • PCI peripheral component interconnection standard
  • EISA Extended Industry Standard Architecture
  • the communication bus can be divided into an address bus, a data bus, and a control bus.
  • the figure is only represented by a thick line, but it does not mean that there is only one bus or one type of bus.
  • the communication interface is used for communication between the electronic device and other devices.
  • the memory may include random access memory (Random Access Memory, RAM), or non-volatile memory (Non-Volatile Memory, NVM), for example, at least one disk memory.
  • RAM Random Access Memory
  • NVM Non-Volatile Memory
  • the memory may also be at least one storage device located away from the foregoing processor.
  • the aforementioned processor may be a general-purpose processor, including a central processor (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc .; it may also be a digital signal processor (Digital Signal Processing, DSP), dedicated integration Circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
  • a central processor Central Processing Unit, CPU
  • NP Network Processor
  • DSP Digital Signal Processing
  • ASIC Application Specific Integrated Circuit
  • FPGA Field-Programmable Gate Array
  • an embodiment of the present application further provides a machine-readable storage medium in which a computer program is stored, and the computer program is processed by a processor When executed, any one of the above-mentioned steps of the information sending method corresponding to FIG. 2 and FIG. 2 is realized.
  • an embodiment of the present application further provides a computer program product containing instructions, which when executed on a computer, causes the computer to execute any of the above-mentioned figures 1 and the steps of the information transmission method corresponding to FIG. 1.
  • an embodiment of the present application also provides a computer program product containing instructions, which when executed on a computer, causes the computer to execute any of the above-mentioned figures 2 and the information transmission method steps corresponding to FIG. 2.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be from a website site, computer, server or data center Transmit to another website, computer, server or data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device including a server, a data center, and the like integrated with one or more available media.
  • the available media may be magnetic media (eg, floppy disk, hard disk, magnetic tape), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk (SSD)), and the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Health & Medical Sciences (AREA)
  • Emergency Management (AREA)
  • Environmental & Geological Engineering (AREA)
  • Public Health (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

Provided are a method and apparatus for sending information. The method for sending information comprises: acquiring the amounts of processing to be performed of various online user terminals; when said amounts of processing of the various online user terminals are not equal, selecting, according to the magnitude of said amounts of processing, a target user terminal from the various online user terminals; when said amounts of processing of the various online user terminals are equal, selecting, according to a preset selection rule, a target user terminal from the various online user terminals; and sending, to the target user terminal, alarm information to be issued. By means of the technical solution, alarm information to be issued is only sent to a target user terminal, thus avoiding one piece of alarm information being repeatedly processed by all the user terminals. When the amounts of processing to be performed are not equal, according to the magnitude of said amounts, a user terminal with a relatively small amount of processing to be performed is taken as the target user terminal, such that alarm information to be issued can be processed as soon as possible, thereby improving the time effectiveness of the alarm information being processed.

Description

一种信息发送方法及装置Information sending method and device
本申请要求于2018年10月24日提交中国专利局、申请号为201811245258.X申请名称为“一种信息发送方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application requires the priority of a Chinese patent application filed on October 24, 2018, filed with the China Patent Office, with the application number 201811245258.X and the application name is "an information transmission method and device", the entire contents of which are incorporated by reference in this application in.
技术领域Technical field
本申请涉及安防技术领域,特别是涉及一种信息发送方法及装置。This application relates to the field of security technology, in particular to an information sending method and device.
背景技术Background technique
在相关技术中,安防***中的报警平台可以针对已发生的危险或者潜在的危险发出报警信息,以通知相关人员及时进行处理。In the related art, the alarm platform in the security system can issue an alarm message for the danger that has occurred or the potential danger, so as to notify relevant personnel to deal with it in time.
具体地,报警平台获取到相关的报警信息之后,报警平台会将报警信息下发至所有负责处理报警信息的人员,这些负责处理报警信息的人员接收到报警平台下发的报警信息之后,便可以根据报警信息进行相应的处理,以消除报警信息所针对的危险。Specifically, after the alarm platform obtains the relevant alarm information, the alarm platform will send the alarm information to all the personnel responsible for processing the alarm information. After receiving the alarm information issued by the alarm platform, the personnel responsible for processing the alarm information can According to the alarm information, carry out corresponding processing to eliminate the dangers targeted by the alarm information.
然而,报警平台是将报警信息下发至所有负责处理报警信息的人员的,当所有负责处理报警信息的人员均接收到报警信息并且均处于空闲状态时,所有负责处理报警信息的人员均会去处理当前接收到的同一报警信息,这样导致了同一报警信息会被重复处理。并且,若报警平台再下发另一报警信息时,所有负责处理报警信息的人员均去处理前一个报警信息了,而后面下发的报警信息会被搁置处理,这样影响了报警处理的时效性,导致了报警信息处理不及时。However, the alarm platform sends the alarm information to all the personnel responsible for processing the alarm information. When all the personnel responsible for processing the alarm information receive the alarm information and are in the idle state, all the personnel responsible for processing the alarm information will go to Processing the same alarm message currently received, which results in the same alarm message being processed repeatedly. In addition, if another alarm message is issued by the alarm platform, all the personnel responsible for processing the alarm message will process the previous alarm message, and the subsequent alarm messages will be put on hold, which affects the timeliness of the alarm processing. , Resulting in untimely processing of alarm information.
发明内容Summary of the invention
本申请实施例的目的在于提供一种信息发送方法及装置,以将待处理数量相对小的用户终端作为目标用户终端,并将待下发报警信息仅发送至目标用户终端,进而解决报警信息被重复处理以及处理不及时的问题。具体技术方案如下:The purpose of the embodiments of the present application is to provide an information sending method and device, which takes a relatively small number of user terminals to be processed as a target user terminal, and sends only the alarm information to be delivered to the target user terminal, so as to solve the problem Repeated processing and untimely problems. The specific technical solutions are as follows:
第一方面,本申请实施例提供了一种信息发送方法,所述方法包括:In a first aspect, an embodiment of the present application provides an information sending method, and the method includes:
获取各在线用户终端的未处理报警信息的数量,作为各在线用户终端的 待处理数量;Obtain the number of unprocessed alarm information of each online user terminal as the number of pending processing of each online user terminal;
当各在线用户终端的待处理数量不完全相等时,按照各待处理数量的大小,从所述各在线用户终端中选择第一用户终端,作为目标用户终端,所述第一用户终端的待处理数量小于各在线用户终端中除第一用户终端外的其他用户终端的待处理数量;When the number of to-be-processed terminals of each online user terminal is not completely equal, according to the size of each to-be-processed value, a first user terminal is selected from each of the online user terminals as the target user terminal, and the first user terminal The number is less than the number of other user terminals to be processed except the first user terminal in each online user terminal;
当各在线用户终端的待处理数量完全相等时,根据预设选取规则,从所述各在线用户终端中选择第二用户终端,作为目标用户终端,所述第二用户终端的数量小于在线用户终端的数量;When the number of each online user terminal to be processed is completely equal, according to a preset selection rule, a second user terminal is selected from each online user terminal as the target user terminal, and the number of the second user terminals is less than the online user terminals quantity;
将待下发报警信息发送至所述目标用户终端。Sending the alarm information to be issued to the target user terminal.
在一种可能的实施例中,所述方法还包括:In a possible embodiment, the method further includes:
接收各在线用户终端发送的报警处理完成消息,并更新各在线用户终端的第一处理时间;Receive the alarm processing completion message sent by each online user terminal, and update the first processing time of each online user terminal;
当所述第一用户终端的数量大于第一预设阈值时,根据各第一处理时间,从第一用户终端中选择第三用户终端,作为目标用户终端,所述第三用户终端的第一处理时间早于所述第一用户终端中除第三用户终端外的其他用户终端的第一处理时间;When the number of the first user terminals is greater than the first preset threshold, according to each first processing time, a third user terminal is selected from the first user terminals as the target user terminal, the first of the third user terminals The processing time is earlier than the first processing time of other user terminals except the third user terminal in the first user terminal;
所述根据预设选取规则,从所述各在线用户终端中选择第二用户终端,包括:根据各第一处理时间,从各在线用户终端中选择第二用户终端,所述第二用户终端的第一处理时间早于各在线用户终端中除第二用户终端外的其他用户终端的第一处理时间。The selecting the second user terminal from the online user terminals according to a preset selection rule includes: selecting the second user terminal from each online user terminal according to each first processing time, the The first processing time is earlier than the first processing time of each of the online user terminals except the second user terminal.
在一种可能的实施例中,所述方法还包括:In a possible embodiment, the method further includes:
获取各在线用户终端的上线时间;Obtain the online time of each online user terminal;
所述根据预设选取规则,从所述各在线用户终端中选择第二用户终端,包括:根据各在线用户终端的上线时间,从所述各在线用户终端中选择第二用户终端,所述第二用户终端的上线时间早于各在线用户终端中除第二用户终端外的其他用户终端的上线时间。The selecting the second user terminal from the online user terminals according to a preset selection rule includes: selecting the second user terminal from the online user terminals according to the online time of each online user terminal, the first The online time of the second user terminal is earlier than the online time of the other user terminals except the second user terminal in each online user terminal.
在一种可能的实施例中,所述方法还包括:In a possible embodiment, the method further includes:
获取各在线用户终端的报警信息发送时间,所述报警信息发送时间为距离当前时刻最近的报警平台向在线用户终端发送待下发报警信息的时间;Obtain the alarm information sending time of each online user terminal, where the alarm information sending time is the time when the alarm platform closest to the current time sends the to-be-delivered alarm information to the online user terminal;
当所述第一用户终端的数量大于第二预设阈值时,根据各报警信息发送时间,从第一用户终端中选择第四用户终端,作为目标用户终端,所述第四用户终端的报警信息发送时间早于所述第一用户终端中除第四用户终端外的其他用户终端的报警信息发送时间;When the number of the first user terminals is greater than the second preset threshold, according to each alarm information sending time, select a fourth user terminal from the first user terminal as the target user terminal, the fourth user terminal alarm information The sending time is earlier than the sending time of the alarm information of other user terminals except the fourth user terminal in the first user terminal;
所述根据预设选取规则,从所述各在线用户终端中选择第二用户终端,包括:根据各报警信息发送时间,从各在线用户终端中选择第二用户终端,所述第二用户终端的报警信息发送时间早于各在线用户终端中除第二用户终端外的其他用户终端的报警信息发送时间。The selecting a second user terminal from the online user terminals according to a preset selection rule includes: selecting a second user terminal from each online user terminal according to each alarm information sending time, The alarm information transmission time is earlier than the alarm information transmission time of the other user terminals except the second user terminal in each online user terminal.
在一种可能的实施例中,所述方法还包括:In a possible embodiment, the method further includes:
获取各在线用户终端的报警信息发送时间,所述报警信息发送时间为距离当前时刻最近的报警平台向在线用户终端发送待下发报警信息的时间;Obtain the alarm information sending time of each online user terminal, where the alarm information sending time is the time when the alarm platform closest to the current time sends the to-be-delivered alarm information to the online user terminal;
当所述第三用户终端的数量大于第三预设阈值时,根据各报警信息发送时间,从第三用户终端中选择第五用户终端,作为目标用户终端,所述第五用户终端的报警信息发送时间早于所述第三用户终端中除第五用户终端外的其他用户终端的报警信息发送时间。When the number of the third user terminals is greater than the third preset threshold, according to each alarm information sending time, select the fifth user terminal from the third user terminal as the target user terminal, the alarm information of the fifth user terminal The transmission time is earlier than the alarm information transmission time of other user terminals except the fifth user terminal in the third user terminal.
在一种可能的实施例中,所述方法还包括:In a possible embodiment, the method further includes:
接收各在线用户终端发送的报警处理完成消息,并更新各在线用户终端的第一处理时间;Receive the alarm processing completion message sent by each online user terminal, and update the first processing time of each online user terminal;
所述当各在线用户终端的待处理数量不完全相等时,按照各待处理数量的大小,从所述各在线用户终端中选择第一用户终端,作为目标用户终端,包括:When the number of to-be-processed terminals of each online user terminal is not completely equal, according to the size of each to-be-processed value, selecting the first user terminal from the online user terminals as the target user terminal includes:
按照所述待处理数量的大小,对所述各在线用户终端进行排序,当所述各在线用户终端中存在待处理数量相等的用户终端时,按照第一处理时间的先后,对待处理数量相等的用户终端进行排序,得到用户终端队列;Sort the online user terminals according to the size of the number to be processed, and when there are user terminals with equal numbers of to-be-processed in each of the online user terminals, according to the order of the first processing time, the equal number to be processed The user terminals are sorted to obtain the user terminal queue;
按照所述用户终端队列的顺序,依次从所述用户终端队列中选择第一终 端数量的用户终端,作为目标用户终端。According to the order of the user terminal queue, the user terminals with the first number of terminals are sequentially selected from the user terminal queue as the target user terminals.
在一种可能的实施例中,所述方法还包括:In a possible embodiment, the method further includes:
获取各在线用户终端的报警信息发送时间,所述报警信息发送时间为距离当前时刻最近的报警平台向在线用户终端发送待下发报警信息的时间;Obtain the alarm information sending time of each online user terminal, where the alarm information sending time is the time when the alarm platform closest to the current time sends the to-be-delivered alarm information to the online user terminal;
所述按照所述待处理数量的大小,对所述各在线用户终端进行排序,当所述各在线用户终端中存在待处理数量相等的用户终端时,按照第一处理时间的先后,对所述待处理数量相等的用户终端进行排序,得到用户终端队列,包括:The online user terminals are sorted according to the size of the to-be-processed quantity. When there are user terminals with an equal number of to-be-processed in each of the online user terminals, according to the order of the first processing time, the The equal number of user terminals to be processed are sorted to obtain a user terminal queue, including:
按照所述待处理数量的大小,对所述各在线用户终端进行排序,当所述各在线用户终端中存在待处理数量相等的用户终端时,按照第一处理时间的先后,对所述待处理数量相等的用户终端进行排序,当所述各在线用户终端中存在待处理数量相等且第一处理时间相同的用户终端时,按照报警信息发送时间的先后,对所述待处理数量相等且第一处理时间相同的用户终端进行排序,得到用户终端队列。Sort the online user terminals according to the size of the number to be processed, and when there are user terminals with the same number to be processed in each of the online user terminals, according to the order of the first processing time, the Sort the equal number of user terminals. When there are user terminals with the same number of pending processing and the same first processing time in each of the online user terminals, the equal number of pending terminals and the first The user terminals with the same processing time are sorted to obtain the user terminal queue.
在一种可能的实施例中,所述方法还包括:In a possible embodiment, the method further includes:
当发生预设事件时,按照所述用户终端队列中各在线用户终端的待处理数量的大小,第一处理时间的先后以及报警信息发送时间的先后,对所述用户终端队列进行重新排列,其中,所述预设事件包括以下中的至少一种:存在用户终端在所述报警平台上线、存在用户终端从所述报警平台下线、所述报警平台下发报警信息和用户终端将报警信息处理完毕。When a preset event occurs, the user terminal queue is rearranged according to the size of the number of online user terminals to be processed in the user terminal queue, the order of first processing time and the time of sending alarm information, wherein , The preset event includes at least one of the following: a user terminal is online on the alarm platform, a user terminal is offline from the alarm platform, the alarm platform issues alarm information, and the user terminal processes the alarm information Finished.
第二方面,本申请实施例提供了一种信息发送装置,所述装置包括:In a second aspect, an embodiment of the present application provides an information sending apparatus, the apparatus includes:
第一获取模块,被设置于执行获取各在线用户终端的未处理报警信息的数量,作为各在线用户终端的待处理数量;The first acquisition module is set to execute the acquisition of the number of unprocessed alarm information of each online user terminal as the number of each online user terminal to be processed;
第一选择模块,被设置于执行当各在线用户终端的待处理数量不完全相等时,按照各待处理数量的大小,从所述各在线用户终端中选择第一用户终端,作为目标用户终端,所述第一用户终端的待处理数量小于各在线用户终端中除第一用户终端外的其他用户终端的待处理数量;The first selection module is configured to execute the selection of the first user terminal from each of the online user terminals as the target user terminal according to the size of the number of to-be-processed when the to-be-processed numbers of the on-line user terminals are not completely equal. The number of to-be-processed of the first user terminal is less than the number of to-be-processed of other user terminals except the first user terminal in each online user terminal;
第二选择模块,被设置于执行当各在线用户终端的待处理数量完全相等时,根据预设选取规则,从所述各在线用户终端中选择第二用户终端,作为目标用户终端,所述第二用户终端的数量小于在线用户终端的数量;The second selection module is configured to execute the selection of the second user terminal from the online user terminals as the target user terminal according to a preset selection rule when the number of to-be-processed terminals of the online user terminals is completely equal. The number of second user terminals is less than the number of online user terminals;
下发模块,被设置于执行将待下发报警信息发送至所述目标用户终端。The delivery module is configured to execute sending the alarm information to be delivered to the target user terminal.
在一种可能的实施例中,所述装置还包括:In a possible embodiment, the device further includes:
接收模块,被设置于执行接收各在线用户终端发送的报警处理完成消息,并更新各在线用户终端的第一处理时间;The receiving module is configured to execute and receive the alarm processing completion message sent by each online user terminal, and update the first processing time of each online user terminal;
所述第一选择模块,具体被设置于执行当所述第一用户终端的数量大于第一预设阈值时,根据各第一处理时间,从第一用户终端中选择第三用户终端,作为目标用户终端,所述第三用户终端的第一处理时间早于所述第一用户终端中除第三用户终端外的其他用户终端的第一处理时间;The first selection module is specifically configured to execute when the number of the first user terminals is greater than a first preset threshold, select a third user terminal from the first user terminals as the target according to each first processing time User terminal, the first processing time of the third user terminal is earlier than the first processing time of other user terminals except the third user terminal in the first user terminal;
所述第二选择模块,具体被设置于执行:根据各第一处理时间,从各在线用户终端中选择第二用户终端,所述第二用户终端的第一处理时间早于各在线用户终端中除第二用户终端外的其他用户终端的第一处理时间。The second selection module is specifically configured to execute: select a second user terminal from each online user terminal according to each first processing time, the first processing time of the second user terminal is earlier than that of each online user terminal The first processing time of user terminals other than the second user terminal.
在一种可能的实施例中,所述装置还包括:In a possible embodiment, the device further includes:
第二获取模块,被设置于执行获取各在线用户终端的上线时间;The second obtaining module is set to execute obtaining the online time of each online user terminal;
所述第二选择模块,具体被设置于执行:根据各在线用户终端的上线时间,从所述各在线用户终端中选择第二用户终端,所述第二用户终端的上线时间早于各在线用户终端中除第二用户终端外的其他用户终端的上线时间。The second selection module is specifically configured to execute: select a second user terminal from the online user terminals according to the online time of each online user terminal, the online time of the second user terminal is earlier than each online user The online time of other user terminals except the second user terminal in the terminal.
在一种可能的实施例中,所述装置还包括:In a possible embodiment, the device further includes:
第三获取模块,被设置于执行获取各在线用户终端的报警信息发送时间,所述报警信息发送时间为距离当前时刻最近的报警平台向在线用户终端发送待下发报警信息的时间;The third acquisition module is set to perform acquisition of the alarm information sending time of each online user terminal, where the alarm information sending time is the time when the alarm platform closest to the current time sends the alarm information to the online user terminal;
所述第一选择模块,具体被设置于执行当所述第一用户终端的数量大于第二预设阈值时,根据各报警信息发送时间,从第一用户终端中选择第四用户终端,作为目标用户终端,所述第四用户终端的报警信息发送时间早于所述第一用户终端中除第四用户终端外的其他用户终端的报警信息发送时间;The first selection module is specifically configured to execute when the number of the first user terminals is greater than a second preset threshold, select a fourth user terminal from the first user terminals as the target according to the sending time of each alarm information User terminal, the alarm information transmission time of the fourth user terminal is earlier than the alarm information transmission time of other user terminals except the fourth user terminal in the first user terminal;
所述第二选择模块,具体被设置于执行:根据各报警信息发送时间,从各在线用户终端中选择第二用户终端,所述第二用户终端的报警信息发送时间早于各在线用户终端中除第二用户终端外的其他用户终端的报警信息发送时间。The second selection module is specifically configured to execute: select a second user terminal from each online user terminal according to each alarm information transmission time, the alarm information transmission time of the second user terminal is earlier than each online user terminal Alarm information sending time of user terminals other than the second user terminal.
在一种可能的实施例中,所述装置还包括:In a possible embodiment, the device further includes:
第三获取模块,被设置于执行获取各在线用户终端的报警信息发送时间,所述报警信息发送时间为距离当前时刻最近的报警平台向在线用户终端发送待下发报警信息的时间;The third acquisition module is set to perform acquisition of the alarm information sending time of each online user terminal, where the alarm information sending time is the time when the alarm platform closest to the current time sends the alarm information to the online user terminal;
所述第一选择模块,具体被设置于执行当所述第三用户终端的数量大于第三预设阈值时,根据各报警信息发送时间,从第三用户终端中选择第五用户终端,作为目标用户终端,所述第五用户终端的报警信息发送时间早于所述第三用户终端中除第五用户终端外的其他用户终端的报警信息发送时间。The first selection module is specifically set to execute when the number of the third user terminals is greater than a third preset threshold, select the fifth user terminal from the third user terminals as the target according to the sending time of each alarm information User terminal, the alarm information transmission time of the fifth user terminal is earlier than the alarm information transmission time of other user terminals except the fifth user terminal in the third user terminal.
在一种可能的实施例中,,所述装置还包括:In a possible embodiment, the device further includes:
接收模块,被设置于执行接收各在线用户终端发送的报警处理完成消息,并更新各在线用户终端的第一处理时间;The receiving module is configured to execute and receive the alarm processing completion message sent by each online user terminal, and update the first processing time of each online user terminal;
所述第一选择模块,具体被设置于执行按照所述待处理数量的大小,对所述各在线用户终端进行排序,当所述各在线用户终端中存在待处理数量相等的用户终端时,按照第一处理时间的先后,对待处理数量相等的用户终端进行排序,得到用户终端队列;The first selection module is specifically configured to sort the online user terminals according to the size of the to-be-processed quantity, and when there are equal number of user terminals to be processed among the online user terminals, according to The order of the first processing time is to sort the user terminals with equal number of processing to obtain the user terminal queue;
按照所述用户终端队列的顺序,依次从所述用户终端队列中选择第一终端数量的用户终端,作为目标用户终端。According to the order of the user terminal queue, sequentially select the user terminals with the first number of terminals from the user terminal queue as the target user terminals.
在一种可能的实施例中,所述装置还包括:In a possible embodiment, the device further includes:
第二获取模块,用于获取各在线用户终端的报警信息发送时间,所述报警信息发送时间为距离当前时刻最近的报警平台向在线用户终端发送待下发报警信息的时间;The second obtaining module is used to obtain the sending time of the alarm information of each online user terminal. The sending time of the alarm information is the time when the alarm platform closest to the current time sends the to-be-delivered alarm information to the online user terminal;
所述第一选择模块,具体被设置于执行:The first selection module is specifically configured to execute:
按照所述待处理数量的大小,对所述各在线用户终端进行排序,当所述 各在线用户终端中存在待处理数量相等的用户终端时,按照第一处理时间的先后,对所述待处理数量相等的用户终端进行排序,当所述各在线用户终端中存在待处理数量相等且第一处理时间相同的用户终端时,按照报警信息发送时间的先后,对所述待处理数量相等且第一处理时间相同的用户终端进行排序,得到用户终端队列。Sort the online user terminals according to the size of the number to be processed, and when there are user terminals with the same number to be processed in each of the online user terminals, according to the order of the first processing time, the Sort the equal number of user terminals. When there are user terminals with the same number of pending processing and the same first processing time in each of the online user terminals, the equal number of pending terminals and the first The user terminals with the same processing time are sorted to obtain the user terminal queue.
在一种可能的实施例中,所述装置还包括:In a possible embodiment, the device further includes:
重排模块,被设置于执行当发生预设事件时,按照所述用户终端队列中各在线用户终端的待处理数量的大小,第一处理时间的先后以及报警信息发送时间的先后,对所述用户终端队列进行重新排列,其中,所述预设事件包括以下中的至少一种:存在用户终端在所述报警平台上线、存在用户终端从所述报警平台下线、所述报警平台下发报警信息和用户终端将报警信息处理完毕。The rearrangement module is set to execute when a preset event occurs, according to the size of the number of each online user terminal in the user terminal queue to be processed, the first processing time and the alarm information sending time The user terminal queue is rearranged, wherein the preset event includes at least one of the following: a user terminal is online on the alarm platform, a user terminal is offline from the alarm platform, and the alarm platform issues an alarm The information and user terminal process the alarm information.
第三方面,本申请实施例提供了一种电子设备,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
存储器,用于存放计算机程序;Memory, used to store computer programs;
处理器,用于执行存储器上所存放的程序时,实现上述任一所述的信息发送方法步骤。The processor is configured to execute any of the steps of the information sending method described above when executing the program stored in the memory.
第四方面,本申请实施例提供了一种机器可读存储介质,所述机器可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现上述任一所述的信息发送方法步骤。According to a fourth aspect, an embodiment of the present application provides a machine-readable storage medium that stores a computer program in the machine-readable storage medium, and when the computer program is executed by a processor, implements any of the foregoing information sending methods step.
第五方面,本申请实施例提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述任一所述的信息发送方法步骤。According to a fifth aspect, an embodiment of the present application provides a computer program product containing instructions, which, when run on a computer, causes the computer to perform any of the steps of the information sending method described above.
本申请实施例提供的技术方案中,获取各在线用户终端的未处理报警信息的数量,作为各在线用户终端的待处理数量;当各在线用户终端的待处理数量不完全相等时,按照各待处理数量的大小,从各在线用户终端中选择第一用户终端,作为目标用户终端,第一用户终端的待处理数量小于各在线用户终端中除第一用户终端外的其他用户终端的待处理数量;当各在线用户终 端的待处理数量完全相等时,根据预设选取规则,从各在线用户终端中选择第二用户终端,作为目标用户终端,第二用户终端的数量小于在线用户终端的数量;将待下发报警信息发送至目标用户终端。In the technical solution provided by the embodiment of the present application, the number of unprocessed alarm information of each online user terminal is obtained as the number of pending processing of each online user terminal; when the number of pending processing of each online user terminal is not exactly equal, according to each pending The size of the number of processing, select the first user terminal from each online user terminal as the target user terminal, the number of the first user terminal to be processed is smaller than the number of other user terminals in the online user terminal except the first user terminal When the number of online user terminals to be processed is completely equal, according to a preset selection rule, select a second user terminal from each online user terminal as the target user terminal, the number of second user terminals is less than the number of online user terminals; Send the alarm information to be delivered to the target user terminal.
通过本申请实施例提供的技术方案,当待处理数量不完全相等时将待处理数量相对小的用户终端作为目标用户终端,当待处理数量完全相等时,选取的作为目标用户终端的第二用户终端的数量小于在线用户终端的数量。也就是说,所选择的目标用户终端的数量小于在线用户终端的数量,将待下发报警信息仅发送给目标用户终端,这样仅接收到待下发报警信息的目标用户终端对待下发报警信息进行处理,而避免了一个报警信息被所有用户终端重复处理。并且,当待处理数量不完全相等时按照待处理数量的大小,将待处理数量相对少的用户终端作为接收待下发报警信息的目标用户终端,可以使得待下发报警信息尽快被处理,进而提高报警信息被处理的时效性。Through the technical solution provided by the embodiments of the present application, when the number to be processed is not completely equal, the user terminal with a relatively small number to be processed is taken as the target user terminal, and when the number to be processed is completely equal, the second user selected as the target user terminal The number of terminals is smaller than the number of online user terminals. In other words, the number of selected target user terminals is less than the number of online user terminals, and the alarm information to be issued is only sent to the target user terminal, so that only the target user terminal that has received the alarm information to be issued will treat the alarm information to be issued The processing is carried out to avoid the repeated processing of an alarm message by all user terminals. In addition, when the number to be processed is not completely equal, according to the size of the number to be processed, the user terminal with a relatively small number to be processed is used as the target user terminal to receive the alarm information to be issued, so that the alarm information to be issued can be processed as soon as possible, and further Improve the timeliness of the processing of alarm information.
附图说明BRIEF DESCRIPTION
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the embodiments of the present application or the technical solutions in the prior art, the following will briefly introduce the drawings used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, without paying any creative work, other drawings can be obtained based on these drawings.
图1为本申请实施例提供的信息发送方法的一种流程图;1 is a flowchart of an information sending method provided by an embodiment of this application;
图2为本申请实施例提供的信息发送方法的另一种流程图;FIG. 2 is another flowchart of the information sending method provided by the embodiment of the present application;
图3为本申请实施例提供的信息发送方法一种场景示意图;3 is a schematic diagram of a scenario of an information sending method provided by an embodiment of this application;
图4为本申请实施例提供的信息发送装置的一种结构示意图;4 is a schematic structural diagram of an information sending device provided by an embodiment of the present application;
图5为本申请实施例提供的电子设备的一种结构示意图。FIG. 5 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做 出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
为了解决报警信息被重复处理以及处理不及时的问题,本申请实施例提供了一种信息发送方法及装置,其中,该信息发送方法包括:In order to solve the problem of repeated processing of alarm information and untimely processing, embodiments of the present application provide an information sending method and device, where the information sending method includes:
获取各在线用户终端的未处理报警信息的数量,作为各在线用户终端的待处理数量;Obtain the number of unprocessed alarm information of each online user terminal as the number of pending processing of each online user terminal;
当各在线用户终端的待处理数量不完全相等时,按照各待处理数量的大小,从各在线用户终端中选择第一用户终端,作为目标用户终端,第一用户终端的待处理数量小于各在线用户终端中除第一用户终端外的其他用户终端的待处理数量;When the number of to-be-processed of each online user terminal is not completely equal, according to the size of each to-be-processed, select the first user terminal from each of the online user terminals as the target user terminal, the number of to-be-processed of the first user terminal is less than each online The number of pending user terminals other than the first user terminal in the user terminal;
当各在线用户终端的待处理数量完全相等时,根据预设选取规则,从各在线用户终端中选择第二用户终端,作为目标用户终端,第二用户终端的数量小于在线用户终端的数量;When the number of each online user terminal to be processed is completely equal, according to a preset selection rule, a second user terminal is selected from each online user terminal as the target user terminal, and the number of second user terminals is less than the number of online user terminals;
将待下发报警信息发送至目标用户终端。Send the alarm information to be delivered to the target user terminal.
通过本申请实施例提供的技术方案,当待处理数量不完全相等时将待处理数量相对小的用户终端作为目标用户终端,当待处理数量完全相等时,选取的作为目标用户终端的第二用户终端的数量小于在线用户终端的数量。也就是说,所选择的目标用户终端的数量小于在线用户终端的数量,将待下发报警信息仅发送给目标用户终端,这样仅接收到待下发报警信息的目标用户终端对待下发报警信息进行处理,而避免了一个报警信息被所有用户终端重复处理。并且,当待处理数量不完全相等时按照待处理数量的大小,将待处理数量相对少的用户终端作为接收待下发报警信息的目标用户终端,可以使得待下发报警信息尽快被处理,进而提高报警信息被处理的时效性。Through the technical solution provided by the embodiments of the present application, when the number to be processed is not completely equal, the user terminal with a relatively small number to be processed is taken as the target user terminal, and when the number to be processed is completely equal, the second user selected as the target user terminal The number of terminals is smaller than the number of online user terminals. In other words, the number of selected target user terminals is less than the number of online user terminals, and the alarm information to be issued is only sent to the target user terminal, so that only the target user terminal that has received the alarm information to be issued will treat the alarm information to be issued The processing is carried out to avoid the repeated processing of an alarm message by all user terminals. In addition, when the number to be processed is not completely equal, according to the size of the number to be processed, the user terminal with a relatively small number to be processed is used as the target user terminal to receive the alarm information to be issued, so that the alarm information to be issued can be processed as soon as possible, and Improve the timeliness of the processing of alarm information.
下面首先对本申请实施例提供的信息发送方法进行介绍。本申请实施例提供的信息发送方法可以应用于报警平台,还可以应用于与报警平台通信连接的其他电子设备,在此不做限定。下面以报警平台为例进行说明。The following first introduces the information sending method provided by the embodiment of the present application. The information sending method provided in the embodiments of the present application may be applied to an alarm platform, and may also be applied to other electronic devices that are communicatively connected to the alarm platform, which is not limited herein. The following uses the alarm platform as an example.
如图1所示,本申请实施例提供的信息发送方法包括如下步骤。As shown in FIG. 1, the information sending method provided by the embodiment of the present application includes the following steps.
S101,获取各在线用户终端的未处理报警信息的数量,作为各在线用户 终端的待处理数量。S101. Acquire the number of unprocessed alarm information of each online user terminal as the number of pending processing of each online user terminal.
其中,在线用户终端是指在报警平台上线的用户终端,在线用户终端与报警平台建立通信连接,可以接收报警平台发送的信息,该信息可以是报警信息、指示信息等不同类型的信息。The online user terminal refers to a user terminal that is online on the alarm platform. The online user terminal establishes a communication connection with the alarm platform and can receive information sent by the alarm platform. The information can be different types of information such as alarm information and instruction information.
每一在线用户终端对应至少一个处理人员,处理人员可以根据在线用户终端所接收到的报警信息进行相应的处理,以解决报警信息所表示的事项。例如,每一在线用户终端对应一个处理人员,其中,在线用户终端A对应处理人员A,在线用户终端B对应处理人员B,当在线用户终端A接收到的报警信息为发生的纠纷,则处理人员A对该报警信息所表示的纠纷进行处理。Each online user terminal corresponds to at least one processing personnel, and the processing personnel can perform corresponding processing according to the alarm information received by the online user terminal to resolve the matters indicated by the alarm information. For example, each online user terminal corresponds to a processor, where online user terminal A corresponds to processor A, and online user terminal B corresponds to processor B. When the alarm information received by online user terminal A is a dispute, the processor A handles the dispute expressed by the alarm message.
每一在线用户终端的未处理报警信息是指报警平台下发给该在线用户终端、且由该在线用户终端处理而还未处理以及正在处理的报警信息。The unprocessed alarm information of each online user terminal refers to the alarm information issued to the online user terminal by the alarm platform and processed by the online user terminal but not yet processed and being processed.
对于每一在线用户终端来说,每当接收到报警信息时,若当前不能及时地被处理,则在线用户终端可以将所接收到的报警信息作为未处理报警信息存储于本地,当本地存储有多条未处理报警信息时,可以按照时间顺序进行排列,以使得处理人员可以按照未处理报警信息所排列的顺序,依次处理各未处理报警信息。For each online user terminal, whenever the alarm information is received, if it cannot be processed in time, the online user terminal can store the received alarm information locally as unprocessed alarm information. When there are multiple unprocessed alarm messages, they can be arranged in chronological order, so that the processing personnel can process each unprocessed alarm message in sequence according to the order in which the unprocessed alarm messages are arranged.
在报警平台上线的每一在线用户终端均对应有一个待处理数量,例如,在线用户终端A对应的待处理数量为0时,表示该在线用户终端A当前没有未处理报警信息。在线用户终端B对应的待处理数量为3时,表示该在线用户终端B当前有3条未处理报警信息。Each online user terminal online on the alarm platform corresponds to a quantity to be processed. For example, when the quantity to be processed corresponding to the online user terminal A is 0, it means that the online user terminal A currently has no unprocessed alarm information. When the number of to-be-processed corresponding to the online user terminal B is 3, it means that the online user terminal B currently has 3 unprocessed alarm messages.
对于各在线用户终端对应的未处理报警信息,一种实现方式中,可以是报警平台记录的。报警平台记录每个在线用户终端的未处理报警信息的数量。当有在线用户终端完成报警信息的处理之后,在线用户终端向报警平台反馈已处理完成的信息,以使得报警平台对所记录的未处理报警信息的数量进行更新。For an unprocessed alarm information corresponding to each online user terminal, in one implementation, it may be recorded by an alarm platform. The alarm platform records the number of unprocessed alarm information for each online user terminal. After an online user terminal completes the processing of the alarm information, the online user terminal feeds back the processed information to the alarm platform, so that the alarm platform updates the recorded amount of unprocessed alarm information.
另一种实现方式中,报警平台记录有每个在线用户终端的未处理报警信息的数量,并且每个在线用户终端也可以记录自身的未处理报警信息的数量。每个在线用户终端可以根据预设时间点或者间隔时长向报警平台反馈各自的 未处理报警信息的数量,以使得报警平台及时更新本地存储的各在线用户终端的未处理报警信息的数量。其中,预设时间点或者间隔时长均可以是自定义设定的。In another implementation, the alarm platform records the amount of unprocessed alarm information for each online user terminal, and each online user terminal can also record its own amount of unprocessed alarm information. Each online user terminal can feed back the amount of unprocessed alarm information to the alarm platform according to a preset time point or interval duration, so that the alarm platform can update the locally stored amount of unprocessed alarm information of each online user terminal in time. Wherein, the preset time point or interval duration can be set by user.
对于报警平台来说,可以直接从本地获取各在线用户终端的未处理报警信息的数量。For the alarm platform, the number of unprocessed alarm information of each online user terminal can be obtained directly from the local.
S102,当各在线用户终端的待处理数量不完全相等时,按照各待处理数量的大小,从各在线用户终端中选择第一用户终端,作为目标用户终端。S102: When the number of to-be-processed terminals of each online user terminal is not completely equal, select the first user terminal from each of the online user terminals as the target user terminal according to the size of each to-be-processed number.
其中,第一用户终端的待处理数量小于各在线用户终端中除第一用户终端外的其他用户终端的待处理数量。这样,所选择的第一用户终端的数量小于各在线用户终端的数量。其中,从各在线用户终端中选择的第一用户终端的数量可以是自定义设定的。The number of the first user terminal to be processed is smaller than the number of the other user terminals except the first user terminal in each online user terminal. In this way, the number of selected first user terminals is smaller than the number of online user terminals. Wherein, the number of the first user terminals selected from the online user terminals may be set by the user.
例如,从各在线用户终端中选择一个在线用户终端作为第一用户终端,即目标用户终端,则该第一用户终端的待处理数量小于各在线用户终端中除第一用户终端外的其他在线用户终端的待处理数量。For example, if one online user terminal is selected from each online user terminal as the first user terminal, that is, the target user terminal, the number of pending first user terminals is less than the other online users in each online user terminal except the first user terminal The number of terminals to be processed.
第一用户终端的数量可以是一个也可以是多个。当第一用户终端的数量为多个时。第一用户终端的待处理数量小于各在线用户终端中除第一用户终端外的其他用户终端的待处理数量,是指任一第一用户终端的待处理数量小于各在线用户终端中除这多个第一用户终端外的任一其他用户终端的待处理数量。多个第一用户终端中的一个第一用户终端的待处理数量可以大于或等于其他第一用户终端的待处理数量。The number of the first user terminal may be one or more. When the number of first user terminals is multiple. The number of pending processing of the first user terminal is less than the number of pending processing of other user terminals except the first user terminal in each online user terminal, which means that the number of pending processing of any first user terminal is less than that of each online user terminal The number of any other user terminals to be processed outside the first user terminal. The number of to-be-processed of one first user terminal among the plurality of first user terminals may be greater than or equal to the number of to-be-processed of other first user terminals.
依据待处理数量的大小从各在线用户终端中选择第一用户终端作为目标用户终端,后续将待下发报警信息发送至目标用户终端来处理。这样,相比于其他在线用户终端的待处理数量,目标用户终端的待处理数量是相对来说较少的,待下发报警信息被下发至目标用户终端后可以尽快地被处理,进而提高了报警信息的处理效率以及时效性。The first user terminal is selected from each online user terminal as the target user terminal according to the size of the number to be processed, and then the alarm information to be issued is sent to the target user terminal for processing. In this way, compared with the number of other online user terminals, the number of target user terminals to be processed is relatively small, and the alarm information to be issued can be processed as soon as possible after being sent to the target user terminal, thereby increasing The processing efficiency and timeliness of the alarm information have been introduced.
对于从选取目标用户终端,除了考虑待处理数量的因素以外,还可以考虑第一处理时间,以进一步地提高报警信息的时效性。一种实施方式中,接收各在线用户终端发送的报警处理完成消息,并更新各在线用户终端的第一 处理时间。For selecting the target user terminal, in addition to considering the number of factors to be processed, the first processing time may also be considered to further improve the timeliness of the alarm information. In one embodiment, the alarm processing completion message sent by each online user terminal is received, and the first processing time of each online user terminal is updated.
报警平台记录有各在线用户终端的第一处理时间,并且报警平台可以对所记录的第一处理时间进行更新。其中,第一处理时间可以是报警平台接收到在线用户终端发送的报警处理完成消息的时间,第一处理时间还可以是指在线用户终端对报警信息处理完成的完成时间,在线用户终端将携带该完成时间的报警处理完成消息发送至报警平台,报警平台根据该完成时间对第一处理时间进行更新。The alarm platform records the first processing time of each online user terminal, and the alarm platform can update the recorded first processing time. The first processing time may be the time when the alarm platform receives the alarm processing completion message sent by the online user terminal. The first processing time may also refer to the completion time of the online user terminal for processing the alarm information. The online user terminal will carry the The alarm processing completion message of the completion time is sent to the alarm platform, and the alarm platform updates the first processing time according to the completion time.
下面以第一处理时间为报警信息处理完成的时间为例进行介绍。在线用户终端的第一处理时间为距离当前时间点最近的报警信息处理完毕的时间点。例如,对于在线用户终端A来说,在11点时处理完成一个报警信息,在11点20分完成一个报警信息,若当前时间为11点30分,则距离当前11点30分最近的报警信息处理完毕的时间点为11点20分,即11点20分为在线用户终端A的第一处理时间。The following takes the first processing time as the time when the alarm information processing is completed as an example. The first processing time of the online user terminal is the time when the alarm information closest to the current time is processed. For example, for the online user terminal A, an alarm message is processed at 11 o'clock, and an alarm message is completed at 11:20. If the current time is 11:30, the alarm message closest to the current 11:30 The processing time is 11:20, that is, 11:20 is the first processing time of the online user terminal A.
同一在线用户终端在不同的时刻所对应的第一处理时间可以相同,也可以不同。同一时刻各在线用户终端的第一处理时间可以相同,也可以不相同。The first processing time corresponding to the same online user terminal at different moments may be the same or different. The first processing time of each online user terminal at the same time may be the same or different.
从各在线用户终端中选择第一用户终端之后,当第一用户终端的数量大于第一预设阈值时,根据各第一处理时间,从第一用户终端中选择第三用户终端,作为目标用户终端。After selecting the first user terminal from each online user terminal, when the number of first user terminals is greater than the first preset threshold, the third user terminal is selected from the first user terminals as the target user according to each first processing time terminal.
其中,第一预设阈值可以是自定义设定的。第三用户终端的第一处理时间早于第一用户终端中除第三用户终端外的其他用户终端的第一处理时间。Wherein, the first preset threshold may be set by custom. The first processing time of the third user terminal is earlier than the first processing time of other user terminals except the third user terminal in the first user terminal.
例如,在线用户终端包括:终端A、终端B、终端C、终端D和终端E,其中,按照待处理数量的大小,选择终端A、终端B和终端C作为第一用户终端,根据第一处理时间,从第一用户终端中选择终端A和终端B作为第三用户终端,即目标用户终端。那么,终端A、终端B和终端C各自的待处理数量小于终端D和终端E各自的待处理数量,终端A和终端B的第一处理时间早于终端C的第一处理时间。For example, online user terminals include: terminal A, terminal B, terminal C, terminal D, and terminal E, where terminal A, terminal B, and terminal C are selected as the first user terminal according to the size of the number to be processed, according to the first processing At time, terminal A and terminal B are selected from the first user terminal as the third user terminal, that is, the target user terminal. Then, the terminal A, terminal B, and terminal C each have a smaller amount of to-be-processed than the terminal D and terminal E, and the first processing time of the terminal A and the terminal B is earlier than the first processing time of the terminal C.
一种实现方式中,按照第一处理时间从早到晚的顺序,对第一用户终端进行排序,按照该排序,从第一用户终端中依次选择用户终端作为第三用户 终端,所选择出的第三用户终端即为目标用户终端。In an implementation manner, the first user terminals are sorted according to the order of the first processing time from morning to night, and according to the order, the user terminals are sequentially selected from the first user terminals as the third user terminal. The third user terminal is the target user terminal.
例如,选择出的第一用户终端包括:终端A、终端B、终端C和终端D,其中,根据第一处理时间从早到晚的顺序对第一用户终端进行排序,所得到的排序为:终端D、终端B、终端C、终端A,则从该排序中可知:终端D的第一处理时间最早,终端B次之,终端C晚于终端D和终端B,终端A最晚。当需要从第一用户终端选择两个用户终端作为第三用户终端时,按照上述排序,先选择终端D作为第三用户终端,再选择终端B作为第三用户终端。For example, the selected first user terminals include: terminal A, terminal B, terminal C, and terminal D, where the first user terminals are sorted according to the order of the first processing time from early to late, and the resulting order is: For terminal D, terminal B, terminal C, and terminal A, it can be known from the ranking that terminal D has the earliest processing time, terminal B is the second, terminal C is later than terminal D and terminal B, and terminal A is the latest. When it is necessary to select two user terminals from the first user terminal as the third user terminal, according to the above sequence, first select the terminal D as the third user terminal, and then select the terminal B as the third user terminal.
一种实施方式中,对于目标用户终端的选取,除了考虑待处理数量、第一处理时间以外,还可以考虑报警信息发送时间。In one embodiment, in addition to considering the number of to-be-processed and the first processing time, the selection of the target user terminal may also consider the sending time of the alarm information.
报警平台可以获取各在线用户终端的报警信息发送时间。其中,报警信息发送时间为距离当前时刻最近的报警平台向在线用户终端发送待下发报警信息的时间。The alarm platform can obtain the alarm information sending time of each online user terminal. The alarm information sending time is the time when the alarm platform closest to the current time sends the alarm information to be sent to the online user terminal.
例如,报警平台在11点时向在线用户终端B发送一个报警信息,此时在线用户终端B的报警信息发送时间为11点。在11点20分报警平台又向该在线用户终端B发送一个报警信息,在12点又向该在线用户终端B发送一个报警信息。若当前时间为13点,则该在线用户终端B的报警信息发送时间为12点。For example, the alarm platform sends an alarm message to the online user terminal B at 11 o'clock. At this time, the alarm message transmission time of the online user terminal B is 11 o'clock. The alarm platform sends an alarm message to the online user terminal B at 11:20, and sends an alarm message to the online user terminal B at 12 o'clock. If the current time is 13:00, the sending time of the alarm information of the online user terminal B is 12:00.
在根据各在线用户终端的待处理数量和第一处理时间,从各在线用户终端中选取第三用户终端之后,当第三用户终端的数量大于第三预设阈值时,根据各报警信息发送时间,从第三用户终端中选择第五用户终端,作为目标用户终端。After selecting the third user terminal from each online user terminal according to the number of to-be-processed and the first processing time of each online user terminal, when the number of third user terminals is greater than the third preset threshold, the sending time is based on each alarm information , Select the fifth user terminal from the third user terminals as the target user terminal.
其中,第三预设阈值可以是自定义设定的,第三预设阈值与上述的第一预设阈值可以相同,还可以不相同。在此不做限定。第五用户终端的数量小于或者等于该第三预设阈值。Wherein, the third preset threshold may be set by self-definition, and the third preset threshold may be the same as or different from the above-mentioned first preset threshold. No limitation here. The number of fifth user terminals is less than or equal to the third preset threshold.
其中,第五用户终端的报警信息发送时间早于第三用户终端中除第五用户终端外的其他用户终端的报警信息发送时间。Wherein, the alarm information transmission time of the fifth user terminal is earlier than the alarm information transmission time of other user terminals except the fifth user terminal in the third user terminal.
例如,第三预设阈值为1,第三用户终端包括:终端A、终端B和终端C,其中,终端A的报警信息发送时间为9点,终端B的报警信息发送时间为10点,终端C的报警信息发送时间为11点,则按照报警信息发送时间的先后顺序,将 终端A选择作为第五用户终端,终端A的报警信息发送时间早于终端B和终端C的报警信息发送时间。For example, the third preset threshold is 1, and the third user terminal includes: terminal A, terminal B, and terminal C, wherein the alarm information transmission time of terminal A is 9 o'clock, and the terminal B alarm information transmission time is 10 o'clock, the terminal The alarm information transmission time of C is 11 o'clock, and then terminal A is selected as the fifth user terminal according to the order of the alarm information transmission time. The alarm information transmission time of terminal A is earlier than that of terminal B and terminal C.
一种实现方式中,按照报警信息发送时间从早到晚的顺序,对第三用户终端进行排序,得到基于报警信息发送时间的队列,按照该队列,从第三用户终端中依次选择用户终端作为第五用户终端,所选择出的第五用户终端即为目标用户终端。In one implementation, the third user terminals are sorted according to the order in which the alarm information is sent from morning to night, and a queue based on the time when the alarm information is sent is obtained. According to the queue, the user terminals are sequentially selected from the third user terminals as the For the fifth user terminal, the selected fifth user terminal is the target user terminal.
例如,第三用户终端包括:终端A、终端B、终端C和终端D,其中,根据报警信息发送时间从早到晚的顺序对第三用户终端进行排序,所得到的队列为:终端D、终端B、终端C、终端A,则从该队列中可知:终端D的报警信息发送时间最早,终端B次之,终端C晚于终端D和终端B,终端A最晚。当需要从第三用户终端选择两个用户终端作为第五用户终端时,按照上述队列,先后选择终端D和终端B作为第五用户终端。For example, the third user terminal includes: terminal A, terminal B, terminal C, and terminal D, where the third user terminal is sorted according to the order of sending the alarm information from early to late, and the resulting queue is: terminal D, From terminal B, terminal C, and terminal A, it can be known from the queue that the alarm information of terminal D is sent the earliest, terminal B is the second, terminal C is later than terminal D and terminal B, and terminal A is the latest. When two user terminals need to be selected from the third user terminal as the fifth user terminal, the terminal D and the terminal B are successively selected as the fifth user terminal according to the above queue.
通过该实施方式,在考虑待处理数量和第一处理时间之后,在需要进一步筛选用户终端时,考虑报警平台向各用户终端下发报警信息的报警信息发送时间,报警信息发送时间越早的在线用户终端优先作为目标用户终端,以进一步地提高报警信息的时效性。With this embodiment, after considering the number of to-be-processed and the first processing time, when the user terminal needs to be further screened, the alarm information sending time for the alarm platform to deliver the alarm information to each user terminal is considered, the earlier the alarm information sending time is online The user terminal has priority as the target user terminal to further improve the timeliness of the alarm information.
一种实施方式中,在根据待处理数量选取第一用户终端之后,可以获取各在线用户终端的报警信息发送时间。当第一用户终端的数量大于第二预设阈值时,根据各报警信息发送时间,从第一用户终端中选择第四用户终端,作为目标用户终端。In one embodiment, after the first user terminal is selected according to the number to be processed, the alarm information sending time of each online user terminal may be obtained. When the number of first user terminals is greater than the second preset threshold, the fourth user terminal is selected from the first user terminals as the target user terminal according to the sending time of each alarm information.
其中,第二预设阈值可以是自定义设定的,第二预设阈值与上述的第一预设阈值、第三预设阈值可以相同,还可以不相同。在此不做限定。第四用户终端的数量小于或者等于该第二预设阈值。Wherein, the second preset threshold may be set by the user, and the second preset threshold may be the same as or different from the first preset threshold and the third preset threshold described above. No limitation here. The number of fourth user terminals is less than or equal to the second preset threshold.
其中,第四用户终端的报警信息发送时间早于第一用户终端中除第四用户终端外的其他用户终端的报警信息发送时间Among them, the alarm information transmission time of the fourth user terminal is earlier than the alarm information transmission time of other user terminals except the fourth user terminal in the first user terminal
例如,第二预设阈值为2,第一用户终端包括:终端A、终端B、终端C和终端D,其中,终端A的报警信息发送时间为9点,终端B的报警信息发送时间为10点,终端C的报警信息发送时间为11点,终端D的报警信息发送时间为13 点,则按照报警信息发送时间的先后顺序,选择终端A和终端B作为第五用户终端,终端A和终端B的报警信息发送时间早于终端C和终端D的报警信息发送时间。For example, the second preset threshold is 2, and the first user terminal includes: terminal A, terminal B, terminal C, and terminal D, wherein the alarm information transmission time of terminal A is 9 o'clock, and the alarm information transmission time of terminal B is 10 Point, terminal C's alarm information transmission time is 11 o'clock, terminal D's alarm information transmission time is 13 o'clock, then select terminal A and terminal B as the fifth user terminal, terminal A and terminal according to the order of alarm information transmission time The alarm information transmission time of B is earlier than that of terminal C and terminal D.
一种实现方式中,按照报警信息发送时间从早到晚的顺序,对第一用户终端进行排序,得到基于报警信息发送时间的队列,按照该队列,从第一用户终端中依次选择用户终端作为第四用户终端,所选择出的第四用户终端即为目标用户终端。In one implementation, the first user terminals are sorted according to the order in which the alarm information is sent from morning to night, and a queue based on the time when the alarm information is sent is obtained. According to the queue, the user terminals are sequentially selected from the first user terminals as the For the fourth user terminal, the selected fourth user terminal is the target user terminal.
例如,第一用户终端包括:终端A、终端B、终端C和终端D,其中,根据报警信息发送时间从早到晚的顺序对第一用户终端进行排序,所得到的队列为:终端D、终端B、终端C、终端A,则从该队列中可知:终端D的报警信息发送时间最早,终端B次之,终端C晚于终端D和终端B,终端A最晚。当需要从第一用户终端选择两个用户终端作为第四用户终端时,按照上述队列,先后选择终端D和终端B作为第四用户终端。For example, the first user terminal includes: terminal A, terminal B, terminal C, and terminal D, where the first user terminal is sorted according to the order of sending the alarm information from early to late, and the resulting queue is: terminal D, From terminal B, terminal C, and terminal A, it can be known from the queue that the alarm information of terminal D is sent the earliest, terminal B is the second, terminal C is later than terminal D and terminal B, and terminal A is the latest. When two user terminals need to be selected from the first user terminal as the fourth user terminal, the terminal D and the terminal B are successively selected as the fourth user terminal according to the above queue.
通过该实施方式,在根据待处理数量进行选择之后,在进一步选择时考虑报警平台向各用户终端下发报警信息的报警信息发送时间,报警信息发送时间越早的在线用户终端优先作为目标用户终端,以进一步地提高报警信息的时效性。With this embodiment, after selecting according to the number to be processed, when further selecting, the alarm information sending time for the alarm platform to deliver the alarm information to each user terminal is considered, and the online user terminal with the earlier alarm information sending time takes priority as the target user terminal To further improve the timeliness of the alarm information.
S103,当各在线用户终端的待处理数量完全相等时,根据预设选取规则,从各在线用户终端中选择第二用户终端,作为目标用户终端。S103: When the number of online user terminals to be processed is completely equal, select a second user terminal from each online user terminal as the target user terminal according to a preset selection rule.
其中,预设选取规则可以是自定义设定的,第二用户终端的数量小于在线用户终端的数量。Wherein, the preset selection rule may be set by custom, and the number of second user terminals is smaller than the number of online user terminals.
一种实施方式中,预设选取规则可以是随机选取,即从各在线用户终端中随机选取第二用户终端,作为目标用户终端。这样,作为目标用户终端的数量少于在线用户终端的数量,后续报警平台仅将报警信息发送给少量的目标用户终端来处理,避免了同一个报警信息被所有在线用户终端处理,降低了重复处理的次数,进而提高了整个报警***的处理效率。In one embodiment, the preset selection rule may be random selection, that is, a second user terminal is randomly selected from each online user terminal as the target user terminal. In this way, as the number of target user terminals is less than the number of online user terminals, the subsequent alarm platform only sends the alarm information to a small number of target user terminals for processing, which avoids the same alarm information being processed by all online user terminals and reduces repeated processing The number of times has further improved the processing efficiency of the entire alarm system.
一种实施方式中,预设选取规则还可以是根据第一处理时间进行选取。一种实现方式中,根据各第一处理时间,从各在线用户终端中选择第二用户 终端,所选择的第二用户终端即为目标用户终端。In one embodiment, the preset selection rule may also be selected according to the first processing time. In one implementation, according to each first processing time, a second user terminal is selected from each online user terminal, and the selected second user terminal is the target user terminal.
其中,第二用户终端的第一处理时间早于各在线用户终端中除第二用户终端外的其他用户终端的第一处理时间。第二用户终端的数量可以是自定义设定的。例如,仅从各在线用户终端中选择一个用户终端作为第二用户终端,则该第二用户终端的第一处理时间是所有在线用户终端中第一处理时间最早的。Wherein, the first processing time of the second user terminal is earlier than the first processing time of other user terminals except the second user terminal in each online user terminal. The number of second user terminals may be set by custom. For example, if only one user terminal is selected as the second user terminal from each online user terminal, the first processing time of the second user terminal is the earliest among all online user terminals.
又例如,在线用户终端包括:终端A、终端B、终端C、终端D和终端E,其中,根据第一处理时间,选择终端A和终端B作为第二用户终端,则终端A和终端B的第一处理时间早于终端C、终端D和终端E的第一处理时间。For another example, an online user terminal includes: terminal A, terminal B, terminal C, terminal D, and terminal E, where terminal A and terminal B are selected as the second user terminal according to the first processing time, then terminal A and terminal B The first processing time is earlier than the first processing time of terminal C, terminal D, and terminal E.
通过本实施方式,根据第一处理时间选取目标用户终端,所选取的目标用户终端的第一处理时间相对更早,当报警平台将报警信息下发至这些目标用户终端后,目标用户终端可以对报警信息尽快地进行处理,进而提高了报警信息的处理效率以及时效性。According to this embodiment, the target user terminal is selected according to the first processing time, and the first processing time of the selected target user terminal is relatively earlier. When the alarm platform delivers the alarm information to these target user terminals, the target user terminal can The alarm information is processed as soon as possible, thereby improving the processing efficiency and timeliness of the alarm information.
另一种实现方式中,从各在线用户终端中选取第一处理时间在预设时刻之前的用户终端,作为第二用户终端。其中,预设时刻也可以是自定义设定的。In another implementation manner, a user terminal whose first processing time is before a preset time is selected from each online user terminal as the second user terminal. Wherein, the preset time can also be customized.
从各在线用户终端中,若第一处理时间在预设时刻之前的在线用户终端的数量为N时,则可以将该N个在线用户终端作为第二用户终端。其中,N为正整数。From each online user terminal, if the number of online user terminals whose first processing time is before a preset time is N, the N online user terminals may be used as second user terminals. Among them, N is a positive integer.
例如,在线用户终端包括:终端A、终端B、终端C和终端D,其中,终端A的第一处理时间为10点,终端B的第一处理时间为13点,终端C的第一处理时间为11点,终端D的第一处理时间为15点。若预设时刻为12点,则满足第一处理时间在预设时刻之前的用户终端为终端A和终端C,则将终端A和终端C确定为第二用户终端。For example, online user terminals include: terminal A, terminal B, terminal C, and terminal D, where the first processing time of terminal A is 10 o'clock, the first processing time of terminal B is 13 o'clock, and the first processing time of terminal C It is 11:00, and the first processing time of terminal D is 15:00. If the preset time is 12 o'clock, the user terminals satisfying the first processing time before the preset time are terminal A and terminal C, and then terminal A and terminal C are determined as second user terminals.
若各在线用户终端中不存在第一处理时间在预设时刻之前的在线用户终端,则可以从各在线用户终端中任意选择一个在线用户终端作为第二用户终端。If there is no online user terminal whose first processing time is before a preset time in each online user terminal, an online user terminal may be arbitrarily selected from each online user terminal as the second user terminal.
通过该实施方式,仅选取第一处理时间在预设时刻之前的用户终端作为 目标用户终端,在一定程度上减少了对同一报警信息进行处理的用户终端的数量,降低了报警信息被重复处理的次数,节省了在线用户终端资源,进而提高了整个报警***的处理效率。With this embodiment, only the user terminals whose first processing time is before the preset time are selected as the target user terminals, which reduces the number of user terminals that process the same alarm information to a certain extent, and reduces the number of times the alarm information is repeatedly processed Times, saving online user terminal resources, thereby improving the processing efficiency of the entire alarm system.
一种实施方式中,报警平台记录有各在线用户终端的上线时间,在线用户终端的上线时间是指该用户终端在报警平台上线的时间。In one embodiment, the alarm platform records the online time of each online user terminal. The online time of the online user terminal refers to the time that the user terminal is online on the alarm platform.
报警平台可以获取各在线用户终端的上线时间,根据各在线用户终端的上线时间,从各在线用户终端中选择第二用户终端。The alarm platform can obtain the online time of each online user terminal, and select a second user terminal from each online user terminal according to the online time of each online user terminal.
其中,第二用户终端的上线时间早于各在线用户终端中除第二用户终端外的其他用户终端的上线时间。The online time of the second user terminal is earlier than the online time of other user terminals except the second user terminal in each online user terminal.
例如,在线用户终端包括:终端A、终端B、终端C和终端D,其中,终端A的上线时间为10点,终端B的上线时间为11点,终端C的上线时间为12点,终端D的上线时间为13点。若选取2个在线用户终端作为第二用户终端,则将终端A和终端B确定为第二用户终端,终端A和终端B的上线时间均早于终端C和终端D的上线时间。For example, online user terminals include: terminal A, terminal B, terminal C, and terminal D, where terminal A's online time is 10:00, terminal B's online time is 11:00, terminal C's online time is 12:00, terminal D The online time is 13 o'clock. If two online user terminals are selected as the second user terminal, terminal A and terminal B are determined as second user terminals, and the online time of terminal A and terminal B is earlier than the online time of terminal C and terminal D.
一种实现方式中,在获取到各在线用户终端的上线时间之后,按照上线时间的先后顺序,对各在线用户终端进行排序,可以得到基于上线时间的队列。从所得到的队列中按照顺序依次选取用户终端作为第二用户终端。In one implementation, after the online time of each online user terminal is obtained, the online user terminals are sorted according to the order of the online time to obtain a queue based on the online time. Select the user terminals as the second user terminals in sequence from the obtained queue.
例如,在线用户终端包括:终端A、终端B、终端C和终端D,其中,终端A的上线时间为13点,终端B的上线时间为11点,终端C的上线时间为15点,终端D的上线时间为10点。则按照上线时间的先后顺序进行排序所得到的队列为:终端D、终端B、终端A和终端C,若选取2个用户终端作为第二用户终端,则依次选取终端D和终端B作为第二用户终端。For example, online user terminals include: terminal A, terminal B, terminal C, and terminal D, where terminal A's online time is 13:00, terminal B's online time is 11:00, terminal C's online time is 15:00, terminal D The online time is 10 o'clock. Then, the queues sorted according to the order of online time are: terminal D, terminal B, terminal A, and terminal C. If two user terminals are selected as the second user terminal, then terminal D and terminal B are selected as the second User terminal.
预设选取规则还可以是根据报警信息发送时间进行选择,一种实施方式中,报警平台可以获取各在线用户终端的报警信息发送时间,根据各报警信息发送时间,从各在线用户终端中选择第二用户终端。The preset selection rule can also be selected according to the sending time of the alarm information. In one embodiment, the alarm platform can obtain the sending time of the alarm information of each online user terminal, and select the first from the online user terminals according to the sending time of each alarm information. Two user terminals.
其中,第二用户终端的报警信息发送时间早于各在线用户终端中除第二用户终端外的其他用户终端的报警信息发送时间。Wherein, the alarm information transmission time of the second user terminal is earlier than the alarm information transmission time of the other user terminals except the second user terminal in each online user terminal.
例如,在线用户终端包括:终端A、终端B、终端C和终端D,其中,终端A的报警信息发送时间为10点,终端B的报警信息发送时间为11点,终端C的报警信息发送时间为12点,终端D的报警信息发送时间为13点。若选取2个在线用户终端作为第二用户终端,则将终端A和终端B确定为第二用户终端,终端A和终端B的报警信息发送时间均早于终端C和终端D的报警信息发送时间。For example, online user terminals include: terminal A, terminal B, terminal C, and terminal D, where the alarm information transmission time of terminal A is 10 o'clock, the alarm information transmission time of terminal B is 11 o'clock, and the terminal C alarm information transmission time It is 12 o'clock, and the alarm information sending time of terminal D is 13 o'clock. If two online user terminals are selected as the second user terminal, then terminal A and terminal B are determined as the second user terminal, the alarm information sending time of terminal A and terminal B is earlier than that of terminal C and terminal D .
一种实现方式中,在获取到各在线用户终端的报警信息发送时间之后,按照报警信息发送时间的先后顺序,对各在线用户终端进行排序,可以得到基于报警信息发送时间的队列。从所得到的队列中按照顺序依次选取用户终端作为第二用户终端。In one implementation, after the alarm information transmission time of each online user terminal is obtained, the online user terminals are sorted according to the order of the alarm information transmission time, and a queue based on the alarm information transmission time can be obtained. Select the user terminals as the second user terminals in sequence from the obtained queue.
例如,在线用户终端包括:终端A、终端B、终端C和终端D,其中,终端A的报警信息发送时间为13点,终端B的报警信息发送时间为11点,终端C的报警信息发送时间为15点,终端D的报警信息发送时间为10点。则按照报警信息发送时间的先后顺序进行排序所得到的队列为:终端D、终端B、终端A和终端C,若选取2个用户终端作为第二用户终端,则依次选取终端D和终端B作为第二用户终端。For example, online user terminals include: terminal A, terminal B, terminal C, and terminal D, where the alarm information transmission time of terminal A is 13:00, the alarm information transmission time of terminal B is 11:00, and the terminal C alarm information transmission time It is 15 o'clock, and the alarm information sending time of terminal D is 10 o'clock. Then, the queues obtained by sorting according to the order in which the alarm information is sent are: terminal D, terminal B, terminal A and terminal C. If two user terminals are selected as the second user terminal, terminal D and terminal B are selected in order The second user terminal.
S104,将待下发报警信息发送至目标用户终端。S104: Send the alarm information to be sent to the target user terminal.
当报警平台产生需要下发的报警信息时,将该报警信息作为待下发报警信息,并将待下发报警信息发送至目标用户终端。When the alarm platform generates alarm information that needs to be issued, the alarm information is used as the alarm information to be issued, and the alarm information to be issued is sent to the target user terminal.
这样,该待下发报警信息仅由目标用户终端的处理人员来处理,避免了同一报警信息被所有处理人员重复处理,而当目标用户终端仅有一个时,则此时该待下发报警信息仅由一个用户终端的处理人员来处理,避免了同一报警信息的重复处理。并且,目标用户终端是根据待处理数量由小到大的顺序选择的,因此目标用户终端的待处理数量是相对较少的用户终端,这样有利于报警平台下发的待下发报警信息更快的被处理,进而提高报警信息处理的时效性。In this way, the alarm information to be issued is processed only by the processing personnel of the target user terminal, to avoid repeated processing of the same alarm information by all processing personnel, and when there is only one target user terminal, the alarm information to be issued at this time It is only handled by the processing personnel of one user terminal, avoiding repeated processing of the same alarm information. In addition, the target user terminal is selected according to the order from small to large, so the target user terminal has a relatively small number of user terminals, which is conducive to faster delivery of alarm information issued by the alarm platform Is processed to further improve the timeliness of alarm information processing.
本申请实施例提供的技术方案中,获取各在线用户终端的未处理报警信息的数量,作为各在线用户终端的待处理数量;当各在线用户终端的待处理数量不完全相等时,按照各待处理数量的大小,从各在线用户终端中选择第 一用户终端,作为目标用户终端,第一用户终端的待处理数量小于各在线用户终端中除第一用户终端外的其他用户终端的待处理数量;当各在线用户终端的待处理数量完全相等时,根据预设选取规则,从各在线用户终端中选择第二用户终端,作为目标用户终端,第二用户终端的数量小于在线用户终端的数量;将待下发报警信息发送至目标用户终端。In the technical solution provided by the embodiment of the present application, the number of unprocessed alarm information of each online user terminal is obtained as the number of pending processing of each online user terminal; when the number of pending processing of each online user terminal is not exactly equal, according to each pending The size of the number of processing, select the first user terminal from each online user terminal as the target user terminal, the number of the first user terminal to be processed is smaller than the number of other user terminals in the online user terminal except the first user terminal When the number of online user terminals to be processed is completely equal, according to a preset selection rule, select a second user terminal from each online user terminal as the target user terminal, the number of second user terminals is less than the number of online user terminals; Send the alarm information to be delivered to the target user terminal.
通过本申请实施例提供的技术方案,当待处理数量不完全相等时将待处理数量相对小的用户终端作为目标用户终端,当待处理数量完全相等时,选取的作为目标用户终端的第二用户终端的数量小于在线用户终端的数量。也就是说,所选择的目标用户终端的数量小于在线用户终端的数量,将待下发报警信息仅发送给目标用户终端,这样仅接收到待下发报警信息的目标用户终端对待下发报警信息进行处理,而避免了一个报警信息被所有用户终端重复处理。并且,当待处理数量不完全相等时按照待处理数量的大小,将待处理数量相对少的用户终端作为接收待下发报警信息的目标用户终端,可以使得待下发报警信息尽快被处理,进而提高报警信息被处理的时效性。Through the technical solution provided by the embodiments of the present application, when the number to be processed is not completely equal, the user terminal with a relatively small number to be processed is taken as the target user terminal, and when the number to be processed is completely equal, the second user selected as the target user terminal The number of terminals is smaller than the number of online user terminals. In other words, the number of selected target user terminals is less than the number of online user terminals, and the alarm information to be issued is only sent to the target user terminal, so that only the target user terminal that has received the alarm information to be issued will treat the alarm information to be issued The processing is carried out to avoid the repeated processing of an alarm message by all user terminals. In addition, when the number to be processed is not completely equal, according to the size of the number to be processed, the user terminal with a relatively small number to be processed is used as the target user terminal to receive the alarm information to be issued, so that the alarm information to be issued can be processed as soon as possible, and further Improve the timeliness of the processing of alarm information.
本申请实施例还提供一种信息发送方法,如图2所示,该信息发送方法包括如下步骤。An embodiment of the present application further provides an information sending method. As shown in FIG. 2, the information sending method includes the following steps.
S201,获取各在线用户终端的未处理报警信息的数量,作为各在线用户终端的待处理数量。S201. Acquire the number of unprocessed alarm information of each online user terminal as the number of pending processing of each online user terminal.
本实施例中,S201与上述实施例的S101相同,在此不再赘述。In this embodiment, S201 is the same as S101 in the foregoing embodiment, and details are not described herein again.
S202,接收各在线用户终端发送的报警处理完成消息,并更新各在线用户终端的第一处理时间。S202. Receive an alarm processing completion message sent by each online user terminal, and update the first processing time of each online user terminal.
本实施例中,S202与上述实施例中的实施方式相同,在此不再赘述。In this embodiment, S202 is the same as the implementation manner in the foregoing embodiment, and details are not described herein again.
S203,按照待处理数量的大小,对各在线用户终端进行排序,当各在线用户终端中存在待处理数量相等的用户终端时,按照第一处理时间的先后,对待处理数量相等的用户终端进行排序,得到用户终端队列。S203. Sort each online user terminal according to the number of to-be-processed. When there are user terminals with equal numbers of to-be-processed in each online user terminal, sort the user terminals with equal to-be-processed according to the order of the first processing time To get the user terminal queue.
一种实现方式中,按照待处理数量从小到大的顺序,对各在线用户终端进行排序。当各在线用户终端中存在待处理数量相等的用户终端时,按照第一处理时间的先后,对待处理数量相等的用户终端进行排序,得到用户终端 队列。In one implementation, the online user terminals are sorted according to the order of the number to be processed from small to large. When there are equal numbers of user terminals to be processed in each online user terminal, the equal number of user terminals to be processed are sorted according to the order of the first processing time to obtain a user terminal queue.
例如,在线用户终端包括:终端A、终端B、终端C、终端D和终端E,其中,终端A的待处理数量为1,终端B的待处理数量为4,终端C的待处理数量为2,终端D的待处理数量为2,终端E的待处理数量为2。按照待处理数量的从小到大的顺序进行排序,则终端A排在第一个,终端B排在最后一个。对于终端C、终端D和终端E,则进一步地按照第一处理时间的先后进行排序,其中,终端C的第一处理时间为11点,终端D的第一处理时间为11点15分,终端E的第一处理时间为12点,则针对终端C、终端D和终端E的排序为:终端C、终端D和终端E,综上,得到的用户终端队列为:终端A、终端C、终端D、终端E、终端B。For example, online user terminals include: terminal A, terminal B, terminal C, terminal D, and terminal E, where the number of pending processing of terminal A is 1, the number of pending processing of terminal B is 4, and the number of pending processing of terminal C is 2 The number of terminals D to be processed is 2, and the number of terminals E to be processed is 2. According to the order of the number to be processed from small to large, terminal A is ranked first, and terminal B is ranked last. For terminal C, terminal D and terminal E, it is further sorted according to the order of the first processing time, where the first processing time of terminal C is 11 o'clock and the first processing time of terminal D is 11:15, the terminal The first processing time of E is 12 o'clock, the order for terminal C, terminal D and terminal E is: terminal C, terminal D and terminal E. In summary, the resulting user terminal queue is: terminal A, terminal C, terminal D. Terminal E and Terminal B.
一种实施方式中,报警平台可以获取各在线用户终端的报警信息发送时间。其中,报警信息发送时间为距离当前时刻最近的报警平台向在线用户终端发送待下发报警信息的时间。In one embodiment, the alarm platform can obtain the sending time of the alarm information of each online user terminal. The alarm information sending time is the time when the alarm platform closest to the current time sends the alarm information to be sent to the online user terminal.
按照待处理数量的大小,对各在线用户终端进行排序;当各在线用户终端中存在待处理数量相等的用户终端时,按照第一处理时间的先后,对待处理数量相等的用户终端进行排序;当各在线用户终端中存在待处理数量相等且第一处理时间相同的用户终端时,按照报警信息发送时间的先后,对待处理数量相等且第一处理时间相同的用户终端进行排序,得到用户终端队列。Sort each online user terminal according to the number of to-be-processed; when there are user terminals with equal numbers of to-be-processed in each online user terminal, sort the user terminals with equal to-be-processed according to the order of the first processing time; When there are user terminals with the same number of to-be-processed and the same first processing time in each online user terminal, the user terminals with the same to-be-processed number and the same first processing time are sorted according to the sequence of the alarm information sending time to obtain a user terminal queue.
例如,在线用户终端包括:终端A、终端B、终端C、终端D和终端E,其中,终端A的待处理数量为1,终端B的待处理数量为4,终端C的待处理数量为2,终端D的待处理数量为2,终端E的待处理数量为2。按照待处理数量的从小到大的顺序进行排序,则终端A排在第一个,终端B排在最后一个。对于终端C、终端D和终端E,则根据第一处理时间进行排序,其中,终端C的第一处理时间为11点,终端D的第一处理时间为11点15分,终端E的第一处理时间为11点,则按照第一处理时间从早到晚的顺序,终端D排在终端C和终端E前面。对于终端C和终端E,即待处理数量相等且第一处理时间相同的用户终端,则根据报警信息发送时间进行排序,其中,终端C的报警信息发送时间为9点,终端E的报警信息发送时间为9点30分,则按照报警信息发送时间从早到晚的顺序,对终端C和终端E的排序为:终端C和终端E。综上,所得到的用户终端 队列为:终端A、终端D、终端C、终端E、终端B。For example, online user terminals include: terminal A, terminal B, terminal C, terminal D, and terminal E, where the number of pending processing of terminal A is 1, the number of pending processing of terminal B is 4, and the number of pending processing of terminal C is 2 The number of terminals D to be processed is 2, and the number of terminals E to be processed is 2. According to the order of the number to be processed from small to large, terminal A is ranked first, and terminal B is ranked last. For terminal C, terminal D and terminal E, they are sorted according to the first processing time, where the first processing time of terminal C is 11 o'clock, the first processing time of terminal D is 11:15, and the first terminal E If the processing time is 11 o'clock, then in the order of the first processing time from early to late, terminal D is ranked in front of terminal C and terminal E. For terminal C and terminal E, that is, user terminals with the same number of to-be-processed and the same first processing time, they are sorted according to the sending time of the alarm information, where the sending time of the alarm information of terminal C is 9 o'clock and the sending of the alarm information of terminal E When the time is 9:30, the order of terminal C and terminal E is as follows: terminal C and terminal E according to the order of sending the alarm information from morning to night. In summary, the obtained user terminal queue is: terminal A, terminal D, terminal C, terminal E, and terminal B.
S204,按照用户终端队列的顺序,依次从用户终端队列中选择第一终端数量的用户终端,作为目标用户终端。In step S204, according to the order of the user terminal queue, the user terminals with the first number of terminals are sequentially selected from the user terminal queue as the target user terminals.
其中,第一终端数量可以是自定义设定的。例如,第一终端数量为1,则将用户终端队列的处于第一位的用户终端确定为目标用户终端。Among them, the number of the first terminal may be set by customization. For example, if the number of first terminals is 1, the first user terminal in the user terminal queue is determined as the target user terminal.
例如,用户终端队列的顺序为:终端B、终端A、终端D和终端C,第一终端数量为2,则依次选择终端B和终端A,作为目标用户终端。For example, the order of the user terminal queue is: terminal B, terminal A, terminal D, and terminal C, and the number of the first terminal is 2, then select terminal B and terminal A in sequence as the target user terminal.
可以理解的是,由于用户终端队列是按照待处理数量的大小进行排序的,因此按照用户终端队列的顺序,依次选取得到的第一终端数量的用户终端中,任一用户终端的待处理数量,理论上小于用户终端队列中未被选取的任一用户终端的待处理数量。因此,按照该方式选取的第一终端数量的用户终端等价于S102中所提及的第一用户终端。因此S202-S204可以视为从各在线用户终端中选取第一用户终端的一种可能的实现方式。It can be understood that, because the user terminal queue is sorted according to the size of the number to be processed, the number of any terminal to be processed is selected from the user terminals of the first number of terminals in the order of the user terminal queue, Theoretically, it is smaller than the number of unselected user terminals in the user terminal queue to be processed. Therefore, the number of user terminals of the first terminal selected in this manner is equivalent to the first user terminal mentioned in S102. Therefore, S202-S204 can be regarded as a possible implementation manner of selecting the first user terminal from each online user terminal.
S205,将待下发报警信息发送至目标用户终端。S205: Send the alarm information to be delivered to the target user terminal.
本实施例中,S205与上述实施例的S104相同,在此不做赘述。In this embodiment, S205 is the same as S104 in the foregoing embodiment, and details are not described herein.
一种实施方式中,当发生预设事件时,按照用户终端队列中各在线用户终端的待处理数量的大小,第一处理时间的先后以及报警信息发送时间的先后,对用户终端队列进行重新排列。In one embodiment, when a preset event occurs, the user terminal queue is rearranged according to the size of the number of online user terminals to be processed in the user terminal queue, the order of the first processing time and the time of sending the alarm information .
其中,预设事件包括以下中的至少一种:存在用户终端在报警平台上线、存在用户终端从报警平台下线、报警平台下发报警信息和用户终端将报警信息处理完毕。The preset event includes at least one of the following: the presence of a user terminal going online on the alarm platform, the presence of a user terminal going offline from the alarm platform, the alarm platform delivering alarm information, and the user terminal processing the alarm information.
在按照用户终端队列中各在线用户终端的待处理数量的大小,第一处理时间的先后以及报警信息发送时间的先后,对用户终端队列进行重新排列之后,会出现两种结果,第一种结果,用户终端队列发生变化,第二种结果,用户终端队列未发生变化。无论是上述哪一种结果,均用重新排列后的用户终端队列对重新排列之前的队列进行更新,更新完成后的用户终端队列为重新排列的用户终端队列。According to the size of the number of online user terminals to be processed in the user terminal queue, the first processing time and the alarm information sending time, after rearranging the user terminal queue, two results will appear. The first result , The user terminal queue has changed, the second result, the user terminal queue has not changed. Regardless of the above result, the queue before the rearrangement is updated with the rearranged user terminal queue, and the user terminal queue after the update is the rearranged user terminal queue.
以下表1为例进行说明,其中,目标用户终端的数量为1。The following Table 1 is used as an example for description, where the number of target user terminals is 1.
表1Table 1
Figure PCTCN2019104687-appb-000001
Figure PCTCN2019104687-appb-000001
Figure PCTCN2019104687-appb-000002
Figure PCTCN2019104687-appb-000002
Figure PCTCN2019104687-appb-000003
Figure PCTCN2019104687-appb-000003
在t1时刻时,在报警平台上线的在线用户终端包括U1、U2和U3,且按照U1、U2、U3的先后顺序上线,此时,U1、U2和U3的待处理数量均为0,还没有第一处理时间和报警信息发送时间的记录,因此均记载为0,用户终端队列为U1,U2,U3。At time t1, the online user terminals online on the alarm platform include U1, U2, and U3, and go online in the order of U1, U2, and U3. At this time, the number of U1, U2, and U3 to be processed are all 0, and there is no The records of the first processing time and the sending time of the alarm information are therefore recorded as 0, and the user terminal queue is U1, U2, U3.
在t2时刻,报警平台需要下发待下发报警信息a,根据t1时刻的用户终端队列,可以确定U1为目标用户终端,则报警平台将待下发报警信息a发送至U1。此时,U1的待处理数量变为1,报警信息发送时间为t2,对用户终端队列重新进行排列为:U2,U3,U1。At time t2, the alarm platform needs to send the alarm information a to be issued. According to the user terminal queue at time t1, U1 can be determined as the target user terminal, and the alarm platform sends the alarm information a to U1. At this time, the number of U1 to be processed becomes 1, the alarm information sending time is t2, and the user terminal queue is rearranged as: U2, U3, U1.
在t3时刻,报警平台需要下发待下发报警信息b,根据t2时刻的用户终端队列,可以确定U2为目标用户终端,则报警平台将待下发报警信息b发送至U2。此时,U2的待处理数量变为1,报警信息发送时间为t3,对用户终端队列重新进行排列为:U3,U1,U2。At time t3, the alarm platform needs to send the alarm information b to be issued. According to the user terminal queue at time t2, U2 can be determined as the target user terminal, and then the alarm platform sends the alarm information b to be sent to U2. At this time, the number of U2 to be processed becomes 1, the alarm information sending time is t3, and the user terminal queue is rearranged as: U3, U1, U2.
在t4时刻,报警平台需要下发待下发报警信息c,根据t3时刻的用户终端队列,可以确定U3为目标用户终端,则报警平台将待下发报警信息c发送至U3。此时,U3的待处理数量变为1,报警信息发送时间为t4。对于U1,U2和U3来说,待处理数量相同,均为1,第一处理时间相同,均为0,则按照报警信息发送时间的先后顺序对用户终端队列重新进行排列为:U1,U2,U3。At time t4, the alarm platform needs to send the alarm information c to be issued. According to the user terminal queue at time t3, U3 can be determined as the target user terminal, and then the alarm platform sends the alarm information c to be sent to U3. At this time, the number of U3 to be processed becomes 1, and the alarm information sending time is t4. For U1, U2 and U3, the number to be processed is the same, all are 1, the first processing time is the same, all are 0, then the user terminal queue is rearranged into U1, U2, U3.
在t5时刻,U2将报警信息b处理完毕,该报警信息b即为报警平台下发的待下发报警信息b。此时,U2的待处理数量变为0,第一处理时间为t5,报警信息发送时间不变,仍为t3。此时,U2的待处理数量最少,排第一个,按照报警信息发送时间的先后顺序对U1和U3排序为:U1、U3。所得到的用户终端队列为U2,U1,U3。At time t5, U2 finishes processing the alarm information b, which is the alarm information b to be issued by the alarm platform. At this time, the number of U2 to be processed becomes 0, the first processing time is t5, and the alarm information sending time is unchanged, which is still t3. At this time, U2 has the least number of to-be-processed, ranking first, and sorts U1 and U3 into U1 and U3 according to the order in which the alarm information is sent. The obtained user terminal queues are U2, U1, and U3.
在t6时刻,U3将报警信息c处理完毕,该报警信息c即为报警平台下发的待下发报警信息c。此时,U3的待处理数量变为0,第一处理时间为t6,报警信息发送时间不变,仍为t4。此时,待处理数量最少的为U2和U3,均为0,则按照第一处理时间的先后顺序对U2和U3排序为:U2、U3,U1的待处理数量相对较多,排最后。所得到的用户终端队列为:U2,U3,U1。At time t6, U3 finishes processing the alarm information c, which is the alarm information c to be issued by the alarm platform. At this time, the number of U3 to be processed becomes 0, the first processing time is t6, and the alarm information sending time is unchanged, still t4. At this time, the least to be processed are U2 and U3, both of which are 0, then U2 and U3 are sorted according to the order of the first processing time: U2, U3, U1 has a relatively large number of to be processed, and is ranked last. The obtained user terminal queues are: U2, U3, U1.
在t7时刻,U4在报警平台上线,则基于t6时刻的用户终端队列,进行重新排列。U4的待处理数量最少,为0,且还没有第一处理时间的记录,因此也记载为0,综上,所得到的用户终端队列为U4,U2,U3,U1。At time t7, U4 goes online on the alarm platform, and is rearranged based on the user terminal queue at time t6. The number of U4 to be processed is the smallest, it is 0, and there is no record of the first processing time, so it is also recorded as 0. In summary, the obtained user terminal queue is U4, U2, U3, U1.
在t8时刻,报警平台需要下发待下发报警信息d,根据t7时刻的用户终端队列,可以确定U4为目标用户终端,则报警平台将待下发报警信息d发送至U4。此时,U4的待处理数量变为1,报警信息发送时间为t8。此时,U2和U3的待处理数量最少,均为0,按照第一处理时间的先后顺序对U2和U3排序为:U2、U3。对于U1和U4,待处理数量相同,第一处理时间相同,则按照报警信息发送时间的先后顺序对U1和U4排序为:U1、U4。综上,所得到的用户终端队列为:U2,U3,U1,U4。At time t8, the alarm platform needs to send the pending alarm information d. According to the user terminal queue at time t7, U4 can be determined as the target user terminal, and the alarm platform sends the pending alarm information d to U4. At this time, the number of U4 to be processed becomes 1, and the alarm information sending time is t8. At this time, U2 and U3 have the least number of to-be-processed, which are both 0, and U2 and U3 are sorted according to the order of the first processing time: U2, U3. For U1 and U4, the number to be processed is the same, and the first processing time is the same, then U1 and U4 are sorted into U1 and U4 according to the order in which the alarm information is sent. In summary, the obtained user terminal queues are: U2, U3, U1, U4.
在t9时刻,报警平台需要下发待下发报警信息e,根据t8时刻的用户终端队列,可以确定U2为目标用户终端,则报警平台将待下发报警信息e发送至U2。此时,U2的待处理数量变为1,报警信息发送时间为t9,第一处理时间不变,仍为t5。此时,U3的待处理数量为0,是最少,排第一位。对于U1,U2和U4来说,待处理数量相同,均为1,则比较第一处理时间,其中,U1和U4的第一处理时间相同,均记载为0,因此U2排最后一位。对于U1和U4,按照报警信息发送时间的先后顺序进行排序为:U1、U4,综上,所得到的用户终端队列为:U3,U1,U4,U2。At time t9, the alarm platform needs to send the alarm information e to be issued. According to the user terminal queue at time t8, U2 can be determined as the target user terminal, and the alarm platform sends the alarm information e to be sent to U2. At this time, the number of U2 to be processed becomes 1, the alarm information transmission time is t9, and the first processing time is unchanged, which is still t5. At this time, the number of U3 to be processed is 0, which is the least, ranking first. For U1, U2, and U4, the number of to-be-processed is the same, all are 1, then compare the first processing time, where the first processing time of U1 and U4 are the same, are recorded as 0, so U2 ranks the last bit. For U1 and U4, the alarm information is sent in the order of time: U1, U4. In summary, the resulting user terminal queue is: U3, U1, U4, U2.
在t10时刻,报警平台需要下发待下发报警信息f,根据t9时刻的用户终端队列,可以确定U3为目标用户终端,则报警平台将待下发报警信息f发送至U3。此时,U3的待处理数量变为1,报警信息发送时间为t10,第一处理时间不变,仍为t6。此时,U1,U2,U3,U4的待处理数量相同,均为1,则比较第一处理时间,其中,U1和U4的第一处理时间相同,且U2和U3的第一处理时间均晚于U1和U4的第一处理时间,所以U2和U3排在U1和U4之后,且U2和U3的排序 为:U2、U3。对于U1和U4,按照报警信息发送时间的先后顺序排序为:U1、U4。综上,所得到的用户终端队列为:U1,U4,U2,U3。At time t10, the alarm platform needs to send the alarm information f to be issued. According to the user terminal queue at time t9, U3 can be determined as the target user terminal, and the alarm platform sends the alarm information f to be sent to U3. At this time, the number of U3 to be processed becomes 1, the alarm information sending time is t10, and the first processing time is unchanged, which is still t6. At this time, the number of U1, U2, U3, U4 to be processed is the same, all are 1, then compare the first processing time, where the first processing time of U1 and U4 are the same, and the first processing time of U2 and U3 are late At the first processing time of U1 and U4, U2 and U3 are ranked after U1 and U4, and the order of U2 and U3 is: U2, U3. For U1 and U4, the alarm information is sent in the order of time: U1, U4. In summary, the obtained user terminal queues are: U1, U4, U2, U3.
在t11时刻,报警平台需要下发待下发报警信息g,根据t10时刻的用户终端队列,可以确定U1为目标用户终端,则报警平台将待下发报警信息g发送至U1。此时,U1的待处理数量变为2,报警信息发送时间为t11,第一处理时间不变,仍为0。此时,U1的待处理数量最大,排最后一位。U2,U3,U4的待处理数量相同,均为1,则比较第一处理时间,按照第一处理时间的先后顺序排序为:U4,U2,U3。综上,所得到的用户终端队列为:U4,U2,U3,U1。At time t11, the alarm platform needs to send the alarm information g to be issued. According to the user terminal queue at time t10, U1 can be determined as the target user terminal, and the alarm platform sends the alarm information g to be sent to U1. At this time, the number of U1 to be processed becomes 2, the alarm information sending time is t11, and the first processing time is unchanged, still 0. At this time, U1 has the largest number of pending processing, ranking last. The number of U2, U3, U4 to be processed is the same, all are 1, then the first processing time is compared, and sorted according to the order of the first processing time: U4, U2, U3. In summary, the obtained user terminal queues are: U4, U2, U3, U1.
在t12时刻,报警平台需要下发待下发报警信息h,根据t11时刻的用户终端队列,可以确定U4为目标用户终端,则报警平台将待下发报警信息h发送至U4。此时,U4的待处理数量变为2,报警信息发送时间为t12,第一处理时间不变,仍为0。此时,U1和U4的待处理数量和第一处理时间均相同,按照报警信息发送时间的先后顺序排序为:U1,U4,U2和U3的待处理数量相同,按照第一处理时间的先后顺序排序为:U2,U3。因为U2和U3的待处理数量小于U1和U4的待处理数量,因此,U2和U3排在U1和U4前面。综上,所得到的用户终端队列为:U2,U3,U1,U4。At time t12, the alarm platform needs to send the pending alarm information h. According to the user terminal queue at time t11, U4 can be determined as the target user terminal, and the alarm platform sends the pending alarm information h to U4. At this time, the number of U4 to be processed becomes 2, the alarm information sending time is t12, and the first processing time remains unchanged, still 0. At this time, the number of U1 and U4 to be processed and the first processing time are the same, according to the order of the alarm information sending time: U1, U4, U2 and U3 are the same, according to the order of the first processing time The order is: U2, U3. Because the number of U2 and U3 to be processed is smaller than that of U1 and U4, U2 and U3 are ranked in front of U1 and U4. In summary, the obtained user terminal queues are: U2, U3, U1, U4.
在t13时刻,U1将报警信息a处理完毕,该报警信息a即为报警平台下发的待下发报警信息a。此时,U1的待处理数量变为1,第一处理时间为t13,报警信息发送时间不变,仍为t11。此时,待处理数量最少的为U1、U2和U3,均为1,则按照第一处理时间的先后顺序对U1、U2和U3排序为:U2、U3、U1,U4的待处理数量相对较多,排最后。所得到的用户终端队列为:U2,U3,U1,U4。At time t13, U1 processes the alarm information a, and the alarm information a is the alarm information a to be issued by the alarm platform. At this time, the number of U1 to be processed becomes 1, the first processing time is t13, and the alarm information sending time is unchanged, which is still t11. At this time, the least to be processed are U1, U2, and U3, which are all 1, and then U1, U2, and U3 are sorted according to the order of the first processing time: U2, U3, U1, and the number of U4 to be processed is relatively Many, ranked last. The obtained user terminal queues are: U2, U3, U1, U4.
在t14时刻,U4从报警平台下线,则将U4从用户终端队列中去除后重新进行排序为:U2,U3,U1。At time t14, when U4 goes offline from the alarm platform, U4 is removed from the user terminal queue and reordered as: U2, U3, U1.
在上述举例中,报警平台每次发送待下发报警信息时仅发送给一个用户终端,以图3为例,报警平台有4条待下发报警信息,分别为:报警信息1、报警信息2、报警信息3和报警信息4,在报警平台上线的用户终端包括终端A、终端B、终端C和终端D,在终端A、终端B、终端C和终端D的待处理数量、第一处理时间以及报警信息发送时间均相同的情况下,报警平台将4条报警信息 平均下发至4个用户终端:将报警信息1发送至终端A,将报警信息2发送至终端B,将报警信息3发送至终端C,将报警信息4发送至终端D。则此时该4条报警信息可以同时得到处理,提高了报警信息处理的效率。In the above example, the alarm platform only sends to one user terminal each time it sends an alarm message to be issued. Taking Figure 3 as an example, the alarm platform has 4 alarm messages to be issued, namely: alarm information 1, alarm information 2 , Alarm information 3 and alarm information 4, the user terminals online on the alarm platform include terminal A, terminal B, terminal C and terminal D, the number of pending processing at terminal A, terminal B, terminal C and terminal D, the first processing time And when the alarm information sending time is the same, the alarm platform will send 4 alarm messages to 4 user terminals on average: send alarm message 1 to terminal A, send alarm message 2 to terminal B, and send alarm message 3 To terminal C, send the alarm message 4 to terminal D. At this time, the four alarm messages can be processed at the same time, which improves the efficiency of alarm message processing.
从网络带宽的角度进行说明。若在报警平台上线的用户终端的数量为N1,报警平台的待下发报警信息的数量为M1,其中每一条待下发报警信息所占的带宽为a1。则在现有技术中,报警平台下发该M1条待下发报警信息所需的网络带宽为:a1×M1×N1,对于每个用户终端来说,所占的网络带宽为:a1×M1。而本申请实施例提供的技术方案中,报警平台下发该M1条待下发报警信息所需的网络带宽为:a1×M1,对于每个用户终端来说,所占的网络带宽为:a1×M1/N1。由此可见,相比于现有技术,本申请实施例提供的技术方案所需的网络带宽减少。From the perspective of network bandwidth. If the number of user terminals online on the alarm platform is N1, the number of alarm messages to be issued by the alarm platform is M1, and the bandwidth occupied by each of the alarm messages to be issued is a1. In the prior art, the network bandwidth required for the alarm platform to deliver the M1 piece of alarm information to be issued is: a1 × M1 × N1, and for each user terminal, the occupied network bandwidth is: a1 × M1 . In the technical solution provided by the embodiment of the present application, the network bandwidth required for the alarm platform to deliver the M1 piece of alarm information to be issued is: a1 × M1, and for each user terminal, the occupied network bandwidth is: a1 × M1 / N1. It can be seen that compared with the prior art, the network bandwidth required by the technical solution provided by the embodiments of the present application is reduced.
例如,a1为500KB,N1为5,M1为10,即一条报警信息为500KB,在报警平台上线的用户终端有5个,报警平台的待下发报警信息有5条。则现有技术中,报警平台下发该10条待下发报警信息所需的网络带宽约为:a1×M1×N1=500×5×10×8=200000kbps≈195Mbps,对于每个用户终端来说,所占的网络带宽为:a1×M1=500×10×8=40000kbps≈39Mbps。本申请实施例提供的技术方案中,报警平台下发该M1条待下发报警信息所需的网络带宽为:a1×M1=500×10×8=40000kbps≈39Mbps,对于每个用户终端来说,所占的网络带宽为:a1×M1/N1=500×10×8/5=8000kbps≈7.8Mbps。由此可知,现有技术中需要50Mbps的网络带宽,而本申请实施例提供的技术方案中仅需10Mbps的网络带宽。For example, a1 is 500KB, N1 is 5, M1 is 10, that is, an alarm message is 500KB, there are 5 user terminals online on the alarm platform, and there are 5 alarm messages to be issued on the alarm platform. In the prior art, the network bandwidth required by the alarm platform to deliver the 10 pieces of alarm information to be issued is approximately: a1 × M1 × N1 = 500 × 5 × 10 × 8 = 200000kbps≈195Mbps, for each user terminal In other words, the occupied network bandwidth is: a1 × M1 = 500 × 10 × 8 = 40,000 kbps≈39Mbps. In the technical solution provided by the embodiments of the present application, the network bandwidth required by the alarm platform to deliver the M1 piece of alarm information to be issued is: a1 × M1 = 500 × 10 × 8 = 40000kbps≈39Mbps, for each user terminal , The occupied network bandwidth is: a1 × M1 / N1 = 500 × 10 × 8/5 = 8000kbps≈7.8Mbps. It can be seen that the prior art requires a network bandwidth of 50 Mbps, while the technical solution provided by the embodiments of the present application only requires a network bandwidth of 10 Mbps.
从报警信息处理时间的角度进行说明。若在报警平台上线的用户终端的数量为N2,报警平台的待下发报警信息的数量为M2,其中每一条报警信息处理的时长为t2。则在现有技术中,对于每一个用户终端来说,M2条报警信息处理所需的时长为:t2×M2,而本申请实施例提供的技术方案中,对于每一个用户终端来说,处理报警信息所需的时长为:t2×M2/N2。由此可见,相比于现有技术,本申请实施例提供的技术方案所需的处理时间大大减少,提高了报警信息处理的时效性。It will be explained from the perspective of alarm information processing time. If the number of user terminals online on the alarm platform is N2, the number of alarm messages to be issued by the alarm platform is M2, and the processing time of each alarm message is t2. In the prior art, for each user terminal, the time required for the processing of M2 pieces of alarm information is: t2 × M2, and in the technical solution provided by the embodiments of the present application, for each user terminal, processing The time required for the alarm message is: t2 × M2 / N2. It can be seen that, compared with the prior art, the processing time required by the technical solution provided by the embodiments of the present application is greatly reduced, and the timeliness of alarm information processing is improved.
相应于上述信息发送方法实施例,本申请实施例还提供一种信息发送装置,如图4所示,该信息发送装置包括:Corresponding to the above embodiment of the information sending method, an embodiment of the present application further provides an information sending device. As shown in FIG. 4, the information sending device includes:
第一获取模块410,被设置于执行获取各在线用户终端的未处理报警信息的数量,作为各在线用户终端的待处理数量;The first obtaining module 410 is configured to perform the obtaining of the number of unprocessed alarm information of each online user terminal as the number of pending processing of each online user terminal;
第一选择模块420,被设置于执行当各在线用户终端的待处理数量不完全相等时,按照各待处理数量的大小,从各在线用户终端中选择第一用户终端,作为目标用户终端,第一用户终端的待处理数量小于各在线用户终端中除第一用户终端外的其他用户终端的待处理数量;The first selection module 420 is configured to select the first user terminal from each online user terminal as the target user terminal according to the size of each to-be-processed number when the number of each online user terminal to be processed is not completely equal. The number of pending processing of a user terminal is less than the number of pending processing of other user terminals except the first user terminal in each online user terminal;
第二选择模块430,被设置于执行当各在线用户终端的待处理数量完全相等时,根据预设选取规则,从各在线用户终端中选择第二用户终端,作为目标用户终端,第二用户终端的数量小于在线用户终端的数量;The second selection module 430 is configured to execute the selection of the second user terminal from the online user terminals as the target user terminal and the second user terminal according to a preset selection rule when the number of online user terminals to be processed is completely equal The number is less than the number of online user terminals;
下发模块440,被设置于执行将待下发报警信息发送至目标用户终端。The delivery module 440 is configured to execute sending the alarm information to be delivered to the target user terminal.
一种实施方式中,该装置还可以包括:In an embodiment, the device may further include:
接收模块,被设置于执行接收各在线用户终端发送的报警处理完成消息,并更新各在线用户终端的第一处理时间;The receiving module is configured to execute and receive the alarm processing completion message sent by each online user terminal, and update the first processing time of each online user terminal;
第一选择模块420,具体被设置于执行当第一用户终端的数量大于第一预设阈值时,根据各第一处理时间,从第一用户终端中选择第三用户终端,作为目标用户终端,第三用户终端的第一处理时间早于第一用户终端中除第三用户终端外的其他用户终端的第一处理时间;The first selection module 420 is specifically configured to execute when the number of first user terminals is greater than a first preset threshold, select a third user terminal from the first user terminals as the target user terminal according to each first processing time, The first processing time of the third user terminal is earlier than the first processing time of other user terminals in the first user terminal except the third user terminal;
第二选择模块430,具体被设置于执行:根据各第一处理时间,从各在线用户终端中选择第二用户终端,第二用户终端的第一处理时间早于各在线用户终端中除第二用户终端外的其他用户终端的第一处理时间。The second selection module 430 is specifically configured to execute: select the second user terminal from each online user terminal according to each first processing time, the first processing time of the second user terminal is earlier than the second user terminal except the second The first processing time of a user terminal other than the user terminal.
一种实施方式中,该装置还可以包括:In an embodiment, the device may further include:
第二获取模块,被设置于执行获取各在线用户终端的上线时间;The second obtaining module is set to execute obtaining the online time of each online user terminal;
第二选择模块430,具体被设置于执行:根据各在线用户终端的上线时间,从各在线用户终端中选择第二用户终端,第二用户终端的上线时间早于各在线用户终端中除第二用户终端外的其他用户终端的上线时间。The second selection module 430 is specifically configured to execute: according to the online time of each online user terminal, select the second user terminal from each online user terminal, the online time of the second user terminal is earlier than each online user terminal except the second The online time of user terminals other than the user terminal.
一种实施方式中,该装置还可以包括:In an embodiment, the device may further include:
第三获取模块,被设置于执行获取各在线用户终端的报警信息发送时间,报警信息发送时间为距离当前时刻最近的报警平台向在线用户终端发送待下发报警信息的时间;The third acquisition module is set to execute the acquisition of the alarm information transmission time of each online user terminal, and the alarm information transmission time is the time when the alarm platform closest to the current time sends the alarm information to the online user terminal;
第一选择模块420,具体被设置于执行当第一用户终端的数量大于第二预设阈值时,根据各报警信息发送时间,从第一用户终端中选择第四用户终端,作为目标用户终端,第四用户终端的报警信息发送时间早于第一用户终端中除第四用户终端外的其他用户终端的报警信息发送时间;The first selection module 420 is specifically configured to execute the selection of the fourth user terminal from the first user terminals as the target user terminal according to the sending time of each alarm information when the number of first user terminals is greater than the second preset threshold, The alarm information transmission time of the fourth user terminal is earlier than the alarm information transmission time of other user terminals except the fourth user terminal in the first user terminal;
第二选择模块430,具体被设置于执行:根据各报警信息发送时间,从各在线用户终端中选择第二用户终端,第二用户终端的报警信息发送时间早于各在线用户终端中除第二用户终端外的其他用户终端的报警信息发送时间。The second selection module 430 is specifically configured to execute: select a second user terminal from each online user terminal according to each alarm information sending time, and the second user terminal's alarm information sending time is earlier than each online user terminal except the second The alarm information sending time of user terminals other than the user terminal.
一种实施方式中,该装置还可以包括:In an embodiment, the device may further include:
第三获取模块,被设置于执行获取各在线用户终端的报警信息发送时间,报警信息发送时间为距离当前时刻最近的报警平台向在线用户终端发送待下发报警信息的时间;The third acquisition module is set to execute the acquisition of the alarm information transmission time of each online user terminal, and the alarm information transmission time is the time when the alarm platform closest to the current time sends the alarm information to the online user terminal;
第一选择模块420,被设置于执行当第三用户终端的数量大于第三预设阈值时,根据各报警信息发送时间,从第三用户终端中选择第五用户终端,作为目标用户终端,第五用户终端的报警信息发送时间早于第三用户终端中除第五用户终端外的其他用户终端的报警信息发送时间。The first selection module 420 is configured to execute the selection of the fifth user terminal from the third user terminals as the target user terminal according to each alarm information transmission time when the number of third user terminals is greater than the third preset threshold. The alarm information transmission time of the fifth user terminal is earlier than the alarm information transmission time of other user terminals except the fifth user terminal in the third user terminal.
一种实施方式中,装置还包括:In one embodiment, the device further includes:
接收模块,被设置于执行接收各在线用户终端发送的报警处理完成消息,并更新各在线用户终端的第一处理时间;The receiving module is configured to execute and receive the alarm processing completion message sent by each online user terminal, and update the first processing time of each online user terminal;
第一选择模块420,具体被设置于执行按照待处理数量的大小,对各在线用户终端进行排序,当各在线用户终端中存在待处理数量相等的用户终端时,按照第一处理时间的先后,对待处理数量相等的用户终端进行排序,得到用户终端队列;The first selection module 420 is specifically set to perform sorting of each online user terminal according to the size of the number to be processed. When there are user terminals with the same number to be processed in each online user terminal, according to the order of the first processing time, Sort the equal number of user terminals to be processed to obtain the user terminal queue;
按照用户终端队列的顺序,依次从用户终端队列中选择第一终端数量的 用户终端,作为目标用户终端。According to the order of the user terminal queue, the user terminals with the first number of terminals are sequentially selected from the user terminal queue as the target user terminals.
一种实施方式中,该装置还可以包括:In an embodiment, the device may further include:
第二获取模块,用于获取各在线用户终端的报警信息发送时间,报警信息发送时间为距离当前时刻最近的报警平台向在线用户终端发送待下发报警信息的时间;The second obtaining module is used to obtain the sending time of the alarm information of each online user terminal. The sending time of the alarm information is the time when the alarm platform closest to the current time sends the to-be-delivered alarm information to the online user terminal;
第一选择模块420,具体被设置于执行:The first selection module 420 is specifically configured to execute:
按照待处理数量的大小,对各在线用户终端进行排序,当各在线用户终端中存在待处理数量相等的用户终端时,按照第一处理时间的先后,对待处理数量相等的用户终端进行排序,当各在线用户终端中存在待处理数量相等且第一处理时间相同的用户终端时,按照报警信息发送时间的先后,对待处理数量相等且第一处理时间相同的用户终端进行排序,得到用户终端队列。Sort each online user terminal according to the number of to-be-processed. When there are user terminals with equal numbers of to-be-processed in each online user terminal, the user terminals to be processed with equal number are sorted according to the order of the first processing time. When there are user terminals with the same number of to-be-processed and the same first processing time in each online user terminal, the user terminals with the same to-be-processed number and the same first processing time are sorted according to the sequence of the alarm information sending time to obtain a user terminal queue.
一种实施方式中,装置还可以包括:In an embodiment, the device may further include:
重排模块,被设置于执行当发生预设事件时,按照用户终端队列中各在线用户终端的待处理数量的大小,第一处理时间的先后以及报警信息发送时间的先后,对用户终端队列进行重新排列,其中,预设事件包括以下中的至少一种:存在用户终端在报警平台上线、存在用户终端从报警平台下线、报警平台下发报警信息和用户终端将报警信息处理完毕。The rearrangement module is set to execute when the preset event occurs, according to the size of the number of each online user terminal in the user terminal queue to be processed, the first processing time and the alarm information sending time, the user terminal queue Rearrangement, wherein the preset event includes at least one of the following: the presence of a user terminal going online on the alarm platform, the presence of a user terminal going offline from the alarm platform, the alarm platform issuing alarm information, and the user terminal processing the alarm information.
通过本申请实施例提供的技术方案,当待处理数量不完全相等时将待处理数量相对小的用户终端作为目标用户终端,当待处理数量完全相等时,选取的作为目标用户终端的第二用户终端的数量小于在线用户终端的数量。也就是说,所选择的目标用户终端的数量小于在线用户终端的数量,将待下发报警信息仅发送给目标用户终端,这样仅接收到待下发报警信息的目标用户终端对待下发报警信息进行处理,而避免了一个报警信息被所有用户终端重复处理。并且,当待处理数量不完全相等时按照待处理数量的大小,将待处理数量相对少的用户终端作为接收待下发报警信息的目标用户终端,可以使得待下发报警信息尽快被处理,进而提高报警信息被处理的时效性。Through the technical solution provided by the embodiments of the present application, when the number to be processed is not completely equal, the user terminal with a relatively small number to be processed is taken as the target user terminal, and when the number to be processed is completely equal, the second user selected as the target user terminal The number of terminals is smaller than the number of online user terminals. In other words, the number of selected target user terminals is less than the number of online user terminals, and the alarm information to be issued is only sent to the target user terminal, so that only the target user terminal that has received the alarm information to be issued will treat the alarm information to be issued The processing is carried out to avoid the repeated processing of an alarm message by all user terminals. In addition, when the number to be processed is not completely equal, according to the size of the number to be processed, the user terminal with a relatively small number to be processed is used as the target user terminal to receive the alarm information to be issued, so that the alarm information to be issued can be processed as soon as possible, and further Improve the timeliness of the processing of alarm information.
本申请实施例还提供了一种信息发送装置,其中,该装置包括处理器和存储器。处理器用于执行存储在存储器中的以下程序模块:An embodiment of the present application also provides an information sending apparatus, where the apparatus includes a processor and a memory. The processor is used to execute the following program modules stored in the memory:
第一获取模块,被设置于执行获取各在线用户终端的未处理报警信息的数量,作为各在线用户终端的待处理数量;The first acquisition module is set to execute the acquisition of the number of unprocessed alarm information of each online user terminal as the number of each online user terminal to be processed;
第一选择模块,被设置于执行当各在线用户终端的待处理数量不完全相等时,按照各待处理数量的大小,从所述各在线用户终端中选择第一用户终端,作为目标用户终端,所述第一用户终端的待处理数量小于各在线用户终端中除第一用户终端外的其他用户终端的待处理数量;The first selection module is configured to execute the selection of the first user terminal from each of the online user terminals as the target user terminal according to the size of the number of to-be-processed when the to-be-processed numbers of the on-line user terminals are not completely equal. The number of to-be-processed of the first user terminal is less than the number of to-be-processed of other user terminals except the first user terminal in each online user terminal;
第二选择模块,被设置于执行当各在线用户终端的待处理数量完全相等时,根据预设选取规则,从所述各在线用户终端中选择第二用户终端,作为目标用户终端,所述第二用户终端的数量小于在线用户终端的数量;The second selection module is configured to execute the selection of the second user terminal from the online user terminals as the target user terminal according to a preset selection rule when the number of to-be-processed terminals of the online user terminals is completely equal. The number of second user terminals is less than the number of online user terminals;
下发模块,被设置于执行将待下发报警信息发送至所述目标用户终端。The delivery module is configured to execute sending the alarm information to be delivered to the target user terminal.
一种实施方式中,该处理器还用于执行存储在存储器中的以下程序模块:In one embodiment, the processor is also used to execute the following program modules stored in the memory:
接收模块,被设置于执行接收各在线用户终端发送的报警处理完成消息,并更新各在线用户终端的第一处理时间;The receiving module is configured to execute and receive the alarm processing completion message sent by each online user terminal, and update the first processing time of each online user terminal;
第一选择模块,具体被设置于执行当第一用户终端的数量大于第一预设阈值时,根据各第一处理时间,从第一用户终端中选择第三用户终端,作为目标用户终端,第三用户终端的第一处理时间早于第一用户终端中除第三用户终端外的其他用户终端的第一处理时间;The first selection module is specifically configured to execute when the number of first user terminals is greater than the first preset threshold, according to each first processing time, select a third user terminal from the first user terminal as the target user terminal, The first processing time of the three user terminals is earlier than the first processing time of other user terminals except the third user terminal in the first user terminal;
第二选择模块,具体被设置于执行:根据各第一处理时间,从各在线用户终端中选择第二用户终端,第二用户终端的第一处理时间早于各在线用户终端中除第二用户终端外的其他用户终端的第一处理时间。The second selection module is specifically set to be executed: according to each first processing time, a second user terminal is selected from each online user terminal, the first processing time of the second user terminal is earlier than each online user terminal except the second user The first processing time of user terminals other than the terminal.
一种实施方式中,该处理器还用于执行存储在存储器中的以下程序模块:In one embodiment, the processor is also used to execute the following program modules stored in the memory:
第二获取模块,被设置于执行获取各在线用户终端的上线时间;The second obtaining module is set to execute obtaining the online time of each online user terminal;
第二选择模块,具体被设置于执行:根据各在线用户终端的上线时间,从各在线用户终端中选择第二用户终端,第二用户终端的上线时间早于各在线用户终端中除第二用户终端外的其他用户终端的上线时间。The second selection module is specifically configured to execute: according to the online time of each online user terminal, the second user terminal is selected from each online user terminal, the online time of the second user terminal is earlier than the second user terminal except the second user The online time of user terminals other than the terminal.
一种实施方式中,该处理器还用于执行存储在存储器中的以下程序模块:In one embodiment, the processor is also used to execute the following program modules stored in the memory:
第三获取模块,被设置于执行获取各在线用户终端的报警信息发送时间,报警信息发送时间为距离当前时刻最近的报警平台向在线用户终端发送待下发报警信息的时间;The third acquisition module is set to execute the acquisition of the alarm information transmission time of each online user terminal, and the alarm information transmission time is the time when the alarm platform closest to the current time sends the alarm information to the online user terminal;
第一选择模块,具体被设置于执行当第一用户终端的数量大于第二预设阈值时,根据各报警信息发送时间,从第一用户终端中选择第四用户终端,作为目标用户终端,第四用户终端的报警信息发送时间早于第一用户终端中除第四用户终端外的其他用户终端的报警信息发送时间;The first selection module is specifically configured to execute when the number of first user terminals is greater than the second preset threshold, select a fourth user terminal from the first user terminals as the target user terminal according to each alarm information transmission time, and The alarm information transmission time of the four user terminals is earlier than the alarm information transmission time of other user terminals except the fourth user terminal in the first user terminal;
第二选择模块,具体被设置于执行:根据各报警信息发送时间,从各在线用户终端中选择第二用户终端,第二用户终端的报警信息发送时间早于各在线用户终端中除第二用户终端外的其他用户终端的报警信息发送时间。The second selection module is specifically set to execute: select the second user terminal from each online user terminal according to the sending time of each alarm information, and the sending time of the alarm information of the second user terminal is earlier than that of each online user terminal except the second user The alarm information sending time of user terminals other than the terminal.
一种实施方式中,该处理器还用于执行存储在存储器中的以下程序模块:In one embodiment, the processor is also used to execute the following program modules stored in the memory:
第三获取模块,被设置于执行获取各在线用户终端的报警信息发送时间,报警信息发送时间为距离当前时刻最近的报警平台向在线用户终端发送待下发报警信息的时间;The third acquisition module is set to execute the acquisition of the alarm information transmission time of each online user terminal, and the alarm information transmission time is the time when the alarm platform closest to the current time sends the alarm information to the online user terminal;
第一选择模块,被设置于执行用于当第三用户终端的数量大于第三预设阈值时,根据各报警信息发送时间,从第三用户终端中选择第五用户终端,作为目标用户终端,第五用户终端的报警信息发送时间早于第三用户终端中除第五用户终端外的其他用户终端的报警信息发送时间。The first selection module is configured to execute, when the number of third user terminals is greater than the third preset threshold, select the fifth user terminal from the third user terminals as the target user terminal according to each alarm information transmission time, The alarm information transmission time of the fifth user terminal is earlier than the alarm information transmission time of other user terminals except the fifth user terminal in the third user terminal.
一种实施方式中,该处理器还用于执行存储在存储器中的以下程序模块:In one embodiment, the processor is also used to execute the following program modules stored in the memory:
接收模块,被设置于执行接收各在线用户终端发送的报警处理完成消息,并更新各在线用户终端的第一处理时间;The receiving module is configured to execute and receive the alarm processing completion message sent by each online user terminal, and update the first processing time of each online user terminal;
第一选择模块,具体被设置于执行按照待处理数量的大小,对各在线用户终端进行排序,当各在线用户终端中存在待处理数量相等的用户终端时,按照第一处理时间的先后,对待处理数量相等的用户终端进行排序,得到用户终端队列;The first selection module is specifically set to perform sorting of each online user terminal according to the number of to-be-processed. When there are user terminals with an equal number of to-be-processed in each online user terminal, the first Sort the equal number of user terminals to obtain the user terminal queue;
按照用户终端队列的顺序,依次从用户终端队列中选择第一终端数量的用户终端,作为目标用户终端;In accordance with the order of the user terminal queue, sequentially select the user terminals with the first number of terminals from the user terminal queue as the target user terminals;
一种实施方式中,该处理器还用于执行存储在存储器中的以下程序模块:In one embodiment, the processor is also used to execute the following program modules stored in the memory:
第二获取模块,被设置于执行获取各在线用户终端的报警信息发送时间,报警信息发送时间为距离当前时刻最近的报警平台向在线用户终端发送待下发报警信息的时间;The second acquisition module is set to execute the acquisition of the alarm information sending time of each online user terminal. The alarm information sending time is the time when the alarm platform closest to the current time sends the alarm information to be sent to the online user terminal;
第一选择模块,具体被设置于执行:The first selection module is specifically set to execute:
按照待处理数量的大小,对各在线用户终端进行排序,当各在线用户终端中存在待处理数量相等的用户终端时,按照第一处理时间的先后,对待处理数量相等的用户终端进行排序,当各在线用户终端中存在待处理数量相等且第一处理时间相同的用户终端时,按照报警信息发送时间的先后,对待处理数量相等且第一处理时间相同的用户终端进行排序,得到用户终端队列。Sort each online user terminal according to the number of to-be-processed. When there are user terminals with equal numbers of to-be-processed in each online user terminal, the user terminals to be processed with equal number are sorted according to the order of the first processing time. When there are user terminals with the same number of to-be-processed and the same first processing time in each online user terminal, the user terminals with the same to-be-processed number and the same first processing time are sorted according to the sequence of the alarm information sending time to obtain a user terminal queue.
一种实施方式中,该处理器还用于执行存储在存储器中的以下程序模块:In one embodiment, the processor is also used to execute the following program modules stored in the memory:
重排模块,被设置于执行当发生预设事件时,按照用户终端队列中各在线用户终端的待处理数量的大小,第一处理时间的先后以及报警信息发送时间的先后,对用户终端队列进行重新排列,其中,预设事件包括以下中的至少一种:存在用户终端在报警平台上线、存在用户终端从报警平台下线、报警平台下发报警信息和用户终端将报警信息处理完毕。The rearrangement module is set to execute when the preset event occurs, according to the size of the number of each online user terminal in the user terminal queue to be processed, the first processing time and the alarm information sending time, the user terminal queue Rearrangement, wherein the preset event includes at least one of the following: the presence of a user terminal going online on the alarm platform, the presence of a user terminal going offline from the alarm platform, the alarm platform issuing alarm information, and the user terminal processing the alarm information.
通过本申请实施例提供的技术方案,当待处理数量不完全相等时将待处理数量相对小的用户终端作为目标用户终端,当待处理数量完全相等时,选取的作为目标用户终端的第二用户终端的数量小于在线用户终端的数量。也就是说,所选择的目标用户终端的数量小于在线用户终端的数量,将待下发报警信息仅发送给目标用户终端,这样仅接收到待下发报警信息的目标用户终端对待下发报警信息进行处理,而避免了一个报警信息被所有用户终端重复处理。并且,当待处理数量不完全相等时按照待处理数量的大小,将待处理数量相对少的用户终端作为接收待下发报警信息的目标用户终端,可以使得待下发报警信息尽快被处理,进而提高报警信息被处理的时效性。Through the technical solution provided by the embodiments of the present application, when the number to be processed is not completely equal, the user terminal with a relatively small number to be processed is taken as the target user terminal, and when the number to be processed is completely equal, the second user selected as the target user terminal The number of terminals is smaller than the number of online user terminals. In other words, the number of selected target user terminals is less than the number of online user terminals, and the alarm information to be issued is only sent to the target user terminal, so that only the target user terminal that has received the alarm information to be issued will treat the alarm information to be issued The processing is carried out to avoid the repeated processing of an alarm message by all user terminals. In addition, when the number to be processed is not completely equal, according to the size of the number to be processed, the user terminal with a relatively small number to be processed is used as the target user terminal to receive the alarm information to be issued, so that the alarm information to be issued can be processed as soon as possible, and further Improve the timeliness of the processing of alarm information.
本申请实施例还提供了一种电子设备,如图5所示,包括处理器510、通信接口520、存储器530和通信总线540,其中,处理器510,通信接口520,存 储器530通过通信总线540完成相互间的通信;An embodiment of the present application also provides an electronic device, as shown in FIG. 5, including a processor 510, a communication interface 520, a memory 530, and a communication bus 540, where the processor 510, the communication interface 520, and the memory 530 pass through the communication bus 540 Complete communication with each other;
存储器530,用于存放计算机程序;The memory 530 is used to store computer programs;
处理器510,用于执行存储器530上所存放的程序时,实现如下步骤:When the processor 510 is used to execute the program stored in the memory 530, the following steps are implemented:
获取各在线用户终端的未处理报警信息的数量,作为各在线用户终端的待处理数量;Obtain the number of unprocessed alarm information of each online user terminal as the number of pending processing of each online user terminal;
当各在线用户终端的待处理数量不完全相等时,按照各待处理数量的大小,从各在线用户终端中选择第一用户终端,作为目标用户终端,第一用户终端的待处理数量小于各在线用户终端中除第一用户终端外的其他用户终端的待处理数量;When the number of to-be-processed of each online user terminal is not completely equal, according to the size of each to-be-processed, select the first user terminal from each of the online user terminals as the target user terminal, the number of to-be-processed of the first user terminal is less than each online The number of pending user terminals other than the first user terminal in the user terminal;
当各在线用户终端的待处理数量完全相等时,根据预设选取规则,从各在线用户终端中选择第二用户终端,作为目标用户终端,第二用户终端的数量小于在线用户终端的数量;When the number of each online user terminal to be processed is completely equal, according to a preset selection rule, a second user terminal is selected from each online user terminal as the target user terminal, and the number of second user terminals is less than the number of online user terminals;
将待下发报警信息发送至目标用户终端。Send the alarm information to be delivered to the target user terminal.
通过本申请实施例提供的技术方案,当待处理数量不完全相等时将待处理数量相对小的用户终端作为目标用户终端,当待处理数量完全相等时,选取的作为目标用户终端的第二用户终端的数量小于在线用户终端的数量。也就是说,所选择的目标用户终端的数量小于在线用户终端的数量,将待下发报警信息仅发送给目标用户终端,这样仅接收到待下发报警信息的目标用户终端对待下发报警信息进行处理,而避免了一个报警信息被所有用户终端重复处理。并且,当待处理数量不完全相等时按照待处理数量的大小,将待处理数量相对少的用户终端作为接收待下发报警信息的目标用户终端,可以使得待下发报警信息尽快被处理,进而提高报警信息被处理的时效性。Through the technical solution provided by the embodiments of the present application, when the number to be processed is not completely equal, the user terminal with a relatively small number to be processed is taken as the target user terminal, and when the number to be processed is completely equal, the second user selected as the target user terminal The number of terminals is smaller than the number of online user terminals. In other words, the number of selected target user terminals is less than the number of online user terminals, and the alarm information to be issued is only sent to the target user terminal, so that only the target user terminal that has received the alarm information to be issued will treat the alarm information to be issued The processing is carried out to avoid the repeated processing of an alarm message by all user terminals. In addition, when the number to be processed is not completely equal, according to the size of the number to be processed, the user terminal with a relatively small number to be processed is used as the target user terminal to receive the alarm information to be issued, so that the alarm information to be issued can be processed as soon as possible, and further Improve the timeliness of the processing of alarm information.
上述电子设备提到的通信总线可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。该通信总线可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The communication bus mentioned in the above electronic device may be a peripheral component interconnection standard (Peripheral Component Interconnect, PCI) bus or an extended industry standard structure (Extended Industry Standard Architecture, EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, and a control bus. For ease of representation, the figure is only represented by a thick line, but it does not mean that there is only one bus or one type of bus.
通信接口用于上述电子设备与其他设备之间的通信。The communication interface is used for communication between the electronic device and other devices.
存储器可以包括随机存取存储器(Random Access Memory,RAM),也可以包括非易失性存储器(Non-Volatile Memory,NVM),例如至少一个磁盘存储器。可选的,存储器还可以是至少一个位于远离前述处理器的存储装置。The memory may include random access memory (Random Access Memory, RAM), or non-volatile memory (Non-Volatile Memory, NVM), for example, at least one disk memory. Optionally, the memory may also be at least one storage device located away from the foregoing processor.
上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital Signal Processing,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。The aforementioned processor may be a general-purpose processor, including a central processor (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc .; it may also be a digital signal processor (Digital Signal Processing, DSP), dedicated integration Circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
相应于上述图1及图1对应的信息发送方法实施例,本申请实施例还提供一种机器可读存储介质,所述机器可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现上述任一所述的图1及图1对应的信息发送方法步骤。Corresponding to the above-mentioned embodiment of the information sending method corresponding to FIG. 1 and FIG. 1, an embodiment of the present application further provides a machine-readable storage medium in which a computer program is stored, and the computer program is processed by a processor When executed, any one of the above-mentioned steps of the information sending method corresponding to FIG. 1 and FIG. 1 is realized.
上述电子设备提到的通信总线可以是外设部件互连标准(Peripheral Component Interconnect,PCI)总线或扩展工业标准结构(Extended Industry Standard Architecture,EISA)总线等。该通信总线可以分为地址总线、数据总线、控制总线等。为便于表示,图中仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。The communication bus mentioned in the above electronic device may be a peripheral component interconnection standard (Peripheral Component Interconnect, PCI) bus or an extended industry standard structure (Extended Industry Standard Architecture, EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, and a control bus. For ease of representation, the figure is only represented by a thick line, but it does not mean that there is only one bus or one type of bus.
通信接口用于上述电子设备与其他设备之间的通信。The communication interface is used for communication between the electronic device and other devices.
存储器可以包括随机存取存储器(Random Access Memory,RAM),也可以包括非易失性存储器(Non-Volatile Memory,NVM),例如至少一个磁盘存储器。可选的,存储器还可以是至少一个位于远离前述处理器的存储装置。The memory may include random access memory (Random Access Memory, RAM), or non-volatile memory (Non-Volatile Memory, NVM), for example, at least one disk memory. Optionally, the memory may also be at least one storage device located away from the foregoing processor.
上述的处理器可以是通用处理器,包括中央处理器(Central Processing Unit,CPU)、网络处理器(Network Processor,NP)等;还可以是数字信号处理器(Digital Signal Processing,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组 件。The aforementioned processor may be a general-purpose processor, including a central processor (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc .; it may also be a digital signal processor (Digital Signal Processing, DSP), dedicated integration Circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.
相应于上述图2及图2对应的信息发送方法实施例,本申请实施例还提供一种机器可读存储介质,所述机器可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现上述任一所述的图2及图2对应的信息发送方法步骤。Corresponding to the above-mentioned embodiment of the information sending method corresponding to FIG. 2 and FIG. 2, an embodiment of the present application further provides a machine-readable storage medium in which a computer program is stored, and the computer program is processed by a processor When executed, any one of the above-mentioned steps of the information sending method corresponding to FIG. 2 and FIG. 2 is realized.
相应于上述图1及图1对应的信息发送方法实施例,本申请实施例还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述任一所述的图1及图1对应的信息发送方法步骤。Corresponding to the above-mentioned embodiment of the information sending method corresponding to FIG. 1 and FIG. 1, an embodiment of the present application further provides a computer program product containing instructions, which when executed on a computer, causes the computer to execute any of the above-mentioned figures 1 and the steps of the information transmission method corresponding to FIG. 1.
相应于上述图2及图2对应的信息发送方法实施例,本申请实施例还提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述任一所述的图2及图2对应的信息发送方法步骤。Corresponding to the above-mentioned embodiment of the information sending method corresponding to FIG. 2 and FIG. 2, an embodiment of the present application also provides a computer program product containing instructions, which when executed on a computer, causes the computer to execute any of the above-mentioned figures 2 and the information transmission method steps corresponding to FIG. 2.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on the computer, all or part of the processes or functions according to the embodiments of the present invention are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be from a website site, computer, server or data center Transmit to another website, computer, server or data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device including a server, a data center, and the like integrated with one or more available media. The available media may be magnetic media (eg, floppy disk, hard disk, magnetic tape), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk (SSD)), and the like.
需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要 素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should be noted that in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that these entities or operations There is any such actual relationship or order. Moreover, the terms "include", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device that includes a series of elements includes not only those elements, but also those not explicitly listed Or other elements that are inherent to this process, method, article, or equipment. Without more restrictions, the element defined by the sentence "include one ..." does not exclude that there are other identical elements in the process, method, article or equipment that includes the element.
本说明书中的各个实施例均采用相关的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于信息发送装置、电子设备以及机器可读存储介质实施例而言,由于其基本相似于信息发送方法实施例,所以描述的比较简单,相关之处参见信息发送方法实施例的部分说明即可。The embodiments in this specification are described in a related manner. The same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the embodiments of the information transmission device, the electronic device, and the machine-readable storage medium, since they are basically similar to the embodiments of the information transmission method, the description is relatively simple. For the related parts, refer to the partial description of the embodiments of the information transmission method. can.
以上所述仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。凡在本申请的精神和原则之内所作的任何修改、等同替换、改进等,均包含在本申请的保护范围内。The above are only the preferred embodiments of the present application, and are not intended to limit the protection scope of the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of this application are included in the scope of protection of this application.

Claims (19)

  1. 一种信息发送方法,包括:An information sending method, including:
    获取各在线用户终端的未处理报警信息的数量,作为各在线用户终端的待处理数量;Obtain the number of unprocessed alarm information of each online user terminal as the number of pending processing of each online user terminal;
    当各在线用户终端的待处理数量不完全相等时,按照各待处理数量的大小,从所述各在线用户终端中选择第一用户终端,作为目标用户终端,所述第一用户终端的待处理数量小于各在线用户终端中除第一用户终端外的其他用户终端的待处理数量;When the number of to-be-processed terminals of each online user terminal is not completely equal, according to the size of each to-be-processed value, a first user terminal is selected from each of the online user terminals as the target user terminal, and the first user terminal The number is less than the number of other user terminals to be processed except the first user terminal in each online user terminal;
    当各在线用户终端的待处理数量完全相等时,根据预设选取规则,从所述各在线用户终端中选择第二用户终端,作为目标用户终端,所述第二用户终端的数量小于在线用户终端的数量;When the number of each online user terminal to be processed is completely equal, according to a preset selection rule, a second user terminal is selected from each online user terminal as the target user terminal, and the number of the second user terminals is less than the online user terminals quantity;
    将待下发报警信息发送至所述目标用户终端。Sending the alarm information to be issued to the target user terminal.
  2. 根据权利要求1所述的方法,所述方法还包括:The method according to claim 1, further comprising:
    接收各在线用户终端发送的报警处理完成消息,并更新各在线用户终端的第一处理时间;Receive the alarm processing completion message sent by each online user terminal, and update the first processing time of each online user terminal;
    当所述第一用户终端的数量大于第一预设阈值时,根据各第一处理时间,从第一用户终端中选择第三用户终端,作为目标用户终端,所述第三用户终端的第一处理时间早于所述第一用户终端中除第三用户终端外的其他用户终端的第一处理时间;When the number of the first user terminals is greater than the first preset threshold, according to each first processing time, a third user terminal is selected from the first user terminals as the target user terminal, the first of the third user terminals The processing time is earlier than the first processing time of other user terminals except the third user terminal in the first user terminal;
    所述根据预设选取规则,从所述各在线用户终端中选择第二用户终端,包括:根据各第一处理时间,从各在线用户终端中选择第二用户终端,所述第二用户终端的第一处理时间早于各在线用户终端中除第二用户终端外的其他用户终端的第一处理时间。The selecting the second user terminal from the online user terminals according to a preset selection rule includes: selecting the second user terminal from each online user terminal according to each first processing time, the The first processing time is earlier than the first processing time of each of the online user terminals except the second user terminal.
  3. 根据权利要求1所述的方法,所述方法还包括:The method according to claim 1, further comprising:
    获取各在线用户终端的上线时间;Obtain the online time of each online user terminal;
    所述根据预设选取规则,从所述各在线用户终端中选择第二用户终端,包括:根据各在线用户终端的上线时间,从所述各在线用户终端中选择第二 用户终端,所述第二用户终端的上线时间早于各在线用户终端中除第二用户终端外的其他用户终端的上线时间。The selecting the second user terminal from the online user terminals according to a preset selection rule includes: selecting the second user terminal from the online user terminals according to the online time of each online user terminal, the first The online time of the second user terminal is earlier than the online time of the other user terminals except the second user terminal in each online user terminal.
  4. 根据权利要求1所述的方法,所述方法还包括:The method according to claim 1, further comprising:
    获取各在线用户终端的报警信息发送时间,所述报警信息发送时间为距离当前时刻最近的报警平台向在线用户终端发送待下发报警信息的时间;Obtain the alarm information sending time of each online user terminal, where the alarm information sending time is the time when the alarm platform closest to the current time sends the to-be-delivered alarm information to the online user terminal;
    当所述第一用户终端的数量大于第二预设阈值时,根据各报警信息发送时间,从第一用户终端中选择第四用户终端,作为目标用户终端,所述第四用户终端的报警信息发送时间早于所述第一用户终端中除第四用户终端外的其他用户终端的报警信息发送时间;When the number of the first user terminals is greater than the second preset threshold, according to each alarm information sending time, select a fourth user terminal from the first user terminal as the target user terminal, the fourth user terminal alarm information The sending time is earlier than the sending time of the alarm information of other user terminals except the fourth user terminal in the first user terminal;
    所述根据预设选取规则,从所述各在线用户终端中选择第二用户终端,包括:根据各报警信息发送时间,从各在线用户终端中选择第二用户终端,所述第二用户终端的报警信息发送时间早于各在线用户终端中除第二用户终端外的其他用户终端的报警信息发送时间。The selecting a second user terminal from the online user terminals according to a preset selection rule includes: selecting a second user terminal from each online user terminal according to each alarm information sending time, The alarm information transmission time is earlier than the alarm information transmission time of the other user terminals except the second user terminal in each online user terminal.
  5. 根据权利要求2所述的方法,所述方法还包括:The method according to claim 2, further comprising:
    获取各在线用户终端的报警信息发送时间,所述报警信息发送时间为距离当前时刻最近的报警平台向在线用户终端发送待下发报警信息的时间;Obtain the alarm information sending time of each online user terminal, where the alarm information sending time is the time when the alarm platform closest to the current time sends the to-be-delivered alarm information to the online user terminal;
    当所述第三用户终端的数量大于第三预设阈值时,根据各报警信息发送时间,从第三用户终端中选择第五用户终端,作为目标用户终端,所述第五用户终端的报警信息发送时间早于所述第三用户终端中除第五用户终端外的其他用户终端的报警信息发送时间。When the number of the third user terminals is greater than the third preset threshold, according to each alarm information sending time, select the fifth user terminal from the third user terminal as the target user terminal, the alarm information of the fifth user terminal The transmission time is earlier than the alarm information transmission time of other user terminals except the fifth user terminal in the third user terminal.
  6. 根据权利要求1所述的方法,所述方法还包括:The method according to claim 1, further comprising:
    接收各在线用户终端发送的报警处理完成消息,并更新各在线用户终端的第一处理时间;Receive the alarm processing completion message sent by each online user terminal, and update the first processing time of each online user terminal;
    所述当各在线用户终端的待处理数量不完全相等时,按照各待处理数量的大小,从所述各在线用户终端中选择第一用户终端,作为目标用户终端,包括:When the number of to-be-processed terminals of each online user terminal is not completely equal, according to the size of each to-be-processed value, selecting the first user terminal from the online user terminals as the target user terminal includes:
    按照所述待处理数量的大小,对所述各在线用户终端进行排序,当所述 各在线用户终端中存在待处理数量相等的用户终端时,按照第一处理时间的先后,对待处理数量相等的用户终端进行排序,得到用户终端队列;Sort the online user terminals according to the size of the number to be processed, and when there are user terminals with equal numbers of to-be-processed in each of the online user terminals, according to the order of the first processing time, the equal number to be processed The user terminals are sorted to obtain the user terminal queue;
    按照所述用户终端队列的顺序,依次从所述用户终端队列中选择第一终端数量的用户终端,作为目标用户终端。According to the order of the user terminal queue, sequentially select the user terminals with the first number of terminals from the user terminal queue as the target user terminals.
  7. 根据权利要求6所述的方法,所述方法还包括:The method according to claim 6, further comprising:
    获取各在线用户终端的报警信息发送时间,所述报警信息发送时间为距离当前时刻最近的报警平台向在线用户终端发送待下发报警信息的时间;Obtain the alarm information sending time of each online user terminal, where the alarm information sending time is the time when the alarm platform closest to the current time sends the to-be-delivered alarm information to the online user terminal;
    所述按照所述待处理数量的大小,对所述各在线用户终端进行排序,当所述各在线用户终端中存在待处理数量相等的用户终端时,按照第一处理时间的先后,对所述待处理数量相等的用户终端进行排序,得到用户终端队列,包括:The online user terminals are sorted according to the size of the to-be-processed quantity. When there are user terminals with an equal number of to-be-processed in each of the online user terminals, according to the order of the first processing time, the The equal number of user terminals to be processed are sorted to obtain a user terminal queue, including:
    按照所述待处理数量的大小,对所述各在线用户终端进行排序,当所述各在线用户终端中存在待处理数量相等的用户终端时,按照第一处理时间的先后,对所述待处理数量相等的用户终端进行排序,当所述各在线用户终端中存在待处理数量相等且第一处理时间相同的用户终端时,按照报警信息发送时间的先后,对所述待处理数量相等且第一处理时间相同的用户终端进行排序,得到用户终端队列。Sort the online user terminals according to the size of the number to be processed, and when there are user terminals with the same number to be processed in each of the online user terminals, according to the order of the first processing time, the Sort the equal number of user terminals. When there are user terminals with the same number of pending processing and the same first processing time in each of the online user terminals, the equal number of pending terminals and the first The user terminals with the same processing time are sorted to obtain the user terminal queue.
  8. 根据权利要求7所述的方法,所述方法还包括:The method according to claim 7, further comprising:
    当发生预设事件时,按照所述用户终端队列中各在线用户终端的待处理数量的大小,第一处理时间的先后以及报警信息发送时间的先后,对所述用户终端队列进行重新排列,其中,所述预设事件包括以下中的至少一种:存在用户终端在所述报警平台上线、存在用户终端从所述报警平台下线、所述报警平台下发报警信息和用户终端将报警信息处理完毕。When a preset event occurs, the user terminal queue is rearranged according to the size of the number of online user terminals to be processed in the user terminal queue, the order of first processing time and the time of sending alarm information, wherein , The preset event includes at least one of the following: a user terminal is online on the alarm platform, a user terminal is offline from the alarm platform, the alarm platform issues alarm information, and the user terminal processes the alarm information Finished.
  9. 一种信息发送装置,包括:An information sending device, including:
    第一获取模块,被设置于执行获取各在线用户终端的未处理报警信息的数量,作为各在线用户终端的待处理数量;The first acquisition module is set to execute the acquisition of the number of unprocessed alarm information of each online user terminal as the number of each online user terminal to be processed;
    第一选择模块,被设置于执行当各在线用户终端的待处理数量不完全相 等时,按照各待处理数量的大小,从所述各在线用户终端中选择第一用户终端,作为目标用户终端,所述第一用户终端的待处理数量小于各在线用户终端中除第一用户终端外的其他用户终端的待处理数量;The first selection module is configured to execute the selection of the first user terminal from each of the online user terminals as the target user terminal according to the size of the number of to-be-processed when the to-be-processed numbers of the on-line user terminals are not completely equal. The number of to-be-processed of the first user terminal is less than the number of to-be-processed of other user terminals except the first user terminal in each online user terminal;
    第二选择模块,被设置于执行当各在线用户终端的待处理数量完全相等时,根据预设选取规则,从所述各在线用户终端中选择第二用户终端,作为目标用户终端,所述第二用户终端的数量小于在线用户终端的数量;The second selection module is configured to execute the selection of the second user terminal from the online user terminals as the target user terminal according to a preset selection rule when the number of to-be-processed terminals of the online user terminals is completely equal. The number of second user terminals is less than the number of online user terminals;
    下发模块,被设置于执行将待下发报警信息发送至所述目标用户终端。The delivery module is configured to execute sending the alarm information to be delivered to the target user terminal.
  10. 根据权利要求9所述的装置,所述装置还包括:The device according to claim 9, further comprising:
    接收模块,被设置于执行接收各在线用户终端发送的报警处理完成消息,并更新各在线用户终端的第一处理时间;The receiving module is configured to execute and receive the alarm processing completion message sent by each online user terminal, and update the first processing time of each online user terminal;
    所述第一选择模块,具体被设置于执行当所述第一用户终端的数量大于第一预设阈值时,根据各第一处理时间,从第一用户终端中选择第三用户终端,作为目标用户终端,所述第三用户终端的第一处理时间早于所述第一用户终端中除第三用户终端外的其他用户终端的第一处理时间;The first selection module is specifically configured to execute when the number of the first user terminals is greater than a first preset threshold, select a third user terminal from the first user terminals as the target according to each first processing time User terminal, the first processing time of the third user terminal is earlier than the first processing time of other user terminals except the third user terminal in the first user terminal;
    所述第二选择模块,具体被设置于执行:根据各第一处理时间,从各在线用户终端中选择第二用户终端,所述第二用户终端的第一处理时间早于各在线用户终端中除第二用户终端外的其他用户终端的第一处理时间。The second selection module is specifically configured to execute: select a second user terminal from each online user terminal according to each first processing time, the first processing time of the second user terminal is earlier than that of each online user terminal The first processing time of user terminals other than the second user terminal.
  11. 根据权利要求9所述的装置,所述装置还包括:The device according to claim 9, further comprising:
    第二获取模块,被设置于执行获取各在线用户终端的上线时间;The second obtaining module is set to execute obtaining the online time of each online user terminal;
    所述第二选择模块,具体被设置于执行:根据各在线用户终端的上线时间,从所述各在线用户终端中选择第二用户终端,所述第二用户终端的上线时间早于各在线用户终端中除第二用户终端外的其他用户终端的上线时间。The second selection module is specifically configured to execute: select a second user terminal from the online user terminals according to the online time of each online user terminal, the online time of the second user terminal is earlier than each online user The online time of other user terminals except the second user terminal in the terminal.
  12. 根据权利要求9所述的装置,所述装置还包括:The device according to claim 9, further comprising:
    第三获取模块,被设置于执行获取各在线用户终端的报警信息发送时间,所述报警信息发送时间为距离当前时刻最近的报警平台向在线用户终端发送待下发报警信息的时间;The third acquisition module is set to perform acquisition of the alarm information sending time of each online user terminal, where the alarm information sending time is the time when the alarm platform closest to the current time sends the alarm information to the online user terminal;
    所述第一选择模块,具体用于当所述第一用户终端的数量大于第二预设阈值时,根据各报警信息发送时间,从第一用户终端中选择第四用户终端,作为目标用户终端,所述第四用户终端的报警信息发送时间早于所述第一用户终端中除第四用户终端外的其他用户终端的报警信息发送时间;The first selection module is specifically configured to select a fourth user terminal from the first user terminals as the target user terminal according to the sending time of each alarm information when the number of the first user terminals is greater than the second preset threshold , The alarm information transmission time of the fourth user terminal is earlier than the alarm information transmission time of other user terminals except the fourth user terminal in the first user terminal;
    所述第二选择模块,具体用于:根据各报警信息发送时间,从各在线用户终端中选择第二用户终端,所述第二用户终端的报警信息发送时间早于各在线用户终端中除第二用户终端外的其他用户终端的报警信息发送时间。The second selection module is specifically configured to select a second user terminal from each online user terminal according to the sending time of each alarm information, and the sending time of the alarm information of the second user terminal is earlier than that of each online user terminal. 2. The alarm information sending time of other user terminals other than the user terminal.
  13. 根据权利要求10所述的装置,所述装置还包括:The device according to claim 10, further comprising:
    第三获取模块,被设置于执行获取各在线用户终端的报警信息发送时间,所述报警信息发送时间为距离当前时刻最近的报警平台向在线用户终端发送待下发报警信息的时间;The third acquisition module is set to perform acquisition of the alarm information sending time of each online user terminal, where the alarm information sending time is the time when the alarm platform closest to the current time sends the alarm information to the online user terminal;
    所述第一选择模块,具体被设置于执行当所述第三用户终端的数量大于第三预设阈值时,根据各报警信息发送时间,从第三用户终端中选择第五用户终端,作为目标用户终端,所述第五用户终端的报警信息发送时间早于所述第三用户终端中除第五用户终端外的其他用户终端的报警信息发送时间。The first selection module is specifically set to execute when the number of the third user terminals is greater than a third preset threshold, select the fifth user terminal from the third user terminals as the target according to the sending time of each alarm information User terminal, the alarm information transmission time of the fifth user terminal is earlier than the alarm information transmission time of other user terminals except the fifth user terminal in the third user terminal.
  14. 根据权利要求9所述的装置,所述装置还包括:The device according to claim 9, further comprising:
    接收模块,被设置于执行接收各在线用户终端发送的报警处理完成消息,并更新各在线用户终端的第一处理时间;The receiving module is configured to execute and receive the alarm processing completion message sent by each online user terminal, and update the first processing time of each online user terminal;
    所述第一选择模块,具体被设置于执行按照所述待处理数量的大小,对所述各在线用户终端进行排序,当所述各在线用户终端中存在待处理数量相等的用户终端时,按照第一处理时间的先后,对待处理数量相等的用户终端进行排序,得到用户终端队列;The first selection module is specifically configured to sort the online user terminals according to the size of the to-be-processed quantity, and when there are equal number of user terminals to be processed among the online user terminals, according to The order of the first processing time is to sort the user terminals with equal number of processing to obtain the user terminal queue;
    按照所述用户终端队列的顺序,依次从所述用户终端队列中选择第一终端数量的用户终端,作为目标用户终端。According to the order of the user terminal queue, sequentially select the user terminals with the first number of terminals from the user terminal queue as the target user terminals.
  15. 根据权利要求14所述的装置,所述装置还包括:The device according to claim 14, further comprising:
    第二获取模块,被设置于执行获取各在线用户终端的报警信息发送时间,所述报警信息发送时间为距离当前时刻最近的报警平台向在线用户终端发送 待下发报警信息的时间;The second acquisition module is set to execute the acquisition of the alarm information sending time of each online user terminal, the alarm information sending time being the time when the alarm platform closest to the current time sends the alarm information to the online user terminal;
    所述第一选择模块,具体被设置于执行:The first selection module is specifically configured to execute:
    按照所述待处理数量的大小,对所述各在线用户终端进行排序,当所述各在线用户终端中存在待处理数量相等的用户终端时,按照第一处理时间的先后,对所述待处理数量相等的用户终端进行排序,当所述各在线用户终端中存在待处理数量相等且第一处理时间相同的用户终端时,按照报警信息发送时间的先后,对所述待处理数量相等且第一处理时间相同的用户终端进行排序,得到用户终端队列。Sort the online user terminals according to the size of the number to be processed, and when there are user terminals with the same number to be processed in each of the online user terminals, according to the order of the first processing time, the Sort the equal number of user terminals. When there are user terminals with the same number of pending processing and the same first processing time in each of the online user terminals, the equal number of pending terminals and the first The user terminals with the same processing time are sorted to obtain the user terminal queue.
  16. 根据权利要求15所述的装置,所述装置还包括:The device according to claim 15, further comprising:
    重排模块,被设置于执行当发生预设事件时,按照所述用户终端队列中各在线用户终端的待处理数量的大小,第一处理时间的先后以及报警信息发送时间的先后,对所述用户终端队列进行重新排列,其中,所述预设事件包括以下中的至少一种:存在用户终端在所述报警平台上线、存在用户终端从所述报警平台下线、所述报警平台下发报警信息和用户终端将报警信息处理完毕。The rearrangement module is set to execute when a preset event occurs, according to the size of the number of each online user terminal in the user terminal queue to be processed, the first processing time and the alarm information sending time The user terminal queue is rearranged, wherein the preset event includes at least one of the following: a user terminal is online on the alarm platform, a user terminal is offline from the alarm platform, and the alarm platform issues an alarm The information and user terminal process the alarm information.
  17. 一种电子设备,其中,包括处理器、通信接口、存储器和通信总线,其中,处理器,通信接口,存储器通过通信总线完成相互间的通信;An electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory complete communication with each other through the communication bus;
    存储器,用于存放计算机程序;Memory, used to store computer programs;
    处理器,用于执行存储器上所存放的程序时,实现权利要求1-8任一所述的方法步骤。The processor, when used to execute the program stored on the memory, implements the method steps of any one of claims 1-8.
  18. 一种机器可读存储介质,其中,所述机器可读存储介质内存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1-8任一所述的方法步骤。A machine-readable storage medium, wherein a computer program is stored in the machine-readable storage medium, and when the computer program is executed by a processor, the method steps of any one of claims 1-8 are implemented.
  19. 一种包含指令的计算机程序产品,其中,当所述包含指令的计算机程序产品在计算机上运行时,使得所述计算机执行权利要求1-8任一所述的方法步骤。A computer program product containing instructions, wherein when the computer program product containing instructions runs on a computer, the computer is caused to perform the method steps of any one of claims 1-8.
PCT/CN2019/104687 2018-10-24 2019-09-06 Method and apparatus for sending information WO2020082911A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811245285.XA CN111092922B (en) 2018-10-24 2018-10-24 Information sending method and device
CN201811245285.X 2018-10-24

Publications (1)

Publication Number Publication Date
WO2020082911A1 true WO2020082911A1 (en) 2020-04-30

Family

ID=70331241

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/104687 WO2020082911A1 (en) 2018-10-24 2019-09-06 Method and apparatus for sending information

Country Status (2)

Country Link
CN (1) CN111092922B (en)
WO (1) WO2020082911A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112751707B (en) * 2020-12-29 2023-04-18 北京格林威尔科技发展有限公司 Alarm information output method and device based on SDN and NFV technologies

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060176167A1 (en) * 2005-01-25 2006-08-10 Laser Shield Systems, Inc. Apparatus, system, and method for alarm systems
CN105373839A (en) * 2015-12-15 2016-03-02 国网北京市电力公司 Intelligent worksheet dispatching method and apparatus
CN105894094A (en) * 2016-03-31 2016-08-24 国网北京市电力公司 Order dispatching method and device
CN107172204A (en) * 2017-06-29 2017-09-15 北京众清科技有限公司 The worksheet system and worksheet method of High Availabitity high capacity
CN107809322A (en) * 2016-09-06 2018-03-16 中兴通讯股份有限公司 The distribution method and device of work order

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3393091B1 (en) * 2011-09-09 2020-10-28 Nokia Solutions and Networks Oy A method for cdn delay optimization and control for http live streaming
CA2939921A1 (en) * 2014-02-19 2015-08-27 Level 3 Communications, Llc Proxy server failover and load clustering
CN106162219B (en) * 2015-04-21 2019-08-16 杭州海康威视***技术有限公司 Video cloud storage method and system
CN105162878B (en) * 2015-09-24 2018-08-31 网宿科技股份有限公司 Document distribution system based on distributed storage and method
CN105933372B (en) * 2016-01-13 2019-04-26 平安科技(深圳)有限公司 Task distributes execution method, server and terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060176167A1 (en) * 2005-01-25 2006-08-10 Laser Shield Systems, Inc. Apparatus, system, and method for alarm systems
CN105373839A (en) * 2015-12-15 2016-03-02 国网北京市电力公司 Intelligent worksheet dispatching method and apparatus
CN105894094A (en) * 2016-03-31 2016-08-24 国网北京市电力公司 Order dispatching method and device
CN107809322A (en) * 2016-09-06 2018-03-16 中兴通讯股份有限公司 The distribution method and device of work order
CN107172204A (en) * 2017-06-29 2017-09-15 北京众清科技有限公司 The worksheet system and worksheet method of High Availabitity high capacity

Also Published As

Publication number Publication date
CN111092922A (en) 2020-05-01
CN111092922B (en) 2021-04-02

Similar Documents

Publication Publication Date Title
US8719280B1 (en) Person-based information aggregation
CN109309712B (en) Data transmission method based on interface asynchronous call, server and storage medium
WO2020119426A1 (en) Gray scale testing method, server and computer readable storage medium
CN111381987A (en) Message processing method and device, electronic equipment and medium
CN112035235A (en) Task scheduling method, system, device and storage medium
CN105760395A (en) Data processing method, device and system
WO2021098555A1 (en) Distributed table storage processing method, apparatus and system
CN110555068A (en) Data export method and device
CN107357885A (en) Method for writing data and device, electronic equipment, computer-readable storage medium
WO2020082911A1 (en) Method and apparatus for sending information
CN115757406A (en) Data storage method and device, electronic equipment and storage medium
CN109167819A (en) Data synchronous system, method, apparatus and storage medium
CN106201777A (en) The method of information processing and mobile device
CN111355765B (en) Network request processing and sending method and device
CN111625348A (en) Task allocation method, device, server and storage medium
CN109885729B (en) Method, device and system for displaying data
CN111125240B (en) Distributed transaction realization method and device, electronic equipment and storage medium
CN112995765B (en) Network resource display method and device
CN108764866B (en) Method and equipment for allocating resources and drawing resources
CN112559646A (en) Report downloading method and device
CN109359799B (en) Policy maintenance bill processing method and device, computer equipment and storage medium
CN111124579B (en) Special effect rendering method and device, electronic equipment and storage medium
CN110717109B (en) Method, device, electronic equipment and storage medium for recommending data
CN108460078B (en) Auxiliary function execution method and device, storage medium and terminal
CN112256820A (en) Document positioning method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19876585

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19876585

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 19876585

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 03/12/2021)