Beacon laying method, device and computer storage medium

Through the mobile terminal automatically obtaining distance and configuring beacons in an indoor environment, the problem of low efficiency and accuracy of existing beacon laying methods is solved, and efficient and accurate beacon laying is achieved, reducing costs.

CN115499850BActive Publication Date: 2025-05-06ZHEJIANG HAOHAN ENERGY TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210940304.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-05
Publication Date
2025-05-06
Estimated Expiration
2042-08-05

AI Technical Summary

Technical Problem

The existing beacon laying methods are less efficient and accurate, and are costly, especially in complex indoor environments, which are difficult to achieve efficient laying.

Method used

During the movement from the destination to the starting point, the mobile terminal automatically obtains the distance between the current position and the previous steering intersection, outputs beacon laying reminder information, and automatically configures the target beacon according to the configuration instructions.

Benefits of technology

It improves the efficiency and accuracy of beacon laying, reduces the cost and error of manual laying, and is suitable for complex indoor environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115499850B_ABST
    Figure CN115499850B_ABST
Patent Text Reader

Abstract

The present application discloses a beacon laying method, device and computer storage medium, the method is applied to a mobile terminal, including: when the mobile terminal moves from the destination to the starting point, obtaining the distance between the current position of the mobile terminal and the last turning intersection; the last turning intersection is the turning intersection that the mobile terminal has passed most recently; when it is determined that the distance meets the preset distance condition, output beacon laying reminder information; in response to the configuration instruction, configure the target beacon to be laid at the current position. In this way, you only need to carry the mobile terminal and walk along the path where the beacon is to be laid, the mobile terminal will automatically determine the beacon laying position and remind you to lay the beacon, and can automatically configure the beacon, which improves the efficiency and accuracy of beacon laying and reduces the cost.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of indoor positioning technology, and in particular to a beacon laying method, device and computer storage medium. Background Art

[0002] With the rapid development of location-based services such as navigation, people's demand for precise indoor positioning, including shopping malls, mines, underground parking lots, etc., is also increasing. Among them, Bluetooth beacon-based positioning is one of the most widely used low-power positioning technology types, and beacon laying is the basis for achieving positioning. However, most beacon laying is currently done manually offline according to certain laying and debugging specifications, and some complex indoor environments cause great trouble to manual beacon laying. At the same time, the laid beacons sometimes need to be manually deployed again, that is, the existing beacon laying method has the problems of low efficiency and accuracy and high cost. Summary of the invention

[0003] The purpose of the present application is to provide a beacon laying method, device and computer storage medium, which improve the efficiency and accuracy of beacon laying and reduce the cost.

[0004] To achieve the above objectives:

[0005] In a first aspect, an embodiment of the present application provides a beacon laying method, which is applied to a mobile terminal, and the method comprises the following steps:

[0006] During the movement of the mobile terminal from the destination to the starting point, obtaining the distance between the current position of the mobile terminal and the last turning intersection; the last turning intersection is the turning intersection that the mobile terminal has passed most recently;

[0007] When it is determined that the distance meets the preset distance condition, output beacon laying reminder information;

[0008] In response to the configuration instruction, a target beacon to be laid at the current position is configured.

[0009] Optionally, before obtaining the distance between the current position of the mobile terminal and the last turning intersection, the method further includes:

[0010] Detecting whether the mobile terminal passes a turning intersection according to gyroscope data of the mobile terminal;

[0011] When it is determined that the mobile terminal passes through a turning intersection, the information of the turning intersection passed is recorded, and the step of obtaining the distance between the current position of the mobile terminal and the previous turning intersection is performed.

[0012] Optionally, obtaining the distance between the current position of the mobile terminal and the last turning intersection includes:

[0013] The distance between the current position of the mobile terminal and the previous turning intersection is obtained based on the pedometer data of the mobile terminal from the previous turning intersection to the current position.

[0014] Optionally, in response to the configuration instruction, configuring a target beacon to be laid at the current location includes:

[0015] In response to the configuration instruction, the identification of the target beacon is obtained through the Bluetooth connection with the target beacon, and the path identification information from the destination to the starting point is sent to the target beacon;

[0016] The beacon type of the target beacon is determined based on the previous turning intersection information, and the identity identifier and the beacon type are used as configuration information of the target beacon.

[0017] Optionally, the configuration information further includes at least one of the following information: reminder type, identity of adjacent beacons, and location information.

[0018] Optionally, the last turning intersection information includes altitude sensor data of the mobile terminal when passing the last turning intersection; and determining the beacon type of the target beacon based on the last turning intersection information includes:

[0019] Based on the altitude sensor data of the mobile terminal at the current position and the altitude sensor data when the mobile terminal passes the last turning intersection, detecting whether the floor where the mobile terminal is located has changed;

[0020] The beacon type of the target beacon is set accordingly according to the detection result.

[0021] Optionally, before obtaining the distance between the current position of the mobile terminal and the last turning intersection, the method further includes:

[0022] In response to the start command, the pathfinding mode is started;

[0023] Before the target beacon to be laid at the current position is configured based on the last turning intersection information in response to the configuration instruction, the method further includes:

[0024] Turn off or pause the Pathfinder mode.

[0025] Optionally, it also includes:

[0026] After all beacons from the destination to the starting point are laid, the beacon types of all the beacons are inverted to obtain beacon navigation data from the starting point to the destination.

[0027] In a second aspect, an embodiment of the present application provides a beacon laying device for executing the above method, including: a processor and a memory storing a computer program, and when the processor runs the computer program, the steps of the above beacon laying method are implemented.

[0028] In a third aspect, an embodiment of the present application provides a computer storage medium, in which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned beacon laying method are implemented.

[0029] The beacon laying method, device and computer storage medium provided in the embodiment of the present application are applied to a mobile terminal, and include: when the mobile terminal moves from the destination to the starting point, obtaining the distance between the current position of the mobile terminal and the last turning intersection; the last turning intersection is the turning intersection that the mobile terminal has passed most recently; when it is determined that the distance meets the preset distance condition, outputting beacon laying reminder information; in response to the configuration instruction, configuring the target beacon to be laid at the current position. In this way, you only need to carry the mobile terminal and walk along the path where the beacon is to be laid, and the mobile terminal will automatically determine the beacon laying position and remind you to lay the beacon. At the same time, the beacon can be automatically configured, which improves the efficiency and accuracy of beacon laying and reduces costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 A schematic diagram of a process of laying beacons provided by an embodiment of the present invention;

[0031] Figure 2 It is a logical diagram of laying beacons in an embodiment of the present invention;

[0032] Figure 3 A schematic diagram of the architecture of a beacon laying system provided by an embodiment of the present invention;

[0033] Figure 4 It is a schematic diagram of the inversion of the beacon data model in an embodiment of the present invention;

[0034] Figure 5 A schematic structural diagram of a beacon laying device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0035] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.

[0036] It should be noted that, in this article, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element. In addition, components, features, and elements with the same name in different embodiments of the present application may have the same meaning or different meanings, and their specific meanings need to be determined by their explanation in the specific embodiment or further combined with the context of the specific embodiment.

[0037] It should be understood that, although the terms first, second, third, etc. may be used to describe various information in this article, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this article, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein can be interpreted as "at the time of..." or "when..." or "in response to determination". Furthermore, as used in this article, the singular forms "one", "one" and "the" are intended to also include plural forms, unless there is an opposite indication in the context. It should be further understood that the terms "comprising", "including" indicate that there are described features, steps, operations, elements, components, projects, kinds, and / or groups, but do not exclude the existence, occurrence or addition of one or more other features, steps, operations, elements, components, projects, kinds, and / or groups. The terms "or" and "and / or" used herein are interpreted as inclusive, or mean any one or any combination. Thus, “A, B, or C” or “A, B and / or C” means “any of the following: A; B; C; A and B; A and C; B and C; A, B, and C.” An exception to this definition will occur only when a combination of elements, functions, steps, or operations are inherently mutually exclusive in some manner.

[0038] It should be understood that, although the various steps in the flowchart in the embodiment of the present application are displayed in sequence according to the indication of the arrows, these steps are not necessarily performed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and it can be performed in other orders. Moreover, at least a portion of the steps in the figure may include a plurality of sub-steps or a plurality of stages, and these sub-steps or stages are not necessarily performed at the same time, but can be performed at different times, and their execution order is not necessarily performed in sequence, but can be performed in turn or alternately with other steps or at least a portion of the sub-steps or stages of other steps.

[0039] It should be noted that, in this article, step codes such as S101, S102, etc. are used for the purpose of expressing the corresponding content more clearly and concisely, and do not constitute a substantial limitation on the sequence. When implementing the step, those skilled in the art may execute S102 first and then S101, etc., but these should all be within the scope of protection of this application.

[0040] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0041] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present application, and have no specific meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.

[0042] See also Figure 1 , is a beacon laying method provided in an embodiment of the present application. The beacon laying method can be executed by a beacon laying device provided in an embodiment of the present application. The device can be implemented in software and / or hardware, and can be a mobile terminal such as a mobile phone. In this embodiment, the beacon laying method is applied to a mobile terminal as an example. The method includes:

[0043] Step S101: while the mobile terminal is moving from the destination to the starting point, obtaining the distance between the current position of the mobile terminal and the last turning intersection; the last turning intersection is the turning intersection that the mobile terminal has passed most recently.

[0044] It is understandable that when a user needs to lay beacons between a starting point (such as a parking lot entrance) and a destination (such as a parking space or an elevator entrance in a parking lot) to provide navigation services, if the mobile terminal is carried from the starting point to the destination to lay beacons, since the distance between the current position and the intersection that needs to be turned in front cannot be obtained, the laying position of the beacon cannot be accurately determined. Therefore, it is necessary to carry the mobile terminal from the destination to the starting point to perform the beacon laying operation. It should be noted that the destination and the starting point may be located in a building or space such as a shopping mall complex, a mine, or an underground parking lot. In this embodiment, the destination is a certain position in an indoor parking lot, and the starting point is an entrance to an indoor parking lot. For example, the distance between the current position of the mobile terminal and the last turning intersection can include obtaining the distance between the current position of the mobile terminal and the last turning intersection and the distance between the current position of the mobile terminal and the last beacon. It should be noted that the turning intersection refers to an intersection where the direction of movement changes when passing through, such as turning left or right from the intersection.

[0045] In one embodiment, before obtaining the distance between the current position of the mobile terminal and the last turning intersection, it also includes: in response to the start instruction, turning on the pathfinding mode. Optionally, the mobile terminal is provided with a pathfinding mode to implement the beacon laying method provided in this embodiment. When the user is ready to use the mobile terminal for beacon laying, the pathfinding mode in the mobile terminal can be turned on at the destination first to trigger the mobile terminal to obtain the distance between the current position of the mobile terminal and the last turning intersection and the distance between the current position of the mobile terminal and the last beacon during the movement process. It should be noted that after the mobile terminal turns on the pathfinding mode at the destination, it will output a reminder message for setting a starting beacon, so as to set the beacon type at the destination as a starting type beacon.

[0046] In one embodiment, before obtaining the distance between the current position of the mobile terminal and the last turning intersection, the method further includes:

[0047] Detecting whether the mobile terminal passes a turning intersection according to gyroscope data of the mobile terminal;

[0048] When it is determined that the mobile terminal passes through a turning intersection, the information of the turning intersection passed is recorded, and the step of obtaining the distance between the current position of the mobile terminal and the previous turning intersection is performed.

[0049] Optionally, the mobile terminal is provided with a gyroscope, and the direction of movement of the mobile terminal, such as whether it is going straight or turning, can be obtained based on the gyroscope data of the mobile terminal. When the direction of movement of the mobile terminal is turning, it indicates that the mobile terminal is passing through a turning intersection. Therefore, it is possible to detect whether the mobile terminal has passed through a turning intersection based on the gyroscope data of the mobile terminal, and when it is determined that the mobile terminal has passed through a turning intersection, the information of the turning intersection passed through is recorded, such as the type of turning, the distance between the turning intersection and the destination or the previous turning intersection, etc., and the step of obtaining the distance between the current position of the mobile terminal and the previous turning intersection is performed. In this way, the gyroscope can be used to accurately obtain whether the mobile terminal has passed through a turning intersection, further improving the accuracy of beacon laying.

[0050] In one implementation, obtaining the distance between the current position of the mobile terminal and the last turning intersection includes:

[0051] The distance between the current position of the mobile terminal and the previous turning intersection is obtained based on the pedometer data of the mobile terminal from the previous turning intersection to the current position.

[0052] Optionally, a pedometer sensor is provided in the mobile terminal, and the pedometer data of the mobile terminal can be used to obtain the number of steps taken by the user within a certain range, such as the number of steps taken from the last turning intersection or the last beacon to the current position. Since the distance taken by each step of the user can be regarded as approximately the same, the number of steps taken by the user within a certain range can be multiplied by the distance taken by each step of the user to obtain the walking distance of the user within a certain range, and the distance between the current position of the mobile terminal and a certain position can be obtained accordingly, such as the distance from the last turning intersection or the last beacon to the current position. In this way, the distance between the current position of the mobile terminal and the last turning intersection or the last beacon can be accurately obtained through the pedometer, further improving the accuracy of beacon laying.

[0053] Step S102: When it is determined that the distance meets a preset distance condition, beacon laying reminder information is output.

[0054] Optionally, see Figure 2, the logical process of laying beacons in this embodiment is as follows: the worker starts walking from the destination in the opposite direction to the entrance and turns on the pathfinder mode. When encountering the first turning intersection, the turning point will be recorded in the cache. If the worker continues to move forward, the beacon distance logic algorithm will be triggered to remind the worker to lay the beacon. The beacon distance logic algorithm in this embodiment is as follows: Assuming that the user is about to pass an intersection by driving at a speed of x, the best reminder time is when the navigation prompt information corresponding to the beacon is played and the user just arrives at the intersection. If the signal radius of the beacon is r, the user's reaction time is t and the voice playback time is T, then the calculation formula of the distance S between the beacon and the intersection is: S>=(t+T)*xr. That is to say, when the distance between the current position of the mobile terminal and the previous turning intersection is greater than or equal to (t+T)*xr, it means that the corresponding beacon needs to be laid at the current position, and the beacon laying reminder information is output. Optionally, the beacon laying reminder information can be a beacon laying voice and / or text reminder information, which is not specifically limited here. It should be noted that when the distance between the current position and the previous turning intersection is greater than or equal to (t+T)*x, beacon laying reminder information can also be output. In addition, each time the mobile terminal passes a turning intersection, only one beacon can be set accordingly. It should be noted that in order to set only one beacon or reasonably set multiple beacons for each turning intersection passed by the mobile terminal, the distance that meets the preset distance condition can be that the distance between the current position of the mobile terminal and the previous turning intersection is greater than or equal to (t+T)*xr, and the distance between the current position of the mobile terminal and the previous beacon is greater than or equal to (t+T)*x.

[0055] Step S103: In response to the configuration instruction, configure the target beacon to be laid at the current position.

[0056] Optionally, the beacon in this embodiment may be a Bluetooth beacon. The mobile terminal may provide a setting interface for configuring the beacon, and when receiving a configuration instruction input by a user, configure the target beacon to be laid at the current location according to the configuration instruction.

[0057] In one embodiment, in response to the configuration instruction, configuring the target beacon to be laid at the current location includes:

[0058] In response to the configuration instruction, the identification of the target beacon is obtained through the Bluetooth connection with the target beacon, and the path identification information from the destination to the starting point is sent to the target beacon;

[0059] The beacon type of the target beacon is determined based on the previous turning intersection information, and the identity identifier and the beacon type are used as configuration information of the target beacon.

