Intercom voice calling method, device, storage medium and electronic device

By obtaining and converting the coordinates of the personnel to be rescued, determining the target intercom terminal of the rescue personnel, and making a call for help, the problem of long rescue processing time in the existing technology has been solved, and the timeliness of rescue has been improved.

CN118055392BActive Publication Date: 2025-04-04SHANGHAI SHUGUO TECH CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202410301721.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-03-16
Publication Date
2025-04-04
Estimated Expiration
2044-03-16

AI Technical Summary

Technical Problem

The prior art deals with areas where rescue is needed, and the processing time is long, resulting in poor timeliness of rescue.

Method used

By obtaining the target coordinates of the person to be rescued, the coordinate system conversion is performed, the target intercom terminal of the rescuer within the preset range of the target position point is determined, and the voice call terminal is determined to make a request for assistance.

Benefits of technology

It has achieved rapid and accurate determination of rescue personnel around the locations that need rescue, and carried out rescue in a timely manner, improving the timeliness of rescue.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118055392B_ABST
    Figure CN118055392B_ABST
Patent Text Reader

Abstract

The present application relates to an intercom voice call method, device, storage medium and electronic device, and the present application relates to the field of voice call technology, wherein the method comprises: obtaining the target coordinates of the location of the person to be rescued; converting the target coordinates into a coordinate system to obtain a target position point under a unified coordinate system; determining the target intercom terminal of at least one rescuer within a preset range of the target position point through a preset spatial position algorithm; determining a voice call terminal from each of the target intercom terminals; and making a call for assistance to the voice call terminal so that the corresponding rescuer can rescue the person to be rescued. The present application has the effect of improving the timeliness of rescue.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of voice call technology, and in particular to an intercom voice call method, device, storage medium and electronic device. Background Art

[0002] Intercom voice calls are mainly realized through digital signal transmission technology, which can convert voice signals into digital signals and then transmit them through wireless communication networks. At the receiving end, the digital signals are restored to voice signals, thus realizing voice calls. In actual production and life, intercom voice calls are mainly realized through intercom terminals, which are wireless communication devices that can transmit voice signals through radio waves to realize communication between people. Especially in the fields of rescue, intercom terminals are widely used in tasks such as coordinating actions and guiding rescue directions.

[0003] At present, for areas where rescue is needed, the usual method is: the police who receive the call first register, report and then confirm whether to send a police officer. After confirming the dispatch of the police officer, the police on duty in the area where rescue is needed are notified through the intercom terminal and go to the area where rescue is needed. This process takes a long time to process, resulting in poor timeliness of rescue. Summary of the invention

[0004] In order to improve the timeliness of rescue, the present application provides an intercom voice call method, device, storage medium and electronic device.

[0005] In a first aspect of the present application, a method for intercom voice calling is provided, which specifically includes:

[0006] Obtain the target coordinates of the location of the person to be rescued;

[0007] Convert the target coordinates to a unified coordinate system to obtain the target position point;

[0008] Determine, by a preset spatial position algorithm, a target intercom terminal of at least one rescuer within a preset range of the target position point;

[0009] Determining a voice call terminal from each of the target intercom terminals;

[0010] A call for assistance is made to the voice call terminal so that corresponding rescue personnel can rescue the person to be rescued.

[0011] By adopting the above technical solution, the target coordinates of the location of the person to be rescued are converted into coordinates under a unified coordinate system, that is, the target location point, so as to conveniently and accurately determine the location that needs rescue. Then, the target intercom terminal within the preset range of the target location point is determined by the spatial position algorithm, so as to quickly and accurately determine the target intercom terminal of the rescuer who can provide rescue around the location that needs rescue. Finally, the voice call terminal that will be called in the end is determined from each target intercom terminal, and a call for help is made to the voice call terminal, so as to quickly determine the object that can provide rescue around the location that needs rescue, and call the voice call terminal in time, thereby improving the timeliness of rescue.

[0012] Optionally, determining the voice call terminal from each of the target intercom terminals includes:

[0013] Counting the distance between each target intercom terminal and the target location point;

[0014] Sorting the target intercom terminals in order of distance from small to large to obtain a sorted set, wherein the smaller the distance, the higher the sorting;

[0015] In order from front to back, a first preset number of intercom terminals to be selected are selected from the sorted set, and a rescue coverage area of ​​all the target intercom terminals is determined, where the rescue coverage area is an area corresponding to the preset range of the corresponding target intercom terminal;

[0016] Intersecting the rescue coverage areas to obtain at least one overlapping area, and determining the appearance area of ​​the overlapping area in the rescue coverage area of ​​each intercom terminal to be selected;

[0017] The intercom terminal to be selected corresponding to the largest appearance area is selected as the voice call terminal.

[0018] By adopting the above technical scheme, the first preset number of intercom terminals to be selected are screened out, which represent the target intercom terminals that are closer to the target location point. Then, the rescue coverage areas of all target intercom terminals within the preset range of the target location point are intersected to obtain multiple overlapping areas. Then, the appearance area of ​​the overlapping areas in the rescue coverage area of ​​each intercom terminal to be selected is counted. The larger the appearance area, the more areas in the rescue coverage area of ​​the intercom terminal to be selected. Once there is a call for help, the rescuers corresponding to other target intercom terminals can support and help to rescue. Finally, the intercom terminal to be selected corresponding to the largest appearance area is determined as the voice call terminal for the call for help, so that the rescuers of the voice call terminal can rescue the target location point in time while trying not to delay the rescue of other locations in the rescue coverage area of ​​the voice call terminal.

[0019] Optionally, after selecting the intercom terminal corresponding to the largest appearance area to be selected as the voice call terminal, the method further includes:

[0020] Determine a rescue coverage area of ​​the target location point, where the rescue coverage area is an area corresponding to the preset range of the target location point;

[0021] Determine whether the non-overlapping area in the rescue coverage area of ​​each of the intercom terminals to be selected is included in the rescue coverage area;

[0022] If yes, the corresponding intercom terminal to be selected is determined as the verification intercom terminal, and when the verification intercom terminal and the voice call terminal are the same intercom terminal, the voice call terminal is kept unchanged;

[0023] When the verification intercom terminal and the voice call terminal are not the same intercom terminal, the voice call terminal is switched to the verification intercom terminal.

[0024] By adopting the above technical solution, if the non-overlapping area of ​​the intercom terminal to be selected is included in the rescue coverage area, it means that once the non-overlapping area needs rescue, the rescue target position of the rescue personnel of this intercom terminal to be selected can also be covered, so as to avoid the situation that the rescue in the area in need of rescue is not timely. Then the corresponding intercom terminal to be selected is determined as the verification intercom terminal. If the verification intercom terminal and the voice call terminal are the same intercom terminal, it is further verified that the determination of the voice call terminal is more reasonable. If they are not the same intercom terminal, the voice call terminal is switched to the verification intercom terminal, so as to ensure that each location in the rescue coverage area that needs rescue can be supported as much as possible.

[0025] Optionally, determining the voice call terminal from each of the target intercom terminals specifically includes:

[0026] Counting the distance between each target intercom terminal and the target location point;

[0027] Sorting the target intercom terminals in order of distance from small to large to obtain a first sorted set, wherein the smaller the distance, the higher the sorting;

[0028] Determine the idle time of the rescuer corresponding to each of the target intercom terminals, and sort the target intercom terminals in descending order of idle time to obtain a second sorted set, where the longer the idle time, the higher the sorting;

[0029] In order from front to back, a target intercom terminal common to a second preset number of target intercom terminals in the first sorted set and a second preset number of target intercom terminals in the second sorted set is determined as a voice call terminal.

[0030] By adopting the above technical solution, the second preset number of target intercom terminals are selected from the first sorted set from the front to the back, so as to determine the intercom terminals that are closer to the target location point, and then the second preset number of target intercom terminals are also selected from the second sorted set from the front to the back, so as to determine the intercom terminals with longer idle time of the rescue personnel, wherein the longer the idle time, the higher the rescue quality provided by the rescue personnel. Finally, the target intercom terminals shared by the second preset number of target intercom terminals in the first sorted set and the second preset number of target intercom terminals in the second sorted set are determined as voice call terminals, so that the rescue personnel corresponding to the voice call terminal can not only go to the target location point in time, but also provide high-quality rescue.

[0031] Optionally, the making a call for assistance to the voice call terminal specifically includes:

[0032] If the number of the voice call terminals is greater than 1, counting the distance between each of the voice call terminals and the target location point;

[0033] Sorting the voice call terminals in ascending order of distance to obtain a third sorted set, wherein the smaller the distance, the higher the sorting;

[0034] In order from front to back, a call for assistance is made to each of the voice call terminals in the third sorted set in turn. If the duration of the first call for assistance corresponding to the current voice call terminal exceeds the first preset duration and no response is received from the current voice terminal, the number of calls for assistance of the voice call terminals added to the next call for assistance is determined according to the duration of the first call for assistance. The longer the duration of the first call for assistance is, the more calls for assistance are correspondingly received. The current voice call terminal is the voice call terminal currently being called.

[0035] reducing the first preset duration to obtain a second preset duration, and determining the current voice calling terminal and the number of voice calling terminals requesting assistance after the current voice calling terminal as a final calling terminal set;

[0036] A rescue call is made to each of the voice call terminals in the final call terminal set again, and the voice call terminal whose second rescue call duration does not exceed the second preset duration and which receives a response is determined as a rescue response terminal.

[0037] By adopting the above technical solution, if the duration of the first call for help of the current voice call terminal exceeds the first preset duration, and the server has not received a response from the current voice terminal, it means that it has not responded for a long time. In order to determine the rescue force to go to the rescue in time, the number of additional requests for help for the next call for help voice call terminal is determined according to the duration of the first call for help. The longer the duration of the first call for help, the longer the rescue is delayed, the greater the difficulty of rescuing the target location point, the more rescue forces are needed, and the corresponding number of requests for help is greater. At the same time, the first preset duration is reduced to obtain the second preset duration, thereby reducing the waiting time for the next call. If there is a voice call terminal whose second call for help duration does not exceed the second preset duration, and the server receives its response, it means that the corresponding voice call terminal responds faster, then the corresponding voice call terminal is determined as the rescue response terminal, and the corresponding rescue personnel are determined as the rescue personnel who finally go to the target location point, to ensure the timeliness of the rescue of the target location point.

[0038] Optionally, before determining the voice call terminal from each of the target intercom terminals, the method further includes:

[0039] Counting the number of times the target location sends out requests for help within a preset time;

[0040] If the number exceeds the preset number, the preset range is increased to obtain a final preset range;

[0041] According to the number of times, the number of selected voice call terminals in the final preset range is increased.

[0042] By adopting the above technical solution, if the number of times exceeds the preset number, it means that the situation of the person to be rescued at the target location is relatively critical, the rescue difficulty is high, and a large rescue force is required, so the preset range is increased to obtain the final preset range, and the search range of the target intercom terminal is expanded to ensure that more target intercom terminals are searched. Finally, the number of selected voice call terminals is increased in the target intercom terminals within the final preset range, so that the rescue force finally called is larger.

[0043] Optionally, the spatial location algorithm is a GeoHash algorithm.

[0044] By adopting the above technical solution, when determining the target intercom terminal within the preset range of the target location point through the GeoHash algorithm, the speed and accuracy of searching for the target intercom terminal within the preset range are high, which ultimately makes the determination of the target intercom terminal more efficient, so that the rescue force can be quickly determined for the target location point.

[0045] In a second aspect of the present application, a voice intercom calling device is provided, specifically comprising:

[0046] A coordinate acquisition module is used to obtain the target coordinates of the location of the person to be rescued;

[0047] A coordinate conversion module, used to convert the target coordinates into a coordinate system to obtain a target position point in a unified coordinate system;

[0048] A terminal search module, used to determine a target intercom terminal of at least one rescuer within a preset range of the target location point by using a preset spatial location algorithm;

[0049] A call determination module, used to determine a voice call terminal from each of the target intercom terminals;

[0050] The voice call module is used to make a call for help to the voice call terminal so that the corresponding rescue personnel can rescue the person to be rescued.

[0051] By adopting the above technical solution, after the coordinate acquisition module obtains the target coordinates of the location of the person to be rescued, the coordinate conversion module converts the target coordinates into a coordinate system to obtain the target position point under the unified coordinate system. Then the terminal search module determines the target intercom terminal of at least one rescuer within the preset range of the target position point through a spatial position algorithm. Then the call determination module determines the voice call terminal for making a rescue call from each target intercom terminal. Finally, the voice call module makes a rescue call to the voice call terminal, thereby improving the timeliness of rescue.

[0052] In a third aspect of the present application, a computer-readable storage medium is provided, in which a computer program is stored. When the computer program is loaded and executed by a processor, the method steps described in any one of the first aspects are performed.

[0053] In a fourth aspect of the present application, an electronic device is provided, specifically comprising:

[0054] A processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the processor is used to load and execute the computer program stored in the memory so that the electronic device performs the method as described in any one of the first aspects.

[0055] In summary, the present application includes at least one of the following beneficial technical effects:

[0056] The target coordinates of the location of the person to be rescued are converted into coordinates in a unified coordinate system, that is, the target location point, so as to conveniently and accurately determine the location that needs rescue. Then, the target intercom terminal within the preset range of the target location point is determined through the spatial location algorithm, so as to quickly and accurately determine the target intercom terminal of the rescue personnel who can provide rescue around the location that needs rescue. Finally, the voice call terminal that will be called in the end is determined from each target intercom terminal, and a call for help is made to the voice call terminal, so as to quickly determine the object that can provide rescue around the location that needs rescue, and call the voice call terminal in time, thereby improving the timeliness of rescue. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] Figure 1 It is a flowchart of an intercom voice call method provided in an embodiment of the present application;

[0058] Figure 2 It is a flowchart of another intercom voice call method provided in an embodiment of the present application;

[0059] Figure 3 It is a structural diagram of an intercom voice call device provided in an embodiment of the present application;

[0060] Figure 4 It is a structural schematic diagram of another intercom voice call device provided in an embodiment of the present application.

[0061] Explanation of the accompanying drawings: 11. Coordinate acquisition module; 12. Coordinate conversion module; 13. Terminal search module; 14. Call determination module; 15. Voice call module; 16. Terminal verification module; 17. Terminal adjustment module. DETAILED DESCRIPTION

[0062] In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this application, not all of the embodiments.

[0063] In the description of the embodiments of the present application, words such as "illustrative", "for example" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "illustrative", "for example" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "illustrative", "for example" or "for example" is intended to present related concepts in a concrete way.

[0064] In the description of the embodiments of the present application, the term "and / or" is only a kind of association relationship describing the associated objects, indicating that there may be three kinds of relationships, for example, A and / or B, which can represent: A exists alone, B exists alone, and A and B exist at the same time. In addition, unless otherwise specified, the meaning of the term "multiple" refers to two or more. For example, multiple systems refer to two or more systems, and multiple screen terminals refer to two or more screen terminals. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the indicated technical features. Thus, the features defined as "first" and "second" can explicitly or implicitly include one or more of the features. The terms "include", "comprise", "have" and their variations all mean "including but not limited to", unless otherwise specifically emphasized.

[0065] See also Figure 1 The present application embodiment discloses a flow chart of an intercom voice call method, which can be implemented by a computer program or run on an intercom voice call device based on the von Neumann system. The computer program can be integrated into an application or run as an independent tool application, specifically including:

[0066] S101: Obtain the target coordinates of the location of the person to be rescued.

[0067] Specifically, the person to be rescued refers to a person who is trapped or injured in a certain position and cannot leave the corresponding position, and needs rescue personnel to go to rescue him in time. When the person to be rescued needs rescue, he can send a distress signal to the server through the intercom terminal, and the distress signal carries the location coordinates of the location of the person to be rescued, that is, the target coordinates. For the server side, the location information of the person to be rescued is obtained by receiving the target coordinates sent by the intercom terminal of the person to be rescued. In other embodiments, the person to be rescued can also send the target coordinates of the location directly to the server through the terminal. The terminal can be a smart phone or a tablet computer. It should be noted that the server is the execution subject of an intercom voice call method disclosed in an embodiment of the present application. The server can be an independent physical server or a server cluster composed of multiple physical servers. In addition, in an embodiment of the present application, at the current time, the server obtains the target coordinates of a single location that needs rescue. In other embodiments, the target coordinates of multiple different locations that need rescue can also be obtained at the same time.

[0068] S102: Convert the target coordinates into a coordinate system to obtain a target position point in a unified coordinate system.

[0069] Specifically, in the rescue scenario, the intercom terminal of the person to be rescued can be integrated with different map software to obtain the position coordinates of the person to be rescued. These map software may come from different providers, such as Baidu Maps, Amap, Tencent Maps, etc., so the target coordinates obtained by the server may correspond to different coordinate systems. In an embodiment of the present application, the target coordinates can be the position coordinates provided by high-end map software, and the corresponding coordinate system is the GCJ-02 coordinate system. In other embodiments, the coordinate system corresponding to the target coordinates can also be the WGS-84 coordinate system. Further, in order to facilitate the server to better identify the target coordinates and determine the specific location of the person to be rescued, it is necessary to convert the target coordinates to obtain the target position point in the unified coordinate system that the server can recognize. A feasible coordinate conversion method is: convert the target coordinates into coordinates of a unified coordinate system through the JavaScript API provided by Baidu Maps, that is, corresponding to the target position point.

[0070] S103: Determine, by using a preset spatial position algorithm, a target intercom terminal of at least one rescuer within a preset range of the target position point.

[0071] Specifically, a spatial location algorithm refers to an algorithm used to determine the location of an unknown node in a network. This algorithm typically uses the physical location information of the node or other relevant factors to infer the location of the node through calculation and estimation. In a wireless network, a node typically has wireless communication capabilities and can communicate with other nodes. By measuring parameters such as signal propagation time, signal strength, or angle of arrival, the distance or orientation between nodes can be estimated. Using this information, a spatial location algorithm can be used to estimate the location of an unknown node. In an embodiment of the present application, a node refers to a target intercom terminal for rescuers. In addition, the spatial location algorithm can use a GeoHash algorithm. In other embodiments, the spatial location algorithm can also use an RSSI algorithm. Among them, the GeoHash algorithm is used to encode the latitude and longitude information of the node into a string, thereby realizing indexing and retrieval of the spatial location.

[0072] Through the spatial position algorithm, at least one target intercom terminal of a rescuer within a preset range of the target location point is determined, and finally the rescuers who can provide rescue around the location where rescue is needed are determined. The preset range can be 500 meters, and in other embodiments, the preset range can also be 1000 meters.

[0073] S104: Determine a voice call terminal from among the target intercom terminals.

[0074] In one achievable implementation, the distance between each target intercom terminal and the target location point is counted;

[0075] Sort the target intercom terminals in order of distance from small to large, and obtain a sorted set. The smaller the distance, the higher the ranking.

[0076] Selecting a first preset number of intercom terminals to be selected from the sorted set in order from front to back, and determining the rescue coverage areas of all target intercom terminals;

[0077] Intersecting the rescue coverage areas, obtaining at least one overlapping area, and determining the appearance area of ​​the overlapping area in the rescue coverage area of ​​each intercom terminal to be selected;

[0078] The intercom terminal to be selected corresponding to the largest appearance area is selected as the voice call terminal.

[0079] Specifically, after the target intercom terminals within the preset range of the target location point are determined, the distance from each target intercom terminal to the target location point is calculated based on the location coordinates provided by the built-in GPS module of each target intercom terminal, and then the target intercom terminals are sorted in order of distance from small to large to obtain a sorted set. The smaller the distance from the target intercom terminal to the target location point, the higher the ranking of this target intercom terminal, indicating that the corresponding rescue personnel can arrive at the scene in time for rescue through the target intercom terminal. Furthermore, from front to back, the first preset number of target intercom terminals are selected from the sorted set as the intercom terminals to be selected, that is, the target intercom terminals that are closer to the target location point. Then, the rescue coverage area of ​​each target intercom terminal is determined, wherein the rescue coverage area is the area corresponding to the preset range of the corresponding target intercom terminal, and when a person at any position point in the rescue coverage area asks for help, the corresponding intercom terminal to be selected is the object of help.

[0080] Furthermore, the intersection algorithm is used to find the intersection of the intersecting rescue coverage areas to obtain the overlapping area. For example, the overlapping area ab is the result of the intersection of the rescue coverage area a and the rescue coverage area b. The target intercom terminal corresponding to the rescue coverage area a is A, and the target intercom terminal corresponding to the rescue coverage area b is B. If there is a location point that needs rescue in the overlapping area ab, the rescue personnel corresponding to A and the rescue personnel corresponding to B can both go to carry out rescue.

[0081] Then, the preset OpenCV library can be used to convert the overlapping areas in the rescue coverage area of ​​each intercom terminal to be selected into polygons, and the area of ​​the polygon is calculated by the cv2.contourArea function in the OpenCV library, that is, the appearance area of ​​the overlapping areas in the rescue coverage area of ​​this intercom terminal to be selected. The larger the appearance area, the more areas in the rescue coverage area of ​​this intercom terminal to be selected. Once there is a call for help, the rescuers corresponding to other target intercom terminals can also support it.

[0082] Finally, the intercom terminal with the largest overlapping area is selected as the voice call terminal, that is, it is determined as the final rescue call object. Since the overlapping area in the rescue coverage area of ​​this intercom terminal is the largest, when this intercom terminal is called and the rescue personnel go to the target location for rescue, once other locations in the rescue coverage area of ​​this intercom terminal need rescue, the rescue personnel of other target intercom terminals can provide auxiliary rescue to the greatest extent, so that when rescuing the target location, the rescue of other locations will not be delayed as much as possible.

[0083] In other embodiments, the area of ​​the target overlapping area in the rescue coverage area of ​​the current voice call terminal is counted, wherein the number of the target overlapping area is the rescue coverage area where the overlap occurs exceeds the number threshold, that is, when the target overlapping area needs rescue, more different rescuers can perform rescue, if the area of ​​the target overlapping area is greater than the area threshold, the current voice call terminal is kept unchanged; otherwise, the intercom terminal with the second largest overlapping area is selected as the voice call terminal until the area of ​​its corresponding target overlapping area is greater than the area threshold.

[0084] In another embodiment, after selecting the intercom terminal corresponding to the largest appearance area as the voice call terminal, the method further includes: determining a help-seeking coverage area of ​​the target location point;

[0085] Determine whether the non-overlapping area in the rescue coverage area of ​​each intercom terminal to be selected is included in the rescue coverage area;

[0086] If yes, the corresponding intercom terminal to be selected is determined as the verification intercom terminal, and when the verification intercom terminal and the voice call terminal are the same intercom terminal, the voice call terminal is kept unchanged;

[0087] When the verification intercom terminal and the voice call terminal are not the same intercom terminal, the voice call terminal is switched to the verification intercom terminal.

[0088] Specifically, the rescue coverage area is the area corresponding to the preset range of the target location point. The non-overlapping area is the area excluding the overlapping area in the rescue coverage area of ​​each intercom terminal to be selected, that is, the area where the rescue personnel corresponding to other target intercom terminals cannot support the rescue. If the non-overlapping area corresponding to the intercom terminal to be selected is included in the rescue coverage area, once this non-overlapping area needs rescue, it can also be covered after the rescue target location point of the rescue personnel of the intercom terminal to be selected, so as to avoid the situation that the rescue in the area in need of rescue is not timely, then the intercom terminal to be selected is determined as the verification intercom terminal, and if the voice call terminal and the verification intercom terminal are the same intercom terminal, then the voice call terminal is kept unchanged; if they are not the same intercom terminal, then the voice call terminal is switched to the verification intercom terminal.

[0089] S105: Making a call for help to the voice call terminal so that the corresponding rescue personnel can rescue the person to be rescued.

[0090] In one feasible implementation, if the number of voice call terminals is greater than 1, the distance between each voice call terminal and the target location point is counted;

[0091] Sorting the voice call terminals in ascending order of distance to obtain a third sorted set, wherein the smaller the distance, the higher the sorting.

[0092] In order from front to back, a call for assistance is made to each voice call terminal in the third sorted set in turn. If the duration of the first call for assistance corresponding to the current voice call terminal exceeds the first preset duration and no response is received from the current voice terminal, the number of additional voice call terminals for the next call for assistance is determined according to the duration of the first call for assistance. The longer the duration of the first call for assistance, the greater the corresponding number of calls for assistance.

[0093] The first preset duration is reduced to obtain a second preset duration, and the current voice calling terminal and the number of voice calling terminals that request assistance after the current voice calling terminal are determined as the final calling terminal set;

[0094] A rescue call is made to each voice call terminal in the final call terminal set again, and the voice call terminal whose second rescue call duration does not exceed the second preset duration and receives a response is determined as a rescue response terminal.

[0095] Specifically, after the voice call terminal is determined, a wireless call needs to be made to the voice call terminal so that the corresponding rescue personnel can go to the target location. In the process, if the number of voice call terminals is greater than 1, it means that there are multiple voice call terminals, then the voice call terminals are sorted in order of distance from the target location from small to large to obtain a third sorted set. For details, please refer to step S104, which will not be repeated here.

[0096] Then, in order from front to back, calls for help are made to each voice call terminal in the third sorted set in turn. First, a call is made to the voice call terminal that is ranked first and closest to the target location. If the voice call terminal currently being called, that is, the first call for help duration corresponding to the current voice call terminal exceeds the first preset duration and no response is received from the current voice call terminal, it means that it has not responded for a long time. In order to promptly determine the rescue force to go to the rescue, the number of calls for help from the newly added voice call terminals in the next call for help is determined, that is, next time in addition to calling the current voice call terminal, other voice call terminals need to be called at the same time. A feasible way to determine the number of calls for help is: match the number of calls for help corresponding to the first call for help duration through a preset call for help quantity matching table. The longer the first call for help duration is, the longer the rescue is delayed, then the greater the difficulty of rescuing the target location, the more rescue forces are required, and the greater the corresponding number of calls for help is.

[0097] At the same time, the first preset duration is reduced to obtain the second preset duration, thereby reducing the waiting time for the next call and ensuring the timeliness of rescue. Further, the current voice call terminal and the voice call terminals with the number of requests for help after the current voice call terminal is sorted in the third sorted set are all determined to be the final call terminal set. Finally, a call for help is made to each voice call terminal in the final call terminal set again, and the corresponding second call for help duration is counted. If there is a voice call terminal whose second call for help duration does not exceed the second preset duration, and the server receives its response, indicating that the corresponding voice call terminal responds faster, then the corresponding voice call terminal is determined as the rescue response terminal, and the corresponding rescuer is determined as the rescuer who finally goes to the target location. In other embodiments, if all voice call terminals in the final call terminal set have called for more than the second preset duration and still have not responded, then the number of voice call terminals for the next call continues to be added, and the second preset duration is reduced again.

[0098] See also Figure 2 The present application embodiment discloses a flowchart of another intercom voice call method, which can be implemented by a computer program or run on an intercom voice call device based on the von Neumann system. The computer program can be integrated into an application or run as an independent tool application, specifically including:

[0099] S201: Obtain the target coordinates of the location of the person to be rescued.

[0100] S202: Convert the target coordinates into a coordinate system to obtain a target position point in a unified coordinate system.

[0101] S203: Determine, by using a preset spatial position algorithm, a target intercom terminal of at least one rescuer within a preset range of the target position point.

[0102] For details, please refer to steps S101-S103, which will not be described in detail here.

[0103] S204: Count the distances between each target intercom terminal and the target location point.

[0104] S205: sorting the target intercom terminals in ascending order of distance to obtain a first sorted set, wherein the smaller the distance, the higher the sorting.

[0105] For details, please refer to step S104, which will not be described in detail here.

[0106] S206: Determine the idle time of the rescuer corresponding to each target intercom terminal, and sort the target intercom terminals in descending order of idle time to obtain a second sorted set, wherein the longer the idle time, the higher the ranking.

[0107] Specifically, after the first sorted set is determined, the idle time of the rescue personnel corresponding to each target intercom terminal is determined. A feasible determination method is: retrieve the call record corresponding to each target intercom terminal, determine the time node when each target intercom terminal was last called, and then determine the length of time that each target intercom terminal has not been called according to the current time, that is, the idle time. Further, the target intercom terminals are re-sorted in order of idle time from large to small to obtain the second sorted set. The larger the idle time, the longer the rest time of the rescue personnel of the corresponding target intercom terminal, the higher the rescue quality, and the higher the ranking.

[0108] S207: In order from front to back, a target intercom terminal common to a second preset number of target intercom terminals in the first sorted set and a second preset number of target intercom terminals in the second sorted set is determined as a voice call terminal.

[0109] Specifically, in order from front to back, a second preset number of target intercom terminals are screened out from the first sorted set, that is, target intercom terminals that are closer to the target location point. At the same time, a second preset number of target intercom terminals are screened out from the second sorted set, that is, target intercom terminals of rescuers with higher rescue quality. Finally, from the second preset number of target intercom terminals in the first sorted set and the second preset number of target intercom terminals in the second sorted set, target intercom terminals that appear at the same time, that is, shared target intercom terminals, are screened out and determined as voice call terminals, thereby ensuring that after calling this voice call terminal, the corresponding rescue personnel can go to the target location point in time, and due to the longer idle time, the corresponding rescue quality is higher.

[0110] S208: Making a call for help to the voice call terminal so that the corresponding rescue personnel can rescue the person to be rescued.

[0111] For details, please refer to step S105, which will not be described in detail here.

[0112] In other embodiments, before determining the voice call terminal, the method further includes:

[0113] Count the number of times the target location sends out requests for help within a preset time

[0114] If the number exceeds the preset number, the preset range is increased to obtain the final preset range;

[0115] According to the number of times, the number of selected voice call terminals in the final preset range is increased.

[0116] Specifically, the number of times the target location sends out a request for help within the preset time is counted, that is, the number of times the intercom terminal receiving the target location sends out a request for help signal is counted. If the number exceeds the preset number, the frequency of the rescued person at the target location is high, indicating that the situation of the rescued person is more critical and requires a larger rescue force. Then, according to the difference between the number and the preset number, the corresponding preset range adjustment amount is matched from the preset preset range matching table, and the preset range is increased according to the preset range adjustment amount to obtain the final preset range, thereby expanding the search range of the target intercom terminal. The larger the difference, the larger the preset range adjustment amount. For example, the preset range adjustment amount is 100 meters, the preset range is 500 meters, and the final preset range is a range area of ​​600 meters around the target location.

[0117] Finally, according to the difference between the number of times and the preset number of times, the corresponding final selection number is matched from the selection number matching table. The larger the difference, the larger the final selection number. Furthermore, when selecting the voice call terminal from each target intercom terminal, the selection number is increased to the final selection number, so that the rescue force called is larger.

[0118] The implementation principle of the intercom voice call method of the embodiment of the present application is: convert the target coordinates of the location of the person to be rescued into coordinates under a unified coordinate system, that is, the target location point, so as to conveniently and accurately determine the location that needs rescue. Then, the target intercom terminal within the preset range of the target location point is determined by a spatial position algorithm, so as to quickly and accurately determine the target intercom terminal of the rescuer who can provide rescue around the location that needs rescue. Finally, the voice call terminal to be called in the end is determined from each target intercom terminal, and a call for assistance is made to the voice call terminal, so as to quickly determine the object that can provide rescue around the location that needs rescue, and call the voice call terminal in time, thereby improving the timeliness of rescue.

[0119] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0120] Please refer to 3, which is a schematic diagram of the structure of the intercom voice call device provided in the embodiment of the present application. The intercom voice call device can be implemented as all or part of the device through software, hardware or a combination of both. The device 1 includes a coordinate acquisition module 11, a coordinate conversion module 12, a terminal search module 13, a call determination module 14 and a voice call module 15.

[0121] A coordinate acquisition module 11 is used to acquire the target coordinates of the location of the person to be rescued;

[0122] A coordinate conversion module 12 is used to convert the target coordinates into a coordinate system to obtain a target position point in a unified coordinate system;

[0123] The terminal search module 13 is used to determine the target intercom terminal of at least one rescuer within a preset range of the target location point through a preset spatial location algorithm;

[0124] A call determination module 14, used to determine a voice call terminal from each target intercom terminal;

[0125] The voice call module 15 is used to make a call for help to the voice call terminal so that the corresponding rescue personnel can rescue the person to be rescued.

[0126] Optionally, the call determination module 14 is specifically configured to:

[0127] Count the distance between each target intercom terminal and the target location point;

[0128] Sort the target intercom terminals in order of distance from small to large, and obtain a sorted set. The smaller the distance, the higher the ranking.

[0129] In order from front to back, a first preset number of intercom terminals to be selected are selected from the sorted set, and the rescue coverage area of ​​all target intercom terminals is determined, where the rescue coverage area is the area corresponding to the preset range of the corresponding target intercom terminal;

[0130] Intersecting the rescue coverage areas, obtaining at least one overlapping area, and determining the appearance area of ​​the overlapping area in the rescue coverage area of ​​each intercom terminal to be selected;

[0131] The intercom terminal to be selected corresponding to the largest appearance area is selected as the voice call terminal.

[0132] Optional, such as Figure 4 As shown, the device 1 also includes a terminal verification module 16, which is specifically used to:

[0133] Determine a rescue coverage area of ​​the target location point, where the rescue coverage area is an area corresponding to a preset range of the target location point;

[0134] Determine whether the non-overlapping area in the rescue coverage area of ​​each intercom terminal to be selected is included in the rescue coverage area;

[0135] If yes, the corresponding intercom terminal to be selected is determined as the verification intercom terminal, and when the verification intercom terminal and the voice call terminal are the same intercom terminal, the voice call terminal is kept unchanged;

[0136] When the verification intercom terminal and the voice call terminal are not the same intercom terminal, the voice call terminal is switched to the verification intercom terminal.

[0137] Optionally, the call determination module 14 is further configured to:

[0138] Count the distance between each target intercom terminal and the target location point;

[0139] Sort the target intercom terminals in order of distance from small to large, and obtain the first sorted set. The smaller the distance, the higher the sorting.

[0140] Determine the idle time of the rescuer corresponding to each target intercom terminal, and sort the target intercom terminals in descending order of idle time to obtain a second sorted set. The longer the idle time, the higher the ranking.

[0141] In order from front to back, the target intercom terminals common to the second preset number of target intercom terminals in the first sorted set and the second preset number of target intercom terminals in the second sorted set are determined as voice call terminals.

[0142] Optionally, the voice call module 15 is specifically used for:

[0143] If the number of voice call terminals is greater than 1, the distance between each voice call terminal and the target location point is counted;

[0144] Sorting the voice call terminals in ascending order of distance to obtain a third sorted set, wherein the smaller the distance, the higher the sorting.

[0145] In order from front to back, a call for assistance is made to each voice call terminal in the third sorted set in turn. If the duration of the first call for assistance corresponding to the current voice call terminal exceeds the first preset duration and no response is received from the current voice terminal, the number of additional voice call terminals for the next call for assistance is determined according to the duration of the first call for assistance. The longer the duration of the first call for assistance, the greater the corresponding number of calls for assistance. The current voice call terminal is the voice call terminal currently being called.

[0146] The first preset duration is reduced to obtain a second preset duration, and the current voice calling terminal and the number of voice calling terminals that request assistance after the current voice calling terminal are determined as the final calling terminal set;

[0147] A rescue call is made to each voice call terminal in the final call terminal set again, and the voice call terminal whose second rescue call duration does not exceed the second preset duration and receives a response is determined as a rescue response terminal.

[0148] Optionally, the device 1 further includes a terminal adjustment module 17, which is specifically used to:

[0149] Count the number of times the target location sends out requests for help within a preset time;

[0150] If the number exceeds the preset number, the preset range is increased to obtain the final preset range;

[0151] According to the number of times, the number of selected voice call terminals in the final preset range is increased.

[0152] It should be noted that the intercom voice call device provided in the above embodiment only uses the division of the above functional modules as an example when executing the intercom voice call method. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the intercom voice call device provided in the above embodiment and the intercom voice call method embodiment belong to the same concept, and the implementation process thereof is detailed in the method embodiment, which will not be repeated here.

[0153] The embodiment of the present application further discloses a computer-readable storage medium, and the computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, an intercom voice call method of the above embodiment is adopted.

[0154] Among them, the computer program can be stored in a computer-readable medium, the computer program includes computer program code, the computer program code can be in the form of source code, object code, executable file or certain middleware, etc. The computer-readable medium includes any entity or device that can carry the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the computer-readable medium includes but is not limited to the above-mentioned components.

[0155] Among them, through this computer-readable storage medium, an intercom voice call method of the above embodiment is stored in a computer-readable storage medium, and is loaded and executed on a processor to facilitate the storage and application of the above method.

[0156] The embodiment of the present application also discloses an electronic device, in which a computer program is stored in a computer-readable storage medium. When the computer program is loaded and executed by a processor, the above-mentioned intercom voice call method is adopted.

[0157] The electronic device may be a desktop computer, a laptop computer, a cloud server or other electronic device, and the electronic device includes but is not limited to a processor and a memory. For example, the electronic device may also include input and output devices, a network access device, and a bus.

[0158] Among them, the processor can adopt a central processing unit (CPU). Of course, according to actual usage, other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. can also be adopted. The general-purpose processor can adopt a microprocessor or any conventional processor, etc., and this application does not impose any restrictions on this.

[0159] Among them, the memory can be an internal storage unit of the electronic device, such as a hard disk or memory of the electronic device, or it can be an external storage device of the electronic device, such as a plug-in hard disk, a smart memory card (SMC), a secure digital card (SD) or a flash memory card (FC) equipped on the electronic device. Moreover, the memory can also be a combination of an internal storage unit and an external storage device of the electronic device. The memory is used to store computer programs and other programs and data required by the electronic device. The memory can also be used to temporarily store data that has been output or is to be output, and this application does not impose any restrictions on this.

[0160] Among them, through this electronic device, an intercom voice call method of the above embodiment is stored in the memory of the electronic device, and is loaded and executed on the processor of the electronic device, which is convenient for use.

[0161] The above is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure cannot be limited thereto. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the specification and practicing the disclosure here, those skilled in the art will easily think of other embodiments of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field not recorded in the present disclosure. The description and examples are only regarded as exemplary, and the scope and spirit of the present disclosure are defined by the claims.

Claims

1. A method for intercom voice calling, characterized in that: The method comprises: Obtain the target coordinates of the location of the person to be rescued; Convert the target coordinates to a unified coordinate system to obtain the target position point; Determine, by a preset spatial position algorithm, a target intercom terminal of at least one rescuer within a preset range of the target position point; Determining a voice call terminal from each of the target intercom terminals; the step of determining a voice call terminal from each of the target intercom terminals comprises: Counting the distance between each target intercom terminal and the target location point; Sorting the target intercom terminals in order of distance from small to large to obtain a sorted set, wherein the smaller the distance, the higher the sorting; In order from front to back, a first preset number of intercom terminals to be selected are selected from the sorted set, and a rescue coverage area of ​​all the target intercom terminals is determined, where the rescue coverage area is an area corresponding to the preset range of the corresponding target intercom terminal; Intersecting the rescue coverage areas to obtain at least one overlapping area, and determining the appearance area of ​​the overlapping area in the rescue coverage area of ​​each intercom terminal to be selected; The intercom terminal to be selected corresponding to the largest appearance area is selected as the voice call terminal; A call for assistance is made to the voice call terminal so that corresponding rescue personnel can rescue the person to be rescued.

2. The intercom voice calling method according to claim 1, characterized in that: After selecting the intercom terminal corresponding to the largest appearance area to be selected as the voice call terminal, the method further includes: Determine a rescue coverage area of ​​the target location point, where the rescue coverage area is an area corresponding to the preset range of the target location point; Determine whether the non-overlapping area in the rescue coverage area of ​​each of the intercom terminals to be selected is included in the rescue coverage area; If yes, the corresponding intercom terminal to be selected is determined as the verification intercom terminal, and when the verification intercom terminal and the voice call terminal are the same intercom terminal, the voice call terminal is kept unchanged; When the verification intercom terminal and the voice call terminal are not the same intercom terminal, the voice call terminal is switched to the verification intercom terminal.

3. The intercom voice calling method according to claim 1, characterized in that: The step of determining the voice call terminal from each of the target intercom terminals specifically includes: Counting the distance between each target intercom terminal and the target location point; Sorting the target intercom terminals in order of distance from small to large to obtain a first sorted set, wherein the smaller the distance, the higher the sorting; Determine the idle time of the rescuer corresponding to each of the target intercom terminals, and sort the target intercom terminals in descending order of idle time to obtain a second sorted set, where the longer the idle time, the higher the sorting; In order from front to back, a target intercom terminal common to a second preset number of target intercom terminals in the first sorted set and a second preset number of target intercom terminals in the second sorted set is determined as a voice call terminal.

4. The intercom voice calling method according to claim 1, characterized in that: The calling for assistance to the voice calling terminal specifically includes: If the number of the voice call terminals is greater than 1, counting the distance between each of the voice call terminals and the target location point; Sorting the voice call terminals in ascending order of distance to obtain a third sorted set, wherein the smaller the distance, the higher the sorting; In order from front to back, a call for assistance is made to each of the voice call terminals in the third sorted set in turn. If the duration of the first call for assistance corresponding to the current voice call terminal exceeds the first preset duration and no response is received from the current voice call terminal, the number of calls for assistance of the voice call terminals added to the next call for assistance is determined according to the duration of the first call for assistance. The longer the duration of the first call for assistance is, the more calls for assistance are correspondingly received. The current voice call terminal is the voice call terminal currently being called. reducing the first preset duration to obtain a second preset duration, and determining the current voice calling terminal and the number of voice calling terminals requesting assistance after the current voice calling terminal as a final calling terminal set; A rescue call is made to each of the voice call terminals in the final call terminal set again, and the voice call terminal whose second rescue call duration does not exceed the second preset duration and which receives a response is determined as a rescue response terminal.

5. The intercom voice calling method according to claim 1, characterized in that: Before determining the voice call terminal from each of the target intercom terminals, the method further includes: Counting the number of times the target location sends out requests for help within a preset time; If the number exceeds the preset number, the preset range is increased to obtain a final preset range; According to the number of times, the number of selected voice call terminals in the final preset range is increased.

6. The intercom voice calling method according to claim 1, characterized in that: The spatial location algorithm is the GeoHash algorithm.

7. An intercom voice calling device, used to implement the intercom voice calling method according to any one of claims 1 to 6, characterized in that: include: A coordinate acquisition module (11), used to acquire the target coordinates of the location of the person to be rescued; A coordinate conversion module (12) is used to convert the target coordinates into a coordinate system to obtain a target position point in a unified coordinate system; A terminal search module (13) is used to determine a target intercom terminal of at least one rescuer within a preset range of the target location point by using a preset spatial location algorithm; A call determination module (14), used for determining a voice call terminal from each of the target intercom terminals; The voice calling module (15) is used to make a call for help to the voice calling terminal so that the corresponding rescue personnel can rescue the person to be rescued.

8. A computer-readable storage medium, wherein a computer program is stored in the computer-readable storage medium, characterized in that: When the computer program is loaded and executed by a processor, the method according to any one of claims 1 to 6 is implemented.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and capable of running on the processor, characterized in that: When the processor loads and executes the computer program, the method according to any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Emergency calling service realizing method, emergency calling service realizing device and emergency calling service realizing system

    CN106651716A