CN108680896B - Positioning information correction method, device, storage medium and equipment - Google Patents

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

Info

Publication number
CN108680896B
CN108680896B CN201810419117.1A CN201810419117A CN108680896B CN 108680896 B CN108680896 B CN 108680896B CN 201810419117 A CN201810419117 A CN 201810419117A CN 108680896 B CN108680896 B CN 108680896B
Authority
CN
China
Prior art keywords
positioning information
positioning
correction
information
value
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
CN201810419117.1A
Other languages
Chinese (zh)
Other versions
CN108680896A (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 CN201810419117.1A priority Critical patent/CN108680896B/en
Publication of CN108680896A publication Critical patent/CN108680896A/en
Application granted granted Critical
Publication of CN108680896B publication Critical patent/CN108680896B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S5/00Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations
    • G01S5/02Position-fixing by co-ordinating two or more direction or position line determinations; Position-fixing by co-ordinating two or more distance determinations using radio waves
    • G01S5/0252Radio frequency fingerprinting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Telephonic Communication Services (AREA)
  • Navigation (AREA)

Abstract

The disclosure provides a method, a device, a storage medium and a device for correcting positioning information, which further obtain the 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, so as to confirm whether the new positioning information selected by the user can be accepted, further determine whether the positioning is successful, further position the position in a target area range, solve the problem of inaccurate positioning of a mobile terminal, and improve the positioning accuracy of the mobile terminal. 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, device, storage medium and equipment
Technical Field
The present disclosure relates to the field of positioning technologies, and in particular, to a method and an apparatus for correcting positioning information, a storage medium, and a device.
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 method, a device, a storage medium and a device for correcting positioning information, which determine a position near a preliminary positioning position according to the selection of a user after a mobile terminal is preliminarily positioned, so as to position the position in a target area range, solve the problem of inaccurate positioning of the mobile terminal and improve the positioning accuracy of the mobile terminal. The disclosure is realized by the following technical scheme:
in a first aspect, the present disclosure provides a method for correcting positioning information, including:
receiving first positioning information and second positioning information sent by a client;
acquiring a distance value between the first positioning information and the second positioning information according to the first positioning information and the second positioning information;
and returning response information whether the correction is successful or not to the client according to the comparison result of the distance value and the preset distance threshold.
In a second aspect, the present disclosure provides a positioning information correcting apparatus, the apparatus including:
the receiving module is used for receiving first positioning information and second positioning information sent by a client;
a distance obtaining module, configured to obtain a distance value between the first positioning information and the second positioning information according to the first positioning information and the second positioning information;
and the processing module is used for returning response information whether the correction is successful to the client according to the comparison result of the distance value and the preset distance threshold.
And the correction time receiving and responding module is used for receiving a request for acquiring the correction time statistic value in the current first time period sent by the client and returning the correction time statistic value to the client.
The distance obtaining module is specifically configured to 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.
The processing module comprises:
the first comparison module is used for comparing the linear distance with a preset distance threshold;
the first correction information returning module is used for returning correction success information when the linear distance is smaller than or equal to a preset distance threshold value, and counting the correction success times to obtain a correction times counting value; otherwise, returning the information of unsuccessful correction.
The processing module comprises:
the second comparison module is used for comparing the linear distance with a preset distance threshold and judging whether the second positioning information is in the range of a preset target positioning area;
the second correction information returning module is used for returning correction success information and counting the correction success times to obtain a correction time counting value when the linear distance is less than or equal to a preset distance threshold and the second positioning information is within the range of the target positioning area; otherwise, returning the information of unsuccessful correction.
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 invention provides a method, a device, a storage medium and equipment for correcting positioning information, which are characterized in that on the basis of obtaining preliminary positioning information of a mobile terminal, the positioning information near the preliminary positioning information is further obtained according to the selection of a user, and the obtained information is submitted to a server for comparison, so that whether the new positioning information selected by the user can be accepted or not is confirmed, and whether the positioning is successful or not is judged, 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.
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 positioning information correction 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.
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:
step S101, receiving first positioning information and second positioning information sent by a client.
Step S102, obtaining a distance value between the first positioning information and the second positioning information according to the first positioning information and the second positioning information.
And step S103, returning response information whether the correction is successful or not to the client according to the comparison result of the distance value and the preset distance threshold.
The invention provides a method, a device, a storage medium and equipment for correcting positioning information, which are characterized in that on the basis of obtaining preliminary positioning information of a mobile terminal, the positioning information near the preliminary positioning information is further obtained according to the selection of a user, and the obtained information is submitted to a server for comparison, so that whether the new positioning information selected by the user can be accepted or not is confirmed, and whether the positioning is successful or not is judged, 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 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 server side presets a number threshold of target anchor points within a first time period threshold, a location 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.
Step S2002, the client initiates a positioning function authorization request to a system background, and the system background generates a prompt message indicating whether to authorize the positioning function according to the positioning function authorization request, displays the prompt message indicating whether to authorize the positioning function on the application program interface, and receives an instruction indicating that the positioning function is authorized.
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.
And step S2003, the client sends reminding information 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.
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, receiving first positioning information and second positioning information sent by a client.
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, specifically, the first positioning information may be indicated by any one or a combination of a dot, a small triangle, an arrow, or a probe, which is not specifically limited herein, and at this time, if the user directly executes a preset action, the second positioning information is not acquired. When the user directly executes the preset action, the server receives first positioning information sent by the client, judges whether the first positioning information is in the range of the preset target positioning area or not, returns a judgment result, prompts the client to execute the record of the preset action and execute the preset action effectively if the returned judgment result is in the range of the preset target positioning area, prompts the client to execute the record of the preset action and execute the preset action inefficiently if the returned judgment result is not in the range of the preset target positioning area, 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.
In step S201, the client obtains second positioning information according to a position selection request instruction, specifically, obtains second positioning information according to a position selection request instruction for performing position selection near the first positioning information, where the position selection request instruction includes manual click and/or moving a map for performing position selection. Specifically, after the client acquires the first positioning information, the user directly slides the screen of the mobile terminal by touching, and updates the currently displayed map, so as to perform positioning again, or directly performs click positioning on the screen of the mobile terminal, or performs click positioning after sliding the screen of the mobile terminal, and acquires the second positioning information, so as to acquire 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.
When the client acquires the second positioning information, the mobile terminal displays the second positioning information on the map, which may be specifically indicated by any one or a combination of a dot, a small triangle, an arrow, or a probe, and is not specifically limited herein.
In this step, after receiving the position selection request instruction and before acquiring the second positioning information according to the position selection request instruction, the server further receives a request for acquiring the correction times statistic value in the current first time period, which is sent by the client, and returns the correction times statistic value to the client. And when the correction time statistic is less than the positioning correction time threshold, the client acquires 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, the client prompts that the correction time in the current first time period reaches the maximum value and rejects 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 S202, obtaining a distance value between the first positioning information and the second positioning information according to the first positioning information and the second positioning information.
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 so as to compare the linear distance with a preset distance threshold.
And step S203, returning response information whether the correction is successful or not to the client according to the comparison result of the distance value and the preset distance threshold.
Specifically, 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.
And when the server returns response information as correction success information according to the comparison result of the distance value obtained by calculation of the first positioning information and the second positioning information and a preset distance threshold, the client determines that the second positioning information is 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, 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.
Steps S301 to S303 are the same as steps S201 to S203, and are not described herein again.
Step S304, after the client executes the preset action according to the response information in step S303, determining whether the second positioning information is within the preset target positioning area, and returning the determination result to the client, so that the client makes a record of executing the preset action and a prompt of whether the execution of the preset action is valid according to the determination result.
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.
When the judgment result is that the second positioning information is in the range of the target positioning area, the client prompts to execute the record of the preset action and the execution of the preset action is effective; and when the judgment result shows that the second positioning information is not in the range of the target positioning area, the client prompts that the record of the preset action is executed and the preset action is executed inefficiently, and the step of reacquiring the first positioning information is returned.
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 S402 are the same as steps S201 to S202, and are not described herein again.
Step S403, according to the comparison result of the distance value and a preset distance threshold value, and in combination with the relationship between the second positioning information and a preset target positioning area range, returning response information to the client, so that when the response information is correction success information, the client determines the second positioning information as correct positioning information, and executes a preset action; and when the response information is unsuccessfully corrected, the client acquires the second positioning information again, the positioning information is corrected again, the server executes the step of receiving the second positioning information again, the client executes the preset action until the second positioning information meets the preset condition, and the preset condition is that the linear distance between the first positioning information and the second positioning information is smaller than or equal to the preset distance threshold and the second positioning information is within the 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.
And when the response information is that the correction is unsuccessful, the client acquires the second positioning information again and corrects the positioning information again if the second positioning information does not meet the preset condition, and the server executes the step of receiving the second positioning information again until the second positioning information meets the preset condition and executes the preset action.
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 positioning information correction apparatus according to an embodiment of the present disclosure, the apparatus including:
a receiving module 10, configured to receive first positioning information and second positioning information sent by a client;
a distance obtaining module 11, configured to obtain a distance value between the first positioning information and the second positioning information according to the first positioning information and the second positioning information;
and the processing module 12 is configured to return response information whether the correction is successful to the client according to a comparison result between the distance value and a preset distance threshold.
The preset module 01 is used for presetting a number threshold of target positioning points, a positioning correction time threshold and a preset target area range within a first time period threshold.
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.
The positioning information includes: longitude and latitude, house number, and building name.
And the correction time receiving and responding module is used for receiving a request for acquiring the correction time statistic value in the current first time period sent by the client and returning the correction time statistic value to the client.
And the distance acquisition module is specifically used for calculating a linear distance between the first positioning information and the second positioning information according to the first positioning information and the second positioning information.
The processing module comprises:
the first comparison module is used for comparing the linear distance with a preset distance threshold;
the first correction information returning module is used for returning correction success information when the linear distance is smaller than or equal to a preset distance threshold value, and counting the correction success times to obtain a correction times counting value; otherwise, returning the information of unsuccessful correction. The processing module comprises:
the second comparison module is used for comparing the linear distance with a preset distance threshold and judging whether the second positioning information is in the range of a preset target positioning area;
the second correction information returning module is used for returning correction success information and counting the correction success times to obtain a correction time counting value when the linear distance is less than or equal to a preset distance threshold and the second positioning information is within the range of the target positioning area; otherwise, returning the information of unsuccessful correction.
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 invention provides a method, a device, a storage medium and equipment for correcting positioning information, which are characterized in that on the basis of obtaining preliminary positioning information of a mobile terminal, the positioning information near the preliminary positioning information is further obtained according to the selection of a user, and the obtained information is submitted to a server for comparison, so that whether the new positioning information selected by the user can be accepted or not is confirmed, and whether the positioning is successful or not is judged, 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 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 server embodiment is only illustrative, for example, the division of the modules is only one logical function division, and there may be other division ways 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:
receiving first positioning information sent by a client, and acquiring second positioning information sent by the client according to a position selection request instruction for performing position selection near the first positioning information;
acquiring a distance value between the first positioning information and the second positioning information according to the first positioning information and the second positioning information;
returning response information whether the correction is successful or not to the client according to the comparison result of the distance value and the preset distance threshold, wherein the response information comprises:
comparing the distance value with the preset distance threshold value, and judging whether the second positioning information is in the range of a preset target positioning area;
when the distance value is smaller than or equal to the preset distance threshold value and the second positioning information is within the range of the preset target positioning area, returning correction success information, executing a preset action aiming at the second positioning information, and determining that the execution of the preset action is effective, wherein the type of the preset action is card punching, sign-in, marking or registration;
otherwise, returning the unsuccessful correction information;
before the obtaining of the second positioning information sent by the client, the method further includes: acquiring a request of a correction time statistic value in a current first time period, and returning the correction time statistic value to a client; when the correction times statistic value is smaller than a positioning correction times threshold value, the client side obtains second positioning information 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.
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 for correcting positioning information according to claim 1, wherein said obtaining a distance value between the first positioning information and the second positioning information according to the first positioning information and the second positioning information comprises:
and calculating the linear distance between the first positioning information and the second positioning information according to the first positioning information and the second positioning information.
4. The method as claimed in claim 3, wherein the step of returning response information indicating whether the correction is successful to the client according to the comparison result between the distance value and the preset distance threshold comprises:
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.
5. The method according to claim 3, wherein the linear distance is compared with a preset distance threshold, and whether the second positioning information is within a preset target positioning area is determined;
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.
6. A positioning information correcting apparatus, characterized in that the apparatus comprises:
a receiving module, configured to receive first positioning information sent by a client, and obtain second positioning information sent by the client according to a position selection request instruction for performing position selection near the first positioning information, where before obtaining the second positioning information sent by the client, the receiving module further includes: acquiring a request of a correction time statistic value in a current first time period, and returning the correction time statistic value to a client; when the correction times statistic value is smaller than a positioning correction times threshold value, the client side obtains second positioning information according to the position selection request instruction; 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;
a distance obtaining module, configured to obtain a distance value between the first positioning information and the second positioning information according to the first positioning information and the second positioning information;
the processing module is used for returning response information whether the correction is successful or not to the client according to the comparison result of the distance value and the preset distance threshold;
the processing module is used for: comparing the distance value with the preset distance threshold value, and judging whether the second positioning information is in the range of a preset target positioning area;
when the distance value is smaller than or equal to the preset distance threshold value and the second positioning information is within the range of the preset target positioning area, returning correction success information, executing a preset action aiming at the second positioning information, and determining that the execution of the preset action is effective, wherein the type of the preset action is card punching, sign-in, marking or registration;
otherwise, returning the information of unsuccessful correction.
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.
CN201810419117.1A 2018-05-04 2018-05-04 Positioning information correction method, device, storage medium and equipment Active CN108680896B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810419117.1A CN108680896B (en) 2018-05-04 2018-05-04 Positioning information correction method, device, storage medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810419117.1A CN108680896B (en) 2018-05-04 2018-05-04 Positioning information correction method, device, storage medium and equipment

Publications (2)

Publication Number Publication Date
CN108680896A CN108680896A (en) 2018-10-19
CN108680896B true CN108680896B (en) 2020-10-02

Family

ID=63802901

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810419117.1A Active CN108680896B (en) 2018-05-04 2018-05-04 Positioning information correction method, device, storage medium and equipment

Country Status (1)

Country Link
CN (1) CN108680896B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109348425B (en) * 2018-11-13 2021-01-01 苏州达家迎信息技术有限公司 Positioning information updating method, device, equipment and storage medium
CN109547924B (en) * 2018-11-26 2021-06-01 苏州达家迎信息技术有限公司 Position information sharing method, device, equipment and storage medium
CN109587625B (en) * 2018-11-30 2020-11-17 苏州达家迎信息技术有限公司 Method, server, client, storage medium and equipment for determining position information
CN109829994A (en) * 2018-12-13 2019-05-31 平安万家医疗投资管理有限责任公司 A kind of Work attendance method, device, computer equipment and readable storage medium storing program for executing
CN109635067B (en) * 2018-12-17 2023-03-28 深圳市丰巢科技有限公司 Method, device, equipment and storage medium for correcting longitude and latitude information
CN112050818A (en) * 2020-07-29 2020-12-08 深圳市修远文化创意有限公司 Method for calibrating and positioning and related device thereof
CN112114344B (en) * 2020-09-04 2024-01-19 Tcl通讯(宁波)有限公司 Positioning method and device, storage medium and electronic equipment
CN112462402B (en) * 2020-10-19 2024-08-06 浙江吉利控股集团有限公司 Mobile terminal positioning deviation correcting method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101790138A (en) * 2009-01-22 2010-07-28 宏达国际电子股份有限公司 Method and device for selecting position and computer program product
CN102750750A (en) * 2012-06-18 2012-10-24 北京大学 Punch card method based on Wi-Fi and system thereof
JP5294581B2 (en) * 2007-02-27 2013-09-18 ヤフー株式会社 How to correct position data
CN103337100A (en) * 2013-06-20 2013-10-02 汉王科技股份有限公司 Biological characteristic attendance checking method and mobile equipment
CN106817674A (en) * 2015-11-27 2017-06-09 华为技术有限公司 A kind of localization method and device
CN107438228A (en) * 2016-05-26 2017-12-05 北京京东尚科信息技术有限公司 A kind of portable work attendance monitoring method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5294581B2 (en) * 2007-02-27 2013-09-18 ヤフー株式会社 How to correct position data
CN101790138A (en) * 2009-01-22 2010-07-28 宏达国际电子股份有限公司 Method and device for selecting position and computer program product
CN102750750A (en) * 2012-06-18 2012-10-24 北京大学 Punch card method based on Wi-Fi and system thereof
CN103337100A (en) * 2013-06-20 2013-10-02 汉王科技股份有限公司 Biological characteristic attendance checking method and mobile equipment
CN106817674A (en) * 2015-11-27 2017-06-09 华为技术有限公司 A kind of localization method and device
CN107438228A (en) * 2016-05-26 2017-12-05 北京京东尚科信息技术有限公司 A kind of portable work attendance monitoring method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
基于手机位置定位的公司外勤人员监管系统设计与实现;孙磊;《中国优秀硕士学位论文全文数据库 信息科技辑》;20140515;正文第19-58页 *

Also Published As

Publication number Publication date
CN108680896A (en) 2018-10-19

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
CN110166943B (en) Method for processing terminal position information
EP2677337B1 (en) Method and apparatus for providing semantic location in electronic device
CN108885698A (en) Face identification method, device and server
CN107277772B (en) Wireless access point positioning method and device and computer readable storage medium
CN105228106B (en) One kind being based on indoor medical staff's lookup method, location-server and system
CN109275090B (en) Information processing method, device, terminal and storage medium
WO2013002891A1 (en) Location verification for mobile devices
CN107426715B (en) Position data processing method, device, equipment and storage medium
Pereira et al. A smart-phone indoor/outdoor localization system
CN108154566B (en) Intelligent card punching method and device
CN110324779A (en) Location data monitoring method and relevant device based on information security
CN106686071A (en) Positioning method and server
CN106535325A (en) Positioning method, information processing method, positioning device and information processing device
CN105101089B (en) Method, related device and system for realizing positioning
CN109068329A (en) Dummy location recognition methods, device, equipment and computer readable storage medium
CN108040323B (en) Positioning method and device
CN112272355B (en) Visitor monitoring management method and system
CN107529143A (en) Method of locating terminal, system, device and computer-readable storage medium
CN104754737A (en) Intelligent terminal, positioning method and positioning device based on same
Hattori et al. Hybrid indoor location estimation system using image processing and WiFi strength
CN107241219A (en) Users to trust degree Forecasting Methodology and device
CN111210471B (en) Positioning method, device and system
CN111479222A (en) Method for establishing social network connection, electronic device and storage medium

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