CN109348425B - Positioning information updating method, device, equipment and storage medium - Google Patents
Positioning information updating method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN109348425B CN109348425B CN201811343221.3A CN201811343221A CN109348425B CN 109348425 B CN109348425 B CN 109348425B CN 201811343221 A CN201811343221 A CN 201811343221A CN 109348425 B CN109348425 B CN 109348425B
- Authority
- CN
- China
- Prior art keywords
- terminal
- positioning information
- information
- communication connection
- updating
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 75
- 238000003860 storage Methods 0.000 title claims abstract description 19
- 238000004891 communication Methods 0.000 claims abstract description 85
- 238000004080 punching Methods 0.000 claims description 43
- 230000004044 response Effects 0.000 claims description 4
- 230000006870 function Effects 0.000 description 21
- 230000008569 process Effects 0.000 description 8
- 238000012795 verification Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000001514 detection method Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000005484 gravity Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000005236 sound signal Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000010079 rubber tapping Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W64/00—Locating users or terminals or network equipment for network management purposes, e.g. mobility management
- H04W64/003—Locating users or terminals or network equipment for network management purposes, e.g. mobility management locating network equipment
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C1/00—Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people
- G07C1/10—Registering, indicating or recording the time of events or elapsed time, e.g. time-recorders for work people together with the recording, indicating or registering of other data, e.g. of signs of identity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/029—Location-based management or tracking services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a method, a device, equipment and a storage medium for updating positioning information; when the method is applied to the first terminal, the method for updating the positioning information comprises the following steps: sending location update request information to a second terminal based on a communication connection established with the second terminal; according to the communication connection, target positioning information returned by the second terminal according to the position updating request information is obtained; and updating the local original positioning information into the target positioning information. The method and the device can update the first terminal to obtain accurate positioning information, wherein the target positioning information can be obtained based on the terminal equipment without the positioning function, and the distance between the first terminal and the second terminal does not need to be judged, so that the method and the device are more convenient and have stronger applicability.
Description
Technical Field
The present invention relates to the field of positioning technologies, and in particular, to a method, an apparatus, a device, and a storage medium for updating positioning information.
Background
With the rapid development of the China mobile Internet, the number of intelligent mobile terminal users is increased, so that people have more and more requirements and dependence on location-based services; the mobile terminal can acquire the position of the user through GPS positioning or sensor positioning and the like, and performs corresponding required operation according to the position information. For example, the location-based service function is expanded to the office field, and the employee user can perform mobile attendance card punching on the corresponding client through the positioning information, so that the convenience of employee card punching and the efficiency of the company attendance system are improved through the attendance card punching mode.
However, in the prior art, the situation that the positioning information of the mobile terminal is inaccurate easily occurs, which will affect the use experience of the user; for example, in the card punching operation, if the problem that effective card punching cannot be completed due to inaccurate positioning occurs, a user is likely to give up card punching, and the user is likely to directly go to work due to invalid card punching, so that the production value of an enterprise is reduced, and the operation efficiency of the enterprise is reduced.
Therefore, a further solution to the problem of the mobile terminal being unable to position accurately in some situations is to be proposed.
Disclosure of Invention
The invention provides a method, a device, equipment and a storage medium for updating positioning information; specifically, the method comprises the following steps:
a first aspect provides a positioning information updating method applied to a first terminal, the method including:
sending location update request information to a second terminal based on a communication connection established with the second terminal;
according to the communication connection, target positioning information returned by the second terminal according to the position updating request information is obtained;
and updating the local original positioning information into the target positioning information.
A second aspect provides a positioning information updating method applied to a second terminal, the method including:
receiving location updating request information sent by a first terminal based on communication connection established with the first terminal;
and based on the communication connection, sending target positioning information to the first terminal according to the position updating request information, so that the first terminal updates the local original positioning information into the target positioning information.
A third aspect provides a positioning information updating apparatus, the apparatus comprising:
a location update request sending module, configured to send location update request information to a second terminal based on a communication connection established with the second terminal;
a target positioning information obtaining module, configured to obtain, according to the communication connection, target positioning information returned by the second terminal according to the location update request information;
and the target positioning information updating module is used for updating the local original positioning information into the target positioning information.
A fourth aspect provides a positioning information updating apparatus, the apparatus comprising:
a location update request receiving module, configured to receive location update request information sent by a first terminal based on a communication connection established with the first terminal;
and the target positioning information sending module is used for sending target positioning information to the first terminal based on the communication connection and according to the position updating request information, so that the first terminal updates the local original positioning information into the target positioning information.
A fifth aspect provides a positioning information updating apparatus, comprising a processor and a memory, wherein the memory stores at least one instruction, at least one program, code set, or 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 positioning information updating method according to the first aspect or the positioning information updating method according to the second aspect.
A sixth aspect provides a computer readable storage medium having stored therein at least one instruction, at least one program, set of codes, or set of instructions, which is loaded and executed by a processor to implement the positioning information updating method according to the first aspect or the positioning information updating method according to the second aspect.
The positioning information updating method, the positioning information updating device, the positioning information updating equipment and the storage medium have the beneficial effects that:
after a first terminal and a second terminal establish communication connection, the first terminal sends position updating request information to the second terminal; after receiving the location updating request information, the second terminal can return target positioning information to the first terminal according to the location updating request information; and then the first terminal can update the local inaccurate original positioning information into accurate target positioning information based on the requirements of the user. The method and the device can update the first terminal to obtain accurate positioning information, wherein the target positioning information can be obtained based on the terminal equipment without the positioning function; in addition, the distance between the first terminal and the second terminal does not need to be judged in the process of acquiring the target positioning information, so that the method is more convenient and has stronger applicability.
Drawings
In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in 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 disclosure, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic diagram of a first terminal and a second terminal establishing a connection provided in an embodiment of the present specification;
fig. 2 is a flowchart of a method for updating positioning information based on a first terminal according to an embodiment of the present disclosure;
fig. 3 is a flowchart of another method for updating location information based on a first terminal according to an embodiment of the present disclosure;
fig. 4 is a flowchart of a method for updating location information based on a second terminal according to an embodiment of the present disclosure;
fig. 5 is a block diagram of a positioning information updating apparatus provided in an embodiment of the present disclosure;
fig. 6 is a block diagram of another positioning information updating apparatus provided in the embodiments of the present disclosure;
fig. 7 is a schematic diagram of a positioning information updating apparatus according to an embodiment of the present disclosure.
Detailed description of the invention
In order to make the technical solutions of the present disclosure better understood by those skilled in the art, the technical solutions of the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure, and it is obvious that the described embodiments are only some embodiments of the present disclosure, not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings 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 disclosure described herein are capable of operation in sequences other than those illustrated or otherwise 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 apparatus 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.
The current location service function provides much convenience for people's life, and has also begun to expand into the field of people's offices, such as the service of mobile attendance card punching through location information. Specifically, the terminal device can acquire the position of the user through GPS positioning or sensor positioning and the like, and completes card punching on the corresponding client according to the position information; the card punching mode improves the convenience of punching the card by the staff and improves the efficiency of the attendance system of the company. However, in the existing use scene, the problems that the user positioning information is incorrect and effective card punching cannot be completed easily occur.
If the positioning is inaccurate for multiple times under the condition, the user is likely to give up the card punching due to the failure of multiple card punching, and the working state of the employee is influenced; the serious possibility that the user directly does not go to work due to invalid card punching occurs; if the phenomenon occurs frequently and a certain number of employees, the value created for the enterprise is reduced, and the production and operation efficiency of the enterprise is reduced.
The existing method for correcting the positioning information can be used for correcting the position information manually; for example, when the user finds that the position information on the card punching interface cannot be used for effective card punching, the positioning information can be modified by self on the card punching interface, and the card punching position can be corrected. However, the method still needs to realize the acquisition of the target positioning information by means of a mobile communication network; the accuracy of the position information corrected by hand cannot be guaranteed. Aiming at the existing problems, the specification provides a technical scheme capable of accurately acquiring positioning information; specifically, the method comprises the following steps:
an embodiment of the present specification provides a positioning information updating method, which is applied to a first terminal, and as shown in fig. 2, the method includes:
s202, based on communication connection established with a second terminal, sending position updating request information to the second terminal;
specifically, based on the communication connection established between the first terminal and the second terminal, the user of the first terminal clicks an interface for selecting a location help request on the card client, so that location update request information is sent to the second terminal.
Correspondingly, step S202 is to send location update request information to the second terminal based on the communication connection established with the second terminal, and may include:
and acquiring a position help request.
In detail, the first terminal sends the location update request information to the second terminal under the trigger of the location help request.
Wherein the communication connection is a short-distance wireless communication connection mode; as shown in fig. 1, the first terminal 01 and the second terminal 02 are communicatively connected by a short-range wireless communication method. In detail, the short-distance wireless communication connection mode may include a bluetooth connection mode, a WIFI hotspot connection mode, a same WIFI access point connection mode, and a WIFI device direct connection mode.
Further, if the Bluetooth connection is used, the user of the first terminal and the user of the second terminal turn on the Bluetooth function of the respective devices; after finding the device symbol of the second terminal in the same row in the search list on the first terminal interface, the user of the first terminal selects the device symbol of the second terminal and inputs the verification information for establishing Bluetooth connection with the second terminal if necessary; and simultaneously, the user of the second terminal inputs corresponding Bluetooth connection verification information on the Bluetooth connection interface of the second terminal, so that the second terminal and the first terminal establish Bluetooth connection. The bluetooth connection may also be that after the user of the second terminal finds the device symbol of the first terminal in the same row in the search list on the second terminal interface, the device symbol of the first terminal is selected, and if necessary, verification information for establishing the bluetooth connection with the second terminal is input; meanwhile, the user of the first terminal inputs corresponding Bluetooth connection verification information on the Bluetooth connection interface of the first terminal, so that the first terminal and the second terminal establish Bluetooth connection.
Wherein, the Equipment symbol may be an Equipment name and/or an IMEI (International Mobile Equipment Identity); other symbol codes and the like that can be recognized by the device as well are also possible.
If the WIFI hotspot connection is achieved, the user of the first terminal opens the WIFI hotspot function on the first terminal, the user of the second terminal selects the WIFI account number of the first terminal in the same row in a search list of the second terminal, password information for establishing connection with the first terminal is input, and the first terminal and the second terminal are connected under the condition that the password information is verified successfully. The WIFI hotspot connection can also be realized by the way that the second terminal opens the WIFI hotspot function of the second terminal, and the first terminal selects and inputs password information for establishing connection with the second terminal, so that the WIFI hotspot connection function of the second terminal and the first terminal is established.
Certainly, the first terminal and the second terminal may also establish a communication connection by connecting to the same WIFI access point AP or directly connecting through WIFI equipment, which is not repeated herein.
Correspondingly, step S202 is to send location update request information to the second terminal based on the communication connection established with the second terminal, and may include:
and sending communication connection request information, and acquiring communication connection response information returned by the second terminal according to the communication connection request information.
It should be noted that, in the process of communication connection in this embodiment, after the user of the first terminal clicks the interface for selecting the location help request on the corresponding APP (for example, a card-punching client), the communication connection operation may be performed; in this case, too, a communication connection based on the setup can be realized, so that the location update request information is transmitted to the second terminal.
S204, acquiring target positioning information returned by the second terminal according to the position updating request information according to the communication connection;
specifically, after the second terminal receives a location update request sent by the first terminal, the second terminal responds to the location update request information and returns target positioning information according to the location update request information; and the target positioning information is the self-position information of the second terminal.
S206, updating the local original positioning information into the target positioning information.
Specifically, after receiving the target positioning information sent by the second terminal, the first terminal updates the locally obtained inaccurate original positioning information to the target positioning information.
In one possible embodiment, as shown in fig. 3, the method further comprises:
s208, after the target positioning information is updated successfully, generating card punching information according to the target positioning information; and sending the card punching information to a server.
Specifically, after the original positioning information of the first terminal is updated to the target positioning information, whether the target point positioning information is within a preset attendance checking range is judged, and if the target positioning information is within the preset attendance checking range, the first terminal generates card punching information according to the target positioning information, so that a user of the first terminal completes card punching operation; and meanwhile, the first terminal sends the card punching information to the server for relevant recording and storage of the card punching information.
In this embodiment, the user of the first terminal and the user of the second terminal belong to two users in the same row, and the second terminal can accurately acquire the positioning information of the second terminal.
An embodiment of the present specification provides a method for updating positioning information, which is applied to a second terminal, and as shown in fig. 4, the method includes:
s402, receiving position updating request information sent by a first terminal based on communication connection established with the first terminal;
specifically, based on the communication connection established between the first terminal and the second terminal, the user of the first terminal clicks an interface for selecting a location help-seeking request on the card client, and sends corresponding location update request information to the second terminal, and the second terminal receives the location update request information.
Correspondingly, step S402 receives the location update request information sent by the first terminal based on the communication connection established with the first terminal, and includes the following steps:
a location assistance request is obtained.
In detail, after receiving the location update request information sent by the first terminal, the second terminal may trigger the location assistance request by operating a button corresponding to the location assistance request on the second terminal interface by the user.
Wherein the communication connection is a short-distance wireless communication connection mode; as shown in fig. 1, the first terminal 01 and the second terminal 02 are communicatively connected by a short-range wireless communication method. In detail, the short-distance wireless communication connection mode may include a bluetooth connection mode, a WIFI hotspot connection mode, a same WIFI access point connection mode, and a WIFI device direct connection mode.
Further, if the Bluetooth connection is used, the user of the first terminal and the user of the second terminal turn on the Bluetooth function of the respective devices; after a user of a first terminal finds a device symbol of a second terminal in the same row in a search list on a first terminal interface, the user selects the device symbol of the second terminal and inputs verification information for establishing Bluetooth connection with the second terminal; and simultaneously, the user of the second terminal inputs corresponding Bluetooth connection verification information on the Bluetooth connection interface of the second terminal, so that the second terminal and the first terminal establish Bluetooth connection. The bluetooth connection may also be that after the user of the second terminal finds the device symbol of the first terminal in the same row in the search list on the second terminal interface, the device symbol of the first terminal is selected, and the verification information for establishing the bluetooth connection with the second terminal is input; meanwhile, the user of the first terminal inputs corresponding Bluetooth connection verification information on the Bluetooth connection interface of the first terminal, so that the first terminal and the second terminal establish Bluetooth connection.
Wherein, the Equipment symbol may be an Equipment name and/or an IMEI (International Mobile Equipment Identity); other symbol codes and the like that can be recognized by the device as well are also possible.
If the WIFI hotspot connection is achieved, the user of the first terminal opens the WIFI hotspot function on the first terminal, the user of the second terminal selects the WIFI account number of the first terminal in the same row in a search list of the second terminal, password information for establishing connection with the first terminal is input, and the first terminal and the second terminal are connected under the condition that the password information is verified successfully. The WIFI hotspot connection can also be realized by the way that the second terminal opens the WIFI hotspot function of the second terminal, and the first terminal selects and inputs password information for establishing connection with the second terminal, so that the WIFI hotspot connection function of the second terminal and the first terminal is established.
Certainly, the first terminal and the second terminal may also establish a communication connection by connecting to the same WIFI access point AP or directly connecting through WIFI equipment, which is not repeated herein. Correspondingly, step S402 receives the location update request information sent by the first terminal based on the communication connection established with the first terminal, and includes the following steps:
and receiving communication connection request information sent from the first terminal, and returning communication connection response information according to the communication connection request information.
It should be noted that, in the process of communication connection in this embodiment, after the user of the first terminal clicks the interface for selecting the location help request on the corresponding APP (for example, a card-punching client), the communication connection operation may be performed; in this case, too, a communication connection based on the setup can be realized, so that the location update request information is transmitted to the second terminal.
S404, based on the communication connection, sending target positioning information to the first terminal according to the position updating request information, so that the first terminal updates the local original positioning information into the target positioning information.
Specifically, after the second terminal receives a location update request sent by a first terminal, corresponding target positioning information is sent to the first terminal according to the location update request information, so that the first terminal updates local original positioning information into the target positioning information; and the target positioning information is the self-position information of the second terminal.
And after receiving the target positioning information sent by the second terminal, the first terminal updates the locally acquired inaccurate original positioning information into the target positioning information.
Further, after the original positioning information of the first terminal is successfully updated by the target positioning information, the first terminal generates card punching information according to the target positioning information, so that a user of the first terminal completes card punching operation. And meanwhile, the first terminal sends the card punching information to the server for relevant recording and storage of the card punching information.
In this embodiment, the user of the first terminal and the user of the second terminal belong to two users in the same row, and the second terminal can accurately acquire the positioning information of the second terminal.
In an embodiment of the present specification, after a first terminal and a second terminal establish a communication connection, the first terminal may send location update request information to the second terminal; after receiving the location updating request information, the second terminal can return target positioning information to the first terminal according to the location updating request information; and then the first terminal updates the original local positioning information into the target positioning information. The method and the device can update the first terminal to obtain accurate positioning information, wherein the target positioning information can be obtained based on the terminal equipment without the positioning function; in addition, the distance between the first terminal and the second terminal does not need to be judged in the process of acquiring the target positioning information, so that the method is more convenient and has stronger applicability.
An embodiment of the present specification provides a positioning information updating apparatus, as shown in fig. 5, the apparatus includes:
a location update request sending module 202, configured to send location update request information to a second terminal based on a communication connection established with the second terminal;
a target positioning information obtaining module 204, configured to obtain, according to the communication connection, target positioning information returned by the second terminal according to the location update request information;
and the target positioning information updating module 206 is configured to update the local original positioning information into the target positioning information.
In one embodiment, the apparatus further comprises:
and the request sending and responding module is used for sending the communication connection request information and acquiring the communication connection responding information returned by the second terminal according to the communication connection request information.
In one embodiment, the apparatus further comprises:
and the position help-seeking request sending module is used for acquiring the position help-seeking request.
Specifically, the target positioning information is self-position information of the second terminal.
In one embodiment, the apparatus further comprises:
the card punching information generation module is used for generating card punching information according to the target positioning information after the target positioning information is updated successfully; and sending the card punching information to a server.
Specifically, the communication connection is a short-range wireless communication connection mode.
It is to be noted that the described apparatus embodiments have the same inventive concept as the corresponding method embodiments described above.
An embodiment of the present specification provides a positioning information updating apparatus, as shown in fig. 6, the apparatus includes:
a location update request receiving module 402, configured to receive location update request information sent by a first terminal based on a communication connection established with the first terminal;
a target positioning information sending module 404, configured to send target positioning information to the first terminal according to the location update request information based on the communication connection, so that the first terminal updates local original positioning information to the target positioning information.
In one embodiment, the apparatus further comprises:
and the request receiving and responding module is used for receiving the communication connection request information sent from the first terminal and returning the communication connection responding information according to the communication connection request information.
In one embodiment, the apparatus further comprises:
the device comprises a position assistance request acquisition module used for acquiring a position assistance request.
Specifically, the target positioning information is self-position information of the second terminal.
Specifically, the communication connection is a short-range wireless communication connection mode.
It is to be noted that the described apparatus embodiments have the same inventive concept as the corresponding method embodiments described above.
An embodiment of the present specification provides a positioning information updating device, which 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 positioning information updating method applied to the first terminal as described above, or the positioning information updating method applied to the second terminal as described above.
Specifically, an embodiment of the present specification further provides a schematic structural diagram of a positioning information updating device, as shown in fig. 7, the device may be used to implement the positioning information updating method provided in the foregoing embodiment. Specifically, the method comprises the following steps:
the device may include RF (Radio Frequency) circuitry 810, memory 820 including one or more computer-readable storage media, input unit 830, display unit 840, sensor 850, audio circuitry 860, WiFi (wireless fidelity) module 870, processor 880 including one or more processing cores, and power supply 890. Those skilled in the art will appreciate that the configuration of the apparatus shown in fig. 7 is not intended to be limiting of the apparatus and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 810 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, for receiving downlink information from a base station and then processing the received downlink information by the one or more processors 880; in addition, data relating to uplink is transmitted to the base station. In general, RF circuitry 810 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (low noise amplifier), a duplexer, and the like. In addition, the RF circuit 810 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), email, SMS (Short Messaging Service), and the like.
The memory 820 may be used to store software programs and modules, and the processor 880 executes various functional applications and data processing by operating the software programs and modules stored in the memory 820. The memory 820 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, application programs required for functions, and the like; the storage data area may store data created according to use of the apparatus, and the like. Further, the memory 820 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 820 may also include a memory controller to provide the processor 880 and the input unit 830 access to the memory 820.
The input unit 830 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 830 may include a touch-sensitive surface 831 as well as other input devices 832. The touch-sensitive surface 831, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 831 (e.g., operations by a user on or near the touch-sensitive surface 831 using a finger, a stylus, or any other suitable object or attachment) and drive the corresponding connection device according to a predefined program. Alternatively, the touch-sensitive surface 831 can include two portions, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts it to touch point coordinates, and sends the touch point coordinates to the processor 880, and can receive and execute commands from the processor 880. In addition, the touch-sensitive surface 831 can be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 830 may include other input devices 832 in addition to the touch-sensitive surface 831. In particular, other input devices 832 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 840 may be used to display information input by or provided to a user and various graphical user interfaces of the device, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 840 may include a Display panel 841, and the Display panel 841 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like, as an option. Further, touch-sensitive surface 831 can overlay display panel 841 and, upon detecting a touch operation on or near touch-sensitive surface 831, communicate to processor 880 to determine the type of touch event, whereupon processor 880 can provide a corresponding visual output on display panel 841 in accordance with the type of touch event. Where touch-sensitive surface 831 and display panel 841 can be two separate components to implement input and output functions, touch-sensitive surface 831 can also be integrated with display panel 841 to implement input and output functions in some embodiments.
The device may also include at least one sensor 850, such as light sensors, motion sensors, and other sensors. In particular, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 841 based on the brightness of ambient light, and a proximity sensor that may turn off the display panel 841 and/or backlight when the device is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the device is stationary, and can be used for applications of recognizing the device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured to the device, detailed description is omitted here.
WiFi belongs to short-range wireless transmission technology, and the device can help users send and receive e-mails, browse web pages, access streaming media and the like through the WiFi module 870, and provides wireless broadband internet access for users. Although fig. 7 shows WiFi module 870, it is understood that it does not belong to the essential constitution of the device and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 880 is a control center of the apparatus, connects various parts of the entire apparatus using various interfaces and lines, performs various functions of the apparatus and processes data by operating or executing software programs and/or modules stored in the memory 820 and calling data stored in the memory 820, thereby monitoring the entire apparatus. Optionally, processor 880 may include one or more processing cores; preferably, the processor 880 may integrate an application processor, which mainly handles operating systems, user interfaces, applications, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 880.
The device also includes a power supply 890 (e.g., a battery) for powering the various components, which may be logically coupled to processor 880 via a power management system that may be used to manage charging, discharging, and power consumption. Power supply 890 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the device may further include a camera, a bluetooth module, etc., which will not be described herein. Specifically, in this embodiment, the display unit of the apparatus is a touch screen display, the apparatus further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors according to the instructions of the method embodiments of the present invention.
An embodiment of the present specification provides a computer-readable storage medium, wherein the storage medium 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 a processor to implement the method for updating location information as applied to the first terminal or the method for updating location information as applied to the second terminal.
It should be noted that: the sequence of the embodiments in this specification is merely for description, and does not represent the advantages or disadvantages 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.
In the embodiments of the present specification, it should be understood that the above-described client embodiments are only illustrative, for example, the division of the modules is only one logical function division, and in actual implementation, there may be another division manner, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. Some or all of the modules/units can be selected according to actual needs to achieve the purpose of implementing the scheme of the present disclosure, and the unit modules corresponding to the method can also be set according to the method to implement the functions corresponding to the method.
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 (14)
1. A method for updating positioning information is applied to a first terminal, wherein the first terminal is a mobile terminal, and the method comprises the following steps:
sending location update request information to a second terminal based on a communication connection established with the second terminal; according to the communication connection, target positioning information returned by the second terminal according to the position updating request information is obtained;
updating local original positioning information into the target positioning information, wherein the local original positioning information is inaccurate original positioning information of the first terminal;
after the target positioning information is updated successfully, generating card punching information according to the target positioning information; and sending the card punching information to a server.
2. The method according to claim 1, wherein the sending the location update request information to the second terminal based on the communication connection established with the second terminal previously comprises:
and sending communication connection request information, and acquiring communication connection response information returned by the second terminal according to the communication connection request information.
3. The method according to claim 1, wherein the sending the location update request information to the second terminal based on the communication connection established with the second terminal previously comprises:
and acquiring a position help request.
4. The method according to any of claims 1 to 3, wherein the target positioning information is self-location information of the second terminal.
5. A method for updating location information according to any of claims 1-3, wherein said communication connection is a short-range wireless communication connection.
6. A method for updating positioning information is characterized in that the method is applied to a second terminal; the method comprises the following steps:
receiving location updating request information sent by a first terminal based on communication connection established with the first terminal, wherein the first terminal is a mobile terminal;
and based on the communication connection, sending target positioning information to the first terminal according to the position updating request information, so that the first terminal updates local original positioning information into the target positioning information, the local original positioning information is inaccurate original positioning information of the first terminal, after the target positioning information is updated successfully, generating card punching information according to the target positioning information, and sending the card punching information to a server.
7. The method according to claim 6, wherein the receiving location update request information sent by the first terminal based on the communication connection established with the first terminal previously comprises:
and receiving communication connection request information sent from the first terminal, and returning communication connection response information according to the communication connection request information.
8. The method according to claim 6, wherein the receiving location update request information sent by the first terminal based on the communication connection established with the first terminal previously comprises:
a location assistance request is obtained.
9. The method according to any of claims 6 to 8, wherein the target positioning information is self-location information of the second terminal.
10. The method according to any of claims 6-8, wherein the communication connection is a short-range wireless communication connection.
11. A positioning information updating device is characterized by being arranged on a first terminal, wherein the first terminal is a mobile terminal; the device comprises:
a location update request sending module, configured to send location update request information to a second terminal based on a communication connection established with the second terminal; a target positioning information obtaining module, configured to obtain, according to the communication connection, target positioning information returned by the second terminal according to the location update request information;
the target positioning information updating module is used for updating local original positioning information into the target positioning information, wherein the local original positioning information is inaccurate original positioning information of the first terminal;
the card punching information generation module is used for generating card punching information according to the target positioning information after the target positioning information is updated successfully; and sending the card punching information to a server.
12. A positioning information updating apparatus, comprising:
a location update request receiving module, configured to receive location update request information sent by a first terminal based on a communication connection established with the first terminal, where the first terminal is a mobile terminal;
and the target positioning information sending module is used for sending target positioning information to the first terminal based on the communication connection and according to the position updating request information, so that the first terminal updates local original positioning information into the target positioning information, the local original positioning information is inaccurate original positioning information of the first terminal, after the target positioning information is updated successfully, card punching information is generated according to the target positioning information, and the card punching information is sent to a server.
13. A positioning information updating device, characterized in that the device comprises a processor and a memory, in which at least one instruction, at least one program, set of codes or set of instructions is stored, which is loaded and executed by the processor to implement the positioning information updating method according to any one of claims 1 to 5 or the positioning information updating method according to any one of claims 6 to 10.
14. A computer-readable storage medium, wherein at least one instruction, at least one program, a set of codes, or a set of instructions is stored in the storage medium, and the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by a processor to implement the positioning information updating method according to any one of claims 1 to 5, or the positioning information updating method according to any one of claims 6 to 10.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811343221.3A CN109348425B (en) | 2018-11-13 | 2018-11-13 | Positioning information updating method, device, equipment and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811343221.3A CN109348425B (en) | 2018-11-13 | 2018-11-13 | Positioning information updating method, device, equipment and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN109348425A CN109348425A (en) | 2019-02-15 |
| CN109348425B true CN109348425B (en) | 2021-01-01 |
Family
ID=65315149
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201811343221.3A Active CN109348425B (en) | 2018-11-13 | 2018-11-13 | Positioning information updating method, device, equipment and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN109348425B (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110381435A (en) * | 2019-05-31 | 2019-10-25 | 菜鸟智能物流控股有限公司 | Positioning system and method of internet of things device and electronic device |
| CN111402443B (en) * | 2020-04-30 | 2022-05-17 | 宁波市交建工程监理咨询有限公司 | Supervision attendance method, client and storage medium thereof |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7911382B2 (en) * | 2008-09-15 | 2011-03-22 | Sony Ericsson Mobile Communications Ab | System and method of transferring location assistance information between electronic devices |
| KR20130070314A (en) * | 2011-12-19 | 2013-06-27 | 엘지전자 주식회사 | Mobile terminal and location information service system using mobile terminal |
| CN102904974A (en) * | 2012-09-28 | 2013-01-30 | 腾讯科技(深圳)有限公司 | Method for obtaining location of terminal, related device and system |
| CN104519566B (en) * | 2013-09-26 | 2019-01-04 | 中兴通讯股份有限公司 | A kind of terminal auxiliary wireless location method and device |
| CN103974231B (en) * | 2014-05-21 | 2017-10-03 | 中国联合网络通信集团有限公司 | Location updating method and mobile terminal |
| CN107450088B (en) * | 2017-06-08 | 2021-05-14 | 百度在线网络技术(北京)有限公司 | Location-based service LBS augmented reality positioning method and device |
| CN108680896B (en) * | 2018-05-04 | 2020-10-02 | 苏州达家迎信息技术有限公司 | Positioning information correction method, device, storage medium and equipment |
-
2018
- 2018-11-13 CN CN201811343221.3A patent/CN109348425B/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| CN109348425A (en) | 2019-02-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN107094294B (en) | Network connection method and device | |
| CN113489630A (en) | Network distribution method, device, storage medium and electronic terminal | |
| CN106162811B (en) | Method and device for establishing network connection | |
| CN108668328B (en) | A kind of network switching method and mobile terminal | |
| CN110022405B (en) | Radio frequency parameter adjusting method, device and storage medium | |
| CN111966373B (en) | APN resetting method, terminal equipment and storage medium | |
| CN109495769B (en) | Video communication method, terminal, smart television, server and storage medium | |
| CN104901992B (en) | A kind of method and apparatus of resource transfers | |
| CN109348425B (en) | Positioning information updating method, device, equipment and storage medium | |
| CN107317828B (en) | File downloading method and device | |
| CN106470234B (en) | Equipment discovery method and device | |
| CN105577712B (en) | A kind of file uploading method, device and system | |
| CN112749074A (en) | Test case recommendation method and device | |
| CN108234275B (en) | Method and device for releasing communication information | |
| CN107426813B (en) | Network information display method and device | |
| CN111954193B (en) | Bluetooth equipment connection detection method and device and mobile terminal | |
| CN114189436B (en) | Multi-cluster configuration deployment method and device, electronic equipment and storage medium | |
| CN105635379B (en) | Noise suppression method and device | |
| CN106209601B (en) | State update message pushing method and device | |
| CN111225105A (en) | Method for controlling screen work, mobile terminal and storage medium | |
| CN104836698A (en) | Method monitoring network environment and device | |
| CN109688548B (en) | VOLTE frequency band sharing method, server, mobile terminal and storage medium | |
| CN113873685A (en) | WiFi direct connection establishment method, device and equipment | |
| CN112782680A (en) | Search and rescue positioning method and device and storage medium | |
| CN112214699A (en) | Page processing method and related device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |