CN109462403A - A kind of method and system for realizing consignment address code - Google Patents
A kind of method and system for realizing consignment address code Download PDFInfo
- Publication number
- CN109462403A CN109462403A CN201811174652.1A CN201811174652A CN109462403A CN 109462403 A CN109462403 A CN 109462403A CN 201811174652 A CN201811174652 A CN 201811174652A CN 109462403 A CN109462403 A CN 109462403A
- Authority
- CN
- China
- Prior art keywords
- address
- section
- building
- spare
- road
- 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
Links
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M7/00—Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
- H03M7/30—Compression; Expansion; Suppression of unnecessary data, e.g. redundancy reduction
- H03M7/70—Type of the data to be coded, other than image and sound
- H03M7/705—Unicode
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The embodiment of the present invention provides a kind of method and system for realizing consignment address code, comprising: address to be encoded is divided into township level administration regional address, road address and building address;According to township level administration regional address, the administrative area coding section of target code is obtained;According to road address and preset standard consignment address code library, the section coding section of target code is obtained;According to building address and preset standard consignment address code library, the building type coding section of target code and the building coding section of target code are obtained.The embodiment of the present invention passes through automation establishment technique, realize the fast and accurately coding for treating coded address, meet the precision delivery demand that express company is accurate to building, and it can be used for different company and different user are unified, facilitate supervision department to be managed collectively, promotes the development of express delivery end Common Distribution.
Description
Technical field
The present embodiments relate to address coding technique field more particularly to a kind of methods for realizing consignment address code.
Background technique
In recent years, the express delivery amount sustained, stable growth year after year in China, into the new period of high speed development.2011 with
Come, accumulative averagely amplification on year-on-year basis is more than 50% within Chinese Express Service business amount continuous 5 years.2017, Chinese Express Service business amount was broken through
40000000000, increase by 28% on a year-on-year basis;Express delivery income completes 495,700,000,000 yuan, increases by 24.5% on a year-on-year basis.It is sure to occupy the first in the world.
The universal scale of Express firm that express delivery industry expedites the emergence of under growing rapidly is less than normal, and strength is weaker, management dispersion, industry
Concentration degree is again relatively high.Due to the segmentation of location and functional department, company, numerous loglstics enterprises is their respective businesses in addition,
Attempt is accomplished "small and self-contained", and Logistics Market is by extremely dispersion.Meanwhile loglstics enterprise development competition increasingly sharpen, personnel, technology,
Products & services homogeneity is obvious.
The rapid development of express delivery amount has also expedited the emergence of the demand for promoting sorting efficiency, realizes sorting mail certainly as playing
The postcode of dynamicization and the post network digitisation function, but because capacity is small, quartile compared with thick, resource allocation is unbalanced the problems such as make
It is being gradually decreased with rate, is being shown according to investigations, the China's current postcode resource overall utilization rate whole nation is averagely only 3.89%.No
It is difficult to see, the existing postcode code resource utilization in China is integrally lower, produces with the status of express mail service amount rapidly increased
Contradiction has been given birth to, the growth requirement of current Express Logistics industry has been unable to satisfy.
And in actual production process, each express company is to improve internal sorting operating efficiency, with respective supervisor
Intra-company's address code is formulated based on structure, for internal sorting.
Although the home address coding that express company uses improves the sorting efficiency of express company, in use process
In there are still some problems, such as each company's establishment rules disunity, coding, which generate, wrong leads to that sorting is difficult, code adjustment is frequent
It is unfavorable for management etc., causes to cannot achieve information sharing between each enterprise, is unfavorable for country and whole process prison is carried out for Express Logistics
Pipe, is also unfavorable for the setting-up and development of Common Distribution system.
In view of the above-mentioned problems, the prior art proposes a kind of consignment address coding method based on administrative division, this method will
The target code of address to be encoded is divided into administrative area coding section, section coding section, building type coding section and building coding section, will
Administrative area coding section of the township level administrative division code of address to be encoded as target code, then according to address Zhong Dao to be encoded
Road title and preset standard consignment address code library, obtain the section coding section of target code, according to the building in address to be encoded
The building in space title and preset standard consignment address code library, the building type coding section and target code that obtain target code are compiled
Code section.
Therefore, a kind of implementation method of consignment address code based on administrative division is needed.
Summary of the invention
In view of the above-mentioned problems, the embodiment of the present invention provides a kind of method and system for realizing consignment address code.
In a first aspect, the embodiment of the present invention provides a kind of method for realizing consignment address code, the target of address to be encoded
Coding includes administrative area coding section, section coding section, building type coding section and building coding section, comprising:
The address to be encoded is divided into township level administration regional address, road address and building address;
According to the township level administration regional address, the administrative area coding section of the target code is obtained;
According to the road address and preset standard consignment address code library, the section coding of the target code is obtained
Section, including each spare section in each spare township level administrative area, Mei Yibei in the preset standard consignment address code library
It is corresponding with each spare building, each spare building in the corresponding section coding section in section, each spare township level administrative area
Building type coding section, the corresponding building coding section of each spare building;
According to the building address and the preset standard consignment address code library, the Building class of the target code is obtained
The building coding section of type coding section and the target code.
Second aspect, the embodiment of the present invention provide a kind of system for realizing consignment address code, comprising:
The target code of address to be encoded includes administrative area coding section, section coding section, building type coding section and building
Coding section, comprising:
First module, for the address to be encoded to be divided into township level administration regional address, road address and building address;
Second module, for obtaining the administrative area coding section of the target code according to the township level administration regional address;
Third module, for obtaining the target and compiling according to the road address and preset standard consignment address code library
The section coding section of code includes each spare in each spare township level administrative area in the preset standard consignment address code library
It is section, the corresponding section coding section in each spare section, each spare building in each spare township level administrative area, each spare
The corresponding building type coding section of building, the corresponding building coding section of each spare building;
4th module, for obtaining the mesh according to the building address and the preset standard consignment address code library
Mark the building type coding section of coding and the building coding section of the target code.
The third aspect, the embodiment of the present invention provide a kind of electronic equipment, comprising:
At least one processor, at least one processor, communication interface and bus;Wherein,
The processor, memory, communication interface complete mutual communication by the bus;
The communication interface is for the information transmission between the test equipment and the communication equipment of display device;
The memory is stored with the program instruction that can be executed by the processor, and the processor calls described program to refer to
Enable a kind of method for realizing consignment address that first aspect offer is provided.
Fourth aspect, the embodiment of the present invention provide a kind of non-transient computer readable storage medium, the non-transient calculating
Machine readable storage medium storing program for executing stores computer instruction, and the computer instruction makes the computer execute one kind that first aspect provides
The method for realizing consignment address.
A kind of method and system for realizing consignment address code provided in an embodiment of the present invention, this method are compiled by automation
Technology processed realizes the fast and accurately coding for treating coded address, meets the precision throwing that express company is accurate to building
Demand is passed, and can be used for different company and different user are unified, facilitates supervision department to be managed collectively, promotes express delivery end total
With the development of dispatching.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair
Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is a kind of flow chart for the method for realizing consignment address code of the embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram for the system for realizing consignment address code provided in an embodiment of the present invention;
Fig. 3 illustrates the entity structure schematic diagram of a kind of electronic equipment.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Fig. 1 is a kind of flow chart for the method for realizing consignment address code of the embodiment of the present invention, as shown in Figure 1, this method
The target code for including: address to be encoded includes administrative area coding section, section coding section, building type coding section and building coding
Section, comprising:
The address to be encoded is divided into township level administration regional address, road address and building address by S1;
S2 obtains the administrative area coding section of the target code according to the township level administration regional address;
S3, according to the road address and preset standard consignment address code library, the section for obtaining the target code is compiled
Code section includes each spare section in each spare township level administrative area in the preset standard consignment address code library, each
The corresponding section coding section in spare section, each spare building in each spare township level administrative area, each spare building are corresponding
Building type coding section, the corresponding building coding section of each spare building;
S4 obtains building for the target code according to the building address and the preset standard consignment address code library
Build the building coding section of type coding section and the target code.
Firstly, for an address to be encoded, the target code of the address to be encoded is divided into administrative area coding section, section
Coding section, building type coding section and building coding section.
By machine learning treat coded address carry out word segmentation processing, by address to be encoded be divided into township level administration regional address,
Road address and building address.
Citing ground, if address to be encoded is " Haidian District, Beijing City Bei Taipingzhuang subdistrict office, Beijing, Xitucheng Lu 10
University of Post and Telecommunication library ", wherein Haidian District, Beijing City Bei Taipingzhuang subdistrict office is the township level administrative area of the address to be encoded
Address is drawn, the administrative area coding section of the address to be encoded is determined according to " Haidian District, Beijing City Bei Taipingzhuang subdistrict office ", should
Road address in address to be encoded is " Xitucheng Lu ", the section of " Xitucheng Lu " in preset standard consignment address code library
Coding is exactly the section coding section of the address to be encoded, and the building type of the address to be encoded is " residential quarters " type, this to
The building type coding section of coded address is the corresponding coding of " residential quarters " type, and the building address of the address to be encoded is
" library, Beijing University of Post & Telecommunication " " library, Beijing University of Post & Telecommunication " is compared with preset standard consignment address code library,
Obtain the building coding section of the building.
In acquisition address to be encoded when corresponding target code, first by nine township level administrative divisions in address to be encoded
Administrative area coding section of the code as target code.So-called township level administrative division code is to treat which township coded address belongs to
Or which subdistrict office belonged to, if belonging to subdistrict office, just using the administrative division code of the subdistrict office as
The administrative area coding section of target code.
After determining township level administrative area belonging to the address to be encoded, then determine the section coding in the address to be encoded,
Section coding is present in preset standard consignment address code library.
Then according to the building title in address to be encoded and the preset standard consignment address code library pre-established, obtain
To the building type coding section of target code and the building coding section of target code.The preset standard consignment pre-established
All township level administrative areas, each spare building title in all township level administrative areas, each spare are stored in the code database of location
The corresponding building type coding section of building, the corresponding building coding section of each spare building.
Exactly because preset standard consignment address code stores a large amount of normal address in library, therefore, to be encoded
When address is encoded, it is only necessary to be inquired in preset standard consignment address code library, it is to be encoded that this can be obtained
The corresponding target code in address.
The embodiment of the present invention stores all address informations by normal address library and each address information is corresponding in advance
The address code set can obtain the corresponding target code in the address quickly according to the address of the upper user of express delivery face list,
And the auto-coding of consignment address is realized, it is simple to operate.
On the basis of the above embodiments, it is preferable that any spare township in the preset standard consignment address code library
The corresponding section coding section in each spare section obtains in the following way in grade administrative area:
The corresponding a plurality of spare section of any emergency road is obtained from initial data, includes in the initial data
The road name of each emergency road, road type and each spare section endpoint are sat in any spare township level administrative area
Mark, wherein for any emergency road, any emergency road is made of a plurality of spare section;
According in the corresponding a plurality of spare section of any emergency road maximum longitude coordinate, minimum longitude coordinate,
Maximum latitude coordinate and minimum latitude coordinate, obtain the direction of any emergency road;
According to the direction of the first preset order and each emergency road, to each standby in any spare township level administrative area
It is numbered with road;
It is compiled the number of each emergency road as the section in a plurality of spare section corresponding with each emergency road
Code section.
Does so, how the section coding of each emergency road determine in preset standard consignment address code library?
The section coding section for providing each emergency road in preset standard consignment address code library first determines method, this hair
In bright embodiment, when obtaining preset standard consignment address code library, some original address dates are needed, to establish pre- bidding
Quasi- consignment address code library in the embodiment of the present invention, obtains original address data, due to original map data from map companies
It is scrappy, mixed and disorderly, it needs to clean these initial data and work out road number,
Initial data is the road segment data got from certain map companies, and each initial data includes: road name,
Road type and road segment segment extreme coordinates, wherein road type has 41000,42000,43000,51000,44000,45000,
52000,53000,54000,47000,49,41000 indicate highway, and 42000 indicate national highway, and 43000 indicate urban loop
Or city expressway, 51000 indicate provincial highway, and 44000 indicate main roads (major urban arterial highway), and 45000 indicate secondary road (city
City's subsidiary road), 52000 indicate county road, and 53000 indicate backroad, and 54000 indicate district internal passageway, and 47000 indicate general
Road, 49 indicate non-navigational road.
Citing ground, the information of certain initial data are as follows: Xueyuan Nanlu, 44000, LINESTRING
(116.3709028739.95806328,116.3710212239.95806634)。
Xueyuan Nanlu indicates road name, and 44000 indicate road type, LINESTRING
The extreme coordinates of (116.3709028739.95806328,116.3710212239.95806634) expression road segment segment.
Since the road segment segment of Xueyuan Nanlu entitled in initial data just has tens.
Initial data is the section segment data taken from certain map companies, and each road has been divided into N sections of roads
Section (with reference to when checking traffic with certain map, the part of different colours is shown according to congestion level, is exactly basic road segment segment
Unit);And initial data includes some roads for not needing to be encoded, such as the road (category of roads 49) in cell.Cause
This needs to arrange road segment segment and carry out relevant treatment, to obtain the information of entire road.
Specific step is as follows:
(1) China is determined using general technical standard: Class I highway, Class II highway, Class III highway, and Class IV highway leads to
Road rank field is crossed, each grade road for belonging to that requirement is encoded in coding rule is filtered out.
(2) road segment segment of fragmentation is arranged according to road name, due in the initial data of acquisition, same section of road
The section composition of fragmentation is routed, therefore, it is necessary to arrange to road segment segment.
(3) all road segment segment both ends extreme coordinates of the same name are taken out.
(4) in all extreme coordinates of taking-up, maximum longitude, minimum longitude, maximum latitude value and minimum are found
Latitude value.
(5) by judging the size of the difference of maximum longitude and minimum longitude, the difference of maximum latitude and minimum latitude, sentence
Disconnected road out belongs to north-south road or East and West direction road.
(6) each emergency road is numbered according to the first preset order, the first preset order can be from west eastwards,
From north to south, be also possible to from west eastwards, from north to south, be also possible to from east to west, from south to north, be also possible to from west to
East, from south to north, is successively encoded with odd even government establishments law (north and south is surprise, and thing is even).
Then the section coding section by the number of the emergency road as the corresponding a plurality of spare section of the emergency road.
On the basis of the above embodiments, it is preferable that described that any emergency road correspondence is obtained from initial data
A plurality of spare section, before further include:
According to road type, each emergency road in the initial data is screened.
On the basis of the above embodiments, it is preferable that any spare township in the preset standard consignment address code library
The corresponding building coding section of each spare building obtains in the following way in grade administrative area:
According to the second preset order, each spare building in any spare township level administrative area are numbered;
Using the number of each spare building as the corresponding building coding section of each spare building.
The spare township level administrative area given for one, in a certain order, to every in the spare township level administrative area
A spare building are numbered, then using the number of the spare building as the corresponding building coding section of the spare building.
On the basis of the above embodiments, it is preferable that described to be compiled according to the road address and preset standard consignment address
Code library, obtains the section coding section of the target code, specifically includes:
The road address is matched with the road name in the preset standard consignment address code library, if matching
Success, section coding section of the corresponding section coding section of the road that will match to as the target code.
By the road name progress in the road address and preset standard consignment address code library in the address to be encoded
Match, if successful match, section coding section of the corresponding section coding section of the road that just will match to as target code.
On the basis of the above embodiments, it is preferable that it is described by the address to be encoded be divided into township level administration regional address,
Road address and building address, specifically include:
By machine learning, word segmentation processing is carried out to the address to be encoded, the address to be encoded is obtained and is divided into township
The administrative regional address of grade, road address and building address.
Fig. 2 is a kind of structural schematic diagram for the system for realizing consignment address code provided in an embodiment of the present invention, such as Fig. 2 institute
Show, which includes: the first module 201, the second module 202, third module 203 and the 4th module 204, in which:
The target code of address to be encoded includes administrative area coding section, section coding section, building type coding section and building
Coding section, comprising:
First module 201 is used for the address to be encoded with being divided into township level administration regional address, road address and building
Location;
Second module 202 is used to obtain the administrative area coding section of the target code according to the township level administration regional address;
Third module 203 is used to obtain the target according to the road address and preset standard consignment address code library
The section coding section of coding includes each standby in each spare township level administrative area in the preset standard consignment address code library
With each spare building, the Mei Yibei in section, the corresponding section coding section in each spare section, each spare township level administrative area
With the corresponding building type coding section of building, the corresponding building coding section of each spare building;
4th module 204 is used for according to the building address and the preset standard consignment address code library, described in acquisition
The building type coding section of target code and the building coding section of the target code.
Firstly, for an address to be encoded, the target code of the address to be encoded is divided into administrative area coding section, section
Coding section, building type coding section and building coding section.
First module 201 treats coded address by machine learning and carries out word segmentation processing, and address to be encoded is divided into township level
Administrative regional address, road address and building address.
When obtaining the corresponding target code in address to be encoded, the second module 202 first is by nine in address to be encoded
Administrative area coding section of the township level administrative division code as target code.So-called township level administrative division code is to see to be encodedly
Which township location belongs to or which subdistrict office is belonged to, if belonging to subdistrict office, just by the administration of the subdistrict office
Administrative area coding section of the zoning code as target code.
After determining township level administrative area belonging to the address to be encoded, third module 203 is determined again in the address to be encoded
Section coding, the section coding is present in preset standard consignment address code library.
Then the 4th module 204 according in address to be encoded building title and the preset standard consignment that pre-establishes
Location code database obtains the building type coding section of target code and the building coding section of target code.This is pre-established pre-
It is marked in quasi- consignment address code library and is stored with all township level administrative areas, each spare building name in all township level administrative areas
Claim, the corresponding building type coding section of each spare building, the corresponding building coding section of each spare building.
Exactly because preset standard consignment address code stores a large amount of normal address in library, therefore, to be encoded
When address is encoded, it is only necessary to be inquired in preset standard consignment address code library, it is to be encoded that this can be obtained
The corresponding target code in address.
The specific implementation procedure of this system embodiment is identical as above method embodiment, and details please refer to above method implementation
Example, details are not described herein for this system embodiment.
The embodiment of the present invention stores all address informations by normal address library and each address information is corresponding in advance
The address code set can obtain the corresponding target code in the address quickly according to the address of the upper user of express delivery face list,
And the auto-coding of consignment address is realized, it is simple to operate.
Fig. 3 illustrates the entity structure schematic diagram of a kind of electronic equipment, as shown in figure 3, the server may include: processing
Device (processor) 310, communication interface (Communications Interface) 320, memory (memory) 330 and total
Line 340, wherein processor 310, communication interface 320, memory 330 complete mutual communication by bus 340.Communication connects
Mouth 340 can be used for the transmission of the information between server and smart television.Processor 310 can call patrolling in memory 330
Instruction is collected, to execute following method:
The address to be encoded is divided into township level administration regional address, road address and building address;
According to the township level administration regional address, the administrative area coding section of the target code is obtained;
According to the road address and preset standard consignment address code library, the section coding of the target code is obtained
Section, including each spare section in each spare township level administrative area, Mei Yibei in the preset standard consignment address code library
It is corresponding with each spare building, each spare building in the corresponding section coding section in section, each spare township level administrative area
Building type coding section, the corresponding building coding section of each spare building;
According to the building address and the preset standard consignment address code library, the Building class of the target code is obtained
The building coding section of type coding section and the target code.
In addition, the logical order in above-mentioned memory 330 can be realized by way of SFU software functional unit and conduct
Independent product when selling or using, can store in a computer readable storage medium.Based on this understanding, originally
Substantially the part of the part that contributes to existing technology or the technical solution can be in other words for the technical solution of invention
The form of software product embodies, which is stored in a storage medium, including some instructions to
So that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation of the present invention
The all or part of the steps of example the method.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (ROM,
Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. it is various
It can store the medium of program code.
The present embodiment provides a kind of non-transient computer readable storage medium, the non-transient computer readable storage medium
Computer instruction is stored, the computer instruction makes the computer execute method provided by above-mentioned each method embodiment, example
Such as include:
The address to be encoded is divided into township level administration regional address, road address and building address;
According to the township level administration regional address, the administrative area coding section of the target code is obtained;
According to the road address and preset standard consignment address code library, the section coding of the target code is obtained
Section, including each spare section in each spare township level administrative area, Mei Yibei in the preset standard consignment address code library
It is corresponding with each spare building, each spare building in the corresponding section coding section in section, each spare township level administrative area
Building type coding section, the corresponding building coding section of each spare building;
According to the building address and the preset standard consignment address code library, the Building class of the target code is obtained
The building coding section of type coding section and the target code.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through
The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program
When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light
The various media that can store program code such as disk.
The apparatus embodiments described above are merely exemplary, wherein described, unit can as illustrated by the separation member
It is physically separated with being or may not be, component shown as a unit may or may not be physics list
Member, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needs
In some or all of the modules achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness
Labour in the case where, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on
Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should
Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers
It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation
Method described in certain parts of example or embodiment.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used
To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;
And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and
Range.
Claims (9)
1. a kind of method for realizing consignment address code, which is characterized in that the target code of address to be encoded includes that administrative area is compiled
Code section, section coding section, building type coding section and building coding section, comprising:
The address to be encoded is divided into township level administration regional address, road address and building address;
According to the township level administration regional address, the administrative area coding section of the target code is obtained;
According to the road address and preset standard consignment address code library, the section coding section of the target code, institute are obtained
It states in preset standard consignment address code library including each spare section, each spare section in each spare township level administrative area
Corresponding section coding section, each spare building in each spare township level administrative area, the corresponding Building class of each spare building
Type coding section, the corresponding building coding section of each spare building;
According to the building address and the preset standard consignment address code library, the building type for obtaining the target code is compiled
The building coding section of code section and the target code.
2. method according to claim 1, which is characterized in that any spare in the preset standard consignment address code library
The corresponding section coding section in each spare section obtains in the following way in township level administrative area:
The corresponding a plurality of spare section of any emergency road is obtained from initial data, includes described in the initial data
The road name of each emergency road, road type and each spare section extreme coordinates in any spare township level administrative area,
In, for any emergency road, any emergency road is made of a plurality of spare section;
According to maximum longitude coordinate, the minimum longitude coordinate, maximum in the corresponding a plurality of spare section of any emergency road
Latitude coordinate and minimum latitude coordinate, obtain the direction of any emergency road;
According to the direction of the first preset order and each emergency road, to each spare road in any spare township level administrative area
Road is numbered;
Using the number of each emergency road as the section coding section in a plurality of spare section corresponding with each emergency road.
3. method according to claim 2, which is characterized in that described to obtain any emergency road pair from initial data
The a plurality of spare section answered, before further include:
According to road type, each emergency road in the initial data is screened.
4. method according to claim 1, which is characterized in that any spare in the preset standard consignment address code library
The corresponding building coding section of each spare building obtains in the following way in township level administrative area:
According to the second preset order, each spare building in any spare township level administrative area are numbered;
Using the number of each spare building as the corresponding building coding section of each spare building.
5. method according to claim 1, which is characterized in that described according to the road address and preset standard consignment address
Code database obtains the section coding section of the target code, specifically includes:
The road address is matched with the road name in the preset standard consignment address code library, if matching at
Function, section coding section of the corresponding section coding section of the road that will match to as the target code.
6. method according to claim 1, which is characterized in that it is described by the address to be encoded with being divided into township level administrative area
Location, road address and building address, specifically include:
By machine learning, word segmentation processing is carried out to the address to be encoded, the address to be encoded is obtained and is divided into township level row
Administrative division address, road address and building address.
7. a kind of system for realizing consignment address code, which is characterized in that the target code of address to be encoded includes that administrative area is compiled
Code section, section coding section, building type coding section and building coding section, comprising:
First module, for the address to be encoded to be divided into township level administration regional address, road address and building address;
Second module, for obtaining the administrative area coding section of the target code according to the township level administration regional address;
Third module, for obtaining the target code according to the road address and preset standard consignment address code library
Section coding section includes each spare road in each spare township level administrative area in the preset standard consignment address code library
Section, the corresponding section coding section in each spare section, each spare building in each spare township level administrative area, each spare building
The corresponding building type coding section of space, the corresponding building coding section of each spare building;
4th module, for obtaining the target and compiling according to the building address and the preset standard consignment address code library
The building type coding section of code and the building coding section of the target code.
8. a kind of electronic equipment characterized by comprising
At least one processor, at least one processor, communication interface and bus;Wherein,
The processor, memory, communication interface complete mutual communication by the bus;
The communication interface is for the information transmission between the test equipment and the communication equipment of display device;
The memory is stored with the program instruction that can be executed by the processor, and the processor calls described program to instruct energy
It is enough to execute such as method of any of claims 1-6.
9. a kind of non-transient computer readable storage medium, which is characterized in that the non-transient computer readable storage medium is deposited
Computer instruction is stored up, the computer instruction makes the computer execute the method as described in claim 1 to 6 is any.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811174652.1A CN109462403A (en) | 2018-10-09 | 2018-10-09 | A kind of method and system for realizing consignment address code |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811174652.1A CN109462403A (en) | 2018-10-09 | 2018-10-09 | A kind of method and system for realizing consignment address code |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109462403A true CN109462403A (en) | 2019-03-12 |
Family
ID=65607395
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811174652.1A Pending CN109462403A (en) | 2018-10-09 | 2018-10-09 | A kind of method and system for realizing consignment address code |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109462403A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111768153A (en) * | 2020-06-29 | 2020-10-13 | 王红波 | Express package ID coding method |
CN111932170A (en) * | 2020-07-06 | 2020-11-13 | 福建工程学院 | Method and system for generating express bill information |
CN113191121A (en) * | 2021-04-14 | 2021-07-30 | 上海东普信息科技有限公司 | Express bill number generation method, device, equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101373537A (en) * | 2008-10-24 | 2009-02-25 | 胡亦农 | Method for coding addresses of nationwide units |
CN104899647A (en) * | 2015-05-15 | 2015-09-09 | 张革伕 | Urban logistics distribution place name and address system |
CN106951780A (en) * | 2017-02-08 | 2017-07-14 | 中国科学院信息工程研究所 | Beat again the static detection method and device of bag malicious application |
-
2018
- 2018-10-09 CN CN201811174652.1A patent/CN109462403A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101373537A (en) * | 2008-10-24 | 2009-02-25 | 胡亦农 | Method for coding addresses of nationwide units |
CN104899647A (en) * | 2015-05-15 | 2015-09-09 | 张革伕 | Urban logistics distribution place name and address system |
CN106951780A (en) * | 2017-02-08 | 2017-07-14 | 中国科学院信息工程研究所 | Beat again the static detection method and device of bag malicious application |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111768153A (en) * | 2020-06-29 | 2020-10-13 | 王红波 | Express package ID coding method |
CN111932170A (en) * | 2020-07-06 | 2020-11-13 | 福建工程学院 | Method and system for generating express bill information |
CN113191121A (en) * | 2021-04-14 | 2021-07-30 | 上海东普信息科技有限公司 | Express bill number generation method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108320089A (en) | It attends a banquet distribution method, electronic device and computer readable storage medium | |
CN110298547A (en) | Methods of risk assessment, device, computer installation and storage medium | |
CN109462403A (en) | A kind of method and system for realizing consignment address code | |
CN109408781A (en) | A kind of consignment address coding method based on administrative division | |
CN110119918B (en) | Pre-allocation method and system for logistics order distribution, electronic equipment and storage medium | |
CN108564351A (en) | A kind of character management system and its operating method | |
CN108647910A (en) | Setting method, device, terminal and the computer storage media of city upblic traffic station | |
CN111754147A (en) | Road division method, system, device and computer readable storage medium | |
CN112381418A (en) | Case allocation method, device, equipment and storage medium | |
CN114841788A (en) | Engineering project construction management completion settlement overall process management system | |
CN110196869B (en) | Talent information intelligent matching method, system and interactive terminal | |
CN112860996A (en) | Interest point processing method and device, electronic equipment and medium | |
CN104657130A (en) | Method for hierarchically layering business support system | |
CN115630834B (en) | Case dispatching method and device, electronic equipment and computer-readable storage medium | |
Lehtomäki et al. | Running a zonation planning project | |
CN110322286A (en) | Electricity price information generation method and device | |
CN110175199A (en) | Energy enterprise key user's identifying and analyzing method based on K mean cluster algorithm | |
CN112101576B (en) | Distributed device usage machine learning model aggregation system | |
CN112258037A (en) | Order allocation method, terminal device and storage medium | |
CN113656187A (en) | Public security big data computing power service system based on 5G | |
CN115511253B (en) | Method, device, equipment and medium for evaluating land development capacity | |
CN109727144A (en) | Insure Incidence calculus method, apparatus, equipment and computer readable storage medium | |
CN113947390B (en) | Proportion distribution method and proportion distribution system for money achievement | |
CN112241860B (en) | Method, device, server and storage medium for determining network points | |
CN103186709B (en) | A kind of method and system determining risk value of security incident |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190312 |
|
RJ01 | Rejection of invention patent application after publication |