Emergency command methods, equipment and readable storage media
By utilizing the lamp holders, relay equipment, and command center terminals of the visible light communication system, the problem of locating personnel in areas without operator signals was solved, enabling the effective implementation of emergency command and ensuring the smooth execution of emergency tasks.
Patent Information
- Application Number
- CN202310770566.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-27
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2043-06-27
AI Technical Summary
In special locations without carrier signals, such as underground bunkers, high-risk areas, military engineering projects, and severely obstructed indoor areas, the rear command center cannot accurately locate the positions of personnel on site, making it impossible to carry out emergency command based on personnel location.
An emergency command system based on visible light communication is adopted, including lamp holders, relay equipment and command room terminals. The lamp holders receive the identification and location information of the emergency terminals, and the relay equipment transmits it to the command room terminals. The emergency command plan is generated by combining the emergency site plan and mission requirements.
It enables the location of emergency terminals in environments without operator signals, ensuring the effective implementation of emergency command, reducing losses, and protecting life and property safety.
Smart Images

Figure CN116887241B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of emergency management technology, and in particular to emergency command methods, equipment and readable storage media. Background Technology
[0002] Emergency command refers to command activities in emergency situations. Most importantly, it is reflected in the use of correct command to make full use of limited emergency resources to control the development of the situation in emergency situations, demonstrating the role of emergency command in reducing losses and protecting life and property safety in sudden situations.
[0003] However, in some special locations without operator signals (such as underground bunkers, high-risk locations, military engineering projects, and indoor areas with severe obstruction), the rear command center cannot accurately locate the position of personnel on site, and therefore cannot control the movement trajectory of personnel on site, ultimately making it impossible to complete emergency command based on personnel location.
[0004] The above content is only used to help understand the technical solution of this application and does not represent an admission that the above content is prior art. Summary of the Invention
[0005] The main purpose of this application is to provide an emergency command method, device, equipment and readable storage medium, which aims to solve the technical problem that it is difficult to achieve emergency command based on personnel location in some special places without operator signal.
[0006] To achieve the above objectives, this application provides an emergency command method applied to an emergency command system based on visible light communication. The emergency command system includes a lamp holder, a relay device, and a command center terminal. The lamp holder and the relay device are wired together, and the relay device and the command center terminal are on the same local area network. The lamp holder, the relay device, and the command center terminal are networking devices for a visible light communication system. The emergency command method includes the following steps:
[0007] The system receives the emergency terminal identifier and the lamp holder identifier sent by the lamp holder. When the lamp holder receives the connection signal of the emergency terminal, it determines the emergency terminal identifier based on the connection signal and transmits the emergency terminal identifier and its own lamp holder identifier to the command room terminal through the relay device.
[0008] Based on the lamp holder identifier and the associated emergency location plan, the current location of the emergency terminal is determined;
[0009] Based on the emergency task and the current location, an emergency command plan is generated.
[0010] Optionally, after the step of generating an emergency command plan based on the emergency task and the current location, the following steps are included:
[0011] Identify the associated objects of the aforementioned emergency command plan;
[0012] When the associated object includes the emergency terminal, the command information corresponding to the emergency terminal is determined;
[0013] Determine the corresponding receiving lamp holder for the emergency terminal;
[0014] The command information and the communication information corresponding to the receiving lamp holder are sent to the relay device, wherein the relay device sends the command information to the receiving lamp holder according to the communication information.
[0015] Optionally, after the step of generating an emergency command plan based on the emergency task and the current location, the method further includes:
[0016] Obtain the historical location associated with the emergency terminal, and the timestamp corresponding to the association between the emergency terminal and the historical location;
[0017] The movement trajectory of the emergency terminal is generated based on the historical location and the timestamp.
[0018] Optionally, after determining the current location of the emergency terminal based on the lamp holder identifier and the emergency location plan associated with the lamp holder identifier, the step further includes:
[0019] Get the current time;
[0020] The current location is used as the historical location, and an association is established with the emergency terminal.
[0021] Use the current time as the timestamp of the association and save the association.
[0022] Optionally, after the step of generating an emergency command plan based on the emergency task and the current location, the method further includes:
[0023] When the movement trajectory is inconsistent with the task planning route corresponding to the emergency command plan, the emergency terminal corresponding to the movement trajectory will be marked as a deviated terminal;
[0024] Based on the latest location of the deviating terminal and the planned task route, the degree of deviation of the deviating terminal is determined;
[0025] Determine the corresponding deviation response plan for the deviation degree.
[0026] Optionally, the deviation includes the deviation distance, and the step of determining the deviation response plan corresponding to the deviation includes:
[0027] If the deviation distance is less than the threshold, a trajectory correction prompt will be sent to the deviation terminal;
[0028] If the deviation distance is greater than or equal to the threshold, a replacement terminal is determined based on the latest location of each emergency terminal.
[0029] Optionally, the step of generating an emergency command plan based on the emergency task and the current location includes:
[0030] Based on the aforementioned emergency task, the task location and the number of personnel required for the emergency task are determined;
[0031] Based on the task location and the current location of the emergency terminal, determine the task execution terminal with the required number of personnel;
[0032] Determine the command information corresponding to the task execution terminal.
[0033] Optionally, the step of determining the required number of task execution terminals based on the task location and the current location of the emergency terminal includes:
[0034] Based on the emergency site plan and the current location of the emergency terminals, determine the estimated time it will take for each emergency terminal to reach the mission location;
[0035] Based on the ascending order of the estimated time spent, the task execution terminals required for the number of users are determined.
[0036] In addition, to achieve the above objectives, this application also provides an emergency command device, the device comprising: a memory, a processor, and an emergency command program stored in the memory and executable on the processor, the emergency command program being configured to implement the steps of the above-described emergency command method.
[0037] In addition, to achieve the above objectives, this application also provides a readable storage medium storing an emergency command program, which, when executed by a processor, implements the steps of the above-described emergency command method.
[0038] In this application, to address the technical problem of difficulty in achieving emergency command based on personnel location in special locations without carrier signals, this application is applied to an emergency command system based on visible light communication. The emergency command system includes lamp holders, relay equipment, and a command center terminal. The lamp holders are wiredly connected to the relay equipment, and the relay equipment and the command center terminal are on the same local area network. The lamp holders, relay equipment, and command center terminal are networking devices for a visible light communication system. This application receives an emergency terminal identifier and a lamp holder identifier sent by the lamp holder. When the lamp holder receives a connection signal from the emergency terminal, it determines the emergency terminal identifier based on the connection signal and transmits the emergency terminal identifier and its own lamp holder identifier to the command center terminal through the relay equipment. Based on the lamp holder identifier and the associated emergency location map, the current location of the emergency terminal is determined. Based on the emergency task and the current location, an emergency command plan is generated. This achieves the beneficial effect of determining the location of emergency terminals and thus enabling emergency command even in special locations without carrier signals. Attached Figure Description
[0039] Figure 1 This is a flowchart of the first embodiment of the emergency command method of this application;
[0040] Figure 2 This is a diagram illustrating the structure of the emergency command system in the first embodiment of the emergency command method of this application;
[0041] Figure 3 This is a flowchart of the second embodiment of the emergency command method of this application;
[0042] Figure 4 This is a signaling flowchart of the emergency command system in the first embodiment of the emergency command method of this application;
[0043] Figure 5 This is a flowchart of the third embodiment of the emergency command method of this application;
[0044] Figure 6 This is a schematic diagram of the lamp holder distribution in the third embodiment of the emergency command method of this application;
[0045] Figure 7 This is a schematic diagram of the structure of an emergency command device in the hardware operating environment involved in the embodiments of this application.
[0046] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0047] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of this application.
[0048] Emergency command refers to command activities in emergency situations. Most importantly, it is reflected in the use of correct command to make full use of limited emergency resources to control the development of the situation in emergency situations, demonstrating the role of emergency command in reducing losses and protecting life and property safety in sudden situations.
[0049] However, in some special locations without operator signals (such as underground bunkers, high-risk locations, military engineering projects, and indoor areas with severe obstruction), the rear command center cannot accurately locate the position of personnel on site, and therefore cannot control the movement trajectory of personnel on site, ultimately making it impossible to complete emergency command based on personnel location.
[0050] Therefore, the emergency command system applied in this application includes a lamp holder, a relay device, and a command center terminal. The lamp holder is wiredly connected to the relay device, and the relay device and the command center terminal are on the same local area network. The lamp holder, the relay device, and the command center terminal are networking devices for a visible light communication system. Emergency personnel going to the emergency site are equipped with emergency terminals, each including a signal transmitter and a photoelectric converter. Based on the signal transmitter, the emergency terminal can send a connection signal to the lamp holder. Upon receiving the connection signal, the lamp holder identifies itself and transmits the emergency terminal identifier, along with its own lamp holder identifier, to the relay device via a wired connection. The relay device then wirelessly transmits the emergency terminal identifier and the lamp holder identifier to the command center terminal. The command center terminal can thus locate the lamp holder on the emergency site plan associated with the lamp holder identifier, and subsequently locate the emergency personnel corresponding to the emergency terminal. Ultimately, it can determine an emergency command plan based on the emergency task and the current location of the emergency terminal. It has achieved the beneficial effect of determining the location of emergency terminals in special locations without operator signals, thereby enabling emergency command.
[0051] To better understand the above technical solutions, exemplary embodiments of this application will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of this application are shown in the drawings, it should be understood that this application can be implemented in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided to enable a more thorough understanding of this application and to fully convey the scope of this application to those skilled in the art.
[0052] This application provides an emergency command method, referring to... Figure 1 , Figure 1 This is a flowchart of a first embodiment of an emergency command method according to this application.
[0053] In this embodiment, the emergency command method is applied to an emergency command system based on visible light communication. The emergency command system includes a lamp holder, a relay device, and a command room terminal. The lamp holder and the relay device are wired together, and the relay device and the command room terminal are on the same local area network. The lamp holder, the relay device, and the command room terminal are networking devices for a visible light communication system. The emergency command method includes:
[0054] Step S10: Receive the emergency terminal identifier and the lamp holder identifier sent by the lamp holder. When the lamp holder receives the connection signal of the emergency terminal, it determines the emergency terminal identifier based on the connection signal and transmits the emergency terminal identifier and its own lamp holder identifier to the command room terminal through the relay device.
[0055] Step S20 determines the current location of the emergency terminal based on the lamp holder identifier and the emergency location plan associated with the lamp holder identifier;
[0056] In this embodiment, refer to Figure 2 , Figure 2 This is a diagram illustrating the structure of an emergency command system in the first embodiment of the emergency command method of this application. The visible light communication-based emergency command system includes a lamp holder, a relay device, and a command center terminal. The lamp holder and the relay device are wired together, and the relay device and the command center terminal are on the same local area network. Emergency personnel going to the emergency location are equipped with emergency terminals, each including a signal transmitter.
[0057] Optionally, based on the signal transmitter, the emergency terminal can send a connection signal to the lamp holder. Upon receiving the connection signal, the lamp holder transmits the connection signal and its own lamp holder identifier to the relay device via a wired connection. The relay device then transmits the connection signal and lamp holder identifier to the command center terminal wirelessly.
[0058] Optionally, the command center terminal has the authority to obtain an emergency site plan, which marks the location of light sockets and their corresponding identifiers. Therefore, it can locate the light sockets by their identifiers and thus locate the emergency personnel corresponding to the emergency terminal that sent the connection signal.
[0059] Optionally, since all lamp holders will perform the above process after receiving the connection signal, the command center terminal can determine the location of all emergency terminals that have sent connection signals in real time.
[0060] Optionally, each time the command center terminal receives the associated data of the emergency terminal identifier and the lamp holder identifier, it obtains the current time, takes the current location of the emergency terminal corresponding to the emergency terminal identifier as the historical location, establishes an association between the historical location and the emergency terminal, and uses the current time as a timestamp.
[0061] Step S30: Generate an emergency command plan based on the emergency task and the current location.
[0062] Optionally, when an accident occurs, the command center terminal receives an emergency task for the purpose of emergency rescue. The types of emergency tasks include: (1) immediately organizing the rescue of victims, organizing evacuation or taking other measures to protect other personnel in the affected area; (2) quickly controlling the situation and detecting and monitoring the hazards caused by the accident, and determining the affected area, nature and degree of the hazard; (3) going to the accident site to rescue important materials; (4) eliminating the consequences of the hazard and restoring the scene; and (5) investigating the cause of the accident and assessing the degree of hazard.
[0063] Optionally, an emergency command plan is generated based on the current location of the available emergency terminals and the type of emergency task. The associated objects of the emergency command plan include outdoor emergency personnel and / or indoor emergency personnel equipped with emergency terminals.
[0064] Furthermore, if the emergency command plan includes the indoor emergency personnel, step S30 includes:
[0065] Step S31: Based on the emergency task, determine the task location and the number of personnel required for the emergency task;
[0066] Optionally, upon receiving an emergency task, the emergency task is segmented and keywords are extracted based on a neural network model to determine the task location and the number of personnel required.
[0067] Optionally, a neural network hierarchy can be constructed using LSTM (Long Short-Term Memory) to model fixed task sentence structures, thereby effectively acquiring word-level semantic information. Compared to traditional neural networks, LSTM overcomes the shortcomings of inputting variable-length sequences, better stores historical information, and thus achieves better results. LSTM stores the historical information of a word sequence in a real-valued history vector and uses this history vector to iteratively connect the entire sequence. Generally speaking, this vector containing historical information can represent the current word sequence. That is, this vector contains all the semantic information needed from the beginning of the question to the current word. Through the LSTM structure, a word and its historical information are jointly modeled into a vector, and this vector is used to represent the information contained in a word sequence. Therefore, it is possible to use LSTM to construct a network model that considers contextual information, jointly modeling the current word and the words that appeared in the preceding context into a vector to predict the probability of it becoming a keyword.
[0068] Optionally, a classifier can be built using LSTM to predict the probability that each word in a sentence is a keyword. For a given word, a word sequence consisting of all words starting from the beginning of the sentence is fed into the LSTM for learning. The input to the LSTM is a sequence of word vectors pre-trained on a large-scale corpus, and the output of the LSTM is the probability that this word is a keyword. Based on a set threshold, we can select keywords in the sentence according to the probability. Utilizing deep learning methods can effectively avoid cumbersome feature engineering, and using pre-trained word vectors can fully leverage the semantic information of words to help identify keywords from a semantic level.
[0069] Furthermore, in fixed-task sentence-structure keyword extraction tasks, determining whether the current word is a keyword requires just as much contextual information as preceding context information. However, since the network is unidirectional, it can only sequentially input all words from the beginning of the sentence to the current word, ignoring the influence of subsequent context information on determining whether the current word is a keyword. Therefore, to input the context of the target word into the model, this application modifies the previous LSTM model, using a target-centered LSTM structure (TC-LSTM). The main idea is to input both the preceding and following context information of the target word into the model, modeling information from both directions together into a single vector. This better represents the importance of the target word, thereby predicting its probability of being a keyword. Simultaneously capturing the contextual information of the target word improves the accuracy of keyword extraction.
[0070] For example, the fixed task format for the emergency mission is: Room CO1 on Floor B of Building A was hit by a typhoon and severely damaged. Emergency personnel are needed to retrieve important experimental samples. It is estimated that 3 emergency personnel will be required. The extracted keywords are Room CO1 on Floor B of Building A, retrieve important experimental samples, and 3, which correspond to the mission location, emergency mission type, and number of personnel required, respectively.
[0071] Step S32: Based on the task location and the current location of the emergency terminal, determine the task execution terminal with the required number of personnel;
[0072] Optionally, based on the emergency site map and the current location of the emergency terminals, the shortest route from each emergency terminal to the task location is determined, and the estimated time taken is determined according to a standard walking pace. The number of task execution terminals required is determined based on the ascending order of the estimated time taken.
[0073] For example, if there are five emergency responders, and their estimated arrival times at the mission location are: 3 minutes for responder #1, 13 minutes for responder #2, 5 minutes for responder #3, 8 minutes for responder #4, and 10 minutes for responder #5, and the required number of personnel is 3, then the personnel to perform the mission are the first three in ascending order: responders #1, #3, and #4.
[0074] Optionally, based on the emergency site plan and the current location of the emergency terminals, the straight-line distance from each emergency terminal to the task location is determined, and the number of task personnel required is determined based on the ascending order of the straight-line distances.
[0075] For example, if there are five emergency responders, and their straight-line distances to the mission location are: 10 meters for responder #1, 100 meters for responder #2, 50 meters for responder #3, 80 meters for responder #4, and 350 meters for responder #5, and the required number of personnel is 3, then the personnel to carry out the mission are the first three in ascending order: responders #1, #3, and #4.
[0076] In this embodiment, to address the technical problem of difficulty in achieving emergency command based on personnel location in special locations without operator signals, this application is applied to an emergency command system based on visible light communication. The emergency command system includes lamp holders, relay equipment, and a command center terminal. The lamp holders are wiredly connected to the relay equipment, and the relay equipment and the command center terminal are on the same local area network. The lamp holders, relay equipment, and command center terminal are networking devices for a visible light communication system. This application receives an emergency terminal identifier and a lamp holder identifier sent by the lamp holder. When the lamp holder receives a connection signal from the emergency terminal, it determines the emergency terminal identifier based on the connection signal and transmits the emergency terminal identifier and its own lamp holder identifier to the command center terminal through the relay equipment. Based on the lamp holder identifier and the associated emergency location map, the current location of the emergency terminal is determined. Based on the emergency task and the current location, an emergency command plan is generated. This achieves the beneficial effect of determining the location of emergency terminals and thus enabling emergency command even in special locations without operator signals.
[0077] Furthermore, referring to Figure 3 , Figure 3 This is a flowchart of a second embodiment of the emergency command method of this application. The second embodiment of this application includes the following steps after step S30:
[0078] Step S33: Determine the associated objects of the emergency command plan;
[0079] Step S34: When the associated object includes the emergency terminal, determine the command information corresponding to the emergency terminal;
[0080] Optionally, the associated object is the object being commanded in the emergency command plan. When the associated object includes an emergency terminal, the command information corresponding to the emergency terminal is determined. The command information includes the task planning route.
[0081] Optionally, based on the emergency site plan, the path lights along the planned mission route are determined; the path lights are controlled to emit guidance signals to prevent the emergency personnel corresponding to the emergency terminal from deviating from the planned mission route.
[0082] Step S35: Determine the corresponding receiver lamp holder for the emergency terminal;
[0083] Optionally, the lamp holder used to determine the current location of the emergency terminal is designated as a connecting lamp holder. Since the emergency personnel carrying the emergency terminal are in a freely moving state, simply transmitting the command information to the connecting lamp holder cannot determine whether the emergency personnel corresponding to the emergency terminal are still within the visible light communication range of the connecting lamp holder, making it difficult to ensure that the emergency terminal can receive the command information. Therefore, referring to... Figure 6 , Figure 6 This is a schematic diagram of the lamp holder distribution in the third embodiment of the emergency command method of this application. Based on the emergency location plan associated with the lamp holder identifier, a receiving lamp holder is selected using preset rules. The receiving lamp holder is the selected lamp holder used to receive the command information.
[0084] Optionally, the preset rules include: determining the surrounding access paths of the connected lamp holder based on the emergency location plan associated with the lamp holder identifier; determining candidate lamp holders in the surrounding access paths based on the emergency location plan associated with the lamp holder identifier; calculating the distance between each candidate lamp holder and the connected lamp holder; and selecting candidate lamp holders whose distance is less than or equal to a preset distance and the connected lamp holder as receiving lamp holders.
[0085] For example, with Figure 6 In the above, lamp 1 is a connecting lamp holder, and the alternative lamp holders in the surrounding passageway include lamp 2, lamp 4 and lamp 5. Then, based on the actual needs in practice, the receiving lamp holder is selected from the alternative lamp holders by using a preset distance.
[0086] Alternatively, based on the emergency location plan associated with the lamp holder identifier, select candidate lamp holders within a circle with a preset radius centered on the connecting lamp holder; based on the emergency location plan associated with the lamp holder identifier, determine the surrounding access path of the connecting lamp holder; and select the candidate lamp holders and the connecting lamp holder located on the surrounding access path as receiving lamp holders.
[0087] For example, with Figure 6 In the above, lamp 1 is a connecting lamp holder. Within a circle with the connecting lamp holder as the center and a preset radius, the candidate lamp holders include lamp 2, lamp 3, lamp 4 and lamp 5. Lamp 2, lamp 4 and lamp 5 on the surrounding passageway are selected as receiving lamp holders.
[0088] Optionally, the step of determining the surrounding access paths connecting the lamp holders based on the emergency location plan associated with the lamp holder identifier includes:
[0089] The emergency site plan associated with the lamp holder identifier is input into a pre-trained neural network model. The neural network model identifies and marks the connection points of the emergency site plan, including walkway bends and intersections within the emergency site. All the connection points are saved as a directed graph. Based on the directed graph, a pathfinding algorithm is called to determine the directed connection points of the lamp holders. The connecting path between the lamp holder and the directed connection point is the surrounding access path of the lamp holder.
[0090] Step S36: Send the command information and the communication information corresponding to the receiving lamp holder to the relay device, wherein the relay device sends the command information to the receiving lamp holder according to the communication information.
[0091] Optionally, refer to Figure 4 , Figure 4 This is a signaling flowchart of the emergency command system in the second embodiment of the emergency command method of this application. The command center terminal sends the command information to the lamp holder. After receiving the command information, the lamp holder converts the electrical signal into an optical signal and sends it to the emergency terminal. The communication information includes the interface information between the relay device and the receiving lamp holder. The relay device sends the command information to the receiving lamp holder through the interface corresponding to the interface information.
[0092] In this embodiment, considering that emergency personnel carrying emergency terminals are in a freely moving state, in order to ensure that the emergency terminals can receive command information, a routing algorithm is used to select receiving light sockets on the possible paths of the emergency personnel and transmit the command information to the receiving light sockets. This achieves the beneficial effect of ensuring that command information can be transmitted to the emergency terminals.
[0093] Furthermore, referring to Figure 6 , Figure 6 The flowchart of the third embodiment of the emergency command method of this application is provided. The third embodiment of this application further includes the following after step S30:
[0094] Step S40: When the movement trajectory is inconsistent with the task planning route corresponding to the emergency command plan, mark the emergency terminal corresponding to the movement trajectory as a deviated terminal;
[0095] Optionally, the historical location associated with the emergency terminal and the timestamp corresponding to the association between the emergency terminal and the historical location are obtained; the movement trajectory of the emergency terminal is generated based on the historical location and the timestamp.
[0096] The movement trajectory is compared with the planned mission route by overlaying layers to determine whether the movement trajectory and the planned mission route overlap. If the movement trajectory and the planned mission route do not completely overlap, the emergency terminal is marked as deviating from the terminal.
[0097] Step S41: Based on the latest location of the deviating terminal and the task planning route, determine the degree of deviation of the deviating terminal;
[0098] Optionally, the deviation refers to the degree to which the deviation terminal deviates from the planned route of the task.
[0099] As one implementation, the movement trajectory and the task planning route are overlaid on a layer and the difference is calculated to obtain the non-overlapping portion; the non-overlapping portion is divided by the task planning route to determine the deviation, that is, the deviation includes the percentage of the non-overlapping portion of the movement route and the task planning route to the task planning route.
[0100] As another implementation, the latest position of the deviation terminal is determined, and the timestamp corresponding to the association with the latest position is obtained; the planned position of the task planning route is determined based on the timestamp; the deviation degree is determined based on the distance between the latest position and the planned position, that is, the deviation degree includes the deviation distance.
[0101] Step S42: Determine the deviation response plan corresponding to the deviation degree.
[0102] Optionally, a deviation response plan is determined based on the deviation degree, and the deviation response plan includes a trajectory correction plan and a task replacement plan.
[0103] Furthermore, step S42 also includes:
[0104] Step S43: If the deviation distance is less than the threshold, a trajectory correction prompt is sent to the deviation terminal;
[0105] Optionally, the deviation includes the deviation distance. If the deviation distance is less than a threshold, the deviation response plan is determined to be a trajectory correction plan. The trajectory correction plan includes sending a trajectory correction prompt to the deviation terminal. The trajectory correction prompt includes a deviation prompt signal and a replanned route. The replanned route is either the route taken by the deviation terminal from the latest position to the task location, or the route taken by the deviation terminal from the latest position back to the planned task route.
[0106] Optionally, if the deviation distance is less than a second threshold, the replanned route is determined to be the route by which the deviating terminal returns from the latest position to the planned mission route. If the deviation distance is less than the threshold and greater than or equal to the second threshold, the replanned route is determined to be the route by which the deviating terminal reaches the mission location from the latest position.
[0107] Step S44: If the deviation distance is greater than or equal to the threshold, then a backup terminal is determined based on the latest location of each emergency terminal.
[0108] Optionally, if the deviation distance is greater than or equal to a threshold, a backup terminal is determined based on the latest location of each emergency terminal, wherein the backup terminal has the shortest estimated time to reach the mission location.
[0109] In this embodiment, the deviation degree from the terminal is quantified by setting a preset threshold, thereby providing a corresponding deviation response plan to ensure the smooth execution of emergency tasks.
[0110] In addition, this application also proposes an emergency command device.
[0111] Reference Figure 7 , Figure 7 This is a schematic diagram of the emergency command equipment structure of the hardware operating environment involved in the embodiments of this application.
[0112] like Figure 7 As shown, the emergency command equipment may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen and an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wi-Fi interface). The memory 1005 may be a high-speed random access memory (RAM) or a stable non-volatile memory (NVM), such as a disk drive. Optionally, the memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0113] Those skilled in the art will understand that Figure 7The structure shown does not constitute a limitation on emergency command equipment and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0114] like Figure 7 As shown, the memory 1005, which serves as a readable storage medium, may include an operating system, a data storage module, a network communication module, a user interface module, and an emergency command program.
[0115] exist Figure 7 In the emergency command equipment shown, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with users; the processor 1001 and memory 1005 in the emergency command equipment of this application can be set in the emergency command equipment. The emergency command equipment calls the emergency command program stored in the memory 1005 through the processor 1001 and executes the emergency command method provided in the embodiment of this application.
[0116] Furthermore, embodiments of this application also propose a readable storage medium.
[0117] An emergency command program is stored on a readable storage medium, which, when executed by a processor, implements the steps of the emergency command method described above.
[0118] The specific embodiments in which the emergency command program stored in the readable storage medium of this application is executed by the processor are basically the same as the embodiments of the emergency command method described above, and will not be repeated here.
[0119] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or system. Unless otherwise specified, an element defined by the phrase "comprising an emergency command" does not exclude the presence of other identical elements in the process, method, article, or system that includes that element.
[0120] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0121] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a readable storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0122] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. An emergency command method characterized by, The emergency command method is applied to an emergency command system based on visible light communication. The emergency command system includes lamp holders, relay equipment, and a command center terminal. The lamp holders are wired to the relay equipment, and the relay equipment and the command center terminal are on the same local area network. The lamp holders, relay equipment, and command center terminal are networking devices for the visible light communication system. The emergency command method includes the following steps: The system receives the emergency terminal identifier and the lamp holder identifier sent by the lamp holder. When the lamp holder receives the connection signal of the emergency terminal, it determines the emergency terminal identifier based on the connection signal and transmits the emergency terminal identifier and its own lamp holder identifier to the command room terminal through the relay device. Based on the lamp holder identifier and the associated emergency location plan, the current location of the emergency terminal is determined; Based on the emergency task and the current location, an emergency command plan is generated; Obtain the historical location associated with the emergency terminal, and the timestamp corresponding to the association between the emergency terminal and the historical location; The movement trajectory of the emergency terminal is generated based on the historical location and the timestamp; When the movement trajectory is inconsistent with the task planning route corresponding to the emergency command plan, the emergency terminal corresponding to the movement trajectory will be marked as a deviated terminal; Based on the latest location of the deviating terminal and the planned mission route, the degree of deviation of the deviating terminal is determined; Determine the corresponding deviation response plan for the deviation degree.
2. The emergency command method of claim 1, wherein, Following the step of generating an emergency command plan based on the emergency task and the current location, the following steps are included: Identify the associated objects of the aforementioned emergency command plan; When the associated object includes the emergency terminal, the command information corresponding to the emergency terminal is determined; Determine the corresponding receiving lamp holder for the emergency terminal; The command information and the communication information corresponding to the receiving lamp holder are sent to the relay device, wherein the relay device sends the command information to the receiving lamp holder according to the communication information.
3. The emergency command method of claim 1, wherein, After determining the current location of the emergency terminal based on the lamp holder identifier and the emergency location plan associated with the lamp holder identifier, the method includes: Get the current time; The current location is used as the historical location, and an association is established with the emergency terminal. Use the current time as the timestamp of the association and save the association.
4. The emergency command method as described in claim 1, characterized in that, The deviation includes the deviation distance, and the step of determining the deviation response plan corresponding to the deviation includes: If the deviation distance is less than the threshold, a trajectory correction prompt will be sent to the deviation terminal; If the deviation distance is greater than or equal to the threshold, a replacement terminal is determined based on the latest location of each emergency terminal.
5. The emergency command method as described in claim 1, characterized in that, The steps for generating an emergency command plan based on the emergency task and the current location include: Based on the aforementioned emergency task, the task location and the number of personnel required for the emergency task are determined; Based on the task location and the current location of the emergency terminal, determine the task execution terminal with the required number of personnel; Determine the command information corresponding to the task execution terminal.
6. The emergency command method as described in claim 5, characterized in that, The step of determining the required number of task execution terminals based on the task location and the current location of the emergency terminal includes: Based on the emergency site plan and the current location of the emergency terminals, determine the estimated time it will take for each emergency terminal to reach the mission location; Based on the ascending order of the estimated time spent, the task execution terminals required for the specified number of users are determined.
7. An emergency command device, characterized in that, The device includes: a memory, a processor, and an emergency command program stored in the memory and executable on the processor, the emergency command program being configured to implement the steps of the emergency command method as described in any one of claims 1 to 6.
8. A readable storage medium, characterized in that, The readable storage medium stores an emergency command program, which, when executed by a processor, implements the steps of the emergency command method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Wireless positioning method and system
CN111398941A
Evacuation information distribution system
JP2019046073A
