CN112333635A - Electronic fence loading method, device, equipment and storage medium - Google Patents

Electronic fence loading method, device, equipment and storage medium Download PDF

Info

Publication number
CN112333635A
CN112333635A CN202010999786.8A CN202010999786A CN112333635A CN 112333635 A CN112333635 A CN 112333635A CN 202010999786 A CN202010999786 A CN 202010999786A CN 112333635 A CN112333635 A CN 112333635A
Authority
CN
China
Prior art keywords
geohash
electronic fence
longitude
fence
loading
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
CN202010999786.8A
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.)
Dongpu Software Co Ltd
Original Assignee
Dongpu Software 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 Dongpu Software Co Ltd filed Critical Dongpu Software Co Ltd
Priority to CN202010999786.8A priority Critical patent/CN112333635A/en
Publication of CN112333635A publication Critical patent/CN112333635A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Quality & Reliability (AREA)
  • Signal Processing (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Operations Research (AREA)
  • Development Economics (AREA)
  • Strategic Management (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

An electronic fence loading method, device, equipment and storage medium are provided, wherein the loading method comprises the following steps: performing geohash coding on longitude and latitude data of each electronic fence preset position point, and storing the geohash coding; performing geohash coding on longitude and latitude data of a central point of the dragging area; screening the geohash codes positioned in the dragging area through the geohash; and loading the electronic fence corresponding to the screened geohash code. Compare with traditional disposable full loading, the technical scheme that this application provided only to loading with dragging the region as the loading scope, for example, load the fence in dragging the region, do not load the fence outside dragging the region to reach the loading speed that improves fence, promote to use and experience the sense, reduce the high performance configuration requirement to the server, reduce cost.

Description

Electronic fence loading method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of electronic fences, in particular to an electronic fence loading method, device, equipment and storage medium.
Background
In recent years, with the rapid development of the internet and electronic commerce, countless enterprises open an online service platform, and therefore, online shopping has become a part of life of most people. The delivery signing of the commodity order is taken as an important ring of modern logistics, and the delivery efficiency and the delivery experience of a receiver are directly influenced. At present, the delivery efficiency and efficiency of the electronic fence are greatly improved by dividing the electronic fence into a single pole, but currently, the rendering method mainly adopts a mode of loading the electronic fence on a map in a one-time whole quantity manner, so that data is repeatedly loaded, the loading speed is slow, and the requirement on the performance of a server is high. Therefore, the slow loading speed of the electronic fence is a common problem in the express delivery industry.
Disclosure of Invention
Aiming at the problem of slow loading speed of the electronic fence, the application provides a method, a device, equipment and a storage medium for loading the electronic fence, and the loading speed of the electronic fence is improved by dragging and loading the electronic fence.
The technical scheme provided by the invention is as follows:
the invention provides an electronic fence loading method, which comprises the following steps:
performing geohash coding on longitude and latitude data of each electronic fence preset position point, and storing the geohash coding;
performing geohash coding on longitude and latitude data of a central point of the dragging area;
screening the geohash codes located in the dragging area through the geohash;
and loading the electronic fence corresponding to the screened geohash code.
Further preferably, the dragging area is a circular dragging area formed by taking the query position point as a central point and the query distance as a radius, and the geohash coding is performed on longitude and latitude data of the central point of the dragging area, and the method specifically includes the following steps:
selecting a corresponding geohash coding length for the query distance range according to a geohash precision table;
and performing the geohash coding on the query position point according to the selected geohash coding length.
Further preferably, the screening of the geohash code located in the dragging area by the geohash specifically includes the steps of: searching for the geohash codes of the longitude and latitude of the electronic fence preset position point matched with the geohash codes of the inquiry position point, and screening out the geohash codes meeting preset matching conditions.
Further preferably, the preset position point of the electronic fence includes a longitude and latitude of a center point of the electronic fence.
Further preferably, the method further comprises a step of dividing each electronic fence, and the preset position point of each electronic fence further comprises a longitude and latitude of a center point of the divided part.
Preferably, each electronic fence is divided into a plurality of triangles by using a triangle division algorithm, and the preset position points of the electronic fence further include the longitude and latitude of the center point of each triangle.
Further preferably, the geohash coding is performed on the longitude and latitude data of the preset position point of each electronic fence, and the storage specifically includes:
encoding longitude and latitude data of each electronic fence preset position point into a character string with a preset length through a geohash algorithm;
forming a record by the longitude and the latitude of the preset position point of each electronic fence and the character string of the corresponding code;
and sequencing and storing the records according to the character strings according to the dictionary sequence.
The invention also provides an electronic fence loading device, comprising:
the data preprocessing module is used for performing geohash coding on the longitude and latitude data of the preset position points of each electronic fence and storing the geohash coding; the method also comprises the steps of performing geohash coding on longitude and latitude data of a central point of a dragging area;
the screening module is used for screening the geohash codes located in the dragging area through the geohash;
and the loading module is used for loading the electronic fence corresponding to the screened geohash code.
The invention further provides electronic fence loading terminal equipment which comprises a processor and a memory, wherein at least one instruction, at least one program, a code set or an instruction set is stored in the memory, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to realize the electronic fence loading method.
The present invention also provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the above-mentioned electronic fence loading method.
The electronic fence loading method, device, equipment and storage medium according to the above embodiments have at least the following effects:
1. according to the technical scheme, loading is only carried out by taking the dragging area as the loading range, the loading speed of the electronic fence can be increased, and the user experience is improved.
2. The high-performance configuration requirement on the server can be reduced, and the cost is reduced.
Drawings
FIG. 1 is a flow chart of a fence loading method;
FIG. 2 is a diagram illustrating the encoding rule of base 32;
FIG. 3 is a schematic diagram of a geohash precision table;
FIG. 4 is a diagram illustrating a process of geohash encoding a latitude 39.928167;
FIG. 5 is a schematic diagram of a new string generated by combining latitude and longitude codes;
FIG. 6 is a schematic diagram of fence loading based on drag area;
FIG. 7 is a schematic view of an electronic fence loading apparatus;
fig. 8 is a schematic diagram of the electronic fence loading terminal device.
Detailed Description
The present invention will be described in further detail with reference to the following detailed description and accompanying drawings.
An electronic fence refers to the coverage area of a site defined on a map, and is a closed irregular polygon. In the prior art, an electronic fence is applied to the field of express delivery billing, specifically, an electronic map and an electronic fence technology are applied to a billing and delivery link, longitude and latitude of an addressee are obtained through the electronic map, and then a website code and a salesman code corresponding to the longitude and latitude are obtained through the electronic fence. The method relates to a process of loading an electronic fence on an electronic map, and the existing electronic fence loading method is as follows: in a one-time full-loading mode of the electronic fence, the rendering method causes repeated data loading, the loading speed is slow, and the requirement on the performance of the server is high.
In view of the above drawbacks, in the embodiment of the present invention, only the electronic fence in the dragging area is loaded and rendered, so as to change the conventional one-time full-load electronic fence, thereby increasing the loading speed of the electronic fence. The technical solution of the present invention will be described below by way of specific examples.
The first embodiment is as follows:
the present embodiment provides an electronic fence loading method, a flowchart of which is shown in fig. 1, and specifically includes the following steps.
S100: and performing geohash coding on the longitude and latitude data of the preset position points of each electronic fence, and storing the geohash coding.
S200: and performing geohash coding on the longitude and latitude data of the central point of the dragging area.
S300: and screening the geohash codes positioned in the dragging area through the geohash.
S400: and loading the electronic fence corresponding to the screened geohash code.
The above steps will be explained below.
In step S100, geohash encoding is performed on the longitude and latitude data of the preset position point of each electronic fence, and the geohash encoding is stored. The method specifically comprises the following steps:
s101: and encoding the longitude and latitude data of the preset position points of each electronic fence into a character string with a preset length through a geohash algorithm.
S102: and forming a record by using the longitude and the latitude of the preset position point of each electronic fence and the character string of the corresponding code.
S103: the records are sorted and stored according to the character string in dictionary order.
First, explanation is made on the geohash algorithm: the geohash is a character string representing two coordinates of longitude and latitude, that is, the geohash can convert longitude and latitude information into a character string code which can be sorted and compared. The prefix of the code may represent a larger area, for example wx4g0ec1, its prefix wx4g0e representing a larger range including the code wx4g0ec 1. The application also utilizes the characteristic to search the electronic fence belonging to the dragging area. The encoding rule related to the present embodiment is a base32 encoding rule, and a base32 encoding rule diagram is shown in fig. 2.
In step S101, a string of a preset length is a geohash code of a preset length, that is, the length of the geohash code, where the length is a geohash code length selected according to an actual application requirement and according to a geohash precision table, and the geohash precision table is shown in fig. 3, where geohash length represents the geohash code length, lat bits represents a latitude bit number, ng bits represents a longitude bit number, lat error represents a latitude error, ng error represents a longitude error, and km error represents a distance error.
As can be seen from fig. 3, the larger the geohash coding length is, the higher the error precision is, for example, when the geohash coding length is 1, the distance error is 2500 km; when the geohash coding length is 2, the distance error is 630 km; when the refined geohash coding length is 3, the distance error is 78 km; when the geohash coding length is 4, the distance error is 20 km; when the geohash coding length is 5, the distance error is 2.4 km; when the geohash coding length is 6, the distance error is 610 m; when the geohash coding length is 7, the distance error is 76 m; the geohash code length is 8, the range error is 19 m.
The basic principle of the geohash coding is: firstly, the longitude and latitude are converted into binary system, secondly, the longitude and latitude of the binary system are combined, and finally, the encoding is carried out according to base 32. The following warp and weft values are given: (116.389550, 39.928167) illustrates the geohash algorithm.
The process of approximating and coding the latitude 39.928167 with the latitude interval of the earth as [ -90, 90] comprises the steps a-h.
Step a, dividing the interval between-90 and 90 into-90 and 0, 0 and 90, namely left and right intervals, and determining 39.928167 as right interval 0 and 90 marked as 1;
step b, dividing the interval [0, 90] into two intervals [0, 45 ], [45, 90], and determining 39.928167 as belonging to the left interval [0, 45 ] and marking as 0;
c, recursion the above process 39.928167 always belongs to a certain interval [ a, b ], and the interval [ a, b ] is always reduced with each iteration and approaches 39.928167 more and more;
step d, recording 0 if the given latitude 39.928167 belongs to the left interval and 1 if it belongs to the right interval, the length of the sequence being related to the number of divisions of the given interval, as shown in fig. 4;
step e, similarly, the earth longitude interval is [ -180, 180], and longitude 116.389550 may be encoded. By the above calculation, the longitude-generated code is 110100101100010, and the latitude-generated code is 101110001100011;
step f, merging: longitude is set at even number, latitude is set at odd number, and 2 strings of codes are combined to generate a new string as shown in FIG. 5;
step g, according to fig. 2, firstly, 11100111010010001111000001101 is converted into decimal corresponding to 28, 29, 4, 15, 0, 13, the base32 code corresponding to decimal is wx4g0e, and the code is used as the geohash code of the latitude and longitude.
Let < wx4g0e, (116.389550, 39.928167) > be one record and sort and store < wx4g0e, (116.389550, 39.928167) > in lexicographic order according to wx4 go.
And step S101 to step S103 are carried out to complete the geohash coding and storage of the longitude and latitude data of the preset position points of each electronic fence.
In step S200, geohash encoding is performed on the longitude and latitude data of the central point of the dragging area; the method comprises the following steps that a dragging area takes a query position point as a central point, a query distance as a radius to form a circular dragging area, and geohash coding is carried out on longitude and latitude data of the central point of the dragging area, and the method specifically comprises the following steps:
selecting a corresponding geohash coding length for the query distance range according to the geohash precision table;
and performing the geohash coding on the query position point according to the selected geohash coding length.
For a specific process of performing geohash coding on the longitude and latitude data of the central point of the dragging area, reference may be made to the above steps a to g, which are not described herein again.
In step S300, the geohash code located in the dragging area is screened through the geohash, which specifically includes the steps of: searching for the geohash codes of the longitude and latitude of the electronic fence preset position point matched with the geohash codes of the inquiry position point, and screening out the geohash codes meeting preset matching conditions.
Specifically, matching is performed by matching string strings of the geohash codes, prefixes identical to the strings are used as preset matching conditions, and the geohash codes in the prefixes of the identical strings are selected as the result of screening, for example, wx4g0ec1, and the prefix wx4g0e of the geohash codes represents a larger range including the code wx4g0ec1, so that all the geohash codes of the same prefix wx4g0e can be used as the result of screening.
In an embodiment, the fence preset location point includes a longitude and latitude of a center point of the fence, in which case, the foregoing steps S100 to S400 are only performed for the fence whose longitude and latitude of the center point are located in the dragging area.
In a special case, for example, when the area of the electronic fence is large, and the electronic fence intersects with the dragging area, but the longitude and latitude of the center point of the electronic fence do not exist in the dragging area, the electronic fence cannot be loaded. For this situation, the electronic fence loading method is further optimized in this embodiment, and through the optimization, the electronic fences in the dragging area and the electronic fences intersecting with the dragging area can be loaded. The optimization process is as follows:
before the step S100, a step of dividing each electronic fence is further included, and further, the preset position point of the electronic fence further includes a longitude and latitude of a center point of the divided portion.
Preferably, each electronic fence is divided into a plurality of triangles by adopting a triangle division algorithm, and the preset position points of the electronic fence further comprise the longitude and latitude of the center point of each triangle. Compared with the method of singly carrying out the geohash coding on the longitude and latitude of the central point of each electronic fence, the optimization process increases the number of the geohash coding positions in the electronic fence area, so that the loading number of the electronic fences can be increased as much as possible in a certain dragging area.
For example, as shown in fig. 6, a reference sign a is a dragging area, reference signs B, C are respectively different electronic fences, where a1 is a central point of the dragging area, a point B1 is a central point of the electronic fence B, a point C1 is a central point of the electronic fence C, and points D1, D2, D3 and the like are central points of triangular areas divided by partial areas of the electronic fence C, and if only geohash coding is performed on longitude and latitude of the central point of the electronic fence, only the electronic fence B can be loaded, and the electronic fence C cannot be loaded; if the electronic fence is divided into triangles based on expansion, and the center point of the divided triangle is coded by the geohash at the same time, the electronic fence C intersected with the dragging area A can be loaded through any point of the matched points D1, D2 and D3, so that the electronic fence can be loaded to the maximum extent in a certain dragging area.
Compared with the traditional one-time full-load method, the electronic fence loading method provided by the embodiment is only used for loading by taking the dragging area as the loading range, for example, the electronic fence in the dragging area is loaded, and the electronic fence outside the dragging area is not loaded, so that the loading speed of the electronic fence is increased, the use experience is improved, the high-performance configuration requirement on the server is reduced, and the cost is reduced.
In the field of express delivery service, all network points in the country maintain the electronic fences for picking up/sending the items of the business personnel at the network points, for example, when the items need to be sent, a match is dragged on an electronic map, the electronic fences in the dragging area are loaded, then the longitude and latitude of the items to be sent are judged to fall in the range of the electronic fences of the business personnel at the network points through a ray method and an R tree index, and then the item sending efficiency is improved.
Example two:
based on the first embodiment, the present embodiment provides an electronic fence loading apparatus, whose schematic diagram is shown in fig. 7, and includes a data preprocessing module 100, a screening module 200, and a loading module 300.
The data preprocessing module 100 is configured to perform geohash coding on longitude and latitude data of each electronic fence preset position point, and store the geohash coding; and the method is also used for performing geohash coding on the longitude and latitude data of the central point of the dragging area.
Further, the data preprocessing module 100 includes:
the segmentation unit 101 is configured to perform pre-segmentation processing on each electronic fence, and specifically, a triangle segmentation algorithm is used to segment each electronic fence into a plurality of triangles.
The geohash coding unit 102 is configured to perform geohash coding on the longitude and latitude of the center point of each electronic fence and the longitude and latitude of the center point of each triangle, and also configured to perform geohash coding on the longitude and latitude data of the center point of a dragging area formed by dynamically dragging on an electronic map, where for specific application and coding rules of the geohash algorithm, reference is specifically made to the description of step S100 in the first embodiment, which is not described in detail in this embodiment.
The storage unit 103 is used for encoding the longitude and latitude data of the preset position points of each electronic fence into a character string with a preset length through the geohash encoding unit 102, and forming a record of the longitude and the latitude of the preset position points of each electronic fence and the character string corresponding to the encoding; the records are sorted according to the character string in a lexicographic order and stored in the storage unit 103.
The screening module 200 is configured to screen the geohash code located in the drag area by the geohash. In this embodiment, the screening module 200 searches for a geohash code of the longitude and latitude of the preset location point of the electronic fence, which is matched with the geohash code of the query location point, and screens out the geohash code meeting the preset matching condition.
Specifically, matching is performed by matching string strings of the geohash codes, prefixes identical to the strings are used as preset matching conditions, and the geohash codes in the prefixes of the identical strings are selected as the result of screening, for example, wx4g0ec1, and the prefix wx4g0e of the geohash codes represents a larger range including the code wx4g0ec1, so that all the geohash codes of the same prefix wx4g0e can be used as the result of screening.
The loading module 300 is configured to load the electronic fence corresponding to the screened geohash code.
Compared with the traditional disposable full-load loading, the electronic fence loading device provided by the embodiment is only used for loading by taking the dragging area as a loading range, for example, the electronic fence in the dragging area is loaded, and the electronic fence outside the dragging area is not loaded, so that the loading speed of the electronic fence is increased, the use experience is improved, the high-performance configuration requirement on the server is reduced, and the cost is reduced.
Example three:
based on the first embodiment to the second embodiment, the present embodiment provides an electronic fence loading terminal device, a schematic diagram of the terminal device is shown in fig. 8, and the terminal device 800 may be a tablet computer, a smart phone, a notebook computer, or a desktop computer. The terminal device 800 may also be referred to by other names, portable terminal, laptop terminal, desktop terminal, etc.
In general, terminal device 800 includes a processor 8001 and a memory 8002, and processor 8001 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so on. The processor 8001 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). Processor 8001 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also referred to as a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state.
In some embodiments, the processor 8001 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing content required to be displayed by the display screen. In some embodiments, processor 8001 may also include an AI (Artificial Intelligence) processor to process computational operations related to machine learning.
Memory 8002 may include one or more computer-readable storage media, which may be non-transitory. Memory 8002 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 8002 is used to store at least one instruction, at least one program, a set of codes, or a set of instructions for execution by processor 8001 to implement the fence loading method provided by embodiment one of this application.
Therefore, the apparatus 800 of the present application, which executes the electronic fence loading method provided in the first embodiment through at least one instruction, at least one program, a code set, or an instruction set, has the following advantages:
compare with traditional disposable full loading, the technical scheme that this application provided only to loading with dragging the region as the loading scope, for example, load the fence in dragging the region, do not load the fence outside dragging the region to reach the loading speed that improves fence, promote to use and experience the sense, reduce the high performance configuration requirement to the server, reduce cost.
In some embodiments, the terminal device 800 may further include: peripheral interface 8003 and at least one peripheral. Processor 8001, memory 8002, and peripheral interface 8003 may be connected via buses or signal lines.
Specifically, in this embodiment, in order to implement electronic fence loading, the corresponding peripheral device includes a background management platform 8004, the background management platform 8004 provides an electronic map and electronic fence information, and further, the processor 8001 acquires the required electronic map and electronic fence information through the background management platform 8004.
The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium, and which may also be a volatile computer-readable storage medium. The computer-readable storage medium has instructions stored therein, which when executed on a computer, cause the computer to execute the electronic fence loading method in the first embodiment.
The modules in the second embodiment, if implemented in the form of software functional modules and sold or used as independent products, 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, a server, or a network device) to execute 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.
The present invention has been described in terms of specific examples, which are provided to aid understanding of the invention and are not intended to be limiting. For a person skilled in the art to which the invention pertains, several simple deductions, modifications or substitutions may be made according to the idea of the invention.

Claims (10)

1. An electronic fence loading method, comprising the steps of:
performing geohash coding on longitude and latitude data of each electronic fence preset position point, and storing the geohash coding;
performing geohash coding on longitude and latitude data of a central point of the dragging area;
screening the geohash codes positioned in the dragging area through the geohash;
and loading the electronic fence corresponding to the screened geohash code.
2. The electronic fence loading method according to claim 1, wherein the dragging area is a circular dragging area formed by taking the query location point as a central point and the query distance as a radius, and the geohash coding is performed on longitude and latitude data of the central point of the dragging area, and specifically comprises the steps of:
selecting a corresponding geohash coding length for the query distance range according to a geohash precision table;
and performing the geohash coding on the query position point according to the selected geohash coding length.
3. The electronic fence loading method as claimed in claim 2, wherein the step of screening the geohash code located in the dragging area by the geohash specifically comprises the steps of: searching for the geohash codes of the longitude and latitude of the electronic fence preset position point matched with the geohash codes of the inquiry position point, and screening out the geohash codes meeting preset matching conditions.
4. The fence loading method of claim 1, wherein the fence predetermined location point comprises a center point longitude and latitude of the fence.
5. The fence loading method of claim 4 further comprising the step of segmenting each fence, wherein the fence predetermined location point further comprises a center point longitude and latitude of the segment.
6. The method of claim 3, wherein each fence is divided into a plurality of triangles by a triangle division algorithm, and the predetermined location points of the fence further comprise longitude and latitude of a center point of each triangle.
7. The electronic fence loading method according to claim 1, wherein the geohash encoding and storing the longitude and latitude data of each electronic fence preset position point specifically comprises:
encoding longitude and latitude data of each electronic fence preset position point into a character string with a preset length through a geohash algorithm;
forming a record by the longitude and the latitude of the preset position point of each electronic fence and the character string of the corresponding code;
and sequencing and storing the records according to the character strings according to the dictionary sequence.
8. An electronic fence loading device, comprising:
the data preprocessing module is used for performing geohash coding on the longitude and latitude data of the preset position points of each electronic fence and storing the geohash coding; the method also comprises the steps of performing geohash coding on longitude and latitude data of a central point of a dragging area;
the screening module is used for screening the geohash codes located in the dragging area through the geohash;
and the loading module is used for loading the electronic fence corresponding to the screened geohash code.
9. Electronic fence loading terminal device, characterized in that it comprises a processor and a memory, in which at least one instruction, at least one program, a set of codes or a set of instructions is stored, which is loaded and executed by the processor to implement the electronic fence loading method according to any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the electronic fence loading method according to any one of claims 1 to 7.
CN202010999786.8A 2020-09-21 2020-09-21 Electronic fence loading method, device, equipment and storage medium Pending CN112333635A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010999786.8A CN112333635A (en) 2020-09-21 2020-09-21 Electronic fence loading method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010999786.8A CN112333635A (en) 2020-09-21 2020-09-21 Electronic fence loading method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112333635A true CN112333635A (en) 2021-02-05

Family

ID=74303919

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010999786.8A Pending CN112333635A (en) 2020-09-21 2020-09-21 Electronic fence loading method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112333635A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103810194A (en) * 2012-11-11 2014-05-21 刘龙 Geographic coding method, position inquiring system and position inquiring method
US20150254274A1 (en) * 2014-03-06 2015-09-10 International Business Machines Corporation Indexing geographic data
CN107870795A (en) * 2016-09-26 2018-04-03 高德信息技术有限公司 The method and device that a kind of electronic map is shown
CN108446066A (en) * 2018-03-14 2018-08-24 杭州骑迹科技有限公司 A kind of loading method and mobile terminal of map label
CN109522345A (en) * 2018-11-19 2019-03-26 百度在线网络技术(北京)有限公司 For showing the method and device of information
CN110008293A (en) * 2019-02-02 2019-07-12 阿里巴巴集团控股有限公司 Geographic position search method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103810194A (en) * 2012-11-11 2014-05-21 刘龙 Geographic coding method, position inquiring system and position inquiring method
US20150254274A1 (en) * 2014-03-06 2015-09-10 International Business Machines Corporation Indexing geographic data
CN107870795A (en) * 2016-09-26 2018-04-03 高德信息技术有限公司 The method and device that a kind of electronic map is shown
CN108446066A (en) * 2018-03-14 2018-08-24 杭州骑迹科技有限公司 A kind of loading method and mobile terminal of map label
CN109522345A (en) * 2018-11-19 2019-03-26 百度在线网络技术(北京)有限公司 For showing the method and device of information
CN110008293A (en) * 2019-02-02 2019-07-12 阿里巴巴集团控股有限公司 Geographic position search method and device

Similar Documents

Publication Publication Date Title
CN108628811B (en) Address text matching method and device
CN110309192A (en) It is matched using the structured data of neural network encoder
CN107704512A (en) Financial product based on social data recommends method, electronic installation and medium
CN113157927B (en) Text classification method, apparatus, electronic device and readable storage medium
CN112148987A (en) Message pushing method based on target object activity and related equipment
CN108241867B (en) Classification method and device
CN109740642A (en) Invoice category recognition methods, device, electronic equipment and readable storage medium storing program for executing
CN112148843A (en) Text processing method and device, terminal equipment and storage medium
CN112328657A (en) Feature derivation method, feature derivation device, computer equipment and medium
CN113868529A (en) Knowledge recommendation method and device, electronic equipment and readable storage medium
CN113505273B (en) Data sorting method, device, equipment and medium based on repeated data screening
CN111930897B (en) Patent retrieval method, device, electronic equipment and computer-readable storage medium
CN113901214A (en) Extraction method and device of table information, electronic equipment and storage medium
CN113656690A (en) Product recommendation method and device, electronic equipment and readable storage medium
JP2023517518A (en) Vector embedding model for relational tables with null or equivalent values
CN112333635A (en) Electronic fence loading method, device, equipment and storage medium
CN117291722A (en) Object management method, related device and computer readable medium
CN115545783B (en) Engineering cost information query method, system and storage medium
WO2023077944A1 (en) Method and apparatus for outputting information, device, and storage medium
CN116503158A (en) Enterprise bankruptcy risk early warning method, system and device based on data driving
CN113705201B (en) Text-based event probability prediction evaluation algorithm, electronic device and storage medium
CN114840631A (en) Spatial text query method and device, electronic equipment and storage medium
CN114881001A (en) Report generation method based on artificial intelligence and related equipment
CN117217929A (en) Registered object risk identification method, device, computer equipment and storage medium
CN108536713A (en) Character string checking method, device and electronic equipment

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