CN112738145B - Equipment positioning method and equipment - Google Patents

Equipment positioning method and equipment Download PDF

Info

Publication number
CN112738145B
CN112738145B CN201911029172.0A CN201911029172A CN112738145B CN 112738145 B CN112738145 B CN 112738145B CN 201911029172 A CN201911029172 A CN 201911029172A CN 112738145 B CN112738145 B CN 112738145B
Authority
CN
China
Prior art keywords
positioning
equipment
information
target
current
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
CN201911029172.0A
Other languages
Chinese (zh)
Other versions
CN112738145A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201911029172.0A priority Critical patent/CN112738145B/en
Publication of CN112738145A publication Critical patent/CN112738145A/en
Application granted granted Critical
Publication of CN112738145B publication Critical patent/CN112738145B/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)
  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

The embodiment of the invention provides a device positioning method and device; the method comprises the following steps: when receiving a device positioning instruction for a target device to be positioned, generating a device positioning request according to the device positioning instruction; the equipment positioning request is used for determining the current positioning information of the target equipment to be positioned; sending the equipment positioning request to positioning equipment so that the positioning equipment can acquire the current positioning information of the target equipment to be positioned according to the equipment positioning request; receiving target current positioning information returned aiming at the equipment positioning request; and displaying the current positioning information of the target to complete the positioning of the equipment to be positioned of the target. By the embodiment of the invention, the intelligence and the accuracy of equipment positioning can be improved.

Description

Equipment positioning method and equipment
Technical Field
The present invention relates to information processing technologies in the field of internet, and in particular, to a device positioning method and device.
Background
In the internet era, electronic devices are necessary tools for project development, for example, a company usually needs to use various devices to implement when experiencing functional applications or conducting competitive product research; in addition, since these devices can also be applied to different functional application experiences or different contest surveys, the circulation of the devices among different people occurs. When a functional application experience task or a competitive research task needs to use a target device, current positioning information of the target device, such as a current use object of the target device, needs to be determined, so that the target device can be obtained from the current use object by contacting the current use object to complete the task.
Generally, the positioning information of various devices is recorded manually, so that when the current positioning information of the target device needs to be determined, the current positioning information of the target device is determined through a manually recorded document. However, in the above process of determining the current positioning information of the target object, a manual method is adopted, and the intelligence and accuracy of the device positioning are poor.
Disclosure of Invention
The embodiment of the invention provides a device positioning method and device, which can improve the intelligence and accuracy of device positioning.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides a device positioning method, which is applied to query devices, wherein the query devices, the positioning devices and target devices to be positioned are devices in a local area network, and the method comprises the following steps:
when receiving a device positioning instruction for the target device to be positioned, generating a device positioning request according to the device positioning instruction; the equipment positioning request is used for determining the current positioning information of the target equipment to be positioned;
sending the equipment positioning request to the positioning equipment so that the positioning equipment acquires the current positioning information of the target equipment to be positioned according to the equipment positioning request;
receiving target current positioning information returned by aiming at the equipment positioning request;
and displaying the current positioning information of the target to complete the positioning of the equipment to be positioned of the target.
In the above solution, the current target location information includes: target circulation object information and/or target current position information; the target object information is information of an object currently circulated by the target equipment to be positioned, and the target current position information is position information of the target equipment to be positioned;
the target circulation object information includes: the target circulation object and/or the target circulation object contact way.
The embodiment of the invention provides a device positioning method, which is applied to positioning devices, wherein the positioning devices, query devices and devices to be positioned are integrated into a local area network, and the method comprises the following steps:
receiving a device positioning request sent by the query device, wherein the device positioning request is used for determining the current positioning information of a target device to be positioned;
responding to the equipment positioning request, generating a positioning broadcast request, and broadcasting the positioning broadcast request to the equipment to be positioned in the equipment set to be positioned; the positioning broadcast request is used for acquiring the current positioning information of the equipment to be positioned in the equipment set to be positioned;
receiving a current positioning information set returned aiming at the positioning broadcast request; the current positioning information set is a set formed by current positioning information respectively corresponding to the equipment to be positioned in the equipment to be positioned set;
and determining target current positioning information corresponding to the target equipment to be positioned from the current positioning information set, and sending the target current positioning information to the query equipment for displaying through the query equipment.
In the foregoing solution, when the target current positioning information includes the target current location information, the determining, from the current positioning information set, the target current positioning information corresponding to the device to be positioned by the target includes:
determining current positioning information corresponding to the target equipment to be positioned from the current positioning information set to obtain initial current positioning information;
acquiring the position information of a signal transmitting point and the current signal strength from the initial current positioning information; the signal transmitting point position is position information of a transmitting point of a signal currently received by the target equipment to be positioned, and the current signal strength is strength information of the signal currently received by the target equipment to be positioned;
and determining the current position information of the target according to the current signal strength by taking the position information of the signal transmitting point as a reference so as to obtain the current target positioning information of the equipment to be positioned of the target.
The embodiment of the invention provides a device positioning method, which is applied to a device to be positioned, wherein the device to be positioned, a positioning device and a query device are devices in a local area network, and the method comprises the following steps:
receiving a positioning broadcast request broadcasted by the positioning equipment, wherein the positioning broadcast request is used for acquiring the current positioning information of the equipment to be positioned in the equipment set to be positioned;
responding to the positioning broadcast request, and acquiring current positioning information;
and sending the current positioning information to the positioning equipment, so that the positioning equipment determines target current positioning information corresponding to the target equipment to be positioned according to the current positioning information, and the positioning equipment displays the target current positioning information through the query equipment.
The embodiment of the invention provides a query device, wherein the query device, a positioning device and a target to-be-positioned device are devices in a local area network, and the query device, the positioning device and the target to-be-positioned device comprise:
the request generating module is used for generating a device positioning request according to the device positioning instruction when receiving the device positioning instruction aiming at the target device to be positioned; the device positioning request is used for determining the current positioning information of the target device to be positioned;
a first sending module, configured to send the device positioning request to the positioning device, so that the positioning device obtains current positioning information of the device to be positioned according to the device positioning request;
a first receiving module, configured to receive target current positioning information returned in response to the device positioning request;
and the information display module is used for displaying the current positioning information of the target and completing the positioning of the device to be positioned of the target.
The embodiment of the invention provides a positioning device, wherein the positioning device, a query device and a device to be positioned are integrated into a local area network, and the positioning device comprises:
a second receiving module, configured to receive a device location request sent by the querying device, where the device location request is used to determine current location information of a target device to be located;
a second sending module, configured to generate a positioning broadcast request in response to the device positioning request, and broadcast the positioning broadcast request to devices to be positioned in the set of devices to be positioned; the positioning broadcast request is used for acquiring the current positioning information of the device to be positioned in the device set to be positioned;
the second receiving module is further configured to receive a current positioning information set returned for the positioning broadcast request; the current positioning information set is a set formed by current positioning information respectively corresponding to the devices to be positioned in the device set to be positioned;
the second sending module is further configured to determine, from the current positioning information set, target current positioning information corresponding to the target device to be positioned, and send the target current positioning information to the query device for display by the query device.
The embodiment of the invention provides a device to be positioned, wherein the device to be positioned, a positioning device and a query device are devices in a local area network, and the device to be positioned, the positioning device and the query device comprise:
a third receiving module, configured to receive a positioning broadcast request broadcasted by the positioning apparatus, where the positioning broadcast request is used to acquire current positioning information of the apparatus to be positioned in the set of apparatuses to be positioned;
the information acquisition module is used for responding to the positioning broadcast request and acquiring the current positioning information;
and the third sending module is used for sending the current positioning information to the positioning device so that the positioning device determines the target current positioning information corresponding to the target device to be positioned according to the current positioning information and displays the target current positioning information through the query device.
An inquiry apparatus according to an embodiment of the present invention includes:
a first memory for storing executable instructions;
the first processor is configured to implement the device location method applied to the query device according to the embodiment of the present invention when executing the executable instructions stored in the first memory.
An embodiment of the present invention provides a positioning apparatus, including:
a second memory for storing executable instructions;
and the second processor is configured to implement the device location method applied to the location device according to the embodiment of the present invention when executing the executable instructions stored in the second memory.
An apparatus to be positioned according to an embodiment of the present invention includes:
a third memory for storing executable instructions;
and the third processor is configured to implement the device positioning method applied to the device to be positioned provided by the embodiment of the present invention when executing the executable instruction stored in the third memory.
The embodiment of the invention provides a storage medium, which stores executable instructions and is used for causing a first processor to execute, so that the device positioning method applied to query equipment provided by the embodiment of the invention is realized.
The embodiment of the invention also provides a storage medium, which stores executable instructions and is used for causing the second processor to execute the method for positioning the equipment applied to the positioning equipment provided by the embodiment of the invention.
The embodiment of the invention also provides a storage medium, which stores executable instructions and is used for causing a third processor to execute the method for positioning the equipment applied to the equipment to be positioned provided by the embodiment of the invention.
The embodiment of the invention has the following beneficial effects: the query equipment can trigger the positioning equipment to interact with the equipment set to be positioned so as to acquire the current positioning information corresponding to the equipment to be positioned in the equipment set to be positioned respectively, and then the current positioning information of the target equipment to be positioned is determined from the set formed by the current positioning information corresponding to the equipment to be positioned in the equipment set to be positioned respectively, so that the scheme of automatic real-time positioning equipment is realized, and therefore, the intelligence and the accuracy of equipment positioning are improved.
Drawings
Fig. 1 is an alternative architecture diagram of a device location system 100 according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a first terminal 400 according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a server 200 according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a second terminal 500 according to an embodiment of the present invention;
fig. 5 is a schematic diagram illustrating an alternative interaction flow of a device location method according to an embodiment of the present invention;
FIG. 6 is an exemplary diagram of a query interface provided by embodiments of the invention;
FIG. 7 is another exemplary diagram of a query interface provided by embodiments of the invention;
fig. 8 is an exemplary diagram for acquiring information of a stream object according to an embodiment of the present invention;
FIG. 9 is a schematic diagram illustrating a further alternative interaction flow of a device location method according to an embodiment of the present invention;
fig. 10 is a schematic diagram of another exemplary query interface provided by an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail with reference to the accompanying drawings, the described embodiments should not be construed as limiting the present invention, and all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the embodiments of the present invention is for the purpose of describing the embodiments of the present invention only and is not intended to be limiting of the present invention.
Before further detailed description of the embodiments of the present invention, terms and expressions mentioned in the embodiments of the present invention are explained, and the terms and expressions mentioned in the embodiments of the present invention are applied to the following explanations.
1) An IP (Internet Protocol) address is a uniform address format allocated to a user for accessing the Internet, and is also called a logical address; on the internet, each host of each network is allocated an IP address, so as to mask the difference of physical addresses.
2) A MAC (Media Access Control) Address, also called a local area network Address, an Ethernet Address, or a Physical Address, is an Address for confirming the location of a network device; in the seven-layer model, a third layer network layer is responsible for IP addresses, and a second layer data link layer is responsible for MAC addresses; usually, a network card is uniquely identified in a network through an MAC address, and if one device has one or more network cards, each network card needs to have a unique MAC address, which is also called a physical address or a hardware address; the MAC address is written inside the hardware when the MAC address is produced by the network device manufacturer. In addition, the IP address is different from the MAC address in that the IP address is logically based, flexible, and not limited by hardware. MAC addresses, to some extent, are consistent with hardware, are physically based, and can identify specific network nodes.
3) ARP (Address Resolution Protocol) is a TCP/IP (Transmission Control Protocol/Internet Protocol) that acquires a physical Address according to an IP. The physical address of the target device is typically determined by the sending host broadcasting an ARP request containing the IP address of the target device to all hosts on the local network when sending the information and receiving a return message.
4) A local area network refers to a group of computers interconnected by a plurality of computers in a region.
5) Wide area networks refer to remote networks connecting computers communicating over local or metropolitan area networks in different regions.
6) An AP (Access Point) refers to a bridge for connecting a wireless network and a wired network, and a wireless switch for the wireless network is an Access Point for a mobile computer to enter the wired network.
Generally, in order to determine the location information of a device to be located, the location information of various devices is recorded manually, so that when the current location information of the target device needs to be determined, the current location information of the target device is determined through a manually recorded document. However, in the above process of determining the current positioning information of the target object, a manual method is adopted, and the intelligence and accuracy of the device positioning are poor.
In addition, in order to determine the positioning information of the device to be positioned, the positioning information is usually realized by borrowing third-party devices. For example, a mobile phone (device to be located) is bound with a third-party device, a call request (call) is sent to the mobile phone through the third-party device, and the mobile phone rings or vibrates after receiving the call request, so as to determine the location of the mobile phone according to the ring or the vibration. However, in the above solution for positioning a device to be positioned, when the mobile phone is in a power-off state or in a static state or at a long distance, the mobile phone cannot receive a call request or cannot ring/vibrate or cannot hear the call request; therefore, the mobile phone cannot be located at this time, and the versatility of device location is low.
In addition, in order to determine the positioning information of the device to be positioned, the positioning information of the device to be positioned can be determined through a remote control function, namely, the remote control function of the device to be positioned is started, so that the device to be positioned is tracked and controlled by the remote control function, and at the moment, the positioning information of the device to be positioned is obtained. However, in the above solution for positioning a device to be positioned, since the remote control function is not a general function of the device to be positioned, the positioning method cannot be applied to any device to be positioned, and thus the universality of the device positioning is low.
Based on this, the embodiment of the invention provides an equipment positioning method and equipment, which can automatically position equipment in real time, improve the intelligence and accuracy of equipment positioning, and have universality. The following describes exemplary applications of the positioning device and the device to be positioned provided by the embodiment of the present invention, and the query device, the positioning device, and the device to be positioned provided by the embodiment of the present invention may be implemented as various types of user terminals such as a smart phone, a tablet computer, and a notebook computer, and may also be implemented as a server. In the following, an exemplary application will be described when the positioning device is implemented as a server, and the querying device and the device to be positioned are implemented as terminals.
Referring to fig. 1, fig. 1 is an optional architecture diagram of a device location system 100 according to an embodiment of the present invention, in order to support a device location application, a first terminal 400 (query device) is connected to a server 200 (location device) through a network 300, where the network 300 is a local area network; in addition, the device positioning system 100 further includes a second terminal 500 (exemplarily, a second terminal 500-1, a second terminal 500-2, … …, and a second terminal 500-n form a set of devices to be positioned, where the set of devices to be positioned includes a target device to be positioned, and the second terminal 500-1, the second terminal 500-2, … …, the second terminal 500-n is each device to be positioned), and the second terminal 500 is also connected to the server 200 through the network 300.
A first terminal 400, configured to send a device location request to the server 200 through the network 300, and receive, through the network 300, target current location information sent by the server 200 according to the device location request; in addition, the first terminal 400 further includes a graphic interface 410 for displaying the current location information of the target.
The server 200 is configured to receive a device location request sent by the first terminal 400 through the network 300, then broadcast a location broadcast request to the second terminal 500 according to the device location request, receive current location information sent by the second terminal 500 in response to the location broadcast request through the network 300, and send target current location information to the first terminal 400 through the network 300 according to the received current location information.
The second terminal 500 is configured to receive a positioning broadcast request broadcast by the server 200 through the network 300, and send current positioning information to the server 200 through the network 300 in response to the positioning broadcast request.
It should be noted that the network 300 in the device location system 100 may also be a wide area network, or a combination of both a local area network and a wide area network.
Referring to fig. 2, fig. 2 is a schematic structural diagram of a first terminal 400 according to an embodiment of the present invention, where the first terminal 400 shown in fig. 2 includes: at least one first processor 410, a first memory 450, at least one first network interface 420, and a first user interface 430. The various components in the first terminal 400 are coupled together by a first bus system 440. It is understood that the first bus system 440 is used to enable connection communications between these components. The first bus system 440 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, the various buses are labeled as the first bus system 440 in fig. 2.
The first Processor 410 may be an integrated circuit chip having Signal processing capabilities, such as a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, etc., wherein the general purpose Processor may be a microprocessor or any conventional Processor, etc.
The first user interface 430 includes one or more first output devices 431, including one or more speakers and/or one or more visual display screens, that enable the presentation of media content. The first user interface 430 also includes one or more first input devices 432, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
The first memory 450 includes either volatile memory or nonvolatile memory, and may also include both volatile and nonvolatile memory. The non-volatile Memory may be a Read Only Memory (ROM), and the volatile Memory may be a Random Access Memory (RAM). The first memory 450 described in embodiments of the invention is intended to comprise any suitable type of memory. The first memory 450 optionally includes one or more storage devices physically located remote from the first processor 410.
In some embodiments, the first memory 450 is capable of storing data to support various operations, examples of which include programs, modules, and data structures, or subsets or supersets thereof, as exemplified below.
A first operating system 451 including system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks;
a first network communication module 452 for communicating to other computing devices via one or more (wired or wireless) first network interfaces 420, an exemplary first network interface 420 comprising: bluetooth, wireless-compatibility authentication (Wi-Fi), and Universal Serial Bus (USB), etc.;
a first display module 453 for enabling presentation of information (e.g., user interfaces for operating peripherals and displaying content and information) via one or more first output devices 431 (e.g., display screens, speakers, etc.) associated with the first user interface 430;
a first input processing module 454 for detecting one or more user inputs or interactions from one of the one or more first input devices 432 and translating the detected inputs or interactions.
In some embodiments, the lookup apparatus provided by the embodiments of the present invention may be implemented in software, and fig. 2 shows the lookup apparatus 455 stored in the first memory 450, which may be software in the form of programs and plug-ins, and includes the following software modules: a request generating module 4551, a first transmitting module 4552, a first receiving module 4553, an information displaying module 4554, and a querying module 4555, functions of which will be described hereinafter.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a server 200 according to an embodiment of the present invention, where the server 200 shown in fig. 3 includes: at least one second processor 210, a second memory 250, at least one second network interface 220, and a second user interface 230. The various components in server 200 are coupled together by a second bus system 240. It is understood that the second bus system 240 is used to enable connection communication between these components. The second bus system 240 includes a power bus, a control bus, and a status signal bus in addition to the data bus. But for clarity of illustration the various buses are labeled as the second bus system 240 in figure 3.
The second processor 210 may be an integrated circuit chip having signal processing capabilities, such as a general purpose processor, a digital signal processor, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., wherein the general purpose processor may be a microprocessor or any conventional processor, etc.
The second user interface 230 includes one or more second output devices 231, including one or more speakers and/or one or more visual displays, that enable the presentation of media content. The second user interface 230 also includes one or more second input devices 232, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
The second memory 250 includes either volatile memory or nonvolatile memory, and may also include both volatile and nonvolatile memory. The nonvolatile memory may be a read-only memory, and the volatile memory may be a random access memory. The second memory 250 described in embodiments of the invention is intended to comprise any suitable type of memory. The second memory 250 optionally includes one or more storage devices physically located remote from the second processor 210.
In some embodiments, the second memory 250 is capable of storing data to support various operations, examples of which include programs, modules, and data structures, or subsets or supersets thereof, as exemplified below.
A second operating system 251 including system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks;
a second network communication module 252 for communicating to other computing devices via one or more (wired or wireless) second network interfaces 220, the exemplary second network interfaces 220 including: bluetooth, wireless compatibility authentication, universal serial bus, and the like;
a second display module 253 to enable presentation of information (e.g., a user interface for operating peripherals and displaying content and information) via one or more second output devices 231 (e.g., a display screen, speakers, etc.) associated with the second user interface 230;
a second input processing module 254 for detecting one or more user inputs or interactions from one of the one or more second input devices 232 and translating the detected inputs or interactions.
In some embodiments, the positioning apparatus provided by the embodiments of the present invention may be implemented in software, and fig. 3 illustrates the positioning apparatus 255 stored in the second memory 250, which may be software in the form of programs and plug-ins, and the like, and includes the following software modules: second receiving module 2551, second sending module 2552, updating module 2553 and first obtaining module 2554, the functions of each of which will be described below.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a second terminal 500 according to an embodiment of the present invention, where the second terminal 500 shown in fig. 4 includes: at least one third processor 510, a third memory 550, at least one third network interface 520, and a third user interface 530. The various components in the second terminal 500 are coupled together by a third bus system 540. It will be appreciated that the third bus system 540 is used to enable connection communications between these components. The third bus system 540 comprises a power bus, a control bus and a status signal bus in addition to a data bus. But for clarity of illustration the various buses are labeled as the third bus system 540 in figure 4.
The third processor 510 may be an integrated circuit chip having signal processing capabilities, such as a general purpose processor, a digital signal processor, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., wherein the general purpose processor may be a microprocessor or any conventional processor, etc.
The third user interface 530 comprises one or more third output devices 531 enabling presentation of the media content, comprising one or more speakers and/or one or more visual display screens. The third user interface 530 also includes one or more third input devices 532 including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
The third memory 550 may comprise either volatile memory or nonvolatile memory, and may also comprise both volatile and nonvolatile memory. The nonvolatile memory may be a read-only memory, and the volatile memory may be a random access memory. The third memory 550 described in connection with the embodiments of the invention is intended to comprise any suitable type of memory. The third memory 550 optionally includes one or more storage devices physically located remote from the third processor 510.
In some embodiments, the third memory 550 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplified below.
A third operating system 551 including system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks;
a third network communication module 552 for communicating to other computing devices via one or more (wired or wireless) third network interfaces 520, the exemplary third network interface 520 comprising: bluetooth, wireless compatibility authentication, universal serial bus, and the like;
a third display module 553 for enabling presentation of information (e.g., a user interface for operating peripherals and displaying content and information) via one or more third output devices 531 (e.g., a display screen, speakers, etc.) associated with the third user interface 530;
a third input processing module 554 for detecting one or more user inputs or interactions from one of the one or more third input devices 532 and translating the detected inputs or interactions.
In some embodiments, the device to be located provided by the embodiments of the present invention may be implemented in software, and fig. 4 shows a device to be located 555 stored in a third memory 550, which may be software in the form of programs and plug-ins, and includes the following software modules: a third receiving module 5551, a second acquiring module 5552, a third transmitting module 5553 and a storing module 5554, the functions of each module will be described below.
In other embodiments, the finding Device, the positioning Device, and the Device to be positioned provided by the embodiments of the present invention may be implemented in hardware, for example, the finding Device, the positioning Device, and the Device to be positioned provided by the embodiments of the present invention may be a processor in the form of a hardware decoding processor, which is programmed to perform the Device positioning method provided by the embodiments of the present invention, for example, the processor in the form of the hardware decoding processor may be one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), or other electronic components.
In the following, the device positioning method provided by the embodiment of the present invention will be described with reference to exemplary applications in which the search device and the device to be positioned provided by the embodiment of the present invention are implemented as a terminal and the positioning device is implemented as a server.
Referring to fig. 5, fig. 5 is an optional interaction flow diagram of the device positioning method provided in the embodiment of the present invention, and it should be noted that, in order to implement the device positioning method provided in the embodiment of the present invention, an inquiry device, a positioning device, and a device to be positioned are provided in the embodiment of the present invention, and a plurality of devices to be positioned form a device set to be positioned, and the inquiry device, the positioning device, and the device set to be positioned belong to the same local area network. Next, description will be made with reference to the steps shown in fig. 5.
S101, when the inquiry equipment receives an equipment positioning instruction aiming at the target equipment to be positioned, generating an equipment positioning request according to the equipment positioning instruction; the device positioning request is used for determining the current positioning information of the target device to be positioned.
In the embodiment of the invention, the query device provides a query interface for querying the current positioning information of the target device to be positioned for a user, and when the user performs positioning operation on the target device to be positioned through the query interface for querying the current positioning information of the target device to be positioned, the query device also receives a device positioning instruction aiming at the target device to be positioned. Next, since the device positioning instruction is used to instruct the querying device to query the current positioning information of the device to be positioned, at this time, the querying device generates a request, that is, a device positioning request, for determining the current positioning information of the device to be positioned according to the instruction of the device positioning instruction, so as to obtain the current positioning information of the device to be positioned from the positioning device through the device positioning request. Here, the positioning information refers to orientation information of any dimension of the device, such as geographical location information, user information, and the like.
It should be noted that the query interface for querying the current location information of the target device to be located may be a device location function operating in a device management system of the query device; for example, FIG. 6 shows an input box 6-11 and query identification 6-12 in query page 6-1; as another example, FIG. 7 shows a refresh button 7-11 in the playlist page 7-1.
The positioning operation is specific to the target equipment to be positioned and is used for triggering the positioning of the target equipment to be positioned, and the target equipment to be positioned refers to an object to be positioned; for example, the operation of inputting a keyword into the input box 6-11 of fig. 6 and clicking the query identifier 6-12, where the target device to be located refers to the input keyword; as another example, in FIG. 7, the operation of clicking the refresh button 7-11 refers to the device corresponding to the location list page 7-1 in FIG. 7.
It should be further noted that the device positioning instruction may also be a periodically generated instruction that is set by the query device, so that the current positioning information of the target device to be positioned can be periodically obtained.
S102, the inquiry equipment sends the equipment positioning request to the positioning equipment, so that the positioning equipment can acquire the current positioning information of the target equipment to be positioned according to the equipment positioning request.
In the embodiment of the invention, the positioning equipment has the function of acquiring the current positioning information of each equipment to be positioned in the local area network, and the target equipment to be positioned belongs to each equipment to be positioned; therefore, after the query device obtains the device location request for determining the current location information of the target device to be located, the query device sends the device location request to the positioning device, so as to obtain the current location information of the target device to be located through the positioning device.
Accordingly, after the querying device completes S102, that is, after the querying device sends the device location request to the positioning device, the positioning device also receives the device location request sent by the querying device.
S103, the positioning equipment responds to the equipment positioning request, generates a positioning broadcast request and broadcasts the positioning broadcast request to the equipment to be positioned in the equipment set to be positioned; the positioning broadcast request is used for acquiring the current positioning information of the equipment to be positioned in the equipment set to be positioned.
In the embodiment of the present invention, after the positioning device obtains the device positioning request, when determining the current positioning information of the target device to be positioned in response to the device positioning request, the positioning device obtains the current positioning information by communicating with each device to be positioned that is interconnected with the positioning device, and a set formed by the devices to be positioned that are interconnected with the positioning device is a preset device set. Therefore, the positioning device generates a request for communicating with the set of devices to be positioned, i.e. a positioning broadcast request (such as an ARP request), according to the device positioning request, and broadcasts the positioning broadcast request to each device to be positioned in the set of devices to be positioned; in addition, the positioning broadcast request is used for acquiring the current positioning information of each device to be positioned in the device set to be positioned, and the device set to be positioned comprises the target device to be positioned.
Correspondingly, after the positioning device has executed S103, that is, after the positioning device broadcasts the positioning broadcast request to the devices to be positioned in the set of devices to be positioned, at this time, the device to be positioned also receives the positioning broadcast request broadcast by the positioning device.
It should be noted that, when the positioning device broadcasts a positioning broadcast request to each device to be positioned in the set of devices to be positioned, each device to be positioned in the set of devices to be positioned also obtains the positioning broadcast request; and because the device set to be positioned comprises the target device to be positioned, the target device to be positioned can also receive the positioning broadcast request as an element of the device set to be positioned.
It should be noted that, before the positioning device broadcasts the positioning broadcast request to the devices to be positioned in the device set to be positioned, each device to be positioned in the device set to be positioned is accessed to the local area network, and the network address accessed to the local area network is registered on the positioning device; therefore, the positioning equipment can broadcast the positioning broadcast request to the equipment to be positioned in the equipment set to be positioned according to the registered network address. Therefore, the management of each device to be positioned in the device set to be positioned can be realized only through registration, manual recording is avoided, and the workload of searching the device and unnecessary inquiry of a user are reduced.
S104, the equipment to be positioned responds to the positioning broadcast request to acquire the current positioning information.
In the embodiment of the present invention, the positioning broadcast request is a request broadcasted by the positioning device and used for acquiring the current positioning information of each device to be positioned in the set of devices to be positioned, so that each device to be positioned responds to the positioning broadcast request after obtaining the positioning broadcast request, so as to acquire the current positioning information of itself.
It should be noted that a positioning information obtaining function, for example, auxiliary software, is provided in the device to be positioned; the positioning information acquiring function can acquire the current positioning information of the positioning information acquiring function according to the received positioning broadcast request.
S105, the equipment to be positioned sends the current positioning information to the positioning equipment, so that the positioning equipment determines target current positioning information corresponding to the equipment to be positioned according to the current positioning information, and the positioning equipment displays the target current positioning information through the query equipment.
In the embodiment of the present invention, since the current positioning information is obtained by the device to be positioned in response to the positioning broadcast request for obtaining the current positioning information of the device to be positioned, and the positioning broadcast request is sent by the positioning device, after the device to be positioned obtains the current positioning information, the current positioning information needs to be sent to the positioning device to complete the response to the positioning broadcast request.
It should be noted that the device to be positioned sends the current positioning information to the positioning device, and the function is to enable the positioning device to determine, according to the current positioning information, target current positioning information corresponding to the target device to be positioned, and enable the positioning device to display the target current positioning information through the query device.
Correspondingly, after the devices to be positioned execute S105, that is, after each device to be positioned sends the corresponding current positioning information to the positioning device, at this time, the positioning device also receives a set formed by the current positioning information corresponding to the devices to be positioned in the device set to be positioned returned for the positioning broadcast request, that is, a current positioning information set.
S106, the positioning equipment determines target current positioning information corresponding to the equipment to be positioned in the target from the current positioning information set, and sends the target current positioning information to the query equipment to be displayed through the query equipment.
In the embodiment of the present invention, since the current positioning information set includes the current positioning information of the target device to be positioned, which is sent to the positioning device by the target device to be positioned, after the positioning device obtains the current positioning information set, the positioning device can obtain the current positioning information corresponding to the target device to be positioned, that is, the target current positioning information, from the current positioning information set. Next, since the target current positioning information is the current positioning information of the target device to be positioned, and the target current positioning information is obtained by the positioning device in response to the device positioning request, which is sent by the querying device and used for determining the current positioning information of the target device to be positioned, the positioning device sends the target current positioning information to the querying device to complete the response to the device positioning request.
Accordingly, after the positioning device has finished executing S106, that is, after the positioning device sends the target current positioning information to the querying device, at this time, the querying device also receives the target current positioning information returned in response to the device positioning request.
S107, the query equipment displays the current positioning information of the target, and positioning of the equipment to be positioned of the target is completed.
In the embodiment of the invention, the target current positioning information refers to the current positioning information of the target equipment to be positioned, and is obtained according to the equipment positioning instruction for indicating the query equipment to query the current positioning information of the target equipment to be positioned; therefore, after the query device obtains the current positioning information of the target, the query device displays the current positioning information of the target, and also displays a query result for querying the current positioning information of the device to be positioned of the target, thereby completing the positioning of the device to be positioned of the target.
It can be understood that, by using the query device, the positioning device is triggered to send the current positioning information to the positioning device according to the positioning broadcast request by broadcasting the positioning broadcast request to each device to be positioned in the device set to be positioned; at this moment, the positioning device also obtains the current positioning information of each device to be positioned in the device set to be positioned, so that the current positioning information of the target device to be positioned can be determined from the set formed by the current positioning information of each device to be positioned in the device set to be positioned, a scheme for accurately, intelligently and real-timely obtaining the positioning information of the device to be positioned is realized, and the device positioning effect is improved. In addition, through interaction of the query equipment, the positioning equipment and each equipment to be positioned, management of each equipment to be positioned is achieved, and therefore the efficiency of equipment positioning is improved.
Further, in the embodiment of the present invention, S104 further includes S108; that is to say, before the device to be located responds to the location broadcast request and acquires the current location information, the device location method further includes step S108, which is described below.
S108, when the equipment to be positioned acquires the information of the circulation object, the information of the circulation object is stored locally; the circulation object information is information of an object of the current circulation, and the circulation object information includes: the circulation object and/or the circulation object contact way.
In the embodiment of the present invention, when the device to be positioned detects that there is a positioning input instruction in the positioning acquisition function (for example, as shown in fig. 8, when a user inputs/modifies basic information such as a name and a contact information of the user through an information input/modification page 8-111 provided by auxiliary software 8-11 installed on the device to be positioned 8-1), the circulation object information is also obtained from the positioning input instruction; at this time, the equipment to be positioned stores the circulation object information to the local.
It should be noted that the positioning input instruction is generated by the device to be positioned responding to the operation of inputting/modifying the self basic information of the stream object; the equipment to be positioned is associated with the circulation object, when the equipment to be positioned circulates, the circulation object is also replaced, and at the moment, the circulation object can input basic information such as own name and contact way into the equipment to be positioned. In addition, the flow object information is information of an object of a current flow, and the flow object information includes: the method comprises the steps of circulating an object and/or a communication mode of the circulating object, wherein the circulating object refers to an object currently circulated by equipment to be positioned, such as a current user of the equipment to be positioned; the contact information of the object to be positioned refers to the contact information of the object to be positioned currently flowing, for example, the mobile phone number of the current user of the device to be positioned.
Correspondingly, in the embodiment of the invention, S104 can be realized through S1041-S1042; that is, the device to be positioned responds to the positioning broadcast request, and acquires the current positioning information, including S1041-S1042, which will be described below with reference to each step.
S1041, responding to the positioning broadcast request by the equipment to be positioned, acquiring the information of the circulation object from the local, and acquiring the current position information; the current position information is information associated with a current position.
In the embodiment of the invention, the information of the current circulating object of the current preset equipment, namely the circulating object information, is locally stored in the equipment to be positioned, and the circulating object information belongs to the current positioning information; therefore, when the device to be positioned responds to the positioning broadcast request to acquire the current positioning information, the device to be positioned acquires the information of the streaming object from the local.
In addition, because the information associated with the current position of the equipment to be positioned, namely the current position information, belongs to the current positioning information, the equipment to be positioned can also acquire the current position information when responding to the positioning broadcast request to acquire the current positioning information; here, the current location information may be real-time location information obtained by the device to be located through a location obtaining module, for example, location information obtained through a Global Positioning System (GPS); information obtained by the equipment to be positioned for determining the position of the equipment to be positioned can also be information obtained by the equipment to be positioned, such as Wi-Fi sites and Wi-Fi signal strength; and the like, which are not particularly limited by the embodiments of the present invention.
S1042, the equipment to be positioned takes the information of the circulation object and/or the current position information as the current positioning information.
In the embodiment of the invention, after the equipment to be positioned obtains the circulation object information and the current position information, the circulation object information and/or the current position information are/is used as the current positioning information.
Correspondingly, the current positioning information sent by each device to be positioned to the positioning device includes: transferring object information and/or current position information, wherein the target equipment to be positioned belongs to an equipment set to be positioned formed by each equipment to be positioned; therefore, the target current positioning information as the current positioning information of the target device to be positioned includes: the target information is information of a current object to be positioned of the target equipment to be positioned, namely the target information is information of a current object to be positioned of the target equipment to be positioned; the target current position information is the current position information of the equipment to be positioned, that is, the target current position information is the current position information determined according to the current position information of the equipment to be positioned. In addition, the target streaming object information includes: the target circulation object refers to the object currently circulated by the equipment to be positioned, and the target circulation object contact mode refers to the contact mode of the object currently circulated by the equipment to be positioned.
Correspondingly, the target current positioning information corresponding to the target device to be positioned, which is obtained by the positioning device, includes: target circulation object information and/or target current position information, and the target circulation object information includes: the method comprises the steps of transferring an object and/or a contact way of the transferring object; therefore, the target current location information sent by the location device and obtained by the querying device also includes: target circulation object information and/or target current position information, and the target circulation object information includes: the target circulation object and/or the contact way of the target circulation object. In this way, the query device displays the current target positioning information, which is at least one of the target circulation object, the contact information of the target circulation object and the current target position information.
It can be understood that, because the query device displays at least one of the target circulation object, the target circulation object contact way and the target current position information of the target device to be positioned through interaction with the positioning device and the device set to be positioned, the target device to be positioned can be positioned, and then the target device to be positioned can be quickly taken, thereby realizing effective management of the device to be positioned.
Further, referring to fig. 9, fig. 9 is a schematic diagram illustrating yet another alternative interaction flow of the device location method according to an embodiment of the present invention, as shown in fig. 9, after the location device receives the current location information set returned for the location broadcast request, the device location method further includes S109, and the following description is made with reference to the steps shown in fig. 9.
S109, updating a preset positioning information base by the positioning equipment according to the current positioning information set; the preset positioning information base is used for storing historical positioning information corresponding to the devices to be positioned in the device set to be positioned respectively.
In the embodiment of the invention, historical positioning information, namely a preset positioning information base, corresponding to each device to be positioned in a device set to be positioned is stored in the positioning device; each piece of current positioning information in the current positioning information set received by the positioning device further includes hardware information (such as a name and a Mac address of the device to be positioned) of the device to be positioned, so that the positioning device information can determine the uniqueness of the device to be positioned according to the hardware information, and the obtained current positioning information set is classified and stored in information corresponding to each device to be positioned in a preset positioning information base. Here, the historical positioning information refers to a set of positioning information in a current previous time period, such as: current position information or last position information, previous position information, and the like.
It will be appreciated that the pre-defined location information base provides the possibility for the querying device to provide the user with an online profile of the location information of the device to be located.
Accordingly, with continued reference to fig. 9, in the embodiment of the present invention, after S109, S110-S114 are further included, which is described below in conjunction with the steps shown in fig. 9.
S110, when the query equipment receives an equipment flow query instruction aiming at the target equipment to be positioned, generating an equipment flow query request according to the equipment flow query instruction; the device circulation query request is used for determining circulation information of the target device to be positioned.
In the embodiment of the present invention, the query device provides a query interface for querying the flow information (for example, the flow record) of the target device to be positioned for the user, and when the user performs a query operation on the target device to be positioned through the query interface for querying the flow information of the target device to be positioned, the query device receives a device flow query instruction for the target device to be positioned. Next, the device circulation query instruction is used for instructing the query device to query circulation information of the target device to be positioned, so at this time, the query device generates a request for determining circulation information of the target device to be positioned, that is, a device circulation query request, according to the instruction of the device circulation query instruction, so as to obtain the circulation information of the target device to be positioned from the positioning device through the device positioning request.
It should be noted that the query interface for querying the circulation information of the target device to be located may be a device circulation query function operating in a device management system of the query device; for example, FIG. 10 shows an input box 10-11 and query identification 10-12 in the flow records list page 10-1.
The query operation is specific to the target equipment to be positioned and is used for triggering query of circulation information of the target equipment to be positioned; for example, the operation of inputting a keyword, i.e., a target device to be located, and the operation of clicking on the query identifier 10-12 in the input box 10-11 of fig. 10.
And S111, the query equipment sends the equipment circulation query request to the positioning equipment, so that the positioning equipment acquires circulation information of the target equipment to be positioned according to the equipment circulation query request.
In the embodiment of the present invention, the positioning device includes a database, i.e., an updated preset positioning database, for storing the historical positioning information of each device to be positioned in the device set to be positioned, and the device flow query request is used to request to obtain the flow information of the target device to be positioned, which is substantially to request to obtain the historical positioning information of the target device to be positioned; therefore, the query device sends the device circulation query request to the positioning device, so that the positioning device obtains circulation information of the target device to be positioned from the updated preset positioning database according to the device circulation query request.
Correspondingly, after the query device has finished executing S111, that is, after the query device sends the device flow query request to the positioning device, at this time, the positioning device also receives the device flow query request sent by the query device.
And S112, the positioning equipment responds to the equipment circulation query request, and at least one piece of positioning information corresponding to the target equipment to be positioned is acquired from the updated preset positioning information base to obtain equipment circulation information.
In the embodiment of the present invention, after the positioning device obtains the device circulation query request, since the updated preset positioning information base of the positioning device stores the historical positioning information of each device to be positioned, the device circulation query request is used for requesting to obtain circulation information of the target device to be positioned, that is, the historical positioning information of the target device to be positioned, and the historical positioning information includes corresponding positioning information at different times; therefore, the positioning device can acquire at least one piece of positioning information corresponding to the target device to be positioned from the updated preset positioning information base, and at the moment, the device circulation information is acquired.
S113, the positioning device sends the device circulation information to the query device, and the device circulation information is displayed through the query device.
It should be noted that, the positioning device obtains the device flow information in order to respond to the device flow query request, and the device flow query request is sent to the positioning device by the query device; therefore, after the positioning device obtains the device circulation information, the device circulation information is sent to the query device, so that the device circulation information is displayed through the query device, and the response to the device circulation query request is also completed.
Accordingly, after the positioning device has finished executing S113, that is, after the positioning device transmits the device flow information to the query device, at this time, the query device also receives the device flow information returned in response to the device flow query request.
S114, the query equipment displays the equipment circulation information and completes the query of the circulation information of the target equipment to be positioned.
In the embodiment of the invention, the device circulation information refers to the circulation information of the target device to be positioned, and is obtained according to the device circulation query instruction for instructing the query device to query the circulation information of the target device to be positioned; therefore, after the query device obtains the device circulation information, the device circulation information is displayed, and a query result for querying the circulation information of the target device to be positioned is also displayed, so that the query of the circulation information of the target device to be positioned is also completed.
It should be noted that, the query device provides an asset management function application to the user, that is, the device management system, such as the asset management APP running on the query device, implements the positioning of the target device to be positioned and query of the flow information through the asset management function application; the query interface for querying the current positioning information of the target device to be positioned and the query interface for querying the circulation information of the target device to be positioned are both provided by the asset management function application.
The method comprises the steps that by utilizing query equipment, the positioning equipment is triggered to acquire the circulation information of the target equipment to be positioned from a database of the positioning equipment, and the circulation information of the target equipment to be positioned is returned to the query equipment to be displayed; therefore, the management and the positioning of the equipment to be positioned at the target can be quickly realized through the displayed circulation information of the equipment to be positioned at the target. For example, the current position or the last position of the target device to be positioned can be obtained from the circulation information of the target device to be positioned, so that the target device to be positioned can be positioned according to the current position or the last position
Further, when the target current positioning information includes the target current location information, in S106 in the embodiment of the present invention, the positioning device determines the target current positioning information corresponding to the target device to be positioned from the current positioning information set, which may be implemented through S1061-S1063, and the following description is provided with reference to each step.
S1061, determining, by the positioning device, current positioning information corresponding to the target device to be positioned from the current positioning information set to obtain initial current positioning information.
In the embodiment of the present invention, when the device to be positioned returns the current position information as the current positioning information to the positioning device, the positioning device determines the current positioning information corresponding to the target device to be positioned from the current positioning information set, that is, the current position information of the device to be positioned, and at this time, the initial current positioning information of the target device to be positioned is obtained.
S1062, the positioning equipment acquires the position information of the signal emission point and the current signal strength from the initial current positioning information; the signal transmitting point position is position information of a transmitting point of a signal currently received by the target equipment to be positioned, and the current signal strength is strength information of the signal currently received by the target equipment to be positioned.
In the embodiment of the present invention, since the initial current positioning information refers to information associated with the location of the target device to be positioned, the location information of the target device to be positioned needs to be determined according to the information associated with the location of the target device to be positioned.
It should be noted that the initial current positioning information includes signal emission point position information and current signal strength (information associated with the position of the target device to be positioned), so that the positioning device can obtain the signal emission point position information and the current signal strength from the initial current positioning information; here, the signal transmitting point position is position information of a transmitting point of a signal currently received by the target device to be positioned, for example, a position of a Wi-Fi AP; the current signal strength is strength information of a signal currently received by the target device to be positioned, such as Wi-Fi signal strength.
And S1063, determining the current position information of the target by the positioning equipment according to the current signal strength by taking the position information of the signal transmitting point as a reference, thereby obtaining the current target positioning information of the target to-be-positioned equipment.
It should be noted that, since the farther the position information of the signal transmitting point is from, the signal strength is weaker, after the positioning device obtains the position information of the signal transmitting point and the current signal strength, the current position information of the target can be determined based on the position information of the signal transmitting point and according to the current signal strength, so that the current target positioning information of the target to-be-positioned device is obtained. Thus, the process of determining the accurate position according to the positioning information is realized.
It can be understood that, because each device to be positioned is in the local area network, that is, each device to be positioned is connected to the local area network, even if the device to be positioned does not have a position positioning function, the device to be positioned can be positioned according to the situation of connecting the local area network, such as Wi-Fi signal strength, and the universality is high.
In the following, an exemplary application of the embodiments of the present invention in a practical application scenario will be described.
Illustratively, in order to realize competitive product research and product experience of video products, an enterprise holds device 1, device 2, … … and device m (device 1, device 2, … … and device m, i.e., each device to be positioned, form a set of devices to be positioned); further, the device 1, the device 2, the device … …, and the device m are respectively provided with auxiliary software, and each device has access to a local area network and has completed IP (network address) registration on a positioning server (positioning device).
When the product experience of a new video product needs to be achieved by the device 2:
first, a user opens the asset management system through a client (query device), inputs the name of the device 2, and queries, as shown in fig. 6; thereby initiating the positioning of the device 2.
The location server then broadcasts an ARP request (location broadcast request) to device 1, device 2, … …, and device m in response to the client.
Then, the device 1, the device 2, the device … …, and the device m acquire their own hardware information (device name, Mac address, etc.), GPS positioning or Wi-Fi signal strength (current location information), user and user contact information through the auxiliary software according to the received ARP request, and package and send the acquired information to the positioning server. Here, the user-to-user contact information, i.e., the object flow information, is modified or entered by the auxiliary software when the user uses the device, as shown in fig. 8.
Finally, the positioning server classifies the received packaged data into a preset positioning information base, determines the packaged data of the equipment 2, and returns the packaged data of the equipment 2 to the client so that the client can display the packaged data through the asset management system; at this time, the user can also know the current positioning information of the device 2 from the displayed information: device 2, zhang san (user), 11111111111111 (user contact information), and lab one (current location information).
Continuing with the exemplary structure of the query device 455 provided by the embodiments of the present invention implemented as software modules, in some embodiments, as shown in fig. 2, the software modules stored in the query device 455 of the first memory 450 may include:
a request generating module 4551, configured to generate a device positioning request according to a device positioning instruction when the device positioning instruction for the target device to be positioned is received; the device positioning request is used for determining the current positioning information of the target device to be positioned;
a first sending module 4552, configured to send the device positioning request to the positioning apparatus, so that the positioning apparatus obtains, according to the device positioning request, current positioning information of the device to be positioned;
a first receiving module 4553, configured to receive target current positioning information returned in response to the device positioning request;
and an information display module 4554, configured to display the current positioning information of the target, and complete positioning of the device to be positioned of the target.
Further, the target current location information includes: target circulation object information and/or target current position information; the target object information is information of an object currently circulated by the target equipment to be positioned, and the target current position information is position information of the target equipment to be positioned; the target circulation object information comprises: the target circulation object and/or the target circulation object contact way.
Further, the query apparatus 455 further includes a query module 4555, configured to, when receiving a device flow query instruction for the target device to be located, generate a device flow query request according to the device flow query instruction; the equipment circulation query request is used for determining circulation information of the target equipment to be positioned; sending the equipment circulation query request to the positioning equipment so that the positioning equipment acquires circulation information of the target equipment to be positioned according to the equipment circulation query request; receiving equipment circulation information returned by aiming at the equipment circulation query request; and displaying the equipment circulation information, and finishing the inquiry of the circulation information of the target equipment to be positioned.
Embodiments of the present invention provide a storage medium storing executable instructions, where the executable instructions are stored, and when executed by a first processor, will cause the first processor to execute the device location method applied to a query device provided in embodiments of the present invention.
Continuing with the exemplary structure of the locating device 255 implemented as a software module provided by the embodiments of the present invention, in some embodiments, as shown in fig. 3, the software module stored in the querying device 255 of the second memory 250 may include:
a second receiving module 2551, configured to receive a device location request sent by the querying device, where the device location request is used to determine current location information of a target device to be located;
a second sending module 2552, configured to generate a positioning broadcast request in response to the device positioning request, and broadcast the positioning broadcast request to devices to be positioned in the set of devices to be positioned; the positioning broadcast request is used for acquiring the current positioning information of the device to be positioned in the device set to be positioned;
the second receiving module 2551 is further configured to receive a current positioning information set returned for the positioning broadcast request; the current positioning information set is a set formed by current positioning information respectively corresponding to the devices to be positioned in the device set to be positioned;
the second sending module 2552 is further configured to determine, from the current positioning information set, target current positioning information corresponding to the device to be positioned, and send the target current positioning information to the query device, so as to be displayed by the query device.
Further, the target current positioning information includes: target circulation object information and/or target current position information, wherein the target object information is information of an object currently circulated by the target equipment to be positioned, and the target current position information is position information of the current position of the target equipment to be positioned; the target circulation object information includes: the target circulation object and/or the target circulation object contact way.
Further, the positioning device 255 further includes an updating module 2553 and a first obtaining module 2554, wherein the updating module 2553 is configured to update a preset positioning information base according to the current positioning information set; the preset positioning information base is used for storing historical positioning information corresponding to the devices to be positioned in the device set to be positioned respectively;
the first obtaining module 2554 is configured to receive a device flow query request sent by the query device; the equipment circulation query request is used for determining circulation information of the target equipment to be positioned; responding to the equipment circulation query request, and acquiring at least one piece of positioning information corresponding to the target equipment to be positioned from the updated preset positioning information base to obtain equipment circulation information; and sending the equipment circulation information to the query equipment so as to display the equipment circulation information through the query equipment.
The embodiment of the invention provides a storage medium which stores executable instructions, and the executable instructions are stored in the storage medium and can cause a second processor to execute the device positioning method applied to the positioning device provided by the embodiment of the invention when being executed by the second processor.
Continuing with the exemplary structure of the device to be located 555 provided by the embodiments of the present invention implemented as a software module, in some embodiments, as shown in fig. 4, the software modules stored in the device to be located 555 in the third memory 550 may include:
a third receiving module 5551, configured to receive a positioning broadcast request broadcasted by the positioning apparatus, where the positioning broadcast request is used to obtain current positioning information of the apparatus to be positioned in the set of apparatuses to be positioned;
a second obtaining module 5552, configured to respond to the positioning broadcast request, and obtain current positioning information;
a third sending module 5553, configured to send the current positioning information to the positioning device, so that the positioning device determines, according to the current positioning information, target current positioning information corresponding to a target to-be-positioned device, and the positioning device displays the target current positioning information through the query device.
Further, the device 555 to be positioned further includes a storage module 5554, configured to store the circulation object information to the local when the circulation object information is acquired; the information of the object to be circulated is information of an object to be circulated currently, and the information of the object to be circulated includes: the circulation object and/or the circulation object contact way.
Correspondingly, the second obtaining module 5552 is further configured to, in response to the positioning broadcast request, obtain the information of the circulation object from the local area, and obtain current location information; the current position information is information related to the current position; and taking the circulation object information and/or the current position information as the current positioning information.
The embodiment of the invention provides a storage medium stored with executable instructions, wherein the executable instructions are stored, and when being executed by a third processor, the executable instructions cause the third processor to execute the device positioning method applied to the device to be positioned, which is provided by the embodiment of the invention.
In some embodiments, the storage medium may be memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash, magnetic surface memory, optical disk, or CD-ROM; or may be various devices including one or any combination of the above memories.
In some embodiments, executable instructions may be written in any form of programming language (including compiled or interpreted languages), in the form of programs, software modules, scripts or code, and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
By way of example, executable instructions may correspond, but do not necessarily have to correspond, to files in a file system, and may be stored in a portion of a file that holds other programs or data, such as in one or more scripts in a hypertext Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub-programs, or portions of code).
By way of example, executable instructions may be deployed to be executed on one computing device or on multiple computing devices at one site or distributed across multiple sites and interconnected by a communication network.
In summary, according to the embodiments of the present invention, because the query device can trigger the positioning device to interact with the set of devices to be positioned to obtain the current positioning information corresponding to the devices to be positioned in the set of devices to be positioned, and further determine the current positioning information of the target device to be positioned from the set formed by the current positioning information corresponding to the devices to be positioned in the set of devices to be positioned, a scheme for automatically positioning the device in real time is implemented, so that the intelligence and accuracy of device positioning are improved.
The above description is only an example of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, and improvement made within the spirit and scope of the present invention are included in the protection scope of the present invention.

