Method and device for displaying monitoring equipment in electronic map

By displaying monitoring equipment on electronic maps, the problem that traditional video surveillance systems are difficult to visually display the location of the equipment is solved, and the user experience is improved, especially in equipment-intensive areas.

CN119484769APending Publication Date: 2025-02-18E SURFING VISION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411580015.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-07
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

Traditional video surveillance systems have difficulty in visually displaying device locations, especially among users with a large number of devices, which affects the user experience.

Method used

By obtaining the positioning information of the terminal device, reading the default value of the zoom level of the electronic map, monitoring the changes in the map display area. If the zoom level reaches or exceeds the default value, request monitoring device data from the platform and display it in the electronic form as a mark On the map.

Benefits of technology

It realizes that when users operate the map, they can intuitively display the monitoring equipment in the current area, improving the user experience, especially in equipment-intensive areas.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119484769A_ABST
    Figure CN119484769A_ABST
Patent Text Reader

Abstract

The invention relates to a method and device for displaying monitoring equipment in an electronic map, and belongs to the technical field of monitoring equipment, and the method comprises the steps: obtaining the positioning information of terminal equipment, and displaying the position of the terminal equipment and a peripheral area; reading a default value of the zoom level of the electronic map of the terminal equipment; monitoring whether the display area of the electronic map is changed or not, and judging the size of the zoom level of the current electronic map of the terminal equipment and the default value of the zoom level of the electronic map; if the monitoring result is that the display area of the electronic map is changed and the judgment result is that the zoom level of the current electronic map is greater than or equal to the default value of the zoom level of the electronic map, requesting monitoring equipment data from a platform; the monitoring equipment is displayed on the electronic map in a marked mode; wherein the step of requesting the monitoring equipment data from the platform comprises the step of requesting the equipment code and the equipment name of the monitoring equipment from the platform in a data paging loading mode. According to the invention, the monitoring equipment in the current area of the electronic map is visually displayed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of display monitoring equipment, and in particular relates to a method and device for displaying monitoring equipment in an electronic map. Background Art

[0002] In recent years, the advantages of digital and networked video surveillance systems over traditional CCTV systems have become increasingly obvious. Their high degree of standardization, openness, integration and flexibility have provided a broader development space for the entire security industry. Among them, intelligent video surveillance is one of the cutting-edge application development directions in the field of networked video surveillance.

[0003] Traditional video surveillance systems only reflect the video surveillance devices owned by users through a directory tree, and the location of the devices cannot be seen intuitively. In order to achieve this function, it is required to combine the system map to achieve this demand, and at the same time, it is also necessary to meet the performance requirements. Especially for users with a large number of devices, there are a large number of devices in the same area, and the user experience is very important. When users operate the map, it is necessary to be able to respond quickly to the user's operation and display the device on the map in a timely manner, so as not to affect the user experience. Summary of the invention

[0004] In view of the above deficiencies in the prior art, the purpose of the invention is to provide a method and device for displaying monitoring equipment in an electronic map, which can intuitively display the monitoring equipment in the current area of ​​the electronic map when the user operates the map, thereby improving the user experience.

[0005] A first aspect of the present invention provides a method for displaying monitoring equipment in an electronic map, comprising:

[0006] Obtain the location information of the terminal device and display the location of the terminal device and the surrounding area;

[0007] Read the default value of the zoom level of the electronic map of the terminal device;

[0008] Monitor whether the electronic map display area changes, and determine the size of the current electronic map zoom level of the terminal device and the default value of the electronic map zoom level;

[0009] If the monitoring result is that the electronic map display area has changed and the judgment result is that the current electronic map zoom level of the terminal device is greater than or equal to the default value of the electronic map zoom level, request the platform for monitoring device data;

[0010] Display monitoring equipment on the electronic map in the form of markers;

[0011] Requesting the platform for monitoring device data includes: requesting the platform for the device code and device name of the monitoring device by way of data paging loading.

[0012] Furthermore, the above method for displaying monitoring equipment in an electronic map further includes:

[0013] If the monitoring result is that the electronic map display area has changed and the judgment result is that the current zoom level of the electronic map of the terminal device is greater than or equal to the default value of the zoom level of the electronic map;

[0014] Recalculate the latitude and longitude information within the display range;

[0015] Request monitoring equipment data from the platform according to the latitude and longitude information.

[0016] Furthermore, the above method for displaying monitoring equipment in an electronic map further includes:

[0017] Determine whether the basic information of the monitoring device in the monitoring device data requested this time is consistent with the basic information of the monitoring device in the monitoring device data requested last time;

[0018] If the result of the judgment is that the basic information of the monitoring device in the monitoring device data requested this time is inconsistent with the basic information of the monitoring device in the monitoring device data requested last time, it is judged whether there is a new device in the monitoring device data;

[0019] If the judgment result is that there is a new device in the monitoring device data, the monitoring device data is updated;

[0020] Call the aggregation algorithm to refresh the monitoring device marks on the electronic map.

[0021] Furthermore, in the above method for displaying monitoring equipment on an electronic map, displaying the monitoring equipment on the electronic map in the form of a mark further comprises:

[0022] Determining whether there are multiple monitoring devices in the first area;

[0023] If the determination result is that there are multiple monitoring devices in the first area, determining whether the multiple monitoring devices overlap;

[0024] If the judgment result is that multiple monitoring devices overlap, the multiple monitoring devices are aggregated into one mark.

[0025] Furthermore, in the above method for displaying monitoring equipment in an electronic map, after requesting monitoring equipment data from the platform, the method includes:

[0026] Save the device code and device name of the monitoring device to the memory;

[0027] Query device details through device code;

[0028] Use the device code as the key and the device details corresponding to the device code as the value and save them locally.

[0029] Furthermore, the above method for displaying monitoring equipment in an electronic map further includes:

[0030] When a single monitoring device tag receives a user operation, the detailed information of the monitoring device is queried through the device code corresponding to the single monitoring device, and the detailed information of the monitoring device is displayed;

[0031] When the aggregated monitoring device tag receives the user's operation, the detailed information of the monitoring device is queried through the device code corresponding to the aggregated monitoring device, and a list of monitoring devices is displayed.

[0032] Furthermore, the above method for displaying monitoring equipment in an electronic map further includes:

[0033] Determine whether the basic information of the monitoring device in the monitoring device data requested this time is consistent with the basic information of the monitoring device in the monitoring device data requested last time;

[0034] If the result of the judgment is that the basic information of the monitoring device in the monitoring device data requested this time is inconsistent with the basic information of the monitoring device in the monitoring device data requested last time, it is judged whether there is a new device in the monitoring device data and the size of the zoom level of the current electronic map of the terminal device and the zoom level of the last electronic map;

[0035] If the result of the judgment is that there is no new device in the monitoring device data and the zoom level of the current electronic map of the terminal device is different from the zoom level of the last electronic map;

[0036] Call the aggregation algorithm to refresh the monitoring device marks on the electronic map.

[0037] A second aspect of the present invention further provides a device for displaying monitoring equipment in an electronic map, comprising:

[0038] Acquisition module: used to obtain the positioning information of the terminal device and display the location of the terminal device and the surrounding area;

[0039] Reading module: used to read the default value of the zoom level of the electronic map of the terminal device;

[0040] The judgment module is used to monitor whether the electronic map display area changes, and to judge the size of the current electronic map zoom level of the terminal device and the default value of the electronic map zoom level;

[0041] Request module: used to request monitoring device data from the platform if the monitoring result is that the electronic map display area has changed and the judgment result is that the current electronic map zoom level of the terminal device is greater than or equal to the default value of the electronic map zoom level;

[0042] Display module: used to display the monitoring equipment on the electronic map in the form of marks;