[0060] Optionally, after obtaining the configuration instruction, the mobile terminal may establish a Bluetooth connection with the target beacon to be laid at the current location, and then obtain the identity of the target beacon, such as the MAC address or ID of the target beacon, through the Bluetooth connection with the target beacon, and send the path identification information and station identification information from the destination to the starting point to the target beacon. Among them, the station identification information is used to characterize the location of the destination. At the same time, the mobile terminal can determine the beacon type of the target beacon based on the previous turning intersection information, and use the identity and the beacon type as the configuration information of the target beacon. It should be noted that the beacon type of the target beacon can be used to characterize the navigation indication function corresponding to the target beacon, such as indicating left turn, right turn, uphill or downhill, etc. It can be understood that, since the last turning intersection information records the turning type of the mobile terminal when passing the last turning intersection during the movement from the destination to the starting point, such as left turn or right turn, the beacon type of the target beacon can be determined based on the last turning intersection information, such as setting the turning type of the mobile terminal when passing the last turning intersection as the beacon type of the target beacon. In addition, the mobile terminal uses the identity and the beacon type as the configuration information of the target beacon to achieve navigation based on the configuration information of the target beacon.

[0061] In one embodiment, the configuration information further includes at least one of the following information: a reminder type, an identity of an adjacent beacon, and location information. The reminder type may be a voice reminder type or a text reminder type, or may be a left turn reminder type, a right turn reminder type, etc. The location information may be the distance between the current location and the previous turning intersection, etc.

[0062] In one embodiment, before the target beacon to be laid at the current position is configured based on the information of the last turning intersection in response to the configuration instruction, it also includes: closing or pausing the pathfinding mode. It can be understood that after the mobile terminal outputs the beacon laying reminder information, the pathfinding mode can be closed or suspended based on the user inputting an operation instruction to the mobile terminal, or the pathfinding mode can be automatically closed or suspended, and then the step of configuring the target beacon to be laid at the current position based on the information of the last turning intersection in response to the configuration instruction is executed. In addition, after the target beacon to be laid at the current position is configured in response to the configuration instruction, the mobile terminal will reopen or continue the pathfinding mode to continue to provide beacon laying services. It should be noted that after reaching the starting point, the mobile terminal will output a reminder message for setting an end beacon to set the beacon type at the starting point as an end type beacon.

[0063] In summary, in the beacon laying method provided in the above embodiment, you only need to carry the mobile terminal and walk along the path where the beacon is to be laid. The mobile terminal will automatically determine the beacon laying location and remind you to lay the beacon. At the same time, it can automatically configure the beacon, which improves the efficiency and accuracy of beacon laying and reduces costs.

[0064] In one embodiment, the last turning intersection information includes altitude sensor data of the mobile terminal when passing the last turning intersection; and determining the beacon type of the target beacon based on the last turning intersection information includes:

[0065] Based on the altitude sensor data of the mobile terminal at the current position and the altitude sensor data when the mobile terminal passes the last turning intersection, detecting whether the floor where the mobile terminal is located has changed;

[0066] The beacon type of the target beacon is set accordingly according to the detection result.

[0067] It can be understood that when the destination and the starting point are on different floors, for example, the destination is located on the second underground floor, and the starting point is located on the first underground floor, at this time, when the mobile terminal passes through the turning intersection, if the altitude data of the mobile terminal changes, such as increasing by 2 meters or decreasing by 2 meters, it means that the floor where the mobile terminal is located has changed, that is, it means that the mobile terminal is going uphill or downhill while passing through the turning intersection. Therefore, based on the altitude sensor data of the mobile terminal at the current position and the altitude sensor data when passing through the previous turning intersection, it can be analyzed whether the altitude data of the mobile terminal increases or decreases. If the altitude data of the mobile terminal increases or decreases significantly, it means that the floor where the mobile terminal is located has changed, and the beacon type of the target beacon is set accordingly. For example, if the altitude data of the mobile terminal increases, the beacon type of the target beacon is set to the uphill type; if the altitude data of the mobile terminal decreases, the beacon type of the target beacon is set to the downhill type. In this way, by setting the beacon type of the beacon accordingly through the altitude sensor data of the mobile terminal, beacons on multiple floors can be distinguished, and the efficiency of beacon laying is further improved.

[0068] In one embodiment, the method further comprises: after all beacons from the destination to the starting point are laid, the beacon types of all beacons are inverted to obtain beacon navigation data from the starting point to the destination. It can be understood that since the laying of beacons starts from the destination, and the beacon type of the target beacon to be laid at the current position is determined based on the information of the last turning intersection, and the vehicle that needs to provide navigation service actually moves from the starting point to the destination, therefore, after all beacons from the destination to the starting point are laid, the beacon types of all beacons are inverted, that is, left turns to right turns, right turns to left turns, downhill turns to uphill, and uphill turns to downhill, so as to obtain beacon navigation data from the starting point to the destination. Among them, the beacon navigation data may include the beacon type, identity, reminder type, location information, etc. of each laid beacon. In addition, the mobile terminal sends the beacon navigation data from the starting point to the destination to the server, so that it can be downloaded and used by the application with indoor navigation function. In this way, based on the laid beacons, beacon navigation data from the starting point to the destination can be quickly obtained, thereby enabling rapid provision of navigation services and improving user experience.

[0069] Based on the same inventive concept as the above-mentioned embodiment, the above-mentioned embodiment is described in detail below through a specific example. In this example, the mobile terminal is taken as a mobile phone.

[0070] See also Figure 3 The process of the beacon laying method provided in this embodiment is as follows: the worker needs to walk from the destination of the underground parking lot to the entrance, and at the same time open the beacon laying software in the mobile phone, click the start laying button, then the mobile phone will turn on the pathfinding mode, and obtain the data of the gyroscope, pedometer and altitude sensor of the mobile phone in real time. The direction of the worker's walking can be obtained through the gyroscope of the mobile phone, the approximate walking distance can be obtained through the pedometer, and the altitude data can be used to determine whether the worker's position has changed in the floor. With the parameters of direction, distance and floor, the approximate path model of the underground parking lot can be drawn. With the path model, the direction and orientation of each intersection on the path model can be known, and then the worker can be automatically prompted to place a beacon at this point according to the intersection direction and beacon distance algorithm, and the configuration beacon pop-up window will pop up on the mobile phone interface and the pathfinding mode will be suspended. The worker clicks to configure the beacon, and then it will interact with the beacon through Bluetooth, obtain the unique identifier of the beacon, and package the point data and beacon data into the model. After recording is completed, the pathfinding mode is restarted. If the altitude data changes significantly, it is determined as a floor switch, and the downhill beacon data is written again until the worker walks to the entrance of the underground parking lot to configure the start beacon. At this point, the beacon laying process for the entire single path is completed.

[0071] The beacon laying process of the entire path is from the end point to the starting point, because the beacon laying algorithm is based on the distance intersection algorithm, and the pedometer is used to roughly calculate the distance traveled from the intersection, and then the beacon laying point is obtained. At the end of the whole process, the entire path model will be reversed, such as turning left to right, and uphill to downhill, so the whole process is the beacon data model from the entrance to the destination.

[0072] For the case of multiple entrances and multiple routes, after the path model is generated, the beacons on multiple paths will be automatically set to blacklist each other. Through the blacklist setting, beacons on different paths will only be associated with beacons on the same path, and blacklisted beacons will not be processed even if they are received.

[0073] The specific implementation process is as follows:

[0074] First, the gyroscope sensor of the mobile phone can obtain horizontal data, which can determine the current walking direction of the worker. Then, the walking distance can be obtained through the pedometer. According to the height of the worker of about 175cm, the walking speed is 1.5m / s, the step frequency is less than 60, and the approximate distance of each step is 65cm. Then, multiply the number of steps num obtained by the pedometer by the spacing K between each step to obtain the corresponding distance L=num*K. The change of floors can be detected through the altitude data, and with the concept of floors, the overlap problem of beacons in multi-story underground parking lots can be solved.

[0075] The logic of laying beacons is roughly like this: workers start from the destination and walk in reverse to the entrance and turn on the pathfinding mode of the mobile phone. When encountering the first turning intersection, the mobile phone will record the turning point in the cache. If it continues to move forward, it will trigger the beacon distance logic algorithm to remind the worker to place the beacon. Here, the distance logic of laying beacons is as follows: Assuming that the user is about to pass an intersection when driving at a speed x, the best reminder time is when the navigation prompt information corresponding to the beacon is played and the user just arrives at the intersection. If the signal radius of the beacon is r, the user's reaction time is t and the voice playback time is T, then the calculation formula for the distance S between the beacon and the intersection is: S> = (t+T)*xr, such as Figure 2As shown. The above formula can finally determine the distance from the beacon to the intersection, and the orientation of the beacon is determined. Finally, the mobile phone automatically reminds the worker to place the beacon and turn off the pathfinding mode, and the worker starts to configure the beacon. The configured beacon obtains the unique identifier of the beacon through the Bluetooth of the mobile phone, and then stores it in the path model together with the data model. The data model object contains the beacon orientation, beacon type, prompt type, beacon unique identifier, blacklist, and the relationship between the upper and lower beacons. After the beacon configuration is completed, the worker turns on the pathfinding mode, and so on until the entrance is reached and the last start beacon is configured. The entire path model is constructed, and the path model contains the direction and length of each road in the path, the orientation of each beacon, the orientation of the starting point and the end point, the model object for configuring the beacon, and the path distinction of different floors.

[0076] For underground parking lots with multiple entrances, there are bound to be multiple paths, and there is a high possibility of intersections. If there are intersections, all beacons on different paths of the current underground parking lot can be blacklisted so that beacons on the same path will not be processed by default when they read beacons on other paths.

[0077] When all the paths are completed, there will be a final generation process. This process will invert the data of the reverse configuration process, that is, generate a new data model according to the normal rule of the user driving into the warehouse to the destination. The newly generated data model will be uploaded to the server and downloaded and used by the app with indoor navigation function. The inversion process is as follows Figure 4 As shown. Among them, Figure 4 (a) represents the beacon data model generated from the destination to the entrance, Figure 4 (b) shows the beacon data model generated from the entrance to the destination after inversion.

[0078] In summary, this embodiment provides a beacon laying method with the following innovations: low laying cost, no need for CAD drawings or floor plans of underground parking lots, one person only needs a mobile phone to complete the beacon laying of a path, simple operation, no need for construction personnel to calculate and measure during the whole process, and when they arrive at the laying point, it will automatically remind the workers to lay the beacon, and automatically obtain the beacon identifier through Bluetooth and store it in the data model, which improves the laying efficiency and greatly reduces the human error rate.

[0079] Based on the same inventive concept as the above embodiments, the embodiment of the present invention provides a beacon laying device, such as Figure 5 As shown, the device includes: a processor 310 and a memory 311 storing a computer program; wherein, Figure 5 The processor 310 shown in the figure is not used to indicate that the number of the processor 310 is one, but is only used to indicate the positional relationship of the processor 310 relative to other devices. In actual applications, the number of the processor 310 may be one or more; similarly, Figure 5 The memory 311 shown in the figure has the same meaning, that is, it is only used to refer to the position relationship of the memory 311 relative to other devices. In practical applications, the number of memories 311 can be one or more. When the processor 310 runs the computer program, the beacon laying method applied to the above device is implemented.

[0080] The device may also include: at least one network interface 312. The various components in the device are coupled together via a bus system 313. It is understood that the bus system 313 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 313 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Figure 5 Various buses are labeled as bus system 313.

[0081] The memory 311 may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories. The nonvolatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a flash memory, a magnetic surface memory, an optical disk, or a compact disc read-only memory (CD-ROM); the magnetic surface memory may be a disk memory or a tape memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), and direct RAM bus random access memory (DRRAM, Direct Rambus Random Access Memory).The memory 311 described in the embodiments of the present invention is intended to include but is not limited to these and any other suitable types of memories.

[0082] The memory 311 in the embodiment of the present invention is used to store various types of data to support the operation of the device. Examples of these data include: any computer program used to operate on the device, such as an operating system and an application; contact data; phone book data; messages; pictures; videos, etc. Among them, the operating system includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application program may include various applications, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. Here, the program that implements the method of the embodiment of the present invention may be included in the application program.

[0083] Based on the same inventive concept as the above-mentioned embodiment, this embodiment further provides a computer storage medium, in which a computer program is stored. The computer storage medium may be a ferromagnetic random access memory (FRAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); it may also be various devices including one or any combination of the above-mentioned memories, such as a mobile phone, a computer, a tablet device, a personal digital assistant, etc. When the computer program stored in the computer storage medium is executed by the processor, the beacon laying method applied to the above-mentioned device is implemented. For the specific steps implemented when the computer program is executed by the processor, please refer to Figure 1 The description of the illustrated embodiment will not be repeated here.

[0084] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0085] In this document, the terms "comprises," "comprising," or any other variations thereof, are intended to cover a non-exclusive inclusion of elements other than those listed and may also include additional elements not expressly listed.

[0086] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A beacon laying method, characterized in that: Applied to a mobile terminal, the method comprises: During the movement of the mobile terminal from the destination to the starting point, obtaining the distance between the current position of the mobile terminal and the last turning intersection; the last turning intersection is the turning intersection that the mobile terminal has passed most recently; When it is determined that the distance meets the preset distance condition, output beacon laying reminder information; the distance meets the preset distance condition includes that the distance is greater than or equal to (t+T)*xr, t is the user's reaction time, T is the voice playback time, x is the preset speed of the vehicle, and r is the signal radius of the beacon; In response to the configuration instruction, a target beacon to be laid at the current position is configured.

2. The method according to claim 1, characterized in that Before obtaining the distance between the current position of the mobile terminal and the last turning intersection, the method further includes: Detecting whether the mobile terminal passes a turning intersection according to gyroscope data of the mobile terminal; When it is determined that the mobile terminal passes through a turning intersection, the information of the turning intersection passed is recorded, and the step of obtaining the distance between the current position of the mobile terminal and the previous turning intersection is performed.

3. The method according to claim 1 or 2, characterized in that: The obtaining of the distance between the current position of the mobile terminal and the last turning intersection includes: The distance between the current position of the mobile terminal and the previous turning intersection is obtained based on the pedometer data of the mobile terminal from the previous turning intersection to the current position.

4. The method according to claim 1 or 2, characterized in that: The step of configuring, in response to the configuration instruction, a target beacon to be laid at the current position includes: In response to the configuration instruction, the identification of the target beacon is obtained through the Bluetooth connection with the target beacon, and the path identification information from the destination to the starting point is sent to the target beacon; The beacon type of the target beacon is determined based on the previous turning intersection information, and the identity identifier and the beacon type are used as configuration information of the target beacon.

5. The method according to claim 4, characterized in that The configuration information also includes at least one of the following information: reminder type, identity of adjacent beacons, and location information.

6. The method according to claim 4, characterized in that The last turning intersection information includes altitude sensor data of the mobile terminal when passing the last turning intersection; The determining the beacon type of the target beacon based on the previous turning intersection information includes: Based on the altitude sensor data of the mobile terminal at the current position and the altitude sensor data when the mobile terminal passes the last turning intersection, detecting whether the floor where the mobile terminal is located has changed; The beacon type of the target beacon is set accordingly according to the detection result.

7. The method according to claim 1 or 2, characterized in that: Before obtaining the distance between the current position of the mobile terminal and the last turning intersection, the method further includes: In response to the start command, the pathfinding mode is started; Before the target beacon to be laid at the current position is configured based on the last turning intersection information in response to the configuration instruction, the method further includes: Pause the pathfinder mode.

8. The method according to claim 1 or 2, characterized in that: Also includes: After all beacons from the destination to the starting point are laid, the beacon types of all the beacons are inverted to obtain beacon navigation data from the starting point to the destination.

9. A beacon laying device, characterized in that: include: A processor and a memory storing a computer program, wherein when the processor runs the computer program, the steps of the beacon laying method according to any one of claims 1 to 8 are implemented.

10. A computer storage medium, characterized in that: A computer program is stored, and when the computer program is executed by a processor, the steps of the beacon laying method according to any one of claims 1 to 8 are implemented.

Citation Information

Patent Citations

  • Indoor positioning system and method thereof

    CN107576938A

  • Indoor positioning method and device, mobile terminal and storage medium

    CN114501326A