CN108810806B - Positioning information correction method, client, storage medium and equipment - Google Patents

Positioning information correction method, client, storage medium and equipment Download PDF

Info

Publication number
CN108810806B
CN108810806B CN201810419944.0A CN201810419944A CN108810806B CN 108810806 B CN108810806 B CN 108810806B CN 201810419944 A CN201810419944 A CN 201810419944A CN 108810806 B CN108810806 B CN 108810806B
Authority
CN
China
Prior art keywords
positioning information
positioning
information
correction
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
CN201810419944.0A
Other languages
Chinese (zh)
Other versions
CN108810806A (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.)
Shanghai Dajiaying Information Technology Co Ltd
Suzhou Dajiaying Information Technology Co Ltd
Original Assignee
Shanghai Dajiaying Information Technology Co Ltd
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 Shanghai Dajiaying Information Technology Co Ltd, Suzhou Dajiaying Information Technology Co Ltd filed Critical Shanghai Dajiaying Information Technology Co Ltd
Priority to CN201810419944.0A priority Critical patent/CN108810806B/en
Publication of CN108810806A publication Critical patent/CN108810806A/en
Application granted granted Critical
Publication of CN108810806B publication Critical patent/CN108810806B/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/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • H04W64/006Locating users or terminals or network equipment for network management purposes, e.g. mobility management with additional information processing, e.g. for direction or speed determination

Landscapes

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

Abstract

The invention provides a positioning information correction method, a client, a storage medium and a device, which further obtain positioning information near the preliminary positioning information according to the selection of a user on the basis of obtaining the preliminary positioning information, submit the positioning information to a server for comparison and judgment, confirm whether the new positioning information selected by the user can be accepted, and further determine whether the positioning is successful, so that the position in a target area range is positioned, the problem of inaccurate positioning of a mobile terminal is solved, and the positioning accuracy of the mobile terminal is improved. This is disclosed to be applicable to user's mobile terminal location and has the deviation, but the little condition of deviation specifically can be applied to application fields such as user's attendance of checking card, outdoor exercises.

Description

Positioning information correction method, client, storage medium and equipment
Technical Field
The present disclosure relates to the field of positioning technologies, and in particular, to a method, a client, a storage medium, and a device for correcting positioning information.
Background
LBS (Location-based Service), the Chinese language is a "Location-based Service", as the name suggests, it needs to use technology to locate the Location of the user, and then provide various value-added services after Location.
With the rapid development of the china mobile internet and the increase of smart phone users, people increasingly rely on location-based services, for example, mobile terminals share landscapes, gourmets and the like of the current location through the network in real time, especially young generation consumers, and even positioning places where people want to share pictures and the like can be accurate to specific streets, storefronts and the like.
At present, through big dipper location, be used to lead location, GPS location, carry out mode such as location or the means that each mode combined together with the help of the sensor, can realize indoor outer omnidirectional location, can realize the data interconnection function with cell-phone APP, high in the clouds backstage simultaneously, promote the application and the development of location technique and thing allies oneself with the technique, facilitate for people's life.
However, when the mobile terminal itself has a problem that the positioning is inaccurate (for example, the positioning of the mobile terminal is single), or when the positioning signal is not good in the open air or in the field, the positioning is inaccurate, and therefore, a further solution to the problem that the mobile terminal cannot be accurately positioned in some cases is to be proposed.
Disclosure of Invention
The disclosure provides a positioning information correction method, a client, a storage medium and a device, after a mobile terminal is initially positioned, a position near an initial positioning position is determined according to the selection of a user, so that the position in a target area range is positioned, the problem of inaccurate positioning of the mobile terminal is solved, and the positioning accuracy of the mobile terminal is improved. The disclosure is realized by the following technical scheme:
in a first aspect, the present disclosure provides a method for correcting positioning information, including:
acquiring first positioning information;
receiving a position selection request instruction, and acquiring second positioning information according to the position selection request instruction;
sending the first positioning information and the second positioning information to a server;
receiving response information returned by the server according to a comparison result of a distance value calculated by the first positioning information and the second positioning information and a preset distance threshold;
and when the response information is the correction success information, determining the second positioning information as correct positioning information.
In a second aspect, the present disclosure provides a client, comprising:
the first acquisition module is used for acquiring first positioning information;
the second acquisition module is used for receiving the position selection request instruction and acquiring second positioning information according to the position selection request instruction;
a sending module, configured to send the first positioning information and the second positioning information to a server;
the receiving module is used for receiving response information returned by the server according to a comparison result of a distance value obtained by calculation of the first positioning information and the second positioning information and a preset distance threshold value;
and the determining module is used for determining the second positioning information as correct positioning information when the response information is the correction success information.
The second obtaining module includes:
and the request instruction receiving module is used for receiving a position selection request instruction for selecting a position near the first positioning information, wherein the position selection request instruction comprises manual clicking and/or moving a map for position selection.
The correction times statistic value acquisition module is used for sending and acquiring the correction times statistic value in the current first time period to the server and receiving the correction times statistic value returned by the server; when the correction times statistic value is smaller than the positioning correction times threshold value, second positioning information is obtained according to the position selection request instruction; and when the correction times statistic value is larger than or equal to the positioning correction times threshold value, prompting that the correction times in the current first time period reach the maximum value, and rejecting the position selection request.
And the preset action execution module is used for executing preset actions, and the preset actions comprise card punching, sign-in, marking and registering.
In a third aspect, the present disclosure provides a computer-readable storage medium having stored therein at least one instruction, at least one program, code set, or instruction set, which is loaded and executed by the processor to implement the positioning information correction method according to the first aspect.
In a fourth aspect, the present disclosure provides an apparatus for positioning information correction, the apparatus 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 positioning information correction method according to the first aspect.
The beneficial effects of this disclosure are:
the utility model provides a location information correction method, customer end, storage medium and equipment, through on the basis of obtaining the preliminary location information of mobile terminal, further obtain the location information near this preliminary location information according to the selection of user, submit the server and carry out the comparison, thereby confirm whether this new location information that the user selected can accept, thereby judge whether location is successful, thereby fix a position to the position in the target area scope, solved the inaccurate problem of mobile terminal location, promoted the accuracy nature of mobile terminal location.
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 first flowchart of a method for correcting positioning information according to an embodiment of the disclosure;
fig. 2 is a second flowchart of a positioning information correction method provided by an embodiment of the present disclosure;
fig. 3 is a schematic diagram of a first map display of a positioning information correction method according to an embodiment of the disclosure;
fig. 4 is a third flowchart of a positioning information correction method provided by an embodiment of the present disclosure;
fig. 5 is a second map display diagram of a positioning information correction method provided by the embodiment of the present disclosure;
fig. 6 is a fourth flowchart of a positioning information correction method provided by an embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a client provided in 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.
Please refer to fig. 1, which is a first flowchart of a positioning information correction method according to an embodiment of the present disclosure, the method includes:
and step S101, acquiring first positioning information.
Step S102, receiving a position selection request instruction, and acquiring second positioning information according to the position selection request instruction.
Step S103, sending the first positioning information and the second positioning information to a server.
And step S104, receiving response information returned by the server according to a comparison result between the distance value obtained by the calculation of the first positioning information and the second positioning information and a preset distance threshold value.
And step S105, when the response information is the correction success information, determining the second positioning information as correct positioning information.
The utility model provides a location information correction method, customer end, storage medium and equipment, through on the basis of obtaining the preliminary location information of mobile terminal, further obtain the location information near this preliminary location information according to the selection of user, submit the server and carry out the comparison, thereby confirm whether this new location information that the user selected can accept, thereby judge whether location is successful, thereby fix a position to the position in the target area scope, solved the inaccurate problem of mobile terminal location, promoted the accuracy nature of mobile terminal location. The method is suitable for the situation that the positioning of the mobile phone of the user has deviation but the deviation is not large.
Please refer to fig. 2 and fig. 3, which are a second flowchart and a first map display diagram of a positioning information correction method according to an embodiment of the present disclosure, the method includes:
step S2001, the client side initiates a positioning function authorization request to a system background, the system background generates whether to authorize the positioning function prompting information according to the positioning function authorization request, displays whether to authorize the positioning function prompting information on the application program interface, and receives an instruction of determining the authorized positioning function.
In order to prevent the application program from maliciously positioning the position of the mobile terminal and invading the privacy of the user, the application program is required to be utilized to position the mobile terminal under the authorization of the user.
The step can also be that the reminding information of whether the positioning function is authorized or not is directly sent, and the instruction of determining the authorized positioning function is received.
Step S2002, the client sends a prompt message for opening all or part of the positioning modes of the mobile terminal.
In this step, all positioning methods include: any one or combination of a plurality of GPS positioning, base station positioning, and positioning using wireless APs.
And the user opens all or part of the positioning modes of the mobile terminal according to the reminding information so as to further realize the positioning function, or opens only part of the positioning modes in consideration of saving the power consumption of the mobile terminal.
Step S2003, the server side presets a number threshold of target positioning points within a first time period threshold, a positioning correction number threshold, and a preset target area range.
The number of the target positioning points is one or more. When the number of the target positioning points is one, the positioning correction time threshold is the positioning correction time threshold of a single point; when the number of the target positioning points is multiple, the positioning correction time threshold is the positioning correction time threshold of each point and/or the positioning correction total time threshold of all the points. Before the acquiring the first positioning information, the method further includes: and presetting the positioning sequence of each target positioning point. Specifically, if the card is used in a card punching scene, the correction times in one day can be set to be less than 5 times, and if the correction times are greater than or equal to 5 times, the positioning correction is not accepted; if the positioning point number is used in a directional cross-country scene, the number of the positioning points is multiple, the positioning time period and the number of times of each positioning point can be set, for example, the threshold of the positioning correction time of each positioning point within 20 minutes after the initial position correction is set as 5 times, the total positioning time period and the total positioning time of all the positioning points can also be set, for example, the threshold of the positioning correction time of all the positioning points within 4 hours after the initial position correction is set as 15 times, if the threshold exceeds the threshold, the card punching is not accepted, and the positioning sequence of each positioning point is set. The number threshold of the target positioning points, the positioning correction time threshold and the preset target area range within the preset first time period threshold can be specifically set according to the needs of a user at the server side, and the preset target area range can be an area formed by enclosing regular integrated graphs such as circles, sectors and triangles, and can also be an area formed by enclosing graphs formed by irregular curves and straight lines.
The execution sequence of the steps S2001 to S2003 is not fixed, and only needs to be set before the subsequent positioning step or the comparison step is executed, and the specific execution timing may be set according to actual needs.
Step S201, acquiring first positioning information.
The mobile terminal can be located by any location method opened in step S2001, so as to obtain location information of the current location of the mobile terminal. The positioning information includes: the latitude and longitude, the number of the doorplate, the road name and number and the building name can be flexibly set according to the positioning requirements of the user or the combination of various information.
The mobile terminal displays the first positioning information on the map, and may specifically use any one or a combination of several of a dot, a small triangle, an arrow, and a probe to indicate, which is not specifically limited herein, and at this time, if the user directly performs the preset action, the step S202 is not performed. When the user directly executes the preset action, the first positioning information is sent to the server, the server judges whether the first positioning information is in the range of the preset target positioning area or not, and returns a judgment result, if the returned judgment result is in the range of the preset target positioning area, the client prompts to execute the record of the preset action and the execution of the preset action to be effective, if the returned judgment result is not in the range of the preset target positioning area, the client prompts to execute the record of the preset action and the execution of the preset action to be ineffective, and the process is ended. The record of executing the preset action includes, but is not limited to, a type, time, and location information of executing the preset action, where the type of the preset action may specifically be card punching, check-in, marking, registering, and the like, the execution of the preset action may be valid in a location, and the invalidation of the execution of the preset action may be invalid in the location.
Step S202, receiving a position selection request instruction, and acquiring second positioning information according to the position selection request instruction.
Specifically, a position selection request instruction for position selection near the first positioning information is received, and the position selection request instruction comprises manual clicking and/or moving a map for position selection. Specifically, after step S201, the user directly touches and slides the screen of the mobile terminal to update the currently displayed map, so as to perform positioning again, or directly perform click positioning on the screen of the mobile terminal, or perform click positioning after sliding the screen of the mobile terminal, so as to obtain the second positioning information, so as to obtain more accurate positioning information. The map specifically includes: a map within a preset distance threshold range around the first positioning information.
The map displayed for the user is in a certain area range, so that the second positioning information selected by the user can be ensured not to deviate from the original first positioning information too far, and meanwhile, the user can conveniently and correctly send a position selection request instruction. For example, when information such as a check-in and a card-punching of a user needs to be determined by the positioning information, if the second positioning information is too far away from the first positioning information, the user may falsely check-in and card-punching, which may damage the benefits of other leaders and employees of an enterprise, a private boss, and the like, and cause bad social influence. Specifically, the preset area threshold value can be set to be 1 km, and can also be flexibly set according to actual needs.
Specifically, the mobile terminal displays the second positioning information on a map, and may specifically indicate the second positioning information by using any one or a combination of a dot, a small triangle, an arrow, or a probe, which is not specifically limited herein.
In step S202, after receiving the position selection request instruction and before acquiring the second positioning information according to the position selection request instruction, the method further includes sending the correction number statistics value acquired in the current first time period to the server, and receiving the correction number statistics value returned by the server. And when the correction time statistic is less than the positioning correction time threshold, acquiring second positioning information according to the position selection request instruction, and when the correction time statistic is greater than or equal to the positioning correction time threshold, prompting that the correction time in the current first time period reaches the maximum value, and rejecting the position selection request. For example, the preset positioning correction time threshold may be set to 15 times in a day, when the number of accumulated correction times reaches 15 times in the day, the positioning correction request, i.e., the position selection request, received thereafter is rejected, and when the preset positioning correction time threshold is reached, a prompt that the number of times of positioning correction information in the day reaches an upper limit is returned, so as to prevent the user from modifying the positioning address maliciously.
Step S203, sending the first positioning information and the second positioning information to a server.
Step S204, receiving response information returned by the server according to the comparison result of the distance value calculated by the first positioning information and the second positioning information and a preset distance threshold value.
Specifically, the server calculates a linear distance between the first positioning information and the second positioning information according to the first positioning information and the second positioning information; comparing the linear distance with a preset distance threshold; when the linear distance is less than or equal to a preset distance threshold, returning correction success information, and counting the correction success times to obtain a correction times counting value; otherwise, returning the information of unsuccessful correction.
Further, the server can calculate a linear distance between the first positioning information and the second positioning information according to the first positioning information and the second positioning information; comparing the linear distance with a preset distance threshold value, and judging whether the second positioning information is in a preset target positioning area range; when the linear distance is smaller than or equal to a preset distance threshold and the second positioning information is within the range of the target positioning area, returning correction success information, and counting the correction success times to obtain a correction times counting value; otherwise, returning the information of unsuccessful correction.
The preset distance threshold value can be set to be 500 meters, and can also be flexibly set according to actual needs. For example, the strength of the received GPS signal may be determined, if the GPS signal is strong, it may indicate that the GPS positioning is accurate, the preset distance threshold may be set to a smaller value, for example, the preset distance threshold is set to 200 meters, if the GPS signal is weak (for example, in an indoor place, an underground parking lot, or the like), it may indicate that the GPS positioning is inaccurate, and the preset distance threshold may be set to a larger value, for example, the preset distance threshold is set to 500 meters; or the number of base stations near the terminal is searched by the terminal, if the number of base stations is more than that which indicates that the LBS location is accurate, the preset distance threshold may be set to a smaller value, for example, if the number of base stations searched by the terminal is 4, the preset distance threshold is set to 200 meters, if the number of base stations is less than that which indicates that the LBS location is not accurate, the preset distance threshold may be set to a larger value, for example, if the number of base stations searched by the terminal is 2, the preset distance threshold is set to 500 meters; the two manners can also be combined, and the final preset distance threshold value is determined according to the respective weights. Specifically, upon receiving the location selection request instruction, the terminal may transmit the received GPS signal and the number of searched base stations to the server, and the server sets the preset distance threshold.
Step S205, when the response information is the correction success information, determining the second positioning information as correct positioning information.
And when the response information returned by the server according to the comparison result of the distance value calculated by the first positioning information and the second positioning information and the preset distance threshold is the correction success information, determining that the second positioning information is the correct positioning information.
Because position location is often used in scenes of realizing attendance card punching, directional cross-country, field games and the like, generally one or more target area ranges for punching cards, namely specific positions of enterprises, shops and the like and areas nearby the specific positions are set, a check-in or card punching button is displayed for a user, and if the first positioning information is in the target area range, the user clicks the check-in or card punching button, the success of punching cards is directly confirmed; if the first positioning information is not in the target area range, the user continues to acquire the second positioning information by clicking other positioning points and/or moving maps, the specific acquisition method is as described in the previous step, and the server compares and judges whether the second positioning information is acceptable, and then prompt information allowing modification is returned to the user. And then the user further clicks a sign-in or card punching button to realize successful card punching.
The present disclosure can be used in scenes such as attendance, card-punching, sign-in, etc., and also can be used in scenes of activities such as going out for exercise, working, participating in games, etc., which are not listed one by one, and therefore, the protection scope of the present disclosure is not limited, and other related method concepts are all within the protection scope of the present disclosure. Specifically, the above-mentioned office card-reading check-in scene is described as an example, please refer to fig. 3, a user arrives near a working place to perform positioning, and first positioning information (longitude and latitude C) of a point C of a first positioning point is obtained, the point C does not belong to a target area range D (D is an area where a circle with the radius of 1 kilometer is used as the center of the longitude and latitude a of an office building of an enterprise a), in order to prevent the user from taking a rush to card and go to work, and multiple times of unsuccessful positioning occur, which results in a impatient mood of the user, and directly abandons card-reading, or the user can not successfully read the card because the positioning position is inaccurate, and regards as an invalid card-reading record, deducts attendance or wages, and the like, the disclosed method modifies an original positioning position by adopting second positioning information (longitude and latitude B) of a point B of a second positioning point selected manually by the user, the point B belongs to the target area range, and the distance between the point B and the point C is less than or equal to a preset distance of 500 meters, thereby finally confirming the successful card punching. Therefore, the problem of inaccurate positioning of the mobile phone is solved by manually correcting the position information. The card punching mentioned in the present disclosure is only an example in the specific embodiment, and it may also be operations such as check-in, marking, registering, etc., and may be adjusted according to the specific application scenario.
Please refer to fig. 4 and 5, which are a third flowchart and a second map display diagram of a positioning information correction method according to an embodiment of the disclosure, the method includes:
step S3001 to step S3003 are the same as step S2001 to step S2003, and are not described herein again.
Step S301 to step S305 are the same as step S201 to step 205, and are not described herein again.
Step S306, executing a preset action according to the correct positioning information determined in step S305, and receiving a judgment result that the server judges whether the second positioning information is within the range of the preset target positioning area.
In this step, the determination result is that the second positioning information is within the preset target positioning area range, or the second positioning information is not within the preset target positioning area range.
Step S307, when the judgment result is that the second positioning information is in the target positioning area range, prompting to execute a record of a preset action and effectively executing the preset action; and when the judgment result is that the second positioning information is not in the range of the target positioning area, prompting to execute the record of the preset action and invalid to execute the preset action, and returning to the step S301.
The present disclosure can be used in scenes such as attendance, card-punching, sign-in, etc., and also can be used in scenes of activities such as going out for sports, working, participating in games (oriented cross-country, field games, etc.), etc., which are not listed one by one, and therefore do not limit the protection scope of the present disclosure, and other related method concepts are within the protection scope of the present disclosure. Specifically, the description is given by taking the example of the attendance scene of the office attendance, specifically, the first time of positioning information error, the positioning information correction is needed again or repeatedly, please refer to fig. 5, the user arrives at the point B (longitude and latitude B) near the work place to perform positioning, the first positioning information (longitude and latitude C) of the point C of the first positioning point is obtained, because the user can directly see that the first positioning information is wrong positioning information from the map, the user manually selects a B point or an E point of a second positioning point and obtains second positioning information (longitude and latitude B or E), the server judges whether the distance between the C point and the B point or the E point is less than or equal to the preset distance of 500 meters, if so, the card punching action is executed, then, it is determined whether the point B or the point E is within the range of D, for example, if the point B is the point B, the result of the card punching is indicated to be valid, and if the point E is the point E, the step S301 is returned to obtain the first position again. Therefore, the problem of inaccurate positioning of the mobile phone is solved by manually correcting the position information. The card punching mentioned in the present disclosure is only an example in the specific embodiment, and it may also be operations such as check-in, marking, registering, etc., and may be adjusted according to the specific application scenario.
In summary, in the embodiment, after the user uses the client to perform positioning to obtain the first positioning information, the user considers that the positioning information needs to be corrected, then manually obtains the second positioning information, compares the distance between the first positioning information and the second positioning information with the preset distance threshold, and does not perform the preset action again for the second positioning information until the distance between the first positioning information and the second positioning information is less than or equal to the preset distance threshold, so as to prompt that the execution of the preset action is successful, and then determines whether the second positioning information is within the preset target area range, so as to determine whether the execution of the preset action is effective. The method and the device can realize multiple correction of the positioning information until the positioning information meets the preset condition, thereby solving the problem of inaccurate positioning of the mobile terminal.
Please refer to fig. 6 and 5, which are a fourth flowchart and a second map display diagram of a positioning information correction method according to an embodiment of the disclosure, the method includes:
step S4001-step S4003 are the same as step S2001-step 2003, and are not described in detail herein.
Steps S401 to S403 are the same as steps S201 to S203, and are not described again here.
Step S404, receiving response information returned by the server according to a comparison result between a distance value calculated by the first positioning information and the second positioning information and a preset distance threshold value, and a relationship between the second positioning information and a preset target positioning area range.
Specifically, the server calculates a linear distance between the first positioning information and the second positioning information according to the first positioning information and the second positioning information, compares the linear distance with a preset distance threshold, and judges whether the second positioning information is within a preset target positioning area range; when the linear distance is smaller than or equal to a preset distance threshold and the second positioning information is within the range of the target positioning area, returning correction success information, and counting the correction success times to obtain a correction times counting value; otherwise, returning the information of unsuccessful correction.
The preset distance threshold value can be set to be 500 meters, and can also be flexibly set according to actual needs. For example, the strength of the received GPS signal may be determined, if the GPS signal is strong, it may indicate that the GPS positioning is accurate, the preset distance threshold may be set to a smaller value, for example, the preset distance threshold is set to 200 meters, if the GPS signal is weak (for example, in an indoor place, an underground parking lot, or the like), it may indicate that the GPS positioning is inaccurate, and the preset distance threshold may be set to a larger value, for example, the preset distance threshold is set to 500 meters; or the number of base stations near the terminal is searched by the terminal, if the number of base stations is more than that which indicates that the LBS location is accurate, the preset distance threshold may be set to a smaller value, for example, if the number of base stations searched by the terminal is 4, the preset distance threshold is set to 200 meters, if the number of base stations is less than that which indicates that the LBS location is not accurate, the preset distance threshold may be set to a larger value, for example, if the number of base stations searched by the terminal is 2, the preset distance threshold is set to 500 meters; the two manners can also be combined, and the final preset distance threshold value is determined according to the respective weights. Specifically, upon receiving the location selection request instruction, the terminal may transmit the received GPS signal and the number of searched base stations to the server, and the server sets the preset distance threshold.
Step S405, when the response information is correction success information, determining the second positioning information as correct positioning information, and executing a preset action; and returning to the step S402 when the response information is unsuccessful correction information.
In this step, when the response information is that the correction is unsuccessful, which indicates that the second positioning information does not meet the preset condition, the process returns to step S402 to obtain the second positioning information again, and perform the positioning information correction again, until the second positioning information meets the preset condition, the preset action is not executed.
The present disclosure can be used in scenes such as attendance, card-punching, sign-in, etc., and also can be used in scenes of activities such as going out for sports, working, participating in games (oriented cross-country, field games, etc.), etc., which are not listed one by one, and therefore do not limit the protection scope of the present disclosure, and other related method concepts are within the protection scope of the present disclosure. Taking a case of a check-in and check-in scene of a shift in work as an example, specifically, referring to fig. 5, a user arrives at a point B (longitude and latitude B) near a work place to perform positioning to obtain first positioning information (longitude and latitude C) of a point C of a first positioning point, since the user can directly see that the first positioning information is wrong positioning information from a map, if the point B of a second positioning point is manually selected and second positioning information (longitude and latitude B) is obtained, the server determines whether the distance between the point C and the point B is less than or equal to a preset distance of 500 m and determines whether the point E is within the range of D, if both conditions are met, the card-checking action is performed, if the point E of the second positioning point is manually selected and second positioning information (longitude and latitude E) is obtained, the server determines whether the distance between the point C and the point E is less than or equal to the preset distance of 500 m and determines whether the point E is within the range of D, at this time, although the distance between the point C and the point E is 500 m or less, the point E is not within the range of D, and therefore, the step S402 is returned to reselect the second position. Therefore, the problem of inaccurate positioning of the mobile phone is solved by manually correcting the position information. The card punching mentioned in the present disclosure is only an example in the specific embodiment, and it may also be operations such as check-in, marking, registering, etc., and may be adjusted according to the specific application scenario.
In summary, in the embodiment, after the user uses the client to perform positioning to obtain the first positioning information, the user thinks that the positioning information needs to be corrected, the user manually obtains the second positioning information, compares the distance between the first positioning information and the second positioning information with the preset distance threshold, and determines whether the second positioning information is within the preset target area range, and performs the preset action on the second positioning information until the distance between the first positioning information and the second positioning information is less than or equal to the preset distance threshold and the second positioning information is within the preset target area range, and determines that the execution of the preset action is effective. The method and the device can realize multiple correction of the positioning information until the positioning information meets the preset condition, thereby solving the problem of inaccurate positioning of the mobile terminal.
Please refer to fig. 7, which is a schematic structural diagram of a client according to an embodiment of the present disclosure, where the client includes:
a first obtaining module 10, configured to obtain first positioning information;
a second obtaining module 11, configured to receive a position selection request instruction, and obtain second positioning information according to the position selection request instruction;
a sending module 12, configured to send the first positioning information and the second positioning information to a server;
a receiving module 13, configured to receive response information returned by the server according to a comparison result between a distance value obtained by calculating according to the first positioning information and the second positioning information and a preset distance threshold;
a determining module 14, configured to determine the second positioning information as correct positioning information when the response information is correction success information.
And the positioning function authorization determining module 15 is configured to initiate a positioning function authorization request to a system background, where the system background generates a reminding message of whether to authorize the positioning function according to the positioning function authorization request, displays the reminding message of whether to authorize the positioning function on the application program interface, and receives an instruction for determining the authorized positioning function selected by the user.
A reminding module 16, configured to send reminding information for opening all or part of the positioning modes of the mobile terminal to the user, where the all positioning modes include: one or more of GPS location, base station location, and a way of locating with a wireless AP.
And the presetting module is used for presetting the number threshold value and the positioning correction time threshold value of the target positioning points within the first time period threshold value.
The number of the target positioning points is one or more. When the number of the target positioning points is one, the positioning correction time threshold is the positioning correction time threshold of a single point; when the number of the target positioning points is multiple, the positioning correction time threshold is a positioning correction total time threshold of all the points, and before the acquiring the first positioning information, the method further includes: and presetting the positioning sequence of each target positioning point.
And the display module is used for displaying prompt information of whether to execute a preset action and displaying the first positioning information and/or the second positioning information on a map.
The second obtaining module 11 is specifically configured to receive a location selection request instruction near the first positioning information, where the location selection request instruction includes a manual click or a moving map for location selection.
The positioning information includes: longitude and latitude, house number, and building name.
The second obtaining module includes:
and the request instruction receiving module is used for receiving a position selection request instruction for selecting a position near the first positioning information, wherein the position selection request instruction comprises manual clicking and/or moving a map for position selection.
The correction times statistic value acquisition module is used for sending and acquiring the correction times statistic value in the current first time period to the server and receiving the correction times statistic value returned by the server; when the correction times statistic value is smaller than the positioning correction times threshold value, second positioning information is obtained according to the position selection request instruction; and when the correction times statistic value is larger than or equal to the positioning correction times threshold value, prompting that the correction times in the current first time period reach the maximum value, and rejecting the position selection request.
And the preset action execution module is used for executing preset actions, and the preset actions comprise card punching, sign-in, marking and registering.
The present disclosure also provides a computer-readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by the processor to implement the positioning information correction method as described above.
The storage medium may be a magnetic medium, an optical medium, a semiconductor medium, or the like.
More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
The present disclosure also provides an apparatus for positioning information correction, the apparatus 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 positioning information correction method as described above.
The utility model provides a location information correction method, customer end, storage medium and equipment, through on the basis of obtaining the preliminary location information of mobile terminal, further obtain the location information near this preliminary location information according to the selection of user, submit the server and carry out the comparison, thereby confirm whether this new location information that the user selected can accept, thereby judge whether location is successful, thereby fix a position to the position in the target area scope, solved the inaccurate problem of mobile terminal location, promoted the accuracy nature of mobile terminal location. The method is suitable for the situation that the deviation exists in the positioning of the mobile terminal of the user, but the deviation is not large, and can be particularly applied to scenes such as attendance card punching, directional cross country, field games, field rescue and the like of the user.
In the embodiments provided in the present application, it should be understood that the above-described client-side embodiments are merely illustrative, for example, the division of the modules is only one logical function division, and there may be other division manners in actual implementation, 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.
In addition, each module in the present disclosure may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is merely a preferred embodiment of the present disclosure, and it should be noted that modifications and embellishments could be made by those skilled in the art without departing from the principle of the present disclosure, and these should also be considered as the protection scope of the present disclosure.

Claims (8)

1. A method for correcting positioning information, the method comprising:
acquiring first positioning information;
receiving a position selection request instruction for performing position selection near the first positioning information;
requesting a server to acquire a correction time statistic value in a current first time period, and receiving the correction time statistic value returned by the server;
when the correction times statistic value is smaller than the positioning correction times threshold value, second positioning information is obtained according to the position selection request instruction, and when the second positioning information is not in the set target area range of the card punching, a user determines the second positioning information by clicking other positioning points and/or a moving map; when the correction times statistic value is larger than or equal to the positioning correction times threshold value, prompting that the correction times in the current first time period reach the maximum value, and rejecting a position selection request;
sending the first positioning information and the second positioning information acquired according to the position selection request instruction to a server;
receiving response information returned by the server according to a comparison result of a distance value obtained by calculation of the first positioning information and the second positioning information and a preset distance threshold, wherein the response information comprises successful correction information and unsuccessful correction information, and when the distance value is smaller than or equal to the preset distance threshold, returning the successful correction information;
when the response information is the correction success information, determining the second positioning information as correct positioning information; after the server returns the correction success information, counting the correction success times to obtain a correction time counting value;
when the position selection request instruction is received, judging the strength of the received GPS signal, searching the number of nearby base stations, sending the received GPS signal and the searched number of base stations to a server, and setting a preset distance threshold value by the server according to a preset weight.
2. The method as claimed in claim 1, wherein the position selection request command includes manual selection and/or moving a map for position selection.
3. The method as claimed in claim 1, wherein the receiving the response information returned by the server according to the comparison result between the distance value calculated by the first positioning information and the second positioning information and the preset distance threshold includes:
the server calculates the linear distance between the first positioning information and the second positioning information according to the first positioning information and the second positioning information;
comparing the linear distance with a preset distance threshold;
when the linear distance is less than or equal to a preset distance threshold, returning correction success information, and counting the correction success times to obtain a correction times counting value;
otherwise, returning the information of unsuccessful correction.
4. The method as claimed in claim 1, wherein the receiving the response information returned by the server according to the comparison result between the distance value calculated by the first positioning information and the second positioning information and the preset distance threshold further comprises:
the server calculates the linear distance between the first positioning information and the second positioning information according to the first positioning information and the second positioning information;
comparing the linear distance with a preset distance threshold value, and judging whether the second positioning information is in a preset target positioning area range;
when the linear distance is smaller than or equal to a preset distance threshold and the second positioning information is within the range of the target positioning area, returning correction success information, and counting the correction success times to obtain a correction times counting value;
otherwise, returning the information of unsuccessful correction.
5. The method of claim 1, further comprising, after determining the second positioning information as correct positioning information:
and executing preset actions, wherein the preset actions comprise card punching, sign-in, marking and registration.
6. A client, the client comprising:
the first acquisition module is used for acquiring first positioning information;
a second obtaining module, configured to receive a location selection request instruction for performing location selection near the first location information, request the server to obtain a correction time statistic in a current first time period, and receive the correction time statistic returned by the server; when the correction times statistic value is smaller than the positioning correction times threshold value, second positioning information is obtained according to the position selection request instruction, and when the second positioning information is not in the set target area range of the card punching, a user determines the second positioning information by clicking other positioning points and/or a moving map;
the second obtaining module is further configured to, when the correction time statistic is greater than or equal to the positioning correction time threshold, prompt that the correction time in the current first time period has reached a maximum value, and reject the position selection request;
a sending module, configured to send the first positioning information and the second positioning information obtained according to the position selection request instruction to a server;
a receiving module, configured to receive response information returned by the server according to a comparison result between a distance value obtained by calculation of the first positioning information and the second positioning information and a preset distance threshold, where the response information includes successful correction information and unsuccessful correction information, and when the distance value is less than or equal to the preset distance threshold, the successful correction information is returned;
a determining module, configured to determine the second positioning information as correct positioning information when the response information is successful correction information; after the server returns the correction success information, counting the correction success times to obtain a correction time counting value;
the client is further configured to, when receiving the location selection request instruction, determine the strength of the received GPS signal, search for the number of nearby base stations, send the received GPS signal and the number of searched base stations to a server, and set a preset distance threshold by the server according to a preset weight.
7. 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 correction method according to any one of claims 1 to 5.
8. An apparatus for positioning information correction, characterized in that the apparatus 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 correction method according to any one of claims 1 to 5.
CN201810419944.0A 2018-05-04 2018-05-04 Positioning information correction method, client, storage medium and equipment Active CN108810806B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810419944.0A CN108810806B (en) 2018-05-04 2018-05-04 Positioning information correction method, client, storage medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810419944.0A CN108810806B (en) 2018-05-04 2018-05-04 Positioning information correction method, client, storage medium and equipment

Publications (2)

Publication Number Publication Date
CN108810806A CN108810806A (en) 2018-11-13
CN108810806B true CN108810806B (en) 2022-01-04

Family

ID=64093698

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810419944.0A Active CN108810806B (en) 2018-05-04 2018-05-04 Positioning information correction method, client, storage medium and equipment

Country Status (1)

Country Link
CN (1) CN108810806B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110769022B (en) * 2018-12-05 2020-12-18 滴图(北京)科技有限公司 Method and system for updating and displaying positioning
CN110087187B (en) * 2019-04-23 2020-10-02 北京三快在线科技有限公司 Service execution method and device
CN110807983B (en) * 2019-10-10 2021-09-28 支付宝(杭州)信息技术有限公司 Area adjustment method and device of electronic map and electronic equipment
CN112289167A (en) * 2020-09-14 2021-01-29 北京京东振世信息技术有限公司 Positioning method and device, computer readable storage medium and electronic equipment
CN113222552A (en) * 2021-05-25 2021-08-06 国家邮政局发展研究中心 Postman delivery card punching system and card punching method thereof

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1263252A2 (en) * 2001-06-01 2002-12-04 NTT DoCoMo, Inc. Measuring device, method for correcting measured outcomes, program and recording media
CN101790138A (en) * 2009-01-22 2010-07-28 宏达国际电子股份有限公司 Method and device for selecting position and computer program product
CN102645662A (en) * 2011-02-18 2012-08-22 卡西欧计算机株式会社 Positioning apparatus and positioning method
CN102750750A (en) * 2012-06-18 2012-10-24 北京大学 Punch card method based on Wi-Fi and system thereof
CN103475700A (en) * 2013-08-28 2013-12-25 小米科技有限责任公司 Method, device and terminal for obtaining address information
CN104796856A (en) * 2014-07-15 2015-07-22 北京东方车云信息技术有限公司 System and method for correcting get-on position in electronic map based on passenger taxi-calling historic data
CN105184489A (en) * 2014-05-26 2015-12-23 三竹资讯股份有限公司 Mobile card punching system and method and cloud system thereof
CN106817674A (en) * 2015-11-27 2017-06-09 华为技术有限公司 A kind of localization method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1263252A2 (en) * 2001-06-01 2002-12-04 NTT DoCoMo, Inc. Measuring device, method for correcting measured outcomes, program and recording media
CN101790138A (en) * 2009-01-22 2010-07-28 宏达国际电子股份有限公司 Method and device for selecting position and computer program product
CN102645662A (en) * 2011-02-18 2012-08-22 卡西欧计算机株式会社 Positioning apparatus and positioning method
CN102750750A (en) * 2012-06-18 2012-10-24 北京大学 Punch card method based on Wi-Fi and system thereof
CN103475700A (en) * 2013-08-28 2013-12-25 小米科技有限责任公司 Method, device and terminal for obtaining address information
CN105184489A (en) * 2014-05-26 2015-12-23 三竹资讯股份有限公司 Mobile card punching system and method and cloud system thereof
CN104796856A (en) * 2014-07-15 2015-07-22 北京东方车云信息技术有限公司 System and method for correcting get-on position in electronic map based on passenger taxi-calling historic data
CN106817674A (en) * 2015-11-27 2017-06-09 华为技术有限公司 A kind of localization method and device

Also Published As

Publication number Publication date
CN108810806A (en) 2018-11-13

Similar Documents

Publication Publication Date Title
CN108680896B (en) Positioning information correction method, device, storage medium and equipment
CN108810806B (en) Positioning information correction method, client, storage medium and equipment
US9661467B2 (en) System and method for indoor location mapping and tracking
CN110166943B (en) Method for processing terminal position information
CN103150777B (en) A kind of movable attendance checking method and system
EP2677337B1 (en) Method and apparatus for providing semantic location in electronic device
EP3349039A1 (en) Creating and sharing private location databases
CN107277772B (en) Wireless access point positioning method and device and computer readable storage medium
CN109275090B (en) Information processing method, device, terminal and storage medium
WO2020232999A1 (en) Information security-based positioning data monitoring method and related device
CN108154566B (en) Intelligent card punching method and device
Pereira et al. A smart-phone indoor/outdoor localization system
CN105590382A (en) System and method of movement monitoring of POS terminal
CN106296855A (en) A kind of movable attendance checking method based on cell phone platform and system thereof
CN107172587A (en) A kind of suspicious pseudo-base station discrimination method and its equipment
CN106535325A (en) Positioning method and device and information processing method and device
CN105101089B (en) Method, related device and system for realizing positioning
CN112272355B (en) Visitor monitoring management method and system
CN109325177A (en) Information-pushing method, system, readable storage medium storing program for executing and computer equipment
CN111770456B (en) Automatic sign-in system and method for hospital teaching activities
CN107529143A (en) Method of locating terminal, system, device and computer-readable storage medium
CN105050048B (en) A kind of network access point location information prompt method, terminal and server
CN108040323B (en) Positioning method and device
Hattori et al. Hybrid indoor location estimation system using image processing and WiFi strength
KR102046366B1 (en) A system to register and find the location information

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