WO2020215592A1 - 一种定位传送方法、装置、终端及存储介质 - Google Patents

一种定位传送方法、装置、终端及存储介质 Download PDF

Info

Publication number
WO2020215592A1
WO2020215592A1 PCT/CN2019/105274 CN2019105274W WO2020215592A1 WO 2020215592 A1 WO2020215592 A1 WO 2020215592A1 CN 2019105274 W CN2019105274 W CN 2019105274W WO 2020215592 A1 WO2020215592 A1 WO 2020215592A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
positioning information
information
distance
preset
Prior art date
Application number
PCT/CN2019/105274
Other languages
English (en)
French (fr)
Inventor
叶争清
Original Assignee
深圳传音控股股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳传音控股股份有限公司 filed Critical 深圳传音控股股份有限公司
Publication of WO2020215592A1 publication Critical patent/WO2020215592A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/18Status alarms
    • G08B21/24Reminder alarms, e.g. anti-loss alarms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/30Security of mobile devices; Security of mobile applications
    • H04W12/37Managing security policies for mobile devices or for controlling mobile applications
    • 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/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • 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
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • the present invention relates to the field of electronic technology, and in particular to a positioning transmission method, device, terminal and storage medium.
  • terminals mobile phones, tablet computers, smart watches, etc.
  • terminals have become one of the indispensable tools in people's lives.
  • most user terminals can obtain their own positioning data through the GPS (Global Positioning System) function, and can apply the positioning data to the SOS alarm technology.
  • GPS Global Positioning System
  • the existing SOS alarm technology mainly uses the terminal to actively send a GPS latitude and longitude information to the target number. However, if the user is too young to understand or is inconvenient to initiate an SOS alarm, the search and rescue time will be delayed.
  • the technical problem to be solved by the embodiments of the present invention is to provide a positioning transmission method, which can realize automatic transmission of positioning information and improve search and rescue efficiency.
  • the first aspect of the embodiments of the present invention discloses a positioning transmission method, the method includes: a first terminal obtains access rights for a second terminal; and the first terminal sends to the second terminal Positioning information acquisition request instruction, and receiving positioning information returned by the second terminal; the first terminal analyzes the positioning information to obtain an analysis result; the first terminal outputs a corresponding warning prompt according to the analysis result information.
  • the second aspect of the embodiments of the present invention discloses a positioning transmission device, which includes an acquisition module, a transceiver module, an analysis module, and an output module.
  • the obtaining module is used to obtain the access authority for the second terminal.
  • the transceiver module is configured to send a positioning information acquisition request instruction to the second terminal, and receive positioning information returned by the second terminal.
  • the analysis module is used to analyze the positioning information to obtain an analysis result.
  • the output module is used for outputting corresponding warning prompt information according to the analysis result.
  • the third aspect of the embodiments of the present invention discloses a terminal, including: an input device, an output device, a memory, and a processor.
  • the input device, output device, memory, and processor are connected to a bus, and the memory stores a Group program code, the processor is used to call the program code stored in the memory to perform the following operations: the terminal obtains access rights for the second terminal; the terminal sends a positioning information acquisition request instruction to the second terminal, and Receiving the positioning information returned by the second terminal; the terminal analyzes the positioning information to obtain an analysis result; the terminal outputs corresponding warning prompt information according to the analysis result.
  • a computer-readable storage medium stores a computer program.
  • the computer program includes program instructions that, when executed by a processor, cause the The processor executes the positioning transmission method.
  • the access authority for the second terminal is acquired through the first terminal, and the first terminal sends a positioning information acquisition request instruction to the second terminal, and receives the positioning information returned by the second terminal; Analyze the positioning information to obtain the analysis result, and output corresponding early warning information according to the analysis result.
  • the first terminal can monitor the geographic location of the second terminal in real time, and the user of the second terminal can be discovered in time when encountering danger, which realizes automatic transmission of positioning information and improves search and rescue efficiency.
  • FIG. 1 is a schematic flowchart of a positioning transmission method according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of another positioning transmission method according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a positioning and transmitting device provided by an embodiment of the present invention.
  • FIG. 4 is a schematic structural diagram of a terminal provided by an embodiment of the present invention.
  • A, B or C or "A, B and/or C” means "any of the following: A; B; C; A and B; A and C; B and C; A, B and C” .
  • An exception to this definition will only occur when the combination of elements, functions, steps or operations is inherently mutually exclusive in some way.
  • the location transmission method provided by the embodiment of the present invention is implemented in a terminal, and the terminal includes electronic devices such as a smart phone, a tablet computer, a digital audio and video player, an electronic reader, a handheld game console, and a smart watch.
  • electronic devices such as a smart phone, a tablet computer, a digital audio and video player, an electronic reader, a handheld game console, and a smart watch.
  • FIG. 1 is a schematic flowchart of a positioning transmission method according to an embodiment of the present invention.
  • the method may include:
  • the first terminal obtains access authority for the second terminal.
  • the access authority may be the authority to obtain geographic location information, the authority to turn on the camera, the authority to turn on the microphone, the authority to establish a communication connection, etc., which can be specifically set by the user of the first terminal and the user of the second terminal through negotiation.
  • one first terminal can obtain access rights of multiple second terminals, and one second terminal can grant access rights to multiple first terminals.
  • the specific way for the first terminal to obtain the access authority for the second terminal may be as follows: the first terminal signs a binding agreement with the second terminal in advance, wherein the binding agreement stipulates that the first terminal can obtain the access rights for the second terminal. 2.
  • the access permission category may include the permission to obtain geographic location information, the permission to turn on the camera, the permission to turn on the microphone, and the permission to establish communication connections.
  • the binding protocol may also include verification information, such as a password preset by the user of the second terminal, a face image that can be accessed preset by the user of the second terminal, and so on.
  • the first terminal and the second terminal are both mobile phones, the user of the first terminal is a parent, and the user of the second terminal is a child.
  • the parent can sign the corresponding binding agreement in the first terminal and the second terminal in advance to grant
  • the first terminal has access rights to the second terminal, and can use the parent’s face image as the access password.
  • the first terminal verifies the face image. If the verification is passed, the first terminal can obtain the access right to the second terminal.
  • the first terminal sends a positioning information acquisition request instruction to the second terminal, and receives the positioning information returned by the second terminal.
  • the first terminal after the first terminal obtains the access authority of the second terminal, it can send a positioning information acquisition request instruction to the second terminal.
  • the second terminal After receiving the request instruction sent by the first terminal, the second terminal can open its own carrying Positioning program (such as GPS) to obtain its own positioning information, and transmit the obtained positioning information to the first terminal, where the positioning information can be its own longitude and latitude data, map images, etc., the first terminal and the second terminal
  • Positioning program such as GPS
  • the positioning information can be its own longitude and latitude data, map images, etc.
  • the manner of data transmission between them may be network transmission, short message transmission, wireless technology transmission, etc., which is not limited in the embodiment of the present invention.
  • the positioning information acquisition request instruction sent by the first terminal to the second terminal is an instruction for acquiring current positioning information of the second terminal.
  • the second terminal After receiving the request instruction, the second terminal will directly return its current positioning information, and the first terminal will receive the positioning information returned by the second terminal.
  • the positioning information acquisition request instruction sent by the first terminal to the second terminal is an instruction to acquire positioning information at regular intervals.
  • the request instruction includes a preset frequency, and the second terminal needs to send the first terminal to the first terminal according to the preset frequency.
  • the terminal returns its own positioning information, where the preset frequency may be once every minute, once every 10 minutes, or once every 1 hour, etc., which can be preset by the user of the first terminal when sending the positioning information request instruction.
  • the user of the first terminal presets the preset frequency as once every 10 minutes, and adds the preset frequency to the positioning information acquisition request instruction, and the first terminal sends the positioning information acquisition request instruction to the second terminal
  • the second terminal can immediately return its current positioning information to the first terminal, and return its real-time positioning information to the first terminal every 10 minutes, and the first terminal can receive the positioning information returned by the second terminal.
  • the first terminal analyzes the positioning information to obtain an analysis result.
  • the first terminal saves the positioning information, and the user of the first terminal can check the received geographic position information at any time, specifically,
  • the method may be: inputting the latitude and longitude data in the received positioning information in the map software, and the first terminal can query the location of the second terminal in an image format. Further, if the user of the first terminal does not query the geographic location information in time, the first terminal will analyze the positioning information of the second terminal to obtain the analysis result.
  • the specific manner for the first terminal to analyze the positioning information of the second terminal may be that the first terminal obtains the distance between the positioning information and the target positioning information, where the target positioning information is the distance between the positioning information and the target positioning information.
  • the first terminal calculates the distance between the positioning information and the target positioning information and the distance difference between the preset distance.
  • the preset location can be home, school, company, etc.
  • the location information of the preset location can be stored in the first terminal in advance
  • the preset location can be one or more
  • the preset distance can be 5 meters, 10 meters, 20 meters, etc.
  • the preset location and preset distance can be preset by the user of the first terminal before sending the positioning information acquisition request instruction.
  • the positioning information may be latitude and longitude data
  • the first terminal obtains the latitude and longitude of the second terminal.
  • the latitude and longitude data of the second terminal and the latitude and longitude data of the preset location will be calculated to obtain the distance between the positioning information of the second terminal and the positioning information of the preset location, and the calculated distance and the preset distance
  • the analysis is performed to obtain an analysis result, and the analysis result may be the distance between the location of the second terminal and the preset location and the distance difference between the preset distance.
  • the specific method for the first terminal to analyze the positioning information of the second terminal may be that the first terminal obtains its own positioning information as target positioning information, and obtains the positioning information and target positioning information of the second terminal The distance between the latitude and longitude data in the positioning information of the second terminal and the latitude and longitude data in the target positioning information is calculated. The first terminal obtains the distance between the positioning information of the second terminal and the target positioning information. After the distance, the distance between the positioning information and the target positioning information and the distance difference between the preset distance can be calculated, and the analysis result obtained by the first terminal analyzing the positioning information of the second terminal corresponds to the distance difference.
  • the first terminal outputs corresponding warning prompt information according to the analysis result.
  • the first terminal after the first terminal analyzes the positioning information of the second terminal and obtains the analysis result, it will output corresponding warning prompt information according to the analysis result.
  • the analysis result may be the distance between the positioning information and the target positioning information and the distance difference between the preset distance
  • the target positioning information may be the positioning information of the preset location, or the positioning information of the first terminal, or the warning prompt information
  • the distance difference may be displayed, accompanied by ringing, vibration and other prompt information to prompt the user of the first terminal to check the geographic location of the user of the second terminal.
  • the first terminal may determine the target early warning prompt information corresponding to the distance difference according to the corresponding relationship between the preset difference value and the early warning prompt information, and output the target early warning prompt information.
  • the first terminal after the first terminal analyzes and obtains the distance difference, it will detect whether the distance difference is greater than the first preset distance difference. If the analyzed distance difference is greater than the first preset distance difference, then The first terminal outputs first-level early warning prompt information.
  • the first-level early warning prompt information can be displayed on the terminal and ring for 1 second.
  • the first distance difference can be 10 meters, 20 meters, etc., if the analysis is obtained If the distance difference is between the first preset difference and the second preset difference, the first terminal may output the second-level early warning prompt information, where the second-level early-warning prompt information may be the distance difference displayed on the terminal , And vibrate for 3 seconds, the second distance difference can be 100 meters, 1000 meters, etc.
  • the first terminal can output a three-level early warning message, where the three-level warning message can be displayed on the terminal with a ringing and Vibrate for 10s.
  • the first preset distance difference is smaller than the second preset distance difference
  • the first and second preset distance differences can be preset by the user of the first terminal
  • the first-level early warning prompt information the second-level early warning prompt
  • the specific form of the information and the three-level warning prompt information may also be preset by the user of the first terminal.
  • the first terminal may also send an information acquisition request instruction to the second terminal, where the information includes image information and/or voice information, and the second terminal receives the information acquisition request instruction
  • the camera and/or microphone will be turned on, the image information and/or voice information of the location of the second terminal will be acquired, and the acquired image information and/or voice information will be sent to the first terminal.
  • the user of the first terminal can be a parent
  • the user of the second terminal can be a child
  • the first terminal can be a mobile phone
  • the second terminal can be a smart watch carried by the child.
  • the watch has a pre-established binding relationship.
  • the parent takes the child to play in the park, if the distance between the watch and the phone exceeds the preset distance (such as 5 meters), the parent’s phone will output a prompt message to prompt the parent to inquire The position of the child prevents the child from getting lost.
  • parents can not pay attention to the child all the time, and identify potential dangers through the analysis of the distance by the mobile phone.
  • the access authority for the second terminal is acquired through the first terminal, and the first terminal sends a positioning information acquisition request instruction to the second terminal, and receives the positioning information returned by the second terminal; Analyze the positioning information to obtain the analysis result, and output corresponding early warning information according to the analysis result.
  • the first terminal can monitor the geographic location of the second terminal in real time, and the user of the second terminal can be discovered in time when encountering danger, which realizes automatic transmission of positioning information and improves search and rescue efficiency.
  • FIG. 2 is a schematic flowchart of another positioning transmission method according to an embodiment of the present invention.
  • the method may include:
  • the first terminal obtains an access permission for the second terminal.
  • the method for the first terminal to obtain the access authority for the second terminal may specifically be that the first terminal and the second terminal sign a binding agreement, so that the first terminal and the second terminal are bound, Thus, the first terminal obtains the access authority for the second terminal.
  • the method for the first terminal to obtain the access authority for the second terminal may also be: the first terminal sends an access authority acquisition instruction to the second terminal, and after receiving the permission of the second terminal, the first terminal Then the access authority for the second terminal can be obtained.
  • the second terminal before permitting the permission acquisition request of the first terminal, the second terminal also needs to receive the verification information input by the user of the second terminal. Only when the verification information input by the user matches the preset verification information can the second terminal be permitted.
  • One terminal obtains the access authority of the second terminal.
  • the verification information may be a digital password, a fingerprint, a face image, an iris, etc., which is not limited in the embodiment of the present invention.
  • the first terminal sends a positioning information acquisition request instruction to the second terminal, and receives the positioning information returned by the second terminal.
  • the first terminal after the first terminal obtains the access authority of the second terminal, it will send a positioning information acquisition request instruction to the second terminal and receive the positioning information returned by the second terminal.
  • the second terminal after receiving the positioning information acquisition instruction sent by the first terminal, the second terminal can immediately return its own positioning information or return positioning information to the first terminal at regular intervals according to the frequency set by the first terminal, specifically as follows: The step S102 is described.
  • the second terminal after the second terminal receives the positioning information acquisition request instruction sent by the first terminal, it can also detect its own state in real time, and when the abnormal state of the positioning information is detected, it sends its own positioning information to the first terminal .
  • the specific confirmation method of the abnormal state may be as follows: when the second terminal detects that the moving distance of itself within the preset time period is greater than the preset distance, it determines that the state is abnormal, and returns its current location information to the first terminal, where:
  • the preset duration can be 1 hour, 2 hours, etc., and the preset distance can be 5 kilometers, 10 kilometers, etc., which can be preset by the user of the second terminal.
  • the way of confirming the abnormal state may also be that when the second terminal detects that the distance of its positioning information from the preset location is greater than the preset distance, it sends the current positioning information to the first terminal.
  • the preset location may be a home, a school, etc., which is preset by the second terminal.
  • the second terminal when the second terminal detects that its own positioning information appears in an unfamiliar place, it sends the current positioning information of the first terminal itself. Or, when the second terminal detects that the duration of its appearance in the dangerous place exceeds the target preset duration, the second terminal sends its current positioning information to the first terminal.
  • the target preset duration may be 1 hour, 2 hours, etc.
  • the dangerous location may be an Internet cafe, a dance hall, a bar, etc.
  • the target preset duration and dangerous location may be preset by the user of the second terminal.
  • the first terminal will receive the positioning information sent by the second terminal, and execute step S203.
  • the first terminal obtains the distance between the positioning information and the target positioning information, where the target positioning information is positioning information of a preset location.
  • the first terminal after receiving the positioning information sent by the second terminal, can obtain the distance between the positioning information and the target positioning information, where the target positioning information is the positioning information of the preset location, and the preset location may
  • the home, school, company, the location where the first terminal is located, etc. can be specifically set by the user of the first terminal in advance.
  • the first terminal obtains the distance between the positioning information of the second terminal and the target positioning information by analyzing the latitude and longitude data of the second terminal and the latitude and longitude data of the preset location.
  • the first terminal calculates the distance between the positioning information and the target positioning information and the distance difference between the preset distance.
  • the first terminal after the first terminal obtains the distance value between the positioning information of the second terminal and the target positioning information, it will calculate the distance between the positioning information of the second terminal and the target positioning information and the preset distance The distance difference.
  • different preset distances can be set for the target positioning information of different preset locations.
  • the corresponding relationship between the preset location and the preset distance can be as shown in Table 1:
  • Table 1 is an example of the correspondence between a preset location and a preset distance. From Table 1, it can be seen that different preset locations can correspond to different preset distances.
  • the first terminal obtains the distance between the positioning information of the second terminal and the target positioning information of the preset location, and calculates the distance difference between the distance and the preset distance, optionally, such as the difference between the positioning information and the target positioning information If the distance difference between the distance and the preset distance is negative, the distance difference is determined to be 0.
  • S205 The first terminal outputs early warning information corresponding to the distance difference.
  • the first terminal after the first terminal calculates the distance between the positioning information of the second terminal and the target positioning information and the distance difference between the preset distance, it will calculate the distance between the preset distance difference and the warning prompt information.
  • the corresponding relationship determines the corresponding early warning prompt information. Specifically, the first terminal determines the target early warning prompt information corresponding to the distance difference according to the corresponding relationship between the preset difference and the early warning prompt information, and outputs the target early warning prompt information.
  • the first terminal if the distance difference calculated by the first terminal is greater than the first preset distance difference, the first terminal outputs first-level early warning prompt information, where the first-level early warning prompt information may be displayed on the terminal
  • the distance difference, and the bell rings for 1 second, the first distance difference can be 10 meters, 20 meters, etc.
  • the first terminal may output second-level early warning prompt information, where the second-level early warning prompt information may be displayed on the terminal with a distance difference and vibrated for 3 seconds, and the second distance difference may be 100 meters, 1000 meters, etc.
  • the first terminal can output a three-level early warning message, where the three-level early warning message may be displayed on the terminal with a ringing and Vibrate for 10s.
  • the first preset distance difference is smaller than the second preset distance difference
  • the first and second preset distance differences can be preset by the user of the first terminal, the first-level early warning prompt information, the second-level early warning prompt
  • the specific form of the information and the three-level warning prompt information may also be preset by the user of the first terminal.
  • the first terminal determines the warning prompt information corresponding to the distance difference, it can immediately output the warning prompt information to prompt the user of the first terminal to check the location of the second terminal.
  • the first terminal calculates the distance between the positioning information of the second terminal and the target positioning information and the distance difference between the preset distance, it will determine the difference range to which the distance difference belongs.
  • the early warning prompt information corresponding to the difference range to which the distance difference belongs is determined as the early warning prompt information corresponding to the distance difference, where the correspondence between the difference range and the early warning prompt information can be shown in Table 2.
  • Table 2 is an example of the corresponding relationship between the difference range and the early warning prompt information, where the difference range and the specific expression form of the different early warning prompt information can be preset by the user of the first terminal.
  • the preset location can be divided into a safe location and a dangerous location.
  • the first terminal detects that the distance between the second terminal and the safe place is greater than the preset distance threshold, the first terminal needs to output an early warning message.
  • the first terminal detects that the distance between the second terminal and the dangerous place is less than the preset distance threshold , The first terminal outputs warning prompt information.
  • safe locations can be homes, schools, companies, locations where the first terminal is located, etc.
  • dangerous locations can be Internet cafes, KTVs, bars, etc.
  • the preset distance threshold can be 10 meters, 20 meters, etc., which can be specified by the first user The terminal is preset.
  • the first terminal after the first terminal detects that the distance between the second terminal and the safe place is greater than the preset distance threshold, it can adjust the frequency of sending the positioning information acquisition request instruction to the second terminal, for example, modify the frequency To send a positioning information acquisition instruction every 5 minutes, when the first terminal detects for the first time that the distance between the second terminal and the safe place is greater than the preset distance threshold, the first-level warning message is output, and when the first terminal detects the second time When the distance to the second terminal and the safe place is greater than the preset distance threshold, output a second-level warning prompt message. When the first terminal detects for the third time that the distance between the second terminal and the safe place is greater than the preset distance threshold, output a three-level Warning message.
  • the user can use the first terminal to check the specific location of the second terminal. If the first terminal detects that the user has checked the location of the second terminal, the first terminal can automatically adjust the output prompt information. Level, for example, if the user of the first terminal checks the location of the second terminal after the first terminal outputs the third-level warning prompt information, the next-output early warning prompt information is the first-level early warning prompt information. Alternatively, the first terminal may receive a shutdown instruction input by the user, and then turn off the early warning function.
  • the frequency of sending the positioning information acquisition request instruction to the second terminal may be adjusted, for example, the frequency is modified to every Send a positioning information acquisition instruction once every 5 minutes.
  • the first-level warning message is output, and when the first terminal detects the fifth time
  • output a second-level warning message when the first terminal detects that the distance between the second terminal and the dangerous place is less than the preset distance threshold for the eighth time, output a three-level warning message information.
  • the user also uses the first terminal to check the specific location of the second terminal. If the first terminal detects that the user has checked the location of the second terminal, it can adjust the level of output prompt information, for example, If the user of the first terminal checks the location of the second terminal after the first terminal outputs the third-level warning prompt information, the next-output early warning prompt information is the first-level early warning prompt information. Alternatively, the first terminal may receive a shutdown instruction input by the user, and then turn off the early warning function.
  • the specific display form of the preset distance threshold and the warning prompt information of different levels may be preset by the user of the first terminal, and the preset distance threshold for a safe place may be different from the preset distance threshold for a dangerous place.
  • the first terminal obtains the access authority for the second terminal, obtains the distance between the positioning information and the target positioning information, the target positioning information is the positioning information of the preset location, and obtains the difference between the positioning information and the target positioning information.
  • the target positioning information is the positioning information of the preset location, the distance between the positioning information and the target positioning information and the distance difference between the preset distance are calculated, and the first terminal outputs the warning prompt information corresponding to the distance difference.
  • the second terminal is too far away from a safe place or too close to a dangerous place, it outputs different levels of warning prompt information.
  • the first terminal can monitor the location of the second terminal in real time, so that the user of the second terminal can be discovered by the first user in time when encountering danger, which realizes the automatic transmission of positioning information and improves Search and rescue efficiency.
  • the positioning transmission device provided by the embodiment of the present invention will be described in detail below with reference to FIG. 3. It should be noted that, it should be noted that the positioning transmission device shown in FIG. 3 is used to execute the method of the embodiment shown in FIG. 1 to FIG. 2 of the present invention. For ease of description, only the embodiment of the present invention is shown For the relevant parts, which are not disclosed in specific technical details, refer to the embodiments shown in FIGS. 1 to 2 of the present invention.
  • the positioning transmission device 30 may include: an acquisition module 301, a transceiver module 302, an analysis module 303, and an output module 304.
  • the obtaining module 301 is used to obtain the access authority for the second terminal;
  • the transceiver module 302 is configured to send a positioning information acquisition request instruction to the second terminal, and receive the positioning information returned by the second terminal;
  • the analysis module 303 is configured to analyze the positioning information to obtain an analysis result
  • the output module 304 is configured to output corresponding warning prompt information according to the analysis result.
  • the analysis module 303 is specifically configured to:
  • the target positioning information is positioning information of a preset location
  • the analysis module 303 is specifically configured to:
  • the output module 304 is specifically configured to:
  • the first terminal determines the target early warning prompt information corresponding to the distance difference according to the correspondence between the preset difference value and the early warning prompt information;
  • the first terminal outputs the target warning prompt information.
  • the transceiver module 302 is further configured to:
  • the first terminal receives the information returned by the second terminal.
  • the acquisition module 301 is also used to:
  • the binding agreement includes the category of access rights for the second terminal obtained by the first terminal.
  • the categories of access rights include geographic location information acquisition permission, camera opening permission, and microphone opening At least one of authority and authority to establish a communication connection.
  • the positioning information acquisition request instruction includes a preset frequency
  • the transceiver module 302 is further configured to:
  • the acquisition module 301 acquires the access authority for the second terminal; the transceiver module 302 sends a positioning information acquisition request instruction to the second terminal and receives the positioning information returned by the second terminal; the analysis module 303 The positioning information is analyzed to obtain an analysis result; the output module 304 outputs corresponding warning prompt information according to the analysis result.
  • the first terminal can monitor the geographic location of the second terminal in real time, and the user of the second terminal can be discovered in time when encountering danger, realizing automatic transmission of positioning information, and improving search and rescue efficiency.
  • the terminal includes: at least one processor 401, an input device 403, an output device 404, a memory 405, and at least one communication bus 402.
  • the communication bus 402 is used to implement connection and communication between these components.
  • the input device 403 may be a control panel or a microphone
  • the output device 404 may be a display screen or the like.
  • the memory 405 may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as at least one disk memory.
  • the memory 405 may also be at least one storage device located far away from the foregoing processor 401.
  • the processor 401 may be combined with the device described in FIG. 3, the memory 405 stores a set of program codes, and the processor 401, the input device 403, and the output device 404 call the program codes stored in the memory 405 to perform the following operations:
  • the input device 403 is used to obtain the access authority for the second terminal
  • the output device 404 is configured to send a positioning information acquisition request instruction to the second terminal;
  • the input device 403 is configured to receive the positioning information returned by the second terminal;
  • the processor 401 is configured to analyze the positioning information to obtain an analysis result
  • the processor 401 is configured to output corresponding early warning prompt information according to the analysis result.
  • the processor 401 is specifically configured to:
  • the target positioning information is positioning information of a preset location.
  • the processor 401 is specifically configured to:
  • the processor 401 is specifically configured to:
  • the output device 404 is used to output the target warning prompt information.
  • the processor 401 is specifically configured to:
  • the output device 404 is configured to send an information acquisition request instruction to the second terminal, where the information includes image information and/or voice information;
  • the input device 403 is used to receive the information returned by the second terminal.
  • the first terminal and the second terminal sign a binding agreement
  • the binding agreement includes a category of access rights for the second terminal obtained by the first terminal
  • the category of access rights includes geographic location At least one of the permission to obtain information, the permission to turn on the camera, the permission to turn on the microphone, and the permission to establish a communication connection.
  • the positioning information acquisition request instruction includes a preset frequency
  • the input device 403 is specifically configured to receive positioning information returned by the second terminal according to the preset frequency.
  • the processor 401 acquires the access authority for the second terminal; the output device 404 sends a positioning information acquisition request instruction to the second terminal; the input device 403 receives the positioning information returned by the second terminal; the processor 401 analyzes the positioning information to obtain an analysis result; the processor 401 outputs corresponding warning prompt information according to the analysis result.
  • the first terminal can monitor the geographic location of the second terminal in real time, and the user of the second terminal can be discovered in time when encountering danger, realizing automatic transmission of positioning information, and improving search and rescue efficiency.
  • the module in the embodiment of the present invention may be implemented by a general integrated circuit, such as a CPU (Central Processing Unit, central processing unit), or an ASIC (Application Specific Integrated Circuit, application specific integrated circuit).
  • a general integrated circuit such as a CPU (Central Processing Unit, central processing unit), or an ASIC (Application Specific Integrated Circuit, application specific integrated circuit).
  • the so-called processor 401 may be a central processing unit (CPU), and the processor may also be other general-purpose processors or digital signal processors (DSP). , Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like.
  • the bus 402 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc.
  • ISA Industry Standard Architecture
  • PCI Peripheral Component
  • EISA Extended Industry Standard Architecture
  • the bus 402 can be divided into The address bus, data bus, control bus, etc., for ease of presentation, FIG. 4 is only represented by a thick line, but it does not mean that there is only one bus or one type of bus.
  • the program can be stored in a computer-readable storage medium. At this time, it may include the procedures of the above-mentioned method embodiments.
  • the computer-readable storage medium may be a magnetic disk, an optical disc, a read-only memory (Read-Only Memory, ROM), or a random access memory (Random Access Memory, RAM), etc.
  • the access authority for the second terminal is acquired through the first terminal, and the first terminal sends a positioning information acquisition request instruction to the second terminal, and receives the positioning information returned by the second terminal; Analyze the positioning information to obtain the analysis result, and output corresponding early warning information according to the analysis result.
  • the first terminal can monitor the geographic location of the second terminal in real time, and the user of the second terminal can be discovered in time when encountering danger, which realizes automatic transmission of positioning information and improves search and rescue efficiency.

Abstract

本发明实施例公开了一种定位传送方法和终端,其中方法包括,第一终端获取针对第二终端的访问权限;第一终端向第二终端发送定位信息获取请求指令,并接收第二终端返回的定位信息;第一终端对第二终端返回的定位信息进行分析,得到分析结果;第一终端根据分析结果输出相应的预警提示信息。通过上述方法,可以使得第一终端实时对第二终端的地理位置进行监测,在第二终端的用户遇到危险时可以及时被发现,实现了定位信息的自动传输,提升了搜救效率。

Description

一种定位传送方法、装置、终端及存储介质
本专利申请要求2019年4月24日提交的中国专利申请号为201910332897.0,申请人为深圳传音控股股份有限公司,发明名称为“一种定位传送方法、装置、终端及存储介质”的优先权,该申请的全文以引用的方式并入本申请中。
技术领域
本发明涉及电子技术领域,尤其涉及一种定位传送方法、装置、终端及存储介质。
背景技术
目前,随着终端(手机、平板电脑、智能手表等)的普及,终端已成为人们生活中不可或缺的工具之一。目前大部分用户的终端都可以通过GPS(Global Positioning System,全球定位系统)功能获取到自身的定位数据,并可以将该定位数据应用于SOS报警技术中。
技术问题
现有的SOS报警技术,主要是通过终端主动去向目标号码发送一个GPS经纬度信息,但要是用户年龄过小,无法理解或是不方便发起SOS报警时,则会延误搜救时间。
技术解决方案
本发明实施例所要解决的技术问题在于,提供一种定位传送方法,可以实现定位信息的自动传输,提升搜救效率。
为了解决上述技术问题,本发明实施例第一方面公开了一种定位传送方法,所述方法包括:第一终端获取针对第二终端的访问权限;所述第一终端向所述第二终端发送定位信息获取请求指令,并接收所述第二终端返回的定位信息;所述第一终端对所述定位信息进行分析,得到分析结果;所述第一终端根据所述分析结果输出相应的预警提示信息。
本发明实施例第二方面公开了一种定位传送装置,所述装置包括获取模块、收发模块、分析模块及输出模块。获取模块用于获取针对第二终端的访问权限。收发模块用于向所述第二终端发送定位信息获取请求指令,并接收所述第二终端返回的定位信息。分析模块用于对所述定位信息进行分析,得到分析结果。输出模块用于根据所述分析结果输出相应的预警提示信息。
本发明实施例第三方面公开了一种终端,包括:输入设备、输出设备、存储器和处理器,所述输入设备、输出设备、存储器和处理器与总线连接,其中,所述存储器中存储一组程序代码,所述处理器用于调用所述存储器中存储的程序代码,执行以下操作:终端获取针对第二终端的访问权限;所述终端向所述第二终端发送定位信息获取请求指令,并接收所述第二终端返回的定位信息;所述终端对所述定位信息进行分析,得到分析结果;所述终端根据所述分析结果输出相应的预警提示信息。
本发明实施例第四方面公开了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行所述定位传送的方法。
有益效果
本发明实施例中,通过第一终端获取针对第二终端的访问权限,第一终端向第二终端发送定位信息获取请求指令,并接收第二终端返回的定位信息;第一终端对第二终端的定位信息进行分析,得到分析结果,并根据分析结果输出相应的预警提示信息。可以使得第一终端实时对第二终端的地理位置进行监测,在第二终端的用户遇到危险时可以及时被发现,实现了定位信息的自动传输,提升了搜救效率。
附图说明
图1为本发明实施例提供的一种定位传送方法的流程示意图;
图2为本发明实施例提供的另一种定位传送方法的流程示意图;
图3为本发明实施例提供的一种定位传送装置的结构示意图;
图4为本发明实施例提供的一种终端的结构示意图。
本发明的实施方式
以下由特定的具体实施例说明本申请的实施方式,熟悉此技术的人士可由本说明书所揭露的内容轻易地了解本申请的其他优点及功效。
在下述描述中,参考附图,附图描述了本申请的若干实施例。应当理解,还可使用其他实施例,并且可以在不背离本申请的精神和范围的情况下进行机械组成、结构、电气以及操作上的改变。下面的详细描述不应该被认为是限制性的,并且本申请的实施例的范围仅由公布的专利的权利要求书所限定。这里使用的术语仅是为了描述特定实施例,而并非旨在限制本申请。空间相关的术语,例如“上”、“下”、“左”、“右”、“下面”、“下方”、“下部”、“上方”、“上部”等,可在文中使用以便于说明图中所示的一个元件或特征与另一元件或特征的关系。
虽然在一些实例中术语第一、第二等在本文中用来描述各种元件,但是这些元件不应当被这些术语限制。这些术语仅用来将一个元件与另一个元件进行区分。
再者,如同在本文中所使用的,单数形式“一”、“一个”和“该”旨在也包括复数形式,除非上下文中有相反的指示。应当进一步理解,术语“包含”、“包括”表明存在所述的特征、步骤、操作、元件、组件、项目、种类、和/或组,但不排除一个或多个其他特征、步骤、操作、元件、组件、项目、种类、和/或组的存在、出现或添加。此处使用的术语“或”和“和/或”被解释为包括性的,或意味着任一个或任何组合。因此,“A、B或C”或者“A、B和/或C”意味着“以下任一个:A;B;C;A和B;A和C;B和C;A、B和C”。仅当元件、功能、步骤或操作的组合在某些方式下内在地互相排斥时,才会出现该定义的例外。
本发明实施例提供的定位传送方法实现于终端,所述终端包括智能手机、平板电脑、数字音视频播放器、电子阅读器、手持游戏机、智能手表等电子设备。
请参见图1,为本发明实施例提供的一种定位传送方法的流程示意图,该方法可包括:
S101、第一终端获取针对第二终端的访问权限。
本发明实施例中,访问权限可以为地理位置信息获取权限、摄像头开启权限、麦克风开启权限和建立通信连接的权限等,具体可以由第一终端的用户与第二终端的用户进行协商设置。其中,一个第一终端可以获取多个第二终端的访问权限, 一个第二终端可以赋予多个第一终端访问权限。
具体实现中,第一终端获取针对第二终端的访问权限的具体方式可以为,第一终端预先与第二终端签署绑定协议,其中,绑定协议中规定了第一终端可以获取的针对第二终端的访问权限的类别,访问权限类别可以为地理位置信息获取权限、摄像头开启权限、麦克风开启权限和建立通信连接的权限等。其中,绑定协议中还可以包含验证信息,如第二终端的用户预先设置的密码、第二终端的用户预先设置的可以访问的人脸图像等。举例说明,第一终端与第二终端都为手机,第一终端的用户为家长,第二终端的用户为小孩,家长可以预先在第一终端和第二终端中签署相应的绑定协议,赋予第一终端对于第二终端的访问权限,并可以将家长的人脸图像作为访问密码,当家长在第一终端中输入自己的人脸图像时,第一终端对该人脸图像进行验证,若验证通过,则第一终端可以获取到对于第二终端的访问权限。
S102、第一终端向第二终端发送定位信息获取请求指令,并接收第二终端返回的定位信息。
本发明实施例中,第一终端获取到第二终端的访问权限之后,便可以向第二终端发送定位信息获取请求指令,第二终端接收到第一终端发送的请求指令之后,可以打开自身携带的定位程序(如GPS)来获取到自身的定位信息,并将获取到的定位信息传送至第一终端,其中,定位信息可以是自身的经纬度数据、地图图像等,第一终端与第二终端之间传输数据的方式可以为通过网络传输、短信传输、无线技术传输等,本发明实施例不做限定。
在一种实现方式中,第一终端向第二终端发送的定位信息获取请求指令为获取第二终端当前定位信息的指令。第二终端在接收到该请求指令后,将直接返回自身当前的定位信息,第一终端对第二终端返回的定位信息进行接收。
在一种实现方式中,第一终端向第二终端发送的定位信息获取请求指令为定时获取定位信息的指令,该请求指令中包含预设频率,第二终端需要根据该预设频率向第一终端返回自身的定位信息,其中,预设频率可以为每分钟1次、每10分钟1次或每1小时一次等,具体可以由第一终端的用户在发送定位信息请求指令时预先设定。举例说明,第一终端的用户预先设置预设频率为每10分钟1次,并将该预设频率加入至定位信息获取请求指令中,第一终端将该定位信息获取请求指令发送至第二终端,第二终端可以立即向第一终端返回自身当前的定 位信息,并且每间隔10分钟向第一终端返回一次自身实时的定位信息,第一终端可以对第二终端返回的定位信息进行接收。
S103、第一终端对定位信息进行分析,得到分析结果。
本发明实施例中,第一终端获取到第二终端的定位信息之后,第一终端会对该定位信息进行保存,第一终端的用户可以随时对接收到的地理位置信息进行查阅,具体的查阅方式可以为,在地图软件中输入接收到的定位信息中的经纬度数据,第一终端即可以图像化的形式查询到第二终端所在的位置。进一步的,若第一终端的用户未对该地理位置信息进行及时查询,则第一终端将对第二终端的定位信息进行分析,得到分析结果。
在一种实现方式中,第一终端对第二终端的定位信息进行分析的具体方式可以为,第一终端获取定位信息与目标定位信息之间的距离,其中,目标定位信息为预设地点的定位信息,第一终端计算定位信息与目标定位信息之间的距离和预设距离之间的距离差值。其中,预设地点可以为家、学校、公司等,预设地点的定位信息可以预先存储于第一终端中,预设地点可以为一个,也可以为多个,预设距离可以为5米、10米、20米等,预设地点和预设距离具体可以由第一终端的用户在发送定位信息获取请求指令之前预先设置,定位信息可以为经纬度数据,第一终端获取到第二终端的经纬度数据之后,将对第二终端的经纬度数据和预设地点的经纬度数据进行计算,得到第二终端的定位信息与预设地点的定位信息之间的距离,并对计算得到的距离和预设距离进行分析,得到分析结果,该分析结果可以为第二终端的所在位置与预设地点的距离和预设距离之间的距离差值。
在一种实现方式中,第一终端对第二终端的定位信息进行分析的具体方式可以为,第一终端获取自身的定位信息作为目标定位信息,并获取第二终端的定位信息与目标定位信息之间的距离,其中,该距离具体可以由第二终端的定位信息中的经纬度数据与目标定位信息中的经纬度数据计算得到,第一终端获取到第二终端的定位信息与目标定位信息之间的距离之后,可以计算定位信息与目标定位信息之间的距离和预设距离之间的距离差值,第一终端对第二终端的定位信息进行分析得到的分析结果即对应该距离差值。
S104、第一终端根据分析结果输出相应的预警提示信息。
本发明实施例中,第一终端对第二终端的定位信息分析得到分析结果之后, 将根据分析结果输出相应的预警提示信息。其中,分析结果可以为定位信息与目标定位信息之间的距离和预设距离之间的距离差值,目标定位信息可以为预设地点的定位信息,或者第一终端的定位信息,预警提示信息可以为显示距离差值,并伴随响铃、振动等提示信息,用于提示第一终端的用户对第二终端的用户的地理位置进行查阅。具体的,第一终端可以根据预设的差值与预警提示信息的对应关系确定距离差值对应的目标预警提示信息,并输出目标预警提示信息。
在一种实现方式中,第一终端分析得到距离差值之后,将检测该距离差值是否大于第一预设距离差值,若分析得到的距离差值大于第一预设距离差值,则第一终端输出一级预警提示信息,其中,一级预警提示信息可以为在终端上显示距离差值,并且响铃1秒,第一距离差值可以为10米、20米等,若分析得到的距离差值介于第一预设差值与第二预设差值之间,则第一终端可以输出二级预警提示信息,其中,二级预警提示信息可以为在终端上显示距离差值,并且振动3秒,第二距离差值可以为100米、1000米等。若分析得到的距离差值大于第二预设距离差值,则第一终端可以输出三级预警提示信息,其中,三级预警提示信息可以为在终端上显示距离差值,并伴随响铃和振动10s。具体实现中,第一预设距离差值小于第二预设距离差值,第一和第二预设距离差值可以由第一终端的用户预先设置,一级预警提示信息、二级预警提示信息以及三级预警提示信息的具体形式也可以由第一终端的用户预先设置。
进一步的,第一终端输出三级预警提示信息之后,还可以向所述第二终端发送信息获取请求指令,其中,信息包括图像信息和/或语音信息,第二终端接收到该信息获取请求指令之后,将打开摄像头和/或麦克风,获取第二终端所在地点的图像信息和/或语音信息,并将获取到的图像信息和/或语音信息发送至第一终端。
在一种具体实施场景中,第一终端的用户可以为家长,第二终端的用户可以为小孩,第一终端可以为手机,第二终端可以为小孩携带的智能手表,家长的手机可以与小孩的手表预先建立绑定关系,当家长带着小孩在公园中玩耍时,若手表的距离与手机的距离超过预设距离(如5米)时,则家长的手机会输出提示信息,提示家长查询小孩的位置,防止小孩的走失。采用上述方式,可以使得家长可以不用时时刻刻都关注着小孩,并通过手机对距离的分析识别出潜在的危险。
本发明实施例中,通过第一终端获取针对第二终端的访问权限,第一终端向 第二终端发送定位信息获取请求指令,并接收第二终端返回的定位信息;第一终端对第二终端的定位信息进行分析,得到分析结果,并根据分析结果输出相应的预警提示信息。可以使得第一终端实时对第二终端的地理位置进行监测,在第二终端的用户遇到危险时可以及时被发现,实现了定位信息的自动传输,提升了搜救效率。
请参见图2,为本发明实施例提供的另一种定位传送方法的流程示意图,该方法可包括:
S201、第一终端获取针对第二终端的访问权限。
在一种实现方式中,第一终端获取针对第二终端的访问权限的方式具体可以为,第一终端与第二终端签署绑定协议,使得第一终端与第二终端之间进行绑定,从而使得第一终端获取到针对第二终端的访问权限。
在一种实现方式中,第一终端获取针对第二终端的访问权限的方式也可以为,第一终端向第二终端发送访问权限获取指令,在接收到第二终端的许可之后,第一终端即可获取到针对第二终端的访问权限。具体的,第二终端在许可第一终端的权限获取请求之前,还需要接收到第二终端的用户输入的验证信息,当用户输入的验证信息与预设验证信息相匹配时,才可以许可第一终端获取第二终端的访问权限。其中,验证信息可以为数字密码、指纹、人脸图像、虹膜等,本发明实施例不做限定。
S202、第一终端向第二终端发送定位信息获取请求指令,并接收第二终端返回的定位信息。
本发明实施例中,第一终端获取到第二终端的访问权限之后,将向第二终端发送定位信息获取请求指令,并接收所述第二终端返回的定位信息。
在一种实现方式中,第二终端接收到第一终端发送的定位信息获取指令之后,可以立即返回自身的定位信息或则按照第一终端设置的频率定时向第一终端返回定位信息,具体如步骤S102所述。
在一种实现方式中,第二终端接收到第一终端发送的定位信息获取请求指令之后,还可以实时检测自身的状态,当检测定位信息状态异常时,则向第一终端发送自身的定位信息。
具体的,状态异常具体确认方式可以为,第二终端检测到自身在预设时长内 的移动距离大于预设距离时,则确定状态异常,并向第一终端返回自身当前的定位信息,其中,预设时长可以为1小时、2小时等,预设距离可以为5千米、10千米等,具体可以由第二终端的用户预先设置。
可选的,状态异常的确认方式还可以为,当第二终端检测到自身的定位信息距离预设地点的距离大于预设距离时,则向第一终端发送当前的定位信息。其中,预设地点可以为家、学校等,由第二终端预先设置。
可选的,当第二终端检测到自身的定位信息出现在陌生地点时,则向第一终端自身当前的定位信息。或者,当第二终端检测到自身在危险地点出现的时长超过目标预设时长时,则向第一终端发送自身当前的定位信息。其中,目标预设时长可以为1小时、2小时等,危险地点可以为网吧、歌舞厅、酒吧等,目标预设时长和危险地点可以由第二终端的用户预先设置。
第一终端会对第二终端发送的定位信息进行接收,并执行步骤S203。
S203、第一终端获取定位信息与目标定位信息之间的距离,目标定位信息为预设地点的定位信息。
本发明实施例中,第一终端接收到第二终端发送的定位信息之后,可以获取定位信息与目标定位信息之间的距离,其中,目标定位信息为预设地点的定位信息,预设地点可以为家、学校、公司、第一终端所在的地点等,具体可以由第一终端的用户预先设置。第一终端通过分析第二终端的经纬度数据和预设地点的经纬度数据,得到第二终端的定位信息与目标定位信息之间的距离。
S204、第一终端计算定位信息与目标定位信息之间的距离和预设距离之间的距离差值。
本发明实施例中,第一终端获取到第二终端的定位信息与目标定位信息之间的距离值之后,将计算第二终端的定位信息与目标定位信息之间的距离和预设距离之间的距离差值。
具体实现中,针对不同的预设地点的目标定位信息,可以设置不同的预设距离,例如,预设地点与预设距离的对应关系可以如表1所示:
表1:
Figure PCTCN2019105274-appb-000001
Figure PCTCN2019105274-appb-000002
表1为一种预设地点与预设距离的对应关系的示例,从表1可以看出,针对不同的预设地点,可以对应不同的预设距离。第一终端获取第二终端的定位信息与预设地点的目标定位信息之间的距离,并计算该距离与预设距离之间的距离差值,可选的,如定位信息与目标定位信息之间的距离与预设距离之间的距离差值为负数,则将距离差值确定为0。
S205、第一终端输出距离差值对应的预警提示信息。
本发明实施例中,第一终端计算得到第二终端的定位信息与目标定位信息之间的距离和预设距离之间的距离差值之后,将根据预设的距离差值与预警提示信息的对应关系确定对应的预警提示信息,具体的,第一终端根据预设的差值与预警提示信息的对应关系确定距离差值对应的目标预警提示信息,并输出所述目标预警提示信息。
在一种实现方式中,若第一终端计算得到的距离差值大于第一预设距离差值,则第一终端输出一级预警提示信息,其中,一级预警提示信息可以为在终端上显示距离差值,并且响铃1秒,第一距离差值可以为10米、20米等,若计算得到的距离差值介于第一预设差值与第二预设差值之间,则第一终端可以输出二级预警提示信息,其中,二级预警提示信息可以为在终端上显示距离差值,并且振动3秒,第二距离差值可以为100米、1000米等。若计算得到的距离差值大于第二预设距离差值,则第一终端可以输出三级预警提示信息,其中,三级预警提示信息可以为在终端上显示距离差值,并伴随响铃和振动10s。具体实现中,第一预设距离差值小于第二预设距离差值,第一和第二预设距离差值可以由第一终端的用户预先设置,一级预警提示信息、二级预警提示信息以及三级预警提示信息的具体形式也可以由第一终端的用户预先设置。第一终端确定距离差值对应的预警提示信息之后,可以立即输出该预警提示信息,用于提示第一终端的用户对第二终端所在的位置进行查阅。
在一种实现方式中,第一终端计算得到第二终端的定位信息与目标定位信息之间的距离和预设距离之间的距离差值之后,将确定该距离差值所属的差值范围,并将该距离差值所属的差值范围对应的预警提示信息确定为该距离差值对应的预警提示信息,其中,差值范围与预警提示信息的对应关系可以如表2所示。
表2:
Figure PCTCN2019105274-appb-000003
表2为一种差值范围与预警提示信息的对应关系的示例,其中,差值范围和不同预警提示信息的具体表现形式可以由第一终端的用户进行预先设置。
在一种实现方式中,预设地点可以分为安全地点和危险地点。当第一终端检测到第二终端与安全地点的距离大于预设距离阈值时,第一终端需要输出预警提示信息,当第一终端检测到第二终端与危险地点的距离小于预设距离阈值时,第一终端输出预警提示信息。其中,安全地点可以为家、学校、公司、第一终端所在的地点等,危险地点可以为网吧、KTV、酒吧等,预设距离阈值可以为10米、20米等,具体可以由第一用户的终端预先设置。
在一种实现方式中,当第一终端检测到第二终端与安全地点之间的距离大于预设距离阈值之后,可以调整向第二终端发送定位信息获取请求指令的频率,例如,将频率修改为每5分钟发送一次定位信息获取指令,当第一终端第一次检测到第二终端与安全地点的距离大于预设距离阈值时,输出一级预警提示信息,当第一终端第二次检测到第二终端与安全地点的距离大于预设距离阈值时,输出二级预警提示信息,当第一终端第三次检测到第二终端与安全地点的距离大于预设距离阈值时,输出三级预警提示信息。在此过程中,用户可以使用第一终端对第二终端的具体位置进行查阅,若第一终端检测到用户已对于第二终端的位置进行过查阅,则第一终端可以自动调整输出提示信息的等级,例如,若在第一终端输出三级预警提示信息之后,第一终端的用户对第二终端的位置进行了查阅,则下一次输出的预警提示信息为一级预警提示信息。或者,第一终端可以接收用户输入的关闭指令,进而对预警提示功能进行关闭。
在一种实现方式中,当第一终端检测到第二终端与危险地点的距离小于预设距离阈值时,可以调整向第二终端发送定位信息获取请求指令的频率,例如,将频率修改为每5分钟发送一次定位信息获取指令,当第一终端第三次检测到第二终端与危险地点的距离小于预设距离阈值时,输出一级预警提示信息,当第一终端第五次检测到第二终端与危险地点的距离小于预设距离阈值时,输出二级预警提示信息,当第一终端第八次检测到第二终端与危险地点的距离小于预设距离阈 值时,输出三级预警提示信息。在此过程中,用户也使用第一终端对第二终端的具体位置进行查阅,若第一终端检测到用户已对于第二终端的位置进行过查阅,则可以调整输出提示信息的等级,例如,若在第一终端输出三级预警提示信息之后,第一终端的用户对第二终端的位置进行了查阅,则下一次输出的预警提示信息为一级预警提示信息。或者,第一终端可以接收用户输入的关闭指令,进而对预警提示功能进行关闭。
需要说明的是,预设距离阈值和不同等级的预警提示信息的具体展现形式可以由第一终端的用户预先设置,针对安全地点的预设距离阈值与针对危险地点的预设距离阈值可以不同。
本发明实施例中,第一终端获取针对第二终端的访问权限,获取定位信息与目标定位信息之间的距离,目标定位信息为预设地点的定位信息,并获取定位信息与目标定位信息之间的距离,目标定位信息为预设地点的定位信息,计算定位信息与目标定位信息之间的距离和预设距离之间的距离差值,第一终端输出距离差值对应的预警提示信息,具体为,当第二终端距离安全地点过远或距离危险地点过近时输出不同等级的预警提示信息。通过上述方式,可以使得第一终端对第二终端所在的位置进行实时监测,使得第二终端的用户在遇到危险时可以及时被第一用户所发现,实现了定位信息的自动传输,提升了搜救效率。
下面将结合附图3对本发明实施例提供的定位传输装置进行详细介绍。需要说明的是,需要说明的是,附图3所示的定位传输装置,用于执行本发明图1-图2所示实施例的方法,为了便于说明,仅示出了与本发明实施例相关的部分,具体技术细节未揭示的,经参照本发明图1-图2所示的实施例。
请参见图3,为本发明提供的一种定位传输装置的结构示意图,该定位传输装置30可包括:获取模块301、收发模块302、分析模块303和输出模块304。
获取模块301,用于获取针对第二终端的访问权限;
收发模块302,用于向所述第二终端发送定位信息获取请求指令,并接收所述第二终端返回的定位信息;
分析模块303,用于对所述定位信息进行分析,得到分析结果;
输出模块304,用于根据所述分析结果输出相应的预警提示信息。
在一种实现方式中,所述分析模块303具体用于:
获取所述定位信息与目标定位信息之间的距离,所述目标定位信息为预设地点的定位信息;
计算所述定位信息与所述目标定位信息之间的距离和预设距离之间的距离差值。
在一种实现方式中,所述分析模块303具体用于:
获取第一终端的目标定位信息;
获取所述定位信息与所述目标定位信息之间的距离;
计算所述定位信息与所述目标定位信息之间的距离和预设距离之间的距离差值。
在一种实现方式中,所述输出模块304具体用于:
所述第一终端根据预设的差值与预警提示信息的对应关系确定所述距离差值对应的目标预警提示信息;
所述第一终端输出所述目标预警提示信息。
在一种实现方式中,所述收发模块302还用于:
所述第一终端向所述第二终端发送信息获取请求指令,所述信息包括图像信息和/或语音信息;
所述第一终端接收所述第二终端返回的信息。
在一种实现方式中,所述获取模块301还用于:
与第二终端签署绑定协议,所述绑定协议中包括第一终端获取的针对第二终端的访问权限的类别,所述访问权限的类别包括地理位置信息获取权限、摄像头开启权限、麦克风开启权限和建立通信连接的权限中的至少一种。
在一种实现方式中,所述定位信息获取请求指令包括预设频率,所述收发模块302还用于:
接收所述第二终端按照所述预设频率返回的定位信息。
本发明实施例中,获取模块301获取针对第二终端的访问权限;收发模块302向所述第二终端发送定位信息获取请求指令,并接收所述第二终端返回的定位信息;分析模块303对所述定位信息进行分析,得到分析结果;输出模块304根据所述分析结果输出相应的预警提示信息。通过上述方式,可以使得第一终端实时对第二终端的地理位置进行监测,在第二终端的用户遇到危险时可以及时被发现,实现了定位信息的自动传输,提升了搜救效率。
请参见图4,为本发明实施例提供了一种终端的结构示意图。如图4所示,该终端包括:至少一个处理器401,输入设备403,输出设备404,存储器405,至少一个通信总线402。其中,通信总线402用于实现这些组件之间的连接通信。其中,输入设备403可以是控制面板或者麦克风等,输出设备404可以是显示屏等。其中,存储器405可以是高速RAM存储器,也可以是非不稳定的存储器(non-volatile memory),例如至少一个磁盘存储器。存储器405可选的还可以是至少一个位于远离前述处理器401的存储装置。其中处理器401可以结合图3所描述的装置,存储器405中存储一组程序代码,且处理器401,输入设备403,输出设备404调用存储器405中存储的程序代码,用于执行以下操作:
输入设备403,用于获取针对第二终端的访问权限;
输出设备404,用于向所述第二终端发送定位信息获取请求指令;
输入设备403,用于接收所述第二终端返回的定位信息;
处理器401,用于对所述定位信息进行分析,得到分析结果;
处理器401,用于根据所述分析结果输出相应的预警提示信息。
在一种实现方式中,处理器401具体用于:
获取所述定位信息与目标定位信息之间的距离,所述目标定位信息为预设地点的定位信息。
计算所述定位信息与所述目标定位信息之间的距离和预设距离之间的距离差值。
在一种实现方式中,处理器401具体用于:
获取第一终端的目标定位信息;
获取所述定位信息与所述目标定位信息之间的距离;
计算所述定位信息与所述目标定位信息之间的距离和预设距离之间的距离差值。
在一种实现方式中,处理器401具体用于:
根据预设的差值与预警提示信息的对应关系确定所述距离差值对应的目标预警提示信息;
输出设备404,用于输出所述目标预警提示信息。
在一种实现方式中,处理器401具体用于:
输出设备404,用于向所述第二终端发送信息获取请求指令,所述信息包括 图像信息和/或语音信息;
输入设备403,用于接收所述第二终端返回的信息。
在一种实现方式中,第一终端与第二终端签署绑定协议,所述绑定协议中包括第一终端获取的针对第二终端的访问权限的类别,所述访问权限的类别包括地理位置信息获取权限、摄像头开启权限、麦克风开启权限和建立通信连接的权限中的至少一种。
在一种实现方式中,所述定位信息获取请求指令包括预设频率,所述输入设备403具体用于接收所述第二终端按照所述预设频率返回的定位信息。
本发明实施例中,处理器401获取针对第二终端的访问权限;输出设备404向所述第二终端发送定位信息获取请求指令;输入设备403接收所述第二终端返回的定位信息;处理器401对所述定位信息进行分析,得到分析结果;处理器401根据所述分析结果输出相应的预警提示信息。通过上述方式,可以使得第一终端实时对第二终端的地理位置进行监测,在第二终端的用户遇到危险时可以及时被发现,实现了定位信息的自动传输,提升了搜救效率。
本发明实施例中所述模块,可以通过通用集成电路,例如CPU(Central Processing Unit,中央处理器),或通过ASIC(Application Specific Integrated Circuit,专用集成电路)来实现。
应当理解,在本发明实施例中,所称处理器401可以是中央处理模块(Central Processing Unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。
总线402可以是工业标准体系结构(Industry Standard Architecture,ISA)总线、外部设备互联(Peripheral Component,PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,EISA)总线等,该总线402可以分为地址总线、数据总线、控制总线等,为便于表示,图4仅用一条粗线表示,但并不表示仅有一根总线或一种类型的总线。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是 可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于计算机可读存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的计算机可读存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。
工业实用性
本发明实施例中,通过第一终端获取针对第二终端的访问权限,第一终端向第二终端发送定位信息获取请求指令,并接收第二终端返回的定位信息;第一终端对第二终端的定位信息进行分析,得到分析结果,并根据分析结果输出相应的预警提示信息。可以使得第一终端实时对第二终端的地理位置进行监测,在第二终端的用户遇到危险时可以及时被发现,实现了定位信息的自动传输,提升了搜救效率。

Claims (10)

  1. 一种定位传送方法,其特征在于,包括:
    第一终端获取针对第二终端的访问权限;
    所述第一终端向所述第二终端发送定位信息获取请求指令,并接收所述第二终端返回的定位信息;
    所述第一终端对所述定位信息进行分析,得到分析结果;
    所述第一终端根据所述分析结果输出相应的预警提示信息。
  2. 根据权利要求1所述的方法,其特征在于,所述第一终端对所述定位信息进行分析,包括:
    所述第一终端获取所述定位信息与目标定位信息之间的距离,所述目标定位信息为预设地点的定位信息;
    所述第一终端计算所述定位信息与所述目标定位信息之间的距离和预设距离之间的距离差值。
  3. 根据权利要求1所述的方法,其特征在于,所述第一终端对所述定位信息进行分析,包括:
    所述第一终端获取自身的目标定位信息;
    所述第一终端获取所述定位信息与所述目标定位信息之间的距离;
    所述第一终端计算所述定位信息与所述目标定位信息之间的距离和预设距离之间的距离差值。
  4. 根据权利要求2-3任一项所述的方法,其特征在于,所述第一终端根据所述分析结果输出相应的预警提示信息,包括:
    所述第一终端根据预设的差值与预警提示信息的对应关系确定所述距离差值对应的目标预警提示信息;
    所述第一终端输出所述目标预警提示信息。
  5. 根据权利要求4所述的方法,其特征在于,所述第一终端输出所述目标 预警提示信息之后,所述方法还包括:
    所述第一终端向所述第二终端发送信息获取请求指令,所述信息包括图像信息和/或语音信息;
    所述第一终端接收所述第二终端返回的信息。
  6. 根据权利要求1所述的方法,其特征在于,所述第一终端获取针对第二终端的访问权限,包括:
    第一终端与第二终端签署绑定协议,所述绑定协议中包括第一终端获取的针对第二终端的访问权限的类别,所述访问权限的类别包括地理位置信息获取权限、摄像头开启权限、麦克风开启权限和建立通信连接的权限中的至少一种。
  7. 根据权利要求1所述的方法,其特征在于,所述定位信息获取请求指令包括预设频率,所述第一终端接收所述第二终端返回的定位信息,包括:
    所述第一终端接收所述第二终端按照所述预设频率返回的定位信息。
  8. 一种定位传送装置,其特征在于,所述装置包括:
    获取模块,用于获取针对第二终端的访问权限;
    收发模块,用于向所述第二终端发送定位信息获取请求指令,并接收所述第二终端返回的定位信息;
    分析模块,用于对所述定位信息进行分析,得到分析结果;
    输出模块,用于根据所述分析结果输出相应的预警提示信息。
  9. 一种终端,其特征在于,包括:输入设备、输出设备、存储器和处理器,所述输入设备、输出设备、存储器和处理器与总线连接,其中,所述存储器中存储一组程序代码,所述处理器用于调用所述存储器中存储的程序代码,执行以下操作:
    终端获取针对第二终端的访问权限;
    所述终端向所述第二终端发送定位信息获取请求指令,并接收所述第二终端返回的定位信息;
    所述终端对所述定位信息进行分析,得到分析结果;
    所述终端根据所述分析结果输出相应的预警提示信息。
  10. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行如权利要求1-7任一项所述的方法。
PCT/CN2019/105274 2019-04-24 2019-09-11 一种定位传送方法、装置、终端及存储介质 WO2020215592A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910332897.0 2019-04-24
CN201910332897.0A CN110213712B (zh) 2019-04-24 2019-04-24 一种定位传送方法、装置、终端及存储介质

Publications (1)

Publication Number Publication Date
WO2020215592A1 true WO2020215592A1 (zh) 2020-10-29

Family

ID=67786245

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/105274 WO2020215592A1 (zh) 2019-04-24 2019-09-11 一种定位传送方法、装置、终端及存储介质

Country Status (2)

Country Link
CN (1) CN110213712B (zh)
WO (1) WO2020215592A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113543034A (zh) * 2021-06-25 2021-10-22 深圳市宝尔爱迪科技有限公司 基于定位信息的安全预警方法、装置、设备及存储介质

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110213712B (zh) * 2019-04-24 2023-06-09 重庆传音通讯技术有限公司 一种定位传送方法、装置、终端及存储介质
CN111479093A (zh) * 2020-05-27 2020-07-31 广东电网有限责任公司电力科学研究院 安全帽视频监控方法、系统及其计算机可读存储介质
CN114513742B (zh) * 2020-11-17 2023-07-21 Oppo广东移动通信有限公司 一种设备位置指示方法、存储介质及设备
CN116437444B (zh) * 2023-06-13 2023-08-25 中航信移动科技有限公司 一种基于beacon的目标定位方法、介质及电子设备

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106792500A (zh) * 2016-11-11 2017-05-31 北京小米移动软件有限公司 信息输出方法及装置、可穿戴设备
CN107231610A (zh) * 2016-03-24 2017-10-03 北大方正集团有限公司 基于可穿戴设备的提醒方法和可穿戴设备
CN107708064A (zh) * 2017-01-24 2018-02-16 问众智能信息科技(北京)有限公司 一种车载设备定位手机的方法和系统
US9959721B1 (en) * 2017-01-20 2018-05-01 Primax Electronics Ltd. Anti-theft system and operating method thereof
CN108834051A (zh) * 2018-06-16 2018-11-16 佛山长意云信息技术有限公司 一种位置共享方法、装置、计算机设备及存储介质
CN108833682A (zh) * 2018-05-28 2018-11-16 广东小天才科技有限公司 位置提醒方法及装置
CN110213712A (zh) * 2019-04-24 2019-09-06 重庆传音通讯技术有限公司 一种定位传送方法、装置、终端及存储介质

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104811898B (zh) * 2014-01-23 2019-11-19 腾讯科技(深圳)有限公司 一种信息获取的方法、服务器、终端及系统
US9888756B2 (en) * 2014-02-24 2018-02-13 Nolo Holdings Llc Item and luggage loss prevention system
CN104837115A (zh) * 2015-04-27 2015-08-12 广东小天才科技有限公司 一种基于位置的安全预警方法、终端及系统
CN106658391A (zh) * 2015-10-28 2017-05-10 北京四维图新科技股份有限公司 出行团队成员监控的方法、移动终端及系统
CN107333236A (zh) * 2017-06-21 2017-11-07 奇酷互联网络科技(深圳)有限公司 报警方法、报警装置、移动终端和计算机可读存储介质
CN107800998B (zh) * 2017-09-27 2020-07-21 深圳市牛鼎丰科技有限公司 定位预警提醒方法、计算机设备和存储介质
WO2019071373A1 (zh) * 2017-10-09 2019-04-18 深圳传音通讯有限公司 一种事项提醒方法及终端
CN108377300A (zh) * 2018-02-26 2018-08-07 北京小米移动软件有限公司 输出提示信息的方法、装置及发送提示信息的方法、装置
CN109672999A (zh) * 2019-01-08 2019-04-23 广东小天才科技有限公司 一种主动预警走失人员的方法及系统

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107231610A (zh) * 2016-03-24 2017-10-03 北大方正集团有限公司 基于可穿戴设备的提醒方法和可穿戴设备
CN106792500A (zh) * 2016-11-11 2017-05-31 北京小米移动软件有限公司 信息输出方法及装置、可穿戴设备
US9959721B1 (en) * 2017-01-20 2018-05-01 Primax Electronics Ltd. Anti-theft system and operating method thereof
CN107708064A (zh) * 2017-01-24 2018-02-16 问众智能信息科技(北京)有限公司 一种车载设备定位手机的方法和系统
CN108833682A (zh) * 2018-05-28 2018-11-16 广东小天才科技有限公司 位置提醒方法及装置
CN108834051A (zh) * 2018-06-16 2018-11-16 佛山长意云信息技术有限公司 一种位置共享方法、装置、计算机设备及存储介质
CN110213712A (zh) * 2019-04-24 2019-09-06 重庆传音通讯技术有限公司 一种定位传送方法、装置、终端及存储介质

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113543034A (zh) * 2021-06-25 2021-10-22 深圳市宝尔爱迪科技有限公司 基于定位信息的安全预警方法、装置、设备及存储介质
CN113543034B (zh) * 2021-06-25 2024-03-19 深圳市宝尔爱迪科技有限公司 基于定位信息的安全预警方法、装置、设备及存储介质

Also Published As

Publication number Publication date
CN110213712B (zh) 2023-06-09
CN110213712A (zh) 2019-09-06

Similar Documents

Publication Publication Date Title
WO2020215592A1 (zh) 一种定位传送方法、装置、终端及存储介质
US9794355B2 (en) Systems and methods for adaptive notification networks
RU2636677C2 (ru) Способ и приспособление для привязки устройства
RU2633153C2 (ru) Способ и устройство для установки учетной записи управления интеллектуальными устройствами
US10278012B2 (en) Location-based reminding method, indication device, reminding device, and mobile terminal
US11037434B2 (en) Systems and methods for monitored individual violation instruction
EP2985975A1 (en) Method, apparatus and system for authenticating access and computer program
JP2018508868A (ja) コンテキストベースのアクセス検証
CN107181671B (zh) 社交信息处理方法和装置
US10045166B2 (en) Method and device for identifying short messages from pseudo base stations
CN105657479B (zh) 一种视频处理方法及装置
GB2556169A (en) Methods, systems, and media for authentication of user devices to a display device
CN108632796B (zh) 蓝牙连接方法、装置、终端及计算机可读存储介质
US20140111336A1 (en) Method and system for awareness detection
WO2004068826A1 (ja) 携帯情報端末および通信システム
WO2015143934A1 (en) Information sending method and information sending apparatus
JP2016080894A (ja) 電子機器、家電、制御システム、制御方法、および制御プログラム
US20230254669A1 (en) Techniques for relaying audio messages to devices
US20200236498A1 (en) Systems and methods for locating a tracking device
US20200211583A1 (en) Electronic apparatus and control method thereof
RU2616592C2 (ru) Способ и устройство для определения местоположения
US20230089069A1 (en) Systems and methods for threat disruption
CN106790953B (zh) 信息拦截方法及装置
CN110868495A (zh) 消息展示方法及装置
TWI299954B (zh)

Legal Events

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

Ref document number: 19926544

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19926544

Country of ref document: EP

Kind code of ref document: A1