CN109284952A - Method and device for positioning home region - Google Patents
Method and device for positioning home region Download PDFInfo
- Publication number
- CN109284952A CN109284952A CN201710602812.7A CN201710602812A CN109284952A CN 109284952 A CN109284952 A CN 109284952A CN 201710602812 A CN201710602812 A CN 201710602812A CN 109284952 A CN109284952 A CN 109284952A
- Authority
- CN
- China
- Prior art keywords
- image
- address
- latitude
- longitude
- dispatching
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 238000006243 chemical reaction Methods 0.000 claims description 22
- 230000004807 localization Effects 0.000 claims description 11
- 230000015572 biosynthetic process Effects 0.000 claims description 4
- 238000005192 partition Methods 0.000 description 17
- 238000004891 communication Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- YIWGJFPJRAEKMK-UHFFFAOYSA-N 1-(2H-benzotriazol-5-yl)-3-methyl-8-[2-[[3-(trifluoromethoxy)phenyl]methylamino]pyrimidine-5-carbonyl]-1,3,8-triazaspiro[4.5]decane-2,4-dione Chemical compound CN1C(=O)N(c2ccc3n[nH]nc3c2)C2(CCN(CC2)C(=O)c2cnc(NCc3cccc(OC(F)(F)F)c3)nc2)C1=O YIWGJFPJRAEKMK-UHFFFAOYSA-N 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000005856 abnormality Effects 0.000 description 1
- 238000009472 formulation Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000000203 mixture Substances 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 238000007781 pre-processing Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000011144 upstream manufacturing Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
- G06Q10/083—Shipping
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q10/00—Administration; Management
- G06Q10/08—Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
Abstract
The embodiment of the application provides a method and a device for positioning a home zone, wherein the method comprises the following steps: acquiring a distribution address of a distribution object; converting the delivery address into a position code; acquiring a corresponding raster image by adopting the position code, wherein the raster image is provided with an image code; and positioning the home area of the distribution object by using the image code and the position code. According to the embodiment of the application, the raster image is used for rapid positioning, and the processing efficiency is improved.
Description
Technical field
The invention relates to logistics information technique field, the localization methods more particularly to a kind of attributed region and one
The positioning device of kind attributed region.
Background technique
In electric business field, logistics subregion (also referred to as logistics is allocated) is extremely important in logistics distribution route formulation process
A link, be the node that upstream and downstream is connected in multi-echelon supply chain, running fluency is directly related to the supply of entire electric business
The running smoothness of chain.
Currently, the major way of logistics partition scheme has following two:
1, address and keyword partition scheme: this scheme is mainly divided according to administrative area and corresponding cell keyword
Area.This subregion major programme is to carry out big subregion first, in accordance with present administrative division, then use ground according to dispatching address
Location is segmented to match corresponding distribution region after obtaining keyword.Specifically, user places an order dispatching address by use,
Dispatching address is split, counties and townships of provinces and cities and mansion, village, cell, place etc. are split into, wherein level Four before dispatching address
(counties and townships of provinces and cities) be it is fixed, subsequent what address (mansion, village, cell, place) is and every because being all that user fills in manually
The literary style of a user has difference, therefore finally can all segment to the address that user fills in manually, then according to participle after
Keyword is matched to obtain target attributed region.
2, map area partition scheme: this scheme mainly carries out subregion using the technology of map.This subregion is mainly square
Case is to carry out inverse address processing to dispatching address first and parse longitude and latitude, the ownership for being then based on longitude and latitude and dividing in advance
Region carries out Region Matching and obtains target attributed region.
However, the shortcomings that above-mentioned logistics partition scheme following points:
1, according to address and keyword partition scheme, the address that cities and counties of multilevel address province address is filled in user can not be solved
Mismatch problem causes to carry out subregion Problem-Error according to cities and counties of province.Specifically, subregion is being carried out according to address and keyword
During, big subregion can be carried out according to counties and townships of provinces and cities first, then match the keyword in dispatching address again.At this point, if
The keyword that the address of front and last better address are extracted mismatches, and typically finds according to fuzzy matching keyword
Corresponding subregion, thus be easy to cause mistake.
Such as an address is written as: so-and-so cell of Dongcheng District, Beijing during March Yanjiao.It is possible that there are two types of the such addresses of user, the
The address option for directly selecting default one is the counties and townships of provinces and cities of front is not modified, and second situation is this region branch
Hold rapid delivery.If such case carries out subregion according to address and keyword, subregion is be easy to cause to be assigned to the one of Dongcheng District
Cell or market similar in a and Yanjiao keyword.
2, according to address and keyword partition scheme, since keyword is easy to repeat to be easy to cause subregion Problem-Error.Tool
For body, present cell market restaurant title etc. is much identical, such as Pekinese's Quanjude is the same, and many places have,
There is Quanjude this when if keyword, this when, one order was easy for being assigned in multiple areas.
3, according to address and keyword partition scheme, generally require to depend on present administrative area, still, present administration
Area is not optimum partition scheme geometrically, causes many places cannot be by nearest warehouse distribution of goods, can only be by being responsible for this
The warehouse in administrative area carries out distribution of goods, and great transport power is caused to waste.
4, according to map area partition scheme, needing a large amount of polygon includes to calculate, therefore need to occupy a large amount of calculate
Resource, to waste a large amount of computing resource and reduce treatment effeciency.
Summary of the invention
In view of the above problems, it proposes the embodiment of the present application and overcomes the above problem or at least partly in order to provide one kind
A kind of localization method of the attributed region to solve the above problems and a kind of corresponding positioning device of attributed region.
To solve the above-mentioned problems, the application discloses a kind of localization method of attributed region, comprising:
Obtain the dispatching address of dispatching object;
It is position encoded by the dispatching address conversion;
Using it is described it is position encoded obtain corresponding grating image, the grating image has image coding;
Using the attributed region of described image coding and the position encoded positioning dispatching object.
Optionally, the step of attributed region for dispensing object described using described image coding positioning includes:
Using described image coding and described position encoded obtain image recognition value;
Described image discre value is converted into regional code;
The attributed region of the dispatching object is positioned according to the regional code.
Optionally, the grating image generates offline in the following way:
Obtain specified map datum;
Image-region is divided in the map datum, described image region has corresponding attributed region;
It obtains the starting longitude and latitude in described image region and terminates longitude and latitude;Using the starting longitude and latitude in described image region
It is encoded with longitude and latitude formation zone is terminated;
The regional code is converted into image recognition value;
Grating image is generated using described image region and correspondence image discre value.
Optionally, further includes:
It obtains the starting longitude and latitude of the map datum and terminates longitude and latitude;
Image coding is generated using the starting longitude and latitude and end longitude and latitude of the map datum.
Optionally, described to include: for position encoded step by the dispatching address conversion
It is target longitude and latitude by the dispatching address conversion;
The position encoded of grating image for identification is generated using the target longitude and latitude.
Optionally, partial address is filled out including choosing in the dispatching address and hand fills out partial address, described by the dispatching ground
Location was converted to before the step of target longitude and latitude, further includes:
Identify the keyword for dispensing hand in address and filling out partial address;
Partial address is filled out using the choosing that the keyword corrects the dispatching address.
Optionally, further includes:
If hand, which fills out partial address, in the dispatching address to identify, user is notified to correct the dispatching address.
Optionally, described to include: using the step of position encoded acquisition corresponding grating image
Determine position encoded the belonged to image coding;
It obtains described image and encodes corresponding grating image.
Optionally, described to include: using described image coding and described position encoded the step of obtaining image recognition value
Obtain the offset of the grating image;
Calculate the offset and it is described it is position encoded between difference obtain image recognition value.
Disclosed herein as well is a kind of positioning devices of attributed region characterized by comprising
One or more processors;With
The instruction in one or more computer-readable mediums stored thereon, is executed by one or more of processors
When, cause described device to execute above-mentioned method.
Disclosed herein as well is one or more computer-readable mediums, instruction are stored thereon with, when by one or more
When processor executes, so that terminal device executes above-mentioned method.
The embodiment of the present application includes the following advantages:
In the embodiment of the present application, when needing the attributed region of locating delivery object, matching for dispatching object is obtained first
Send address, then using dispatching object dispatching address conversion obtain it is position encoded, and based on it is position encoded get it is corresponding
After grating image, the attributed region of the dispatching object is finally navigated to using position encoded and grating image image coding again,
Make it possible to carry out a series of subsequent corresponding processing based on the attributed region.It is carried out in the embodiment of the present application using grating image
Quickly positioning improves treatment effeciency.
Detailed description of the invention
Fig. 1 is a kind of step flow chart of the localization method embodiment 1 of attributed region of the application;
Fig. 2 is a kind of step flow chart of the localization method embodiment 2 of attributed region of the application;
Fig. 3 is a kind of application scenarios schematic diagram of commodity distribution of the application;
Fig. 4 is a kind of grating image schematic diagram of longitude and latitude conversion of the application;
Fig. 5 is a kind of area schematic of image color value of the application;
Fig. 6 is a kind of schematic diagram quickly positioned based on grating image of the application;
Fig. 7 is the flow chart that one kind of the application quickly positions;
Fig. 8 is a kind of structural block diagram of intelligent terminal embodiment of the application of the application.
Specific embodiment
In order to make the above objects, features, and advantages of the present application more apparent, with reference to the accompanying drawing and it is specific real
Applying mode, the present application will be further described in detail.
Referring to Fig.1, a kind of step flow chart of the localization method embodiment 1 of attributed region of the application is shown, specifically
It may include steps of:
Step 101, the dispatching address of dispatching object is obtained;
It step 102, is position encoded by the dispatching address conversion;
Step 103, using it is described it is position encoded obtain corresponding grating image, the grating image has image coding;
Step 104, using the attributed region of described image coding and the position encoded positioning dispatching object.
In practical applications, the embodiment of the present application can be applied to logistics distribution field, specifically, can apply various
The dispatching for dispensing object is realized.In the embodiment of the present application, it when needing the attributed region of locating delivery object, obtains match first
The dispatching address of object is sent, it is then position encoded using the dispatching address conversion acquisition of dispatching object, and obtained based on position encoded
After getting corresponding grating image, the dispatching object is finally navigated to using position encoded and grating image image coding again
Attributed region makes it possible to carry out a series of subsequent corresponding processing based on the attributed region.Grid are utilized in the embodiment of the present application
Table images are quickly positioned, and treatment effeciency is improved.
Referring to Fig. 2, a kind of step flow chart of the localization method embodiment 2 of attributed region of the application is shown, specifically
It may include steps of:
Step 201, the dispatching address of dispatching object is obtained;
The embodiment of the present application can be applied to electric business platform, and dispatching object is then the tool in different business field on electric business platform
Body things, such as commodity.When user electric business platform place an order carry out purchase commodity when, need to fill in commodity in shopping platform
Dispatching address, commodity are dispensed into user hand.
To make those skilled in the art more fully understand the embodiment of the present application, in the present specification, mainly made using commodity
It is illustrated to dispense a kind of example of object.
Referring to Fig. 3, when user is after electric business platform do shopping successfully, needs to be based on to dispense address commodity are sent to user hand
In.Wherein, in practical logistics transportation, need to carry out logistics subregion to determine attributed region, and based on determining attributed region
Logistics distribution route is formulated, so as to accurate and quickly progress commodity sortings, and, by commodity distribution to user.
In a preferred embodiment of the present application, carried out using grating image based on the dispatching address of dispatching object fast
The grating image of fast subregion, the embodiment of the present application can generate offline in the following way:
Obtain specified map datum;
Image-region is divided in the map datum, described image region has corresponding attributed region;
It obtains the starting longitude and latitude in described image region and terminates longitude and latitude;
Using the starting longitude and latitude and end longitude and latitude formation zone coding in described image region;
The regional code is converted into image recognition value;
Grating image is generated using described image region and correspondence image discre value.
The grating image of the embodiment of the present application is generated based on existing map datum, then divides image district on this basis
Domain is to determine attributed region, wherein in order to improve the location efficiency of attributed region, other than by map data rasterizing, also
Image recognition value is converted to after each image-region of the grating image is encoded using longitude and latitude formation zone.It needs to illustrate
It is that in a kind of preferable example, the image recognition value of the embodiment of the present application can refer to image color value, and the application can use figure
As color value quickly to position attributed region.
In a kind of example, map edit subregion is carried out according to express delivery point region or smallclothes person's service area and generates grid map
Picture.Grating image process is illustrated as example below:
(1) grating image size divides:
In practice, 1 meter or so is equivalent to according to general 0.0001 degree of the longitude and latitude region of China.Exist between the two and misses
Difference can not be converted directly, need to be converted according to the specific longitude and latitude of the earth.
The embodiment of the present application carries out grating image and does not need to be converted according to true distance, it is only necessary to according to longitude and latitude
Degree, which carries out conversion, can achieve the purpose that quick subregion.Subregion can carry out subregion, general cell according to cell and village
It all can be more than 100 meters with village, for the sake of assurance, can choose a picture point and represent 10 meters (0.001 degree), that is, can guarantee more
A cell/village is not present on a pixel, not will cause subsequent partitions Problem-Error thus.
Each warehouse or allocate probably be 100 kms or so dispatching region, every in this way figure probably laterally it is longitudinal all
There are 10000 pixels.If nationwide partition scheme, it is only necessary to grating image be carried out picture number, be then divided into more
A grating image guarantees the size of the rapid location identification and grating image of single image.
It should be noted that the example in the embodiment of the present application is intended merely to facilitate understanding, it is not construed as this Shen
It please be limited only to above-mentioned application scenarios or example.
(2) grating image encodes:
Image-region in each grating image is numbered using pure 32-bit number, and 32 numbers can indicate range
More than 4,000,000,000, subregion is fully met to courier.Referring to Fig. 4, after completing regional code, so that it may map zone number
To a kind of image color value.
(3) grating image of more image color values is generated:
After distributing regional code for each image-region in grating image, the grid will be also further generated
The image of table images encodes.In a preferred embodiment of the present application, the method can also include the following steps:
It obtains the starting longitude and latitude of the map datum and terminates longitude and latitude;
Image coding is generated using the starting longitude and latitude and end longitude and latitude of the map datum.
In other words, regional code is distributed for each image-region in grating image, according to grating image in map
The starting longitude and latitude and end longitude and latitude of data, generate image coding.Image coding can be used for based on dispatching address come fast
Speed navigates to a biggish region.
Specifically, amount of images calculating is carried out according to the size of grating image, then according to the starting of grating image and knot
Beam longitude and latitude is numbered, and referring to Fig. 4, if the starting longitude and latitude of grating image is (116.000,40.000), terminates longitude and latitude
It is (117.000,41.000), then grating image name is 116000_40000-117000_41000.Then according to zone number
It is converted to image color value, generates corresponding grating image.
In this example, user on map datum by editing polygonal region, by the starting of each polygonal region
Longitude and latitude and end longitude and latitude save and obtain regional code at longitude and latitude data group, utilize the regional code of this image-region
It is mapped on a kind of color value (image color value), color is directly filled to this block image-region by polygon filling technique
Value.
It should be noted that being exactly a big block plan on a grating image, for example Beijing is a subregion, north
There are 1000 couriers in capital, and each courier is responsible for a region, then has 1,000 image-regions on Pekinese's grating image
Division collectively constitutes a grating image.The attributed region of ordinary circumstance lower smallclothes person is that continuously, also there is special circumstances
It is discontinuous.
It step 202, is position encoded by the dispatching address conversion;
In a preferred embodiment of the present application, the step 202 may include following sub-step:
The dispatching address conversion is target longitude and latitude by sub-step S11;
Sub-step S12 generates the position encoded of grating image for identification using the target longitude and latitude.
In the embodiment of the present application, address pretreatment can be carried out for dispatching address.Specifically, address preprocessing process is,
Passed through inversely according to the user's administration regional address (partial address is filled out in choosing) and better address (hand fills out partial address) that dispense in address
Reason technology corrects administrative area information, and obtains the detailed longitude and latitude and community/village longitude and latitude of the dispatching address.
In a preferred embodiment of the present application, the dispatching address fills out partial address including choosing and hand is filled out partly
Location, it is described by the dispatching address conversion be target longitude and latitude the step of, i.e. can also include as follows before sub-step S11
Sub-step:
Sub-step S1 identifies the keyword for dispensing hand in address and filling out partial address;
Sub-step S2 fills out partial address using the choosing that the keyword corrects the dispatching address.
In practice, dispatching address can be divided into that partial address is filled out in choosing and hand fills out partial address, and choosing fills out partial address and is exactly
Fixed counties and townships of provinces and cities can remind user to complete input by modes such as drop-down menus, and it is comprising user that hand, which fills out partial address,
The better address with keyword is filled in manually.
Address pretreatment is different from subregion, unrecognized situation can occur in this process, therefore in practice can also be with
It is whether correct that the counties and townships of provinces and cities that front choosing is filled out are derived by better address.
When counties and townships of provinces and cities and better address are unmatched, if directly can judge by better address specific
Position, then can the counties and townships of provinces and cities to front correct.It for example, can be direct if dispatching address is Beijing Yanjiao
By this Keywords matching of Yanjiao to being Hebei province Yanjiao, rather than Beijing Yanjiao, it can directly be corrected at this time.
In a preferred embodiment of the present application, the method can also include following sub-step:
Sub-step S3 notifies user to correct the dispatching if hand is filled out partial address and can not be identified in the dispatching address
Address.
If better address can not identify under counties and townships of provinces and cities, this abnormality processing if belong to abnormal conditions will do it at this time
Manual identified will dispense address if it can manually identify and carry out manual amendment, then increase in address base, later can be with
Automatic identification is carried out, accuracy rate is improved.If manually can not also identify, relative users can be related to, allowing user to inform can know
Other exact address carries out the amendment of dispatching address.
Step 203, using it is described it is position encoded obtain corresponding grating image, the grating image has image coding;
In a preferred embodiment of the present application, the step 203 may include following sub-step:
Sub-step S21 determines the image coding at the position encoded place;
Sub-step S22 obtains described image and encodes corresponding grating image.
After will dispense address conversion is longitude and latitude, removes decimal place after longitude and latitude is multiplied 1000 and change into grid for identification
Image it is position encoded.For example, it is assumed that the longitude and latitude after dispatching address is converted is (116.34512,40.23421), then change into
The position encoded of image recognition is (116345,40234), is judged that the position encoded image that belongs to is encoded to (116000_
40000-117000_41000) this grating image.
Step 204, using described image coding and described position encoded image recognition value is obtained;
In a preferred embodiment of the present application, the step 204 may include following sub-step:
Sub-step S31 obtains the offset of the grating image;
Sub-step S32 using the offset and described position encoded calculates image recognition value.
It can be according to image coding and offset quick obtaining cell/village position image color value in the embodiment of the present application
Then image color value is converted into regional code and realizes quick subregion, is referred to Fig. 6 by (image recognition value).
Wherein, offset is the position encoded corresponding picture point of starting longitude and latitude for subtracting grating image, for example, above-mentioned
It is (116000,40000) that the corresponding picture point of longitude and latitude is originated in Pekinese's grating image, it is position encoded be (116345,
40234) i.e. (345,234) position that, the two subtracts each other image where obtaining longitude and latitude then directly takes (345,234) this point
Color value can.
Step 205, described image discre value is converted into regional code;
Step 206, the attributed region of the dispatching object is positioned according to the regional code.
After calculating image color value, so that it may the image color value be quickly converted as corresponding regional code, and be based on
Regional code navigates to the attributed region of the dispatching object.
It should be noted that there are two main classes for the application scenarios of the application, one kind is large-scale online shopping warehouse sorting and allocates
Center, one kind are the Distribution Center of express company.Referring to Fig. 3, concrete processing procedure is specifically included that
1, large-scale online shopping warehouse is issued by the dispatching address of order, directly according to the dispatching address of order progress subregion with
It determines and arrives corresponding attributed region, face of the generation with flow direction mark is single, and progress picking is packaged into courier packages, then can root
The express delivery Distribution Center being singly assigned to according to face.
2, the package information progress division operation that express delivery Distribution Center pulls receipts by higher level or higher level allocates.
3, subregion is carried out according to different regional code, i.e., based on dispensing after address determines regional code, be repositioned on pair
The attributed region answered.It wherein, include the dispatching address of order in package information.
4, commodity are hauled goods according to different regional codes and are sent to the corresponding attributed region of each region coding by distribution vehicle
Distribution point.
5, courier according to regional code gets oneself and must wrap up and dispenses in distribution point, is dispensed into according to better address
In user hand.
Using the embodiment of the present application, following problem at least can solve:
1, it is pre-processed using geography, partial address amendment choosing is filled out according to the hand of dispatching address and fills out partial address (counties and townships of provinces and cities
Deng) administration regional address, it can solve subregion Problem-Error caused by the mistake of administrative area.
2, subregion is carried out according to multivalue figure (grating image with image color value), is divided according to longitude and latitude
Area, this position partition scheme can be very good to solve keyword Problem-Error.
3, subregion is carried out using multivalue figure, the division in administrative area can be detached from, is directly carried out according to reasonable partition space
Subregion, can more reasonable warehouse configuration and improved efficiency.
4, position division is carried out using grating image, corresponding image district quickly can be got by position color
Domain solves the performance issue that region is judged according to map vector.
It is position encoded using the dispatching address conversion acquisition of dispatching object in the embodiment of the present application, it is obtained based on position encoded
After getting corresponding grating image, then position encoded and grating image image is used to encode to obtain image color value, is finally based on
Image color value conversion obtains regional code, so that it may the attributed region of the dispatching object is navigated to based on regional code, thus base
A series of subsequent corresponding processing are carried out in the attributed region.Acquisition figure is quickly positioned using grating image in the embodiment of the present application
As color value, quick subregion is realized, treatment effeciency is improved.
In order to make those skilled in the art more fully understand the embodiment of the present application, referring to a kind of quickly positioning shown in Fig. 7
Flow chart the treatment process of the application is illustrated.
(1) quickly partition sections include:
1, handle cell/village longitude and latitude where the dispatching address of order;
2, obtain grating image where longitude and latitude;
3, image color value is obtained according to the image of grating image coding and offset.;
It wherein, is that following (two) generate order part into the condition of (one), specifically (two) generate order part packet
It includes:
1, select commodity;
2, selection dispatching address;
3, the order of the commodity is generated based on dispatching address.
Wherein, the step of dispensing address for the selection in (two) needs to create address based on (three) for dispensing address
It is handled, specifically (three) creation address part includes:
1, address pretreatment;
2, generating new address includes cell/village longitude and latitude.
In addition, where obtaining longitude and latitude for (one) the step of grating image partition data portion can be generated based on (four)
Divide and handled, specifically (four) generation partition data part includes:
1, partition data is edited, i.e., divides polygonal region on map;
2, edit the regional code of each polygonal region;
3, grating image is generated after converting picture color value according to regional code.
Map datum in the embodiment of the present application generates grating image according to regional code, then quick using grating image
Positioning obtains image color value, carries out quick subregion.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method
It closes, but those skilled in the art should understand that, the embodiment of the present application is not limited by the described action sequence, because according to
According to the embodiment of the present application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should
Know, the embodiments described in the specification are all preferred embodiments, and related movement not necessarily the application is implemented
Necessary to example.
Embodiment of the disclosure can be implemented as using any suitable hardware, firmware, software, or and any combination thereof into
The system of the desired configuration of row.Fig. 8, which is schematically shown, can be used for realizing showing for each embodiment described in the disclosure
Example property system (or device) 400.
For one embodiment, Fig. 8 shows exemplary system 400, the system have one or more processors 402,
It is coupled to the system control module (chipset) 404 of at least one of (one or more) processor 402, is coupled to and be
The system storage 406 for control module 404 of uniting is coupled to the nonvolatile memory (NVM) of system control module 404/deposit
Storage equipment 408 is coupled to one or more input-output apparatus 410 of system control module 404, and is coupled to and is
The network interface 412 for control module 406 of uniting.
Processor 402 may include one or more single or multiple core processors, processor 402 may include general processor or
Any combination of application specific processor (such as graphics processor, application processor, Baseband processor etc.).In some embodiments,
System 400 can be as the browser described in the embodiment of the present application.
In some embodiments, system 400 may include with instruction one or more computer-readable mediums (for example,
System storage 406 or NVM/ store equipment 408) and mutually merge with the one or more computer-readable medium and be configured as
Execute instruction the one or more processors 402 to realize module thereby executing movement described in the disclosure.
For one embodiment, system control module 404 may include any suitable interface controller, with to (one or
It is multiple) at least one of processor 402 and/or any suitable equipment or component that communicate with system control module 404 mentions
For any suitable interface.
System control module 404 may include Memory Controller module, to provide interface to system storage 406.Storage
Device controller module can be hardware module, software module and/or firmware module.
System storage 406 can be used for for example, load of system 400 and storing data and/or instruction.For a reality
Example is applied, system storage 406 may include any suitable volatile memory, for example, DRAM appropriate.In some embodiments
In, system storage 406 may include four Synchronous Dynamic Random Access Memory of Double Data Rate type (DDR4SDRAM).
For one embodiment, system control module 404 may include one or more i/o controllers, with to
NVM/ stores equipment 408 and (one or more) input-output apparatus 410 provides interface.
For example, NVM/ storage equipment 408 can be used for storing data and/or instruction.NVM/ storage equipment 408 may include appointing
It anticipates nonvolatile memory appropriate (for example, flash memory) and/or to may include that any suitable (one or more) is non-volatile deposit
Equipment is stored up (for example, one or more hard disk drives (HDD), one or more CD (CD) drivers and/or one or more
Digital versatile disc (DVD) driver).
NVM/ storage equipment 408 may include a part for the equipment being physically mounted on as system 400
Storage resource or its can by the equipment access without a part as the equipment.For example, NVM/ storage equipment 408 can
It is accessed by network via (one or more) input-output apparatus 410.
(one or more) input-output apparatus 410 can be provided for system 400 interface with other any equipment appropriate
Communication, input-output apparatus 410 may include communication component, audio component, sensor module etc..Network interface 412 can be
System 400 provides interfaces with by one or more network communications, system 400 can according to one or more wireless network standards and/
Or arbitrary standards in agreement and/or agreement are carried out wireless communication with the one or more components of wireless network, such as are accessed
Wireless network based on communication standard, such as WiFi, 2G or 3G or their combination carry out wireless communication.
For one embodiment, at least one of (one or more) processor 402 can be with system control module 404
The logic of one or more controllers (for example, Memory Controller module) is packaged together.For one embodiment, (one
Or multiple) at least one of processor 402 can be encapsulated in the logic of one or more controllers of system control module 404
Together to form system in package (SiP).For one embodiment, at least one of (one or more) processor 402 can
It is integrated on same mold with the logic of one or more controllers of system control module 404.For one embodiment, (one
It is a or multiple) at least one of processor 402 can be integrated with the logic of one or more controllers of system control module 404
To form system on chip (SoC) on same mold.
In various embodiments, system 400 can be, but not limited to be: browser, work station, desk-top calculating equipment or movement
It calculates equipment (for example, lap-top computing devices, handheld computing device, tablet computer, net book etc.).In various embodiments,
System 400 can have more or fewer components and/or different frameworks.For example, in some embodiments, system 400 includes
One or more video cameras, keyboard, liquid crystal display (LCD) screen (including touch screen displays), nonvolatile memory port,
Mutiple antennas, graphic chips, specific integrated circuit (ASIC) and loudspeaker.
Wherein, if display includes touch panel, display screen may be implemented as touch screen displays, be used by oneself with receiving
The input signal at family.Touch panel includes one or more touch sensors to sense the hand on touch, slide, and touch panel
Gesture.The touch sensor can not only sense the boundary of a touch or slide action, but also detect and the touch or sliding
Operate relevant duration and pressure.
The embodiment of the present application also provides a kind of non-volatile readable storage medium, be stored in the storage medium one or
Multiple modules (programs) when the one or more module is used in terminal device, can make the terminal device execute
The instruction (instructions) of various method steps in the embodiment of the present application.
A kind of positioning device of attributed region is provided in one example, comprising: one or more processors;With,
The one or more machine readable medias for having instruction of upper storage, when being executed by one or more of processors, so that institute
It states device and executes the method such as browser execution in the embodiment of the present application.
Additionally provide one or more machine readable medias in one example, be stored thereon with instruction, when by one or
When multiple processors execute, so that device executes the method such as browser execution in the embodiment of the present application.
The embodiment of the present application discloses a kind of localization method and device of attributed region, and example 1 includes a kind of attributed region
Localization method, comprising: obtain dispatching object dispatching address;It is position encoded by the dispatching address conversion;Using described
Position encoded to obtain corresponding grating image, the grating image is encoded with image;Using described image coding and institute's rheme
Set the attributed region of the coding positioning dispatching object.
Example 2 may include the method for example 1, wherein the returning using the described image coding positioning dispatching object
The step of belonging to region includes: using described image coding and described position encoded to obtain image recognition value;Described image is identified
Value is converted to regional code;The attributed region of the dispatching object is positioned according to the regional code.
Example 3 may include the method for example 2, wherein the grating image generates offline in the following way: obtain specified
Map datum;Image-region is divided in the map datum, described image region has corresponding attributed region;Described in acquisition
The starting longitude and latitude and end longitude and latitude of image-region;It is generated using the starting longitude and latitude and end longitude and latitude in described image region
Regional code;The regional code is converted into image recognition value;It is generated using described image region and correspondence image discre value
Grating image.
Example 4 may include the method for example 3, wherein further include: obtain starting longitude and latitude and the end of the map datum
Longitude and latitude;Image coding is generated using the starting longitude and latitude and end longitude and latitude of the map datum.
Example 5 may include the method for example 1, wherein it is described by the dispatching address conversion be position encoded step packet
It includes: being target longitude and latitude by the dispatching address conversion;The position of grating image for identification is generated using the target longitude and latitude
Set coding.
Example 6 may include the method for example 5, wherein the dispatching address fills out partial address including choosing and hand is filled out partly
Location, it is described by the dispatching address conversion be target longitude and latitude the step of before, further includes: identify in the dispatching address
Hand fills out the keyword of partial address;Partial address is filled out using the choosing that the keyword corrects the dispatching address.
Example 7 may include the method for example 6, wherein further include: if hand is filled out partial address and can not be known in the dispatching address
Not, then user is notified to correct the dispatching address.
Example 8 may include the method for example 1, wherein described position encoded to obtain corresponding grating image using described
Step comprises determining that position encoded the belonged to image coding;It obtains described image and encodes corresponding grating image.
Example 9 may include the method for example 2, wherein described using described image coding and described position encoded to obtain figure
As the step of discre value includes: the offset for obtaining the grating image;Calculate the offset and it is described it is position encoded between
Difference obtain image recognition value.
Example 10, a kind of positioning device of attributed region, comprising: one or more processors;One stored thereon
Or the instruction in multiple computer-readable mediums, when being executed by one or more of processors, described device is caused to execute such as
The method of example 1-9.
Example 11, one or more computer-readable mediums, are stored thereon with instruction, hold when by one or more processors
When row, so that the method for the example 1-9 that terminal device executes.
Although some embodiments are various substitutions, and/or equivalent implementation for the purpose of illustrating and describing
Scheme calculates to reach same purpose and implement the realization for exemplifying and describing, and does not depart from the practical range of the application.This Shen
It please be intended to cover any modification or variation of the embodiment being discussed herein.It is, therefore, apparent that embodiment described herein only by right
It is required that being limited with their equivalent.
Claims (11)
1. a kind of localization method of attributed region characterized by comprising
Obtain the dispatching address of dispatching object;
It is position encoded by the dispatching address conversion;
Using it is described it is position encoded obtain corresponding grating image, the grating image has image coding;
Using the attributed region of described image coding and the position encoded positioning dispatching object.
2. the method according to claim 1, wherein described position the dispatching object using described image coding
Attributed region the step of include:
Using described image coding and described position encoded obtain image recognition value;
Described image discre value is converted into regional code;
The attributed region of the dispatching object is positioned according to the regional code.
3. according to the method described in claim 2, it is characterized in that, the grating image generates offline in the following way:
Obtain specified map datum;
Image-region is divided in the map datum, described image region has corresponding attributed region;
It obtains the starting longitude and latitude in described image region and terminates longitude and latitude;Using the starting longitude and latitude and knot in described image region
Beam longitude and latitude formation zone coding;
The regional code is converted into image recognition value;
Grating image is generated using described image region and correspondence image discre value.
4. according to the method described in claim 3, it is characterized by further comprising:
It obtains the starting longitude and latitude of the map datum and terminates longitude and latitude;
Image coding is generated using the starting longitude and latitude and end longitude and latitude of the map datum.
5. the method according to claim 1, wherein it is described by the dispatching address conversion be position encoded step
Suddenly include:
It is target longitude and latitude by the dispatching address conversion;
The position encoded of grating image for identification is generated using the target longitude and latitude.
6. according to the method described in claim 5, it is characterized in that, the dispatching address fills out partial address including choosing and hand fills out portion
Sub-address, it is described by the dispatching address conversion be target longitude and latitude the step of before, further includes:
Identify the keyword for dispensing hand in address and filling out partial address;
Partial address is filled out using the choosing that the keyword corrects the dispatching address.
7. according to the method described in claim 6, it is characterized by further comprising:
If hand, which fills out partial address, in the dispatching address to identify, user is notified to correct the dispatching address.
8. the method according to claim 1, wherein described use the corresponding grid map of the position encoded acquisition
As the step of include:
Determine position encoded the belonged to image coding;
It obtains described image and encodes corresponding grating image.
9. according to the method described in claim 2, it is characterized in that, described using described image coding and described position encoded
Include: to the step of image recognition value
Obtain the offset of the grating image;
Calculate the offset and it is described it is position encoded between difference obtain image recognition value.
10. a kind of positioning device of attributed region characterized by comprising
One or more processors;With
The instruction in one or more computer-readable mediums stored thereon, when being executed by one or more of processors,
Described device is caused to execute the method such as claim 1-9.
11. one or more computer-readable mediums, are stored thereon with instruction, when executed by one or more processors, make
The method for obtaining the claim 1-9 that terminal device executes.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710602812.7A CN109284952B (en) | 2017-07-21 | 2017-07-21 | Method and device for positioning home region |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710602812.7A CN109284952B (en) | 2017-07-21 | 2017-07-21 | Method and device for positioning home region |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109284952A true CN109284952A (en) | 2019-01-29 |
CN109284952B CN109284952B (en) | 2023-04-18 |
Family
ID=65185299
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710602812.7A Active CN109284952B (en) | 2017-07-21 | 2017-07-21 | Method and device for positioning home region |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109284952B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110009284A (en) * | 2019-04-03 | 2019-07-12 | 拉扎斯网络科技(上海)有限公司 | Information processing method, device, storage medium and electronic equipment |
CN110189075A (en) * | 2019-04-22 | 2019-08-30 | 顺丰科技有限公司 | A kind of posting address management method, device, equipment and storage medium |
CN117271693A (en) * | 2023-10-17 | 2023-12-22 | 中运科技股份有限公司 | Automatic judging method for arrival attribution of traffic route based on big data analysis |
CN117271693B (en) * | 2023-10-17 | 2024-04-26 | 中运科技股份有限公司 | Automatic judging method for arrival attribution of traffic route based on big data analysis |
Citations (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050219585A1 (en) * | 2004-03-31 | 2005-10-06 | Canon Kabushiki Kaisha | Color processing method and apparatus thereof |
CN101963996A (en) * | 2010-10-29 | 2011-02-02 | 中国科学院地理科学与资源研究所 | Global raster data storing method |
JP2011043626A (en) * | 2009-08-20 | 2011-03-03 | Ntt Docomo Inc | Reverse geocoding device and reverse geocoding method |
US20110106370A1 (en) * | 2006-03-14 | 2011-05-05 | Airmax Group Plc | Method and system for driver style monitoring and analysing |
CN102402526A (en) * | 2010-09-13 | 2012-04-04 | 方正国际软件有限公司 | Geographic information database management method and system |
CN103034737A (en) * | 2012-12-27 | 2013-04-10 | 天津市通卡公用网络系统有限公司 | Deviation rectifying method of electronic map |
CN103039115A (en) * | 2010-01-15 | 2013-04-10 | 苹果公司 | Location filtering using mobile country code |
CN103473230A (en) * | 2012-06-06 | 2013-12-25 | 阿里巴巴集团控股有限公司 | Service range determining method, logistics service provider recommending method and corresponding device |
US20140003740A1 (en) * | 2010-12-15 | 2014-01-02 | Canon Kabushiki Kaisha | Block patterns as two-dimensional ruler |
CN104361353A (en) * | 2014-11-17 | 2015-02-18 | 山东大学 | Application of area-of-interest positioning method to instrument monitoring identification |
CN104704831A (en) * | 2012-08-06 | 2015-06-10 | Vid拓展公司 | Sampling grid information for spatial layers in multi-layer video coding |
CN105096385A (en) * | 2015-07-20 | 2015-11-25 | 北京工业大学 | Method for three-dimensional display of two-dimensional earthquake profile |
CN105234087A (en) * | 2015-10-12 | 2016-01-13 | 杨彦明 | Method and system for automatically sorting parcels |
CN105556511A (en) * | 2013-03-15 | 2016-05-04 | 美国结构数据有限公司 | Apparatus, systems, and methods for providing location information |
CN105701664A (en) * | 2014-11-27 | 2016-06-22 | 苏宁云商集团股份有限公司 | Method and system for order distribution in electronic commerce website |
CN106156280A (en) * | 2016-06-24 | 2016-11-23 | 北京京东尚科信息技术有限公司 | Order method for sorting based on GIS map and order sorting system |
CN106447470A (en) * | 2016-11-30 | 2017-02-22 | 北京小度信息科技有限公司 | Delivery order distribution method and delivery order distribution device |
CN106777373A (en) * | 2017-01-31 | 2017-05-31 | 张军民 | Three-dimensional police geographical information platform and system architecture |
-
2017
- 2017-07-21 CN CN201710602812.7A patent/CN109284952B/en active Active
Patent Citations (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050219585A1 (en) * | 2004-03-31 | 2005-10-06 | Canon Kabushiki Kaisha | Color processing method and apparatus thereof |
US20110106370A1 (en) * | 2006-03-14 | 2011-05-05 | Airmax Group Plc | Method and system for driver style monitoring and analysing |
JP2011043626A (en) * | 2009-08-20 | 2011-03-03 | Ntt Docomo Inc | Reverse geocoding device and reverse geocoding method |
CN103039115A (en) * | 2010-01-15 | 2013-04-10 | 苹果公司 | Location filtering using mobile country code |
CN102402526A (en) * | 2010-09-13 | 2012-04-04 | 方正国际软件有限公司 | Geographic information database management method and system |
CN101963996A (en) * | 2010-10-29 | 2011-02-02 | 中国科学院地理科学与资源研究所 | Global raster data storing method |
US20140003740A1 (en) * | 2010-12-15 | 2014-01-02 | Canon Kabushiki Kaisha | Block patterns as two-dimensional ruler |
CN103473230A (en) * | 2012-06-06 | 2013-12-25 | 阿里巴巴集团控股有限公司 | Service range determining method, logistics service provider recommending method and corresponding device |
CN104704831A (en) * | 2012-08-06 | 2015-06-10 | Vid拓展公司 | Sampling grid information for spatial layers in multi-layer video coding |
CN103034737A (en) * | 2012-12-27 | 2013-04-10 | 天津市通卡公用网络系统有限公司 | Deviation rectifying method of electronic map |
CN105556511A (en) * | 2013-03-15 | 2016-05-04 | 美国结构数据有限公司 | Apparatus, systems, and methods for providing location information |
CN104361353A (en) * | 2014-11-17 | 2015-02-18 | 山东大学 | Application of area-of-interest positioning method to instrument monitoring identification |
CN105701664A (en) * | 2014-11-27 | 2016-06-22 | 苏宁云商集团股份有限公司 | Method and system for order distribution in electronic commerce website |
CN105096385A (en) * | 2015-07-20 | 2015-11-25 | 北京工业大学 | Method for three-dimensional display of two-dimensional earthquake profile |
CN105234087A (en) * | 2015-10-12 | 2016-01-13 | 杨彦明 | Method and system for automatically sorting parcels |
CN106156280A (en) * | 2016-06-24 | 2016-11-23 | 北京京东尚科信息技术有限公司 | Order method for sorting based on GIS map and order sorting system |
CN106447470A (en) * | 2016-11-30 | 2017-02-22 | 北京小度信息科技有限公司 | Delivery order distribution method and delivery order distribution device |
CN106777373A (en) * | 2017-01-31 | 2017-05-31 | 张军民 | Three-dimensional police geographical information platform and system architecture |
Non-Patent Citations (1)
Title |
---|
赵凯慧等: "警用地理信息基础平台的设计" * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110009284A (en) * | 2019-04-03 | 2019-07-12 | 拉扎斯网络科技(上海)有限公司 | Information processing method, device, storage medium and electronic equipment |
CN110189075A (en) * | 2019-04-22 | 2019-08-30 | 顺丰科技有限公司 | A kind of posting address management method, device, equipment and storage medium |
CN117271693A (en) * | 2023-10-17 | 2023-12-22 | 中运科技股份有限公司 | Automatic judging method for arrival attribution of traffic route based on big data analysis |
CN117271693B (en) * | 2023-10-17 | 2024-04-26 | 中运科技股份有限公司 | Automatic judging method for arrival attribution of traffic route based on big data analysis |
Also Published As
Publication number | Publication date |
---|---|
CN109284952B (en) | 2023-04-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105338358B (en) | The method and device that image is decoded | |
CN103984513A (en) | Massive geographic information system (GIS) information ultrahigh resolution displaying method | |
US20140223360A1 (en) | Providing indoor facility information on a digital map | |
US8872848B1 (en) | Rendering vector data as tiles | |
CN101303775A (en) | Method and system for presenting network topological structure based on GIS | |
CN106056529A (en) | Method and equipment for training convolutional neural network used for image recognition | |
CN110348679A (en) | Logistics processing method and device, electronic equipment and storage medium | |
CN110110923A (en) | A kind of order allocation method and device | |
CN102122502A (en) | Method and related device for displaying three-dimensional (3D) font | |
CN104320848B (en) | The system and method for indoor positioning is realized based on cloud computing | |
CN109284952A (en) | Method and device for positioning home region | |
CN104065953A (en) | Method and device based on display apparatus multi-view visual display control | |
CN110567459B (en) | Path planning method and device | |
CN110851050B (en) | Method and device for testing clicking of page elements | |
US20180077548A1 (en) | Providing visualization data to a co-located plurality of mobile devices | |
CN113779040A (en) | Progressive online high-precision map service engine system | |
CN107437367B (en) | Method and device for selecting labels | |
CN110435154A (en) | For the image processing method of 3D printing, device, electronic equipment and storage medium | |
CN103593445A (en) | Data filling method and device | |
JP2001022781A5 (en) | ||
CN206117732U (en) | Cartographic data server system | |
CN112990633B (en) | Index data generation method, logistics cost simulation method, equipment and storage medium | |
CN109344989A (en) | Route planning method and device | |
CN104346771A (en) | Electronic map layering management method | |
CN108965578A (en) | Information-pushing method and device |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |