A positioning system and positioning method based on two-dimensional code, gyroscope and accelerometer, and information service method
By setting up QR code markers on indoor paths and combining them with a positioning system using gyroscopes and accelerometers, the problem of low GPS positioning accuracy indoors has been solved, enabling users to conveniently access indoor positioning and information services.
Patent Information
- Application Number
- CN201610951995.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2016-10-25
- Publication Date
- 2025-01-07
- Estimated Expiration
- 2036-10-25
AI Technical Summary
In existing technologies, GPS positioning has low accuracy in indoor environments, QR code positioning requires a large number of markers and is cumbersome for users, and lacks accurate services and interactions based on user location.
The system employs a positioning system based on QR codes, gyroscopes, and accelerometers. By placing QR code markers at key locations along the user's walking path and combining them with gyroscopes and accelerometers to capture user motion information, indoor positioning is achieved. The system server then provides location information and services.
It reduces the difficulty of setting up QR code signs and the number of user operations, improves indoor positioning accuracy and ease of use, and realizes location-based information services.
Smart Images

Figure CN107976185B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to a positioning system and method, and in particular to a positioning system and method based on a two-dimensional code, a gyroscope and an accelerometer, and an information service method. Background Art
[0002] With the popularization of the Internet and mobile phones in the information age, people's daily life and work are increasingly dependent on travel navigation based on GPS positioning. However, GPS positioning navigation is limited to outdoor use. Due to the cover of buildings, its positioning accuracy is very low indoors and basically cannot be used. For example, it is difficult for passengers in subways, railway stations, and airport terminals to find the location of their trains and flights. It is also difficult to find the booths and seats they want to visit in exhibitions, theaters, and stadiums. In shopping malls and supermarkets, they don't know which floor and location of the goods they want to buy. When going to the hospital for treatment, they have to ask many times before they can find the doctor's office. Games based on LBS location services, such as the currently popular Pokemon Go, can only be played outdoors with GPS positioning and cannot be played indoors. These indoor places urgently need a simple, reliable and practical positioning system to meet user needs.
[0003] In the prior art, there is a method that uses a QR code as a location coordinate, uses a mobile phone camera to shoot the QR code to obtain location information and sends it to the system server for query to determine the actual location. However, this method requires setting a large number of QR code location markers on the user's walking path for the user to obtain. The more QR code coordinates are laid out on the system path, the more precise and accurate the positioning will be. Otherwise, it will be very rough. Therefore, in order to obtain a better positioning effect, a large number of QR code markers need to be set up indoors, which increases the difficulty of construction. Moreover, the user constantly shoots the QR code markers while walking, which is not only troublesome, but also seriously affects the user's walking speed. In addition, whether it is advertising services, online and offline shopping e-commerce, physical stores, or social platforms, they are limited to fixed venues and systems, lacking accurate services based on user locations and user interaction with merchants and systems. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a positioning system and a positioning method based on a two-dimensional code, a gyroscope and an accelerometer, as well as an information service method, to solve the problem of difficult indoor positioning, and to realize indoor positioning and information service of a positioning system based on a two-dimensional code, a gyroscope and an accelerometer. The system includes a two-dimensional code, and also includes a mobile phone with a built-in gyroscope, an accelerometer and a camera, and a system server. A two-dimensional code mark representing the user's own position is set at the main position of the user's walking path. The user's mobile phone camera establishes an image information capture connection with the two-dimensional code mark, shoots the two-dimensional code to obtain position information, the mobile phone gyroscope and accelerometer establish a motion information capture connection with the user's action, captures the user's motion direction and acceleration information, the user's mobile phone establishes a communication connection with the system server, and sends the acquired two-dimensional code position information and the user's motion direction and acceleration information captured by the gyroscope and accelerometer to the system server, receives the actual position and position map information sent to the mobile phone by the system server for the user to view, receives the service information of the position, and replies or operates the service information, thereby realizing information interaction.
[0005] A positioning system based on a two-dimensional code, a gyroscope and an accelerometer, characterized in that:
[0006] The system includes a QR code, a mobile phone with a built-in gyroscope, an accelerometer and a camera, and a system server.
[0007] A QR code sign representing the user's location is set at the main location of the user's walking path. The user's mobile phone camera establishes an image information capture connection with the QR code sign and shoots the QR code to obtain the location information.
[0008] The user's mobile phone gyroscope and accelerometer establish a motion information capture connection with the user's actions to capture the user's movement direction and acceleration information.
[0009] The user's mobile phone establishes a communication connection with the system server, sends the acquired QR code location information and the user's movement direction and acceleration information captured by the gyroscope and accelerometer to the system server, and receives the actual location and location map information sent by the system server to the mobile phone.
[0010] A positioning method based on a two-dimensional code, a gyroscope and an accelerometer, characterized in that:
[0011] A location map is created in the system server based on the user's walking path, the main locations are determined, QR codes of the main locations are generated, and QR code signs of the main locations are installed.
[0012] When a user walks to one of the main locations, the user captures the QR code of the location with the phone camera.
[0013] The mobile client sends the QR code information of the location to the system server. The system server queries the actual location marked by the QR code information of the location in the system's location map, and sends the queried actual location information to the user's mobile client and marks it on the location map of the mobile client. The user views his actual location in the location map on the mobile client.
[0014] Alternatively, the offline location data package is downloaded and installed in advance on the mobile client. When the mobile client is offline from the system server, the mobile client directly queries the actual location marked by the QR code information of the location in the system's location map, and marks the queried actual location information on the location map of the mobile client. The user can view his actual location in the location map on the mobile client.
[0015] The gyroscope and accelerometer begin to capture the user's movement direction and acceleration data in real time based on the actual location information of the QR code and send it to the mobile client, which then sends it to the system server. The system server processes and analyzes the location information of the QR code in combination with the user's movement direction and acceleration data received in real time, and obtains the user's actual location after leaving the QR code location in real time, and sends the actual location obtained in real time to the mobile client, marking it on the location map of the mobile client for the user to view.
[0016] Alternatively, the offline location data packet is downloaded and installed in advance on the mobile client. When the mobile client is offline from the system server, the gyroscope and accelerometer begin to capture the user's movement direction and acceleration data in real time according to the actual location information of the QR code and send it to the mobile client. The mobile client processes and analyzes the location information of the QR code in combination with the user's movement direction and acceleration data received in real time, and obtains the user's actual location after leaving the QR code location in real time, and marks the actual location obtained in real time on the location map of the mobile client for the user to view.
[0017] Based on the QR code image captured by the mobile phone camera, the shooting position, shooting angle and shooting distance of the camera relative to the QR code logo are analyzed to determine the position information of the mobile phone relative to the QR code logo. The relative position information and the actual position of the QR code confirmed by the mobile phone client or the system server are used as the reference position information of the gyroscope and accelerometer, and the user's movement direction and acceleration data are captured in real time and sent to the mobile phone client or the system server. The mobile phone client or the system server processes and analyzes the reference position information obtained previously in combination with the user's movement direction and acceleration data received in real time, and obtains the user's actual position after leaving the QR code position in real time, and marks the actual position obtained in real time on the position map of the mobile phone client for the user to view.
[0018] When the user walks to the next main location, the mobile phone camera captures the QR code of that location. After querying the actual location of the QR code through the mobile client or system server, the actual location is used as the corrected location to start the next gyroscope and accelerometer real-time capture and positioning of the user's location process.
[0019] By comparing the walking distance marked on the location map based on the user's real-time positioning captured by the gyroscope and accelerometer during the user's last major location route with the actual distance of the major location segment, the deviation of the real-time positioning captured by the gyroscope and accelerometer is calculated and correction is added to the next major location segment process.
[0020] An information service method based on a positioning method of a two-dimensional code and a gyroscope and an accelerometer, characterized in that:
[0021] In the system server, the location information service is selected and set according to the main location and real-time location of the user's walking path in the location map.
[0022] When the user walks to a location where service information is set, the system server sends the service information of the location to the user's mobile client, and the user's mobile client receives the service information, thereby realizing location information service.
[0023] The user's mobile client receives the location service information, and the user replies or operates the service information on the mobile client to achieve location information interaction.
[0024] The information service is an information service of the merchant at the location or an information service of the system, and the information service at least includes an advertising service.
[0025] The method also includes a shopping method, the information service is a shopping service of a merchant at the location or a shopping service of the system, and the information interaction is a shopping interaction between a user and a merchant at the location or a shopping interaction with the system.
[0026] The method also includes an augmented reality method, the information service is an augmented reality information service, and the information interaction is an augmented reality information interaction.
[0027] The advertising service is an augmented reality advertising service.
[0028] The navigation service is an augmented reality navigation service, and the navigation information interaction is an augmented reality navigation information interaction.
[0029] The shopping service is an augmented reality shopping service, and the shopping interaction is an augmented reality shopping interaction.
[0030] The information service is an augmented reality game service, and the information interaction is an augmented reality game interaction.
[0031] The user uses the mobile phone camera to collect real-life scene images around the location and displays them on the mobile phone screen in real time. The collected real-life scene images are uploaded to the system server through the mobile phone.
[0032] The system server generates at least one of augmented reality images, text and sounds according to the location, and sends at least one of the augmented reality images, text and sounds to the user's mobile phone client. The mobile phone receives at least one of the augmented reality images, text and sounds, and superimposes them on the real scene image displayed in real time on the mobile phone screen for display and playback.
[0033] Alternatively, the system server generates at least one of an augmented reality image, text, and sound based on the location and the real scene image around the location captured by the user through the mobile phone camera, and sends at least one of the augmented reality image, text, and sound to the user's mobile phone client. The mobile phone receives at least one of the augmented reality image, text, and sound, and superimposes it on the real scene image displayed in real time on the mobile phone screen for display and playback.
[0034] The present invention provides a positioning system and a positioning method based on a two-dimensional code, a gyroscope and an accelerometer, and an information service method. The system comprises a two-dimensional code, a mobile phone with a built-in gyroscope, an accelerometer and a camera, and a system server. A two-dimensional code mark representing the user's own position is set at a main position of a user's walking path. The user's mobile phone camera establishes an image information capture connection with the two-dimensional code mark, shoots the two-dimensional code to obtain position information, the mobile phone gyroscope and accelerometer establish a motion information capture connection with the user's action, captures the user's motion direction and acceleration information, the user's mobile phone establishes a communication connection with the system server, the acquired two-dimensional code position information and the user's motion direction and acceleration information captured by the gyroscope and accelerometer are sent to the system server, the actual position and position map information sent to the mobile phone by the system server are received for the user to view, and service information of the position is received and the service information is replied or operated to realize information interaction. The present invention only needs to set up a QR code mark at the main position of the walking path, and the remaining path positions are captured in real time using a gyroscope and an accelerometer, which greatly reduces the difficulty of setting up the QR code mark and the number of actions of the user to capture the QR code, reduces the construction cost, is more convenient for users to use, has a faster walking speed, has a simple architecture, and has reliable performance, solves the problem of difficult indoor positioning, and realizes location-based information services. Therefore, the present invention has significant technical progress compared with the prior art. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 The principle framework of the system of the present invention Figure 1 .
[0036] Figure 2 The principle framework of the system of the present invention Figure 2 .
[0037] Figure 3 This is a schematic diagram of the principle of the system of the present invention. Figure 1 .
[0038] Figure 4 This is a schematic diagram of the principle of the system of the present invention. Figure 2 .
[0039] Figure 5 It is a schematic diagram of the positioning method of the present invention.
[0040] Figure 6 It is a schematic diagram of the relative positions of the mobile phone camera and the QR code mark of the present invention.
[0041] Figure 7 It is a top view of a schematic diagram of the relative positions of a mobile phone camera and a two-dimensional code mark of the present invention.
[0042] Figure 8 The present invention is a schematic diagram of analyzing and determining the position information of the mobile phone relative to the QR code mark according to the shape and size of the QR code mark in the capture window captured by the mobile phone camera Figure 1 .
[0043] Fig. 9 The present invention is a schematic diagram of analyzing and determining the position information of the mobile phone relative to the QR code mark according to the shape and size of the QR code mark in the capture window captured by the mobile phone camera Figure 2 .
[0044] Fig.10 The positioning method flow of the present invention is Figure 1 .
[0045] Fig.11 The positioning method flow of the present invention is Figure 2 .
[0046] Fig.12 The positioning method flow of the present invention is Figure 3 .
[0047] Fig.13 The positioning method flow of the present invention is Figure 4 .
[0048] Fig.14 The positioning method flow of the present invention is Figure 5 .
[0049] Fig.15 The information service method flow of the present invention is Figure 1 .
[0050] Fig.16 The information service method flow of the present invention is Figure 2 . DETAILED DESCRIPTION
[0051] The present invention is further described below in conjunction with the accompanying drawings and implementation modes.
[0052] like Figure 1 and Figure 2 As shown, a positioning system based on a two-dimensional code, a gyroscope and an accelerometer of the present invention includes a two-dimensional code, a mobile phone with a built-in gyroscope, an accelerometer and a camera, and a system server.
[0053] A QR code sign representing the user's location is set at the main location of the user's walking path. The user's mobile phone camera establishes an image information capture connection with the QR code sign and shoots the QR code to obtain the location information.
[0054] The user's mobile phone gyroscope and accelerometer establish a motion information capture connection with the user's actions to capture the user's movement direction and acceleration information.
[0055] The user's mobile phone establishes a communication connection with the system server, sends the acquired QR code location information and the user's movement direction and acceleration information captured by the gyroscope and accelerometer to the system server, and receives the actual location and location map information sent by the system server to the mobile phone.
[0056] like Figure 3 , Figure 5 and Fig.10 As shown, a positioning method based on a two-dimensional code and a gyroscope and an accelerometer is characterized in that:
[0057] A location map is created in the system server based on the user's walking path, the main locations are determined, QR codes of the main locations are generated, and QR code signs of the main locations are installed.
[0058] When a user walks to one of the main locations, the user captures the QR code of the location with the phone camera.
[0059] The mobile client sends the QR code information of the location to the system server. The system server queries the actual location marked by the QR code information of the location in the system's location map, and sends the queried actual location information to the user's mobile client and marks it on the location map of the mobile client. The user views his actual location in the location map on the mobile client.
[0060] Alternatively, the offline location data package is downloaded and installed in advance on the mobile client. When the mobile client is offline from the system server, the mobile client directly queries the actual location marked by the QR code information of the location in the system's location map, and marks the queried actual location information on the location map of the mobile client. The user can view his actual location in the location map on the mobile client.
[0061] The gyroscope and accelerometer begin to capture the user's movement direction and acceleration data in real time based on the actual location information of the QR code and send it to the mobile client, which then sends it to the system server. The system server processes and analyzes the location information of the QR code in combination with the user's movement direction and acceleration data received in real time, and obtains the user's actual location after leaving the QR code location in real time, and sends the actual location obtained in real time to the mobile client, marking it on the location map of the mobile client for the user to view.
[0062] Alternatively, the offline location data packet is downloaded and installed in advance on the mobile client. When the mobile client is offline from the system server, the gyroscope and accelerometer begin to capture the user's movement direction and acceleration data in real time according to the actual location information of the QR code and send it to the mobile client. The mobile client processes and analyzes the location information of the QR code in combination with the user's movement direction and acceleration data received in real time, and obtains the user's actual location after leaving the QR code location in real time, and marks the actual location obtained in real time on the location map of the mobile client for the user to view.
[0063] like Figures 5 to 8 As shown, according to the shape and size of the QR code image captured by the mobile phone camera, the shooting position, shooting angle and shooting distance of the camera relative to the QR code mark are analyzed to determine the position information of the mobile phone relative to the QR code mark, and the relative position information and the actual position of the QR code confirmed by the mobile phone client or the system server are used as the reference position information of the gyroscope and the accelerometer, and the user's movement direction and acceleration data are captured in real time and sent to the mobile phone client or the system server. The mobile phone client or the system server processes and analyzes the reference position information obtained previously in combination with the user's movement direction and acceleration data received in real time, and obtains the user's actual position after leaving the QR code position in real time, and marks the actual position obtained in real time on the position map of the mobile phone client for the user to view.
[0064] See also Figure 6 and Figure 7 When a user holds a mobile phone and uses the camera to capture the QR code logo, the position of the user's mobile phone camera relative to the QR code logo is determined by the horizontal distance X, vertical distance Y and depth distance Z. The QR code logo is located in the upper right front of the mobile phone camera. Figure 7 In the top view, the center of the mobile phone camera forms an angle α with the center of the QR code logo. Figure 8As shown, when the mobile phone camera is located at the above-mentioned parameter position relative to the QR code mark, the captured QR code graphic is displayed in the QR code capture window of the mobile phone display screen, and the shooting position, shooting angle and shooting distance of the camera relative to the QR code mark are analyzed according to the shape and size of the captured QR code image, and the position information of the mobile phone relative to the QR code mark, that is, the X, Y, Z parameters and the angle α, is determined, and the relative position information X, Y, Z parameters and the angle α are used as the reference position information of the gyroscope and the accelerometer, and then combined with the actual position information of the QR code in the system, the reference position information of the gyroscope and the accelerometer is determined.
[0065] like Fig. 9 As shown, for a QR code mark set on the ground, the captured QR code graphic displayed in the QR code capture window of the mobile phone display screen will form a trapezoid that is narrow at the top and wide at the bottom. This type of graphic feature and the above-mentioned graphic features are corresponded to the X, Y, and Z parameters of the position information of the mobile phone camera relative to the QR code mark, and a mathematical model and algorithm are established, and included in the QR code graphic recognition library.
[0066] like Fig.13 As shown, when the user walks to the next main location, the QR code of the location is captured by the mobile phone camera. After the actual location of the QR code is queried through the mobile client or the system server, the actual location is used as the corrected location to start the next gyroscope and accelerometer real-time capture and positioning of the user's location process.
[0067] like Fig.14 As shown, based on the comparison between the walking distance marked on the location map and the actual distance of the main location segment, the deviation of the real-time positioning captured by the gyroscope and accelerometer is calculated, and correction is added to the next main location segment process.
[0068] like Figure 2 and Figure 4 As shown, the mobile phone in the system of the present invention also includes an electronic compass, and the electronic compass establishes a motion information capture connection with the user's action to capture the direction in which the user is moving.
[0069] Therefore, if Fig.12As shown, the positioning method of the present invention also includes: when the mobile phone camera captures the QR code image, the electronic compass is used to determine the direction data of the mobile phone relative to the QR code mark, and the collected direction data is used together with the data collected by the gyroscope and the accelerometer as the reference position information, and the user's movement direction and acceleration data are captured in real time, and sent to the mobile phone client or system server. The mobile phone client or system server processes and analyzes the previously obtained reference position information in combination with the user's movement direction and acceleration data received in real time, and the actual position of the user after leaving the QR code position is obtained in real time, and the actual position obtained in real time is marked on the position map of the mobile phone client for the user to view. In this way, the electronic compass can be directly used to determine the direction of the user's mobile phone relative to the QR code mark when the user's mobile phone captures the QR code mark position, without having to use or reducing the use of the QR code graphic to determine the direction of the initial position, thereby avoiding or reducing the recognition operation of the QR code graphic for the orientation.
[0070] An information service method based on a two-dimensional code and a positioning method of a gyroscope and an accelerometer, characterized in that:
[0071] like Fig.15 As shown, in the system server, the location information service is selected and set according to the main location and real-time location of the user's walking path in the location map; when the user walks to the location where the service information is set, the system server sends the service information of the location to the user's mobile client, and the user's mobile client receives the service information, thereby realizing the location information service.
[0072] like Fig.16 As shown, the user's mobile client receives the service information, and the user replies or operates the service information on the mobile client to achieve information interaction.
[0073] The information service is an information service of the merchant at the location or an information service of the system, and the information service at least includes an advertising service.
[0074] The method further comprises a navigation method, the information service is a navigation service, and the information interaction is a navigation information interaction.
[0075] The method also includes a shopping method, the information service is a shopping service of a merchant at the location or a shopping service of the system, and the information interaction is a shopping interaction between a user and a merchant at the location or a shopping interaction with the system.
[0076] The method also includes an augmented reality method, the information service is an augmented reality information service, and the information interaction is an augmented reality information interaction; the advertising service is an augmented reality advertising service; the navigation service is an augmented reality navigation service, and the navigation information interaction is an augmented reality navigation information interaction; the shopping service is an augmented reality shopping service, and the shopping interaction is an augmented reality shopping interaction; the information service is an augmented reality game service, and the information interaction is an augmented reality game interaction.
[0077] The user uses the mobile phone camera to collect real-life scene images around the location and displays them on the mobile phone screen in real time. The collected real-life scene images are uploaded to the system server through the mobile phone.
[0078] The system server generates at least one of augmented reality images, text and sounds according to the location, and sends at least one of the augmented reality images, text and sounds to the user's mobile phone client. The mobile phone receives at least one of the augmented reality images, text and sounds, and superimposes them on the real scene image displayed in real time on the mobile phone screen for display and playback.
[0079] Alternatively, the system server generates at least one of an augmented reality image, text, and sound based on the location and the real scene image around the location captured by the user through the mobile phone camera, and sends at least one of the augmented reality image, text, and sound to the user's mobile phone client. The mobile phone receives at least one of the augmented reality image, text, and sound, and superimposes it on the real scene image displayed in real time on the mobile phone screen for display and playback.
[0080] The location with service information described in the present invention includes the main location where the QR code is installed and the real-time location obtained according to the user's movement direction and acceleration information captured by the gyroscope and accelerometer.
[0081] The two-dimensional code sign of the present invention can be installed independently at a main location, or it can be integrated into a billboard or signboard. The installation position of the two-dimensional code sign is set as far as possible above the main location where the user passes by, so as to facilitate the user's mobile phone camera to capture. It can also be set on the side of the main location, or even on the ground or on the steps of the stairs. For places such as shopping malls, supermarkets, hospitals, subways, airports, theaters, stadiums, etc. that need to provide information services based on location, the two-dimensional code can be set outside the store next to the user's path, on the commodity shelves and seats, and next to the commodity price tag or next to the commodity, so that the user's camera can directly capture and obtain information.
[0082] The mobile phone described in the present invention also includes tablet computers and other intelligent hardware and electronic devices such as VR glasses, AR glasses, and smart helmets that have cameras, gyroscopes, and accelerometers and can communicate with system servers. Mobile phones are used to summarize for the sake of simplicity. The mobile phone client described in the present invention can include computer clients in addition to Android and Apple mobile phone clients.
[0083] The present invention is not limited to two-dimensional codes, but also includes bar codes. Two-dimensional codes can be replaced by bar codes or other forms of graphic codes.
[0084] In addition to using an independent mobile client, the present invention can also cooperate with platforms such as WeChat, QQ, Sina Weibo, Jingdong, Taobao, and Tmall to add the mobile client of the present invention or a link to the mobile client of the present invention to the interface of the mobile client of the platform. For example, the mobile client of the present invention is added to the WeChat application number (applet) recently launched by WeChat, so that users do not need to install the mobile client of the present invention separately and can directly open and use it in WeChat.
[0085] The above description is only a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several modifications and improvements without departing from the concept of the present invention, which all belong to the protection scope of the present invention.
Claims
1. A positioning method based on a two-dimensional code, a gyroscope and an accelerometer, characterized in that: The positioning method based on a two-dimensional code, a gyroscope and an accelerometer is applied to a positioning system based on a two-dimensional code, a gyroscope and an accelerometer, wherein the positioning system includes a two-dimensional code, a mobile phone with a built-in gyroscope, an accelerometer and a camera, and a system server; A QR code sign representing the user's location is set at the main location of the user's walking path. The user's mobile phone camera establishes an image information capture connection with the QR code sign and shoots the QR code to obtain the location information; The user's mobile phone gyroscope and accelerometer establish a motion information capture connection with the user's actions to capture the user's motion direction and acceleration information; The user's mobile phone establishes a communication connection with the system server, sends the acquired QR code location information and the user's movement direction and acceleration information captured by the gyroscope and accelerometer to the system server, receives the actual location and location map information sent by the system server to the mobile phone for the user to view, and receives the service information of the location and responds to or operates the service information; The positioning method based on a two-dimensional code, a gyroscope and an accelerometer comprises the following steps: Establish a location map in the system server according to the user's walking path, determine the main location, generate a QR code for the main location, and install a QR code sign for the main location; When the user walks to one of the main locations, the user captures the QR code of the location with the phone camera; The mobile client sends the QR code information of the location to the system server. The system server queries the actual location marked by the QR code information of the location in the system's location map, and sends the queried actual location information to the user's mobile client and marks it on the location map of the mobile client. The user checks his actual location in the location map on the mobile client; Or, the offline location data package is downloaded and installed on the mobile client in advance. When the mobile client is offline from the system server, the mobile client directly queries the actual location marked by the QR code information of the location in the system's location map, and marks the queried actual location information on the location map of the mobile client. The user can view his actual location in the location map on the mobile client; The gyroscope and accelerometer start to capture the user's movement direction and acceleration data in real time according to the actual position information of the QR code and send them to the mobile client, which then sends them to the system server. The system server processes and analyzes the user's movement direction and acceleration data received in real time according to the position information of the QR code, and obtains the user's actual position after leaving the QR code position in real time, and sends the actual position obtained in real time to the mobile client, marking it on the position map of the mobile client for the user to view; Or, the offline location data package is downloaded and installed in advance on the mobile client. When the mobile client is offline from the system server, the gyroscope and accelerometer start to capture the user's movement direction and acceleration data in real time according to the actual location information of the QR code and send it to the mobile client. The mobile client processes and analyzes the user's movement direction and acceleration data received in real time according to the location information of the QR code, and obtains the user's actual location after leaving the QR code location in real time, and marks the actual location obtained in real time on the location map of the mobile client for the user to view; The process of determining the actual position of the mobile phone includes: analyzing the shooting position, shooting angle and shooting distance of the camera relative to the QR code mark according to the shape and size of the QR code image captured by the mobile phone camera, determining the position information of the mobile phone relative to the QR code mark, using the relative position information and the actual position of the QR code confirmed by the mobile phone client or the system server as the reference position information of the gyroscope and the accelerometer, starting to capture the user's movement direction and acceleration data in real time, and sending them to the mobile phone client or the system server, the mobile phone client or the system server processes and analyzes the reference position information obtained previously in combination with the user's movement direction and acceleration data received in real time, and obtains the user's actual position after leaving the QR code position in real time; When the user reaches the next major location, the mobile phone camera captures the QR code of the location. After the actual location of the QR code is queried through the mobile client or system server, the actual location is used as the corrected location to start the next process of real-time capture and positioning of the user's location by the gyroscope and accelerometer. By comparing the walking distance marked on the location map based on the user's real-time positioning captured by the gyroscope and accelerometer during the user's last major location route with the actual distance of the major location segment, the deviation of the real-time positioning captured by the gyroscope and accelerometer is calculated and correction is added to the next major location segment process.
2. The positioning method according to claim 1, characterized in that: When the mobile phone camera captures the QR code image, the electronic compass is used to determine the direction data of the mobile phone relative to the QR code logo, and the collected direction data is used together with the data collected by the gyroscope and accelerometer as the reference position information, and the user's movement direction and acceleration data are captured in real time and sent to the mobile phone client or system server. The mobile phone client or system server processes and analyzes the previously obtained reference position information in combination with the real-time received user movement direction and acceleration data, and obtains the user's actual position after leaving the QR code position in real time, and marks the real-time obtained actual position on the mobile phone client's position map for the user to view.
3. An information service method using the positioning method based on a two-dimensional code and a gyroscope and an accelerometer as claimed in any one of claims 1 to 2, characterized in that: Select and set the location information service in the system server according to the main location and real-time location of the user's walking path in the location map; When the user walks to a location where service information is set, the system server sends the service information of the location to the user's mobile client, and the user's mobile client receives the service information, thereby realizing location information service.
4. The information service method according to claim 3, characterized in that: The user's mobile client receives the location service information, and the user replies or operates the service information on the mobile client to achieve location information interaction.
5. The information service method according to claim 4, characterized in that: The information service is an information service of the merchant at the location or an information service of the system, and the information service at least includes an advertising service.
6. The information service method according to claim 5, characterized in that: The information service method also includes a shopping method, the information service is a shopping service of a merchant at the location or a shopping service of the system, and the information interaction is a shopping interaction between a user and a merchant at the location or a shopping interaction with the system.
7. The information service method according to claim 6, characterized in that: The information service method further includes an augmented reality method, the information service is an augmented reality information service, and the information interaction is an augmented reality information interaction; The advertising service is an augmented reality advertising service; The navigation service is an augmented reality navigation service, and the navigation information interaction is an augmented reality navigation information interaction; The shopping service is an augmented reality shopping service, and the shopping interaction is an augmented reality shopping interaction; The user uses the mobile phone camera to collect the real scene images around the location and displays them on the mobile phone screen in real time. The collected real scene images are uploaded to the system server through the mobile phone; The system server generates at least one of an augmented reality image, text, and sound according to the location, and sends at least one of the augmented reality image, text, and sound to the user's mobile phone client, which receives the at least one of the augmented reality image, text, and sound and superimposes it on the real scene image displayed in real time on the mobile phone screen for display and playback; Alternatively, the system server generates at least one of an augmented reality image, text, and sound based on the location and the real scene image around the location captured by the user through the mobile phone camera, and sends at least one of the augmented reality image, text, and sound to the user's mobile phone client. The mobile phone receives at least one of the augmented reality image, text, and sound, and superimposes it on the real scene image displayed in real time on the mobile phone screen for display and playback.
Citation Information
Patent Citations
Novel hand-held indoor positioner, positioning system thereof, and positioning method of positioning system
CN103487054A
Smart commerce AR (augmented reality) application system
CN104778604A
Positioning system based on two -dimensional code, gyroscope and accelerometer
CN206504738U