Claims (14)

1. An equipment positioning method is applied to query equipment, and is characterized in that the query equipment, the positioning equipment and target equipment to be positioned are equipment in a local area network, the target equipment to be positioned is equipment which flows among different flowing objects, and the method comprises the following steps:
when an equipment positioning instruction for the target equipment to be positioned is received, generating an equipment positioning request according to the equipment positioning instruction; the equipment positioning request is used for determining the current positioning information of the target equipment to be positioned;
sending the equipment positioning request to the positioning equipment so that the positioning equipment acquires the current positioning information of the target equipment to be positioned according to the equipment positioning request;
receiving target current positioning information returned by aiming at the equipment positioning request, wherein the target current positioning information comprises target circulation object information, and the target circulation object information is information of a current circulation object of the target equipment to be positioned;
and displaying the current positioning information of the target to complete the positioning of the equipment to be positioned of the target.
2. The method of claim 1, wherein after displaying the target current location information, the method further comprises:
when an equipment flow query instruction for the target equipment to be positioned is received, generating an equipment flow query request according to the equipment flow query instruction; the equipment circulation query request is used for determining circulation information of the target equipment to be positioned;
sending the equipment flow query request to the positioning equipment so that the positioning equipment acquires flow information of the target equipment to be positioned according to the equipment flow query request;
receiving equipment circulation information returned by aiming at the equipment circulation query request;
and displaying the equipment circulation information, and finishing the inquiry of the circulation information of the target equipment to be positioned.
3. An apparatus positioning method is applied to positioning apparatuses, and is characterized in that the positioning apparatuses, query apparatuses and apparatuses to be positioned are integrated as apparatuses in a local area network, and the method includes:
receiving an equipment positioning request sent by the query equipment, wherein the equipment positioning request is used for determining the current positioning information of target equipment to be positioned, and the target equipment to be positioned is equipment which flows among different flowing objects;
responding to the equipment positioning request, generating a positioning broadcast request, and broadcasting the positioning broadcast request to the equipment to be positioned in the equipment set to be positioned; the positioning broadcast request is used for acquiring the current positioning information of the equipment to be positioned in the equipment set to be positioned;
receiving a current positioning information set returned aiming at the positioning broadcast request; the current positioning information set is a set formed by current positioning information respectively corresponding to the equipment to be positioned in the equipment to be positioned set;
and determining target current positioning information corresponding to the target equipment to be positioned from the current positioning information set, and sending the target current positioning information to the query equipment for displaying through the query equipment, wherein the target current positioning information comprises target circulation object information, and the target circulation object information is information of a currently circulated object of the target equipment to be positioned.
4. The method of claim 3,
the target current location information further includes: target current position information, wherein the target current position information is the current position information of the target equipment to be positioned;
the target circulation object information includes: the target circulation object and/or the target circulation object contact way.
5. The method according to claim 3 or 4, wherein after receiving the current set of positioning information returned for the positioning broadcast request, the method further comprises:
updating a preset positioning information base according to the current positioning information set; the preset positioning information base is used for storing historical positioning information corresponding to the devices to be positioned in the device set to be positioned respectively;
correspondingly, after the sending of the target current positioning information to the query device for display by the query device, the method further includes:
receiving a device flow query request sent by the query device; the equipment circulation query request is used for determining circulation information of the target equipment to be positioned;
responding to the equipment circulation query request, and acquiring at least one piece of positioning information corresponding to the target equipment to be positioned from the updated preset positioning information base to obtain equipment circulation information;
and sending the equipment circulation information to the query equipment so as to display the equipment circulation information through the query equipment.
6. A device positioning method is applied to a device to be positioned, and is characterized in that the device to be positioned, a positioning device and a query device are devices in a local area network, and the method comprises the following steps:
receiving a positioning broadcast request broadcasted by the positioning equipment, wherein the positioning broadcast request is used for acquiring the current positioning information of the equipment to be positioned in the equipment set to be positioned;
responding to the positioning broadcast request, and acquiring current positioning information;
and sending the current positioning information to the positioning equipment so that the positioning equipment determines target current positioning information corresponding to the target equipment to be positioned according to the current positioning information, and enables the positioning equipment to display the target current positioning information through the query equipment, wherein the target equipment to be positioned is equipment which circulates among different circulating objects, the target current positioning information comprises target circulating object information, and the target circulating object information is information of a currently circulating object of the target equipment to be positioned.
7. The method of claim 6, wherein before obtaining current location information in response to the location broadcast request, the method further comprises:
when the circulation object information is acquired, storing the circulation object information to the local; the information of the object to be circulated is information of an object to be circulated currently, and the information of the object to be circulated includes: the method comprises the steps of (1) transferring an object and/or a contact way of the transferring object;
correspondingly, the obtaining current positioning information in response to the positioning broadcast request includes:
responding to the positioning broadcast request, acquiring the information of the circulation object from the local and acquiring the current position information; the current position information is information related to the current position;
and taking the circulation object information and/or the current position information as the current positioning information.
8. An inquiry apparatus, comprising:
the device positioning system comprises a request generation module, a positioning module and a positioning module, wherein the request generation module is used for generating a device positioning request according to a device positioning instruction when receiving the device positioning instruction aiming at a target device to be positioned; the equipment to be positioned of the target is equipment which circulates among different circulating objects, and the equipment positioning request is used for determining the current positioning information of the equipment to be positioned of the target;
the first sending module is used for sending the equipment positioning request to positioning equipment so that the positioning equipment can acquire the current positioning information of the target equipment to be positioned according to the equipment positioning request;
a first receiving module, configured to receive current target positioning information returned in response to the device positioning request, where the current target positioning information includes target streaming object information, and the target streaming object information is information of a currently-streamed object of the device to be positioned;
and the information display module is used for displaying the current positioning information of the target and completing the positioning of the equipment to be positioned of the target.
9. A positioning device, comprising:
a second receiving module, configured to receive an equipment location request sent by a query device, where the equipment location request is used to determine current location information of a target device to be located, and the target device to be located is a device that flows between different flowing objects;
the second sending module is used for responding to the equipment positioning request, generating a positioning broadcast request and broadcasting the positioning broadcast request to equipment to be positioned in the equipment set to be positioned; the positioning broadcast request is used for acquiring the current positioning information of the equipment to be positioned in the equipment set to be positioned;
the second receiving module is further configured to receive a current positioning information set returned for the positioning broadcast request; the current positioning information set is a set formed by current positioning information respectively corresponding to the equipment to be positioned in the equipment to be positioned set;
the second sending module is further configured to determine, from the current positioning information set, target current positioning information corresponding to the target device to be positioned, and send the target current positioning information to the query device for display by the query device, where the target current positioning information includes target circulation object information, and the target circulation object information is information of a currently circulating object of the target device to be positioned.
10. A device to be positioned, comprising:
a third receiving module, configured to receive a positioning broadcast request broadcasted by a positioning device, where the positioning broadcast request is used to obtain current positioning information of a device to be positioned in a device set to be positioned;
the second acquisition module is used for responding to the positioning broadcast request and acquiring the current positioning information;
and the third sending module is used for sending the current positioning information to the positioning equipment so that the positioning equipment determines target current positioning information corresponding to the target equipment to be positioned according to the current positioning information and displays the target current positioning information through the query equipment, wherein the target equipment to be positioned is equipment which circulates among different circulating objects, the target current positioning information comprises target circulating object information, and the target circulating object information is information of the currently circulating object of the target equipment to be positioned.
11. An interrogation apparatus, comprising:
a first memory for storing executable instructions;
a first processor, adapted to implement the method of claim 1 or 2 when executing executable instructions stored in the first memory.
12. A positioning apparatus, comprising:
a second memory for storing executable instructions;
a second processor, adapted to implement the method of any of claims 3 to 5 when executing executable instructions stored in said second memory.
13. An apparatus to be positioned, comprising:
a third memory for storing executable instructions;
a third processor, when executing executable instructions stored in said third memory, for implementing the method of claim 6 or 7.
14. A computer readable storage medium storing executable instructions for implementing the method of claim 1 or 2 when executed by a first processor; or, the executable instructions are for implementing the method of any one of claims 3 to 5 when executed by a second processor; alternatively, the executable instructions are for implementing the method of claim 6 or 7 when executed by a third processor.
CN201911029172.0A 2019-10-28 2019-10-28 Equipment positioning method and equipment Active CN112738145B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911029172.0A CN112738145B (en) 2019-10-28 2019-10-28 Equipment positioning method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911029172.0A CN112738145B (en) 2019-10-28 2019-10-28 Equipment positioning method and equipment

Publications (2)

Publication Number Publication Date
CN112738145A CN112738145A (en) 2021-04-30
CN112738145B true CN112738145B (en) 2022-07-01

Family

ID=75588793

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911029172.0A Active CN112738145B (en) 2019-10-28 2019-10-28 Equipment positioning method and equipment

Country Status (1)

Country Link
CN (1) CN112738145B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101715163A (en) * 2009-11-24 2010-05-26 中兴通讯股份有限公司 Method and device for acquiring auxiliary positioning data
CN103716836A (en) * 2012-10-09 2014-04-09 上海博路信息技术有限公司 Method of sharing mobile phone positioning capability
CN104469673A (en) * 2014-11-04 2015-03-25 深圳市同洲电子股份有限公司 Terminal positioning method and device
WO2016053738A1 (en) * 2014-09-30 2016-04-07 Alibaba Group Holding Limited Wireless communication method and device
CN105578411A (en) * 2015-12-18 2016-05-11 小米科技有限责任公司 Positioning information prompt method and device
CN105704656A (en) * 2014-11-26 2016-06-22 北京海尔广科数字技术有限公司 Method and device for acquiring location information
CN107131882A (en) * 2017-04-07 2017-09-05 深圳市金立通信设备有限公司 A kind of localization method and terminal
CN108012233A (en) * 2017-12-05 2018-05-08 北京元心科技有限公司 Method and apparatus for providing location services
CN108513249A (en) * 2018-01-25 2018-09-07 广州蓝豹智能科技有限公司 Localization method, device, audio-frequence player device and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101715163A (en) * 2009-11-24 2010-05-26 中兴通讯股份有限公司 Method and device for acquiring auxiliary positioning data
CN103716836A (en) * 2012-10-09 2014-04-09 上海博路信息技术有限公司 Method of sharing mobile phone positioning capability
WO2016053738A1 (en) * 2014-09-30 2016-04-07 Alibaba Group Holding Limited Wireless communication method and device
CN104469673A (en) * 2014-11-04 2015-03-25 深圳市同洲电子股份有限公司 Terminal positioning method and device
CN105704656A (en) * 2014-11-26 2016-06-22 北京海尔广科数字技术有限公司 Method and device for acquiring location information
CN105578411A (en) * 2015-12-18 2016-05-11 小米科技有限责任公司 Positioning information prompt method and device
CN107131882A (en) * 2017-04-07 2017-09-05 深圳市金立通信设备有限公司 A kind of localization method and terminal
CN108012233A (en) * 2017-12-05 2018-05-08 北京元心科技有限公司 Method and apparatus for providing location services
CN108513249A (en) * 2018-01-25 2018-09-07 广州蓝豹智能科技有限公司 Localization method, device, audio-frequence player device and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
滑坡监测的无线传感器网络定位系统设计;王波,李文田,梅倩;《计算机应用》;20120701;全文 *

Also Published As

Publication number Publication date
CN112738145A (en) 2021-04-30

Similar Documents

Publication Publication Date Title
KR101432128B1 (en) M2M platform for converting resources into abstracted device object on M2M network
CN104823163B (en) Virtual machine configuration based on metadata
JP5981662B2 (en) Method and apparatus for access authorization authentication in a wireless communication system
CN100382021C (en) Apparatus and method for providing context-aware service
CN113133086B (en) Intelligent device network distribution method and device, electronic device and storage medium
US11940778B2 (en) Method of commissioning a field device in an industrial system network
CN104937895A (en) Method and apparatus for controlling access in wireless communication system
JP2005260914A (en) Dynamic information source management
CN111224797B (en) Equipment access method and device and electronic equipment
KR20170075000A (en) Managing application relationships in machine-to-machine systems
US20130185424A1 (en) Apparatus, method and system for managing event information
CN114980302A (en) Equipment access method, equipment management method, system and computer equipment
US20140351334A1 (en) System for Dynamic Service Collaboration through Identification and Context of Plurality of Heterogeneous Devices
CN112738145B (en) Equipment positioning method and equipment
CN113766041B (en) Method, device, equipment and storage medium for acquiring Media Access Control (MAC) address of first server
CN112448869A (en) Naming method and system of intelligent household equipment and computer equipment
CN114726905B (en) Method, device, equipment and storage medium for accessing Tbox network into Android system
CN113709187B (en) Multi-server data request method, device, equipment and storage medium
US20150282121A1 (en) Local resource sharing method of machine to machine component and apparatus thereof
KR101966548B1 (en) Sensor meta data generating system for multi heterogeneous sensor network platform
CN101390074B (en) Object-oriented discovery framework
US20210149752A1 (en) Communication System
KR101734512B1 (en) System for mediating one-room based on beacon, and method for mediating one-room using the same
CN113312592B (en) Scheduling method, device and equipment of software license and storage medium
CN112765443B (en) Internet of things data query method and device based on historical operation data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40041575

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant