CN109450966B - Equipment positioning method and device, computer equipment and storage medium - Google Patents

Equipment positioning method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN109450966B
CN109450966B CN201811082152.5A CN201811082152A CN109450966B CN 109450966 B CN109450966 B CN 109450966B CN 201811082152 A CN201811082152 A CN 201811082152A CN 109450966 B CN109450966 B CN 109450966B
Authority
CN
China
Prior art keywords
information
equipment
inspection
acquiring
identification information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811082152.5A
Other languages
Chinese (zh)
Other versions
CN109450966A (en
Inventor
黄远新
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Sheng Neng Electric Technology Co ltd
Original Assignee
Guangzhou Sheng Neng Electric Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Sheng Neng Electric Technology Co ltd filed Critical Guangzhou Sheng Neng Electric Technology Co ltd
Priority to CN201811082152.5A priority Critical patent/CN109450966B/en
Publication of CN109450966A publication Critical patent/CN109450966A/en
Application granted granted Critical
Publication of CN109450966B publication Critical patent/CN109450966B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention relates to a device positioning method, a device, computer equipment and a storage medium, and belongs to the technical field of positioning. The method comprises the following steps: acquiring a wireless network signal corresponding to a currently connected inspection area, and reading identification information of the wireless network signal; sending the identification information to a server; the identification information is used for indicating the server to feed back equipment information corresponding to the inspection area; the equipment information comprises equipment position information; acquiring and displaying the equipment position information; the device location information is used to locate the device. According to the embodiment of the application, the purpose of improving the positioning efficiency in the equipment positioning method is achieved.

Description

Equipment positioning method and device, computer equipment and storage medium
Technical Field
The invention relates to the technical field of positioning, in particular to a device positioning method, a device, computer equipment and a storage medium.
Background
With the rapid development of enterprise scale and the rapid increase of the number of devices, the device positioning technology gradually becomes an urgent problem to be solved.
The existing equipment positioning modes mainly comprise two modes, namely a traditional manual searching mode and a preset route positioning mode.
The traditional manual searching mode generally adopts manual field one-by-one searching, can save the technical cost for small-scale equipment with small quantity, but has the problems of time and labor consumption, missed searching and the like for large-scale equipment with large quantity.
The route positioning mode is preset, generally, preset fixed route positioning equipment is adopted, and the equipment cannot be repositioned under the condition of wrong route guidance, so that the equipment positioning efficiency is low.
Therefore, the prior art device positioning method has the problem of low positioning efficiency.
Disclosure of Invention
Therefore, it is necessary to provide a device positioning method, an apparatus, a computer device, and a storage medium capable of improving positioning efficiency, in order to solve the technical problem that the device positioning method has low positioning efficiency.
A device location method, comprising:
acquiring a wireless network signal corresponding to a currently connected inspection area, and reading identification information of the wireless network signal;
sending the identification information to a server; the identification information is used for indicating the server to feed back equipment information corresponding to the inspection area; the equipment information comprises equipment position information;
acquiring and displaying the equipment position information; the device location information is used to locate the device.
In one embodiment, the obtaining the device location information includes:
acquiring the equipment information; the equipment information also comprises an equipment list;
displaying the equipment list;
detecting a selected trigger operation of one device in the device list;
and acquiring the position information of the selected equipment as the equipment position information.
In one embodiment, the device information further includes polling record information, and after detecting a selected trigger operation of a device in the device list, the method further includes:
acquiring routing inspection record information of the selected equipment;
if the routing inspection record information of the selected equipment is first routing inspection record information, generating a finishing prompt; the inspection completion prompt is used for prompting that the selected equipment is inspected completely;
and if the routing inspection record information of the selected equipment is second routing inspection record information, acquiring the position information of the selected equipment.
In one embodiment, the device information further includes device feature information, and after the obtaining of the location information of the selected device, the method further includes:
acquiring equipment characteristic information of the selected equipment as first characteristic information;
identifying a two-dimensional code of the current equipment to obtain characteristic information of the current equipment as second characteristic information;
judging whether the second characteristic information is consistent with the first characteristic information;
if so, generating a positioning correct prompt; the correct location prompt is used for prompting that the current device is the selected device.
In one embodiment, the device information further includes patrol checking content information, and after the generating of the location-correct prompt, the method further includes:
acquiring the inspection content information of the selected equipment;
acquiring polling data of polling content information aiming at the selected equipment;
and sending the routing inspection data to a server.
In one embodiment, a device positioning method is provided, including:
receiving identification information sent by an inspection terminal; the identification information is the identification information of the wireless network signal corresponding to the inspection area currently connected with the inspection terminal;
acquiring equipment information corresponding to the inspection area according to the identification information;
sending the equipment information to the inspection terminal; the device information includes device location information; the equipment position information is used for indicating the inspection terminal to position the equipment.
In one embodiment, there is provided a device positioning apparatus including:
the signal acquisition module is used for acquiring a wireless network signal corresponding to a currently connected inspection area and reading identification information of the wireless network signal;
the identification information sending module is used for sending the identification information to a server; the identification information is used for indicating the server to feed back equipment information corresponding to the inspection area; the equipment information comprises equipment position information;
the equipment positioning module is used for acquiring and displaying the equipment position information; the device location information is used to locate the device.
In one embodiment, there is provided a device positioning apparatus including:
the information receiving module is used for receiving the identification information sent by the inspection terminal; the identification information is the identification information of the wireless network signal corresponding to the inspection area currently connected with the inspection terminal;
the information matching module is used for acquiring equipment information corresponding to the inspection area according to the identification information;
the equipment information sending module is used for sending the equipment information to the inspection terminal; the device information includes device location information; the equipment position information is used for indicating the inspection terminal to position the equipment.
In one embodiment, there is provided a computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
acquiring a wireless network signal corresponding to a currently connected inspection area, and reading identification information of the wireless network signal;
sending the identification information to a server; the identification information is used for indicating the server to feed back equipment information corresponding to the inspection area; the equipment information comprises equipment position information;
acquiring and displaying the equipment position information; the device location information is used to locate the device.
In one embodiment, a computer-readable storage medium is provided, having stored thereon a computer program which, when executed by a processor, performs the steps of:
acquiring a wireless network signal corresponding to a currently connected inspection area, and reading identification information of the wireless network signal;
sending the identification information to a server; the identification information is used for indicating the server to feed back equipment information corresponding to the inspection area; the equipment information comprises equipment position information;
acquiring and displaying the equipment position information; the device location information is used to locate the device.
According to the equipment positioning method, the equipment positioning device, the computer equipment and the storage medium, the wireless network signals are set in the routing inspection area where the equipment to be detected is located, the routing inspection terminal is used for connecting one of the wireless network signals, so that the equipment information corresponding to the currently connected wireless network signal is obtained, and the equipment to be detected is searched and positioned according to the equipment information. Because the equipment to be detected is placed in different inspection areas, the different inspection areas correspondingly have a unique wireless network signal, and the inspection terminal is connected with a certain wireless network signal, so that the equipment information of all the equipment in the inspection area corresponding to the wireless network signal can be obtained, the equipment position information of all the equipment is obtained, the equipment to be detected can be quickly positioned, and the positioning efficiency of the equipment to be detected is improved.
Drawings
FIG. 1 is a diagram of an application environment of a device inspection terminal in one embodiment;
FIG. 2 is a flow diagram that illustrates a method for locating a device, according to one embodiment;
FIG. 3 is a flow chart illustrating a method for locating a device in another embodiment;
FIG. 4 is a block diagram of an apparatus for locating a device in one embodiment;
FIG. 5 is a block diagram showing the structure of a device positioning apparatus according to another embodiment;
FIG. 6 is a diagram showing an internal structure of a computer device in one embodiment;
fig. 7 is an internal structural diagram of a computer device in another embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It should be noted that, in the embodiments of the present invention, the term "first \ second" merely distinguishes similar objects and does not represent a specific ordering of the objects, and it should be understood that "first \ second" may be interchanged with a specific order or sequence, where the case allows. It should be understood that "first \ second" distinct objects may be interchanged under appropriate circumstances such that embodiments of the invention described herein may be practiced in sequences other than those illustrated or described herein.
The device positioning method provided by the invention can be applied to the application environment shown in fig. 1. Wherein, the inspection terminal 102 communicates with the server 104 through the network. The inspection terminal 102 can be, but is not limited to, various notebook computers, smart phones, tablet computers and portable wearable devices, and the server 104 can be implemented by an independent server or a server cluster composed of a plurality of servers.
In an actual application scenario, the device positioning method provided by the invention can be applied to the field of device inspection, an inspector utilizes the inspection terminal 102 to inspect the devices, a fixed two-dimensional code is usually set on each device, and the inspection terminal 102 scans each two-dimensional code to read the device information of each device, wherein the device information comprises content information to be inspected. After the information is acquired, the inspection personnel can record and submit the content information to be inspected through the inspection terminal 102, so that the paperless equipment can be used for inspection and office work. However, when the method is used for large-scale equipment inspection, a large amount of manpower and material resources are consumed, and the problem of missed inspection of equipment to be inspected exists, so that the equipment positioning method in the prior art has the problem of low positioning efficiency.
In one embodiment, as shown in fig. 2, a device location method is provided, which is described by taking the polling terminal 102 in the application environment shown in fig. 1 as an example, and includes the following steps:
and S210, acquiring a wireless network signal corresponding to the currently connected inspection area, and reading identification information of the wireless network signal.
The inspection area and the corresponding wireless network signal have unicity, namely one inspection area is correspondingly provided with one wireless network signal.
The identification information refers to a unique physical address corresponding to a wireless network signal.
In one specific implementation, the inspection terminal 102 has an interactive interface, and the inspection personnel can interact with the inspection terminal 102 through the interactive interface. In the device positioning method according to this embodiment, the devices are respectively placed in different polling areas, and each polling area is correspondingly provided with one wireless network signal. When the inspection terminal 102 acquires the wireless network signals corresponding to the currently connected inspection area, the inspection terminal 102 can acquire a plurality of wireless network signals due to the fact that the wireless network signals have a radiation range, the wireless network signals are displayed on the interface of the inspection terminal 102 in a list form, and if an inspector selects one wireless network signal in the list to be connected, the inspector indicates that all equipment in the inspection area corresponding to the wireless network signal is to be inspected currently. When the inspection terminal 102 is connected with a wireless network signal corresponding to a certain inspection area, the identification information corresponding to the wireless network signal can be read.
For example, an inspector carries an inspection terminal to reach the vicinity of an inspection area, the inspection terminal can acquire a plurality of wireless network signals sent out from the inspection areas, and when the inspector selects one of the wireless network signals through an interface of the inspection terminal, the inspector can read the MAC address corresponding to the wireless network signal.
Step S220, sending the identification information to a server; the identification information is used for indicating the server to feed back equipment information corresponding to the inspection area; the device information includes device location information.
The device location information includes location information indicating a location of each device in the patrol area, for example, a southeast location in the area No. 1.
Wherein the device information includes other information than the device location information.
In a specific implementation, after acquiring the identification information of the currently connected wireless network signal, the inspection terminal 102 sends the identification information to the server 104, the server 104 feeds back the device information corresponding to the received identification information to the inspection terminal 102, and the device information received by the inspection terminal 102 includes device location information.
For example, the inspection terminal selects a certain wireless network signal to be connected, acquires the MAC address corresponding to the wireless network signal, and after the MAC address is sent to the server, receives the device information fed back from the server, where the device information includes device location information of all devices in the inspection area corresponding to the currently connected wireless network signal.
Step S230, acquiring and displaying the equipment position information; the device location information is used to locate the device.
In a specific implementation, after the inspection terminal 102 acquires the device information corresponding to the currently connected wireless network signal, if a certain device needs to be located, the device location information of the certain device in the device information needs to be searched. After the inspection terminal 102 first obtains the device information, the device information is firstly displayed on an interface of the inspection terminal, an inspection worker can perform subsequent selection operation according to the displayed device information to obtain the device position information of a certain device in the device information, the inspection terminal displays the device position information, and the device position information currently displayed on the interface of the inspection terminal 102 is used for providing the inspection worker for positioning the currently selected device.
For example, after the inspection terminal sends the MAC address of a certain connected wireless network signal to the server and receives the device information fed back by the server, the inspection staff may obtain the device location information of any device in the device information through the inspection terminal and locate the selected device according to the device location information displayed on the interface of the inspection terminal.
Before the device is positioned, firstly, area arrangement division needs to be performed on all devices, that is, all the devices to be detected are respectively arranged in each inspection area according to other characteristics such as the device model or the name, each inspection area has only one wireless network signal which is correspondingly arranged, and the unique identification information contained in the wireless network signal can be inquired and matched in the server and the corresponding device information can be obtained, namely, the mapping relation of the inspection area, the wireless network signal, the identification information and the device information is formed. Therefore, the inspection personnel can quickly locate all the devices in the inspection area corresponding to the currently connected wireless network signal only by using the inspection terminal 102 to connect the wireless network signal, establishing communication connection with the server 104 and performing information interaction.
According to the equipment positioning method, the inspection terminal firstly establishes communication connection with the server by acquiring the currently connected wireless network signal, firstly sends the identification information to the server after reading the identification information corresponding to the connected wireless network signal, then receives the equipment information fed back by the server, and finally acquires the equipment position information contained in the equipment information, so that an inspection worker can position the equipment in the inspection area corresponding to the currently connected wireless network signal according to the equipment position information. Therefore, the patrol terminal acquires the equipment position information by acquiring the wireless network signal, can quickly search and position the equipment to be detected, and achieves the purpose of improving the positioning efficiency.
In an embodiment, the step S230 specifically includes:
acquiring the equipment information; the equipment information also comprises an equipment list; displaying the equipment list; detecting a selected trigger operation of one device in the device list; and acquiring the position information of the selected equipment as the equipment position information.
The device list may include a list of a plurality of device names, a list of a plurality of device models, or a list of a plurality of device names, lists, or other device features, and may not only be limited to the list, but also be a page thumbnail list.
The selection triggering operation refers to a selection instruction operation submitted to the inspection terminal by an inspection worker.
The location information refers to position information based on the location of each device in the inspection area, for example, the southeast position in the area No. 1.
In one specific implementation, after the inspection terminal 102 acquires the device information fed back by the server 104, the inspection terminal 102 may acquire a device list included in the device information, and the device list may be displayed on an interface with the inspection terminal 102. It is understood that the equipment list can be displayed in a list form or a page thumbnail form on the interface of the inspection terminal 102. After the interface of the inspection terminal 102 displays the equipment list, the inspection terminal 102 waits for receiving a selected trigger operation triggered by an inspection person on the interface. After detecting and receiving a selected trigger operation of the inspection personnel for the equipment list, the inspection terminal 102 acquires the position information of the equipment corresponding to the selected trigger operation as the equipment position information.
For example, after the inspection terminal acquires the device information of the inspection area corresponding to the currently connected wireless network signal, the device list in the device information is extracted and displayed, and after the inspection personnel completes one device selection triggering operation for the device list displayed on the interface, the inspection terminal acquires that the position information of the selected device is 'southwest direction in the No. 1 area'.
In one embodiment, the device information further includes routing inspection record information, and after detecting a selected trigger operation of one device in the device list, the method further includes:
acquiring routing inspection record information of the selected equipment; if the routing inspection record information of the selected equipment is first routing inspection record information, generating a finishing prompt; the inspection completion prompt is used for prompting that the selected equipment is inspected completely; and if the routing inspection record information of the selected equipment is second routing inspection record information, acquiring the position information of the selected equipment.
Wherein the patrol record information includes a record tag of the patrol status, for example, a checked tag or an unchecked tag.
Wherein the first routing inspection record information comprises an inspected label.
Wherein the second routing inspection record information comprises an undetected label.
In specific implementation, after the inspection terminal 102 detects a selection trigger operation completed by an inspector, the inspection record information of the selected device is extracted, and whether the inspected tag or the undetected tag is included in the inspection record information of the selected device is analyzed. If the routing inspection record information of the selected equipment is the first routing inspection record information, the routing inspection record information of the selected equipment is indicated to contain a checked label, at the moment, the routing inspection terminal 102 generates a check completion prompt, and the check completion prompt is displayed on an interface to prompt a routing inspection worker that the routing inspection of the selected equipment is completed; if the routing inspection record information of the selected equipment is the second routing inspection record information, the routing inspection record information of the selected equipment contains an undetected label, and at this moment, the routing inspection terminal 102 further obtains the position information of the selected equipment as the equipment position information.
For example, the inspection terminal acquires a device selection triggering operation triggered by an inspector, extracts that the inspection record information of the selected device contains an undetected label, and further acquires that the position information of the selected device is the northeast direction in the No. 3 area.
In one embodiment, the device information further includes device feature information, and after the obtaining of the location information of the selected device, the method further includes:
acquiring equipment characteristic information of the selected equipment as first characteristic information; identifying a two-dimensional code of the current equipment to obtain characteristic information of the current equipment as second characteristic information; judging whether the second characteristic information is consistent with the first characteristic information; if so, generating a positioning correct prompt; the correct location prompt is used for prompting that the current device is the selected device.
The device feature information may refer to a model of the device, a name of the device, or other feature information except for the model and the name.
As will be understood by those skilled in the art, the specific content of the device feature information is not limited in the device positioning method described in the present application, and in order to clearly express the role of the device feature information in the present embodiment, the present embodiment uses the model of the device as the device feature information to describe the specific embodiment.
In a specific implementation, after the inspection terminal 102 acquires the location information of the selected device, the inspection terminal further acquires the device feature information of the selected device as the first feature information. At that time, the inspection personnel can locate the selected equipment in the current inspection area according to the equipment position information displayed by the inspection terminal 102. When the patrol personnel finds the equipment according to the equipment position information, the patrol terminal 102 is utilized to identify the two-dimensional code of the current equipment, and the content of the two-dimensional code is read to obtain the characteristic information which is used as the second characteristic information. At this time, the inspection terminal 102 compares the currently acquired second feature information with the first feature information, and determines whether the second feature information is consistent with the first feature information, that is, whether the model of the current device is consistent with the model of the selected device. When the judgment result of the inspection terminal 102 is that the second characteristic information is consistent with the first characteristic information, a positioning correct prompt is generated, and the interface displays the prompt so as to prompt the inspection personnel that the equipment is positioned correctly.
Of course, the feature information of the current device can be obtained by a person skilled in the art in various ways, for example, the feature information of the current device can be obtained by an NFC (near field communication) tag.
For example, after acquiring that the position information of the selected device is "northeast direction in the area No. 3", the inspection terminal 102 extracts that the device characteristic information of the selected device is "model a". After the patrol personnel find the equipment placed in the northeast position in the No. 3 area according to the position information, the two-dimensional code of the current equipment is identified by using the patrol terminal, and the characteristic information of the current equipment is obtained to be the model A. According to judgment, the characteristic information of the current equipment is consistent with the characteristic information of the selected equipment, the inspection terminal immediately generates a correct positioning prompt and displays the prompt on an interface so as to prompt inspection personnel to correctly position the equipment.
In one embodiment, the device information further includes patrol checking content information, and after the generating of the location-correct prompt, the method further includes:
acquiring the inspection content information of the selected equipment; acquiring polling data of polling content information aiming at the selected equipment; and sending the routing inspection data to a server.
The inspection content information refers to the content of an item to be inspected of the equipment to be inspected.
The polling data is data completed aiming at polling content information.
In the specific implementation, after the patrol inspection terminal 102 generates the prompt of correct positioning, firstly, the patrol inspection content information of the selected equipment is obtained and displayed on the interface of the patrol inspection terminal 102, so that patrol inspection personnel can provide patrol inspection data after patrol inspection according to the patrol inspection content information displayed on the interface. For example, after the interface of the inspection terminal 102 displays "correct positioning", the interface displays a plurality of items of inspection content information, and after the inspection personnel submits corresponding inspection data according to the inspection content information, the inspection terminal 102 sends the acquired inspection data to the server 104.
For example, after the inspection terminal interface displays that the inspection content information of the currently selected device has a "whether a valve switch is abnormal", and the inspection personnel submits the inspection data of "no", the inspection terminal 102 immediately sends the received inspection data of "no" to the server 104 through the wireless network signal, and the server 104 performs subsequent data processing.
According to the embodiment of the invention, the inspection terminal establishes communication connection with the server through a wireless network signal, further acquires the equipment information fed back by the server, and after the inspection record information of the selected equipment in the equipment information is obtained as the second inspection record information, further acquires the equipment position information, and enters the equipment searching stage. And after the equipment is found, judging whether the equipment is positioned correctly by using an equipment two-dimensional code identification mode. And acquiring polling content information after the obtained judgment result is that the positioning is correct, and transmitting the acquired polling data to the server, so that the equipment is quickly positioned, and the equipment positioning efficiency is improved.
In one embodiment, as shown in fig. 3, a device location method is provided, which is described by taking the method as an example for being applied to the server 104 in the application environment shown in fig. 1, and includes the following steps:
step S310, receiving identification information sent by the inspection terminal; the identification information is the identification information of the wireless network signal corresponding to the inspection area to which the inspection terminal is currently connected.
In one embodiment, after the server 104 establishes a communication connection with the inspection terminal 102 through the wireless network signal, the server first receives the identification information transmitted by the inspection terminal 102, the identification information being derived from the wireless network signal connected to the inspection terminal 102, the wireless network signal existing in a corresponding inspection area.
For example, the server receives a MAC address sent by the patrol terminal, the MAC address being derived from a wireless network signal to which the patrol terminal is connected.
And S320, acquiring equipment information corresponding to the inspection area according to the identification information.
In a specific implementation, after receiving the identification information sent by the inspection terminal 102, the server 104 matches the corresponding existing identification information according to the received identification information, and obtains the device information corresponding to the identification information.
For example, after receiving the MAC address sent by the inspection terminal, the server first searches for address information matching the MAC address, and then obtains device information corresponding to the address information.
Step S330, sending the equipment information to the inspection terminal; the device information includes device location information; the equipment position information is used for indicating the inspection terminal to position the equipment.
In a specific implementation, after acquiring the device information corresponding to the identification information, the server 104 sends the device information to the inspection terminal 102, where the device information includes device location information, and the device location information is used to provide the device to be positioned and detected by the inspection terminal 102.
For example, after the server acquires the device information corresponding to the MAC address, the server sends the acquired device information to the inspection terminal, so that the inspection terminal completes device positioning according to the device position information in the device information.
According to the equipment positioning method, the server is in communication connection with the inspection terminal through the wireless network signal, so that the identification information sent by the inspection terminal is received, the matched equipment information is sent to the inspection terminal after the information is matched, the inspection terminal obtains the equipment position information according to the received equipment information, and then the equipment is positioned, and therefore the purpose of improving the equipment positioning efficiency is achieved.
It should be understood that although the steps in the flowcharts of fig. 2 and 3 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2 and 3 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 4, there is provided a device positioning apparatus including: a signal acquisition module 410, an identification information sending module 420, and a device location module 430, wherein:
the signal acquisition module 410 is configured to acquire a wireless network signal corresponding to a currently connected inspection area, and read identification information of the wireless network signal;
an identification information sending module 420, configured to send the identification information to a server; the identification information is used for indicating the server to feed back equipment information corresponding to the inspection area; the equipment information comprises equipment position information;
the device positioning module 430 is configured to obtain and display the device position information; the device location information is used to locate the device.
According to the equipment positioning method, the inspection terminal firstly establishes communication connection with the server by acquiring the currently connected wireless network signal, firstly sends the identification information to the server after reading the identification information corresponding to the connected wireless network signal, then receives the equipment information fed back by the server, and finally acquires the equipment position information contained in the equipment information, so that an inspection worker can position the equipment in the inspection area corresponding to the currently connected wireless network signal according to the equipment position information. Therefore, the patrol terminal acquires the equipment position information by acquiring the wireless network signal, can quickly search and position the equipment to be detected, and achieves the purpose of improving the positioning efficiency.
In one embodiment, the device location module 430 includes:
the equipment information acquisition submodule is used for acquiring the equipment information; the equipment information also comprises an equipment list; the list display submodule is used for displaying the equipment list; the operation detection submodule is used for detecting the selected trigger operation of one device in the device list; and the equipment position obtaining submodule is used for obtaining the position information of the selected equipment as the equipment position information.
In one embodiment, the device information further includes polling record information, and the apparatus further includes:
the inspection record acquisition module is used for acquiring the inspection record information of the selected equipment; the inspection completion prompting module is used for generating an inspection completion prompt if the inspection record information of the selected equipment is the first inspection record information; the inspection completion prompt is used for prompting that the selected equipment is inspected completely; and the position information acquisition module is used for acquiring the position information of the selected equipment when the routing inspection record information of the selected equipment is the second routing inspection record information.
In one embodiment, the device information further includes device feature information, and the apparatus further includes:
the equipment characteristic information acquisition module is used for acquiring the equipment characteristic information of the selected equipment as first characteristic information; the characteristic information acquisition module is used for identifying the two-dimensional code of the current equipment to obtain the characteristic information of the current equipment as second characteristic information; the characteristic information judging module is used for judging whether the second characteristic information is consistent with the first characteristic information; the positioning correct prompt module is used for generating a positioning correct prompt when the second characteristic information is consistent with the first characteristic information; the correct location prompt is used for prompting that the current device is the selected device.
In one embodiment, the device information further includes patrol content information, and the apparatus further includes:
the inspection content acquisition module is used for acquiring inspection content information of the selected equipment; the inspection data acquisition module is used for acquiring inspection data of inspection content information of the selected equipment; and the routing inspection data sending module is used for sending the routing inspection data to the server.
According to the embodiment of the invention, the inspection terminal establishes communication connection with the server through a wireless network signal, further acquires the equipment information fed back by the server, and after the inspection record information of the selected equipment in the equipment information is obtained as the second inspection record information, further acquires the equipment position information, and enters the equipment searching stage. And after the equipment is found, judging whether the equipment is positioned correctly by using an equipment two-dimensional code identification mode. And acquiring polling content information after the obtained judgment result is that the positioning is correct, and transmitting the acquired polling data to the server, so that the equipment is quickly positioned, and the equipment positioning efficiency is improved.
In one embodiment, as shown in fig. 5, there is provided another apparatus comprising: an information receiving module 510, an information matching module 520, and an equipment information sending module 530, wherein:
an information receiving module 510, configured to receive identification information sent by the inspection terminal; the identification information is the identification information of the wireless network signal corresponding to the inspection area currently connected with the inspection terminal;
the information matching module 520 is used for acquiring equipment information corresponding to the inspection area according to the identification information;
an equipment information sending module 530, configured to send the equipment information to the inspection terminal; the device information includes device location information; the equipment position information is used for indicating the inspection terminal to position the equipment.
According to the equipment positioning method, the server is in communication connection with the inspection terminal through the wireless network signal, so that the identification information sent by the inspection terminal is received, the matched equipment information is sent to the inspection terminal after the information is matched, the inspection terminal obtains the equipment position information according to the received equipment information, and then the equipment is positioned, and therefore the purpose of improving the equipment positioning efficiency is achieved.
For the specific definition of the device positioning apparatus, reference may be made to the above definition of the device positioning method, which is not described herein again. The various modules in the device location apparatus described above may be implemented in whole or in part by software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 6. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a device localization method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
In one embodiment, a computer device is provided, which may be a server, the internal structure of which may be as shown in fig. 7. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used for storing identification information and device information. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a device localization method.
Those skilled in the art will appreciate that the configurations shown in fig. 6 and 7 are merely block diagrams of portions of configurations related to aspects of the present application, and do not constitute limitations on the computing devices to which aspects of the present application may be applied, as particular computing devices may include more or less components than shown, or combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
acquiring a wireless network signal corresponding to a currently connected inspection area, and reading identification information of the wireless network signal;
sending the identification information to a server; the identification information is used for indicating the server to feed back equipment information corresponding to the inspection area; the equipment information comprises equipment position information;
acquiring and displaying the equipment position information; the device location information is used to locate the device.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring the equipment information; the equipment information also comprises an equipment list; displaying the equipment list; detecting a selected trigger operation of one device in the device list; and acquiring the position information of the selected equipment as the equipment position information.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring routing inspection record information of the selected equipment; if the routing inspection record information of the selected equipment is first routing inspection record information, generating a finishing prompt; the inspection completion prompt is used for prompting that the selected equipment is inspected completely; and if the routing inspection record information of the selected equipment is second routing inspection record information, acquiring the position information of the selected equipment.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring equipment characteristic information of the selected equipment as first characteristic information; identifying a two-dimensional code of the current equipment to obtain characteristic information of the current equipment as second characteristic information; judging whether the second characteristic information is consistent with the first characteristic information; if so, generating a positioning correct prompt; the correct location prompt is used for prompting that the current device is the selected device.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring the inspection content information of the selected equipment; acquiring polling data of polling content information aiming at the selected equipment; and sending the routing inspection data to a server.
In another embodiment, the processor, when executing the computer program, further performs the steps of:
receiving identification information sent by an inspection terminal; the identification information is the identification information of the wireless network signal corresponding to the inspection area currently connected with the inspection terminal; acquiring equipment information corresponding to the inspection area according to the identification information; sending the equipment information to the inspection terminal; the device information includes device location information; the equipment position information is used for indicating the inspection terminal to position the equipment.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring a wireless network signal corresponding to a currently connected inspection area, and reading identification information of the wireless network signal; sending the identification information to a server; the identification information is used for indicating the server to feed back equipment information corresponding to the inspection area; the equipment information comprises equipment position information; acquiring and displaying the equipment position information; the device location information is used to locate the device.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring the equipment information; the equipment information also comprises an equipment list; displaying the equipment list; detecting a selected trigger operation of one device in the device list; and acquiring the position information of the selected equipment as the equipment position information.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring routing inspection record information of the selected equipment; if the routing inspection record information of the selected equipment is first routing inspection record information, generating a finishing prompt; the inspection completion prompt is used for prompting that the selected equipment is inspected completely; and if the routing inspection record information of the selected equipment is second routing inspection record information, acquiring the position information of the selected equipment.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring equipment characteristic information of the selected equipment as first characteristic information; identifying a two-dimensional code of the current equipment to obtain characteristic information of the current equipment as second characteristic information; judging whether the second characteristic information is consistent with the first characteristic information; if so, generating a positioning correct prompt; the correct location prompt is used for prompting that the current device is the selected device.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring the inspection content information of the selected equipment; acquiring polling data of polling content information aiming at the selected equipment; and sending the routing inspection data to a server.
In another embodiment, the computer program when executed by the processor further performs the steps of:
receiving identification information sent by an inspection terminal; the identification information is the identification information of the wireless network signal corresponding to the inspection area currently connected with the inspection terminal; acquiring equipment information corresponding to the inspection area according to the identification information; sending the equipment information to the inspection terminal; the device information includes device location information; the equipment position information is used for indicating the inspection terminal to position the equipment.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for locating a device, comprising the steps of:
acquiring a wireless network signal corresponding to a currently connected inspection area, and reading identification information of the wireless network signal;
sending the identification information to a server; the identification information is used for indicating the server to feed back equipment information corresponding to the inspection area; the equipment information comprises equipment position information;
acquiring the equipment information; the equipment information also comprises an equipment list and routing inspection record information;
displaying the equipment list;
when detecting the selection trigger operation of one device in the device list, acquiring the routing inspection record information of the selected device;
if the routing inspection record information of the selected equipment is first routing inspection record information, generating a finishing prompt; the inspection completion prompt is used for prompting that the selected equipment is inspected completely;
if the routing inspection record information of the selected equipment is second routing inspection record information, acquiring the position information of the selected equipment as equipment position information; the device location information is used to locate the device.
2. The method according to claim 1, wherein the device information further includes device feature information, and after obtaining the location information of the selected device, the method further includes:
acquiring equipment characteristic information of the selected equipment as first characteristic information;
identifying a two-dimensional code of the current equipment to obtain characteristic information of the current equipment as second characteristic information;
judging whether the second characteristic information is consistent with the first characteristic information;
if so, generating a positioning correct prompt; the correct location prompt is used for prompting that the current device is the selected device.
3. The method according to claim 2, wherein the device information further includes patrol inspection content information, and after the generating of the location-correct prompt, the method further includes:
acquiring the inspection content information of the selected equipment;
acquiring polling data of polling content information aiming at the selected equipment;
and sending the routing inspection data to a server.
4. A method for locating a device, comprising the steps of:
receiving identification information sent by an inspection terminal; the identification information is the identification information of the wireless network signal corresponding to the inspection area currently connected with the inspection terminal;
acquiring equipment information corresponding to the inspection area according to the identification information;
sending the equipment information to the inspection terminal; the equipment information comprises equipment position information, an equipment list and inspection record information; the inspection terminal displays the equipment list, acquires inspection record information of the selected equipment when detecting that one equipment in the equipment list is selected to trigger operation, and generates an inspection finishing prompt if the inspection record information of the selected equipment is first inspection record information; the inspection completion prompt is used for prompting that the selected equipment is inspected completely; if the routing inspection record information of the selected equipment is second routing inspection record information, acquiring the position information of the selected equipment as equipment position information; the device location information is used to locate the device.
5. An apparatus positioning device, comprising:
the signal acquisition module is used for acquiring a wireless network signal corresponding to a currently connected inspection area and reading identification information of the wireless network signal;
the identification information sending module is used for sending the identification information to a server; the identification information is used for indicating the server to feed back equipment information corresponding to the inspection area; the equipment information comprises equipment position information;
the equipment information acquisition submodule is used for acquiring the equipment information; the equipment information also comprises an equipment list and routing inspection record information;
the list display submodule is used for displaying the equipment list;
the operation detection submodule is used for detecting the selected trigger operation of one device in the device list;
the inspection record acquisition module is used for acquiring the inspection record information of the selected equipment;
the inspection completion prompting module is used for generating an inspection completion prompt if the inspection record information of the selected equipment is the first inspection record information; the inspection completion prompt is used for prompting that the selected equipment is inspected completely;
the position information acquisition module is used for acquiring the position information of the selected equipment as equipment position information if the routing inspection record information of the selected equipment is second routing inspection record information; the device location information is used to locate the device.
6. The apparatus of claim 5, wherein the device information further includes device feature information, and the apparatus further comprises:
the equipment characteristic information acquisition module is used for acquiring the equipment characteristic information of the selected equipment as first characteristic information;
the characteristic information acquisition module is used for identifying the two-dimensional code of the current equipment to obtain the characteristic information of the current equipment as second characteristic information;
the characteristic information judging module is used for judging whether the second characteristic information is consistent with the first characteristic information;
the positioning correct prompt module is used for generating a positioning correct prompt if the second characteristic information is consistent with the first characteristic information; the correct location prompt is used for prompting that the current device is the selected device.
7. The apparatus according to claim 5, wherein the device information further includes patrol content information, and the apparatus further includes:
the inspection content acquisition module is used for acquiring inspection content information of the selected equipment;
the inspection data acquisition module is used for acquiring inspection data of inspection content information of the selected equipment;
and the routing inspection data sending module is used for sending the routing inspection data to the server.
8. An apparatus positioning device, comprising:
the information receiving module is used for receiving the identification information sent by the inspection terminal; the identification information is the identification information of the wireless network signal corresponding to the inspection area currently connected with the inspection terminal;
the information matching module is used for acquiring equipment information corresponding to the inspection area according to the identification information;
the equipment information sending module is used for sending the equipment information to the inspection terminal; the equipment information comprises equipment position information, an equipment list and inspection record information;
the inspection terminal displays the equipment list, acquires inspection record information of the selected equipment when detecting that one equipment in the equipment list is selected to trigger operation, and generates an inspection finishing prompt if the inspection record information of the selected equipment is first inspection record information; the inspection completion prompt is used for prompting that the selected equipment is inspected completely; if the routing inspection record information of the selected equipment is second routing inspection record information, acquiring the position information of the selected equipment as equipment position information; the device location information is used to locate the device.
9. A computer device comprising a memory and a processor, the memory storing a computer program, wherein the processor when executing the computer program performs the steps of the device localization method according to any one of claims 1 to 4.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the device localization method according to any one of claims 1 to 4.
CN201811082152.5A 2018-09-17 2018-09-17 Equipment positioning method and device, computer equipment and storage medium Active CN109450966B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811082152.5A CN109450966B (en) 2018-09-17 2018-09-17 Equipment positioning method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811082152.5A CN109450966B (en) 2018-09-17 2018-09-17 Equipment positioning method and device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109450966A CN109450966A (en) 2019-03-08
CN109450966B true CN109450966B (en) 2021-08-17

Family

ID=65530598

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811082152.5A Active CN109450966B (en) 2018-09-17 2018-09-17 Equipment positioning method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109450966B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112530045A (en) * 2020-11-26 2021-03-19 重庆电子工程职业学院 Intelligent inspection system of factory

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104080038A (en) * 2013-03-26 2014-10-01 百度在线网络技术(北京)有限公司 Positioning method and positioning equipment
CN105100225A (en) * 2015-07-03 2015-11-25 常熟理工学院 Indoor equipment location management method based on mobile terminal and WI-FI (Wireless Fidelity)
CN105376705A (en) * 2014-08-22 2016-03-02 中兴通讯股份有限公司 WiFi signal-based positioning method, device and system
CN108182738A (en) * 2018-01-30 2018-06-19 广州晟能电子科技有限公司 A kind of Urban Underground pipe gallery method for inspecting based on WI-FI positioning

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10285059B2 (en) * 2017-02-14 2019-05-07 Arris Enterprises Llc MAC address determination using a personal WLAN

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104080038A (en) * 2013-03-26 2014-10-01 百度在线网络技术(北京)有限公司 Positioning method and positioning equipment
CN105376705A (en) * 2014-08-22 2016-03-02 中兴通讯股份有限公司 WiFi signal-based positioning method, device and system
CN105100225A (en) * 2015-07-03 2015-11-25 常熟理工学院 Indoor equipment location management method based on mobile terminal and WI-FI (Wireless Fidelity)
CN108182738A (en) * 2018-01-30 2018-06-19 广州晟能电子科技有限公司 A kind of Urban Underground pipe gallery method for inspecting based on WI-FI positioning

Also Published As

Publication number Publication date
CN109450966A (en) 2019-03-08

Similar Documents

Publication Publication Date Title
CN109766534B (en) Report generation method and device, computer equipment and readable storage medium
CN110765001B (en) Modularized automatic test method and device for application system
CN109285105A (en) Method of detecting watermarks, device, computer equipment and storage medium
CN110362479B (en) System upgrade test method and system
CN106294134A (en) The collapse localization method of code and device
CN110069413B (en) Test data communication, test method, device, equipment and storage medium
CN110321284B (en) Test data entry method, device, computer equipment and storage medium
CN113593071A (en) Inspection method, inspection device, inspection system, computer equipment and storage medium
CN110162453B (en) Test method, test device, computer readable storage medium and computer equipment
CN110620988B (en) Information reporting method, device and equipment
CN108566301B (en) Switch offline configuration method, device, system and computer equipment
CN114356631A (en) Fault positioning method and device, computer equipment and storage medium
CN109450966B (en) Equipment positioning method and device, computer equipment and storage medium
CN110267215B (en) Data detection method, equipment and storage medium
JP6249579B1 (en) Warehouse management method and warehouse management system
CN110955758A (en) Code detection method, code detection server and index server
CN113221593A (en) Two-dimensional code information acquisition method, electronic device and storage medium
CN113052457A (en) Manufacturing management method and system of intelligent product and readable storage medium
CN108763053B (en) Method for generating buried point name and terminal equipment
CN110083540B (en) Interface testing method and device
CN111738659A (en) Express bill signing method and device, computer equipment and storage medium
CN113572900A (en) Outbound test method, device, computer equipment and computer readable storage medium
CN112463791A (en) Nuclear power station document data acquisition method and device, computer equipment and storage medium
CN113032594B (en) Label image storage method, apparatus, computer device and storage medium
CN112416785A (en) Word cutting tool version difference testing method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant