CN112461244A - Express cabinet positioning method and device based on longitude and latitude and electronic equipment - Google Patents

Express cabinet positioning method and device based on longitude and latitude and electronic equipment Download PDF

Info

Publication number
CN112461244A
CN112461244A CN202011324502.1A CN202011324502A CN112461244A CN 112461244 A CN112461244 A CN 112461244A CN 202011324502 A CN202011324502 A CN 202011324502A CN 112461244 A CN112461244 A CN 112461244A
Authority
CN
China
Prior art keywords
longitude
position code
latitude
target
target person
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
CN202011324502.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.)
Nanjing cloud cabinet Network Technology Co.,Ltd.
Original Assignee
Jiangsu Cloudbox Network 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 Jiangsu Cloudbox Network Technology Co ltd filed Critical Jiangsu Cloudbox Network Technology Co ltd
Priority to CN202011324502.1A priority Critical patent/CN112461244A/en
Publication of CN112461244A publication Critical patent/CN112461244A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/20Instruments for performing navigational calculations

Abstract

The embodiment of the disclosure provides an express delivery cabinet positioning method and device based on longitude and latitude and an electronic device, belonging to the technical field of electricity, wherein the method comprises the following steps: positioning longitude and latitude data of a target person; converting the longitude and latitude data of the target person into a human body position code through a preset algorithm; matching the human body position code with all initial position codes in an initial database to obtain a target position code which is in accordance with the longitude and latitude data of the target person; and converting the target position code into longitude and latitude data corresponding to the target express delivery cabinet by using the preset algorithm. According to the scheme, the longitude and latitude of the obtained target person are converted into the human body position code, and then the human body position code is matched with the initial position code, so that the target express cabinet closest to the target person is obtained, and the positioning accuracy and the positioning efficiency are improved.

Description

Express cabinet positioning method and device based on longitude and latitude and electronic equipment
Technical Field
The disclosure relates to the technical field of electricity, in particular to a longitude and latitude-based express cabinet positioning method and device and electronic equipment.
Background
At present, with the popularization of intelligent mobile terminals, more and more apps provide mobile phone navigation services with multiple directions and multiple scenes, and help users to acquire information of nearby restaurants, supermarkets, banks, scenic spots, stations and the like. Meanwhile, with the rise of the express industry, the intelligent express cabinet is correspondingly provided with a positioning function, but the existing express cabinet positioning method obtains user geography in a GPS (global positioning system) positioning mode, an operation base station positioning mode, a WIFI (wireless fidelity) positioning mode, a Bluetooth positioning mode and the like, and then obtains information of nearby express cabinets by comparing recorded data information. But the method is limited by data, or information is not complete, or information is not updated timely, support is not ideal, the position of the cabinet cannot be found, or data is invalid, the position of the cabinet is not accurate, and direct comparison of position data leads to increased calculation amount and lower positioning efficiency.
Therefore, an express cabinet positioning method based on longitude and latitude, which is accurate in positioning and high in positioning efficiency, is urgently needed.
Disclosure of Invention
In view of this, the embodiments of the present disclosure provide an express delivery cabinet positioning method and apparatus based on longitude and latitude, and an electronic device, which at least partially solve the problems in the prior art.
In a first aspect, an embodiment of the present disclosure provides an express delivery cabinet positioning method based on longitude and latitude, including:
positioning longitude and latitude data of a target person;
converting the longitude and latitude data of the target person into a human body position code through a preset algorithm;
matching the human body position code with all initial position codes in an initial database to obtain a target position code which is in accordance with the longitude and latitude data of the target person;
and converting the target position code into longitude and latitude data corresponding to the target express delivery cabinet by using the preset algorithm.
According to a specific implementation manner of the embodiment of the present disclosure, the preset algorithm is a Geohash algorithm.
According to a specific implementation manner of the embodiment of the present disclosure, the step of converting the longitude and latitude data of the target person into the human body position code by using a preset algorithm includes:
converting the longitude and latitude data of the target person into a binary value;
and merging the binary values and then coding to obtain the human body position code.
According to a specific implementation manner of the embodiment of the present disclosure, before the step of locating the longitude and latitude data of the target person, the method further includes:
acquiring longitude and latitude data of all initial express cabinets at the end of a preset period;
converting longitude and latitude data of all the initial express cabinets into cabinet position codes;
and updating the initial position code according to the cabinet position code.
According to a specific implementation manner of the embodiment of the present disclosure, the step of updating the initial position code according to the cabinet position code includes:
calculating the matching digit between the cabinet body position code corresponding to each initial express cabinet and the initial position code;
judging whether the matching digit is greater than or equal to a threshold value;
if the matching bit number is larger than or equal to the threshold value, forbidding updating the initial position code;
and if the matching digit is smaller than the threshold value, updating the cabinet position code to the initial position code.
According to a specific implementation manner of the embodiment of the present disclosure, the step of matching the human body position code with all the initial position codes in the initial database to obtain the target position code corresponding to the longitude and latitude data of the target person includes:
matching the human body position code with all the initial position codes;
and taking the initial position code corresponding to the maximum matching digit number as the target position code.
In a second aspect, an embodiment of the present disclosure provides an express delivery cabinet positioning device based on longitude and latitude, including:
the positioning module is used for positioning longitude and latitude data of a target person;
the first conversion module is used for converting the longitude and latitude data of the target person into a human body position code through a preset algorithm;
the matching module is used for matching the human body position code with all initial position codes in an initial database to obtain a target position code which accords with the longitude and latitude data of the target person;
and the second conversion module is used for converting the target position code into longitude and latitude data corresponding to the target express delivery cabinet by using the preset algorithm.
According to a specific implementation manner of the embodiment of the present disclosure, the first conversion module is further configured to:
converting the longitude and latitude data of the target person into a binary value;
and merging the binary values and then coding to obtain the human body position code.
In a third aspect, an embodiment of the present disclosure further provides an electronic device, where the electronic device includes:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method for locating an express delivery cabinet based on latitude and longitude of any implementation of the first aspect.
In a fourth aspect, an embodiment of the present disclosure further provides a non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the method for locating an express delivery cabinet based on longitude and latitude in the first aspect or any implementation manner of the first aspect.
In a fifth aspect, the present disclosure also provides a computer program product, where the computer program product includes a computer program stored on a non-transitory computer-readable storage medium, where the computer program includes program instructions, and when the program instructions are executed by a computer, the computer executes the method for locating an express delivery cabinet based on longitude and latitude in the first aspect or any implementation manner of the first aspect.
The express delivery cabinet positioning scheme based on longitude and latitude in the embodiment of the disclosure comprises the following steps: positioning longitude and latitude data of a target person; converting the longitude and latitude data of the target person into a human body position code through a preset algorithm; matching the human body position code with all initial position codes in an initial database to obtain a target position code which is in accordance with the longitude and latitude data of the target person; and converting the target position code into longitude and latitude data corresponding to the target express delivery cabinet by using the preset algorithm. According to the scheme, the longitude and latitude of the obtained target person are converted into the human body position code, and then the human body position code is matched with the initial position code, so that the target express cabinet closest to the target person is obtained, and the positioning accuracy and the positioning efficiency are improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings needed to be used in the embodiments will be briefly described below, and it is apparent that the drawings in the following description are only some embodiments of the present disclosure, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of an express delivery cabinet positioning method based on longitude and latitude provided by an embodiment of the present disclosure;
fig. 2 is a schematic partial flow chart of an express delivery cabinet positioning method based on longitude and latitude provided by the embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of an express delivery cabinet positioning device based on longitude and latitude provided in the embodiment of the present disclosure;
fig. 4 is a schematic view of an electronic device provided in an embodiment of the present disclosure.
Detailed Description
The embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
The embodiments of the present disclosure are described below with specific examples, and other advantages and effects of the present disclosure will be readily apparent to those skilled in the art from the disclosure in the specification. It is to be understood that the described embodiments are merely illustrative of some, and not restrictive, of the embodiments of the disclosure. The disclosure may be embodied or carried out in various other specific embodiments, and various modifications and changes may be made in the details within the description without departing from the spirit of the disclosure. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
It is noted that various aspects of the embodiments are described below within the scope of the appended claims. It should be apparent that the aspects described herein may be embodied in a wide variety of forms and that any specific structure and/or function described herein is merely illustrative. Based on the disclosure, one skilled in the art should appreciate that one aspect described herein may be implemented independently of any other aspects and that two or more of these aspects may be combined in various ways. For example, an apparatus may be implemented and/or a method practiced using any number of the aspects set forth herein. Additionally, such an apparatus may be implemented and/or such a method may be practiced using other structure and/or functionality in addition to one or more of the aspects set forth herein.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present disclosure, and the drawings only show the components related to the present disclosure rather than the number, shape and size of the components in actual implementation, and the type, amount and ratio of the components in actual implementation may be changed arbitrarily, and the layout of the components may be more complicated.
In addition, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, it will be understood by those skilled in the art that the aspects may be practiced without these specific details.
At present, with the popularization of intelligent mobile terminals, more and more apps provide mobile phone navigation services with multiple directions and multiple scenes, and help users to acquire information of nearby restaurants, supermarkets, banks, scenic spots, stations and the like. Meanwhile, with the rise of the express industry, the intelligent express cabinet is correspondingly provided with a positioning function, but the existing express cabinet positioning method obtains user geography in a GPS (global positioning system) positioning mode, an operation base station positioning mode, a WIFI (wireless fidelity) positioning mode, a Bluetooth positioning mode and the like, and then obtains information of nearby express cabinets by comparing recorded data information. But the method is limited by data, or information is not complete, or information is not updated timely, support is not ideal, the position of the cabinet cannot be found, or data is invalid, the position of the cabinet is not accurate, and direct comparison of position data leads to increased calculation amount and lower positioning efficiency. The embodiment of the disclosure provides an express cabinet positioning method based on longitude and latitude, which can be applied to a man-machine interaction positioning process based on longitude and latitude in intelligent scenes such as intelligent express cabinets, scenic spots or stations.
Referring to fig. 1, a schematic flow chart of an express delivery cabinet positioning method based on longitude and latitude provided by the embodiment of the present disclosure is shown. As shown in fig. 1, the method mainly comprises the following steps:
s101, positioning longitude and latitude data of a target person;
the electronic device may be provided with a positioning module or an external positioning device, and the positioning module or the positioning device may be held by the target person or worn on the body of the target person, and the longitude and latitude data of the target person may be positioned by the positioning module or the positioning device. After the longitude and latitude data of the target person are located, the longitude and latitude data can be immediately sent to a processor for subsequent analysis and processing. Of course, when the target person needs to be positioned in real time, the longitude and latitude data of the target person can be continuously positioned, and then the longitude and latitude data are sent to a processor for analysis and processing.
For example, when the application scenario is the positioning of an intelligent express delivery cabinet, the recipient or the courier may be the target person, and the recipient or the courier may position the longitude and latitude data of the recipient or the courier by using a mobile phone or the like.
S102, converting the longitude and latitude data of the target person into a human body position code through a preset algorithm;
considering that the longitude and latitude data includes two parts, namely longitude data and latitude data, when the processor directly processes the longitude and latitude data, the calculation amount is increased, so that the calculation speed is reduced, and the analysis processing efficiency is reduced. The longitude and latitude data of the target person can be converted into a one-dimensional code through the preset algorithm, and the human body position code is processed in the subsequent analysis processing, so that the analysis processing efficiency is improved.
S103, matching the human body position code with all initial position codes in an initial database to obtain a target position code which accords with the longitude and latitude data of the target person;
in specific implementation, a plurality of express cabinets generally exist in a scene, and when the express cabinet closest to the target person needs to be acquired according to the position of the target person, the human body position code can be matched with all the initial position codes in the initial database to obtain the target position code according with the longitude and latitude data of the target person.
And S104, converting the target position code into longitude and latitude data corresponding to the target express delivery cabinet by using the preset algorithm.
After the target position code is obtained, the preset algorithm is used for converting the target position code into longitude and latitude data corresponding to the target express cabinet, so that a target person can navigate according to coordinate points corresponding to the longitude and latitude data corresponding to the target express cabinet, and a positioning function is achieved.
According to the express delivery cabinet positioning method based on the longitude and latitude, the obtained longitude and latitude of the target person is converted into the human body position code, and then the human body position code is matched with the initial position code to obtain the target express delivery cabinet closest to the target person, so that the positioning accuracy and the positioning efficiency are improved.
On the basis of the above embodiment, the preset algorithm is a Geohash algorithm.
Further, step S102, converting the longitude and latitude data of the target person into a human body position code by a preset algorithm, includes:
converting the longitude and latitude data of the target person into a binary value;
for example, if the latitude and longitude data of the target person is
(lat:39.9257460000, ng:116.5998310000), a Geohash algorithm can be used as the preset algorithm, the Geohash algorithm is used for converting the longitude data and the latitude data of the target person into binary values respectively, and it should be noted that higher precision can be obtained by narrowing the range of the longitude and latitude data. Of course, in the specific embodiment, different algorithms may be adopted as the preset algorithm according to the requirement.
And merging the binary values and then coding to obtain the human body position code.
In specific implementation, after binary values corresponding to the longitude data and the latitude data are obtained through conversion, the binary values corresponding to the longitude data and the latitude data are combined, odd numbers are used as latitudes, even numbers are used as longitude combinations, then every 5 numbers of the obtained longitude and latitude binary numbers are used as a group, and each group is converted into decimal numbers. Then, a comparable character string such as code wx4g0e can be obtained by converting the code by using Base32, for example, if the longitude and latitude of the character are divided into 10 times, the length of the finally generated character string is 4, the range is 20 kilometers, and if the longitude and latitude of the character are divided into 20 times, the length of the finally generated character string is 8, and the range can be accurate to 19 meters.
On the basis of the foregoing embodiment, before locating the longitude and latitude data of the target person in step S101, the method further includes:
acquiring longitude and latitude data of all initial express cabinets at the end of a preset period;
when the express cabinet is used, a preset period can be set for manual moving positions, and regular self-checking can be carried out. For example, 12 hours may be set as the preset period, and longitude and latitude data of all the initial express cabinets are acquired every 12 hours last time.
Converting longitude and latitude data of all the initial express cabinets into cabinet position codes;
after the longitude and latitude data of all the initial express cabinets are obtained, the longitude and latitude data of all the initial express fees can be converted into the cabinet body position codes by using the preset algorithm.
And updating the initial position code according to the cabinet position code.
During specific implementation, the initial position code is updated according to the cabinet position code, so that data can be updated in time under the condition that the position of the initial express cabinet is changed, and the positioning efficiency is improved.
Further, as shown in fig. 2, the step of updating the initial position code according to the cabinet position code includes:
s201, calculating the number of matching bits between the cabinet position code corresponding to each initial express cabinet and the initial position code;
in specific implementation, after all the cabinet body position codes corresponding to the initial express cabinets are acquired at the end of the preset period, the cabinet body position codes corresponding to each initial express cabinet can be matched with the initial position codes to obtain the number of matching bits.
S202, judging whether the matching digit is greater than or equal to a threshold value;
in specific implementation, the matching digits can represent the distance represented between two groups of codes, the greater the matching digits, the closer the representing distance, a certain deviation can exist in positioning and the express cabinet can slightly move in practical application, a threshold value can be set, and then the matching digits are compared with the threshold value, so that the next operation flow is determined.
If the matching bit number is greater than or equal to the threshold value, executing step S203, and prohibiting updating of the initial position code;
for example, if the threshold is 4, the distance difference is 20 meters, and if the number of matching bits is greater than or equal to the threshold, the distance between the point represented by the cabinet position code and the point represented by the initial position code is less than or equal to 20 meters, and updating of the initial position code is prohibited.
If the matching bit number is smaller than the threshold value, executing step S204, and updating the cabinet position code to the initial position code.
If the matching bit number is smaller than the threshold value, the distance between the point represented by the cabinet position code and the point represented by the initial position code is larger than 20 meters, and the cabinet position code is updated to the initial position code.
On the basis of the above embodiment, the step S103 of matching the human body position code with all the initial position codes in the initial database to obtain the target position code corresponding to the longitude and latitude data of the target person includes:
matching the human body position code with all the initial position codes;
and taking the initial position code corresponding to the maximum matching digit number as the target position code.
In specific implementation, the obtained human body position code may traverse all the initial position codes in the initial database, and then the matching bits between the human body position code and all the initial position codes are obtained. And then screening out the initial position code with the maximum matching digit number, and taking the initial position code as the target position code. Of course, a corresponding navigation route can be generated subsequently according to the human body position code and the target position code so as to prompt the target person to move to the target express delivery cabinet.
Corresponding to the above method embodiment, referring to fig. 3, an embodiment of the present disclosure further provides an express delivery cabinet positioning apparatus 30 based on longitude and latitude, including:
a positioning module 310, configured to position longitude and latitude data of a target person;
the first conversion module 320 is used for converting the longitude and latitude data of the target person into a human body position code through a preset algorithm;
the matching module 330 is configured to match the human body position code with all initial position codes in an initial database to obtain a target position code that matches the longitude and latitude data of the target person;
and the second conversion module 340 is configured to convert the target position code into longitude and latitude data corresponding to the target express delivery cabinet by using the preset algorithm.
On the basis of the above embodiment, the first conversion module 320 is further configured to:
converting the longitude and latitude data of the target person into a binary value;
and merging the binary values and then coding to obtain the human body position code.
The apparatus shown in fig. 3 may correspondingly execute the content in the above method embodiment, and details of the part not described in detail in this embodiment refer to the content described in the above method embodiment, which is not described again here.
Referring to fig. 4, an embodiment of the present disclosure also provides an electronic device 40, including:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of latitude and longitude based courier cabinet location in the above method embodiments.
The disclosed embodiment also provides a non-transitory computer readable storage medium storing computer instructions for causing the computer to execute the longitude and latitude-based express delivery cabinet positioning method in the foregoing method embodiment.
The disclosed embodiments also provide a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions that, when executed by a computer, cause the computer to perform the method of longitude and latitude based express delivery cabinet location in the aforementioned method embodiments.
Referring now to FIG. 4, a block diagram of an electronic device 40 suitable for use in implementing embodiments of the present disclosure is shown. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., car navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. The electronic device shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 4, the electronic device 40 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 401 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)402 or a program loaded from a storage means 408 into a Random Access Memory (RAM) 403. In the RAM 403, various programs and data necessary for the operation of the electronic apparatus 40 are also stored. The processing device 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
Generally, the following devices may be connected to the I/O interface 405: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, image sensor, microphone, accelerometer, gyroscope, etc.; an output device 407 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 408 including, for example, tape, hard disk, etc.; and a communication device 409. The communication device 409 may allow the electronic device 40 to communicate wirelessly or by wire with other devices to exchange data. While the figures illustrate an electronic device 40 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication device 409, or from the storage device 408, or from the ROM 402. The computer program performs the above-described functions defined in the methods of the embodiments of the present disclosure when executed by the processing device 401.
It should be noted that the computer readable medium in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In contrast, in the present disclosure, a computer readable signal medium may comprise a propagated data signal with computer readable program code embodied therein, either in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to perform the steps associated with the method embodiments.
Alternatively, the computer readable medium carries one or more programs which, when executed by the electronic device, enable the electronic device to perform the steps associated with the method embodiments.
Computer program code for carrying out operations for aspects of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware.
It should be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof.
The above description is only for the specific embodiments of the present disclosure, but the scope of the present disclosure is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present disclosure should be covered within the scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims (10)

1. An express delivery cabinet positioning method based on longitude and latitude is characterized by comprising the following steps:
positioning longitude and latitude data of a target person;
converting the longitude and latitude data of the target person into a human body position code through a preset algorithm;
matching the human body position code with all initial position codes in an initial database to obtain a target position code which is in accordance with the longitude and latitude data of the target person;
and converting the target position code into longitude and latitude data corresponding to the target express delivery cabinet by using the preset algorithm.
2. The method according to claim 1, wherein the predetermined algorithm is a Geohash algorithm.
3. The method of claim 2, wherein the step of converting the latitude and longitude data of the target person into a body position code by a predetermined algorithm comprises:
converting the longitude and latitude data of the target person into a binary value;
and merging the binary values and then coding to obtain the human body position code.
4. The method of claim 1, wherein the step of locating latitude and longitude data of the target person is preceded by the method further comprising:
acquiring longitude and latitude data of all initial express cabinets at the end of a preset period;
converting longitude and latitude data of all the initial express cabinets into cabinet position codes;
and updating the initial position code according to the cabinet position code.
5. The method of claim 4, wherein the step of updating the initial position code according to the cabinet position code comprises:
calculating the matching digit between the cabinet body position code corresponding to each initial express cabinet and the initial position code;
judging whether the matching digit is greater than or equal to a threshold value;
if the matching bit number is larger than or equal to the threshold value, forbidding updating the initial position code;
and if the matching digit is smaller than the threshold value, updating the cabinet position code to the initial position code.
6. The method of claim 5, wherein the step of matching the body position code to all initial position codes in an initial database to obtain a target position code that matches the latitude and longitude data of the target person comprises:
matching the human body position code with all the initial position codes;
and taking the initial position code with the maximum matching bit number as the target position code.
7. The utility model provides an express delivery cabinet positioner based on longitude and latitude which characterized in that includes:
the positioning module is used for positioning longitude and latitude data of a target person;
the first conversion module is used for converting the longitude and latitude data of the target person into a human body position code through a preset algorithm;
the matching module is used for matching the human body position code with all initial position codes in an initial database to obtain a target position code which accords with the longitude and latitude data of the target person;
and the second conversion module is used for converting the target position code into longitude and latitude data corresponding to the target express delivery cabinet by using the preset algorithm.
8. The apparatus of claim 7, wherein the conversion module is further configured to:
converting the longitude and latitude data of the target person into a binary value;
and merging the binary values and then coding to obtain the human body position code.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the longitude and latitude based express cabinet location method of any of the preceding claims 1-6.
10. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the longitude and latitude-based express delivery cabinet location method of any of the preceding claims 1-6.
CN202011324502.1A 2020-11-23 2020-11-23 Express cabinet positioning method and device based on longitude and latitude and electronic equipment Pending CN112461244A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011324502.1A CN112461244A (en) 2020-11-23 2020-11-23 Express cabinet positioning method and device based on longitude and latitude and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011324502.1A CN112461244A (en) 2020-11-23 2020-11-23 Express cabinet positioning method and device based on longitude and latitude and electronic equipment

Publications (1)

Publication Number Publication Date
CN112461244A true CN112461244A (en) 2021-03-09

Family

ID=74800056

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011324502.1A Pending CN112461244A (en) 2020-11-23 2020-11-23 Express cabinet positioning method and device based on longitude and latitude and electronic equipment

Country Status (1)

Country Link
CN (1) CN112461244A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101657697A (en) * 2007-04-13 2010-02-24 美国联合包裹服务公司 Systems, methods, and computer program products for generating reference geocodes for point addresses
CN105234087A (en) * 2015-10-12 2016-01-13 杨彦明 Method and system for automatically sorting parcels
CN105589064A (en) * 2016-01-08 2016-05-18 重庆邮电大学 Rapid establishing and dynamic updating system and method for WLAN position fingerprint database
CN106200677A (en) * 2016-08-31 2016-12-07 中南大学 A kind of express delivery delivery system based on unmanned plane and method
CN109284498A (en) * 2017-07-20 2019-01-29 菜鸟智能物流控股有限公司 Self-service cabinet recommendation method, self-service cabinet recommendation device and electronic device
CN109635067A (en) * 2018-12-17 2019-04-16 深圳市丰巢科技有限公司 A kind of latitude and longitude information correcting method, device, equipment and storage medium
CN111125557A (en) * 2019-12-26 2020-05-08 北京每日优鲜电子商务有限公司 Resource screening method and device, computer equipment and storage medium
CN111564006A (en) * 2020-07-14 2020-08-21 江苏云柜网络技术有限公司 Express cabinet delivery control method and system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101657697A (en) * 2007-04-13 2010-02-24 美国联合包裹服务公司 Systems, methods, and computer program products for generating reference geocodes for point addresses
CN105234087A (en) * 2015-10-12 2016-01-13 杨彦明 Method and system for automatically sorting parcels
CN105589064A (en) * 2016-01-08 2016-05-18 重庆邮电大学 Rapid establishing and dynamic updating system and method for WLAN position fingerprint database
CN106200677A (en) * 2016-08-31 2016-12-07 中南大学 A kind of express delivery delivery system based on unmanned plane and method
CN109284498A (en) * 2017-07-20 2019-01-29 菜鸟智能物流控股有限公司 Self-service cabinet recommendation method, self-service cabinet recommendation device and electronic device
CN109635067A (en) * 2018-12-17 2019-04-16 深圳市丰巢科技有限公司 A kind of latitude and longitude information correcting method, device, equipment and storage medium
CN111125557A (en) * 2019-12-26 2020-05-08 北京每日优鲜电子商务有限公司 Resource screening method and device, computer equipment and storage medium
CN111564006A (en) * 2020-07-14 2020-08-21 江苏云柜网络技术有限公司 Express cabinet delivery control method and system

Similar Documents

Publication Publication Date Title
CN109543909B (en) Method and device for predicting number of vehicle cases and computer equipment
CN110413812B (en) Neural network model training method and device, electronic equipment and storage medium
CN110415276B (en) Motion information calculation method and device and electronic equipment
CN110960855B (en) Communication protocol code updating method and device, electronic equipment and storage medium
CN112731565A (en) Weather forecast data processing method and device based on multi-level grid map
CN114170342A (en) Image processing method, device, equipment and storage medium
CN112734631A (en) Video image face changing method, device, equipment and medium based on fine adjustment model
CN111857518A (en) Method and device for canceling image editing operation, electronic equipment and medium
CN110705536A (en) Chinese character recognition error correction method and device, computer readable medium and electronic equipment
CN110765238A (en) Data encryption query method and device
CN116522064A (en) Method and device for determining frequent liveness of passenger, electronic equipment and storage medium
CN111124541A (en) Configuration file generation method, device, equipment and medium
CN112461244A (en) Express cabinet positioning method and device based on longitude and latitude and electronic equipment
CN110555861A (en) optical flow calculation method and device and electronic equipment
CN111402867B (en) Hybrid sampling rate acoustic model training method and device and electronic equipment
CN110209851B (en) Model training method and device, electronic equipment and storage medium
CN112416989A (en) Management method and device of Internet performance broker platform and electronic equipment
CN110852042A (en) Character type conversion method and device
CN116541421B (en) Address query information generation method and device, electronic equipment and computer medium
CN110619087B (en) Method and apparatus for processing information
CN111797932B (en) Image classification method, apparatus, device and computer readable medium
CN111311665B (en) Video processing method and device and electronic equipment
CN115908143B (en) Vehicle cross-layer parking method, device, electronic equipment and computer readable medium
CN114040014B (en) Content pushing method, device, electronic equipment and computer readable storage medium
CN116703262B (en) Distribution resource adjustment method, distribution resource adjustment device, electronic equipment and computer readable 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
TA01 Transfer of patent application right

Effective date of registration: 20210622

Address after: 210000 Room 301, 3rd floor, 138 Fengtai South Road, Yuhuatai District, Nanjing City, Jiangsu Province

Applicant after: Nanjing cloud cabinet Network Technology Co.,Ltd.

Address before: Room 1501, building 1, Tianhe Plaza, 146 Fengtai South Road, Yuhuatai District, Nanjing, Jiangsu Province 210000

Applicant before: JIANGSU CLOUDBOX NETWORK TECHNOLOGY Co.,Ltd.

TA01 Transfer of patent application right