[0043] Requesting the platform for monitoring device data includes: requesting the platform for the device code and device name of the monitoring device by way of data paging loading.

[0044] According to a third aspect of the present invention, an electronic device is provided, comprising: a processor and a memory;

[0045] The processor is used to execute any one of the above methods for displaying monitoring equipment in an electronic map by calling the program or instruction stored in the memory.

[0046] In a fourth aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a program or instruction, wherein the program or instruction enables a computer to execute any one of the above methods for displaying monitoring equipment in an electronic map.

[0047] The beneficial effects of the present invention are as follows: the present invention displays the location of the terminal device and the surrounding area by acquiring the positioning information of the terminal device; reads the default value of the zoom level of the electronic map of the terminal device; monitors whether the display area of ​​the electronic map changes, and determines the size of the zoom level of the current electronic map of the terminal device and the default value of the zoom level of the electronic map; if the monitoring result is that the display area of ​​the electronic map changes and the judgment result is that the zoom level of the current electronic map of the terminal device is greater than or equal to the default value of the zoom level of the electronic map, requesting monitoring device data from the platform; displaying the monitoring device on the electronic map in the form of a mark; wherein requesting monitoring device data from the platform includes: requesting the device code and device name of the monitoring device from the platform by means of data paging loading. When the user operates the map, the present invention can intuitively display the monitoring devices in the current area of ​​the electronic map, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] The accompanying drawings are only used to illustrate specific embodiments and are not considered to limit the present invention. In the entire drawings, the same reference symbols represent the same components. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present invention. For those of ordinary skill in the art, other drawings can also be obtained based on these drawings.

[0049] Figure 1 A method for displaying monitoring equipment in an electronic map provided by an embodiment of the present invention Figure 1 ;

[0050] Figure 2 A method for displaying monitoring equipment in an electronic map provided by an embodiment of the present invention Figure 2 ;

[0051] Figure 3 A method for displaying monitoring equipment in an electronic map provided by an embodiment of the present invention Figure 3 ;

[0052] Figure 4 A method diagram of displaying monitoring equipment on an electronic map in the form of a mark provided by an embodiment of the present invention;

[0053] Figure 5 A method for displaying monitoring equipment in an electronic map provided by an embodiment of the present invention Figure 4 ;

[0054] Figure 6 A diagram of a device for displaying monitoring equipment in an electronic map provided by an embodiment of the present invention;

[0055] Figure 7 A schematic block diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0056] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, the technical solutions of the present invention will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all of the embodiments. It should be understood that these descriptions are only exemplary and are not intended to limit the scope of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in the field without making creative work should fall within the scope of protection of the present invention.

[0057] Furthermore, in the following description, descriptions of well-known structures and technologies are omitted to avoid unnecessarily obscuring the concepts disclosed in the present invention.

[0058] In the description of the present invention, the terms "first", "second", and "third" are used for descriptive purposes only and should not be understood as indicating or implying relative importance. The terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be internal communication between two components. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0059] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of methods and systems consistent with some aspects of the present invention as detailed in the appended claims.

[0060] The present invention proposes a method, device, electronic device and storage medium for displaying monitoring equipment in an electronic map. When a user operates the map, the monitoring equipment in the current area of ​​the electronic map can be intuitively displayed, thereby improving the user experience.

[0061] Method Embodiment

[0062] Figure 1 A method for displaying monitoring equipment in an electronic map provided by an embodiment of the present invention Figure 1 .

[0063] In a first aspect of the present invention, a method for displaying monitoring equipment in an electronic map is provided, combining Figure 1 , including five steps from S1 to S5:

[0064] S1: Obtain the positioning information of the terminal device and display the location of the terminal device and the surrounding area.

[0065] Specifically, in an embodiment of the present invention, the terminal device may be a mobile phone or a terminal device integrated in a vehicle. The positioning information of the terminal device may be obtained by obtaining the longitude and latitude of the terminal device through the positioning API capability of the terminal device. The location of the terminal device and the surrounding area may be displayed by utilizing the map provided by the terminal device system, such as the map SDK provided by the iOS system, to display the current location of the terminal device and its surrounding area.

[0066] S2: Read the default value of the zoom level of the electronic map of the terminal device.

[0067] Specifically, in an embodiment of the present invention, the electronic map of the terminal device may be an electronic map APP, such as Amap and Baidu Map. The default value of the zoom level of the electronic map can be set by the user. For example, if it is set to 19, the default value of the zoom level of the electronic map of the terminal device is read as 19.

[0068] The specific steps of setting the default value of the electronic map zoom level include: receiving a user's setting operation to set the electronic map zoom level, displaying the electronic map zoom level list, receiving a user's selection operation to select the electronic map zoom level, and receiving a user's storage operation to store the electronic map zoom level.

[0069] S3: monitoring whether the electronic map display area changes, and determining the size of the current electronic map zoom level of the terminal device and the default value of the electronic map zoom level;

[0070] Specifically, in the embodiment of the present invention, the electronic map API is used to monitor whether the electronic map display area changes, and the size of the current electronic map zoom level of the terminal device and the default value of the electronic map zoom level is determined.

[0071] S4: If the monitoring result is that the electronic map display area has changed and the judgment result is that the current zoom level of the electronic map of the terminal device is greater than or equal to the default value of the zoom level of the electronic map, request the platform for monitoring device data;

[0072] Specifically, in the embodiment of the present invention, if the monitoring result is that the electronic map display area changes and the judgment result is that the current electronic map zoom level of the terminal device is greater than or equal to the default value of the electronic map zoom level, the platform is requested to monitor device data.

[0073] S5: Display the monitoring equipment on the electronic map in the form of a mark.

[0074] Specifically, in the embodiment of the present invention, after requesting the platform for monitoring device data and obtaining the device code and device name, the monitoring device is displayed on the electronic map in the form of a mark.

[0075] Requesting the platform for monitoring device data includes: requesting the platform for the device code and device name of the monitoring device by way of data paging loading.

[0076] Specifically, in an embodiment of the present invention, the monitoring device data is requested from the platform by loading data in pages. The platform will return an indicator to indicate whether there is any more data. If there is any data, the next page of data request will be continued, and silent loading will be adopted so that the user will not be aware of the operation.

[0077] Figure 2 A method for displaying monitoring equipment in an electronic map provided by an embodiment of the present invention Figure 2 .

[0078] Furthermore, the above method for displaying monitoring equipment in an electronic map is combined with Figure 2 , and also includes three steps S21 to S23:

[0079] S21: If the monitoring result is that the electronic map display area has changed and the judgment result is that the current zoom level of the electronic map of the terminal device is greater than or equal to the default value of the zoom level of the electronic map;

[0080] S22: recalculate the longitude and latitude information within the display range;

[0081] S23: Request monitoring device data from the platform according to the latitude and longitude information.

[0082] Specifically, in an embodiment of the present invention, if the monitoring result is that the electronic map display area has changed and the judgment result is that the current zoom level of the electronic map of the terminal device is greater than or equal to the default value of the zoom level of the electronic map, the longitude and latitude information within the display range of the electronic map is recalculated. The longitude and latitude information here refers to the longitude and latitude of the upper left corner, upper right corner, lower left corner, and lower right corner of the display range.

[0083] Figure 3 A method for displaying monitoring equipment in an electronic map provided by an embodiment of the present invention Figure 3 .

[0084] Furthermore, the above method for displaying monitoring equipment in an electronic map is combined with Figure 3 , also includes:

[0085] S31: Determine whether the basic information of the monitoring device in the monitoring device data requested this time is consistent with the basic information of the monitoring device in the monitoring device data requested last time;

[0086] S32: If the result of the determination is that the basic information of the monitoring device in the monitoring device data requested this time is inconsistent with the basic information of the monitoring device in the monitoring device data requested last time, determine whether there is a new device in the monitoring device data;

[0087] S33: If the result of the determination is that there is a new device in the monitoring device data, the monitoring device data is updated;

[0088] S34: Calling an aggregation algorithm to refresh the monitoring device mark on the electronic map.

[0089] Specifically, in an embodiment of the present invention, when the judgment result is that the basic information of the monitoring device in the monitoring device data requested this time is inconsistent with the basic information of the monitoring device in the monitoring device data requested last time, it is further judged whether there are new devices in the monitoring device data. If the judgment result is that there are new devices in the monitoring device data, the monitoring device data is updated; and the aggregation algorithm is called to refresh the monitoring device marks on the electronic map.

[0090] Figure 4 A method diagram of displaying monitoring equipment on an electronic map in the form of marks is provided in an embodiment of the present invention.

[0091] Furthermore, in the above method for displaying monitoring equipment on an electronic map, the monitoring equipment is displayed on the electronic map in the form of a mark, combined with Figure 4 , and also includes three steps S41 to S43:

[0092] S41: Determine whether there are multiple monitoring devices in the first area;

[0093] S42: If the determination result is that there are multiple monitoring devices in the first area, determine whether the multiple monitoring devices overlap;

[0094] S43: If the judgment result is that multiple monitoring devices overlap, the multiple monitoring devices are aggregated into one mark.

[0095] Specifically, in the embodiment of the present invention, the first area may be any limited area within the display range of the electronic map. When there are multiple monitoring devices in the first area and there is overlap, the multiple monitoring devices are aggregated into one mark for display.

[0096] Furthermore, in the above method for displaying monitoring equipment in an electronic map, after requesting monitoring equipment data from the platform, the method includes:

[0097] Save the device code and device name of the monitoring device to the memory;

[0098] Query device details through device code;

[0099] Use the device code as the key and the device details corresponding to the device code as the value and save them locally.

[0100] Specifically, in an embodiment of the present invention, after requesting monitoring device data from the platform, the device code and device name of the monitoring device are obtained, the device code and device name of the monitoring device are saved to the memory, and the device details are batch queried through the device code set, with the device code as the key and the device details information as the value, and saved locally.

[0101] In some embodiments, if the monitoring device details are available locally, the device detail information is no longer requested.

[0102] Furthermore, the above method for displaying monitoring equipment in an electronic map further includes:

[0103] When a single monitoring device tag receives a user operation, the detailed information of the monitoring device is queried through the device code corresponding to the single monitoring device, and the detailed information of the monitoring device is displayed;

[0104] When the aggregated monitoring device tag receives the user's operation, the detailed information of the monitoring device is queried through the device code corresponding to the aggregated monitoring device, and a list of monitoring devices is displayed.

[0105] Specifically, in an embodiment of the present invention, when a user clicks to operate a single monitoring device mark, local data is queried through the device code of the monitoring device, and detailed information of the monitoring device is displayed; when a user clicks to operate an aggregated monitoring device mark, a list of monitoring devices is displayed, and the user can view all monitoring devices intuitively, and clicks on one of the items in the monitoring device list to display detailed information of the corresponding monitoring device.

[0106] Figure 5 A method for displaying monitoring equipment in an electronic map provided by an embodiment of the present invention Figure 4 .

[0107] Furthermore, the above method for displaying monitoring equipment in an electronic map is combined with Figure 5 , and also includes four steps S51 to S54:

[0108] S51: Determine whether the basic information of the monitoring device in the monitoring device data requested this time is consistent with the basic information of the monitoring device in the monitoring device data requested last time;

[0109] S52: If the result of the determination is that the basic information of the monitoring device in the monitoring device data requested this time is inconsistent with the basic information of the monitoring device in the monitoring device data requested last time, determine whether there is a new device in the monitoring device data and the difference between the zoom level of the current electronic map of the terminal device and the zoom level of the last electronic map;

[0110] S53: If the result of the determination is that there is no newly added device in the monitoring device data and the zoom level of the current electronic map of the terminal device is different from the zoom level of the last electronic map;

[0111] S54: Calling an aggregation algorithm to refresh the monitoring device mark on the electronic map.

[0112] Specifically, in an embodiment of the present invention, when the judgment result is that the basic information of the monitoring device in the monitoring device data requested this time is inconsistent with the basic information of the monitoring device in the monitoring device data requested last time, it is further judged whether there are new devices in the monitoring device data. If the judgment result is that there are no new devices in the monitoring device data; it is further judged whether the zoom level of the current electronic map of the terminal device is different from the zoom level of the last electronic map. When the zoom level of the current electronic map is different from the zoom level of the last electronic map, the aggregation algorithm is called to refresh the monitoring device mark on the electronic map.

[0113] Device Embodiment

[0114] Figure 6 A diagram of a device for displaying monitoring equipment in an electronic map provided by an embodiment of the present invention.

[0115] In a second aspect of the present invention, a device for displaying monitoring equipment in an electronic map is provided, Figure 6 ,include:

[0116] Acquisition module 61: used to acquire the positioning information of the terminal device and display the location of the terminal device and the surrounding area.

[0117] Specifically, in the embodiment of the present invention, the terminal device can be a mobile phone or a terminal device integrated in a vehicle. The acquisition module 61 can obtain the positioning information of the terminal device by obtaining the longitude and latitude of the terminal device through the terminal device positioning API capability. The location of the terminal device and the surrounding area can be displayed by using the map provided by the terminal device system, such as the map SDK provided by the iOS system, to display the current location of the terminal device and its surrounding area.

[0118] The reading module 62 is used to read the default value of the zoom level of the electronic map of the terminal device.

[0119] Specifically, in an embodiment of the present invention, the electronic map of the terminal device may be an electronic map APP, such as Amap and Baidu Map. The default value of the zoom level of the electronic map can be set by the user. For example, if it is set to 19, the reading module 62 reads the default value 19 of the zoom level of the electronic map of the terminal device.

[0120] The judgment module 63 is used to monitor whether the electronic map display area changes, and to judge the size of the current electronic map zoom level of the terminal device and the default value of the electronic map zoom level.

[0121] Specifically, in the embodiment of the present invention, the determination module 63 monitors whether the electronic map display area changes through the electronic map API, and determines the size of the current electronic map zoom level of the terminal device and the default value of the electronic map zoom level.

[0122] Request module 64: for requesting monitoring device data from the platform if the monitoring result is that the electronic map display area has changed and the judgment result is that the current electronic map zoom level of the terminal device is greater than or equal to the default value of the electronic map zoom level.

[0123] Specifically, in the embodiment of the present invention, if the monitoring result is that the electronic map display area changes and the judgment result is that the current electronic map zoom level of the terminal device is greater than or equal to the default value of the electronic map zoom level, the request module 64 requests the platform for monitoring device data.

[0124] Display module 65: used to display the monitoring equipment on the electronic map in the form of a mark.

[0125] Specifically, in the embodiment of the present invention, after requesting the platform for monitoring device data and obtaining the device code and device name, the display module 65 displays the monitoring device in the form of a mark on the electronic map.

[0126] Requesting the platform for monitoring device data includes: requesting the platform for the device code and device name of the monitoring device by way of data paging loading.

[0127] Specifically, in an embodiment of the present invention, the monitoring device data is requested from the platform by loading data in pages. The platform will return an indicator to indicate whether there is any more data. If there is any data, the next page of data request will be continued, and silent loading will be adopted so that the user will not be aware of the operation.

[0128] According to a third aspect of the present invention, an electronic device is provided, comprising: a processor and a memory;

[0129] The processor is used to execute any one of the above methods for displaying monitoring equipment in an electronic map by calling the program or instruction stored in the memory.

[0130] In a fourth aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a program or instruction, wherein the program or instruction enables a computer to execute any one of the above methods for displaying monitoring equipment in an electronic map.

[0131] Figure 7 It is a schematic block diagram of an electronic device provided by an embodiment of the present invention.

[0132] like Figure 7 As shown, the electronic device includes: at least one processor 701, at least one memory 702 and at least one communication interface 703. The various components in the electronic device are coupled together through a bus system 704. The communication interface 703 is used to transmit information between external devices. It can be understood that the bus system 704 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 704 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Figure 7 Various buses are labeled as bus system 704 .

[0133] It can be understood that the memory 702 in this embodiment can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories.

[0134] In some implementations, the memory 702 stores the following elements, executable units or data structures, or a subset thereof, or an extended set thereof: an operating system and application programs.

[0135] The operating system includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks. The application includes various application programs, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. A program that implements any method of the method for displaying monitoring equipment in an electronic map provided in an embodiment of the present invention can be included in the application.

[0136] In an embodiment of the present invention, the processor 701 calls a program or instruction stored in the memory 702, specifically, a program or instruction stored in an application, and the processor 701 is used to execute the steps of each embodiment of a method for displaying a monitoring device in an electronic map provided in an embodiment of the present invention.

[0137] Obtain the location information of the terminal device and display the location of the terminal device and the surrounding area;

[0138] Read the default value of the zoom level of the electronic map of the terminal device;

[0139] Monitor whether the electronic map display area changes, and determine the size of the current electronic map zoom level of the terminal device and the default value of the electronic map zoom level;

[0140] If the monitoring result is that the electronic map display area has changed and the judgment result is that the current electronic map zoom level of the terminal device is greater than or equal to the default value of the electronic map zoom level, request the platform for monitoring device data;

[0141] Display monitoring equipment on the electronic map in the form of markers;

[0142] Requesting the platform for monitoring device data includes: requesting the platform for the device code and device name of the monitoring device by way of data paging loading.

[0143] Any method in the method for displaying monitoring equipment in an electronic map provided by an embodiment of the present invention can be applied to the processor 701, or implemented by the processor 701. The processor 701 can be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware in the processor 701 or an instruction in the form of software. The above processor 701 can be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc.

[0144] The steps of any method in the method for displaying monitoring equipment in an electronic map provided by an embodiment of the present invention can be directly embodied as being executed by a hardware decoding processor, or being executed by a combination of hardware and software units in the decoding processor. The software unit can be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 702, and the processor 701 reads the information in the memory 702 and completes the steps of the method in combination with its hardware.

[0145] Those skilled in the art will appreciate that although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features from different embodiments is meant to be within the scope of the present invention and to form different embodiments.

[0146] Those skilled in the art will appreciate that the description of each embodiment has its own emphasis, and for parts not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0147] Although the embodiments of the present invention are described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations all fall within the scope defined by the appended claims. The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of various equivalent modifications or substitutions within the technical scope disclosed by the present invention, and these modifications or substitutions should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

[0148] The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed by the present invention, and these modifications or replacements should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be based on the protection scope of the claims.

Claims

1. A method for displaying monitoring equipment in an electronic map, characterized in that: include: Obtain the location information of the terminal device and display the location of the terminal device and the surrounding area; Read the default value of the zoom level of the electronic map of the terminal device; Monitor whether the electronic map display area changes, and determine the size of the current electronic map zoom level of the terminal device and the default value of the electronic map zoom level; If the monitoring result is that the electronic map display area has changed and the judgment result is that the current electronic map zoom level of the terminal device is greater than or equal to the default value of the electronic map zoom level, request the platform for monitoring device data; Display monitoring equipment on the electronic map in the form of markers; Requesting the platform for monitoring device data includes: requesting the platform for the device code and device name of the monitoring device by way of data paging loading.

2. A method for displaying monitoring equipment in an electronic map according to claim 1, characterized in that: The method further comprises: If the monitoring result is that the electronic map display area has changed and the judgment result is that the current zoom level of the electronic map of the terminal device is greater than or equal to the default value of the zoom level of the electronic map; Recalculate the latitude and longitude information within the display range; Request monitoring equipment data from the platform according to the latitude and longitude information.

3. A method for displaying monitoring equipment in an electronic map according to claim 1, characterized in that: The method further comprises: Determine whether the basic information of the monitoring device in the monitoring device data requested this time is consistent with the basic information of the monitoring device in the monitoring device data requested last time; If the result of the judgment is that the basic information of the monitoring device in the monitoring device data requested this time is inconsistent with the basic information of the monitoring device in the monitoring device data requested last time, it is judged whether there is a new device in the monitoring device data; If the judgment result is that there is a new device in the monitoring device data, the monitoring device data is updated; Call the aggregation algorithm to refresh the monitoring device marks on the electronic map.

4. The method for displaying monitoring equipment in an electronic map according to claim 1, characterized in that: The displaying of the monitoring equipment on the electronic map in the form of a mark also includes: Determining whether there are multiple monitoring devices in the first area; If the determination result is that there are multiple monitoring devices in the first area, determining whether the multiple monitoring devices overlap; If the judgment result is that multiple monitoring devices overlap, the multiple monitoring devices are aggregated into one mark.

5. The method for displaying monitoring equipment in an electronic map according to claim 1, characterized in that: After requesting the platform for monitoring device data, it includes: Save the device code and device name of the monitoring device to the memory; Query device details through device code; Use the device code as the key and the device details corresponding to the device code as the value and save them locally.

6. The method for displaying monitoring equipment in an electronic map according to claim 1, characterized in that: The method further comprises: When a single monitoring device tag receives a user operation, the detailed information of the monitoring device is queried through the device code corresponding to the single monitoring device, and the detailed information of the monitoring device is displayed; When the aggregated monitoring device tag receives the user's operation, the detailed information of the monitoring device is queried through the device code corresponding to the aggregated monitoring device, and a list of monitoring devices is displayed.

7. A method for displaying monitoring equipment in an electronic map according to claim 1, characterized in that: The method further comprises: Determine whether the basic information of the monitoring device in the monitoring device data requested this time is consistent with the basic information of the monitoring device in the monitoring device data requested last time; If the result of the judgment is that the basic information of the monitoring device in the monitoring device data requested this time is inconsistent with the basic information of the monitoring device in the monitoring device data requested last time, it is judged whether there is a new device in the monitoring device data and the size of the zoom level of the current electronic map of the terminal device and the zoom level of the electronic map last time; If the result of the judgment is that there is no new device in the monitoring device data and the zoom level of the current electronic map of the terminal device is different from the zoom level of the last electronic map; Call the aggregation algorithm to refresh the monitoring device marks on the electronic map.

8. A device for displaying monitoring equipment in an electronic map, characterized in that: include: Acquisition module: used to obtain the positioning information of the terminal device and display the location of the terminal device and the surrounding area; Reading module: used to read the default value of the zoom level of the electronic map of the terminal device; The judgment module is used to monitor whether the electronic map display area changes, and to judge the size of the current electronic map zoom level of the terminal device and the default value of the electronic map zoom level; Request module: used to request monitoring device data from the platform if the monitoring result is that the electronic map display area has changed and the judgment result is that the current electronic map zoom level of the terminal device is greater than or equal to the default value of the electronic map zoom level; Display module: used to display the monitoring equipment on the electronic map in the form of marks; Requesting the platform for monitoring device data includes: requesting the platform for the device code and device name of the monitoring device by way of data paging loading.

9. An electronic device, characterized in that: include: Processor and memory; The processor is used to execute the method for displaying monitoring equipment in an electronic map as described in any one of claims 1 to 7 by calling the program or instruction stored in the memory.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program or an instruction, and the program or the instruction enables a computer to execute a method for displaying monitoring equipment in an electronic map as claimed in any one of claims 1 to 7.