CN109640247B - Method, device, terminal, server and system for determining position information - Google Patents

Method, device, terminal, server and system for determining position information Download PDF

Info

Publication number
CN109640247B
CN109640247B CN201811343223.2A CN201811343223A CN109640247B CN 109640247 B CN109640247 B CN 109640247B CN 201811343223 A CN201811343223 A CN 201811343223A CN 109640247 B CN109640247 B CN 109640247B
Authority
CN
China
Prior art keywords
information
positioning
terminal
verification information
server
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.)
Active
Application number
CN201811343223.2A
Other languages
Chinese (zh)
Other versions
CN109640247A (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.)
Suzhou Dajiaying Information Technology Co Ltd
Original Assignee
Suzhou Dajiaying Information Technology 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 Suzhou Dajiaying Information Technology Co Ltd filed Critical Suzhou Dajiaying Information Technology Co Ltd
Priority to CN201811343223.2A priority Critical patent/CN109640247B/en
Publication of CN109640247A publication Critical patent/CN109640247A/en
Application granted granted Critical
Publication of CN109640247B publication Critical patent/CN109640247B/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/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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a method, a device, a terminal, a server and a system for determining position information, wherein the method comprises the following steps: a first terminal sends a positioning assistance request to a server, wherein the positioning assistance request comprises identification information of a second terminal; the server generates positioning verification information and sends the positioning verification information to the first terminal and the second terminal; the second terminal generates positioning assistance information based on the positioning verification information and the current position information; the first terminal acquires the positioning assistance information through an analysis action and triggers analysis processing on the positioning assistance information, position information and verification information are obtained through analysis, and the verification information obtained through analysis is matched with local positioning verification information; and if the matching is successful, using the analyzed position information as local position information. By utilizing the technical scheme provided by the invention, accurate position information can be rapidly and accurately acquired for the terminal with inaccurate positioning, and the user experience is improved.

Description

Method, device, terminal, server and system for determining position information
Technical Field
The present invention relates to the field of internet communication technologies, and in particular, to a method, an apparatus, a terminal, a server, and a system for determining location information.
Background
With the popularization of smart mobile terminals and GPS (Global Positioning System), some mobile terminals, such as mobile phones or PADs (PADs), have a GPS Positioning function. Positioning of a mobile terminal is also widely used, for example, an application for realizing attendance checking based on positioning of the mobile terminal.
In the prior art, the positioning of the mobile terminal usually depends on the GPS positioning function, but the precision of the GPS positioning is not high, and the problem of inaccurate positioning often occurs. When inaccurate positioning occurs, the user needs to reposition until the user considers the position to be accurate, so that multiple positioning operations are needed in the positioning process, and the user experience is poor. Therefore, it is necessary to provide a more reliable or efficient solution to solve the problem of the prior art that the accuracy of the position information of the terminal is low.
Disclosure of Invention
The invention provides a method, a device, a terminal, a server and a system for determining position information, which can quickly and accurately acquire accurate position information for a terminal with inaccurate positioning and improve user experience.
In a first aspect, the present invention provides a method for determining location information, the method comprising:
a first terminal sends a positioning assistance request to a server, wherein the positioning assistance request comprises identification information of a second terminal;
the server generates positioning verification information and sends the positioning verification information to the first terminal and the second terminal;
the second terminal generates positioning assistance information based on the positioning verification information and the current position information;
the first terminal acquires the positioning assistance information through an analysis action and triggers analysis processing on the positioning assistance information, position information and verification information are obtained through analysis, and the verification information obtained through analysis is matched with local positioning verification information; and if the matching is successful, using the analyzed position information as local position information.
In a second aspect, the present invention provides a method of determining location information, the method comprising:
transmitting a location assistance request including identification information of the second terminal to a server to cause the server to generate location verification information;
receiving positioning verification information sent by the server;
acquiring positioning assistance information generated by the second terminal through an analysis action, wherein the positioning assistance information comprises information generated based on the positioning verification information and the current position information, triggering analysis processing on the positioning assistance information, analyzing to obtain position information and verification information, and matching the analyzed verification information with local positioning verification information;
and if the matching is successful, using the analyzed position information as local position information.
In a third aspect, the present invention provides a method for determining location information, the method comprising:
receiving a positioning assistance request sent by a first terminal, wherein the positioning assistance request comprises identification information of a second terminal;
generating positioning verification information, and sending the positioning verification information to the second terminal so that the second terminal generates positioning assistance information based on the positioning verification information and the current position information;
sending the positioning verification information to the first terminal so that the first terminal obtains the positioning assistance information through an analysis action, triggering analysis processing on the positioning assistance information, analyzing to obtain position information and verification information, and matching the verification information obtained through analysis with local positioning verification information; and if the matching is successful, using the analyzed position information as local position information.
In a fourth aspect, the present invention provides a method of determining location information, the method comprising:
receiving positioning verification information generated by a server in response to a positioning assistance request sent by a first terminal;
generating positioning assistance information based on the positioning verification information and the current position information, so that the first terminal acquires the positioning assistance information through an analysis action and triggers analysis processing on the positioning assistance information, analyzes to obtain position information and verification information, and matches the verification information obtained through analysis with local positioning verification information; and if the matching is successful, using the analyzed position information as local position information.
A fifth aspect provides an apparatus for determining location information, the apparatus comprising:
a positioning assistance request sending module for sending a positioning assistance request including identification information of a second terminal to a server to cause the server to generate positioning verification information;
the first positioning verification information receiving module is used for receiving the positioning verification information sent by the server;
the information processing module is used for acquiring positioning assistance information generated by the second terminal through an analysis action, wherein the positioning assistance information comprises information generated based on the positioning verification information and the current position information, and triggering analysis processing on the positioning assistance information to obtain position information and verification information through analysis;
the verification information matching module is used for matching the verification information obtained by analysis with the local positioning verification information;
and the position information determining module is used for taking the position information obtained by analysis as the local position information if the verification information matching module is successfully matched.
A sixth aspect provides an apparatus for determining location information, the apparatus comprising:
a positioning assistance request receiving module, configured to receive a positioning assistance request sent by a first terminal, where the positioning assistance request includes identification information of a second terminal;
the positioning verification information generation module is used for generating positioning verification information;
a first positioning verification information sending module, configured to send the positioning verification information to the second terminal, so that the second terminal generates positioning assistance information based on the positioning verification information and current location information;
a second positioning verification information sending module, configured to send the positioning verification information to the first terminal, so that the first terminal obtains the positioning assistance information through an analysis action, triggers analysis processing on the positioning assistance information, obtains location information and verification information through analysis, and matches the verification information obtained through analysis with local positioning verification information; and if the matching is successful, using the analyzed position information as local position information.
A seventh aspect provides an apparatus for determining location information, the apparatus comprising:
the second positioning verification information receiving module is used for receiving positioning verification information generated by the server in response to a positioning assistance request sent by the first terminal;
a positioning assistance information generating module, configured to generate positioning assistance information based on the positioning verification information and the current location information, so that the first terminal obtains the positioning assistance information through an analysis action and triggers an analysis process on the positioning assistance information, obtains location information and verification information through the analysis, and matches the verification information obtained through the analysis with the local positioning verification information; and if the matching is successful, using the analyzed position information as local position information.
An eighth aspect provides a system for determining location information, the system comprising: a first terminal, a second terminal, and a server;
the first terminal is used for sending a positioning assistance request to the server, wherein the positioning assistance request comprises identification information of a second terminal; the positioning assistance system is used for acquiring a positioning assistance request generated by the second terminal through an analysis action, triggering the analysis processing of the positioning assistance information, analyzing to obtain position information and verification information, and matching the verification information obtained through analysis with local positioning verification information; if the matching is successful, the position information obtained by analysis is used as local position information;
the server is used for generating positioning verification information and sending the positioning verification information to the first terminal and the second terminal;
the second terminal is used for generating positioning assistance information based on the positioning verification information and the current position information and providing the positioning assistance information to the first terminal.
A ninth aspect provides a terminal for determining location information, the server comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, the at least one instruction, the at least one program, the set of codes, or the set of instructions being loaded and executed by the processor to implement the method of determining location information as set forth in the second aspect.
A tenth aspect provides a server for determining location information, the server comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, set of codes, or set of instructions, the at least one instruction, the at least one program, set of codes, or set of instructions being loaded and executed by the processor to implement the method of determining location information as set forth in the third aspect.
An eleventh aspect provides a terminal for determining location information, the server comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, the at least one instruction, the at least one program, the set of codes, or the set of instructions being loaded and executed by the processor to implement the method for determining location information according to the fourth aspect.
The method, the device, the terminal, the server and the system for determining the position information have the following technical effects:
the method and the device can quickly and accurately acquire accurate position information for the terminal with inaccurate positioning, solve the problem of inaccurate positioning caused by low accuracy of the acquired result of the position information of the terminal in the prior art, and effectively improve user experience.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions and advantages of the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a schematic diagram of a system provided by an embodiment of the present invention;
fig. 2 is a flowchart illustrating a method for determining location information according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a location assistance request operator interface according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of a positioning assistance information generating operation interface according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of a verification assistance mode selection interface and a location assistance information generation operation interface according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of another location assistance request operator interface provided by an embodiment of the present invention;
fig. 7 is a schematic diagram of an interface after a first terminal issues a positioning assistance request according to an embodiment of the present invention;
fig. 8 is a flowchart illustrating a method for determining location information according to an embodiment of the present invention;
fig. 9 is a flowchart illustrating a method for determining location information according to an embodiment of the present invention;
fig. 10 is a flowchart illustrating a method for determining location information according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of an apparatus for determining location information according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of another apparatus for determining location information according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of another apparatus for determining location information according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or server that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Referring to fig. 1, fig. 1 is a schematic diagram of a system according to an embodiment of the present invention, and as shown in fig. 1, the system may include at least a first terminal 01, a second terminal 02, and a server 03.
Specifically, the first terminal 01 may include a smart phone, a tablet computer, a notebook computer, a digital assistant, a smart wearable device, a vehicle-mounted terminal, and other types of physical devices, and may also include software running in the physical devices, such as an application program.
Specifically, the second terminal 02 may include a physical device such as a smart phone, a tablet computer, a notebook computer, a digital assistant, a smart wearable device, and a vehicle-mounted terminal, and may also include software running in the physical device, such as an application program.
Specifically, the server 03 may include an independently operating server, or a distributed server, or a server cluster composed of a plurality of servers. The server 03 may comprise a network communication unit, a processor, a memory, etc. Specifically, the control server 03 may provide background services for the first terminal 01 and the second terminal 02.
The method for determining location information based on the above system of the present invention is described below, and fig. 2 is a flowchart of a method for determining location information according to an embodiment of the present invention, and the present specification provides the method operation steps as described in the embodiment or the flowchart, but may include more or less operation steps based on conventional or non-inventive labor. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of orders and does not represent the only order of execution. In practice, the system or server product may be implemented in a sequential or parallel manner (e.g., parallel processor or multi-threaded environment) according to the embodiments or methods shown in the figures. Specifically, as shown in fig. 2, the method may include:
s201: the first terminal sends a location assistance request to the server, said location assistance request comprising identification information of the second terminal.
In this embodiment, the first terminal may include a terminal with inaccurate positioning, and the second terminal may include a terminal with accurate positioning. The identification information may include, but is not limited to, a mobile phone number and/or an application account number.
In practical application, when the first terminal has an inaccurate positioning condition, a user at the first terminal side may perform an identification information submission confirmation operation of the second terminal through a positioning assistance request operation interface of the first terminal to trigger the first terminal to send a positioning assistance request to the server.
In a specific embodiment, as shown in fig. 3, taking the location assistance request operation interface on the mobile phone terminal as an example, the location assistance request operation interface in fig. 3 includes a mobile phone number (identification information) input box and a submit button of the second terminal. The user may input a mobile phone number (identification information) of the assisting party on the positioning assistance request operation interface shown in fig. 3, and click the submit confirmation button to trigger the first terminal to send a positioning assistance request to the server.
In addition, in the embodiments of the present specification, the identification information may also be input in a manner of voice, image, or the like; the confirmation of the submission of the identification information may also be performed in a sliding manner, and is not limited to the one shown in fig. 3.
S203: and the server generates positioning verification information and sends the positioning verification information to the first terminal and the second terminal.
In this embodiment, when the server receives the positioning assistance request sent by the first terminal, the server may generate positioning verification information and send the positioning verification information to the first terminal and the second terminal. Accordingly, the first terminal may update the received positioning assistance information locally cached.
Specifically, the positioning verification information may include, but is not limited to, at least one form of information of a short message verification code and a random code.
In a specific embodiment, when the identification information of the second terminal in the location assistance request is a mobile phone number of the second terminal, the server may send the location verification information (short message verification code) to the first terminal or the second terminal by means of a short message.
S205: the second terminal generates positioning assistance information based on the positioning verification information and the current position information.
In this embodiment, the user at the second terminal may trigger the generation operation of the positioning assistance information through a positioning assistance information generation operation interface. In particular, the positioning assistance information may include, but is not limited to, the form of image information, which may include, but is not limited to, a two-dimensional code, a barcode, and the like.
In a specific embodiment, as shown in fig. 4, taking the positioning assistance information generating operation interface on the mobile phone terminal as an example, the positioning assistance information generating operation interface in fig. 4 includes a local address (current location information) of the second terminal, an input frame of the positioning verification information, and a generation confirmation button of the positioning assistance information. The user may input the positioning assistance information transmitted by the server at the positioning assistance information generation operation interface shown in fig. 4 and click the generation confirmation button to generate the positioning assistance information based on the positioning verification information and the current position information.
In addition, in the embodiment of the present specification, the positioning verification information may also be input into the input box of the positioning verification information in a manner that an application program of the terminal directly reads a short message including the positioning verification information.
Further, in consideration of the fact that there are various positioning verification information in practical applications, in this embodiment of the present specification, the second terminal side may further be provided with a selection interface of verification assistance manners, and specifically, as shown in fig. 5, a plurality of verification assistance manners may be displayed to the user for the user to select. When the user selects a certain verification assistance mode (shown in fig. 5 as the selected short message verification code assistance), the user can jump to the positioning assistance information generation interface corresponding to the verification assistance mode.
S207: the first terminal acquires the positioning assistance information through an analysis action and triggers analysis processing on the positioning assistance information, and position information and verification information are obtained through analysis.
In the embodiments of the present specification, the parsing action may include, but is not limited to, a "sweep" action. Correspondingly, the first terminal may implement, but is not limited to scan, the image information corresponding to the positioning assistance information on the second terminal to obtain the positioning assistance information and trigger the parsing of the positioning assistance information.
S209: and the first terminal matches the verification information obtained by analysis with the local positioning verification information.
In this embodiment of the present specification, the successful matching between the verification information obtained through the analysis and the local positioning verification information may include that the verification information obtained through the analysis is consistent with the local positioning verification information.
S211: and if the matching is successful, the first terminal takes the analyzed position information as local position information.
In addition, if the matching fails, the first terminal displays prompt information that the positioning assistance information is invalid.
In other embodiments, after the first terminal corrects the local location information, the relevant operation may be performed based on the accurate location information, and accordingly, after the first terminal uses the parsed location information as the local location information, the method may further include:
the first terminal displays a preset operation interface so that a user can execute preset operation.
Specifically, the preset operation may include, but is not limited to, at least one of the following: card punching, check-in, location transmission, etc.
In other embodiments, considering that the obtaining of the location information is time-efficient in applications such as card punching and check-in based on the location information, in this embodiment of the present specification, a parsing action of the location assistance information with a validity period may be started, and accordingly, the sending of the location assistance request by the first terminal to the server includes:
when the first terminal detects that the analysis action of the positioning assistance information is started, sending a positioning assistance request comprising identification information of a second terminal to a server, wherein the analysis action is provided with a validity period.
In the embodiment of the present specification, the validity period may be set in combination with the actual application requirement, for example, set to 2 minutes.
In a specific embodiment, when the user starts an analysis action on the positioning assistance information, the positioning assistance request operation interface may be triggered while starting the analysis action, as shown in fig. 6, taking the positioning assistance request operation interface on the mobile phone terminal as an example, the positioning assistance request operation interface in fig. 6 includes an analysis action area being executed, effective time countdown information for executing the analysis action, a mobile phone number (identification information) input frame of the second terminal, and a submit confirmation button. Correspondingly, after the user inputs the mobile phone number of the second terminal and submits the confirmation button, the positioning assistance request can be triggered to be sent to the server, and correspondingly, after the positioning assistance request is sent, the interface of the first terminal can include the analysis action area being executed and the effective time countdown information of the analysis action execution as shown in fig. 7, so that the positioning assistance information can be obtained within the effective period and the analysis processing of the obtained positioning assistance information can be triggered.
Further, in some embodiments, when the positioning assistance information is acquired within the validity period, the first terminal may trigger a parsing operation of the positioning assistance information.
In other embodiments, when the positioning assistance information is not acquired within the validity period, the first terminal may turn off the parsing action of the positioning assistance information.
In the embodiment of the present specification, the first terminal with inaccurate positioning may, before sending the positioning assistance request, start the parsing action of the positioning assistance information with the validity period, so as to meet the requirement of the application with timeliness on obtaining the position information, and automatically close the parsing action of the positioning assistance information after the validity period.
In other embodiments, the method may further comprise:
when receiving new location verification information, the first terminal may update local location verification information.
The method for determining location information provided by the embodiments of the present specification is described below in conjunction with the application of a card punch:
at present, a large number of applications provide a user with a card punching service within a preset range, and the card punching service can be implemented only within the preset range by means of the position information currently located by the user. If the mobile phone of the user a is accurately positioned or has a small deviation, the mobile phone of the user B located with the user a is not accurately positioned within the normal card punching positioning range, so that the card punching cannot be performed. Correspondingly, the user B may open a scan on an operation interface of a corresponding APP (Application) in the mobile phone, as shown in fig. 6, (at this time, the scan starts a countdown, for example, two minutes, and if the scan execution is not detected within two minutes, the scan exits), and at the same time, the display of the location assistance request operation interface is triggered, the user B may input the mobile phone number of the user a of the assistor on the location assistance request operation interface, click the submit confirmation button, the APP in the mobile phone of the user B sends the location assistance request to the server, the server generates a short message verification code (location verification information) and returns the short message verification code to the APP on the mobile phone of the user B, and in addition, the short message verification code returns to the mobile phone of the user a; and the APP of the user B receives the short message verification code returned by the server and then caches the short message verification code to the local. After receiving the short message verification code sent by the server, the user A can select 'short message verification code assistance' on a selection interface of a verification assistance mode of the terminal to trigger a positioning assistance information generation interface corresponding to the short message verification code assistance, the user A inputs the received verification code into an input frame, clicks to generate confirmation, the APP on the mobile phone of the user A combines local position information with the short message verification code to generate a two-dimensional code (positioning assistance information), the user B returns to a 'scanning' interface to scan the two-dimensional code on the mobile phone of the user A, the APP on the mobile phone of the user B analyzes the short message verification code and the position information in the two-dimensional code, the analyzed verification code is compared with the locally cached short message verification code, and if the verification code is consistent, the analyzed position information is updated into the positioning information. Correspondingly, after the position information is updated successfully, a card punching button can be displayed, and the user B continues to finish the card punching action. And if the two-dimension code information is inconsistent, prompting the user that the two-dimension code information is invalid.
As can be seen from the technical solutions provided in the embodiments of the present specification, a first terminal that is inaccurately located sends a request to a server for location assistance of a second terminal that is accurately located, and the server sends location verification information to the first terminal and the second terminal, so that the first terminal verifies the location assistance information sent by the second terminal, and it is ensured that the first terminal obtains location information of the second terminal that has accurate location, so as to correct local location information. By using the technical scheme provided by the embodiment of the specification, accurate position information can be quickly and accurately acquired for the terminal with inaccurate positioning, the problem of inaccurate positioning caused by low accuracy of the acquired result of the position information of the terminal in the prior art is solved, and the user experience is effectively improved.
A specific embodiment of a method for determining location information in this specification is described below with a first terminal as an execution subject, and fig. 8 is a flowchart of the method for determining location information according to the embodiment of the present invention, and specifically, with reference to fig. 8, the method may include:
s801: sending a location assistance request including identification information of the second terminal to a server to cause the server to generate location verification information.
Specifically, the identification information may include: a mobile phone number and/or an application account number.
S803: and receiving the positioning verification information sent by the server.
S805: and acquiring positioning assistance information generated by the second terminal through an analysis action, wherein the positioning assistance information comprises information generated based on the positioning verification information and the current position information, and triggering analysis processing on the positioning assistance information to obtain position information and verification information through analysis.
Specifically, the obtaining of the positioning assistance information generated by the second terminal through the parsing action may include:
and scanning image information corresponding to the positioning assistance information on the second terminal so as to acquire the positioning assistance information of the second terminal.
S807: and matching the verification information obtained by analysis with the local positioning verification information.
S809: and if the matching is successful, using the analyzed position information as local position information.
In some embodiments, sending the location assistance request comprising identification information of the second terminal to the server may comprise:
and when detecting that the analysis action of the positioning assistance information is started, sending a positioning assistance request comprising identification information of the second terminal to the server, wherein the analysis action is provided with a validity period.
Accordingly, in some embodiments, the triggering of the resolution of the positioning assistance information may include:
and when the positioning assistance information is acquired within the validity period, triggering analysis processing operation on the positioning assistance information.
In other embodiments, the method may further comprise:
and when the positioning assistance information is not acquired within the validity period, closing the analysis action of the positioning assistance information.
In some embodiments, the method further comprises:
and when new positioning verification information is received, updating the local positioning verification information.
In some embodiments, after taking the parsed location information as local location information, the method may further include:
and displaying a preset operation interface so that a user can execute preset operation.
The embodiment of the present invention provides a terminal for determining location information, where the terminal for determining location information includes a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the method for determining location information provided in the above method embodiment.
A specific embodiment of a method for determining location information in this specification is described below with a server as an execution subject, and fig. 9 is a flowchart of the method for determining location information according to the embodiment of the present invention, and specifically, with reference to fig. 9, the method may include:
s901: receiving a positioning assistance request sent by a first terminal, wherein the positioning assistance request comprises identification information of a second terminal.
S903: generating positioning verification information, and sending the positioning verification information to the second terminal so that the second terminal generates positioning assistance information based on the positioning verification information and the current position information;
s905: sending the positioning verification information to the first terminal so that the first terminal obtains the positioning assistance information through an analysis action, triggering analysis processing on the positioning assistance information, analyzing to obtain position information and verification information, and matching the verification information obtained through analysis with local positioning verification information; and if the matching is successful, using the analyzed position information as local position information.
An embodiment of the present invention provides a server for determining location information, where the server for determining location information includes a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or a set of instructions, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by the processor to implement the method for determining location information provided in the above method embodiment.
A specific embodiment of a method for determining location information in this specification is described below with a second terminal as an execution subject, and fig. 10 is a flowchart of the method for determining location information according to the embodiment of the present invention, and specifically, with reference to fig. 10, the method may include:
s1001: and receiving the positioning verification information generated by the server in response to the positioning assistance request sent by the first terminal.
S1003: and generating positioning assistance information based on the positioning verification information and the current position information, so that the first terminal acquires the positioning assistance information through an analysis action and triggers the analysis processing of the positioning assistance information, and the position information and the verification information are obtained through analysis.
S1005: matching the verification information obtained by analysis with local positioning verification information; and if the matching is successful, using the analyzed position information as local position information.
The embodiment of the present invention provides a terminal for determining location information, where the terminal for determining location information includes a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or an instruction set, and the at least one instruction, the at least one program, the code set, or the instruction set is loaded and executed by the processor to implement the method for determining location information provided in the above method embodiment.
In the embodiments of the present disclosure, the memory may be used to store software programs and modules, and the processor executes various functional applications and data processing by operating the software programs and modules stored in the memory. The memory can mainly comprise a program storage area and a data storage area, wherein the program storage area can store an operating system, application programs needed by functions and the like; the storage data area may store data created according to use of the apparatus, and the like. Further, the memory may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory may also include a memory controller to provide the processor access to the memory.
An embodiment of the present invention further provides a device for determining location information, as shown in fig. 11, the device includes:
a positioning assistance request sending module 1110, configured to send a positioning assistance request including identification information of a second terminal to a server, so that the server generates positioning verification information;
a first positioning verification information receiving module 1120, configured to receive positioning verification information sent by the server;
an information processing module 1130, configured to obtain, through an analysis action, positioning assistance information generated by the second terminal, where the positioning assistance information includes information generated based on the positioning verification information and current position information, and trigger analysis processing on the positioning assistance information, where the analysis processing is performed to obtain position information and verification information;
the verification information matching module 1140 may be configured to match the verification information obtained through analysis with the local positioning verification information;
the location information determining module 1150 may be configured to, if the verification information matching module is successfully matched, use the parsed location information as the local location information.
In some embodiments, the location assistance request sending module is further configured to send a location assistance request including identification information of the second terminal to the server when it is detected that a resolving action for location assistance information is turned on, wherein the resolving action is provided with a validity period.
In some embodiments, the triggering of the resolution of the positioning assistance information may include triggering a resolution operation of the positioning assistance information when the positioning assistance information is acquired within the validity period.
In some embodiments, the apparatus further comprises:
and closing the analysis action of the positioning assistance information when the positioning assistance information is not acquired within the validity period.
In some embodiments, the apparatus further comprises:
and the positioning verification information updating module is used for updating the local positioning verification information when receiving the new positioning verification information.
In some embodiments, the obtaining of the positioning assistance information generated by the second terminal through the parsing may include scanning image information corresponding to the positioning assistance information on the second terminal so as to obtain the positioning assistance information of the second terminal.
In some embodiments, the apparatus may further comprise:
and the preset operation interface display module is used for displaying the preset operation interface after the position information obtained by analysis is used as the local position information so that a user can execute the preset operation.
The device and method embodiments in the device embodiment described are based on the same inventive concept.
An embodiment of the present invention further provides an apparatus for determining location information, as shown in fig. 12, the apparatus may include:
a positioning assistance request receiving module 1210, configured to receive a positioning assistance request sent by a first terminal, where the positioning assistance request includes identification information of a second terminal;
a positioning verification information generation module 1220, configured to generate positioning verification information;
a first positioning verification information sending module 1230, configured to send the positioning verification information to the second terminal, so that the second terminal generates positioning assistance information based on the positioning verification information and current location information;
a second positioning verification information sending module 1240, configured to send the positioning verification information to the first terminal, so that the first terminal obtains the positioning assistance information through an analysis action, triggers an analysis process on the positioning assistance information, obtains location information and verification information through the analysis, and matches the verification information obtained through the analysis with the local positioning verification information; and if the matching is successful, using the analyzed position information as local position information.
The device and method embodiments in the device embodiment described are based on the same inventive concept.
An embodiment of the present invention further provides a device for determining location information, and as shown in fig. 13, the device may include:
a second positioning verification information receiving module 1310, configured to receive positioning verification information generated by a server in response to a positioning assistance request sent by the first terminal;
a positioning assistance information generating module 1320, configured to generate positioning assistance information based on the positioning verification information and the current location information, so that the first terminal obtains the positioning assistance information through an analysis action and triggers an analysis process on the positioning assistance information, and obtains location information and verification information through the analysis;
the verification information matching module 1330 is configured to match the verification information obtained through analysis with the local positioning verification information; and if the matching is successful, using the analyzed position information as local position information.
The device and method embodiments in the device embodiment described are based on the same inventive concept.
In another aspect, the present invention provides a system for determining location information, the system comprising: a first terminal, a second terminal, and a server;
the first terminal may be configured to send a location assistance request to the server, the location assistance request including identification information of a second terminal; the positioning assistance system is used for acquiring a positioning assistance request generated by the second terminal through an analysis action, triggering the analysis processing of the positioning assistance information, analyzing to obtain position information and verification information, and matching the verification information obtained through analysis with local positioning verification information; if the matching is successful, the position information obtained by analysis is used as local position information;
the server may be configured to generate positioning verification information and send the positioning verification information to the first terminal and the second terminal;
the second terminal may be configured to generate positioning assistance information based on the positioning verification information and the current location information, and provide the positioning assistance information to the first terminal.
As can be seen from the above embodiments of the method, device, terminal, server, or system for determining location information provided by the present invention, in the present invention, a first terminal with inaccurate location sends a server a location assistance requesting for a second terminal with accurate location, and the server sends location verification information to the first terminal and the second terminal, so that the first terminal verifies the location assistance information sent by the second terminal, and it is ensured that the first terminal obtains location information of the second terminal with accurate location, so as to correct local location information. By using the technical scheme provided by the embodiment of the specification, accurate position information can be quickly and accurately acquired for the terminal with inaccurate positioning, the problem of inaccurate positioning caused by low accuracy of the acquired result of the position information of the terminal in the prior art is solved, and the user experience is effectively improved.
It should be noted that: the precedence order of the above embodiments of the present invention is only for description, and does not represent the merits of the embodiments. And specific embodiments thereof have been described above. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the apparatus, system and server embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference may be made to some descriptions of the method embodiments for relevant points.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (18)

1. A method of determining location information, the method comprising:
a first terminal sends a positioning assistance request to a server, wherein the positioning assistance request comprises identification information of a second terminal;
the server generates positioning verification information and sends the positioning verification information to the first terminal and the second terminal;
the second terminal generates positioning assistance information based on the positioning verification information and the current position information;
the first terminal acquires the positioning assistance information through an analysis action and triggers analysis processing on the positioning assistance information, position information and verification information are obtained through analysis, the verification information obtained through analysis is matched with local positioning verification information, and the local positioning verification information is the positioning verification information sent by the server; and if the matching is successful, using the analyzed position information as local position information.
2. A method of determining location information, applied to a first terminal, the method comprising:
transmitting a location assistance request including identification information of the second terminal to a server to cause the server to generate location verification information;
receiving positioning verification information sent by the server;
acquiring positioning assistance information generated by the second terminal through an analysis action, wherein the positioning assistance information comprises information generated based on the positioning verification information and current position information, triggering analysis processing on the positioning assistance information, analyzing to obtain position information and verification information, and matching the analyzed verification information with local positioning verification information, wherein the local positioning verification information is the positioning verification information sent by the server;
and if the matching is successful, using the analyzed position information as local position information.
3. The method of claim 2, wherein sending a location assistance request to the server including identification information of the second terminal comprises:
and when detecting that the analysis action of the positioning assistance information is started, sending a positioning assistance request comprising identification information of the second terminal to the server, wherein the analysis action is provided with a validity period.
4. The method of claim 3, wherein the triggering of the resolution of the positioning assistance information comprises:
and when the positioning assistance information is acquired within the validity period, triggering analysis processing operation on the positioning assistance information.
5. The method of claim 3, further comprising:
and when the positioning assistance information is not acquired within the validity period, closing the analysis action of the positioning assistance information.
6. The method of claim 2, further comprising:
and when new positioning verification information is received, updating the local positioning verification information.
7. The method according to any one of claims 2 to 6, wherein the identification information comprises:
a mobile phone number and/or an application account number.
8. The method according to any of claims 2 to 6, wherein said obtaining the positioning assistance information generated by the second terminal by parsing comprises:
and scanning image information corresponding to the positioning assistance information on the second terminal so as to acquire the positioning assistance information of the second terminal.
9. The method according to any one of claims 2 to 6, wherein after the parsed location information is used as the local location information, the method further comprises:
and displaying a preset operation interface so that a user can execute preset operation.
10. A method for determining location information, the method being applied to a server and comprising:
receiving a positioning assistance request sent by a first terminal, wherein the positioning assistance request comprises identification information of a second terminal;
generating positioning verification information, and sending the positioning verification information to the second terminal so that the second terminal generates positioning assistance information based on the positioning verification information and the current position information;
sending the positioning verification information to the first terminal so that the first terminal obtains the positioning assistance information through an analysis action, triggering analysis processing on the positioning assistance information, analyzing to obtain position information and verification information, and matching the verification information obtained through analysis with local positioning verification information; and if the matching is successful, using the analyzed position information as local position information, wherein the local positioning verification information is the positioning verification information sent by the server.
11. A method of determining location information, applied to a second terminal, the method comprising:
receiving positioning verification information generated by a server in response to a positioning assistance request sent by a first terminal, wherein the positioning assistance request comprises identification information of a second terminal;
generating positioning assistance information based on the positioning verification information and the current position information, so that the first terminal obtains the positioning assistance information through an analysis action and triggers analysis processing on the positioning assistance information, the position information and the verification information are obtained through analysis, the verification information obtained through analysis is matched with local positioning verification information, and the local positioning verification information is the positioning verification information sent by the server; and if the matching is successful, using the analyzed position information as local position information.
12. An apparatus for determining location information, the apparatus being disposed at a first terminal, the apparatus comprising:
a positioning assistance request sending module for sending a positioning assistance request including identification information of a second terminal to a server to cause the server to generate positioning verification information;
the first positioning verification information receiving module is used for receiving the positioning verification information sent by the server;
the information processing module is used for acquiring positioning assistance information generated by the second terminal through an analysis action, wherein the positioning assistance information comprises information generated based on the positioning verification information and the current position information, and triggering analysis processing on the positioning assistance information to obtain position information and verification information through analysis;
the verification information matching module is used for matching the verification information obtained by analysis with local positioning verification information, wherein the local positioning verification information is the positioning verification information sent by the server;
and the position information determining module is used for taking the position information obtained by analysis as the local position information if the verification information matching module is successfully matched.
13. An apparatus for determining location information, the apparatus being disposed at a server, the apparatus comprising:
a positioning assistance request receiving module, configured to receive a positioning assistance request sent by a first terminal, where the positioning assistance request includes identification information of a second terminal;
the positioning verification information generation module is used for generating positioning verification information;
a first positioning verification information sending module, configured to send the positioning verification information to the second terminal, so that the second terminal generates positioning assistance information based on the positioning verification information and current location information;
a second positioning verification information sending module, configured to send the positioning verification information to the first terminal, so that the first terminal obtains the positioning assistance information through an analysis action, and triggers analysis processing on the positioning assistance information, so as to obtain location information and verification information through analysis, and match the verification information obtained through analysis with local positioning verification information, where the local positioning verification information is the positioning verification information sent by the server; and if the matching is successful, using the analyzed position information as local position information.
14. An apparatus for determining location information, the apparatus being disposed at a second terminal, the apparatus comprising:
a second positioning verification information receiving module, configured to receive positioning verification information generated by a server in response to a positioning assistance request sent by a first terminal, where the positioning assistance request includes identification information of the second terminal;
a positioning assistance information generating module, configured to generate positioning assistance information based on the positioning verification information and current location information, so that the first terminal obtains the positioning assistance information through an analysis action and triggers analysis processing on the positioning assistance information, and obtains location information and verification information through analysis, and matches the verification information obtained through analysis with local positioning verification information, where the local positioning verification information is the positioning verification information sent by the server; and if the matching is successful, using the analyzed position information as local position information.
15. A system for determining location information, the system comprising: a first terminal, a second terminal, and a server;
the first terminal is used for sending a positioning assistance request to the server, wherein the positioning assistance request comprises identification information of a second terminal; the server is used for acquiring a positioning assistance request generated by the second terminal through an analysis action, triggering the analysis processing of the positioning assistance information, analyzing to obtain position information and verification information, and matching the verification information obtained through the analysis with local positioning verification information, wherein the local positioning verification information is the positioning verification information sent by the server; if the matching is successful, the position information obtained by analysis is used as local position information;
the server is used for generating positioning verification information and sending the positioning verification information to the first terminal and the second terminal;
the second terminal is used for generating positioning assistance information based on the positioning verification information and the current position information and providing the positioning assistance information to the first terminal.
16. A terminal for determining location information, the terminal comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, set of codes or set of instructions, the at least one instruction, the at least one program, the set of codes or set of instructions being loaded and executed by the processor to implement a method of determining location information according to any one of claims 2 to 9.
17. A terminal for determining location information, the terminal comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, the at least one instruction, the at least one program, the set of codes, or the set of instructions being loaded and executed by the processor to implement the method of determining location information according to claim 11.
18. A server for determining location information, the server comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, the at least one instruction, the at least one program, the set of codes, or the set of instructions being loaded and executed by the processor to implement the method of determining location information according to claim 10.
CN201811343223.2A 2018-11-13 2018-11-13 Method, device, terminal, server and system for determining position information Active CN109640247B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811343223.2A CN109640247B (en) 2018-11-13 2018-11-13 Method, device, terminal, server and system for determining position information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811343223.2A CN109640247B (en) 2018-11-13 2018-11-13 Method, device, terminal, server and system for determining position information

Publications (2)

Publication Number Publication Date
CN109640247A CN109640247A (en) 2019-04-16
CN109640247B true CN109640247B (en) 2021-01-29

Family

ID=66067845

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811343223.2A Active CN109640247B (en) 2018-11-13 2018-11-13 Method, device, terminal, server and system for determining position information

Country Status (1)

Country Link
CN (1) CN109640247B (en)

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7353034B2 (en) * 2005-04-04 2008-04-01 X One, Inc. Location sharing and tracking using mobile phones or other wireless devices
CN102215561B (en) * 2010-04-02 2016-12-07 中兴通讯股份有限公司 The localization method of terminal-to-terminal service and system
US9036603B2 (en) * 2012-08-03 2015-05-19 Intel Corporation Network assistance for device-to-device discovery
CN102904974A (en) * 2012-09-28 2013-01-30 腾讯科技(深圳)有限公司 Method for obtaining location of terminal, related device and system
CN104243516B (en) * 2013-06-13 2018-02-02 阿里巴巴集团控股有限公司 Method, server, terminal and the system that the geographical location information of terminal obtains
CN104244174B (en) * 2013-06-13 2018-10-26 阿里巴巴集团控股有限公司 The acquisition methods and server of the geographical location information of terminal
KR102184311B1 (en) * 2014-08-08 2020-11-30 삼성전자 주식회사 Message/contents sharing system and method using location information
CN108108395B (en) * 2017-11-29 2020-07-17 中国科学院光电研究院 Mutual-aid navigation positioning data credibility evaluation method and system

Also Published As

Publication number Publication date
CN109640247A (en) 2019-04-16

Similar Documents

Publication Publication Date Title
US7828216B2 (en) Methods and apparatus for providing on-demand assistance for a wireless device
EP3232633A1 (en) Service processing method and apparatus, and service server
CN112583799B (en) Processing method, related device, equipment and medium for registered account
CN109684364B (en) User portrait-based problem processing method, device, equipment and storage medium
US10606477B1 (en) Intelligent keyboard
JP5004857B2 (en) Application update information providing system and application update information providing method
CN113743929A (en) Data processing method, terminal equipment and data processing system
CN109040049B (en) User registration method and device and electronic equipment
CN109587625B (en) Method, server, client, storage medium and equipment for determining position information
CN111538964B (en) Login mode pushing method, device and system and electronic equipment
CN103973506A (en) Domain name verifying method, device and system
JP2023504956A (en) Performance detection method, device, electronic device and computer readable medium
WO2018145574A1 (en) Information processing method and device, terminal, server and storage medium
CN110958234B (en) Application login control method and device and storage medium
CN109271778A (en) Using installation source differentiating method, electronic equipment and computer storage medium
CN107395624A (en) Information processing method and device
CN104050236A (en) Website content update prompting method, server and client
CN109640247B (en) Method, device, terminal, server and system for determining position information
CN114520830A (en) Message pushing method, device and system
CN108156071B (en) Method for adding members to community, terminal device and computer readable storage medium
CN114896165A (en) Testing method and device of conversation robot system, electronic equipment and storage medium
CN111625746B (en) Application page display method, system, electronic device and storage medium
US20190007520A1 (en) Electronic device and operation method thereof and server host device
CN109327806B (en) Method, server and client for determining position information
CN111931465B (en) Method and system for automatically generating user manual based on user operation

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