A method, apparatus, electronic device and medium for determining location information
By acquiring the location information of the terminal device and the distance between the image acquisition device and the engineering tool, the location of the surveillance camera is automatically determined, solving the problems of manual intervention and increased costs caused by the lack of positioning function of the camera, and realizing automatic location determination without the need for additional devices.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-08
- Publication Date
- 2026-04-03
AI Technical Summary
Existing surveillance cameras lack positioning capabilities, which necessitates manual acquisition and uploading of location information, increasing workload and costs.
By obtaining the terminal location information of the terminal device connected to the Engineering Treasure communication device, and based on the distance between the Engineering Treasure and the image acquisition device, the location information of the target image acquisition device is determined from the image acquisition device, and the location of the target image acquisition device is automatically determined using the terminal location information.
The location of the image acquisition device can be automatically determined without the need for additional positioning devices, reducing manual intervention and lowering costs.
Smart Images

Figure CN116033545B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of security technology, and in particular to a method, apparatus, electronic device and medium for determining location information. Background Technology
[0002] Currently, image acquisition devices are being used more and more widely, such as in surveillance cameras in scenarios like roads, residential areas, and indoor spaces. Surveillance cameras are generally managed by a monitoring platform, which manages the device and location information of the surveillance cameras.
[0003] Currently, cameras may not have built-in positioning capabilities and cannot automatically determine their location. The installation location information of the cameras must be manually obtained and uploaded to the monitoring platform. This method of manually obtaining and uploading camera location information is wasteful of manpower and involves a large workload. Adding a positioning device to the camera, on the other hand, would increase the camera's cost. Summary of the Invention
[0004] This application provides a method, apparatus, electronic device, and medium for determining location information, so as to automatically determine the location information of an image acquisition device without adding an additional positioning device.
[0005] According to one aspect of this application, a method for determining location information is provided, the method comprising:
[0006] Obtain the terminal location information of the terminal device that communicates with the Engineering Treasure;
[0007] Based on the distance between at least one image acquisition device connected to the Engineering Treasure communication device and the Engineering Treasure device, the target image acquisition device is determined from at least one image acquisition device;
[0008] Based on the terminal location information, the target location information of the target image acquisition device is determined.
[0009] According to another aspect of this application, a location information determining device is provided, the device comprising:
[0010] The terminal location information acquisition module is used to acquire the terminal location information of the terminal device that is connected to the Engineering Treasure communication device;
[0011] The target image acquisition device determination module is used to determine the target image acquisition device from at least one image acquisition device based on the distance between the project equipment and at least one image acquisition device connected to the project equipment via communication.
[0012] The target location information determination module is used to determine the target location information of the target image acquisition device based on the terminal location information.
[0013] According to another aspect of this application, an electronic device is provided, the device comprising:
[0014] At least one processor; and
[0015] A memory that is communicatively connected to at least one processor; wherein,
[0016] The memory stores a computer program that can be executed by at least one processor, such that the at least one processor can perform the location information determination method of any embodiment of this application.
[0017] According to another aspect of this application, a computer-readable storage medium is provided, which stores computer instructions for causing a processor to execute and implement the location information determination method of any embodiment of this application.
[0018] The technical solution of this application embodiment obtains the terminal location information of a terminal device communicatively connected to the Engineering Treasure; based on the distance between the Engineering Treasure and at least one image acquisition device communicatively connected to it, a target image acquisition device is determined from the at least one image acquisition device, thereby determining which image acquisition device's location information can be represented by the terminal location information; and based on the terminal location information, the target location information of the target image acquisition device is determined. This technical solution can determine the target location information of a target image acquisition device connected to the Engineering Treasure based on the terminal location information of the terminal device connected to it, thus automatically determining the location information of the image acquisition device even when the image acquisition device lacks positioning functionality.
[0019] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of this application, nor is it intended to limit the scope of this application. Other features of this application will become readily apparent from the following description. Attached Figure Description
[0020] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0021] Figure 1 This is a flowchart of a location information determination method according to Embodiment 1 of this application;
[0022] Figure 2 This is a flowchart of a location information determination method according to Embodiment 2 of this application;
[0023] Figure 3 This is a first flowchart illustrating a specific implementation method provided in Embodiment 2 of this application;
[0024] Figure 4 This is a second flowchart illustrating a specific implementation method provided in Embodiment 2 of this application;
[0025] Figure 5 This is a schematic diagram of a location information determination device according to Embodiment 4 of this application;
[0026] Figure 6 This is a schematic diagram of the structure of an electronic device provided in Embodiment 5 of this application. Detailed Implementation
[0027] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present application, and not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the scope of protection of the present application.
[0028] It should be noted that the terms "first," "second," "third," "fourth," "actual," "preset," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0029] Example 1
[0030] Figure 1 This is a flowchart illustrating a location information determination method provided in Embodiment 1 of this application. This embodiment is applicable to determining the location information of an image acquisition device. Typically, this embodiment is applicable to automatically determining the location information of an image acquisition device when it lacks positioning capabilities. This method can be executed by a location information determination device, which can be implemented in hardware and / or software and can be configured in an electronic device with location information determination capabilities. Figure 1As shown, the method includes:
[0031] S110. Obtain the terminal location information of the terminal device that is connected to the Engineering Treasure communication device.
[0032] The Engineering Treasure is a professional security device used for the installation and maintenance of surveillance cameras and wiring. It integrates multiple functions such as DR cable break and short circuit testing, network testing, and nighttime LED lighting, making it an essential tool for security monitoring and structured cabling projects. When a cable or control line breaks or short-circuits in the middle, engineers can quickly determine the location of the major fault using the Engineering Treasure. The terminal device can be a mobile phone, tablet, wearable device, or other device with positioning capabilities. The Engineering Treasure and the terminal device can communicate wirelessly, such as via Wi-Fi or Bluetooth. The initial connection between the terminal device and the Engineering Treasure can be achieved by the terminal device scanning the QR code on the Engineering Treasure to obtain service set identification information, or by the terminal device searching for the service set identification information, entering a password to log in to the network account, and establishing a communication connection with the Engineering Treasure. The terminal location information can be latitude and longitude. The terminal location information can be obtained through a positioning system, such as the Global Positioning System (GPS), Galileo Navigation Satellite System, or BeiDou Navigation Satellite System.
[0033] The software application in the terminal device can call the terminal location information of the terminal device obtained by the positioning system, and can transmit the terminal location information to Engineering Treasure.
[0034] S120. Based on the distance between at least one image acquisition device connected to the Engineering Treasure communication device and the Engineering Treasure, determine the target image acquisition device from at least one image acquisition device.
[0035] At least one image acquisition device can communicate via wired or wireless means. The Engineering Device can connect to multiple image acquisition devices. If the Engineering Device connects to multiple image acquisition devices, the distances between each image acquisition device and the Engineering Device are not necessarily equal; some image acquisition devices may be close to the Engineering Device, while others may be far away. Therefore, it is not appropriate to use the terminal location information of the terminal device to represent the location information of all image acquisition devices connected to the Engineering Device. It is necessary to select a target image acquisition device from among the image acquisition devices based on the distances between each image acquisition device and the Engineering Device, and then determine the target location information of the target image acquisition device based on the terminal location information of the terminal device.
[0036] In this embodiment of the application, determining the target image collector from at least one image collector based on the distance between the project device and the project device via the communication connection may include: selecting the image collector with the shortest distance to the project device as the target image collector.
[0037] Specifically, when determining the location information of the image acquisition device based on the terminal location information, or when directly using the terminal location information as the location information of the image acquisition device, the closer the terminal device and the engineering tool are to the image acquisition device, the more accurate the determined location information of the image acquisition device will be. Therefore, the image acquisition device with the shortest distance from the engineering tool is selected from at least one image acquisition device as the target image acquisition device, so that the target location information of the target image acquisition device is the most accurate when determining the location information of the image acquisition device based on the terminal location information, or when directly using the terminal location information as the location information of the image acquisition device.
[0038] In this embodiment of the application, before determining the target image collector from at least one image collector based on the distance between the project device and at least one image collector connected to the project device, the method further includes: acquiring images from at least one image collector through the project device; determining the orientation information of at least one image collector relative to the project device based on the acquired images, so that the project device holder user selects an image collector from at least one image collector and approaches the image collector, and inputs the distance between the project device and the image collector.
[0039] For example, images captured by at least one image acquisition device can be transmitted wirelessly or wired to the Engineering Device and displayed on its screen, or the Engineering Device can transmit images captured by at least one image acquisition device to a terminal device for display. The Engineering Device or the terminal device can determine the orientation information of at least one image acquisition device relative to the Engineering Device based on the image content in the captured images. Specifically, a orientation determination model can be obtained by training a model based on sample images captured by image acquisition devices located at known orientations and the known orientations. Images captured by at least one image acquisition device connected to the Engineering Device are input into the orientation determination model to determine the orientation corresponding to the captured images. The user holding the Engineering Device can select any image acquisition device and move closer to its location to shorten the distance between the image acquisition device and the Engineering Device, making them as close to each other as possible, thus making the target location information of the target image acquisition device determined by the terminal device's location information more accurate. After moving to the location of an image acquisition device, the user holding the Engineering Device inputs the distance between the Engineering Device and the image acquisition device to select a target image acquisition device from at least one image acquisition device based on the distance.
[0040] S130. Determine the target location information of the target image acquisition device based on the terminal location information.
[0041] For example, since the terminal device and the engineering tool are relatively close to the target image acquisition device, the target location information of the target image acquisition device can be determined based on the terminal's location information. This solves the problem of automatically determining the location information when the image acquisition device lacks positioning capabilities. Specifically, the terminal's location information can be directly used as the target location information of the target image acquisition device, or the terminal's location information can be corrected and used as the target location information of the target image acquisition device.
[0042] In this embodiment of the application, determining the target location information of the target image collector based on the terminal location information includes: if the distance between the target image collector and the engineering device is less than a preset distance threshold, then the terminal location information is used as the target location information of the target image collector; otherwise, the target location information of the target image collector is determined based on the distance between the target image collector and the engineering device, the orientation information of the target image collector relative to the engineering device, and the terminal location information.
[0043] The preset distance threshold can be determined based on actual conditions, for example, it can be 5 meters. If the distance between the target image acquisition device and the engineering device is less than the preset distance threshold, it is determined that the distance between the target image acquisition device and the engineering device is relatively close, and they can be approximately regarded as being in the same location. Therefore, the terminal location information can be used as the target location information of the target image acquisition device. If the distance between the target image acquisition device and the engineering device is greater than or equal to the preset distance threshold, the terminal location information is adjusted according to the distance between the target image acquisition device and the engineering device, and the orientation information of the target image acquisition device relative to the engineering device. The adjusted terminal location information is used as the target location information of the target image acquisition device. In this embodiment, it is assumed that the engineering device and the terminal device are located in the same location, and the terminal location information of the terminal device is the location information of the engineering device. The target location information of the target image acquisition device can be calculated based on the orientation of the target image acquisition device relative to the engineering device, the distance between the target image acquisition device and the engineering device, and the location information of the engineering device.
[0044] An embodiment of the present application provides a method for determining location information, which includes obtaining the terminal location information of a terminal device communicatively connected to an engineering tool; determining a target image collector from at least one image collector based on the distance between at least one image collector communicatively connected to the engineering tool and the engineering tool, so as to determine which image collector's location information can be represented by the terminal location information, and determining the target location information of the target image collector according to the terminal location information. With this technical solution, the target location information of the target image collector connected to the engineering tool can be determined based on the terminal location information of the terminal device connected to the engineering tool, so as to automatically determine the location information of the image collector when the image collector does not have a positioning function.
[0045] Embodiment 2
[0046] Figure 2 The following is a flowchart of a method for determining location information provided in Embodiment 2 of the present application. This embodiment of the present application is optimized based on the above embodiment. For solutions not described in detail in this embodiment of the present application, refer to the above embodiment. As Figure 2 shown, the method of this embodiment of the present application specifically includes the following steps:
[0047] S210. Control the engineering tool and the terminal device to establish a communication connection through a preset communication method; where the signal transmission distance of the preset communication method is less than a preset distance.
[0048] Exemplarily, if the distance between the engineering tool and the terminal device is relatively far, it may lead to inaccurate determination of the target location information of the target image collector based on the terminal location information of the terminal device. Therefore, the engineering tool and the terminal device can be first made to establish a communication connection through a preset communication method, and the signal transmission distance of the preset communication method is less than a preset distance. If the connection is successful, it is determined that the distance between the engineering tool and the terminal device is less than the preset distance, that is, the distance is relatively close. Otherwise, it is determined that the distance between the engineering tool and the terminal device is greater than or equal to the preset distance, that is, the distance is relatively far, and it is not suitable to determine the target location information of the target image collector based on the terminal location information of the terminal device at this time. The preset distance can be 10 meters. The preset communication method can be a Bluetooth communication method.
[0049] S220 Determine whether the engineering tool and the terminal device are successfully connected through the preset communication method. If so, execute S240 - S260; if not, execute S23O - S260.
[0050] S230. Send a prompt message to the user holding the terminal device to prompt the user holding the terminal device to move the terminal device in the direction closer to the engineering tool until the engineering tool and the terminal device are successfully connected through the preset communication method.
[0051] In this embodiment, if the engineering device and the terminal device fail to connect via a preset communication method, it is determined that the distance between the engineering device and the terminal device is greater than or equal to a preset distance, meaning the distance is too far, and it is not suitable to determine the target location information of the target image collector based on the terminal device's location information at this time. Therefore, a prompt message can be sent to the user holding the terminal device, prompting the user to move closer to the engineering device until the engineering device and the terminal device successfully connect via the preset communication method, indicating that the distance between the engineering device and the terminal device is less than the preset distance, meaning the distance is too close.
[0052] S240. Obtain the terminal location information of the terminal device that is connected to the Engineering Treasure communication device.
[0053] S250. Based on the distance between at least one image acquisition device connected to the Engineering Treasure communication device and the Engineering Treasure, determine the target image acquisition device from at least one image acquisition device.
[0054] S260. Determine the target location information of the target image acquisition device based on the terminal location information.
[0055] This application provides a method for determining location information. The method controls the engineering device and the terminal device to communicate via a preset communication method. It determines whether the engineering device and the terminal device have successfully connected via the preset communication method. If so, it determines the target location information of the target image collector based on the terminal device's location information. If not, it sends a prompt message to the user holding the terminal device, thereby causing the terminal device to move closer to the engineering device. This improves the accuracy of determining the target location information of the target image collector based on the terminal device's location information.
[0056] In this embodiment of the application, in addition to controlling the engineering device and the terminal device to connect through a preset communication method, the engineering device and the terminal can also be controlled to connect through Wi-Fi in order to transmit the images collected by the image acquisition device through Wi-Fi.
[0057] In this embodiment of the application, the method further includes: if the positioning signal strength of the terminal device is less than a preset threshold, sending a reminder message to the user holding the terminal device to prompt the user to move the terminal device until the positioning signal strength of the terminal device is greater than or equal to the preset threshold; the positioning signal is used to determine the location information of the terminal device; the orientation information and distance of the terminal device relative to the engineering device are obtained through the sensing device in the engineering device, the location information of the terminal device is adjusted, and the adjusted location information is used as the target location information of the target image acquisition device.
[0058] The preset threshold can be determined based on actual conditions. If the positioning signal strength of the terminal device is less than the preset threshold, the terminal device may be located indoors, in mountains, or other locations where the signal may be blocked. Therefore, a reminder message can be sent to the user holding the terminal device, prompting them to move the terminal device until it is moved to an open, spacious location so that the positioning signal strength of the terminal device is greater than or equal to the preset threshold. The distance between the engineering device and the terminal device, as well as the orientation information of the terminal device relative to the engineering device, can be obtained through the sensors in the engineering device. Based on this information, the terminal position information can be adjusted. That is, based on the distance between the engineering device and the terminal device, the orientation information of the terminal device relative to the engineering device, and the terminal position information, the target position information of the target image acquisition device can be calculated, thereby improving the accuracy of the target position information.
[0059] In this embodiment of the application, after determining the target location information of the target image collector based on the terminal location information, the method further includes: transmitting the target location information of the target image collector to the target image collector through the engineering tool; writing the target location information into the screen display menu through the target image collector; and / or sending the target location information and the device information of the target image collector to the management server.
[0060] For example, such as Figure 3 As shown, the target location information of the image acquisition device can be transmitted to the target image acquisition device via the Engineering Tool. The target image acquisition device then writes the target location information into the screen display menu for easy viewing. Alternatively, the Engineering Tool or the target image acquisition device can send the target location information to the management server for management.
[0061] In this embodiment of the application, after determining the target location information of the target image collector based on the terminal location information, the method further includes: obtaining the device information of the target image collector through the Engineering Tool; and sending the device information and the target location information to the management server through the Engineering Tool.
[0062] For example, such as Figure 4As shown, the Engineering Pro can obtain device information of the target image acquisition device. Specifically, it can obtain the barcode information of the target image acquisition device and extract the device information from the barcode. Alternatively, the terminal device can scan the target image acquisition device to obtain its barcode information and send it to the Engineering Pro, which then extracts the device information. The device information may include the target image acquisition device type, supplementary lighting information, lens information, etc. The Engineering Pro also obtains the terminal location information from the terminal device and sends both the device information and the terminal location information to the management server for management.
[0063] Example 3
[0064] Figure 5 This is a schematic diagram of a location information determination device provided in Embodiment 3 of this application. This device can execute the location information determination method provided in any embodiment of this application, and possesses the corresponding functional modules and beneficial effects of the method. For example... Figure 5 As shown, the device includes:
[0065] The terminal location information acquisition module 310 is used to acquire the terminal location information of the terminal device that is connected to the Engineering Treasure communication device.
[0066] The target image acquisition device determination module 320 is used to determine the target image acquisition device from at least one image acquisition device based on the distance between the project equipment and at least one image acquisition device connected to the project equipment via communication.
[0067] The target location information determination module 330 is used to determine the target location information of the target image acquisition device based on the terminal location information.
[0068] In this embodiment of the application, the device further includes:
[0069] An image acquisition module is used to acquire images from at least one image acquisition device through the engineering tool.
[0070] The orientation information determination module is used to determine the orientation information of at least one image acquisition device relative to the engineering device based on the acquired image, so that the user holding the engineering device can select one of the at least one image acquisition device and move closer to the image acquisition device, and input the distance between the engineering device and the image acquisition device.
[0071] In this embodiment of the application, the target location information determination module 330 includes:
[0072] The first determining unit is configured to use the terminal location information as the target location information of the target image collector if the distance between the target image collector and the engineering device is less than a preset distance threshold.
[0073] The second determining unit is used to otherwise determine the target position information of the target image collector based on the distance between the target image collector and the engineering device, the orientation information of the target image collector relative to the engineering device, and the terminal position information.
[0074] In this embodiment of the application, the device further includes:
[0075] The control module is used to control the engineering device and the terminal device to communicate via a preset communication method; wherein the signal transmission distance of the preset communication method is less than a preset distance.
[0076] The prompt message sending module is used to send a prompt message to the user holding the terminal device if the engineering device and the terminal device fail to connect successfully through a preset communication method, so as to prompt the user holding the terminal device to move the terminal device closer to the engineering device until the engineering device and the terminal device successfully connect through the preset communication method.
[0077] In this embodiment of the application, the device further includes:
[0078] The reminder information sending module is used to send a reminder information to the user holding the terminal device if the positioning signal strength of the terminal device is less than a preset threshold, so as to prompt the user holding the terminal device to move the terminal device until the positioning signal strength of the terminal device is greater than or equal to the preset threshold; wherein, the positioning signal is used to determine the location information of the terminal device;
[0079] The adjustment module is used to obtain the orientation information and distance of the terminal device relative to the engineering device through the sensing device in the engineering device, adjust the position information of the terminal device, and use the adjusted position information as the target position information of the target image acquisition device.
[0080] In this embodiment of the application, the device further includes:
[0081] The transmission module is used to transmit the target location information of the target image acquisition device to the target image acquisition device via the engineering device;
[0082] The writing module is used to write the target location information into the screen display menu through the target image acquisition device, and / or send the target location information and the device information of the target image acquisition device to the management server.
[0083] In this embodiment of the application, the device further includes:
[0084] The device information acquisition module is used to acquire the device information of the target image acquisition device through the engineering tool;
[0085] The sending module is used to send the device information and the target location information to the management server through the engineering tool.
[0086] The location information determination device provided in this application embodiment can execute a location information determination method provided in any embodiment of this application, and has the corresponding functional modules and beneficial effects of executing the method.
[0087] Example 4
[0088] Figure 6 A schematic diagram of an electronic device 10, which can be used to implement embodiments of this application, is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (such as helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the application described and / or claimed herein.
[0089] like Figure 6 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 may also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0090] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0091] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as the location information determination method.
[0092] In some embodiments, the location information determination method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the location information determination method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the location information determination method by any other suitable means (e.g., by means of firmware).
[0093] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0094] Computer programs used to implement the methods of this application may be written in any combination of one or more programming languages. These computer programs may be provided to the processor of a general-purpose computer, a special-purpose computer, or other programmable location information determining device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be implemented. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0095] In the context of this application, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium can be, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium can be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0096] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0097] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0098] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0099] It should be understood that the various forms of processes shown above can be used to rearrange, add, or delete steps. For example, the steps described in this application can be executed in parallel, sequentially, or in different orders, as long as the desired information of the technical solution of this application can be achieved, and this is not limited herein.
[0100] The specific embodiments described above do not constitute a limitation on the scope of protection of this application. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this application should be included within the scope of protection of this application.
Claims
1. A method for determining location information, characterized in that, The method includes: Obtain the terminal location information of the terminal device that communicates with the Engineering Treasure; Based on the distance between at least one image acquisition device connected to the Engineering Treasure communication device and the Engineering Treasure, the target image acquisition device is determined from at least one image acquisition device; Based on the terminal location information, the target location information of the target image acquisition device is determined; The method further includes: If the terminal device is located in a location with signal obstruction and the location signal strength of the terminal device is less than a preset threshold, a reminder message is sent to the user holding the terminal device to prompt the user to move the terminal device until the location signal strength of the terminal device is greater than or equal to the preset threshold; wherein, the location signal is used to determine the location information of the terminal device; The location and distance of the terminal device relative to the engineering device are obtained by the sensing device in the engineering device, the position information of the terminal device is adjusted, and the adjusted position information is used as the target position information of the target image acquisition device.
2. The method according to claim 1, characterized in that, Before determining the target image collector from at least one image collector based on the distance between the project device and the project device via communication, the method further includes: The engineering tool acquires images from at least one image acquisition device; Based on the acquired images, the orientation information of at least one image acquisition device relative to the engineering device is determined, so that the user holding the engineering device can select one of the at least one image acquisition devices and move closer to it, and input the distance between the engineering device and the image acquisition device.
3. The method according to claim 1, characterized in that, Based on the terminal location information, the target location information of the target image acquisition device is determined, including: If the distance between the target image collector and the engineering device is less than a preset distance threshold, then the terminal location information is used as the target location information of the target image collector. Otherwise, the target position information of the target image collector is determined based on the distance between the target image collector and the engineering device, the orientation information of the target image collector relative to the engineering device, and the terminal position information.
4. The method according to claim 1, characterized in that, The method further includes: The control unit and the terminal device communicate with each other through a preset communication method; wherein the signal transmission distance of the preset communication method is less than a preset distance; If the engineering device and the terminal device fail to connect successfully through the preset communication method, a prompt message is sent to the user holding the terminal device, prompting the user to move the terminal device closer to the engineering device until the engineering device and the terminal device successfully connect through the preset communication method.
5. The method according to claim 1, characterized in that, After determining the target location information of the target image acquisition device based on the terminal location information, the method further includes: The target location information of the target image acquisition device is transmitted to the target image acquisition device through the engineering tool; The target location information is written into the screen display menu by the target image acquisition device, and / or the target location information and the device information of the target image acquisition device are sent to the management server.
6. The method according to claim 1, characterized in that, After determining the target location information of the target image acquisition device based on the terminal location information, the method further includes: The device information of the target image acquisition device is obtained through the engineering tool; The engineering tool sends the device information and the target location information to the management server.
7. A location information determining device, characterized in that, The device includes: The terminal location information acquisition module is used to acquire the terminal location information of the terminal device that is connected to the Engineering Treasure communication device; The target image acquisition device determination module is used to determine the target image acquisition device from at least one image acquisition device based on the distance between the project equipment and at least one image acquisition device connected to the project equipment via communication. The target location information determination module is used to determine the target location information of the target image acquisition device based on the terminal location information; The device further includes: The reminder information sending module is used to send a reminder information to the user holding the terminal device if the terminal device is located in a location with signal obstruction and the positioning signal strength of the terminal device is less than a preset threshold, so as to prompt the user holding the terminal device to move the terminal device until the positioning signal strength of the terminal device is greater than or equal to the preset threshold; wherein, the positioning signal is used to determine the location information of the terminal device; The adjustment module is used to obtain the orientation information and distance of the terminal device relative to the engineering device through the sensing device in the engineering device, adjust the position information of the terminal device, and use the adjusted position information as the target position information of the target image acquisition device.
8. An electronic device, characterized in that, The device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the location information determination method according to any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that cause a processor to execute the location information determination method according to any one of claims 1-6.
Citation Information
Patent Citations
Geographical location information configuration method and system of security and protection device
CN103888739A