[go: up one dir, main page]

CN112312324A - Location information sending device and method - Google Patents

Location information sending device and method Download PDF

Info

Publication number
CN112312324A
CN112312324A CN202011181397.0A CN202011181397A CN112312324A CN 112312324 A CN112312324 A CN 112312324A CN 202011181397 A CN202011181397 A CN 202011181397A CN 112312324 A CN112312324 A CN 112312324A
Authority
CN
China
Prior art keywords
information
location
electronic device
location information
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202011181397.0A
Other languages
Chinese (zh)
Other versions
CN112312324B (en
Inventor
毛源泽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202011181397.0A priority Critical patent/CN112312324B/en
Publication of CN112312324A publication Critical patent/CN112312324A/en
Priority to PCT/CN2021/126696 priority patent/WO2022089484A1/en
Application granted granted Critical
Publication of CN112312324B publication Critical patent/CN112312324B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • H04W64/003Locating users or terminals or network equipment for network management purposes, e.g. mobility management locating network equipment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W80/00Wireless network protocols or protocol adaptations to wireless operation
    • H04W80/08Upper layer protocols
    • H04W80/10Upper layer protocols adapted for application session management, e.g. SIP [Session Initiation Protocol]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application discloses a position information sending device and a position information sending method, belongs to the technical field of communication, and can solve the problem that position information carried by existing electronic equipment in an emergency call request is wrong or does not carry the position information. The position information transmitting apparatus includes: the system comprises a communication module and a positioning module; the communication module is used for sending position acquisition information to the positioning module under the condition that the electronic equipment receives a message for initiating an emergency call, wherein the position acquisition information is used for requesting to acquire the current position of the electronic equipment; the positioning module is used for acquiring information according to the position, acquiring the current position of the electronic equipment and sending first position information to the communication module, wherein the first position information is the information of the current position of the electronic equipment; and the call module is also used for carrying the first position information in the target SIP message and sending the target SIP message to the server. The method is applied to the scene of emergency call.

Description

Position information transmitting device and method
Technical Field
The present application belongs to the field of communication technologies, and in particular, to a device and a method for transmitting location information.
Background
When the user encounters an emergency, the user may dial a corresponding emergency number (e.g., 110, 120, 119, etc.) via the electronic device for assistance.
At present, in order to ensure that a user can be rescued in time, many operators require the electronic device to upload information of the position of the electronic device in the process of carrying out emergency call, for example, the electronic device is required to carry the information of the position of the electronic device in an emergency number. Generally, when sending an emergency call request, an electronic device may carry information about the location of the electronic device in a call request message.
However, in the above process, since the positioning module of the electronic device may delay reporting of the obtained location information or abnormal location, the location information carried in the call request message by the electronic device may be inconsistent with the information of the actual location of the electronic device, so that the location information carried in the emergency call request by the electronic device is wrong, or the electronic device does not carry the location information in the call request message. Therefore, the user cannot be rescued in time.
Disclosure of Invention
The embodiment of the application aims to provide a position information sending device and a position information sending method, which can solve the problem that a user cannot be rescued in time due to the fact that position information carried by existing electronic equipment in an emergency call request is wrong or does not carry the position information.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a location information sending apparatus, including: conversation module and location module. The communication module is used for sending position acquisition information to the positioning module under the condition that the electronic equipment receives a message for initiating an emergency call, wherein the position acquisition information is used for requesting to acquire the current position of the electronic equipment; the positioning module is used for acquiring information according to the position, acquiring the current position of the electronic equipment and sending first position information to the communication module, wherein the first position information is the information of the current position of the electronic equipment; the call module is further configured to carry the first location information in a Session Initiation Protocol (SIP) message and send the SIP message to the server; wherein the target SIP message comprises at least one of: update messages, acknowledgement messages, hang up messages.
In a second aspect, an embodiment of the present invention provides an electronic device, which includes the location information transmitting apparatus provided in the first aspect.
In a third aspect, an embodiment of the present application provides a method for sending location information, where the method includes: under the condition of receiving a message for initiating an emergency call, acquiring the current position of the electronic equipment; and carrying the first position information in the target SIP message and sending the target SIP message to the server, wherein the first position information is the information of the current position of the electronic equipment.
In a fourth aspect, the present application provides an electronic device, which includes a processor, a memory, and a program or instructions stored in the memory and executable on the processor, and when the program or instructions are executed by the processor, the steps of the position information sending method in the third aspect are implemented.
In a fifth aspect, the present application provides a readable storage medium, on which a program or instructions are stored, and when the program or instructions are executed by a processor, the program or instructions implement the steps of the location information sending method in the third aspect as described above.
In a sixth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the steps of the location information sending method in the third aspect.
In this embodiment of the present application, the call module may be configured to send, to the positioning module, location obtaining information (for requesting to obtain a current location of the electronic device) when the electronic device receives a message for initiating an emergency call; the positioning module can be used for acquiring information according to the position, acquiring the current position of the electronic equipment and sending first position information (the information of the current position of the electronic equipment) to the communication module; the conversation module is also used for carrying the first position information in a target SIP message and sending the target SIP message to the server; wherein the target SIP message comprises at least one of: update messages, acknowledgement messages, hang up messages. According to the scheme, on one hand, under the condition that the electronic equipment receives the message for initiating the emergency call, the communication module can acquire the information of the current position of the electronic equipment through the positioning module, so that the information of the current position of the electronic equipment acquired by the communication module is more accurate, and the communication module can report the accurate position of the electronic equipment to the server. On the other hand, the communication module can carry the information of the current position of the electronic equipment in at least one of the update message, the confirmation message and the hang-up message and send the information to the server, so that the time for sending the position information in the emergency communication process can be increased, and the server can acquire the current position of the electronic equipment after the emergency communication is finished. Therefore, the server can be ensured to receive accurate information of the current position of the electronic equipment, and the user can be rescued in time.
Drawings
Fig. 1 is a schematic structural diagram of a location information sending apparatus according to an embodiment of the present application;
fig. 2 is a schematic flowchart of a method for sending location information according to an embodiment of the present application;
fig. 3 is a second schematic flowchart of a method for sending location information according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 5 is a hardware schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
In the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
The following describes in detail a location information transmitting apparatus according to an embodiment of the present application with reference to the accompanying drawings and specific embodiments and application scenarios thereof.
As shown in fig. 1, the present embodiment provides a position information transmitting apparatus 20 including a call module 21 and a positioning module 22 described below.
The communication module 21 may be configured to send, to the positioning module, location acquisition information for requesting to acquire a current location of the electronic device, when the electronic device receives a message for initiating an emergency call; the positioning module 22 may be configured to obtain information according to the position, obtain a current position of the electronic device, and send first position information to the call module, where the first position information is information of the current position of the electronic device; the call module 21 may be further configured to carry the first location information in a target SIP message, and send the target SIP message to the server, where the target SIP message may include at least one of the following: update messages, acknowledgement messages, hang up messages.
In the embodiment of the application, the communication module can send the position acquisition information to the positioning module under the condition that the electronic equipment receives the emergency call request message, so that the current position of the electronic equipment is acquired. After the positioning module receives the position acquisition information sent by the communication module, the positioning module can acquire the information according to the position and perform positioning, so that the current position of the electronic equipment is acquired; after the positioning module obtains the current location of the electronic device, the positioning module may send the first location information to the call module, so as to report the current location of the electronic device to the call module. Then, after the call module receives the first location information, the call module may carry the first location information in the target SIP message, and send the target SIP message to the server. Therefore, the accurate current position of the electronic equipment can be reported to the server after the emergency call is finished, so that the user can be rescued in time.
In this embodiment of the present application, the above "the electronic device receives the emergency call request message" may be understood as: when the user needs emergency rescue, the user can input an emergency rescue number in a dialing application program in the electronic equipment, and then the electronic equipment is triggered to initiate an emergency call through inputting a dialing control in the dialing application program. When the electronic equipment receives the input of the user to the dialing control, the electronic equipment receives the message of initiating the emergency call request.
In the embodiment of the application, after the electronic device receives the message for initiating the emergency call, the electronic device may send the emergency call request to the server through the call module, that is, initiate the emergency call. Specifically, the call module may initiate an emergency call (e.g., dialing an emergency number such as 112, 911, 110) based on an Internet protocol multimedia system (IMS) network.
In this embodiment of the application, after the positioning module receives the position acquisition information, the positioning module may start positioning, so as to measure the current position of the electronic device, and report the measurement result (i.e., the first position information) to the call module.
Optionally, in this embodiment of the application, the manner in which the positioning module sends the first location information to the call module may include two possible manners, which are the following first manner and second manner, respectively. These two possible ways are specifically exemplified below.
The first method is as follows: the positioning module may be specifically configured to send the first location information to the call module after the location of the electronic device is obtained N times.
The first location information may be information of a location of the electronic device obtained by the positioning module for the nth time, where N is an integer greater than 1.
In the first mode, after the positioning module measures the location of the electronic device N times, the positioning module may report the location of the electronic device obtained by the last measurement in the N measurement results to the call module, that is, the positioning module sends the location of the electronic device obtained by the last measurement in the N measurement results to the call module as the current location of the electronic device.
Optionally, in this embodiment of the present application, the value of N may be a preset value in the location information sending device. For example, any possible value such as 3, 5, or 10 may be determined according to actual use requirements, and the embodiments of the present application are not limited.
In the embodiment of the application, after the positioning module obtains the location of the electronic device for N times, the information (i.e., the first location information) of the location of the electronic device is only reported to the call module once, so that the positioning module can be prevented from frequently reporting the location of the electronic device to the call module, and the power consumption problem caused by the positioning module is reduced.
The second method comprises the following steps: and the positioning module is specifically used for sending the first position information to the communication module after the preset duration.
The first location information may be information of a location of the electronic device, which is obtained by the positioning module last time.
In this embodiment of the application, the preset duration may be a duration starting from a position where the positioning module starts the positioning measurement electronic device.
Optionally, in this embodiment of the application, in the process that the positioning module measures the location of the electronic device, when the preset duration (denoted as T) is reached, the positioning module may report the location of the electronic device that the positioning module has recently acquired (i.e., obtained by measurement) to the call module in the manner of the first location information, that is, the positioning module sends the location of the electronic device that has been acquired last time to the call module as the current location of the electronic device.
It should be noted that, in this embodiment of the application, if the preset duration is reached and the positioning module has not obtained the location of the electronic device, the positioning module may report an empty or specific character to the call module.
Optionally, in this embodiment of the application, the preset time duration may be a time duration preset in the position information sending device, for example, 30 seconds, 1 minute, and the like. The method can be determined according to actual use requirements, and the embodiment of the application is not limited.
In the embodiment of the application, after the preset duration, the positioning module can report the first position information to the call module once, so that the positioning module can be prevented from frequently reporting the position of the electronic device to the call module, and the power consumption problem caused by the positioning module is reduced.
Optionally, in this embodiment of the application, in a case that the target SIP message includes an Update message, the Update message may be an Update message.
In one implementation, after the call request message is sent, the call module receives first location information sent by the location module, and then the call module may send an Update message to the server, and send the Update message to the server with the first location information.
Optionally, in this embodiment of the present application, in a case that the target SIP message includes an acknowledgement message, the acknowledgement message may be an ACK message; in case the target SIP message comprises a hangup message, the hangup message may be a BYE message.
In another implementation manner, if the call module does not receive the information of the current location of the electronic device reported by the positioning module all the time after the emergency call connection is established by the electronic device, the call module may carry the information of the location of the electronic device cached by the call module in a BYE message or an ACK message when the emergency call is ended (for example, hang-up), and send the BYE message or the ACK message to the server, so that it is ensured that the server can obtain the location of the electronic device after the emergency call is ended.
It can be understood that, in another implementation manner, the call module may send the information of the location of the electronic device cached in the call module to the server as the information of the current location of the electronic device (i.e., the first location information).
On one hand, under the condition that the electronic equipment receives the message for initiating the emergency call, the communication module can acquire the information of the current position of the electronic equipment through the positioning module, so that the information of the current position of the electronic equipment acquired by the communication module is more accurate, and the communication module can report the accurate position of the electronic equipment to the server. On the other hand, the communication module can carry the information of the current position of the electronic equipment in at least one of the update message, the confirmation message and the hang-up message and send the information to the server, so that the time for sending the position information in the emergency communication process can be increased, and the server can acquire the current position of the electronic equipment after the emergency communication is finished. Therefore, the server can be determined to receive accurate information of the current position of the electronic equipment, so that the user can be rescued in time.
Optionally, in this embodiment of the application, the call module may be further configured to carry the second location information in a call request message and send the call request message to the server.
The call request message is a request message for requesting establishment of an emergency call connection, and the second location information may be information of a current location of the electronic device acquired by the call module, or may be information of a location of the electronic device cached in the call module.
In the embodiment of the application, when the electronic device requests to establish the emergency call connection, the call module may carry the second location information in a call request message and send the call request message to the server, that is, when the electronic device requests to establish the emergency call connection, the call module directly sends the information of the location of the electronic device to the server.
It can be understood that when the call module sends the call request message to the server, the call module can directly send the information of the location of the electronic device to the server, so that it can be ensured that the server can obtain the location of the electronic device.
Optionally, in this embodiment of the application, before the call module sends the call request message to the server, the call module receives the information of the current location of the electronic device sent by the positioning module, and then the call module may carry the information of the current location of the electronic device in the call request message and send the call request message to the server.
Optionally, in this embodiment of the application, before the call module sends the call request message to the server, the call module does not receive the information of the current location of the electronic device sent by the positioning module, and then the call module may carry the information of the location of the electronic device cached in the call module in the call request message and send the information to the server.
Optionally, in this embodiment of the application, the call request message may be an invite message.
Optionally, in this embodiment of the application, the information of the location of the electronic device cached in the call module may be information of the location of the electronic device sent by the positioning module to the call module when the call module initiates IMS network attachment and registration; the location module may also send the location information of the electronic device to the call module after IMS network registration. The method can be determined according to actual use requirements, and the embodiment of the application is not limited.
It should be noted that, for the information of the location of the electronic device cached in the above-mentioned call module, if the call module receives the information of the new location of the electronic device sent by the positioning module, the call module may replace the information of the location of the electronic device cached before the call module with the information of the new location.
In the embodiment of the application, the call module can send the information of the position of the electronic equipment to the server through the call request message, so that the server can determine the position of the electronic equipment after the emergency call is finished.
Optionally, in this embodiment of the application, when the second location information is cached information of a location where the electronic device is located, the call module may be specifically configured to carry the first location information in the target SIP message and send the target SIP message to the server when the first location information is different from the second location information.
In this embodiment of the application, after the call module sends the second location information to the server, if the call module receives the first location information sent by the positioning module, the call module may compare the first location information with the second location information, and if the first location information is different from the second location information, the call module may determine that the information of the location of the electronic device reported to the server through the call request message is incorrect, so that the call module may report the accurate information of the location of the electronic device (i.e., the first location information) to the server through the target SIP message.
Optionally, in this embodiment of the application, when the first location information is the same as the second location information, the call module may no longer send the first location information to the server, that is, the call module no longer reports the information of the location of the electronic device to the server; or, the call module may report the first location information to the server through the target SIP message, so as to ensure that the server can receive the information of the location of the electronic device.
Optionally, in this embodiment of the application, when a Subscriber Identity Module (SIM) card is inserted into the electronic device, the electronic device may initiate an IMS network registration procedure. Specifically, when the SIM card inserted into the electronic device is an SIM card with IMS capability (e.g., has Voice Over Long Term Evolution (VOLTE) based voice service, wireless local area network (WOWIFI) based voice service, etc.), the call module may initiate an IMS network attach and registration procedure.
In the embodiment of the application, in the process of performing IMS registration by the call module, information of the location of the electronic device needs to be acquired. Therefore, the call module can send a position information acquisition request to the positioning module so as to request the positioning module to acquire the position of the electronic equipment, and after the positioning module measures the position of the electronic equipment, the positioning module can send information of the position of the electronic equipment to the call module.
In the embodiment of the application, after the call module receives the information of the position of the electronic equipment sent by the positioning module, the call module can cache the information of the position of the electronic equipment in the call module, so that when the IMS registration is performed, the call module can insert the information of the position of the electronic equipment into the SIP message and send the SIP message to the server, thereby completing the IMS network registration of the SIM card.
An embodiment of the present invention provides an electronic device, which may include the location information sending apparatus in the foregoing embodiment. For the description of the location information sending apparatus, reference may be made to the detailed description of the location information sending apparatus in the foregoing embodiment, and details are not repeated here to avoid repetition.
Optionally, the electronic device in the embodiment of the present invention may be a mobile electronic device, and may also be a non-mobile electronic device. For example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like. The method can be determined according to actual use requirements, and the embodiment of the invention is not particularly limited.
On one hand, because the information of the current position of the electronic equipment can be obtained under the condition that the electronic equipment receives the message of initiating the emergency call request, the obtained information of the current position of the electronic equipment can be more accurate, and the accurate position of the electronic equipment can be reported to a server. On the other hand, the information of the current position of the electronic equipment can be carried in at least one of the update message, the confirmation message and the hang-up message and sent to the server, so that the time for sending the position information in the emergency call process can be increased, and the server can be ensured to acquire the current position of the electronic equipment after the emergency call is finished. Therefore, the server can be ensured to receive accurate information of the current position of the electronic equipment, and the user can be rescued in time.
As shown in fig. 2, an embodiment of the present application provides a method for sending location information, where the method includes steps 301 and 302 described below.
In the location information sending method provided in the embodiment of the present application, the execution subject may be a location information sending device, or a control module in the location information sending device for executing the location information sending method, or may be an electronic device. The method can be determined according to actual use requirements, and the embodiment of the application is not limited.
Optionally, in this embodiment of the present application, when an execution main body of the location information sending method provided in this embodiment of the present application is an electronic device, the electronic device may include the location information sending apparatus provided in this embodiment of the present application, or plug-in the location information sending apparatus. The method can be determined according to actual use requirements, and the embodiment of the application is not limited.
The following describes an exemplary location information transmitting method provided in an embodiment of the present application, taking a location information transmitting apparatus as an example.
Step 301, the location information sending device obtains the current location of the electronic device when receiving the message of initiating the emergency call request.
Step 302, the location information sending device sends the first location information carried in the target SIP message to the server.
The first location information may be information of a current location of the electronic device.
Optionally, in this embodiment of the present application, the target SIP message may include at least one of the following: update messages, acknowledgement messages, hang up messages.
It should be noted that, in the embodiment of the present application, for the relevant descriptions of the emergency call request initiating message, the first location information, and the target SIP message, reference may be specifically made to the detailed descriptions of the emergency call request initiating message, the first location information, and the target SIP message in the foregoing embodiment, and in order to avoid repetition, details are not described here again.
On one hand, because the information of the current position of the electronic equipment can be obtained under the condition that the electronic equipment receives the message for initiating the emergency call, the obtained information of the current position of the electronic equipment can be more accurate, and the accurate position of the electronic equipment can be reported to a server. On the other hand, the information of the current position of the electronic equipment can be carried in at least one of the update message, the confirmation message and the hang-up message and sent to the server, so that the time for sending the position information in the emergency call process can be increased, and the server can be ensured to acquire the current position of the electronic equipment after the emergency call is finished. Therefore, the server can be ensured to receive accurate information of the current position of the electronic equipment, and the user can be rescued in time.
Optionally, in this embodiment, with reference to fig. 2, as shown in fig. 3, before step 302, the location information sending method provided in this embodiment may further include step 303 described below.
Step 303, the location information sending device sends the second location information carried in the call request message to the server.
Wherein, the call request message is a request message for establishing emergency call connection; the second location information may be information of a current location of the electronic device, or may be cached information of the location of the electronic device.
Optionally, in this embodiment of the application, in a case that the second location information is cached information of a location where the electronic device is located, the step 302 may be specifically implemented by the following step 302a and step 302 b.
Step 302a, the position information transmitting apparatus determines whether the first position information is the same as the second position information.
Step 302b, the location information sending device sends the server, in the case that the first location information is different from the second location information, the first location information is carried in the target SIP message.
It should be noted that, in the embodiment of the present application, for the related description of the second location information, reference may be specifically made to the detailed description of the second location information in the foregoing embodiment, and in order to avoid repetition, details are not described here again.
The position information transmitting apparatus in the embodiment of the present application may be an apparatus, or may be a component, an integrated circuit, or a chip in an electronic device. The device can be mobile electronic equipment or non-mobile electronic equipment. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and the non-mobile electronic device may be a Personal Computer (PC), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not particularly limited.
The position information transmitting apparatus in the embodiment of the present application may be an apparatus having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The position information sending device provided in the embodiment of the present application can implement each process implemented in the above embodiments of the position information sending method, and is not described here again to avoid repetition.
Optionally, as shown in fig. 4, an electronic device 400 is further provided in this embodiment of the present application, and includes a processor 401, a memory 402, and a program or an instruction stored in the memory 402 and executable on the processor 401, where the program or the instruction is executed by the processor 401 to implement each process of the above-mentioned embodiment of the location information sending method, and can achieve the same technical effect, and no further description is provided here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic device and the non-mobile electronic device described above.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to the processor 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system. The electronic device structure shown in fig. 5 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is omitted here.
The processor 110 may be configured to obtain a current location of the electronic device when receiving the message for initiating the emergency call; the radio frequency unit 101 may be configured to carry the first location information in the target SIP message and send the target SIP message to the server, where the first location information is information of a current location of the electronic device.
Optionally, the radio frequency unit 101 is further configured to carry, before the first location information is carried in the target SIP message and sent to the server, second location information in the call request message and sent to the server, where the second location information is information of a current location of the electronic device or cached information of the location of the electronic device.
Optionally, when the second location information is cached information of a location where the electronic device is located, the radio frequency unit 101 is specifically configured to carry the first location information in a target SIP message and send the target SIP message to the server when the first location information is different from the second location information.
Optionally, the target SIP message may include at least one of: update messages, acknowledgement messages, hang up messages.
On one hand, because the information of the current position of the electronic equipment can be obtained under the condition that the electronic equipment receives the message of initiating the emergency call request, the obtained information of the current position of the electronic equipment can be more accurate, and the accurate position of the electronic equipment can be reported to a server. On the other hand, the information of the current position of the electronic equipment can be carried in at least one of the update message, the confirmation message and the hang-up message and sent to the server, so that the time for sending the position information in the emergency call process can be increased, and the server can be ensured to acquire the current position of the electronic equipment after the emergency call is finished. Therefore, the server can be ensured to receive accurate information of the current position of the electronic equipment, and the user can be rescued in time.
It should be understood that, in the embodiment of the present application, the input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein. The memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 110 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the above-mentioned embodiment of the location information sending method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is a processor in the electronic device in the above embodiment. The readable storage medium may include a computer-readable storage medium, such as a computer Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic or optical disk, and so forth.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above embodiment of the location information sending method, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling an electronic device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1.一种位置信息发送装置,其特征在于,所述位置信息发送装置包括:通话模块和定位模块;1. A position information sending device, characterized in that, the position information sending device comprises: a call module and a positioning module; 所述通话模块,用于在电子设备接收到发起紧急呼叫请求消息的情况下,向所述定位模块发送位置获取信息,所述位置获取信息用于请求获取电子设备当前所在位置;The calling module is configured to send location acquisition information to the positioning module when the electronic device receives a request message for initiating an emergency call, where the location acquisition information is used to request to acquire the current location of the electronic device; 所述定位模块,用于根据所述位置获取信息,获取所述电子设备当前所在位置,并向所述通话模块发送第一位置信息,所述第一位置信息为所述电子设备当前所在位置的信息;The positioning module is configured to obtain information according to the position, obtain the current position of the electronic device, and send first position information to the call module, where the first position information is the current position of the electronic device. information; 所述通话模块,还用于将所述第一位置信息携带在目标会话初始协议SIP消息中发送至服务器;The calling module is further configured to carry the first location information in a target session initiation protocol SIP message and send it to the server; 其中,所述目标SIP消息包括以下至少一项:更新消息、确认消息、挂断消息。Wherein, the target SIP message includes at least one of the following: an update message, a confirmation message, and a hang-up message. 2.根据权利要求1所述的装置,其特征在于,所述通话模块,还用于将第二位置信息携带在通话请求消息中发送至所述服务器,所述通话请求消息为请求建立紧急通话连接的请求消息;2 . The device according to claim 1 , wherein the call module is further configured to carry the second location information in a call request message and send it to the server, wherein the call request message is a request for establishing an emergency call. 3 . connection request message; 其中,所述第二位置信息为所述通话模块获取的所述电子设备当前所在位置的信息,或为所述通话模块中缓存的所述电子设备所在位置的信息。Wherein, the second location information is the information of the current location of the electronic device acquired by the call module, or the information of the location of the electronic device cached in the call module. 3.根据权利要求2所述的装置,其特征在于,所述第二位置信息为缓存的所述电子设备所在位置的信息;3. The apparatus according to claim 2, wherein the second location information is the cached information of the location of the electronic device; 所述通话模块,具体用于在所述第一位置信息与所述第二位置信息不同的情况下,将所述第一位置信息携带在目标SIP消息中发送至服务器。The calling module is specifically configured to carry the first location information in a target SIP message and send it to the server when the first location information is different from the second location information. 4.根据权利要求1所述的装置,其特征在于,所述定位模块,具体用于在获取N次所述电子设备所在位置之后,向所述通话模块发送所述第一位置信息,所述第一位置信息为第N次获取的所述电子设备所在位置的信息,N为大于1的整数。4 . The apparatus according to claim 1 , wherein the positioning module is specifically configured to send the first position information to the call module after acquiring the position of the electronic device for N times, and the The first location information is information about the location of the electronic device acquired for the Nth time, and N is an integer greater than 1. 5.根据权利要求1所述的装置,其特征在于,所述定位模块,具体用于在预设时长之后,向所述通话模块发送所述第一位置信息,所述第一位置信息为所述定位模块最近一次获取的所述电子设备所在位置的信息。5 . The device according to claim 1 , wherein the positioning module is specifically configured to send the first position information to the call module after a preset time period, wherein the first position information is the The information about the location of the electronic device acquired by the positioning module most recently. 6.一种位置信息发送方法,其特征在于,所述方法包括:6. A method for sending location information, wherein the method comprises: 在接收到发起紧急呼叫请求消息的情况下,获取电子设备当前所在位置;Obtain the current location of the electronic device in the case of receiving an emergency call request message; 将第一位置信息携带在目标会话初始协议SIP消息中发送至服务器,所述第一位置信息为所述电子设备当前所在位置的信息。The first location information is carried in a target session initiation protocol SIP message and sent to the server, where the first location information is information of the current location of the electronic device. 7.根据权利要求6所述的方法,其特征在于,所述将第一位置信息携带在目标SIP消息中发送至服务器之前,所述方法还包括:7. The method according to claim 6, characterized in that, before the first location information is carried in the target SIP message and sent to the server, the method further comprises: 将第二位置信息携带在通话请求消息中发送至所述服务器,所述通话请求消息为请求建立紧急通话连接的请求消息;carrying the second location information in a call request message and sending it to the server, where the call request message is a request message for requesting to establish an emergency call connection; 其中,所述第二位置信息为所述电子设备当前所在位置的信息,或为缓存的所述电子设备所在位置的信息。Wherein, the second location information is information of the current location of the electronic device, or cached information of the location of the electronic device. 8.根据权利要求7所述的方法,其特征在于,所述第二位置信息为缓存的所述电子设备所在位置的信息;8. The method according to claim 7, wherein the second location information is cached information of the location of the electronic device; 所述将第一位置信息携带在目标SIP消息中发送至服务器,包括:The carrying the first location information in the target SIP message and sending it to the server includes: 在所述第一位置信息与所述第二位置信息不同的情况下,将所述第一位置信息携带在目标SIP消息中发送至服务器。When the first location information is different from the second location information, the first location information is carried in a target SIP message and sent to the server. 9.根据权利要求6至8中任一项所述的方法,其特征在于,所述目标SIP消息包括以下至少一项:更新消息、确认消息、挂断消息。9. The method according to any one of claims 6 to 8, wherein the target SIP message comprises at least one of the following: an update message, a confirmation message, and a hang up message. 10.一种电子设备,其特征在于,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或所述指令被所述处理器执行时实现如权利要求6-9任一项所述的位置信息发送方法的步骤。10. An electronic device, characterized by comprising a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or the instruction being executed by the processor When implementing the steps of the method for sending location information according to any one of claims 6-9.
CN202011181397.0A 2020-10-29 2020-10-29 Position information transmitting apparatus and method Active CN112312324B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011181397.0A CN112312324B (en) 2020-10-29 2020-10-29 Position information transmitting apparatus and method
PCT/CN2021/126696 WO2022089484A1 (en) 2020-10-29 2021-10-27 Location information sending apparatus and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011181397.0A CN112312324B (en) 2020-10-29 2020-10-29 Position information transmitting apparatus and method

Publications (2)

Publication Number Publication Date
CN112312324A true CN112312324A (en) 2021-02-02
CN112312324B CN112312324B (en) 2023-09-19

Family

ID=74331649

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011181397.0A Active CN112312324B (en) 2020-10-29 2020-10-29 Position information transmitting apparatus and method

Country Status (2)

Country Link
CN (1) CN112312324B (en)
WO (1) WO2022089484A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113163371A (en) * 2021-03-18 2021-07-23 维沃移动通信有限公司 Calling method and device and electronic equipment
WO2022089484A1 (en) * 2020-10-29 2022-05-05 维沃移动通信有限公司 Location information sending apparatus and method
CN115499773A (en) * 2021-06-18 2022-12-20 中移(上海)信息通信科技有限公司 A positioning method, device and electronic equipment
CN117119381A (en) * 2023-02-23 2023-11-24 荣耀终端有限公司 Position information reporting method, electronic equipment and storage medium
WO2025130232A1 (en) * 2023-12-20 2025-06-26 锐凌无线有限责任公司 Location acquisition method, apparatus, and system, electronic device, and readable medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100825757B1 (en) * 2006-12-05 2008-04-29 한국전자통신연구원 Emergency call processing system and emergency call processing method for SIP-based internet phone
US20080261557A1 (en) * 2005-10-07 2008-10-23 Dong Hi Sim Method and System for Providing an Emergency Location Service
CN101621736A (en) * 2008-07-01 2010-01-06 华为技术有限公司 Method, client and server for acquiring service information
CN102131170A (en) * 2010-01-18 2011-07-20 华为技术有限公司 Mobile terminal positioning method, system and device
CN102511172A (en) * 2011-12-05 2012-06-20 华为技术有限公司 Method and device for urgently calling and transmitting user location information to CS network in IMS network
CN202615570U (en) * 2012-05-08 2012-12-19 中国交通信息中心有限公司 Positioning and transmitting device for personnel falling overboard
CN202614944U (en) * 2012-05-08 2012-12-19 中国交通信息中心有限公司 Rescue device for personnel falling overboard
CN105338482A (en) * 2014-07-29 2016-02-17 小米科技有限责任公司 Method and device for emergency call
CN107103724A (en) * 2017-05-18 2017-08-29 深圳小辣椒智能生态技术有限责任公司 Urgency signal sending method, urgency signal method of reseptance, rescue system
CN107943047A (en) * 2017-12-09 2018-04-20 珠海横琴万智联科技有限公司 A kind of management method and system of intelligence chair
CN109348057A (en) * 2018-10-25 2019-02-15 维沃移动通信有限公司 A calling method and mobile terminal
CN110691102A (en) * 2019-10-29 2020-01-14 维沃移动通信有限公司 Information sharing method, electronic equipment and server
CN111050284A (en) * 2019-12-13 2020-04-21 紫光展讯通信(惠州)有限公司 Position saving and obtaining method and device based on emergency call

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8594015B2 (en) * 2009-07-29 2013-11-26 T-Mobile Usa, Inc. System and method for providing emergency service in an IP-based wireless network
CN102036204B (en) * 2009-09-24 2015-06-03 中兴通讯股份有限公司 Method and system for realizing emergency location
CN112312324B (en) * 2020-10-29 2023-09-19 维沃移动通信有限公司 Position information transmitting apparatus and method

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080261557A1 (en) * 2005-10-07 2008-10-23 Dong Hi Sim Method and System for Providing an Emergency Location Service
KR100825757B1 (en) * 2006-12-05 2008-04-29 한국전자통신연구원 Emergency call processing system and emergency call processing method for SIP-based internet phone
CN101621736A (en) * 2008-07-01 2010-01-06 华为技术有限公司 Method, client and server for acquiring service information
CN102131170A (en) * 2010-01-18 2011-07-20 华为技术有限公司 Mobile terminal positioning method, system and device
CN102511172A (en) * 2011-12-05 2012-06-20 华为技术有限公司 Method and device for urgently calling and transmitting user location information to CS network in IMS network
CN202614944U (en) * 2012-05-08 2012-12-19 中国交通信息中心有限公司 Rescue device for personnel falling overboard
CN202615570U (en) * 2012-05-08 2012-12-19 中国交通信息中心有限公司 Positioning and transmitting device for personnel falling overboard
CN105338482A (en) * 2014-07-29 2016-02-17 小米科技有限责任公司 Method and device for emergency call
CN107103724A (en) * 2017-05-18 2017-08-29 深圳小辣椒智能生态技术有限责任公司 Urgency signal sending method, urgency signal method of reseptance, rescue system
CN107943047A (en) * 2017-12-09 2018-04-20 珠海横琴万智联科技有限公司 A kind of management method and system of intelligence chair
CN109348057A (en) * 2018-10-25 2019-02-15 维沃移动通信有限公司 A calling method and mobile terminal
CN110691102A (en) * 2019-10-29 2020-01-14 维沃移动通信有限公司 Information sharing method, electronic equipment and server
CN111050284A (en) * 2019-12-13 2020-04-21 紫光展讯通信(惠州)有限公司 Position saving and obtaining method and device based on emergency call

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022089484A1 (en) * 2020-10-29 2022-05-05 维沃移动通信有限公司 Location information sending apparatus and method
CN113163371A (en) * 2021-03-18 2021-07-23 维沃移动通信有限公司 Calling method and device and electronic equipment
CN115499773A (en) * 2021-06-18 2022-12-20 中移(上海)信息通信科技有限公司 A positioning method, device and electronic equipment
CN117119381A (en) * 2023-02-23 2023-11-24 荣耀终端有限公司 Position information reporting method, electronic equipment and storage medium
WO2025130232A1 (en) * 2023-12-20 2025-06-26 锐凌无线有限责任公司 Location acquisition method, apparatus, and system, electronic device, and readable medium

Also Published As

Publication number Publication date
CN112312324B (en) 2023-09-19
WO2022089484A1 (en) 2022-05-05

Similar Documents

Publication Publication Date Title
CN112312324A (en) Location information sending device and method
JP6101861B2 (en) Group creation method, group withdrawal method, apparatus, program, and recording medium
CN112887927B (en) Voice fallback method and device and user equipment
US9485358B2 (en) Information acquisition method, device, and system
CN107222391A (en) Group's based reminding method, device and equipment
US20240292492A1 (en) Emergency call method and apparatus, mobile terminal, and network side device
CN111338971B (en) Application testing method and device, electronic equipment and storage medium
US10079787B2 (en) Method and apparatus for creating group and exiting group
CN115242456B (en) User license management system, method, device, electronic equipment and storage medium
EP4178257A1 (en) Call origination anomaly handling method and apparatus
US11483263B2 (en) Method and terminal for facilitating chat between users of two terminals
CN105120117A (en) Call interaction method and device
EP3624514A1 (en) Method and device for receiving and sending system message, and user equipment and base station
US20170187872A1 (en) System and method for device availability signaling
CN113766630B (en) IMS network registration method, device and electronic device
CN106506808A (en) The method and device pointed out by communication message
US20190037169A1 (en) Video call method, apparatus and system
CN114286425B (en) A long connection establishment system, method, device, electronic device and storage medium
CN115297565B (en) Contention random access method and device
CN105204836B (en) Information processing method and electronic equipment
CN113285814A (en) Path generation method and device for online conference and electronic equipment
CN113163509A (en) Call establishment method and device, electronic equipment and readable storage medium
CN114287141A (en) Mode indication method and device, random access method and device
CN112996138A (en) Communication establishing method, device and storage medium
CN112883314A (en) Request processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant