Intelligent mine lamp positioning method and device, electronic equipment and computer readable storage medium
By collecting location codes in smart miner's lamp positioning to update positioning information, the problem of low GPS positioning accuracy is solved and positioning accuracy and reliability are improved, especially in complex environments.
Patent Information
- Application Number
- CN202410848183.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-27
- Publication Date
- 2024-10-15
AI Technical Summary
In the existing technology, when relying on GPS for positioning smart mining lamps, problems such as low positioning accuracy or inability to obtain positioning information are likely to occur. Especially in complex environments such as mine operating environments, the signal quality is affected and the positioning accuracy is affected.
By obtaining the positioning information of the target smart miner's lamp, collecting the location code when the positioning accuracy is low, parsing the location code to obtain the corresponding location information, and updating the positioning information to improve the positioning accuracy.
When the positioning accuracy is low or the positioning information cannot be obtained, accurate position information is obtained by collecting location codes, which improves the positioning accuracy and avoids the problem of positioning failure.
Smart Images

Figure CN118780304A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of positioning technology, and in particular to an intelligent mining lamp positioning method, device, electronic equipment and computer-readable storage medium. Background Art
[0002] Smart mining lamps are easily forgotten when they are not in use, and it is also time-consuming and laborious to find them. Traditional technology generally uses Bluetooth connection to determine that the lost smart mining lamp is in a certain approximate range. If it exceeds the Bluetooth connection range, it cannot be located, or it needs to rely on map services for positioning. This method uses the longitude and latitude coordinates of the Global Positioning System (GPS) for positioning, which is easily affected by the atmosphere, terrain, high-rise buildings and other environments. Therefore, in some complex environments, it is easy to have low positioning accuracy or even fail to obtain positioning information. For example, in a mine operation environment, the signal quality of the GPS positioning system in the mine will be seriously affected, which in turn affects the positioning accuracy of vehicles and personnel in the mine, and even makes it impossible to obtain positioning. Summary of the invention
[0003] The present invention provides an intelligent mining lamp positioning method, device, electronic device and computer-readable storage medium, which are used to solve the problem in the prior art that low positioning accuracy or even failure to obtain positioning information occurs when relying on GPS for positioning.
[0004] The present invention provides an intelligent mining lamp positioning method, comprising:
[0005] Obtaining target positioning information of a target intelligent mining lamp and displaying the target positioning information;
[0006] In case a place code collection instruction is obtained based on the target positioning information, the place code of the location of the target intelligent mining lamp is collected;
[0007] The target location information corresponding to the place code is determined, and the target positioning information is updated based on the target location information.
[0008] According to an intelligent mining lamp positioning method provided by the present invention, the determining of the target location information corresponding to the place code and updating the target positioning information based on the target location information include:
[0009] Parsing the venue code to obtain a target identity of the venue code;
[0010] Based on the target identity, determine the target location information corresponding to the target identity from a location information database; wherein the location information database is used to store the correspondence between the identity and the location information;
[0011] The target positioning information is updated to the target position information.
[0012] According to a smart mining lamp positioning method provided by the present invention, the step of obtaining target positioning information of a target smart mining lamp comprises:
[0013] Obtain the positioning information of the target intelligent mining lamp;
[0014] When the positioning accuracy of the positioning information is less than a preset accuracy threshold and the positioning time is less than a preset time period threshold, the positioning information of the target intelligent mining lamp is continuously acquired until the positioning time is greater than or equal to the preset time period threshold; wherein the positioning time is the timing time from the issuance of the positioning request;
[0015] The target positioning information of the target intelligent mining lamp is determined based on the positioning information acquired within the positioning time.
[0016] According to a smart mining lamp positioning method provided by the present invention, the target positioning information of the target smart mining lamp is determined based on the positioning information acquired within the positioning time, including:
[0017] Determine the positioning information with the highest positioning accuracy among the positioning information acquired within the positioning time;
[0018] The positioning information with the highest positioning accuracy is determined as the target positioning information of the target intelligent mining lamp.
[0019] According to the present invention, an intelligent mining lamp positioning method further includes:
[0020] When the positioning accuracy of the positioning information is greater than or equal to the preset accuracy threshold, the positioning information is determined as the target positioning information.
[0021] According to a smart mining lamp positioning method provided by the present invention, in the case where a place code collection instruction is obtained based on the target positioning information, collecting the place code of the location of the target smart mining lamp includes:
[0022] Determine whether the positioning accuracy of the target positioning information is less than a preset accuracy threshold;
[0023] When the positioning accuracy of the target positioning information is less than the preset accuracy threshold, detecting whether a place code collection instruction is obtained;
[0024] When the place code collection instruction is obtained, the place code of the location of the target intelligent mining lamp is collected.
[0025] According to an intelligent mining lamp positioning method provided by the present invention, when the positioning accuracy of the target positioning information is less than the preset accuracy threshold, detecting whether a place code collection instruction is obtained includes:
[0026] When the positioning accuracy of the target positioning information is less than the preset accuracy threshold, outputting a place code collection prompt information, wherein the place code collection prompt information is used to prompt whether to collect the place code;
[0027] Acquire instruction information input based on the venue code collection prompt information, and parse the instruction information to obtain a parsing result;
[0028] In a case where the parsing result includes a collection instruction for instructing to collect the place code, it is determined that the place code collection instruction is acquired.
[0029] The present invention also provides an intelligent mining lamp positioning device, comprising:
[0030] An acquisition module, used to acquire target positioning information of a target intelligent mining lamp;
[0031] A display module, used to display the target positioning information;
[0032] A collection module, configured to collect the location code of the target intelligent mining lamp when a location code collection instruction is obtained based on the target positioning information;
[0033] An updating module is used to determine the target location information corresponding to the place code and update the target positioning information based on the target location information.
[0034] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any of the above-described positioning methods when executing the computer program.
[0035] The present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the positioning method described in any one of the above is implemented.
[0036] The present invention also provides a computer program product, comprising a computer program, wherein when the computer program is executed by a processor, the positioning method as described above is implemented.
[0037] The positioning method, device, electronic device and computer-readable storage medium provided by the present invention can obtain the initial positioning of the target intelligent mining lamp by acquiring the target positioning information of the target intelligent mining lamp and displaying the target positioning information; when a place code collection instruction is obtained based on the target positioning information, the place code of the location of the target intelligent mining lamp is collected, and then the target position information corresponding to the place code is determined, and the target positioning information is updated based on the target position information. In the case where the positioning accuracy of the target positioning information is low, the positioning information of the target intelligent mining lamp cannot be obtained, or the user believes that the target positioning information does not meet the positioning requirements, the place code of the location of the target intelligent mining lamp is collected to obtain the accurate position information of the location of the target intelligent mining lamp, and the target positioning information is updated accordingly, thereby improving the positioning accuracy and avoiding the problem of being unable to obtain positioning information. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0039] Figure 1 This is one of the flowcharts of the positioning method provided by the embodiment of the present invention;
[0040] Figure 2 This is a second flow chart of the positioning method provided by an embodiment of the present invention;
[0041] Figure 3 It is a structural schematic diagram of an intelligent mining lamp positioning device provided by an embodiment of the present invention;
[0042] Figure 4 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0044] It should be noted that the serial numbers assigned to the objects described in the present invention, such as "first", "second", etc., are only used to distinguish the objects described and do not have any order or technical meaning.
[0045] The positioning method provided by the embodiment of the present invention can be applied to outdoor exploration, mining operations and other scenarios where the signal is poor and it is necessary to locate smart devices, personnel, vehicles, etc., wherein the smart devices may include smart lamps. Taking underground mining operations in a mine as an example, some location points can be pre-deployed in the mine, and corresponding place codes can be deployed at each location point. Each location point corresponds to a unique place code, and the place code carries unique location information. When the electronic equipment carried by the underground mining personnel cannot locate the personnel or the positioning accuracy is low, accurate location information can be obtained by scanning the place code of the personnel's location.
[0046] Combine the following Figure 1-Figure 2 The positioning method of the present invention is described. The positioning method can be applied to electronic devices such as terminal devices or servers. Among them, the terminal device may include a mobile phone, a vehicle-mounted device, a tablet computer, a wearable device, a handheld terminal device, etc.; the server may include an independent server, a cluster server or a cloud server, etc. The positioning method can also be applied to an intelligent mining lamp positioning device set in an electronic device such as a terminal device or a server, and the intelligent mining lamp positioning device can be implemented by software, hardware or a combination of the two. The positioning method of the present invention is described below by taking the application of electronic equipment as an example.
[0047] Figure 1 One of the flow charts of the positioning method provided by the embodiment of the present invention is exemplarily shown, referring to Figure 1 As shown, the positioning method may include the following steps 110 to 130.
[0048] Step 110: Obtain target positioning information of the target intelligent mining lamp and display the target positioning information.
[0049] The target intelligent mining lamp is a device used for positioning, such as an on-board intelligent mining lamp positioning device in a vehicle, a mobile phone, a wearable device, a handheld terminal device and other devices with positioning functions carried by a user, or an intelligent mining lamp positioning device in these devices. The target positioning information may be real-time positioning information, or positioning information determined based on various positioning information within a preset time period, such as the average value of all positioning information within a preset time period or the positioning information with the highest positioning accuracy among all positioning information within a preset time period.
[0050] The electronic device can obtain the target positioning information of the target intelligent mining lamp and display the target positioning information on the display screen. The user can view the current positioning position of the target intelligent mining lamp through the display screen.
[0051] In an exemplary embodiment, higher-precision positioning information can be obtained through continuous positioning. Specifically, obtaining the target positioning information of the target intelligent mining lamp can include the following steps 111 to 113.
[0052] Step 111: Obtain positioning information of the target intelligent mining lamp.
[0053] The electronic device can obtain the real-time positioning information of the target intelligent mining lamp. For example, the target intelligent mining lamp can be positioned by GPS, and the electronic device can obtain the real-time positioning information of the target intelligent mining lamp from the intelligent mining lamp positioning system built based on GPS.
[0054] Step 112: When the positioning accuracy of the positioning information is less than the preset accuracy threshold and the positioning time is less than the preset time period threshold, the positioning information of the target intelligent mining lamp is continuously acquired until the positioning time is greater than or equal to the preset time period threshold.
[0055] The positioning time is the time from when the positioning request is issued. For example, when the electronic device issues a positioning request to the target intelligent mining lamp for obtaining current positioning information, the timing starts at this time to obtain the positioning time.
[0056] After the electronic device obtains the positioning information of the target smart mining lamp, it can determine whether the positioning accuracy of the positioning information is less than the preset accuracy threshold. If it is less, it means that the accuracy of the current positioning information is low. At this time, it is determined whether the positioning time is less than the preset time period threshold. If it is less, the positioning information of the target smart mining lamp can be continuously monitored until the positioning information with a positioning accuracy greater than or equal to the preset accuracy threshold is monitored within the preset time period threshold, or the positioning time is greater than or equal to the preset time period threshold.
[0057] For example, the preset accuracy threshold can be determined based on experience or through experiments. The preset time period threshold can be set based on needs or experience, such as 5 seconds.
[0058] For example, the positioning information can be obtained from an intelligent mining lamp positioning system built based on GPS.
[0059] Step 113: Determine the target positioning information of the target intelligent mining lamp based on the positioning information obtained within the positioning time.
[0060] If the positioning information with a positioning accuracy greater than or equal to the preset accuracy threshold is still not detected when the positioning time is greater than or equal to the preset time period threshold, the positioning information collected within the positioning time can be used to determine the target positioning information of the target intelligent mining lamp. For example, the positioning information with the highest positioning accuracy can be determined as the target positioning information, and the average value or weighted average value of the positioning information can be determined as the target positioning information.
[0061] Specifically, in an example embodiment, determining the target positioning information of the target smart mining lamp based on the positioning information obtained within the positioning time may include: determining the positioning information with the highest positioning accuracy among the positioning information obtained within the positioning time; and determining the positioning information with the highest positioning accuracy as the target positioning information of the target smart mining lamp.
[0062] In this way, by determining the positioning information with the highest positioning accuracy among all the positioning information collected within the preset time period threshold as the target positioning information of the target intelligent mining lamp, the accuracy of the target positioning information can be improved as much as possible.
[0063] In an exemplary embodiment, partial positioning information within a preset time period threshold may be used to determine the target positioning information. Specifically, determining the target positioning information of the target intelligent mining lamp based on the positioning information obtained within the positioning time may include: sorting the positioning information obtained within the positioning time in descending order of positioning accuracy to obtain a sorting result; obtaining the first preset number of positioning information in the sorting result to obtain the positioning information to be processed; and determining the average value or weighted average value of the positioning information to be processed as the target positioning information of the target intelligent mining lamp.
[0064] In an example embodiment, after the electronic device obtains the positioning information of the target intelligent mining lamp, it can determine whether the positioning accuracy of the positioning information is less than a preset accuracy threshold. If the positioning accuracy of the positioning information is greater than or equal to the preset accuracy threshold, the positioning information is determined as the target positioning information.
[0065] For example, when the electronic device continuously obtains the positioning information of the target smart mining lamp within the preset time period threshold, if the positioning information with positioning accuracy greater than the preset accuracy threshold is obtained, the positioning information can be determined as the target positioning information. At this time, the continuous monitoring of the positioning information can be stopped.
[0066] Step 120: When a place code collection instruction is obtained based on the target positioning information, the place code of the location of the target intelligent mining lamp is collected.
[0067] The place code may be a QR code or a barcode carrying the place identity document (ID) information, and each location of each place corresponds to a unique place code.
[0068] In an exemplary embodiment, after obtaining the target positioning information, the electronic device may determine whether to obtain a location code collection instruction according to whether the positioning accuracy of the target positioning information is less than a preset accuracy threshold.
[0069] Specifically, step 120 may include the following sub-steps: determining whether the positioning accuracy of the target positioning information is less than a preset accuracy threshold; if the positioning accuracy of the target positioning information is less than the preset accuracy threshold, detecting whether a place code collection instruction is obtained; if the place code collection instruction is obtained, collecting the place code of the location of the target intelligent mining lamp.
[0070] For example, when the positioning accuracy of the target positioning information is less than the preset accuracy threshold, a place code collection instruction can be directly issued, and the electronic device starts the code scanning device according to the place code collection instruction, and collects the place code of the location of the target smart mining lamp through the code scanning device. The code scanning device may include at least one of a camera, a QR code reader, a barcode scanner, etc., but is not limited thereto.
[0071] For example, when the positioning accuracy of the target positioning information is less than the preset accuracy threshold, a prompt message on whether to collect the place code can be output to the user, and the user decides whether to collect the place code. Correspondingly, when the positioning accuracy of the target positioning information is less than the preset accuracy threshold, detecting whether the place code collection instruction is obtained can be achieved through the following steps: when the positioning accuracy of the target positioning information is less than the preset accuracy threshold, outputting a place code collection prompt message, the place code collection prompt message is used to prompt whether to collect the place code; obtaining instruction information input based on the place code collection prompt message, and parsing the instruction information to obtain a parsing result; when the parsing result includes a collection instruction for indicating the collection of the place code, determining that the place code collection instruction is obtained.
[0072] Among them, the prompt information for collecting the place code can be output in at least one of the following ways: text, image, and voice, but is not limited thereto. For example, a pop-up box can be displayed on the screen, and a prompt message of "Please select whether to collect the place code" can be output in the pop-up box, and a selection menu of "Yes" and "No" can be displayed in the pop-up box for the user to choose. If the user selects "Yes", the electronic device can determine that the place code collection instruction has been obtained. For another example, according to the prompt message of "Please select whether to collect the place code", the user can input the instruction message "Please collect the place code" in the form of voice, and the electronic device parses and identifies the voice instruction message, and determines that it contains the keyword "collection" used to indicate the collection of the place code, and can determine that the place code collection instruction has been obtained.
[0073] In an exemplary embodiment, after the electronic device displays the target positioning information, if the user believes that the accuracy of the target positioning information does not meet expectations, the user can actively choose to scan nearby place codes and use the place codes to obtain accurate positioning information.
[0074] Specifically, the electronic device may provide a scanning button for starting the place code scanning function. The scanning button may be a physical button or a touch screen button. When the electronic device detects a trigger operation on the scanning button, it indicates that a place code collection instruction has been obtained. At this time, the electronic device turns on the scanning device and collects the place code of the location of the target smart mining lamp through the scanning device.
[0075] For example, the electronic device can use voice recognition to start the code scanning device. For example, when the user actively chooses to scan the nearby place code, he can input the voice "turn on the code scanning function in the positioning scene" to the electronic device. After the electronic device recognizes the voice, it can turn on the code scanning device and collect the place code of the location of the target smart mining lamp through the code scanning device.
[0076] Step 130: Determine the target location information corresponding to the venue code, and update the target positioning information based on the target location information.
[0077] After the electronic device obtains the place code, it can parse the place code, determine the location information corresponding to the place code according to the parsing result, obtain the target location information, and then use the target location information to update the target positioning information. In this way, the user's more accurate location can be obtained through the place code, the positioning accuracy can be improved, and accurate positioning can also be achieved when the user's location cannot be obtained using the GPS system.
[0078] In an exemplary embodiment, when determining the target location information corresponding to the place code and updating the target positioning information based on the target location information, step 130 can be implemented through the following sub-steps: parsing the place code to obtain the target identity of the place code; based on the target identity, determining the target location information corresponding to the target identity from the location information library; updating the target positioning information to the target location information; wherein the location information library is used to save the correspondence between the identity and the location information.
[0079] Specifically, place codes can be deployed in advance at places where people and / or vehicles need to be located. Each place code has a unique ID, and each ID corresponds to unique location information, such as longitude and latitude, place name and other location information. The location information is accurate location information acquired in advance, and then a correspondence between the place code ID and the location information can be established to obtain a location information library.
[0080] The positioning method provided by the embodiment of the present invention can obtain the initial positioning of the target intelligent mining lamp by acquiring the target positioning information of the target intelligent mining lamp and displaying the target positioning information; when a place code collection instruction is obtained based on the target positioning information, the place code of the location of the target intelligent mining lamp is collected, and then the target position information corresponding to the place code is determined, and the target positioning information is updated based on the target position information. In the case where the positioning accuracy of the target positioning information is low, the positioning information of the target intelligent mining lamp cannot be obtained, or the user believes that the target positioning information does not meet the positioning requirements, the place code of the location of the target intelligent mining lamp is collected to obtain the accurate position information of the location of the target intelligent mining lamp, and the target positioning information is updated accordingly, thereby improving the positioning accuracy and avoiding the problem of being unable to obtain positioning information.
[0081] based on Figure 1 The positioning method of the corresponding embodiment, Figure 2 The second flow chart of the positioning method provided by the embodiment of the present invention is exemplarily shown. Figure 2 As shown, the positioning method may include the following steps 201 to 211.
[0082] Step 201: Acquire the positioning information of the target intelligent mining lamp.
[0083] When receiving the positioning request, the electronic device obtains the positioning information of the target intelligent mining lamp.
[0084] Step 202: Determine whether the positioning accuracy of the positioning information is greater than or equal to a preset accuracy threshold.
[0085] If the positioning accuracy of the positioning information is less than the preset accuracy threshold, step 203 is executed; if the positioning accuracy of the positioning information is greater than or equal to the preset accuracy threshold, step 211 is executed.
[0086] Step 203: Determine whether the positioning time is less than a preset time period threshold.
[0087] If the positioning time is less than the preset time period threshold, step 204 is executed; otherwise, step 205 is executed.
[0088] Step 204: Continue to obtain the location information of the target intelligent mining lamp. After obtaining the location information, continue to execute step 202.
[0089] Step 205: Determine the target positioning information of the target intelligent mining lamp based on the positioning information obtained within the positioning time.
[0090] Specifically, the specific implementation method of step 205 can refer to the above-mentioned step 113, which will not be repeated here.
[0091] Step 206: Display target positioning information.
[0092] Step 207: When the location code collection instruction is obtained, the location code of the target intelligent mining lamp is collected.
[0093] Specifically, the specific implementation method of step 207 can refer to the above-mentioned step 120, which will not be repeated here.
[0094] Step 208: Parse the venue code to obtain the target identity of the venue code.
[0095] Step 209: Based on the target identity, determine the target location information corresponding to the target identity from the location information database.
[0096] Step 210: Update the target positioning information to the target location information.
[0097] Step 211: Determine the positioning information as target location information.
[0098] The positioning method provided by the embodiment of the present invention can, on the one hand, improve the positioning accuracy through continuous positioning; on the other hand, by collecting the place code for auxiliary positioning, it can further improve the positioning accuracy when the positioning accuracy of the continuous positioning is low, the positioning information of the target intelligent mining lamp cannot be obtained, or the user believes that the target positioning information obtained by the continuous positioning does not meet the positioning requirements, and avoids the problem of being unable to obtain positioning information.
[0099] The positioning method provided by the embodiment of the present invention can obtain a more accurate position of the user through multiple positioning methods in complex scenarios (such as complex traffic scenarios, mining operation scenarios, etc.) where GPS cannot be used or GPS cannot meet positioning requirements, and has a wide range of applications.
[0100] The intelligent mining lamp positioning device provided by the present invention is described below. The intelligent mining lamp positioning device described below and the positioning method described above can be referred to each other.
[0101] Figure 3 The schematic diagram of the structure of the intelligent mining lamp positioning device provided by the embodiment of the present invention is shown as an example. Figure 3 As shown, the intelligent mining lamp positioning device may include: an acquisition module 310, used to acquire target positioning information of a target intelligent mining lamp; a display module 320, used to display the target positioning information; a collection module 330, used to collect the location code of the location of the target intelligent mining lamp when a location code collection instruction is obtained based on the target positioning information; an update module 340, used to determine the target location information corresponding to the location code, and update the target positioning information based on the target location information.
[0102] In an exemplary embodiment, the update module 340 may include: a parsing unit, used to parse the place code to obtain a target identity of the place code; a first determination unit, used to determine the target location information corresponding to the target identity from a location information library based on the target identity, wherein the location information library is used to store the correspondence between the identity and the location information; and an update unit, used to update the target positioning information to the target location information.
[0103] In an exemplary embodiment, the acquisition module 310 may include: an acquisition unit, used to acquire the positioning information of the target smart mining lamp, and when the positioning accuracy of the positioning information is less than a preset accuracy threshold and the positioning time is less than a preset time period threshold, continuously acquire the positioning information of the target smart mining lamp until the positioning time is greater than or equal to the preset time period threshold, wherein the positioning time is a timing time starting from the issuance of the positioning request; a second determination unit, used to determine the target positioning information of the target smart mining lamp based on the positioning information acquired within the positioning time.
[0104] In an exemplary embodiment, the second determination unit may include: a positioning subunit, used to determine the positioning information with the highest positioning accuracy among the positioning information acquired within the positioning time; and a first determination subunit, used to determine the positioning information with the highest positioning accuracy as the target positioning information of the target intelligent mining lamp.
[0105] In an exemplary embodiment, the acquisition module 310 further includes: a third determination unit, configured to determine the positioning information as target positioning information when the positioning accuracy of the positioning information is greater than or equal to a preset accuracy threshold.
[0106] In an exemplary embodiment, the acquisition module 330 may include: a fourth determination unit, used to determine whether the positioning accuracy of the target positioning information is less than a preset accuracy threshold; a detection unit, used to detect whether a place code acquisition instruction is obtained when the positioning accuracy of the target positioning information is less than the preset accuracy threshold; and a collection unit, used to collect the place code of the location of the target intelligent mining lamp when the place code acquisition instruction is obtained.
[0107] In an exemplary embodiment, the detection unit may include: an output subunit, used to output place code collection prompt information when the positioning accuracy of the target positioning information is less than a preset accuracy threshold, wherein the place code collection prompt information is used to prompt whether to collect the place code; a parsing subunit, used to obtain instruction information input based on the place code collection prompt information, and parse the instruction information to obtain a parsing result; a second determination subunit, used to determine that the place code collection instruction has been obtained when the parsing result includes a collection instruction for indicating the collection of the place code.
[0108] Figure 4An example of a structural diagram of an electronic device is shown in FIG. Figure 4 As shown, the electronic device may include: a processor 410, a communication interface 420, a memory 430 and a communication bus 440, wherein the processor 410, the communication interface 420 and the memory 430 communicate with each other through the communication bus 440. The processor 410 may call the logic instructions in the memory 430 to execute the positioning method provided by any of the above method embodiments.
[0109] Exemplarily, the processor 410 may include a central processing unit (CPU), a microprocessor, a network processor (NP), a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
[0110] In addition, the logic instructions in the above-mentioned memory 430 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.
[0111] On the other hand, the present invention also provides a computer program product, which includes a computer program. The computer program can be stored on a computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the positioning method provided by any of the above method embodiments.
[0112] On the other hand, the present invention further provides a computer-readable storage medium having a computer program stored thereon, which is implemented when the computer program is executed by a processor to execute the positioning method provided by any of the above method embodiments.
[0113] By way of example, computer readable storage media include non-transitory computer readable storage media.
[0114] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0115] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0116] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. An intelligent mining lamp positioning method, characterized in that: include: Obtaining target positioning information of a target intelligent mining lamp and displaying the target positioning information; In case a place code collection instruction is obtained based on the target positioning information, the place code of the location of the target intelligent mining lamp is collected; The target location information corresponding to the place code is determined, and the target positioning information is updated based on the target location information.
2. The positioning method according to claim 1, characterized in that: The determining the target location information corresponding to the place code and updating the target positioning information based on the target location information includes: Parsing the venue code to obtain a target identity of the venue code; Based on the target identity, determine the target location information corresponding to the target identity from a location information database; wherein the location information database is used to store the correspondence between the identity and the location information; The target positioning information is updated to the target position information.
3. The positioning method according to claim 1, characterized in that: The step of obtaining target positioning information of the target intelligent mining lamp includes: Obtain the positioning information of the target intelligent mining lamp; When the positioning accuracy of the positioning information is less than a preset accuracy threshold and the positioning time is less than a preset time period threshold, the positioning information of the target intelligent mining lamp is continuously acquired until the positioning time is greater than or equal to the preset time period threshold; wherein the positioning time is the timing time from the issuance of the positioning request; The target positioning information of the target intelligent mining lamp is determined based on the positioning information acquired within the positioning time.
4. The positioning method according to claim 3, characterized in that: The determining the target positioning information of the target intelligent mining lamp based on the positioning information acquired within the positioning time includes: Determine the positioning information with the highest positioning accuracy among the positioning information acquired within the positioning time; The positioning information with the highest positioning accuracy is determined as the target positioning information of the target intelligent mining lamp.
5. The positioning method according to claim 3, characterized in that: Also includes: When the positioning accuracy of the positioning information is greater than or equal to the preset accuracy threshold, the positioning information is determined as the target positioning information.
6. The positioning method according to any one of claims 1 to 5, characterized in that: In the case where a place code collection instruction is obtained based on the target positioning information, collecting the place code of the location of the target intelligent mining lamp includes: Determine whether the positioning accuracy of the target positioning information is less than a preset accuracy threshold; When the positioning accuracy of the target positioning information is less than the preset accuracy threshold, detecting whether a place code collection instruction is obtained; When the place code collection instruction is obtained, the place code of the location of the target intelligent mining lamp is collected.
7. The positioning method according to claim 6, characterized in that: When the positioning accuracy of the target positioning information is less than the preset accuracy threshold, detecting whether the place code collection instruction is obtained includes: When the positioning accuracy of the target positioning information is less than the preset accuracy threshold, outputting a place code collection prompt information, wherein the place code collection prompt information is used to prompt whether to collect the place code; Acquire instruction information input based on the venue code collection prompt information, and parse the instruction information to obtain a parsing result; In a case where the parsing result includes a collection instruction for instructing to collect the place code, it is determined that the place code collection instruction is acquired.
8. An intelligent mining lamp positioning device, characterized in that: include: An acquisition module, used to acquire target positioning information of a target intelligent mining lamp; A display module, used to display the target positioning information; A collection module, configured to collect the location code of the target intelligent mining lamp when a location code collection instruction is obtained based on the target positioning information; An updating module is used to determine the target location information corresponding to the place code and update the target positioning information based on the target location information.
9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the positioning method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the positioning method according to any one of claims 1 to 7 is implemented.
