Positioning method, device, storage medium and electronic device
By using a wireless network to connect the solution server and UWB base station in the UWB positioning system, the cumbersome problems of wired power supply and data network in the existing technology are solved, and more efficient positioning device construction and cost savings are achieved.
Patent Information
- Application Number
- CN202110912812.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-08-10
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2041-08-10
AI Technical Summary
The existing UWB positioning system requires the establishment of a wired power network and a wired data network, which makes the construction work cumbersome and consumes manpower, material resources and man-hours.
By establishing a wireless network connection between the solution server and the UWB base station, the power cord and wired network settings are omitted, and communication is achieved using rechargeable devices and wireless network modules.
It simplifies the construction process of the positioning device, reduces the cost of manpower, material resources and working hours, and improves work efficiency.
Smart Images

Figure CN113613168B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of positioning technology, and in particular to a positioning method, device, storage medium and electronic equipment. Background Art
[0002] The current UWB positioning system usually requires the construction of a wired power network to power the on-site UWB base station, and a wired data network to exchange data with a remote solution server, making the construction of the entire UWB positioning system more cumbersome and consuming manpower, material resources and working hours. Summary of the invention
[0003] In view of this, the present application provides a positioning method, device, storage medium and electronic device, the main purpose of which is to solve the technical problem in the related technology that the UWB positioning device needs to build a wired power network to power the on-site UWB base station, and needs to build a wired data network to exchange data with a remote solution server, which makes the construction work more cumbersome.
[0004] According to a first aspect of the present invention, there is provided a positioning method, the method comprising:
[0005] The solution server is connected to the UWB base station through a wireless network; wherein the solution server and the UWB base station are both rechargeable devices, and the solution server is configured to provide the wireless network.
[0006] In a possible implementation manner, the number of the UWB base station is at least one, and the method further includes:
[0007] Arranging at least one of the UWB base stations based on preset location information, wherein the preset location information includes positioning information of any of the UWB base stations;
[0008] Acquire first relative position information between any of the UWB base stations and the UWB tag after arrangement, and second relative position information between the UWB base station and a reference object;
[0009] Transmitting the first relative position information and the second relative position information from the UWB base station to the solution server;
[0010] The position information between the UWB tag and the reference object is determined according to the first relative position information and the second relative position information.
[0011] In another possible implementation, the number of the UWB base stations is at least two, the UWB base stations include a reference base station and a non-reference base station, the reference base station is arranged based on the preset position, and the method further includes:
[0012] If the number of the reference base stations is equal to the number of the UWB base stations, all the preset location information is transmitted from the UWB base stations to the solution server, and the location information of each of the UWB base stations is determined and recorded according to the preset location information;
[0013] If the number of the reference base stations is less than the number of the UWB base stations, the first distance information between the non-reference base station and any of the reference base stations is obtained, the first distance information is transmitted from the UWB base station to the solution server, and the location information of each of the UWB base stations is determined and recorded based on the first distance information.
[0014] In another possible implementation, the at least two UWB base stations include a first base station and a second base station, and the first base station and the second base station are configured to be able to communicate with the solution server;
[0015] Wherein, the solution server is built-in or external to the first base station;
[0016] The first base station and the second base station are communicatively connected via the wireless network or the local area network.
[0017] In another possible implementation, the positioning method further includes:
[0018] Acquire second distance information between the UWB base station and the UWB tag;
[0019] Transmitting the second distance information from the UWB base station to the solution server;
[0020] The location information of the UWB tag is determined according to the second distance information.
[0021] In another possible implementation manner, based on the fact that the location information of the UWB tag includes plane coordinate points, the number of the UWB base stations is at least three.
[0022] In another possible implementation, the positioning method further includes:
[0023] The location information of each of the UWB base stations and / or the location information of the UWB tags are displayed.
[0024] In another possible implementation manner, the manner of displaying the location information of each of the UWB base stations and / or the location information of the UWB tags includes at least one of the following:
[0025] Displaying through a display unit, wherein the display unit is arranged on the solution server;
[0026] The display is performed through a mobile device, and the mobile device is communicatively connected to the solution server through a data line or the wireless network.
[0027] In another possible implementation, before the step of the solution server communicating with the UWB base station through a wireless network, the method further includes:
[0028] It is determined that the solution server and the UWB base station are both in a first state.
[0029] In another possible implementation manner, the step of determining that both the solution server and the UWB base station are in the first state specifically includes:
[0030] Respond to the solution server start command;
[0031] Acquire the current status of the first wireless network module and the solution module of the solution server;
[0032] Based on the current states of the first wireless network module and the solution module being both in an operable state, determining that the solution server is in the first state, otherwise, responding to a solution server shutdown instruction and then responding to a solution server reset instruction;
[0033] Based on the solution server being in the first state, responding to a UWB base station start instruction;
[0034] Obtaining the current status of the second wireless network module, the positioning module, and the local area network module of the UWB base station;
[0035] Based on the fact that the second wireless network module, the positioning module and the local area network module are all in an operable state, it is determined that the UWB base station is in the first state; otherwise, after responding to the UWB base station shutdown instruction, it responds to the UWB base station reset instruction.
[0036] In another possible implementation manner, the positioning method further includes:
[0037] Displaying the current status of the first wireless network module and the solution module of the solution server;
[0038] Display the current status of the second wireless network module, the positioning module, and the local area network module of the UWB base station.
[0039] In another possible implementation, the step of responding to the solution server start instruction specifically includes:
[0040] Based on the received solution server start instruction;
[0041] Turning on a power circuit of the first wireless network module to start the first wireless network module;
[0042] Turning on the power circuit of the solving module to start the solving module;
[0043] The solution module is communicatively connected with the data acquired by the solution server, and the solution module is communicatively connected with the data in the first wireless network module.
[0044] In another possible implementation, the step of responding to the server shutdown instruction includes:
[0045] Based on the received shutdown instruction of the solution server;
[0046] Turning off a power circuit of the first wireless network module to turn off the first wireless network module;
[0047] Send a command to close the solver module;
[0048] Based on receiving a solution module shutdown reply instruction within a first timeout period, detecting whether the solution module is shut down, if so, shutting down the power circuit of the solution module, otherwise, after a first preset time, shutting down the power circuit of the solution module to shut down the solution module;
[0049] Based on the fact that the solution module shutdown reply instruction is not received within the first timeout period, it is determined whether the first timeout number of the solution module shutdown reply instruction exceeds a first preset threshold value; if so, the power circuit of the solution module is turned off to shut down the solution module; otherwise, the solution module shutdown instruction is returned and resent.
[0050] In another possible implementation, the step of responding to the solution server reset instruction specifically includes:
[0051] Based on the received solution server reset instruction;
[0052] Controlling the reset connection of the first wireless network module to perform a reset action to reset the first wireless network module;
[0053] Send a reset command to the solver module;
[0054] Upon receiving a reset reply instruction of the solution module within the second timeout period, the solution module completes the reset operation;
[0055] Based on the fact that the solution module reset reply instruction is not received within the second timeout period, it is determined whether the second timeout number of the solution module reset reply instruction exceeds a second preset threshold; if so, the power circuit of the solution module is turned off and then reopened for resetting; otherwise, the solution module reset instruction is returned and resent.
[0056] In another possible implementation, the step of responding to the UWB base station start instruction specifically includes:
[0057] Based on the received UWB base station start instruction;
[0058] Turning on a power circuit of the second wireless network module to start the second wireless network module and connect the second wireless network module to the first wireless network module;
[0059] Turning on the power circuit of the positioning module to start the positioning module;
[0060] Start the LAN module;
[0061] The positioning module is communicatively connected with data in the wireless network.
[0062] In another possible implementation, the step of responding to the UWB base station shutdown instruction specifically includes:
[0063] Based on the received UWB base station shutdown instruction;
[0064] Turning off a power circuit of the second wireless network module to turn off the second wireless network module;
[0065] The power circuit of the positioning module is turned off to turn off the positioning module.
[0066] In another possible implementation, the step of responding to the UWB base station reset instruction specifically includes:
[0067] Based on the received UWB base station reset instruction;
[0068] controlling the UWB base station to perform an initialization operation,
[0069] After turning off the power circuit of the second wireless network module, turning on the power circuit of the second wireless network module again to reset the second wireless network module and make the second wireless network module reconnect to the first wireless network module;
[0070] After turning off the power circuit of the positioning module, the power circuit of the positioning module is turned on again to reset the positioning module.
[0071] In a second aspect, a positioning device is provided, which includes: a solution server; a UWB base station, wherein the solution server is communicatively connected to the UWB base station via a wireless network; wherein the solution server and the UWB base station are both rechargeable devices, and the solution server is configured to be able to provide the wireless network.
[0072] In a possible implementation manner, the number of the UWB base station is at least one, and the apparatus further includes:
[0073] A layout module, used to arrange at least one of the UWB base stations based on preset position information, wherein the preset position information includes the positioning information of any of the UWB base stations; a first acquisition module, used to obtain the first relative position information between any of the UWB base stations and the UWB tag after arrangement, and the second relative position information between the UWB base station and the reference object; a first transmission module, used to transmit the first relative position information and the second relative position information from the UWB base station to the solution server; a first processing module, used to determine the position information between the UWB tag and the reference object based on the first relative position information and the second relative position information.
[0074] In another possible implementation manner, the number of the UWB base stations is at least two, the UWB base stations include a reference base station and a non-reference base station, the reference base station is arranged based on the preset position, and the apparatus further includes:
[0075] The second processing module is used to transmit all the preset location information from the UWB base station to the solution server if the number of the reference base stations is equal to the number of the UWB base stations, and determine and record the location information of each of the UWB base stations according to the preset location information; the third processing module is used to obtain the first distance information between the non-reference base station and any of the reference base stations if the number of the reference base stations is less than the number of the UWB base stations, transmit the first distance information from the UWB base station to the solution server, and determine and record the location information of each of the UWB base stations according to the first distance information.
[0076] In another possible implementation, the at least two UWB base stations include a first base station and a second base station, and the first base station and the second base station are configured to be able to communicate with the solution server;
[0077] The solution server is built-in or externally located in the first base station; the first base station and the second base station are communicatively connected via the wireless network or local area network.
[0078] In another possible implementation, the positioning device further includes:
[0079] A second acquisition module, used to acquire second distance information between the UWB base station and the UWB tag;
[0080] The second transmission module is used to transmit the second distance information from the UWB base station to the solution server; the fourth processing module is used to determine the location information of the UWB tag according to the second distance information.
[0081] In another possible implementation manner, based on the fact that the location information of the UWB tag includes plane coordinate points, the number of the UWB base stations is at least three.
[0082] In another possible implementation, the positioning device further includes:
[0083] The display module is used to display the location information of each of the UWB base stations and / or the location information of the UWB tags.
[0084] In another possible implementation, the display module includes at least one of the following:
[0085] A display unit, the display unit is arranged on the solution server; a mobile device, the mobile device is connected to the solution server through a data line or the wireless network.
[0086] In another possible implementation, the positioning device further includes:
[0087] The fifth processing module is used to determine that the solution server and the UWB base station are both in the first state.
[0088] In another possible implementation, the fifth processing module specifically includes:
[0089] The first response unit is used to respond to the solution server start instruction; the first acquisition unit is used to acquire the current status of the first wireless network module and the solution module of the solution server; the first processing unit is used to determine that the solution server is in the first state based on the current status of the first wireless network module and the solution module are both in an operable state, otherwise, after executing the second response unit, execute the third response unit, the second response unit is used to respond to the solution server shutdown instruction, and the third response unit is used to respond to the solution server reset instruction; the fourth response unit is used to respond to the UWB base station start instruction based on the solution server being in the first state; the second acquisition unit acquires the current status of the second wireless network module, the positioning module, and the local area network module of the UWB base station; the second processing unit is used to determine that the UWB base station is in the first state based on the second wireless network module, the positioning module, and the local area network module are all in an operable state, otherwise, after executing the fifth response unit, execute the sixth response unit, the fifth response unit is used to respond to the UWB base station shutdown instruction, and the sixth response unit is used to respond to the UWB base station reset instruction.
[0090] In another possible implementation, the fifth processing module further includes:
[0091] The first display unit is used to display the current status of the first wireless network module and the solution module of the solution server; the second display unit is used to display the current status of the second wireless network module, the positioning module, and the local area network module of the UWB base station.
[0092] In another possible implementation manner, the first response unit specifically includes:
[0093] The first start-up subunit is used to start the power circuit of the first wireless network module based on the start-up instruction received from the solution server to start the first wireless network module, and to start the power circuit of the solution module to start the solution module; the first processing subunit is used to communicate the solution module with the data obtained by the solution server, and to communicate the solution module with the data in the first wireless network module.
[0094] In another possible implementation manner, the second response unit specifically includes:
[0095] The first shut down subunit is used to shut down the power circuit of the first wireless network module based on the shutdown instruction received from the solution server so as to shut down the first wireless network module; the first sending subunit is used to send a solution module shutdown instruction; the second processing subunit is used to detect whether the solution module is shut down based on the solution module shutdown reply instruction received within the first timeout period, and if so, shut down the power circuit of the solution module; otherwise, after a first preset time period, shut down the power circuit of the solution module so as to shut down the solution module; the third processing subunit is used to determine whether the first timeout number of the solution module shutdown reply instruction exceeds a first preset threshold value based on the fact that the solution module shutdown reply instruction is not received within the first timeout period, and if so, shut down the power circuit of the solution module so as to shut down the solution module; otherwise, return and resend the solution module shutdown instruction.
[0096] In another possible implementation, the third response unit specifically includes:
[0097] A first reset subunit, configured to control the reset wiring of the first wireless network module to perform a reset action based on the received reset instruction of the solution server, so as to reset the first wireless network module;
[0098] The second sending sub-unit is used to send a reset instruction of the solution module; the fourth processing sub-unit is used to complete the reset operation of the solution module based on the receipt of the reset reply instruction of the solution module within the second timeout period; the fifth processing sub-unit is used to determine whether the second timeout number of the reset reply instruction of the solution module exceeds a second preset threshold value based on the failure to receive the reset reply instruction of the solution module within the second timeout period, and if so, turn off the power circuit of the solution module and then reopen the power circuit of the solution module for reset; otherwise, return and resend the reset instruction of the solution module.
[0099] In another possible implementation, the fourth response unit specifically includes:
[0100] The second starting subunit is used to turn on the power circuit of the second wireless network module based on the received UWB base station start-up instruction to start the second wireless network module and connect the second wireless network module with the first wireless network module, turn on the power circuit of the positioning module to start the positioning module, and start the local area network module; the sixth processing subunit is used to communicate and connect the positioning module with the data in the wireless network.
[0101] In another possible implementation, the fifth response subunit specifically includes:
[0102] The second shutdown subunit is used to shut down the power circuit of the second wireless network module based on the received UWB base station shutdown instruction to shut down the second wireless network module, and shut down the power circuit of the positioning module to shut down the positioning module.
[0103] In another possible implementation, the sixth response subunit specifically includes:
[0104] An initialization subunit is used to control the UWB base station to perform an initialization operation based on the received UWB base station reset instruction; a third reset subunit is used to turn off the power circuit of the second wireless network module and then reopen the power circuit of the second wireless network module to reset the second wireless network module and reconnect the second wireless network module to the first wireless network module; a fourth reset subunit is used to turn off the power circuit of the positioning module and then reopen the power circuit of the positioning module to reset the positioning module.
[0105] According to a third aspect, a storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the above positioning method are implemented.
[0106] In a fourth aspect, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the above-mentioned positioning steps when executed by the processor.
[0107] The present invention provides a positioning method, device, storage medium and electronic device. A solution server and a UWB base station are both rechargeable devices. The solution server can provide a wireless network for communicating with the UWB base station in the network, which can save the setting of power lines, wired networks, and wired power network connecting lines, simplify the installation operation of the positioning device, greatly reduce manpower, material resources and working hours, help save costs, and is suitable for popularization and application.
[0108] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0109] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0110] Figure 1 A schematic diagram of a flow chart of a positioning method provided by an embodiment of the present invention is shown;
[0111] Figure 2 A schematic diagram of a process of starting a solution server provided by an embodiment of the present invention is shown;
[0112] Figure 3 A schematic diagram of a process for solving server shutdown provided by an embodiment of the present invention is shown;
[0113] Figure 4 A schematic diagram of a process of resolving server reset provided by an embodiment of the present invention is shown;
[0114] Figure 5 A schematic diagram of a process of starting a UWB base station provided by an embodiment of the present invention is shown;
[0115] Figure 6 A schematic diagram of a process of shutting down a UWB base station provided by an embodiment of the present invention is shown;
[0116] Figure 7 A schematic diagram of a UWB base station reset process provided by an embodiment of the present invention is shown;
[0117] Figure 8 A schematic diagram showing a flow chart of another positioning method provided by an embodiment of the present invention;
[0118] Fig. 9 A schematic structural diagram of a positioning device provided by an embodiment of the present invention is shown;
[0119] Fig.10 A schematic diagram of the structure of a solution server provided by an embodiment of the present invention is shown;
[0120] Fig.11 A schematic diagram of the structure of a first power supply module provided in an embodiment of the present invention is shown;
[0121] Fig.12 A schematic diagram showing the structure of a first peripheral module provided by an embodiment of the present invention is shown;
[0122] Fig.13 A schematic diagram showing the structure of a first wireless network module provided by an embodiment of the present invention is shown;
[0123] Fig.14 A schematic diagram showing the structure of a solution module provided by an embodiment of the present invention is shown;
[0124] Fig.15 A schematic diagram showing the structure of a data exchange module provided by an embodiment of the present invention is shown;
[0125] Fig.16 A schematic diagram of the structure of a first control module provided in an embodiment of the present invention is shown;
[0126] Fig.17 A schematic diagram showing the structure of a first external interface module provided by an embodiment of the present invention is shown;
[0127] Fig.18 A schematic diagram of the structure of a UWB base station provided by an embodiment of the present invention is shown;
[0128] Fig.19 A schematic diagram of the structure of a second power supply module provided in an embodiment of the present invention is shown;
[0129] Fig. 20 A schematic diagram showing the structure of a second peripheral module provided by an embodiment of the present invention is shown;
[0130] Fig.21 A schematic diagram showing the structure of a second wireless network module provided by an embodiment of the present invention is shown;
[0131] Fig. 22 A schematic diagram showing the structure of a positioning module provided by an embodiment of the present invention is shown;
[0132] Fig.23 A schematic diagram showing the structure of a local area network module provided by an embodiment of the present invention is shown;
[0133] Fig.24 A schematic diagram showing the structure of a second control module provided in an embodiment of the present invention is shown;
[0134] Fig.25 A schematic diagram showing the structure of a second external interface module provided by an embodiment of the present invention is shown;
[0135] Fig.26 A schematic diagram showing the structure of another positioning device provided by an embodiment of the present invention is shown;
[0136] Fig. 27 A schematic structural diagram of an electronic device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0137] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present disclosure and to enable the scope of the present application to be fully conveyed to those skilled in the art.
[0138] The exemplary embodiments of the present application will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present application are shown in the accompanying drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided in order to enable a more thorough understanding of the present application and to fully convey the scope of the present application to those skilled in the art.
[0139] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that such use is interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the term "including" and its variants are to be interpreted as open-ended terms meaning "including but not limited to".
[0140] The positioning method provided in the present application can be applied to the positioning needs of personnel, equipment, and vehicles in industrial scenarios. Specifically, the positioning method provided in the present application is implemented using UWB positioning technology. Since the UWB positioning device in the related art usually includes a UWB base station located at the positioning site, a wired power network, a wired data network, and a solution server located in a remote data center, that is, it is necessary to build a wired power network to power the on-site UWB base station, and it is necessary to build a wired data network to exchange data with the solution server located at the remote end. Therefore, the construction work is relatively cumbersome, and there are problems of consuming manpower, material resources and time. Therefore, the present application proposes a UWB positioning method that can save the power cord, wired network, and wired power network connection line to simplify the construction operation of the positioning device, save manpower, material resources and time, and is suitable for popularization and application.
[0141] The positioning method, device, storage medium and electronic device provided in this application are intended to solve the above technical problems in the prior art.
[0142] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0143] The present application provides a positioning method, such as Figure 1 As shown, the method includes:
[0144] Step S102: The solution server is connected to the UWB base station for communication via a wireless network; wherein the solution server and the UWB base station are both rechargeable devices, and the solution server is configured to provide a wireless network.
[0145] In the positioning method provided by the present application, the solution server and the UWB base station are both rechargeable devices, that is, the solution server is provided with a first power supply module, and the UWB base station is provided with a second power supply module. The solution server is powered by the first power supply module, and the UWB base station is powered by the second power supply module, so as to ensure that the solution server and the UWB base station can be powered on and run smoothly. Such a setting can save the tedious operation of arranging a wired power network to connect the solution server and the UWB base station, simplify the arrangement steps of the positioning device corresponding to the positioning method, and reduce labor costs and system costs.
[0146] Among them, the first power supply module and / or the second power supply module can be a battery, and the battery is used to supply power to the solution server and the UWB base station. On the one hand, the solution server and / or the UWB base station are also provided with a compatible power cord, which is reserved for the case where the battery cannot supply power or does not need to supply power. On the other hand, the solution server and / or the UWB base station are also provided with a POE (PowerOver Ethernet, active Ethernet) power supply circuit, which is reserved for the case where the battery cannot supply power or does not need to supply power; on the other hand, the solution server and / or the UWB base station are provided with a compatible power cord and a POE power supply circuit at the same time to expand the scope of use of the positioning device. It can be understood that the structures of the first power supply module and the second power supply module may be the same or different, and the present application does not make specific limitations. For example, the solution server and the UWB base station are both provided with compatible power cords; or, the solution server is provided with a compatible power cord, and the UWB base station is provided with a POE power supply circuit; or, the solution server is provided with a compatible power cord, and the UWB base station is provided with a compatible power cord and a POE power supply circuit; or, the solution server is provided with a POE power supply circuit, and the UWB base station is provided with a compatible power cord; or, the solution server and the UWB base station are both provided with a POE power supply circuit; or, the solution server is provided with a POE power supply circuit, and the UWB base station is provided with a compatible power cord and a POE power supply circuit; or, the solution server is provided with a compatible power cord and a POE power supply circuit, and the UWB base station is provided with a compatible power cord and a POE power supply circuit.
[0147] The solution server is configured to provide a wireless network, and the solution server communicates with the UWB base station through the wireless network. That is to say, the solution server provides a wireless network for communicating with the UWB base station in the network, and is equipped with solution software to process the data received from the UWB base station. Such a setting can save the operation of arranging a wired network to realize the communication connection between the solution server and the UWB base station, simplify the arrangement steps of the positioning device corresponding to the positioning method, and help reduce labor costs and device costs.
[0148] That is to say, the positioning method provided by the present application, through the solution server and the UWB base station are both rechargeable devices, the solution server can provide a wireless network for communicating with the UWB base station in the network, which can save the setting of power cords, wired networks, and wired power network connecting lines, simplify the construction operation of the positioning device, greatly reduce manpower, material resources and working hours, is conducive to cost saving, and is suitable for popularization and application.
[0149] In some possible implementation embodiments provided in the present application, the number of UWB base stations is at least one, and the positioning method further includes:
[0150] Step S104: Arrange at least one UWB base station based on preset location information, wherein the preset location information includes positioning information of any UWB base station.
[0151] Among them, the positioning information can be the fixed position coordinates in the industrial scene corresponding to the UWB base station pre-set in the positioning device. For example, if the UWB base station needs to be placed in the first factory building, the positioning information of the UWB base station can be a coordinate information within the range of the first factory building, such as the coordinate information of the center position of the range of the first factory building. It can be understood that the preset position information can also be the position between the UWB base station and any reference point on the first factory building, such as the position information between the UWB base station and the door of the first factory building. By arranging at least one UWB base station according to the preset position information, such as arranging the UWB base station at the preset position information according to the preset position information corresponding to the UWB base station, the arrangement of the UWB base station is realized.
[0152] Furthermore, the number of UWB base stations is at least one, that is, the number of UWB base stations can be one, two, three or more, and the preset position information includes the positioning information of any UWB base station, that is, as long as any one of all UWB base stations has corresponding preset position information, it can be arranged according to the corresponding preset position information.
[0153] Step S106: Acquire the first relative position information between any deployed UWB base station and the UWB tag, and the second relative position information between the UWB base station and the reference object.
[0154] Among them, any UWB base station after deployment refers to any UWB deployed according to preset location information, and the UWB tag is used to bind to the located device or person and is used to locate the position of the person or device.
[0155] The reference object can be a fixed object in an industrial scene, such as a factory building or equipment. The first relative position information is the position information between any UWB base station and the UWB tag after being arranged according to the preset position information, and the second position information is the position information between the above-mentioned UWB base station and the reference object. Specifically, the UWB base station is used to communicate, measure distance and configure with the UWB tag, and can also communicate and measure distance with other UWB base stations.
[0156] Step S108: Transmitting the first relative position information and the second relative position information from the UWB base station to a solution server;
[0157] Step S110: determining the position information between the UWB tag and the reference object according to the first relative position information and the second relative position information.
[0158] Among them, the UWB base station can exchange data with the solution server through the wireless network provided by the solution server, and the solution server is equipped with solution software to process the data received from the UWB base station and solve the coordinate position of the UWB tag. The first relative position information and the second relative position information are transmitted from the UWB base station to the solution server through the UWB base station, so that the solution server can determine the position information between the UWB tag and the reference object according to the first relative position information and the second relative position information, and then can realize the detection of the position information of the UWB tag relative to the reference object, such as the detection of the existence of the UWB tag relative to the reference object.
[0159] For example, the reference object is the first factory building, the UWB base station includes the UWB base station a, and the preset position information corresponding to the UWB base station a is in the first factory building. Then the first relative position information is the relative position information between the UWB base station a and the UWB tag, and the second relative position information is the relative position information between the UWB base station a and the first factory building. Specifically, the second relative position information can be obtained through the preset position information corresponding to the UWB base station a. For example, if the UWB base station a is located in the first factory building, and the preset position information is the distance between the UWB base station a and the door of the first factory building, then the second relative position information can be the preset position information. The first relative position information and the second relative position information are sent to the solution server through the UWB base station a. The solution server can determine the relative position relationship between the UWB tag and the first factory building according to the first relative position information and the second relative position information, such as whether the UWB tag is located in the room, and realize the existence detection of the UWB tag relative to the first factory building. The method is simple and easy to implement, which increases the function of the positioning system and is suitable for popularization and application.
[0160] In some other possible embodiments provided in the present application, the number of UWB base stations is at least two, such as the number of UWB base stations is two, three, four or other number that meets the requirements. Among them, at least two UWB base stations include a reference base station and a non-reference base station, and the reference base station is arranged based on a preset position. It can be understood that the UWB base station that is not arranged based on the preset position information is a non-reference base station, wherein, for the arrangement of non-reference base stations, the specific conditions in the industrial scene can be comprehensively considered for setting, so as to distribute all base stations in the industrial scene. For example, for the second factory building where important equipment is placed, although there is no preset location information preset within the range where the second factory building is located, in order to monitor the operation dynamics of the important equipment, a UWB base station can still be set near the important equipment in the second factory building, and the UWB base station is a non-reference base station. If the preset location information is set in the first factory building, the base station arranged based on the preset location information is a reference base station.
[0161] Furthermore, the positioning method also includes: if the number of reference base stations is equal to the number of UWB base stations, all preset location information is transmitted from the UWB base stations to the solution server, and the location information of each UWB base station is determined and recorded according to the preset location information.
[0162] Among them, if the number of reference base stations is equal to the number of UWB base stations, it means that all UWB base stations are arranged according to the corresponding preset position information, that is, the positions of all UWB base stations relative to the industrial scene are preset. Therefore, all preset position information is transmitted from the UWB base station to the solution server. The solution server determines and records the position information of each UWB base station according to the preset position information, and the coordinate information of each UWB base station can be automatically added to the solution server. Compared with the positioning device in the related technology, which requires professional project construction personnel to manually measure and determine the coordinate information of each UWB base station, and manually input it into the remote solution server for system debugging, it saves the measurement and debugging work of professionals, greatly simplifies the layout and debugging operation steps of the positioning device, and is conducive to saving labor costs and improving layout efficiency.
[0163] Furthermore, the positioning method also includes: if the number of reference base stations is less than the number of UWB base stations, obtaining first distance information between the non-reference base station and any reference base station, transmitting the first distance information from the UWB base station to the solution server, and determining and recording the location information of each UWB base station based on the first distance information.
[0164] Among them, if the number of reference base stations is less than the number of UWB base stations, it means that some UWB base stations are arranged according to the preset position information, that is, reference base stations, and the other part of the UWB base stations are not arranged according to the preset position information, that is, non-reference base stations, that is, the position of the reference base station relative to the industrial scene is preset, and the position of the non-reference base station relative to the industrial scene is temporarily set. Therefore, the first distance information between the non-reference base station and any reference base station is obtained, and the first distance information is transmitted from the UWB base station to the solution server. The solution server determines and records the position information of each UWB base station according to the first distance information, and the coordinate information of each UWB base station can be automatically added to the solution server. Compared with the positioning device in the related art, which requires professional project construction personnel to manually measure and determine the coordinate information of each UWB base station, and manually input it into the remote solution server for system debugging, it saves the measurement and debugging work of professionals, greatly simplifies the operation steps of the layout and debugging of the positioning system, and is conducive to saving labor costs and improving layout efficiency.
[0165] That is to say, when the number of UWB base stations is greater than or equal to two, when the on-site users arrange the UWB base stations, they arrange some of the UWB base stations according to the preset location information according to the positioning area requirements to form reference base stations, and arrange the other part according to the simple placement rules of the UWB base stations to form non-reference base stations. It can be understood that all UWB base stations need to be placed within the coverage of the wireless network provided by the solution server. The solution server controls the UWB base stations in the network to perform UWB with each other through the wireless network, and transmits the data back to the solution server. The solution server determines the relative coordinate position of each UWB base station through an algorithm and automatically adds it to the solution software. The UWB positioning device can then operate normally, eliminating the need for professional personnel to measure and debug.
[0166] Furthermore, in some embodiments provided in the present application, at least two UWB base stations include a first base station and a second base station, and the first base station and the second base station are configured to be able to communicate with a solution server; wherein the solution server is built into or external to the first base station; the first base station and the second base station are communicatively connected via a wireless network or a local area network.
[0167] In the above embodiment, when the number of UWB base stations is at least two, the UWB base stations include a first base station and a second base station that can both communicate with the solution server, wherein the first base station and the second base station communicate via a wireless network or a local area network, which expands the implementation of the communication connection between the first base station and the second base station, can meet the needs of different implementation methods, and expands the scope of use of the positioning device. Specifically, the wireless network can be a wireless network provided by the solution server, and the local area network can be a local area network set between each base station.
[0168] By placing the solution server inside or outside the first base station, it is helpful to simplify the structure of the positioning system. At the same time, it can meet the needs of different structures and different setting positions of the solution server, and expand the implementation methods of the positioning system. At the same time, the first base station and the second base station can be connected to the solution service center through wireless network communication, which can realize data communication, obtain the coordinate information of the base station, simplify the steps of manual measurement and debugging, and are suitable for promotion and application.
[0169] In some of the above embodiments, the positioning method further includes:
[0170] Obtaining second distance information between the UWB base station and the UWB tag;
[0171] Transmitting the second distance information from the UWB base station to the solution server;
[0172] The location information of the UWB tag is determined according to the second distance information.
[0173] In this embodiment, the second distance information refers to the distance information between the UWB base station and the UWB tag. Since the coordinate position of each UWB base station has been determined, the second distance information between the UWB base station and the UWB tag is obtained, and the second distance information is transmitted from the UWB base station to the solution server. The solution server can determine the position information of the UWB tag based on the second distance information, thereby realizing the positioning of the UWB tag and ensuring the accuracy of the UWB tag positioning.
[0174] Furthermore, based on the fact that the location information of the UWB tag includes plane coordinate points, the number of UWB base stations is at least three, that is, if the location information of the UWB tag is a plane coordinate, such as (X, Y) coordinates, the location information of the UWB tag can be located only through three UWB base stations. If the number of UWB base stations is less than three, the plane coordinate points of the UWB tag cannot be located. If the number of UWB base stations is greater than three, such as the number of UWB base stations is 4, the error can be removed by using an extra UWB base station other than the three to improve the positioning accuracy.
[0175] It is understandable that two UWB base stations can achieve one-dimensional measurement of UWB tags, such as measuring the position of UWB tags on the channel, such as the position on the line segment. Of course, in this case, other UWB base stations beyond the two can still remove errors and improve positioning accuracy.
[0176] In some embodiments provided in the present application, the positioning method further includes: displaying the location information of each UWB base station and / or the location information of the UWB tag.
[0177] Among them, by displaying the location information of each UWB base station and / or the location information of the UWB tag, the user can intuitively, clearly and accurately understand the location information of each UWB base station and each UWB tag in the positioning system, thereby improving the user's positioning experience. It is understandable that only the location information of the UWB base station can be displayed, or only the location information of the UWB tag can be displayed, or the location information of the UWB base station and the location information of the UWB tag can be displayed at the same time, wherein the location information of the UWB tag can be fully or partially displayed, and the location information of the UWB tag can also be fully or partially displayed, so as to meet the needs of different users and expand the scope of use of the device.
[0178] Furthermore, on the one hand, the solution server includes a display unit, and the location information of the UWB base station and / or the location information of the UWB tag is displayed by the display unit set in the solution server; on the other hand, the location information of the UWB base station and / or the location information of the UWB tag is displayed by a mobile device; on the other hand, the location information of the UWB base station and / or the location information of the UWB tag is displayed by the display unit and the mobile device at the same time. Different display methods can meet the needs of different users and expand the scope of use of the product. Among them, the mobile device is connected to the solution server through a data cable or a wireless network, and the mobile device can include other devices that meet the requirements, such as mobile phones, tablet computers, and personal computers. Specifically, users can access the wireless network through mobile devices, connect to the mobile server, watch the real-time positioning effect of the UWB tag, or configure each UWB base station and UWB tag, that is, users can debug and view the positioning effect and configure the equipment in the system on site, which is simple to operate and easy to use.
[0179] In some embodiments provided in the present application, before step S102, the positioning method further includes:
[0180] Step S101: Determine whether the solution server and the UWB base station are both in the first state.
[0181] The first state can be understood as the positioning method being in a state where it can work normally, that is, the UWB base station and the solution server are both in a state where they can work normally. That is, when it is determined that the solution server and the UWB base station are both in the first state where they can work normally, the solution server can communicate with the UWB base station through a wireless network to enable the positioning method to be used normally, so as to realize the positioning monitoring of the UWB tag and ensure the accuracy of the positioning.
[0182] In the above embodiment, step S101 specifically includes:
[0183] Step S101-1: responding to a solution server start instruction;
[0184] Step S101 - 2: Acquire the current status of the first wireless network module and the solution module of the solution server.
[0185] Among them, the solution server start-up instruction can be sent through a button action or a mobile device. Specifically, the solution server start-up instruction can be a power button of the solution server. When the power button is pressed, it responds to the solution server start-up instruction, indicating that the solution server has been started, and the current working status of the first wireless network module and the solution module of the solution server is obtained to determine whether the solution first wireless network module and the solution module are in an operable state.
[0186] Step S101 - 3 : based on the current status of the first wireless network module and the solution module being both in an operable state, determining that the solution server is in the first state; otherwise, responding to a solution server shutdown instruction, and then responding to a solution server reset instruction.
[0187] Among them, when the current states of the first wireless network module and the solution module are both in an operable state, it means that the first wireless network module and the solution module can ensure the normal operation of the solution server. Therefore, it is determined that the solution server is in the first state, that is, the solution server is in an operable state. Otherwise, if at least one of the first wireless network module and the solution module is in an inoperable state, it means that the solution server cannot work normally. Therefore, after responding to the solution server shutdown instruction, responding to the solution server reset instruction, that is, shutting down the solution server, restarting the solution server through a reset operation, so that the solution server can be started normally under abnormal circumstances, ensuring that the positioning method can be used normally.
[0188] Step S101 - 4: responding to a UWB base station start instruction based on the solution server being in the first state;
[0189] Step S101 - 5 : Acquire the current status of the second wireless network module, the positioning module, and the local area network module of the UWB base station.
[0190] Among them, when ensuring that the solution server is in the first working state, that is, ensuring that the solution server is in a normal working state, respond to the UWB base station start instruction, wherein the UWB base station start instruction can be sent through a button action or a mobile device. Specifically, the UWB base station start instruction can be the power button of the UWB base station. When the power button is pressed, it responds to the UWB base station, indicating that the UWB base station has been started, and obtains the current working status of the second wireless network module, positioning module, and local area network module of the UWB base station to determine whether the second wireless network module, positioning module, and local area network module are in an operational state.
[0191] Step S101-6: based on the second wireless network module, the positioning module, and the local area network module being all in an operable state, determining that the UWB base station is in the first state, otherwise, responding to the UWB base station shutdown instruction, and then responding to the UWB base station reset instruction.
[0192] Among them, when the current states of the second wireless network module, the positioning module, and the local area network module are all in an operable state, it means that the second wireless network module, the positioning module, and the local area network module can ensure the normal operation of the UWB base station. It can be understood that here it means that all UWB base stations are operating normally. Therefore, it is determined that the UWB base station is in the first state, that is, the UWB base station is in an operable state, indicating that the positioning method can be used normally and can realize the positioning function. Otherwise, if at least one of the second wireless network module, the positioning module, and the local area network module is in an inoperable state, it means that the UWB base station cannot work normally and the positioning method cannot realize the positioning function. Therefore, after responding to the UWB base station shutdown instruction, responding to the UWB base station reset instruction, that is, after shutting down the UWB base station, the UWB base station is restarted through the reset operation, so that the UWB base station can be started normally under abnormal circumstances, ensuring that the positioning method can be used normally.
[0193] Furthermore, in the above embodiment, the positioning method further includes:
[0194] Display the current status of the first wireless network module and the solution module of the solution server;
[0195] Display the current status of the second wireless network module, positioning module, and local area network module of the UWB base station.
[0196] Among them, by displaying the current status of the first wireless network module and the solution module of the solution server, the user can timely, accurately, clearly and intuitively understand the current status of the first network module and the current status of the solution module, so as to facilitate the corresponding operation of the solution server. By displaying the current status of the second wireless network module, the positioning module and the local area network module of the UWB base station, the user can timely, accurately, clearly and intuitively understand the current status of the second network module, the current status of the positioning module and the current status of the local area network module, so as to facilitate the corresponding operation of the UWB base station.
[0197] Specifically, the solution server includes a first peripheral module, and the indicator light of the first peripheral module can indicate the current status of the first wireless network module and the solution module. The UWB base station includes a second peripheral module, and the indicator light of the second peripheral module can indicate the current status of the second wireless network module, the positioning module, and the local area network module. It is understandable that other indicating units that meet the requirements can also be set in the first peripheral module and the second peripheral module for corresponding display. Furthermore, the current status of the first wireless network module, and / or the solution module, and / or the second wireless network module, and / or the positioning module, and / or the local area network module can also be displayed through a mobile device, so that the user can understand the current status of each module of the positioning device anytime and anywhere, which is convenient for setting or operating the device and is easy to use.
[0198] Specifically, in some possible implementation embodiments provided in the present application, the solution server includes a first peripheral module, a first power supply module, a first wireless network module, a solution module, a data exchange module, a first control module, and a first external interface module. The UWB base station includes a second peripheral module, a second power supply module, a second network module, a positioning module, a local area network module, a second control module, and a second external interface module.
[0199] In some embodiments of the present application, step S101-1 specifically includes:
[0200] Based on the received solution server start instruction;
[0201] Turning on a power circuit of the first wireless network module to start the first wireless network module;
[0202] Turning on the power circuit of the solving module to start the solving module;
[0203] The solution module is connected to the data acquired by the solution server through communication, and the solution module is connected to the data in the first wireless network module through communication.
[0204] In this embodiment, if Figure 2As shown, the specific control process in response to the solution server start instruction is introduced. When the start instruction of the solution server is received, the first wireless network module and the solution module need to be turned on respectively, such as after pressing the solution server power button, the first wireless network module is started by turning on the power circuit of the first wireless network module, and the solution module is started by turning on the power circuit of the solution module. Specifically, after pressing the solution server power button, the first control module provides power to the first wireless network module so that the first wireless network module is powered on and started. It can be understood that after the first wireless network module is powered on and started successfully, the first module controls the external network status indicator to display the network status of successful startup, and the wireless network is successfully established, and can start to access other wireless network devices. At the same time, the first wireless network module can exchange data with the data exchange module. Among them, the solution server includes a data exchange module.
[0205] At the same time, after pressing the power button of the solution server, the first control module provides power to the solution module, so that the solution module is powered on and started. After the solution module is successfully started, the solution module's own pin controls the action of the external solution module status indicator to indicate the solution module status. At the same time, the solution module pulls up the status pin to notify the first control module that the solution module has been successfully started. After the solution module is successfully started, it can exchange data with the outside world through the data exchange module, start exchanging data with the devices in the wireless network, and start solving.
[0206] That is to say, through the above operations, it can be ensured that each module of the solution server is started normally and enters a working state. Therefore, after the above two modules are successfully started, it means that the solution server is started and is in the first state, and the solution service can be started.
[0207] In some embodiments of the present application, step S101-2 specifically includes:
[0208] Based on the received solution server shutdown instruction;
[0209] Turning off the power circuit of the first wireless network module to turn off the first wireless network module;
[0210] Send a command to close the solver module;
[0211] Based on receiving a solution module shutdown reply instruction within the first timeout period, detecting whether the solution module is shut down, if so, shutting down the power circuit of the solution module, otherwise, shutting down the power circuit of the solution module after a first preset time period to shut down the solution module;
[0212] Based on the fact that no solution module shutdown reply instruction is received within the first timeout period, it is determined whether the first timeout number of the solution module shutdown reply instruction exceeds the first preset threshold value. If so, the power circuit of the solution module is turned off to shut down the solution module. Otherwise, it returns and resends the solution module shutdown instruction.
[0213] In this embodiment, if Figure 3 As shown, the specific control process in response to the shutdown instruction of the solution server is introduced. Among them, when the solution server is shut down, the first wireless network module and the solution module need to be shut down respectively. Specifically, when the shutdown instruction of the solution server is received, such as after pressing the shutdown button of the solution server, the first control module directly shuts down the power circuit of the first wireless network module, thereby shutting down the first wireless network module. At the same time, after pressing the shutdown button of the solution server, the first control module sends a shutdown instruction to the solution module through the serial port, and waits to receive the solution module shutdown reply instruction, such as the solution module replies to the shutdown ACK (Acknowledgement, confirmation character). If the solution module shutdown reply instruction is received within the first timeout period, it is detected whether the solution module is shut down. If the solution module is detected to be shut down, the first control module shuts down the power supply circuit of the solution module. Otherwise, after the first preset time, the power supply circuit of the solution module is shut down to shut down the solution module. In other words, if the first control module receives the solution module shutdown reply instruction within the first timeout period, it means that the solution module starts to shut down various software and services and enters the shutdown process. The first control module starts to detect the state pin level of the solver module. There is a pull-down resistor on the solver module state pin circuit. When the solver module starts working, the solver module pulls up this pin, indicating that the solver module is started. After the solver module is shut down, the solver module state pin becomes a low level due to the pull-down, and it is considered that the solver module system has been shut down normally. Therefore, if the solver module state pin does not normally enter the shutdown state for more than a certain period of time (such as a first preset time length), the first control module determines that the solver module is abnormal, and directly shuts down the power supply circuit of the solver module to ensure that the solver module is shut down normally.
[0214] If the solution module shutdown reply instruction is not received within the first timeout period, it is necessary to determine whether the first timeout number of the solution module shutdown reply instruction exceeds the first preset threshold, that is, it is necessary to determine the timeout number of times the solution module shutdown reply instruction is not received within the first timeout period. If the first timeout number exceeds the first preset threshold, it means that the solution module is abnormal, and the first control module turns off the power supply circuit of the solution module and performs power-off shutdown processing on the solution module to turn off the solution module. If the first timeout number does not exceed the first preset threshold, the first control module will resend the solution module shutdown instruction and repeat the above operation.
[0215] Among them, through the above operation, it can be ensured that all modules of the solution server are turned off, that is, after the power supply of the solution module and the first wireless network module are turned off, it means that both modules are in a closed state, indicating that the shutdown of the solution server is completed. Among them, the first timeout period can be 5s, 8s, 10s or other values that meet the requirements, the first preset duration can be 3s, 5s, 8s or other values that meet the requirements, and the first preset threshold can be 3, 5, 8 or other values that meet the requirements.
[0216] In some embodiments of the present application, step S101-3 specifically includes:
[0217] Based on the received solution server reset instruction;
[0218] Controlling the reset connection of the first wireless network module to perform a reset action;
[0219] Send a reset instruction to the solver module and execute the reset operation of the solver module;
[0220] Based on receiving the reset reply instruction of the solution module within the second timeout period, the solution module completes the reset operation;
[0221] Based on the fact that no reset reply instruction of the solution module is received within the second timeout period, it is determined whether the second timeout number of the reset instruction of the solution module exceeds the second preset threshold. If so, the power circuit of the solution module is turned off and then reopened for reset. Otherwise, the solution module reset instruction is returned and resent.
[0222] In this embodiment, if Figure 4 As shown, the specific control process in response to the reset instruction of the solution server is introduced. Among them, when the solution server is reset, the first wireless network module and the solution module need to be reset respectively. Specifically, when the reset instruction of the solution server is received, such as after pressing the reset button of the solution server, the first control module directly controls the reset wiring of the first wireless network module to perform a reset action, such as the first control module directly controls the reset pin of the first wireless network module, thereby resetting the first wireless network module. At the same time, after pressing the reset button of the solution server, the first control module sends a reset instruction to the solution module through the serial port, and performs a reset operation, and at the same time, waits to receive a reset reply instruction of the solution module, such as the solution module replies with a reset ACK (Acknowledgement, confirmation character). If the reset reply instruction of the solution module is received within the second timeout period, it means that the solution module has completed the reset operation.
[0223] If the reset reply instruction of the solution module is not received within the second timeout period, it is necessary to determine whether the second timeout number of the reset reply instruction of the solution module exceeds the second preset threshold, that is, it is necessary to determine the timeout number of the reset reply instruction of the solution module that is not received within the second timeout period. If the second timeout number exceeds the second preset threshold, it means that the solution module is abnormal, then the first control module turns off the power supply circuit of the solution module, and then turns on the power supply circuit of the solution server to reset, thereby realizing the reset operation of the receiving server. If the second timeout number does not exceed the second preset threshold, the first control module will resend the solution module reset instruction and repeat the above operation.
[0224] After both the solution module and the first wireless network module complete the reset operation, it indicates that the solution server reset is completed. The second timeout period can be 5s, 8s, 10s or other values that meet the requirements, and the second preset threshold can be 3, 5, 8 or other values that meet the requirements. That is to say, through the above operations, it is ensured that the solution server can restart normally after entering an abnormal state and return to a normal working state.
[0225] In some embodiments of the present application, step S101-4 specifically includes:
[0226] Based on the received UWB base station start instruction;
[0227] Turning on the power circuit of the second wireless network module to start the second wireless network module and connect the second wireless network module to the first wireless network module;
[0228] Turning on the power circuit of the positioning module to start the positioning module;
[0229] Start the LAN module;
[0230] The positioning module is connected to the data in the wireless network for communication.
[0231] In this embodiment, if Figure 5 As shown, the specific control process in response to the UWB base station start-up instruction is introduced. When the start-up instruction of the UWB base station is received, the second wireless network module, the positioning module and the local area network module need to be turned on respectively. After pressing the power button of the UWB base station, the second control module provides power to the power circuit of the second wireless network module, so that the second wireless network module is powered on and started. It can be understood that after the second wireless network module is powered on and started successfully, the second module controls the external network status indicator to display the network status of successful startup, and the wireless network is successfully established, and can start to access other wireless network devices. At the same time, the second wireless network module can exchange data with the data exchange module.
[0232] At the same time, after pressing the UWB base station power button, the second control module provides power to the positioning module, so that the positioning module is powered on and started. After the positioning module is successfully started, it can start to communicate and measure distance with the UWB tag. At the same time, the second control module controls the positioning status indicator to indicate the current status of the positioning module.
[0233] At the same time, after pressing the UWB base station power button, the second control module controls the LAN module to start up. After the LAN module starts up successfully, the UWB base station can be connected externally through the external interface of the second interface module and realize LAN communication.
[0234] The started positioning module is connected to the data in the wireless network for communication, and the data transmitted by the positioning module can be solved by the solving server to realize positioning monitoring.
[0235] That is to say, through the above process operation, it can ensure that each module in the UWB base station is started normally and enters the normal working state, that is, the above three modules are all started successfully, that is, the second wireless network module, positioning module and local area network module are all started successfully, indicating that the UWB base station startup is completed and is in the first state.
[0236] In some embodiments of the present application, step S101-5 specifically includes:
[0237] Based on a received UWB base station shutdown instruction;
[0238] Turning off the power circuit of the second wireless network module to turn off the second wireless network module;
[0239] Turn off the positioning module by shutting down the power circuit of the positioning module.
[0240] In this embodiment, if Figure 6 As shown, the specific control process in response to the shutdown command of the UWB base station is introduced. Among them, when the UWB base station is shut down, the second wireless network module and the positioning module need to be shut down respectively. Specifically, when the shutdown command of the UWB base station is received, such as after pressing the shutdown button of the UWB base station, the second control module detects the shutdown action and directly turns off the power circuit of the second wireless network module to turn off the second wireless network module. At the same time, the second control module turns off the power circuit of the positioning module, that is, stops supplying power to the positioning module, turns off the positioning module, and then the second control module enters the standby mode, and the UWB base station completes the shutdown operation.
[0241] That is to say, through the above control operation, it can ensure that each module of the UWB base station is shut down according to the correct process, that is, the second wireless network module and the positioning module are shut down according to the correct process, and after the above two modules are shut down, it means that the UWB base station completes the shutdown operation.
[0242] In some embodiments of the present application, step S101-6 specifically includes:
[0243] Based on a received UWB base station reset instruction;
[0244] Control the UWB base station to perform initialization operations,
[0245] After turning off the power circuit of the second wireless network module, turning on the power circuit of the second wireless network module again to reset the second wireless network module and make the second wireless network module reconnect to the first wireless network module;
[0246] After turning off the power circuit of the positioning module, turn on the power circuit of the positioning module again to reset the positioning module.
[0247] In this embodiment, if Figure 7 As shown, the specific control process in response to the reset instruction of the UWB base station is introduced. Among them, when the UWB base station is reset, the second wireless network module and the positioning module need to be reset separately. After the reset button of the UWB base station is pressed, the second control module detects the reset action, that is, the reset instruction of the UWB base station is received. The second control module controls the UWB base station to perform the initialization operation. After the second control module turns off the power circuit of the second wireless network module, it restarts the power circuit of the second wireless network module to reset the second wireless network module and reconnect the second wireless network module to the first wireless network module. At the same time, after the second control module turns off the power circuit of the positioning module, it reopens the power circuit of the positioning module to reset and restart the positioning module. Furthermore, when the reset instruction of the UWB base station is received, the second control module simultaneously controls the local area network module to power off and then power on and restart, so as to achieve the reset and restart of the local area network module.
[0248] That is to say, when the second wireless network module, the positioning module and the local area network module are reset and restarted, the reset operation of the UWB base station is completed, thereby ensuring that the UWB base station can be correctly restarted after entering an abnormal state and resume normal working state. It is understandable that the current state of the second wireless network module, the current state of the positioning module and the current state of the local area network module can be displayed respectively through the indicator lights corresponding to each module. When all indicator lights show normal working state, it means that the reset of the UWB base station is complete.
[0249] In some embodiments provided in this application, Figure 8 A schematic flow chart of a positioning method according to another embodiment of the present application is shown, the method comprising:
[0250] Step S201: Turn on or reset the server to start the solution.
[0251] Among them, when the solving server is used for the first time, that is, when the solving server is in the shutdown state, the solving server can be started by turning on the computer. When the solving server is abnormal during use, the solving server can be started by resetting. In other words, by turning on or resetting the solving server, it can be ensured that the solving server starts normally.
[0252] Step S202: judging whether the solution server is started successfully according to the indicator light.
[0253] Among them, when the solution server is started, it can be judged whether the solution server is started normally according to the indicator light. If the solution server is started normally, execute step S203, otherwise, return to re-execute step S202 and restart the solution server.
[0254] Step S203: The mobile device connects to the solution server via a wired or wireless network, checks the status of the solution server and performs relevant configurations.
[0255] The mobile device is connected to the solution server through a wired network or a wireless network, and the status of the indicator light is viewed through the mobile device, so that the user can know the startup status of the solution server anytime, anywhere, timely, accurately, clearly and conveniently, which is convenient to use. At the same time, the user can perform corresponding operations on the solution server according to the indication information of the indicator light, such as restarting the solution server or executing step S204.
[0256] Step S204: deploy UWB base stations according to requirements.
[0257] The so-called demand may include a preset position, that is, some UWB base stations or all UWB base stations are arranged according to the preset position, or another part of the UWB base stations are arranged according to an arrangement rule.
[0258] Step S205: Power on or reset to start the UWB base station.
[0259] The UWB base station is powered on or reset to ensure that the UWB base station is started. When the UWB base station is used for the first time, that is, when the UWB base station is in a shutdown state, the UWB base station can be directly powered on and started by the second control module. When the UWB base station is abnormal during use, the UWB base station can be started by resetting.
[0260] Step S206: The mobile device checks whether the status of the UWB base station is normal.
[0261] Among them, by checking the status of the UWB base station through a mobile device, the user can know the startup status of the UWB base station anytime, anywhere, timely, accurately, clearly and conveniently, which is convenient to use. At the same time, the user can perform corresponding operations on the UWB base station according to the indication information of the indicator light, such as resetting the UWB base station or executing step S207.
[0262] Step S207: Start positioning the UWB tag.
[0263] Among them, when the solution server and the UWB base station are successfully started, it means that the positioning device is deployed and the positioning method can be used normally, then the UWB tag can be positioned.
[0264] That is to say, when building a positioning device, you can first start the mobile solution center. After the indicator light corresponding to the first wireless network module and the indicator light corresponding to the solution module indicate normally, it means that the first wireless network module and the solution module are both started normally, that is, the solution server is successfully started. If the indicator light status is abnormal, reset and restart or shut down and restart the solution server. Secondly, when the solution server is successfully started, start the mobile device (such as a smart phone), and the mobile device is connected to the solution server through a wired network or the wireless network of the solution server to check whether the status of the positioning device is normal, such as checking the status of the UWB base station and making relevant configurations. Again, according to the actual use requirements and the UWB base station arrangement rules, the UWB base station is arranged and the UWB base station is powered on. After power-on, the indicator light is used to determine whether the UWB base station starts the positioning module, the second wireless network module, and the local area network module normally. If it starts normally, the UWB base station can be seen to be normally accessed on the server side through the mobile device. If abnormal, reset and restart or shut down and restart the UWB base station. Finally, after all required UWB base stations are displayed online on the server, UWB tag positioning can be started, and the real-time positioning status of the UWB tag can be checked on the mobile device at any time.
[0265] Further, as Figure 1 , Figure 8 The specific implementation of the method shown in the embodiment provides a positioning device, such as Fig. 9 As shown, the apparatus includes: a solution server 100 and a UWB base station 200, wherein the solution server 100 and the UWB base station 200 are both rechargeable devices, and the solution server 100 is configured to provide a wireless network.
[0266] The positioning device provided in the present application, through the solution server 100 and the UWB base station 200 are both rechargeable devices, the solution server 100 can provide a wireless network for communicating with the UWB base station 200 in the network, which can save the setting of power lines, wired networks, and wired power network connecting lines, simplify the construction operation of the positioning device, greatly reduce manpower, material resources and working hours, is conducive to cost saving, and is suitable for popularization and application.
[0267] Specifically, in some possible implementation embodiments provided in this application, such as Fig.10 As shown, the solution server 100 includes a first peripheral module 120, a first power supply module 170, a first wireless network module 130, a solution module 150, a data exchange module 140, a first control module 110, and a first external interface module 160. Fig.18 As shown, the UWB base station 200 includes a second peripheral module 220 , a second power supply module 270 , a second network module, a positioning module 240 , a local area network module 250 , a second control module 210 , and a second external interface module 260 .
[0268] Among them, Fig.12 As shown, the first peripheral module 120 is mainly composed of buttons and indicator lights. The buttons are used to turn on, turn off and reset the device. The indicator lights are used to indicate the power and charging status, and to display the current status of the first wireless network module 130 and the current status of the solution module 150.
[0269] like Fig.11 As shown, the first power supply module 170 includes a battery, an external DC power supply circuit, and a PoE power supply circuit. The battery is used as a normal power supply. The external DC power supply circuit and the PoE power supply circuit are reserved for situations where the battery cannot supply power or is not used for power supply.
[0270] like Fig.13 As shown, the first wireless network module 130 provides a wireless network for the positioning device, such as providing a wireless network for the UWB base station 200. Here, a WIFI (Wireless-Fidelity) network is used, and it can also be other wireless networks that meet the requirements, such as: LoRa (Long Range Radio), ZigBee, etc. The wireless network provides a communication basis for the solution server 100 and the UWB base station 200, and the two exchange data through the wireless network. The power supply of the first wireless network module 130 is controlled by the first control module 110. The network status of the first wireless network module 130 is output through an indicator light. The reset of the first wireless network module 130 is controlled by the first control module 110, wherein the first control module 110 can be an MCU (Microcontroller Unit).
[0271] like Fig.14 As shown, the solution module 150 is composed of a hardware module and a power supply circuit equipped with a Linux system. The power supply part is controlled by the first control module 110 to control the power conversion circuit to power on and off. The hardware module equipped with the Linux system is installed with a solution software to solve the UWB base station 200 data and configure the system equipment. The Linux system solution module 150 controls the status indicator light through its own IO (Input / Output) port. The Linux system solution module 150 communicates with the first control module 110 through the serial port UART (Universal Asynchronous Receiver / Transmitter).
[0272] like Fig.15 As shown, the data exchange module 140 is responsible for exchanging data between the solution module 150 and the first wireless network module 130. The solution module 150 sends data to the outside, and forwards the data to the first wireless network module 130 through the data exchange module 140. The first wireless network module 130 then sends the data to the peripheral device corresponding to the wireless network through the wireless network to complete the data sending, and can monitor the data through the first external interface module 160. On the contrary, the data from the wireless network is received by the first wireless network module 130 and forwarded to the data exchange module 140. The data exchange module 140 forwards the data to the solution module 150 for data processing, and can monitor the data through the first external interface module 160. The first external interface module 160 can monitor the data sent by the solution module 150 and the first wireless network module 130, and can exchange data with the solution module 150 and the first wireless network module 130 through the data exchange module 140, thereby configuring the two modules.
[0273] like Fig.16 As shown, the first control module 110 mainly controls the power timing of each part, receives external status, and controls the indicator light to indicate the system status. Specifically as follows: Control the power timing and reset pin of the wireless network module. Control the power timing of the solution module 150, and control the shutdown and reset of the solution module 150 through serial port communication and detection of the status pin of the solution module 150. Read the battery voltage and charging status of the power supply module to indicate the battery power and charging status. Control the indicator light of the peripheral module to indicate the battery power and charging status. Detect key actions and control the system startup, shutdown and reset actions.
[0274] like Fig.17As shown, the first external interface module 160 is composed of a charging interface and an Ethernet network interface. The charging interface is used to charge the battery inside the device and directly provide DC power to the device. The Ethernet network interface is used to exchange data through the wired and data exchange module 140, thereby communicating with the first wireless network module 130 and the solution module 150.
[0275] Among them, Fig. 20 As shown, the second peripheral module 220 is mainly composed of buttons and indicator lights. The buttons are used to turn on, turn off and reset the device. The indicator lights are used to indicate the power and charging status, the current status of the wireless network, and the current status of the positioning module 240.
[0276] like Fig.19 As shown, the second power supply module 270 includes a battery, an external DC power supply circuit, and a PoE power supply circuit. The battery is used as a normal power supply. The external DC power supply circuit and the PoE power supply circuit are reserved for situations where the battery cannot supply power or is not used for power supply.
[0277] like Fig.21 As shown, the second wireless network module 230 and the first wireless network module 130 serve as a bridge for the UWB base station 200 to access the wireless network, so that the data of the UWB base station 200 accesses the wireless network of the positioning device through the second wireless network module 230, and exchanges data with the solution server 100 through the wireless network. The power supply of the second wireless network module 230 is controlled by the second control module 210, wherein the second control module 210 and the first control module 110 are both control modules of the positioning device. The network status of the second wireless network module 230 is output through its own status indicator light, and the reset of the second wireless network module 230 is controlled by the second control module 210.
[0278] like Fig. 22 As shown, the positioning module 240 is controlled by the second control module 210 to perform UWB communication ranging with the UWB tag, and the data is forwarded to the second wireless network module 230 through the second control module 210. The power supply of the positioning module 240 is controlled by the second control module 210, the positioning state of the positioning module 240 is controlled by the indicator light controlled by the second control module 210, and the indication state is displayed externally, the reset state of the UWB positioning module 240 is also controlled by the second control module 210, and some operating states are also monitored by the second control module 210.
[0279] like Fig.23 As shown, the power supply of the LAN module 250 is provided by the second power supply module 270 and the power conversion circuit, which is a long power supply module. It is driven and controlled by the second control module 210, and is responsible for converting the data of the second control module 210 into the form of LAN communication protocol, and interacting with the external network data.
[0280] like Fig.24 As shown, the second control module 210 mainly controls the power timing of each part, receives external status, controls the indicator light to indicate the system status, controls the positioning module 240, and controls the second wireless network module 230. Specifically as follows: Control the power timing of the wireless network module, control the wireless network module to connect to the network and communicate with the outside world via wireless network. Control the power timing of the positioning module 240, control the positioning module 240 to communicate with the UWB tag for ranging, and obtain data. Control the LAN module 250 to communicate with the outside world via LAN. Read the battery voltage and charging status of the second power supply module 270 to indicate the battery power and charging status. Control the indicator light of the second peripheral module 220 to indicate the battery power and charging status. Detect key actions and control the startup, shutdown and reset actions of the UWB base station 200.
[0281] like Fig.25 As shown, the second external interface module 260 is composed of a charging interface and a local area network (such as Ethernet) network interface. The charging interface is used to charge the battery inside the UWB base station 200 device and directly provide DC power to the device. The local area network interface is used to exchange data through the wired and data exchange module 140, thereby communicating with the second wireless network module 230 and the solution module 150. At the same time, the local area network interface can be used to connect multiple internal UWB base stations 200.
[0282] Further, the number of the UWB base station 200 is at least one, and the apparatus further includes:
[0283] A placement module, configured to place at least one UWB base station 200 based on preset location information, wherein the preset location information includes positioning information of any UWB base station 200;
[0284] A first acquisition module, used to acquire first relative position information between any deployed UWB base station 200 and the UWB tag, and second relative position information between the UWB base station 200 and the reference object;
[0285] A first transmission module, used to transmit the first relative position information and the second relative position information from the UWB base station 200 to the solution server 100;
[0286] The first processing module is used to determine the position information between the UWB tag and the reference object according to the first relative position information and the second relative position information.
[0287] Further, the number of UWB base stations 200 is at least two, the UWB base stations 200 include a reference base station and a non-reference base station, the reference base station is arranged based on a preset position, and the device further includes:
[0288] The second processing module is used for transmitting all preset location information from the UWB base station 200 to the solution server 100 if the number of reference base stations is equal to the number of UWB base stations 200, and determining and recording the location information of each UWB base station 200 according to the preset location information;
[0289] The third processing module is used to obtain the first distance information between the non-reference base station and any reference base station if the number of reference base stations is less than the number of UWB base stations 200, transmit the first distance information from the UWB base station 200 to the solution server 100, and determine and record the location information of each UWB base station 200 according to the first distance information.
[0290] Furthermore, at least two UWB base stations 200 include a first base station and a second base station, and the first base station and the second base station are configured to be able to communicate with the solution server 100; wherein the solution server 100 is built-in or external to the first base station; the first base station and the second base station are communicatively connected via a wireless network or a local area network.
[0291] Furthermore, the positioning device also includes:
[0292] A second acquisition module, used to acquire second distance information between the UWB base station 200 and the UWB tag;
[0293] A second transmission module, used to transmit the second distance information from the UWB base station 200 to the solution server 100;
[0294] The fourth processing module is used to determine the location information of the UWB tag according to the second distance information.
[0295] In another possible implementation, based on the fact that the location information of the UWB tag includes plane coordinate points, the number of the UWB base stations 200 is at least three.
[0296] Furthermore, the positioning device further includes: a display module, which is used to display the location information of each UWB base station 200 and / or the location information of the UWB tag.
[0297] Furthermore, the display module includes at least one of the following:
[0298] A display unit, which is arranged on the solution server 100;
[0299] The mobile device is connected to the solution server 100 through a data line or a wireless network.
[0300] In some embodiments provided in this application, the positioning device is as follows: Fig.26As shown, there are four UWB base stations 200, namely UWB base station 200a, UWB base station 200b, UWB base station 200c, and UWB base station 200d. The display module is a mobile device, and the solution server 100 provides a wireless network. The four UWB base stations 200 and the mobile device communicate with the solution server 100 through the wireless network, and then the location information of each UWB base station 200 can be clearly understood through the mobile device. Furthermore, Fig.26 Three UWB tags are shown, namely UWB tag a, UWB tag b, and UWB tag c. The three UWB tags can be located by the positioning device, and the location information of each UWB tag can be displayed by a mobile device, which is easy to use.
[0301] Specifically, the four base stations include a reference base station and a non-reference base station, wherein the reference base station is arranged according to preset location information, and the non-reference base station is arranged according to the arrangement rules set manually through the mobile device. It can be understood that the reference base station can be one, two, or three, and the non-reference base station can correspond to three, two, or one. That is, the sum of the number of reference base stations and non-reference base stations is four. The solution server 100 can be built into the reference base station or the non-reference base station, or it can be placed in the reference base station or the non-reference base station, which can meet the needs of different structures of the positioning device.
[0302] For example, positioning device a:
[0303] Non-reference base station: UWB base station 200a, wherein the UWB base station 200a has a second power supply module 270 built in, and the UWB tag a is bound to the UWB base station 200a and placed inside it;
[0304] Reference base stations: UWB base station 200b, UWB base station 200c and UWB base station 200d, wherein UWB base station 200b, UWB base station 200c and UWB base station 200d are equipped with a second power supply module 270, UWB tag b is bound to UWB base station 200b and placed inside it, UWB tag c is bound to UWB base station 200c and placed inside it, the solution server 100 is built into one of UWB base stations 200b, UWB base station 200c and UWB base station 200d, the solution server 100 is equipped with a first power supply module 170, and the solution resetter is connected to each UWB base station 200 through a wired network or a local area network.
[0305] For positioning device a, part of the structure of the existing positioning device can be borrowed, such as the communication network of the existing positioning device. That is, the UWB base station 200 communicates with the solution server 100 on the reference base station through the communication channel of the existing UWB positioning device, and the solution server 100 is responsible for solving the data and presenting the data. Such a setting allows the four base stations to be placed by the user according to the needs of the on-site positioning area. There is no need to measure the coordinate position. The UWB base station 200 measures the distance between each other, automatically determines the coordinate position and transmits it to the solution server 100, without manual entry. In addition, the UWB base station 200 comes with a second power supply module 270, and there is no need to lay a separate power supply network.
[0306] Positioning device b:
[0307] Non-reference base station: UWB base station 200a, wherein the UWB base station 200a is provided with a second power supply module 270 and a second wireless network module 230, and the UWB tag a is bound to the UWB base station 200a and placed inside the UWB base station 200a;
[0308] Reference base stations: UWB base station 200b, UWB base station 200c and UWB base station 200d, wherein UWB base station 200b, UWB base station 200c and UWB base station 200d are all provided with a second power supply module 270 and a second wireless network module 230, UWB tag b is bound to and placed inside the UWB base station 200b, UWB tag c is bound to and placed inside the UWB base station 200c, the solution server 100 is built into one of the UWB base stations 200b, UWB base station 200c and UWB base station 200d, and the solution server 100 is built into a first power supply module 170 and a first wireless network module 130.
[0309] Positioning device c:
[0310] Non-reference base station: UWB base station 200a, wherein the UWB base station 200a is provided with a second power supply module 270 and a second wireless network module 230;
[0311] Reference base stations: UWB base station 200b, UWB base station 200c and UWB base station 200d, wherein the UWB base station 200b, UWB base station 200c and UWB base station 200d are all provided with a second power supply module 270 and a second wireless network module 230;
[0312] The solution server 100 is disposed outside the base station and includes a first power supply module 170 and a first wireless network module 130 .
[0313] Positioning device d:
[0314] Non-reference base station: UWB base station 200a, wherein the UWB base station 200a is provided with a second power supply module 270 and a second wireless network module 230;
[0315] Reference base stations: UWB base station 200b, UWB base station 200c and UWB base station 200d, wherein the UWB base station 200b, UWB base station 200c and UWB base station 200d are all provided with a second power supply module 270 and a second wireless network module 230;
[0316] The second wireless network module 230 , in which the solution server 100 is built, is provided with a first power supply module 170 .
[0317] For positioning device b, positioning device c, and positioning device d, the UWB base station 200 measures the distance between each other, and is responsible for measuring the distance between the UWB tag, and transmits the data to the solution server 100 of the reference base station through a wireless network or a local area network. The solution server 100 is responsible for solving the data and presenting the data. This setting allows the four base stations to be placed by the user according to the needs of the on-site positioning area. There is no need to measure the coordinate position. The UWB base station 200 measures the distance between each other, automatically determines the coordinate position and transmits it to the solution server 100, without manual entry. In addition, the UWB base station 200 comes with a second power supply module 270, and there is no need to lay a separate power supply network. At the same time, the UWB base station 200 is connected to the solution server 100 through wireless network communication, which simplifies the setting of wired network and wired power network connection lines.
[0318] It is understandable that in practical applications, the number of reference base stations 200 can be one, two, three, four or other numbers that meet the requirements. Among them, the number of reference base stations 200 is one, which can perform presence detection in the room. For example, a reference base station 200 is placed in a room. Although one reference base station 200 cannot be positioned, it can determine whether the tag is located in the room based on the relative distance between the reference base station 200 and the tag, and then perform presence detection. The number of reference base stations 200 is two. Since two reference base stations 200 can determine a straight line, they can locate tags on straight trajectories such as corridors and stairways. For example, two reference base stations 200 are placed in a straight corridor, which facilitates the positioning of tags located in the straight corridor. The number of reference base stations 200 is three. Since three reference base stations 200 can determine a surface, they can locate tags in scenes with a larger area, and have a wider range of use. It can be understood that when the number of reference base stations 200 is three, the non-reference base stations 200 can determine their respective coordinates within the plane determined by the three reference base stations 200 without human intervention, which simplifies manual operation and is easy to use.
[0319] Furthermore, the positioning device also includes:
[0320] The fifth processing module is used to determine whether the solution server 100 and the UWB base station 200 are both in the first state.
[0321] Furthermore, the fifth processing module specifically includes:
[0322] A first response unit, used to respond to the start instruction of the solution server 100; a first acquisition unit, used to acquire the current status of the first wireless network module 130 and the solution module 150 of the solution server 100;
[0323] The first processing unit is used to determine that the solving server 100 is in the first state based on the current states of the first wireless network module 130 and the solving module 150 are both in an operable state, otherwise, after executing the second response unit, execute the third response unit, the second response unit is used to respond to the shutdown instruction of the solving server 100, and the third response unit is used to respond to the reset instruction of the solving server 100;
[0324] A fourth response unit, configured to respond to a start instruction of the UWB base station 200 based on the solution server 100 being in the first state;
[0325] A second acquisition unit, which acquires the current status of the second wireless network module 230, the positioning module 240, and the local area network module 250 of the UWB base station 200;
[0326] The second processing unit is used to determine that the UWB base station 200 is in the first state based on that the second wireless network module 230, the positioning module 240, and the local area network module 250 are all in an operable state. Otherwise, after executing the fifth response unit, the sixth response unit is executed. The fifth response unit is used to respond to the UWB base station 200 shutdown instruction, and the sixth response unit is used to respond to the UWB base station 200 reset instruction.
[0327] Furthermore, the fifth processing module also includes:
[0328] A first display unit, used to display the current status of the first wireless network module 130 and the solution module 150 of the solution server 100;
[0329] The second display unit is used to display the current status of the second wireless network module 230 , the positioning module 240 , and the local area network module 250 of the UWB base station 200 .
[0330] Furthermore, the first response unit specifically includes:
[0331] A first start subunit, configured to start the power circuit of the first wireless network module 130 based on the received start instruction of the solution server 100, so as to start the first wireless network module 130, and start the power circuit of the solution module 150, so as to start the solution module 150;
[0332] The first processing sub-unit is used to establish a communication connection between the solution module 150 and the data acquired by the solution server 100 , and to establish a communication connection between the solution module 150 and the data in the first wireless network module 130 .
[0333] Furthermore, the second response unit specifically includes:
[0334] A first shut down subunit, configured to shut down a power circuit of the first wireless network module 130 based on a received shutdown instruction of the solution server 100, so as to shut down the first wireless network module 130;
[0335] A first sending subunit, used for sending a shutdown instruction of the solving module 150;
[0336] The second processing sub-unit is used to detect whether the solution module 150 is turned off based on the receipt of the solution module 150 turn-off reply instruction within the first timeout period, and if so, turn off the power circuit of the solution module 150; otherwise, after a first preset time, turn off the power circuit of the solution module 150 to turn off the solution module 150;
[0337] The third processing sub-unit is used to determine whether the first timeout number of the shutdown reply instruction of the solution module 150 exceeds the first preset threshold value based on the fact that the shutdown reply instruction of the solution module 150 is not received within the first timeout period. If so, the power supply circuit of the solution module 150 is turned off to shut down the solution module 150; otherwise, it returns and resends the solution module shutdown instruction.
[0338] Furthermore, the third response unit specifically includes:
[0339] A first reset subunit, configured to control the reset wiring of the first wireless network module 130 to perform a reset action based on the reset instruction received from the solution server 100, so as to reset the first wireless network module 130;
[0340] A second sending subunit, used for sending a reset instruction to the solution module 150;
[0341] A fourth processing sub-unit, configured to complete the reset operation of the solution module 150 based on receiving a reset reply instruction of the solution module 150 within the second timeout period;
[0342] The fifth processing sub-unit is used to determine whether the second timeout number of the reset reply instruction of the solution module 150 exceeds a second preset threshold value based on the fact that the reset reply instruction of the solution module 150 is not received within the second timeout period. If so, the power circuit of the solution module 150 is turned off and then the power circuit of the solution module 150 is reopened for reset; otherwise, it returns and resends the reset instruction of the solution module.
[0343] Furthermore, the fourth response unit specifically includes:
[0344] The second start subunit is used to start the power circuit of the second wireless network module 230 based on the received UWB base station 200 start instruction to start the second wireless network module 230, and connect the second wireless network module 230 with the first wireless network module 130, start the power circuit of the positioning module 240 to start the positioning module 240, and start the local area network module 250;
[0345] The sixth processing subunit is used to establish a communication connection between the positioning module 240 and the data in the wireless network.
[0346] Furthermore, the fifth response subunit specifically includes:
[0347] The second shutdown subunit is used to shut down the power circuit of the second wireless network module 230 and the power circuit of the positioning module 240 based on the received shutdown instruction of the UWB base station 200 to shut down the second wireless network module 230 and the positioning module 240.
[0348] Furthermore, the sixth response subunit specifically includes:
[0349] The initialization subunit is used to control the UWB base station 200 to perform an initialization operation based on the received UWB base station 200 reset instruction,
[0350] A third resetting subunit, used for turning off the power circuit of the second wireless network module 230 and then turning on the power circuit of the second wireless network module 230 to reset the second wireless network module 230 and reconnect the second wireless network module 230 to the first wireless network module 130;
[0351] The fourth resetting subunit is used to turn off the power circuit of the positioning module 240 and then turn on the power circuit of the positioning module 240 to reset the positioning module 240 .
[0352] According to one embodiment of the present application, a storage medium is provided, the storage medium stores at least one executable instruction, and the computer executable instruction can execute the positioning method in any embodiment of the first aspect above. Since the at least one executable instruction stored in the storage medium can execute the positioning method in any embodiment of the first aspect above, it has all the beneficial technical effects of the positioning method, which are not described one by one here.
[0353] Based on this understanding, the technical solution of the present application can be embodied in the form of a software product. The software product to be identified can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.), including a number of instructions for enabling an electronic device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each implementation scenario of the present application.
[0354] Based on the above Figure 1 system Figure 8 The positioning method shown, and Figures 10 to 26 In order to achieve the above-mentioned purpose, the present embodiment also provides a physical device of an electronic device 300, which can be a personal computer, a server, a smart phone, a tablet computer, a smart watch, or other network devices, such as Fig. 27 As shown, the physical device includes a storage medium and a processor 310; the storage medium is used to store a computer program; the processor 310 is used to execute the computer program to implement the above-mentioned Figures 1 to 8 The storage medium is stored in the memory 330, and the memory 330 and the processor 310 are connected to each other through the communication bus 320. The communication bus 320 is also connected to the transceiver 340 to receive and transmit data.
[0355] Optionally, the physical device may also include a user interface, a network interface, a camera, a radio frequency (RF) circuit, a sensor, an audio circuit, a WI-FI module, etc. The user interface may include a display, an input unit such as a keyboard, etc., and the optional user interface may also include a USB interface, a card reader interface, etc. The network interface may optionally include a standard wired interface, a wireless interface (such as a WI-FI interface), etc.
[0356] Those skilled in the art will appreciate that the physical device structure of an electronic device 300 provided in this embodiment does not constitute a limitation on the physical device, and may include more or fewer components, or a combination of certain components, or different component arrangements.
[0357] The storage medium may also include an operating system and a network communication module. The operating system is a program that manages the hardware of the physical device and the software resources to be identified, and supports the operation of the information processing program and other software and / or programs to be identified. The network communication module is used to realize the communication between the components inside the storage medium, and the communication with other hardware and software in the information processing physical device.
[0358] Through the description of the above implementation methods, those skilled in the art can clearly understand that the present application can be implemented by means of software plus the necessary general hardware platform, or by hardware. By applying the technical solution of the present application, the solution server 100 and the UWB base station 200 are both rechargeable devices, and the solution server 100 can provide a wireless network for communicating with the UWB base station 200 in the network. Compared with the related art, it can save the setting of power cords, wired networks, and wired power network connection lines, simplify the construction operation of the positioning device, greatly reduce manpower, material resources and working hours, help save costs, and is suitable for popularization and application.
[0359] Those skilled in the art will appreciate that the accompanying drawings are only schematic diagrams of a preferred implementation scenario, and the modules or processes in the accompanying drawings are not necessarily necessary for implementing the present application. Those skilled in the art will appreciate that the modules in the devices in the implementation scenario can be distributed in the devices of the implementation scenario according to the description of the implementation scenario, or can be changed accordingly and located in one or more devices different from the present implementation scenario. The modules of the above-mentioned implementation scenario can be combined into one module, or can be further split into multiple submodules.
[0360] The above serial numbers of this application are only for description and do not represent the advantages and disadvantages of the implementation scenarios. The above disclosure is only a few specific implementation scenarios of this application, but this application is not limited to them, and any changes that can be thought of by technicians in this field should fall within the scope of protection of this application.
Claims
1. A positioning method, It is characterized in that The positioning method comprises: The solution server communicates with the UWB base station via a wireless network; Wherein, the solution server and the UWB base station are both rechargeable devices, and the solution server is configured to be able to provide the wireless network; The number of the UWB base station is at least one, and the method further includes: Arranging at least one of the UWB base stations based on preset location information, wherein the preset location information includes positioning information of any of the UWB base stations; Acquire first relative position information between any of the UWB base stations and the UWB tag after arrangement, and second relative position information between the UWB base station and a reference object; Transmitting the first relative position information and the second relative position information from the UWB base station to the solution server; Determine the position information between the UWB tag and the reference object according to the first relative position information and the second relative position information; The number of the UWB base stations is at least two, the UWB base stations include reference base stations and non-reference base stations, the reference base stations are arranged based on the preset location information, and the method further includes: If the number of the reference base stations is equal to the number of the UWB base stations, all the preset location information is transmitted from the UWB base stations to the solution server, and the location information of each of the UWB base stations is determined and recorded according to the preset location information; If the number of the reference base stations is less than the number of the UWB base stations, the first distance information between the non-reference base station and any of the reference base stations is obtained, the first distance information is transmitted from the UWB base station to the solution server, and the location information of each of the UWB base stations is determined and recorded based on the first distance information.
2. The positioning method according to claim 1, It is characterized in that The at least two UWB base stations include a first base station and a second base station, wherein the first base station and the second base station are configured to be able to communicate with the solution server; Wherein, the solution server is built-in or external to the first base station; The first base station and the second base station are communicatively connected via the wireless network or the local area network.
3. The positioning method according to claim 1, It is characterized in that Also includes: Acquire second distance information between the UWB base station and the UWB tag; Transmitting the second distance information from the UWB base station to the solution server; The location information of the UWB tag is determined according to the second distance information.
4. The positioning method according to claim 3, It is characterized in that Based on the fact that the location information of the UWB tag includes plane coordinate points, the number of the UWB base stations is at least three.
5. The positioning method according to claim 3, It is characterized in that Also includes: The location information of each of the UWB base stations and / or the location information of the UWB tags are displayed.
6. The positioning method according to claim 5, It is characterized in that The method of displaying the location information of each of the UWB base stations and / or the location information of the UWB tags includes at least one of the following: Displaying through a display unit, wherein the display unit is arranged on the solution server; The display is performed through a mobile device, and the mobile device is communicatively connected to the solution server through a data line or the wireless network.
7. The positioning method according to any one of claims 1 to 6, It is characterized in that Before the step of communicating with the UWB base station via a wireless network, the method further includes: It is determined that the solution server and the UWB base station are both in a first state.
8. The positioning method according to claim 7, It is characterized in that The step of determining that both the solution server and the UWB base station are in the first state specifically includes: Respond to the solution server start command; Acquire the current status of the first wireless network module and the solution module of the solution server; Based on the current states of the first wireless network module and the solution module being both in an operable state, determining that the solution server is in the first state, otherwise, responding to a solution server shutdown instruction and then responding to a solution server reset instruction; Based on the solution server being in the first state, responding to a UWB base station start instruction; Obtaining the current status of the second wireless network module, the positioning module, and the local area network module of the UWB base station; Based on the fact that the second wireless network module, the positioning module and the local area network module are all in an operable state, it is determined that the UWB base station is in the first state; otherwise, after responding to the UWB base station shutdown instruction, it responds to the UWB base station reset instruction.
9. The positioning method according to claim 8, It is characterized in that Also includes: Displaying the current status of the first wireless network module and the solution module of the solution server; Display the current status of the second wireless network module, the positioning module, and the local area network module of the UWB base station.
10. The positioning method according to claim 8, It is characterized in that The step of responding to the solution server start instruction specifically includes: Based on the received solution server start instruction; Turning on a power circuit of the first wireless network module to start the first wireless network module; Turning on the power circuit of the solving module to start the solving module; The solution module is communicatively connected with the data acquired by the solution server, and the solution module is communicatively connected with the data in the first wireless network module.
11. The positioning method according to claim 8, It is characterized in that The step of responding to the server shutdown instruction includes: Based on the received shutdown instruction of the solution server; Turning off a power circuit of the first wireless network module to turn off the first wireless network module; Send a command to close the solver module; Based on receiving a solution module shutdown reply instruction within a first timeout period, detecting whether the solution module is shut down, if so, shutting down the power circuit of the solution module, otherwise, after a first preset time, shutting down the power circuit of the solution module to shut down the solution module; Based on the fact that the solution module shutdown reply instruction is not received within the first timeout period, it is determined whether the first timeout number of the solution module shutdown reply instruction exceeds a first preset threshold value; if so, the power circuit of the solution module is turned off to shut down the solution module; otherwise, the solution module shutdown instruction is returned and resent.
12. The positioning method according to claim 8, It is characterized in that The step of responding to the reset instruction of the solution server specifically includes: Based on the received solution server reset instruction; Controlling the reset connection of the first wireless network module to perform a reset operation to reset the first wireless network module; Send a reset command to the solver module; Upon receiving a reset reply instruction of the solution module within the second timeout period, the solution module completes the reset operation; Based on the fact that the solution module reset reply instruction is not received within the second timeout period, it is determined whether the second timeout number of the solution module reset reply instruction exceeds a second preset threshold; if so, the power circuit of the solution module is turned off and then reopened for resetting; otherwise, the solution module reset instruction is returned and resent.
13. The positioning method according to claim 8, It is characterized in that The step of responding to the UWB base station start instruction specifically includes: Based on the received UWB base station start instruction; Turning on a power circuit of the second wireless network module to start the second wireless network module and connect the second wireless network module to the first wireless network module; Turning on the power circuit of the positioning module to start the positioning module; Start the LAN module; The positioning module is communicatively connected with data in the wireless network.
14. The positioning method according to claim 8, It is characterized in that The step of responding to the UWB base station shutdown instruction specifically includes: Based on the received UWB base station shutdown instruction; Turning off a power circuit of the second wireless network module to turn off the second wireless network module; The power circuit of the positioning module is turned off to turn off the positioning module.
15. The positioning method according to claim 8, It is characterized in that The step of responding to the UWB base station reset instruction specifically includes: Based on the received UWB base station reset instruction; controlling the UWB base station to perform an initialization operation, After turning off the power circuit of the second wireless network module, turning on the power circuit of the second wireless network module again to reset the second wireless network module and make the second wireless network module reconnect to the first wireless network module; After turning off the power circuit of the positioning module, the power circuit of the positioning module is turned on again to reset the positioning module.
16. A positioning device, It is characterized in that The device comprises: Solving server; UWB base station, the solution server is connected to the UWB base station through a wireless network; Wherein, the solution server and the UWB base station are both rechargeable devices, and the solution server is configured to be able to provide the wireless network; The number of the UWB base station is at least one, and the device further includes: A placement module, configured to place at least one of the UWB base stations based on preset location information, wherein the preset location information includes positioning information of any of the UWB base stations; A first acquisition module, used to acquire first relative position information between any of the UWB base stations and the UWB tag after deployment, and second relative position information between the UWB base station and a reference object; A first transmission module, used for transmitting the first relative position information and the second relative position information from the UWB base station to the solution server; A first processing module, configured to determine position information between the UWB tag and the reference object according to the first relative position information and the second relative position information; The number of the UWB base stations is at least two, the UWB base stations include reference base stations and non-reference base stations, the reference base stations are arranged based on the preset location information, and the device further includes: A second processing module is configured to transmit all the preset location information from the UWB base stations to the solution server if the number of the reference base stations is equal to the number of the UWB base stations, and determine and record the location information of each of the UWB base stations according to the preset location information; The third processing module is used to obtain the first distance information between the non-reference base station and any of the reference base stations if the number of the reference base stations is less than the number of the UWB base stations, transmit the first distance information from the UWB base station to the solution server, and determine and record the location information of each of the UWB base stations based on the first distance information.
17. The positioning device according to claim 16, It is characterized in that The at least two UWB base stations include a first base station and a second base station, wherein the first base station and the second base station are configured to be able to communicate with the solution server; Wherein, the solution server is built-in or external to the first base station; The first base station and the second base station are communicatively connected via the wireless network or the local area network.
18. The positioning device according to claim 16, It is characterized in that Also includes: A second acquisition module, used to acquire second distance information between the UWB base station and the UWB tag; A second transmission module, used for transmitting the second distance information from the UWB base station to the solution server; The fourth processing module is used to determine the location information of the UWB tag according to the second distance information.
19. The positioning device according to claim 18, It is characterized in that Based on the fact that the location information of the UWB tag includes plane coordinate points, the number of the UWB base stations is at least three.
20. The positioning device according to claim 18, It is characterized in that Also includes: The display module is used to display the location information of each of the UWB base stations and / or the location information of the UWB tags.
21. The positioning device according to claim 20, It is characterized in that The display module includes at least one of the following: A display unit, wherein the display unit is arranged on the solution server; A mobile device is connected to the solution server through a data line or the wireless network.
22. A positioning device according to any one of claims 16 to 21, It is characterized in that Also includes: The fifth processing module is used to determine that the solution server and the UWB base station are both in the first state.
23. The positioning device according to claim 22, It is characterized in that The fifth processing module specifically includes: A first response unit, used to respond to a solution server startup instruction; a first acquisition unit, used to acquire the current status of the first wireless network module and the solution module of the solution server; A first processing unit, configured to determine that the solution server is in the first state based on the current states of the first wireless network module and the solution module being both in an operable state, and otherwise, after executing the second response unit, execute a third response unit, wherein the second response unit is configured to respond to a solution server shutdown instruction, and the third response unit is configured to respond to a solution server reset instruction; A fourth responding unit, configured to respond to a UWB base station start instruction based on the solution server being in the first state; A second acquisition unit is used to acquire the current status of the second wireless network module, the positioning module, and the local area network module of the UWB base station; The second processing unit is used to determine that the UWB base station is in the first state based on that the second wireless network module, the positioning module, and the local area network module are all in an operable state; otherwise, after executing the fifth response unit, the sixth response unit is executed, the fifth response unit is used to respond to the UWB base station shutdown instruction, and the sixth response unit is used to respond to the UWB base station reset instruction.
24. The positioning device according to claim 23, It is characterized in that The fifth processing module further includes: A first display unit, used to display the current status of the first wireless network module and the solution module of the solution server; The second display unit is used to display the current status of the second wireless network module, the positioning module, and the local area network module of the UWB base station.
25. The positioning device according to claim 23, It is characterized in that The first response unit specifically includes: A first start subunit, configured to start the power circuit of the first wireless network module based on the received start instruction of the solution server to start the first wireless network module, and start the power circuit of the solution module to start the solution module; The first processing sub-unit is used to establish a communication connection between the solution module and the data acquired by the solution server, and to establish a communication connection between the solution module and the data in the first wireless network module.
26. The positioning device according to claim 23, It is characterized in that The second response unit specifically includes: a first shut down subunit, configured to shut down a power circuit of the first wireless network module based on the received shutdown instruction of the solution server, so as to shut down the first wireless network module; A first sending subunit, used for sending a solution module closing instruction; A second processing sub-unit is used to detect whether the solution module is turned off based on receiving a solution module turn-off reply instruction within a first timeout period, and if so, turn off the power circuit of the solution module; otherwise, after a first preset time period, turn off the power circuit of the solution module to turn off the solution module; The third processing sub-unit is used to determine whether the first timeout number of the solution module shutdown reply instruction exceeds a first preset threshold based on the fact that the solution module shutdown reply instruction is not received within the first timeout period; if so, turn off the power circuit of the solution module to shut down the solution module; otherwise, return and resend the solution module shutdown instruction.
27. The positioning device according to claim 23, It is characterized in that The third response unit specifically includes: A first reset subunit, configured to control the reset wiring of the first wireless network module to perform a reset operation based on the received reset instruction of the solution server, so as to reset the first wireless network module; A second sending subunit, used for sending a reset instruction of the solution module; A fourth processing sub-unit, configured to receive a reset reply instruction of the solution module within a second timeout period, and the solution module completes the reset operation; The fifth processing sub-unit is used to determine whether the second timeout number of the reset reply instruction of the solution module exceeds a second preset threshold value based on the fact that the reset reply instruction of the solution module is not received within the second timeout period; if so, turning off the power circuit of the solution module and then reopening the power circuit of the solution module for resetting; otherwise, returning and resending the reset instruction of the solution module.
28. The positioning device according to claim 23, It is characterized in that The fourth response unit specifically includes: A second start subunit is used to start the power circuit of the second wireless network module based on the received UWB base station start instruction to start the second wireless network module, connect the second wireless network module to the first wireless network module, start the power circuit of the positioning module to start the positioning module, and start the local area network module; The sixth processing subunit is used to establish a communication connection between the positioning module and the data in the wireless network.
29. The positioning device according to claim 23, It is characterized in that The fifth response unit specifically includes: The second shutdown subunit is used to shut down the power circuit of the second wireless network module based on the received UWB base station shutdown instruction to shut down the second wireless network module, and shut down the power circuit of the positioning module to shut down the positioning module.
30. The positioning device according to claim 23, It is characterized in that The sixth response unit specifically includes: an initialization subunit, configured to control the UWB base station to perform an initialization operation based on the received UWB base station reset instruction, a third resetting subunit, configured to turn off the power circuit of the second wireless network module and then turn on the power circuit of the second wireless network module to reset the second wireless network module and reconnect the second wireless network module to the first wireless network module; The fourth resetting subunit is used to turn off the power circuit of the positioning module and then turn on the power circuit of the positioning module to reset the positioning module.
31. A storage medium having a computer program stored thereon, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 15 are implemented.
32. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 15 are implemented.
