CN114357318A - Multi-dimensional track data display method and device and electronic equipment - Google Patents

Multi-dimensional track data display method and device and electronic equipment Download PDF

Info

Publication number
CN114357318A
CN114357318A CN202111600603.1A CN202111600603A CN114357318A CN 114357318 A CN114357318 A CN 114357318A CN 202111600603 A CN202111600603 A CN 202111600603A CN 114357318 A CN114357318 A CN 114357318A
Authority
CN
China
Prior art keywords
array
coordinate information
track
target person
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111600603.1A
Other languages
Chinese (zh)
Inventor
夏文杰
李凡平
王堃
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ISSA Technology Co Ltd
Original Assignee
ISSA Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by ISSA Technology Co Ltd filed Critical ISSA Technology Co Ltd
Priority to CN202111600603.1A priority Critical patent/CN114357318A/en
Publication of CN114357318A publication Critical patent/CN114357318A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a method and a device for displaying multidimensional track data and electronic equipment, and relates to the technical field of computers, wherein the method comprises the following steps: sending the target person searching condition to a server, and acquiring coordinate information of a target person; the coordinate information comprises a plurality of coordinate information arrays, wherein the coordinate information arrays are generated based on preset road coordinates; then generating a track array based on the coordinate information array; and finally, displaying the target point position and the target track on a Leafflet interface according to the track array. The method realizes the contrast display of the multidimensional track data based on the leaf, relieves the technical problems of low track information query speed, low efficiency and insufficient intuition of query results in the prior art, simplifies the development process and highlights the effect of the contrast results.

Description

Multi-dimensional track data display method and device and electronic equipment
Technical Field
The invention relates to the technical field of computers, in particular to a multi-dimensional track data display method and device and electronic equipment.
Background
At present, only the personal information of a certain target person can be queried at a single time, and the activity track of a target task in a certain time period is searched through multiple queries of different types of personal information. That is to say, the prior art lacks the platform instrument and integrates the data of collecting evidence of different dimensions, has that track information inquiry is slow, inefficiency, and the inquiry result is not enough directly perceived technical problem.
Disclosure of Invention
The invention aims to provide a multi-dimensional track data display method, a multi-dimensional track data display device and electronic equipment, and aims to solve the technical problems that in the prior art, track information query speed is low, efficiency is low, and query results are not intuitive enough.
In order to achieve the above purpose, the embodiment of the present invention adopts the following technical solutions:
in a first aspect, an embodiment of the present invention provides a method for displaying multidimensional track data, where the method includes:
sending the target person searching condition to a server, and acquiring the coordinate information of the target person; the coordinate information comprises a plurality of coordinate information arrays, wherein the coordinate information arrays are generated based on preset road coordinates;
generating a track array based on the coordinate information array;
and displaying the target point position and the target track on a Leafflet interface according to the track array.
In some possible embodiments, the target person search condition includes: the personal information of the target person and the search time range.
In some possible embodiments, the coordinate information of the target person is generated by the server, and the coordinate information of the target person includes:
determining a target person matched with the target person searching condition and personal information data of the target person in a pre-established database;
and determining the coordinate information of the target person based on the personal information data and the search time range.
In some possible embodiments, the personal information data includes: identity data and device data; the identity data includes: face image, certificate number; the above device data includes: the mobile phone number, the license plate number, the international mobile subscriber identity IMSI and the international mobile equipment identity IMEI.
In some possible embodiments, the trajectory array includes: the map location system comprises a point location array, a road network navigation array, a moving point coordinate array and a triangular trace icon.
In some possible embodiments, the point location array includes: a first point location array and a second point location array; the first point location array is used for displaying point location information, and the second point location array is used for displaying a picture frame.
In some possible embodiments, the road network navigation array includes: and the longitude and latitude data set of the road network navigation and the longitude and latitude array of the road network track.
In a second aspect, an embodiment of the present invention provides a multidimensional trajectory data display apparatus, including:
the acquisition module is used for sending the target character search condition to the server and acquiring the coordinate information of the target character; the coordinate information comprises a plurality of coordinate information arrays; generating each coordinate information array based on preset road coordinates;
the generating module is used for generating a track array by utilizing a leaf based on the coordinate information array;
and the display module is used for displaying the target point position and the target track on the Leafflet interface according to the track array.
In a third aspect, an embodiment of the present invention provides an electronic device, including a memory and a processor, where the memory stores a computer program operable on the processor, and the processor implements the steps of the method according to any one of the first aspect when executing the computer program.
In a fourth aspect, embodiments of the present invention provide a computer-readable storage medium storing machine executable instructions that, when invoked and executed by a processor, cause the processor to perform the method of any of the first aspects.
The invention provides a multi-dimensional track data display method, a multi-dimensional track data display device and electronic equipment, wherein the method comprises the following steps: sending the target person searching condition to a server, and acquiring coordinate information of a target person; the coordinate information comprises a plurality of coordinate information arrays, wherein the coordinate information arrays are generated based on preset road coordinates; then generating a track array based on the coordinate information array; and finally, displaying the target point position and the target track on a Leafflet interface according to the track array. The method realizes the contrast display of the multidimensional track data based on the leaf, relieves the technical problems of low track information query speed, low efficiency and insufficient intuition of query results in the prior art, simplifies the development process and highlights the effect of the contrast results.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic flowchart of a method for displaying multidimensional track data according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating another method for displaying multi-dimensional trajectory data according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a multi-dimensional trajectory data display device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Some embodiments of the invention are described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
At present, only the personal information of a certain target person can be queried at a single time, and the activity track of a target task in a certain time period is searched through multiple queries of different types of personal information. That is to say, the prior art lacks the platform instrument and integrates the data of collecting evidence of different dimensions, has that track information inquiry is slow, inefficiency, and the inquiry result is not enough directly perceived technical problem.
Based on this, the embodiment of the invention provides a multi-dimensional track data display method to solve the technical problems of low track information query speed, low efficiency and insufficiently intuitive query results in the prior art.
To facilitate understanding of the present embodiment, first, a method for displaying multidimensional track data disclosed in the embodiment of the present invention is described in detail, referring to a flowchart of the method for displaying multidimensional track data shown in fig. 1, where the method may be executed by an electronic device, and mainly includes the following steps S110 to S130:
s110: sending the target person searching condition to a server, and acquiring coordinate information of the target person; the coordinate information comprises a plurality of coordinate information arrays, wherein the coordinate information arrays are generated based on preset road coordinates;
s120: generating a track array based on the coordinate information array;
s130: and displaying the target point position and the target track on the Leafflet interface according to the track array.
Among them, the leaf is a modern, open source JavaScript library developed for building a mobile device-friendly interactive map. It was developed by a team of professional contributors in the area of the Vladimir Agafonkin, and although the code is only 38KB, it has most of the functionality of developers to develop online maps. Some functions in the embodiments of the present invention may be implemented through an Application Programming Interface (API) predefined in the leaf.
In a possible embodiment, the target person search condition includes: personal information of the target person and a search time range.
In the embodiment of the present invention, the target person search condition may include one or more conditions, for example, a plurality of pieces of track information of the same target person in different time ranges may be searched, or a plurality of pieces of track information of different target persons in the same time range may be searched.
In a possible embodiment, the coordinate information of the target person is generated by a server, and the step of generating the coordinate information may include:
(1) determining a target person matched with the target person search condition and personal information data of the target person in a pre-established database;
(2) based on the personal information data and the search time range, coordinate information of the target person is determined.
In the embodiment of the invention, taking an application scene of searching the activity track of a person as an example, firstly, personal information is taken as a search condition and sent to a server through an Ajax request, and meanwhile, coordinate information of persons meeting the condition and searched in a database by the server is received.
In one embodiment, the personal information data includes: identity data and device data. As a specific example, the identity data may include: face image, certificate number; the device data may include: the mobile phone number, the license plate number, the international mobile subscriber identity IMSI and the international mobile equipment identity IMEI.
In the embodiment of the invention, an array object (mapObj) is set, the length of the array object changes along with the number of inquired tracks, and when a track is newly added and inquired, an object is added into the array, wherein the object is set in advance, and is used for storing a longitude and latitude data function set obtained by processing longitude and latitude coordinates through a method in a Leafflet. The leaf may display these processed latitude and longitude data directly on the map layer.
In one embodiment, the trace array comprises: the map location system comprises a point location array, a road network navigation array, a moving point coordinate array and a triangular trace icon. The point location array includes: a first point location array and a second point location array; the first point location array is used for displaying point location information, and the second point location array is used for displaying a picture frame. The road network navigation array comprises: and the longitude and latitude data set of the road network navigation and the longitude and latitude array of the road network track.
In the embodiment of the present invention, the fields in the initialization array (mapObj) include: point location arrays (markers) displaying point location information, point location arrays (orderMarkers) displaying picture frames, longitude and latitude data sets (roadPath) of road network navigation, longitude and latitude arrays (road _ path) of road network tracks, moving point coordinate data sets (moveMarker) and triangular trace icons (arrowLine) highlighting tracks.
Wherein the relationship between roadPath and road _ path is: the leaf processes the longitude and latitude array [ "116.4569,39.9077" ] into a road _ path [ [ latLng { lat:39.9077, ling: 116.4569 } ] through an l.latlng method, and then the l.polyline method converts the road _ path into roadPath data required by the map, namely initialized data.
Then, the initialized data is processed and displayed by using a function, referring to fig. 2, which specifically includes:
s210: and displaying point positions on the map, and displaying the coordinate points on a map page through an L.addMarker function by circulating the point position array.
I.e. instantiates a note by giving a geographical point and an object with options.
S220: the roadPath data is processed using the l.polylinedecorator function and the initial trajectory line is displayed on the map page.
Namely: a line is drawn on the map by giving an array of geographical points.
S230: and displaying a moving point location icon by using an L.marker.movingmarker function at the starting coordinate point, namely displaying a complete track on a map page.
The moving point location icon may be an image label that can move according to a geographic point.
S240: and repeating the steps to obtain a plurality of pieces of track data, and contrasting and displaying the track data on the map page by using different colors.
The method provided by the embodiment of the invention solves the problem that the track of a specific time can be searched in one page through a plurality of index conditions, and the track can be displayed in different colors to highlight the track comparison result of personnel. From the development perspective, as the development language is based on React Hook and Leafflet, the development language has the advantages of concise code and contribution to the realization of high-complexity logic; from the use angle, be favorable to through personnel's information, the quick comparison personnel orbit to locking personnel's position.
The invention provides a multi-dimensional track data display method, which comprises the following steps: sending the target person searching condition to a server, and acquiring coordinate information of a target person; the coordinate information comprises a plurality of coordinate information arrays, wherein the coordinate information arrays are generated based on preset road coordinates; then generating a track array based on the coordinate information array; and finally, displaying the target point position and the target track on a Leafflet interface according to the track array. The method realizes the contrast display of the multidimensional track data based on the leaf, relieves the technical problems of low track information query speed, low efficiency and insufficient intuition of query results in the prior art, simplifies the development process and highlights the effect of the contrast results.
An embodiment of the present invention provides a multidimensional trajectory data display device, and referring to fig. 3, the device includes:
an obtaining module 310, configured to send the target person search condition to the server, and obtain coordinate information of the target person; the coordinate information comprises a plurality of coordinate information arrays; generating each coordinate information array based on preset road coordinates;
a generating module 320, configured to generate a track array by using a leaf based on the coordinate information array;
and the display module 330 is configured to display the target point location and the target track on the leaf interface according to the track array.
The multidimensional track data display device provided by the embodiment of the application can be specific hardware on equipment, or software or firmware installed on the equipment. The device provided by the embodiment of the present application has the same implementation principle and technical effect as the foregoing method embodiments, and for the sake of brief description, reference may be made to the corresponding contents in the foregoing method embodiments where no part of the device embodiments is mentioned. It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the foregoing systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. The multi-dimensional trajectory data display device provided by the embodiment of the application has the same technical characteristics as the multi-dimensional trajectory data display method provided by the embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
The embodiment of the application further provides an electronic device, and specifically, the electronic device comprises a processor and a storage device; the storage means has stored thereon a computer program which, when executed by the processor, performs the method of any of the above described embodiments.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application, where the electronic device 400 includes: a processor 40, a memory 41, a bus 42 and a communication interface 43, wherein the processor 40, the communication interface 43 and the memory 41 are connected through the bus 42; the processor 40 is arranged to execute executable modules, such as computer programs, stored in the memory 41.
The Memory 41 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 43 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, etc. may be used.
The bus 42 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 4, but that does not indicate only one bus or one type of bus.
The memory 41 is used for storing a program, the processor 40 executes the program after receiving an execution instruction, and the method executed by the apparatus defined by the flow process disclosed in any of the foregoing embodiments of the present invention may be applied to the processor 40, or implemented by the processor 40.
The processor 40 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 40. The Processor 40 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory 41, and the processor 40 reads the information in the memory 41 and completes the steps of the method in combination with the hardware thereof.
Corresponding to the method, the embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores machine executable instructions, and when the computer executable instructions are called and executed by a processor, the computer executable instructions cause the processor to execute the steps of the method.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, an electronic device, or a network device) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It should be noted that: like reference numbers and letters indicate like items in the figures, and thus once an item is defined in a figure, it need not be further defined or explained in subsequent figures, and moreover, the terms "first," "second," "third," etc. are used merely to distinguish one description from another and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A multi-dimensional trajectory data display method, the method comprising:
sending the target person searching condition to a server, and acquiring coordinate information of the target person; the coordinate information comprises a plurality of coordinate information arrays, wherein the coordinate information arrays are generated based on preset road coordinates;
generating a track array based on the coordinate information array;
and displaying the target point position and the target track on a Leafflet interface according to the track array.
2. The method of claim 1, wherein the target person search criteria include: personal information of the target person and a search time range.
3. The method of claim 2, wherein the coordinate information of the target person is generated by the server, comprising:
determining a target person matched with the target person searching condition and personal information data of the target person in a pre-established database;
determining coordinate information of the target person based on the personal information data and the search time range.
4. The method of claim 2, wherein the personal information data comprises: identity data and device data; the identity data includes: face image, certificate number; the device data includes: the mobile phone number, the license plate number, the international mobile subscriber identity IMSI and the international mobile equipment identity IMEI.
5. The method of claim 1, wherein the trajectory array comprises: the map location system comprises a point location array, a road network navigation array, a moving point coordinate array and a triangular trace icon.
6. The method of claim 5, wherein the point location array comprises: a first point location array and a second point location array; the first point location array is used for displaying point location information, and the second point location array is used for displaying a picture frame.
7. The method of claim 6, wherein said road network navigation array comprises: and the longitude and latitude data set of the road network navigation and the longitude and latitude array of the road network track.
8. A multi-dimensional trajectory data display device, comprising:
the acquisition module is used for sending a target character search condition to a server and acquiring coordinate information of the target character; the coordinate information comprises a plurality of coordinate information arrays; generating each coordinate information array based on preset road coordinates;
the generating module is used for generating a track array by utilizing a leaf based on the coordinate information array;
and the display module is used for displaying the target point position and the target track on the Leafflet interface according to the track array.
9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program operable on the processor, and wherein the processor implements the steps of the method of any of claims 1 to 7 when executing the computer program.
10. A computer readable storage medium having stored thereon machine executable instructions which, when invoked and executed by a processor, cause the processor to execute the method of any of claims 1 to 7.
CN202111600603.1A 2021-12-24 2021-12-24 Multi-dimensional track data display method and device and electronic equipment Pending CN114357318A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111600603.1A CN114357318A (en) 2021-12-24 2021-12-24 Multi-dimensional track data display method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111600603.1A CN114357318A (en) 2021-12-24 2021-12-24 Multi-dimensional track data display method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN114357318A true CN114357318A (en) 2022-04-15

Family

ID=81100768

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111600603.1A Pending CN114357318A (en) 2021-12-24 2021-12-24 Multi-dimensional track data display method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN114357318A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115238119A (en) * 2022-09-22 2022-10-25 中电信数字城市科技有限公司 Method and device for analyzing position information of oblique photography photo

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115238119A (en) * 2022-09-22 2022-10-25 中电信数字城市科技有限公司 Method and device for analyzing position information of oblique photography photo

Similar Documents

Publication Publication Date Title
CN107798557B (en) Electronic device, service place recommendation method based on LBS data and storage medium
CN110888866B (en) Data expansion method and device, data processing equipment and storage medium
CN105869513B (en) Method and device for displaying associated annotation points on electronic map interface
US20200193372A1 (en) Information processing method and apparatus
CN107026881B (en) Method, device and system for processing service data
US20180035367A1 (en) Method and Apparatus for Accessing Wifi Access Point in Target Shop
CN111290931A (en) Method and device for visually displaying buried point data
CN111523043B (en) Resource information display and management method and device
US20220386071A1 (en) Road side positioning method and apparatus, device, and storage medium
CN114357318A (en) Multi-dimensional track data display method and device and electronic equipment
CN109871419B (en) Map display method and device
CN111259274A (en) Information processing method, device, equipment and information display device
CN110909110A (en) Address standardization method and device, storage medium and processor
CN111767481B (en) Access processing method, device, equipment and storage medium
CN111857781A (en) Resource updating method and related equipment
CN111104915A (en) Method, device, equipment and medium for peer analysis
CN111858624A (en) Vehicle use condition updating method and device
CN109937414B (en) Method and medium for ensuring updated display of features through web map tile service
CN113656446A (en) Method and device for improving accuracy of geocoding
CN112416930A (en) Query method, storage method and related device for mixed time phase image map data
CN110083356B (en) Component style synchronization method and device and server
CN113407226B (en) Management method and device of component information and electronic equipment
CN110929207A (en) Data processing method, device and computer readable storage medium
CN111737374A (en) Position coordinate determination method and device, electronic equipment and storage medium
CN113330404A (en) Method for selecting sub-tracks, electronic device and computer-readable storage medium

Legal Events

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