CN108388602B - Quick-searching can dispense the method and device and electronic equipment in warehouse - Google Patents

Quick-searching can dispense the method and device and electronic equipment in warehouse Download PDF

Info

Publication number
CN108388602B
CN108388602B CN201810110692.3A CN201810110692A CN108388602B CN 108388602 B CN108388602 B CN 108388602B CN 201810110692 A CN201810110692 A CN 201810110692A CN 108388602 B CN108388602 B CN 108388602B
Authority
CN
China
Prior art keywords
level
coding
administrative region
administrative
region
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.)
Active
Application number
CN201810110692.3A
Other languages
Chinese (zh)
Other versions
CN108388602A (en
Inventor
冯傲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hangzhou shupao Technology Co.,Ltd.
Original Assignee
Hangzhou Dt Dream Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hangzhou Dt Dream Technology Co Ltd filed Critical Hangzhou Dt Dream Technology Co Ltd
Priority to CN201810110692.3A priority Critical patent/CN108388602B/en
Publication of CN108388602A publication Critical patent/CN108388602A/en
Application granted granted Critical
Publication of CN108388602B publication Critical patent/CN108388602B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/083Shipping
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/08Logistics, e.g. warehousing, loading or distribution; Inventory or stock management
    • G06Q10/087Inventory or stock management, e.g. order filling, procurement or balancing against orders

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Economics (AREA)
  • Physics & Mathematics (AREA)
  • Development Economics (AREA)
  • General Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Tourism & Hospitality (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • Strategic Management (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

This specification embodiment provides the method and device and electronic equipment that a kind of quick-searching can dispense warehouse, and the method is applied in search engine, comprising: obtains the dispatching area information in warehouse;The dispatching area information includes at least level-one administrative region coding, second level administrative region coding and/or three-level administrative region coding;According to preset rules, the corresponding level-one administrative region coding of the dispatching area information or second level administration coding or three-level administrative region coding are stored;Receive for a certain destination address retrieval can shipping room request;Wherein, the administrative coding in the corresponding region to be dispensed of the destination address is carried in the request;According to the administration coding in the corresponding region to be dispensed of the destination address, the stored administrative region coding in the region to be dispensed is matched, the information that can dispense warehouse is obtained from the document being matched to.Using this specification embodiment, retrieval, which can be improved, can dispense the speed in warehouse.

Description

Quick-searching can dispense the method and device and electronic equipment in warehouse
Technical field
A kind of method that this specification embodiment is related to field of computer technology more particularly to quick-searching can dispense warehouse And device and electronic equipment.
Background technique
With the continuous development of internet, online shopping has become a kind of public shopping way generally used.
Each businessman that online shopping platform is entered can have the warehouse of at least one storage commodity, commodity in these warehouses Stockpile number and warehouse address require businessman and register in platform.With the increasingly increase of online shopping trading volume, Shang Jiawei Reply ever-increasing quantity on order generally requires to increase warehouse.Some businessmans, can be by storehouse in order to reduce intermediate stream expense Lab setting is in different regions, to reduce logistics cost close to buyer group, reduce shipment month.But for platform, Suddenly the warehouse quantity meeting band increased causes great pressure to access database.For example, platform generally requires help when single under buyer Businessman's matching can dispense warehouse;Platform access database is needed during this, is carried out from the magnanimity warehouse of data-base recording Matching, entire calculation amount is larger, required time also can be longer.And can all be generated all the time in platform mostly than order, because And frequent visit database more increases the pressure of platform and database.
Need to provide a kind of retrieval scheme that can efficiently dispense warehouse.
Summary of the invention
A kind of quick-searching that this specification embodiment provides can dispense the method and device and electronic equipment in warehouse:
According to this specification embodiment in a first aspect, providing a kind of method that quick-searching can dispense warehouse, the side Method is applied in search engine, comprising:
Obtain the dispatching area information in warehouse;The dispatching area information includes at least level-one administrative region coding, second level Administrative region coding and/or three-level administrative region coding;
According to preset rules, the corresponding level-one administrative region coding of the dispatching area information or second level administration coding are stored Or three-level administrative region coding;
Receive for a certain destination address retrieval can shipping room request;Wherein, it is carried in the request described The administrative coding in the corresponding region to be dispensed of destination address;
According to the administration coding in the corresponding region to be dispensed of the destination address, it is stored to match the region to be dispensed Administrative region coding, obtains the information that can dispense warehouse from the document being matched to.
Optionally, described according to preset rules, store the corresponding level-one administrative region of the dispatching area information encode or Second level administration coding or three-level administrative region coding, specifically include:
Obtain the corresponding regional codes at different levels of the dispatching area information;
It is existed simultaneously when level-one administrative region coding and the level-one administrative region encode lower all second-order administrative region coding When, coding full choosing label in the level-one administrative region is set, only the level-one administrative region coding of the full choosing label of storage setting;
When second level administrative region coding not all under level-one administrative region coding and level-one administrative region coding while depositing , and when second level administrative region coding and the lower whole three-level administrative region codings of second level administrative region coding exist simultaneously When, coding full choosing label in the second level administrative region is set, only the second level administrative region coding of the full choosing label of storage setting.
Optionally, the administration in the corresponding region to be dispensed of the destination address is encoded to three-level administrative region coding;
It is described to be encoded according to the administration in the corresponding region to be dispensed of the destination address, it matches the region to be dispensed and has deposited The administrative region of storage encodes, and the information that can dispense warehouse is obtained from the document being matched to, is specifically included:
According to the administration coding in the corresponding region to be dispensed of the destination address, the level-one where the administrative coding is obtained Administrative region coding, second level administrative region coding and/or three-level administrative region coding;
It is compiled in level-one administrative region coding, second level administrative region coding or the three-level administrative region where the administrative coding Code encodes in identical situation with the stored administrative region in region to be dispensed, obtains matched level-one administrative region and compiles Code, second level administrative region coding or three-level administrative region encode corresponding document;Wherein, the paper trail, which has, can dispense warehouse Information;
The information that can dispense warehouse is obtained from the document.
Optionally, the method also includes:
Can be dispensed described in retrieval warehouse inventory be greater than preset quantity can shipping room.
Optionally, the method also includes:
What calculating was retrieved can the distance between shipping room and the destination address;
By it is described apart from it is the smallest can shipping room be determined as optimal shipping room.
Optionally, the dispatching area information for obtaining warehouse, specifically includes:
When configuring the dispatching region in new warehouse in distribution side, the dispatching area information in the warehouse of configuration is obtained;Institute State the warehouse that new warehouse is not stored dispatching area information;
Alternatively,
When distribution side reconfigures the dispatching region in warehouse, the dispatching area information in the warehouse of configuration is obtained;
Correspondingly, the corresponding level-one administrative region coding of the storage dispatching area information or second level administration encode or Three-level administrative region coding, specifically includes:
After deleting the administrative region for having storage coding, the corresponding level-one administrative region of the dispatching area information is stored Coding or second level administration coding or three-level administrative region coding.
According to the second aspect of this specification embodiment, the device that a kind of quick-searching can dispense warehouse, the dress are provided It sets and is applied in search engine, comprising:
Acquiring unit obtains the dispatching area information in warehouse;The dispatching area information includes at least level-one administrative region Coding, second level administrative region coding and/or three-level administrative region coding;
Storage unit stores the corresponding level-one administrative region coding of the dispatching area information or two according to preset rules The administrative coding of grade or three-level administrative region coding;
Receiving unit, receive for a certain destination address retrieval can shipping room request;Wherein, it is taken in the request Administrative coding with the corresponding region to be dispensed of the destination address;
Retrieval unit encodes according to the administration in the corresponding region to be dispensed of the destination address, matches the area to be dispensed The stored administrative region coding in domain, obtains the information that can dispense warehouse from the document being matched to.
Optionally, the storage unit, specifically includes:
First obtains subelement, obtains the corresponding regional codes at different levels of the dispatching area information;
First storing sub-units, when level-one administrative region coding and the level-one administrative region encode lower all second-order administrative area When domain coding exists simultaneously, coding full choosing label in the level-one administrative region is set, only the level-one row of the full choosing label of storage setting Political affairs regional code;
Second storing sub-units, when not all second level is administrative under level-one administrative region coding and level-one administrative region coding Regional code exists simultaneously, and when second level administrative region coding and second level administrative region coding lower whole three-levels administrative region When coding exists simultaneously, coding full choosing label in the second level administrative region is set, only the second level of the full choosing label of storage setting is administrative Regional code.
Optionally, the retrieval unit, specifically includes:
Second obtains subelement, is encoded according to the administration in the corresponding region to be dispensed of the destination address, obtains the row Level-one administrative region coding, second level administrative region coding and/or three-level administrative region coding where political affairs coding;
Third obtains subelement, encodes in the level-one administrative region coding where the administrative coding, second level administrative region Or three-level administrative region coding encodes in identical situation with the stored administrative region in region to be dispensed, obtains matched Level-one administrative region coding, second level administrative region coding or three-level administrative region encode corresponding document;Wherein, the document note Record has the information that can dispense warehouse;
4th obtains subelement, and the information that can dispense warehouse is obtained from the document.
According to the third aspect of this specification embodiment, a kind of electronic equipment is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Obtain the dispatching area information in warehouse;The dispatching area information includes at least level-one administrative region coding, second level Administrative region coding and/or three-level administrative region coding;
According to preset rules, the corresponding level-one administrative region coding of the dispatching area information or second level administration coding are stored Or three-level administrative region coding;
Receive for a certain destination address retrieval can shipping room request;Wherein, it is carried in the request described The administrative coding in the corresponding region to be dispensed of destination address;
According to the administration coding in the corresponding region to be dispensed of the destination address, it is stored to match the region to be dispensed Administrative region coding, obtains the information that can dispense warehouse from the document being matched to.
The dispatching area information in warehouse is carried out de-redundancy processing first by this specification embodiment, is not only reduced warehouse and is matched The memory space for sending the complexity of area information to also a save database;And then during retrieval can dispense warehouse, due to matching The reduction for sending region complexity can be promoted when being that the administrative coding in the corresponding region to be dispensed of destination address is matched Matching efficiency;It so can be with quick obtaining to the information that can dispense warehouse according to the administrative region coding being matched to.
Detailed description of the invention
Fig. 1 is the flow chart for the method that the quick-searching that one embodiment of this specification provides can dispense warehouse;
Fig. 2 is the system construction drawing that the realization quick-searching that one embodiment of this specification provides can dispense warehouse;
Fig. 3 a-3c is the interface schematic diagram in the dispatching region for the setting object that one embodiment of this specification provides;
Fig. 4 is the dendrogram for the administrative region that one embodiment of this specification provides;
Fig. 5 is the module diagram for the device that the quick-searching that one embodiment of this specification provides can dispense warehouse.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with this specification.On the contrary, they are only and such as institute The example of the consistent device and method of some aspects be described in detail in attached claims, this specification.
It is only to be not intended to be limiting this explanation merely for for the purpose of describing particular embodiments in the term that this specification uses Book.The "an" of used singular, " described " and "the" are also intended to packet in this specification and in the appended claims Most forms are included, unless the context clearly indicates other meaning.It is also understood that term "and/or" used herein is Refer to and includes that one or more associated any or all of project listed may combine.
It will be appreciated that though various information may be described using term first, second, third, etc. in this specification, but These information should not necessarily be limited by these terms.These terms are only used to for same type of information being distinguished from each other out.For example, not taking off In the case where this specification range, the first information can also be referred to as the second information, and similarly, the second information can also be claimed For the first information.Depending on context, word as used in this " if " can be construed to " ... when " or " when ... " or " in response to determination ".
Fig. 1 is please referred to below shows the illustrative system architecture concept that can be applicable in herein.
In system architecture concept map 100, the communication of information may be implemented by network for various network nodes, then complete to hand over Mutual and data processing.System architecture concept map 100 may include the client via network 13 and one or more requesting parties 11 carry out the server-side 12 of the operator of data communication, and can integrate in the server-side 12 or independently of the server-side 12 database 121.
The server-side 12 may include the server for the search engine that response retrieval can dispense warehouse request, server set Group or the cloud platform constructed based on server cluster.
Each network 13 can include wired or wireless telecommunication device, and the network equipment that client 11 is based on can lead to The wired or wireless telecommunication installation is crossed to exchange data.For example, each network 13 can include local area network (" LAN "), it is wide Domain net (" WAN "), intranet, internet, mobile telephone network, Virtual Private Network (VPN), honeycomb fashion or other mobile radio communications Network, bluetooth, NFC or any combination thereof.In the discussion of exemplary implementation scheme, it should be appreciated that term " data " and " information " can Herein be used interchangeably refer to the text that may be present in computer based environment, image, audio, video or it is any its The information of its form.
The client 11 is used as request direction server-side 12 and sends the request retrieved and can dispense warehouse.Each The network equipment that client 11 is based on can include with the communication module that can issue and receive data via network 13 Device.For example, the network equipment that each client 11 is based on can include server, desktop computer, meter on knee Calculation machine, tablet computer, smart phone, handheld computer, personal digital assistant (" PDA ") or other any wired Or wireless processor driving device.In the discribed exemplary implementation scheme of Fig. 1, the network equipment that client 11 is based on can To be operated by end user.
The application such as Web-browser application or stand-alone utility can be used in user (including individual or entity) Program, so that file or webpage are checked, download, upload or accessed in other ways via network 13.Web browser applications journey The application program of sequence or stand-alone utility, can be with the web page server (or other servers, such as society that are connected to network 13 Hand over platform, payment platform etc.) to complete data interaction.
In Fig. 1, the computing device 122 of integrated relationship or separate relationships, especially the latter can be with the server-side 12 In the case where, it generally can be by internal network or dedicated Internet access, or can also be connected by the public network of encryption. Particularly, when for integrated relationship, it is therefore possible to use more efficient, the faster internal bus form of transmission speed connection.The calculating Device 122, when for integrated relationship or separate relationships, can directly (not shown) or by the server-side 12 access Database 121.
Programming appropriate is carried out to computer installation 122, it can be by the reality of method in this instruction control this specification It applies.Particularly, when for integrated relationship, the affairs of the processing of computer installation 122 can be considered as being processed without for server-side 12 Especially it is distinguish.
In actual use, the client 11 can send to server-side 12 via network 13 and be directed to some destination The retrieval of location can dispense the request in warehouse;Correspondingly, what server-side 12 can be sent according to the client 11 is directed to destination address Retrieval can dispense the request in warehouse, quick-searching can dispense the information in warehouse.
It please refers to example shown in Fig. 2 and introduces a kind of implementation realized quick-searching and can dispense the method in warehouse of this specification Example, the embodiment can be applied in search engine, and this method may comprise steps of:
Step 210: obtaining the dispatching area information in warehouse;The dispatching area information is compiled including at least level-one administrative region Code, second level administrative region coding and/or three-level administrative region coding.
In the present embodiment, described search engine can include but is not limited to such as inverted index (inverted index). The inverted index (inverted index) is a kind of higher database retrieval mode of efficiency, is particularly suitable under mass data Retrieval.There are many kinds of concrete modes for inverted index, and broadly, the search server based on Lucene (full-text search engine) all may be used It is considered to have used inverted index;For example including ES (ElasticSearch), Solr.Certainly, other any search engines all may be used Using the search engine as this specification embodiment.
In practical applications, the trigger condition of the step 210 may include the dispatching area that distribution side configures new warehouse Domain and the dispatching region for changing existing warehouse.
Therefore, the step 210 may include:
When configuring the dispatching region in new warehouse in distribution side, the dispatching area information in the warehouse of configuration is obtained;Institute State the warehouse that new warehouse is not stored dispatching area information.
Alternatively,
When distribution side reconfigures the dispatching region in warehouse, the dispatching area information in the warehouse of configuration is obtained;And And subsequent step 220: the corresponding level-one administrative region coding of the storage dispatching area information or second level administration coding or three-level Administrative region coding, can specifically include:
After deleting the administrative region for having storage coding, the corresponding level-one administrative region of the dispatching area information is stored Coding or second level administration coding or three-level administrative region coding.
In the present embodiment, the level-one administrative region can be higher than second level administrative region;The second level administrative region can be with Higher than three-level administrative region.
It is noted that the division in the dispatching region is different for example according to country variant or area:
For China, the division in administrative area is usual are as follows: province-city-area/county, i.e. level-one administrative region are to save, second level administrative area The city Yu Wei, three-level administrative region are area or county.
For the U.S., the division in administrative area is usual are as follows: state-area/prefecture-city, i.e. level-one administrative region are state, second level administrative area The area Yu Wei/prefecture, three-level administrative region are city.
In one specifically embodiment, above-mentioned level-one administrative region coding, second level administrative region coding, three-level administrative area Domain coding can refer to administrative coding.
(most Xin County and county are encoded with the administrative region of publication in National Bureau of Statistics of the People's Republic of China's on March 10th, 2017 The above administrative division code ends on July 31st, 2016) for be illustrated, province-city-area can be combined into one 6 rows Political affairs regional code;Wherein, the first two position can indicate to save, and intermediate two can indicate city, and latter two can indicate area.
Level-one administrative region is encoded due to only having province not have city, area, because hereafter 4 are 0.Such as the administrative area in Jiangsu Province Domain is encoded to 320000, and the administrative region in Zhejiang Province is encoded to 330000, and the administrative region in Anhui Province is encoded to 340000.
Second level administrative region is encoded due to only having province, city not to have area, because hereafter 2 are 0.Such as Hangzhou, Zhejiang province city Administrative region is encoded to 330100, and the administrative region of Ningbo City, Zhejiang Province is encoded to 330200, the administrative area of Nanjing Domain is encoded to 320100.
Three-level administrative region coding province, city and region has, and latter 2 are not 0.Such as the administration of Hangzhou, Zhejiang province city Binjiang District Regional code is 330108, and the administrative region of Hangzhou, Zhejiang province city Yuhang District is encoded to 330110.
It should be noted that the example of above-mentioned administrative region coding is merely illustrative, appoint in practical application, can be and use The administrative region coding that meaning is manually set.Specific administrative region is indicated by using the mode that administrative region encodes, and is not only subtracted The data volume for having lacked data transmission also further reduces the memory space of warehouse dispatching area information, improves on the whole Recall precision.
Step 220: according to preset rules, storing the corresponding level-one administrative region coding of the dispatching area information or second level Administration coding or three-level administrative region coding.
The dispatching area information de-redundancy described in detail below and storage mode:
The step 220 may include:
A1: the corresponding regional codes at different levels of the dispatching area information are obtained;
A2: when level-one administrative region coding and the level-one administrative region encode lower all second-order administrative region coding while depositing When, coding full choosing label in the level-one administrative region is set, only the level-one administrative region coding of the full choosing label of storage setting;
A3: when not all second level administrative region encodes simultaneously under level-one administrative region coding and level-one administrative region coding In the presence of, and when second level administrative region coding and the lower whole three-level administrative region codings of second level administrative region coding exist simultaneously When, coding full choosing label in the second level administrative region is set, only the second level administrative region coding of the full choosing label of storage setting.
A4: when not including whole three-level administrative regions codings under the coding of second level administrative region, then not doing removal redundancy, and The prior art is identical, only stores third administrative region coding in acquired dispatching area information.
For example, being as shown in Figure 3a the interface schematic diagram for dispensing area information in certain warehouse of configuration.It is set in the interface It is equipped with the input frame 31 of level-one administrative region, second level administrative region and three-level administrative region.The input frame 31 can be confession The Text Entry of user's inputting word information is also possible to the check box clicked as shown in Figure 3b for user.
It should be noted that for computer, it is practical to remember although be shown to user is the text of administrative region It is administrative region coding under record.For example, user inputs Zhejiang Province, computer record is 330000;User then inputs Hangzhou, then record modification is 330100, and so on.
It is noted that upper due to having between level-one administrative region, second level administrative region and three-level administrative region Junior's incidence relation;Therefore, in the undetermined situation in level-one administrative region, second level administrative region and three-level administrative region it is defeated Entering frame is (input frame 31 being represented by dotted lines) that can not be inputted.
As shown in Figure 3b, user is after adding level-one administrative region " Zhejiang Province ", it is also necessary to add two under " Zhejiang Province " Grade administrative region and three-level administrative region.Fig. 3 c is please referred to, user adds second level administrative region and is " Hangzhou " and selected " Hangzhoupro entirely Whole three-level administrative regions of state city " subordinate;User can be by click " submission " button, by the dispatching regional code of the object It is uploaded to search engine.
In the first implementation, when the user clicks after submitting button, the corresponding administrative area of dispatching area information is uploaded Domain coding are as follows: 330000 (Zhejiang Province), 330100 (Hangzhou, Zhejiang province), 330101 (Hangzhou, Zhejiang province city districts under city administration), 330102 (Hangzhou, Zhejiang province city Shangcheng District), 330103 (cities under the city of Hangzhou, Zhejiang province), 330104 (Hangzhou, Zhejiang province city Jianggan Districts), 330105 (Hangzhou, Zhejiang province city Gongshu Districts), 330106 (Hangzhou, Zhejiang province city Xihu Districts), 330108 (Hangzhou, Zhejiang province city Binjiangs Area), 330109 (XiaoShan, HangZhou City, Zhejiang Province areas), 330110 (Hangzhou, Zhejiang province city Yuhang Districts), 330111 (Hangzhou, Zhejiang province cities Fuyang area), 330122 (Hangzhou, Zhejiang province city Tonglu Counties), 330127 (Hangzhou, Zhejiang province city Chunan Counties), 330182 (Zhejiang Province Hangzhoupro Jiande City, state city), 330185 (Linan City, Hangzhou, Zhejiang province city).
When search engine stores the dispatching area information of the upload, due to level-one administrative region coding 330000 and it is somebody's turn to do Not all second level administrative region coding (only 330100) exists simultaneously under the coding of level-one administrative region, and works as second level administrative area Domain coding 330100 and the lower whole three-level administrative region codings of second level administrative region coding exist simultaneously;Therefore, therefore, it is arranged Choosing label, the second level administrative region for only storing the full choosing label of setting encode 330100 to second level administrative region coding 330100 entirely .
In second of implementation, when the user clicks after submitting button, user client locally carries out de-redundancy processing, place Reason process is same as described above;Therefore, the second level administrative region coding 330100 for being provided with full choosing label is only uploaded;Search engine is deposited When storing up the dispatching area information in the warehouse, the second level administrative region 330100 of full choosing label is stored.
Again for example, if the level-one administrative region that user selectes is " Zhejiang Province ", and select all second-order under " Zhejiang Province " Whole three-levels administrative region under administrative region and each second level administrative region;So, since level-one administrative region encodes 330000, which encode lower all second-order administrative region coding with the level-one administrative region, exists simultaneously;Therefore, level-one administration is set Choosing label, the level-one administrative region for only storing the full choosing label of setting encode 330000 entirely for regional code 330000.
China substantially has in level-one administrative area (provincial administrative area): 34 (23 provinces, 5 autonomous regions, 4 municipalities directly under the Central Government, 2 Special administrative region);Second level administrative area (local administrative area): 334 (294 prefecture-level cities, 7 areas, 30 autonomous prefectures, 3 Alliance);Three-level administrative area (administrative areas at the county level): 2876 (986 districts under city administration, 363 county-level cities, 1356 counties, 117 autonomous counties, 49 flags, 3 automonous banners, 1 special zone, 1 forest zone).By taking the dendrogram of administrative region shown in Fig. 4 as an example, every level-one is administrative Region all becomes more and more, if the dispatching region in warehouse is the whole nation, will need to store 2875 three-level administrative regions Coding;Storage efficiency is undoubtedly influenced in this way, and the readability of storage dispatching regional code is also very poor.
It based on the above embodiment, can be by the dispatching area information in warehouse before the dispatching area information of storage repository De-redundancy processing is carried out, the complexity for not only reducing warehouse dispatching area information also as save the memory space of database.
Step 230: receive for a certain destination address retrieval can shipping room request;Wherein, it is taken in the request Administrative coding with the corresponding region to be dispensed of the destination address.
By taking online shopping as an example, user places an order after payment, and the destination address of user's offer received is generally included in order;And According to the format that the destination address can be encoded based on administrative region, the destination address is converted to corresponding to be dispensed The administrative coding in region.
It illustrates, it is assumed that some destination address is Hangzhou, Zhejiang province city, the street the XX mansion XX, the Binjiang District room XX.According to save, City, area can be encoded with Rapid matching to corresponding administrative region, to be converted to the corresponding region to be dispensed of the destination address 330108 (Hangzhou, Zhejiang province city Binjiang Districts) of administration coding.
Step 240: being encoded according to the administration in the corresponding region to be dispensed of the destination address, match the region to be dispensed Stored administrative region coding, obtains the information that can dispense warehouse from the document being matched to.
Specifically, the step 240 may include:
B1: it is described to be encoded according to the administration in the corresponding region to be dispensed of the destination address, match the region to be dispensed Stored administrative region coding, the information that can dispense warehouse is obtained from the document being matched to, is specifically included:
B2: encoding according to the administration in the corresponding region to be dispensed of the destination address, obtains where the administration encodes Level-one administrative region coding, second level administrative region coding and/or three-level administrative region coding;
B3: in level-one administrative region coding, second level administrative region coding or the three-level administrative area where the administrative coding Domain coding encodes in identical situation with the stored administrative region in region to be dispensed, obtains matched level-one administrative region Coding, second level administrative region coding or three-level administrative region encode corresponding document;Wherein, the paper trail, which has, can dispense storehouse The information in library;
B4: the information that can dispense warehouse is obtained from the document.
It illustrates, it is assumed that the administration in the corresponding region to be dispensed of destination address is encoded to 330108 (Hangzhou, Zhejiang province cities Binjiang District);
According to described 330108, the level-one administrative region where can obtaining it respectively encodes 330000 (Zhejiang Province);Two Grade administrative region encodes 330100 (Hangzhou, Zhejiang province cities);Three-level administrative region coding 330108.
Level-one administrative region coding is encoded to for the stored administrative region in region to be dispensed, it is assumed that is 320000 (Jiangsu Province) and 330000 (Zhejiang Province);By 330000,330100,330108 and the stored administrative area in region to be dispensed Domain coding 320000,330000 is matched;It is 330000 since administration coding is identical;Therefore, available matched One administrative region encodes 330000 corresponding documents, and the information that can dispense warehouse is obtained from the document.
Second level administrative region coding is encoded to for the stored administrative region in region to be dispensed, it is assumed that is 330100 (Hangzhou, Zhejiang province city) and 330600 (Shaoxing, Zhejiang Province cities);With the region to be dispensed by 330000,330100,330108 The administrative region coding 330100,330600 of storage is matched;It is 330100 since administration coding is identical;It therefore, can be with It obtains matched second administrative region and encodes 330100 corresponding documents, and obtain the information that can dispense warehouse from the document.
Three-level administrative region coding is encoded to for the stored administrative region in region to be dispensed, it is assumed that is 330106 (Hangzhou, Zhejiang province city Xihu District), 330108 (Hangzhou, Zhejiang province city Binjiang Districts);By 330000,330100,330108 with it is described The stored administrative region coding 330106,330108 in region to be dispensed is matched;It is since administration coding is identical 330108;Therefore, available matched third administrative region encodes 330108 corresponding documents, and obtaining from the document can Dispense the information in warehouse.
By this specification embodiment, the dispatching area information in warehouse is subjected to de-redundancy processing first, not only reduces storehouse The complexity of library dispatching area information also as save the memory space of database;And then during retrieval can dispense warehouse, by It, can be with when being that the administrative coding in the corresponding region to be dispensed of destination address is matched in the reduction of dispatching region complexity Promote matching efficiency;It so can be with quick obtaining to the information that can dispense warehouse according to the administrative region coding being matched to.
On the basis of above-mentioned embodiment illustrated in fig. 2, after step 240, the method can also include:
Retrieve it is described dispatching warehouse inventory be greater than preset quantity can shipping room.
In actually dispatching, it is also necessary to which, in view of the inventory problem in warehouse, if the shortage of stock, warehouse just can not yet It delivers.
The preset quantity can be an artificial pre-set empirical value.
With the continuous development of computer technology, the especially progress of artificial intelligence, the preset quantity can also be logical Cross what machine learning was calculated.For example, the preset quantity based on history setting, can calculate one by machine learning algorithm A optimal preset quantity.
Have again, the preset quantity, which can also be, to be calculated based on big data technology.For example, passing through magnanimity number According to the preset quantity of the most of businessman's setting of discovery is 10, then also can be set as 10 for the preset quantity of target object.
It should be noted that preset quantity cannot be set smaller than 0 numerical value.
Under normal circumstances, the preset quantity can be set to 0;Because illustrating do not had in warehouse when inventory is 0 Target object.But in order to cope with high concurrent in the case where, may be set to be any number greater than 0.For example, warehouse Inventory it is 2 also surplus, and preset quantity is 0;It can also deliver on the depot theory at this time;But if the case where high concurrent, goes out It is existing, while having 3 delivery needs, and require warehouse delivery, it will go wrong at this time.But if the warehouse it is pre- If quantity be set as 2 or more than, such case would not occur, the warehouse will be excluded when retrieving warehouse.
Through this embodiment, in the case of can be to avoid high concurrent, there is the shipping room shortage of stock, promote whole operation effect Rate.
On the basis of a upper embodiment, the inventory in the retrieval shipping room is greater than sending out for preset quantity After freight house library, the method can also include:
What calculating was retrieved can the distance between shipping room and the destination address;
According to described apart from size, to it is described can shipping room be ranked up.
In the present embodiment, each warehouse is corresponding with warehouse address.It is retrieved in this way, server-side can calculate Out can the distance between shipping room and the destination address;Then, it is delivered apart from size to multiple according to calculated Warehouse is ranked up.The sequence can be positive sequence and be also possible to inverted order.
In practical applications, the warehouse address can be a latitude and longitude coordinates;Equally, the destination address can also be with It is a latitude and longitude coordinates.
Specifically, the warehouse address or destination address can be the position recorded according to positioning device, the position It can be the coordinate information for representing geographical location.Common positioning device can be using GPS of America satellite navigation system, Europe " Galileo " satellite navigation system, Russian GLONASS satellites navigation system, or Chinese Beidou satellite navigation system etc., Or similar combination.The coordinate information of this kind of positioning is also referred to as running fix.
Through this embodiment, based on can the distance between shipping room and destination address be ranked up, be convenient for subsequent processing, Such as select optimal shipping room.
On the basis of a upper embodiment, the inventory in the retrieval shipping room is greater than sending out for preset quantity After freight house library, the method can also include:
What calculating was retrieved can the distance between shipping room and the destination address;
By it is described apart from it is the smallest can shipping room be determined as optimal shipping room.
In the present embodiment, what the calculating was retrieved can the distance between shipping room and the destination address and upper one Embodiment is identical, and details are not described herein again.
Through this embodiment, it can determine the shipping room nearest apart from destination address, be dispensed so as to effectively shorten Time, improve user experience.
Corresponding with the embodiment of the method that aforementioned quick-searching can dispense warehouse, this specification additionally provides quick-searching can Dispense the embodiment of the device in warehouse.Described device embodiment can be by software realization, can also be by hardware or soft or hard The mode that part combines is realized.It taking software implementation as an example, is the place by equipment where it as the device on a logical meaning Computer program instructions corresponding in nonvolatile memory are read into memory what operation was formed by reason device.From hardware view Speech, a kind of hardware configuration of equipment may include processor, network where this specification quick-searching can dispense the device in warehouse Except interface, memory and nonvolatile memory, the equipment in embodiment where device can match generally according to the quick-searching The actual functional capability in warehouse is sent, can also include other hardware, this is repeated no more.
Referring to Fig. 5, the module map of the device in warehouse can be dispensed for the quick-searching that one embodiment of this specification provides, it is described Device has corresponded to embodiment illustrated in fig. 2, and described device is applied in search engine, comprising:
Acquiring unit 410 obtains the dispatching area information in warehouse;The dispatching area information includes at least level-one administrative area Domain coding, second level administrative region coding and/or three-level administrative region coding;
Storage unit 420, according to preset rules, store the corresponding level-one administrative region of the dispatching area information encode or Second level administration coding or three-level administrative region coding;
Receiving unit 430, receive for a certain destination address retrieval can shipping room request;Wherein, the request In carry the administrative coding in the corresponding region to be dispensed of the destination address;
Retrieval unit 440 is encoded according to the administration in the corresponding region to be dispensed of the destination address, is matched described to be dispensed The stored administrative region coding in region, obtains the information that can dispense warehouse from the document being matched to.
In an alternative embodiment:
The storage unit 420, specifically includes:
First obtains subelement, obtains the corresponding regional codes at different levels of the dispatching area information;
First storing sub-units, when level-one administrative region coding and the level-one administrative region encode lower all second-order administrative area When domain coding exists simultaneously, coding full choosing label in the level-one administrative region is set, only the level-one row of the full choosing label of storage setting Political affairs regional code;
Second storing sub-units, when not all second level is administrative under level-one administrative region coding and level-one administrative region coding Regional code exists simultaneously, and when second level administrative region coding and second level administrative region coding lower whole three-levels administrative region When coding exists simultaneously, coding full choosing label in the second level administrative region is set, only the second level of the full choosing label of storage setting is administrative Regional code.
In an alternative embodiment:
The retrieval unit 440, specifically includes:
Second obtains subelement, is encoded according to the administration in the corresponding region to be dispensed of the destination address, obtains the row Level-one administrative region coding, second level administrative region coding and/or three-level administrative region coding where political affairs coding;
Third obtains subelement, encodes in the level-one administrative region coding where the administrative coding, second level administrative region Or three-level administrative region coding encodes in identical situation with the stored administrative region in region to be dispensed, obtains matched Level-one administrative region coding, second level administrative region coding or three-level administrative region encode corresponding document;Wherein, the document note Record has the information that can dispense warehouse;
4th obtains subelement, and the information that can dispense warehouse is obtained from the document.
In an alternative embodiment:
Described device further include:
Second retrieval unit, what the inventory that warehouse can be dispensed described in retrieval was greater than preset quantity can shipping room.
In an alternative embodiment:
Described device further include:
Computation subunit, calculate retrieved can the distance between shipping room and the destination address;
Sorting subunit, according to described apart from size, to it is described can shipping room be ranked up.
In an alternative embodiment:
Described device further include:
Computation subunit, calculate retrieved can shipping room and described to the distance between destination address;
Determine subelement, by it is described apart from it is the smallest can shipping room be determined as optimal shipping room.
In an alternative embodiment:
The acquiring unit 410, specifically includes:
First obtains subelement, when configuring the dispatching region in new warehouse in distribution side, obtains the warehouse of configuration Dispense area information;The new warehouse is the warehouse of not stored dispatching area information;
Alternatively,
Second acquisition subelement obtains the warehouse of configuration when distribution side reconfigures the dispatching region in warehouse Dispense area information;
Correspondingly, the storage unit 420, specifically includes:
After deleting the administrative region for having storage coding, the corresponding level-one administrative region of the dispatching area information is stored Coding or second level administration coding or three-level administrative region coding.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity, Or it is realized by the product with certain function.A kind of typically to realize that equipment is computer, the concrete form of computer can To be personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play In device, navigation equipment, E-mail receiver/send equipment, game console, tablet computer, wearable device or these equipment The combination of any several equipment.
The function of each unit and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus Realization process, details are not described herein.
For device embodiment, since it corresponds essentially to embodiment of the method, so related place is referring to method reality Apply the part explanation of example.The apparatus embodiments described above are merely exemplary, wherein described be used as separation unit The unit of explanation may or may not be physically separated, and component shown as a unit can be or can also be with It is not physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to actual The purpose for needing to select some or all of the modules therein to realize this specification scheme.Those of ordinary skill in the art are not In the case where making the creative labor, it can understand and implement.
Figure 5 above describe quick-searching can dispense warehouse device inner function module and structural representation, essence On executing subject can be a kind of electronic equipment, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
Obtain the dispatching area information in warehouse;The dispatching area information includes at least level-one administrative region coding, second level Administrative region coding and/or three-level administrative region coding;
According to preset rules, the corresponding level-one administrative region coding of the dispatching area information or second level administration coding are stored Or three-level administrative region coding;
Receive for a certain destination address retrieval can shipping room request;Wherein, it is carried in the request described The administrative coding in the corresponding region to be dispensed of destination address;
According to the administration coding in the corresponding region to be dispensed of the destination address, it is stored to match the region to be dispensed Administrative region coding, obtains the information that can dispense warehouse from the document being matched to.
Optionally, described according to preset rules, store the corresponding level-one administrative region of the dispatching area information encode or Second level administration coding or three-level administrative region coding, specifically include:
Obtain the corresponding regional codes at different levels of the dispatching area information;
It is existed simultaneously when level-one administrative region coding and the level-one administrative region encode lower all second-order administrative region coding When, coding full choosing label in the level-one administrative region is set, only the level-one administrative region coding of the full choosing label of storage setting;
When second level administrative region coding not all under level-one administrative region coding and level-one administrative region coding while depositing , and when second level administrative region coding and the lower whole three-level administrative region codings of second level administrative region coding exist simultaneously When, coding full choosing label in the second level administrative region is set, only the second level administrative region coding of the full choosing label of storage setting.
Optionally, the administration in the corresponding region to be dispensed of the destination address is encoded to three-level administrative region coding;
It is described to be encoded according to the administration in the corresponding region to be dispensed of the destination address, it matches the region to be dispensed and has deposited The administrative region of storage encodes, and the information that can dispense warehouse is obtained from the document being matched to, is specifically included:
According to the administration coding in the corresponding region to be dispensed of the destination address, the level-one where the administrative coding is obtained Administrative region coding, second level administrative region coding and/or three-level administrative region coding;
It is compiled in level-one administrative region coding, second level administrative region coding or the three-level administrative region where the administrative coding Code encodes in identical situation with the stored administrative region in region to be dispensed, obtains matched level-one administrative region and compiles Code, second level administrative region coding or three-level administrative region encode corresponding document;Wherein, the paper trail, which has, can dispense warehouse Information;
The information that can dispense warehouse is obtained from the document.
Optionally, further includes:
Can be dispensed described in retrieval warehouse inventory be greater than preset quantity can shipping room.
Optionally, further includes:
What calculating was retrieved can the distance between shipping room and the destination address;
By it is described apart from it is the smallest can shipping room be determined as optimal shipping room.
Optionally, the dispatching area information for obtaining warehouse, specifically includes:
When configuring the dispatching region in new warehouse in distribution side, the dispatching area information in the warehouse of configuration is obtained;Institute State the warehouse that new warehouse is not stored dispatching area information;
Alternatively,
When distribution side reconfigures the dispatching region in warehouse, the dispatching area information in the warehouse of configuration is obtained;
Correspondingly, the corresponding level-one administrative region coding of the storage dispatching area information or second level administration encode or Three-level administrative region coding, specifically includes:
After deleting the administrative region for having storage coding, the corresponding level-one administrative region of the dispatching area information is stored Coding or second level administration coding or three-level administrative region coding.
In the embodiment of above-mentioned electronic equipment, it should be appreciated that the processor can be central processing unit (English: Central Processing Unit, referred to as: CPU), can also be other general processors, digital signal processor (English: Digital Signal Processor, referred to as: DSP), specific integrated circuit (English: Application Specific Integrated Circuit, referred to as: ASIC) etc..General processor can be microprocessor or the processor is also possible to Any conventional processor etc., and memory above-mentioned can be read-only memory (English: read-only memory, abbreviation: ROM), random access memory (English: random access memory, abbreviation: RAM), flash memory, hard disk or solid State hard disk.The step of method in conjunction with disclosed in the embodiment of the present invention, can be embodied directly in hardware processor and execute completion, or Hardware and software module combination in person's processor execute completion.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.It is set especially for electronics For standby embodiment, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to method reality Apply the part explanation of example.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to this specification Other embodiments.This specification is intended to cover any variations, uses, or adaptations of this specification, these modifications, Purposes or adaptive change follow the general principle of this specification and undocumented in the art including this specification Common knowledge or conventional techniques.The description and examples are only to be considered as illustrative, the true scope of this specification and Spirit is indicated by the following claims.
It should be understood that this specification is not limited to the precise structure that has been described above and shown in the drawings, And various modifications and changes may be made without departing from the scope thereof.The range of this specification is only limited by the attached claims System.

Claims (8)

1. a kind of method that quick-searching can dispense warehouse, which is characterized in that the method is applied in search engine, comprising:
Obtain the dispatching area information in warehouse;It is administrative that the dispatching area information includes at least level-one administrative region coding, second level Regional code and/or three-level administrative region coding;
Obtain the corresponding regional codes at different levels of the dispatching area information;
When level-one administrative region coding and the level-one administrative region, which encode lower all second-order administrative region coding, to be existed simultaneously, if The full choosing label of level-one administrative region coding is set, only the level-one administrative region coding of the full choosing label of storage setting;
Not all second level administrative region coding exists simultaneously under level-one administrative region coding and the level-one administrative region encode, with And when three-level administrative regions codings whole under second level administrative region coding and second level administrative region coding exist simultaneously, setting The full choosing label of second level administrative region coding, the second level administrative region for only storing the full choosing label of setting encode;
Receive for a certain destination address retrieval can shipping room request;Wherein, it is carried in the request based on administration The destination address is converted to the administrative of corresponding region to be dispensed and encoded by the format of regional code;
According to the administration coding in the corresponding region to be dispensed of the destination address, the stored administration in region to be dispensed is matched Regional code obtains the information that can dispense warehouse from the document being matched to;
Wherein, described to be encoded according to the administration in the corresponding region to be dispensed of the destination address, match the region to be dispensed The administrative region of storage encodes, comprising:
It is encoded in the corresponding level-one administrative region coding of the destination address and the stored level-one administration in region to be dispensed When identical, obtain matched level-one administrative region and encode corresponding document;
It is identical as the stored second level administration coding in region to be dispensed in the corresponding second level administrative region of the destination address When, it obtains matched second level administrative region and encodes corresponding document.
2. the method according to claim 1, wherein the administrative of the corresponding region to be dispensed of the destination address is compiled Code is that three-level administrative region encodes;
It is described to be encoded according to the administration in the corresponding region to be dispensed of the destination address, it is stored to match the region to be dispensed Administrative region coding, the information that can dispense warehouse is obtained from the document being matched to, is specifically included:
According to the administration coding in the corresponding region to be dispensed of the destination address, the level-one where obtaining the administrative coding is administrative Regional code, second level administrative region coding and/or three-level administrative region coding;
Where the administrative coding level-one administrative region coding, second level administrative region coding or three-level administrative region coding with The stored administrative region in region to be dispensed encodes in identical situation, obtains matched level-one administrative region coding, two Grade administrative region coding or three-level administrative region encode corresponding document;Wherein, the paper trail has the letter that can dispense warehouse Breath;
The information that can dispense warehouse is obtained from the document.
3. the method according to claim 1, wherein the method also includes:
Can be dispensed described in retrieval warehouse inventory be greater than preset quantity can shipping room.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
What calculating was retrieved can the distance between shipping room and the destination address;
By it is described apart from it is the smallest can shipping room be determined as optimal shipping room.
5. the method according to claim 1, wherein the dispatching area information for obtaining warehouse, specifically includes:
When configuring the dispatching region in new warehouse in distribution side, the dispatching area information in the warehouse of configuration is obtained;It is described new Warehouse be it is not stored dispatching area information warehouse;
Alternatively,
When distribution side reconfigures the dispatching region in warehouse, the dispatching area information in the warehouse of configuration is obtained;
Correspondingly, the corresponding level-one administrative region coding of the storage dispatching area information or second level administration coding or three-level Administrative region coding, specifically includes:
After deleting the administrative region for having storage coding, the corresponding level-one administrative region coding of the dispatching area information is stored Or second level administration coding or three-level administrative region encode.
6. the device that a kind of quick-searching can dispense warehouse, which is characterized in that described device is applied in search engine, comprising:
Acquiring unit obtains the dispatching area information in warehouse;The dispatching area information include at least level-one administrative region coding, Second level administrative region coding and/or three-level administrative region coding;
First obtains subelement, obtains the corresponding regional codes at different levels of the dispatching area information;
First storing sub-units, when level-one administrative region coding and the level-one administrative region encode lower all second-order administrative region and compile When code exists simultaneously, coding full choosing label in the level-one administrative region is set, only the level-one administrative area of the full choosing label of storage setting Domain coding;
Second storing sub-units, when not all second level administrative region under level-one administrative region coding and level-one administrative region coding Coding exists simultaneously, and when second level administrative region coding and the lower whole three-level administrative region codings of second level administrative region coding When existing simultaneously, coding full choosing label in the second level administrative region is set, only the second level administrative region of the full choosing label of storage setting Coding;
Receiving unit, receive for a certain destination address retrieval can shipping room request;Wherein, it is carried in the request Based on the format of administrative region coding, the destination address is converted into the administrative of corresponding region to be dispensed and is encoded;
Retrieval unit encodes according to the administration in the corresponding region to be dispensed of the destination address, has matched the region to be dispensed The administrative region of storage encodes, and the information that can dispense warehouse is obtained from the document being matched to;
Wherein, described to be encoded according to the administration in the corresponding region to be dispensed of the destination address, match the region to be dispensed The administrative region of storage encodes, comprising:
It is encoded in the corresponding level-one administrative region coding of the destination address and the stored level-one administration in region to be dispensed When identical, obtain matched level-one administrative region and encode corresponding document;
It is identical as the stored second level administration coding in region to be dispensed in the corresponding second level administrative region of the destination address When, it obtains matched second level administrative region and encodes corresponding document.
7. device according to claim 6, which is characterized in that the retrieval unit specifically includes:
Second obtains subelement, is encoded according to the administration in the corresponding region to be dispensed of the destination address, obtains the administration and compiles Level-one administrative region coding, second level administrative region coding and/or three-level administrative region coding where code;
Third obtains subelement, in level-one administrative region coding, the second level administrative region coding or three where the administrative coding Grade administrative region coding encodes in identical situation with the stored administrative region in region to be dispensed, obtains matched level-one Administrative region coding, second level administrative region coding or three-level administrative region encode corresponding document;Wherein, the paper trail has The information in warehouse can be dispensed;
4th obtains subelement, and the information that can dispense warehouse is obtained from the document.
8. a kind of electronic equipment characterized by comprising
Processor;
Memory for storage processor executable instruction;
The processor is configured to:
Obtain the dispatching area information in warehouse;It is administrative that the dispatching area information includes at least level-one administrative region coding, second level Regional code and/or three-level administrative region coding;
Obtain the corresponding regional codes at different levels of the dispatching area information;
When level-one administrative region coding and the level-one administrative region, which encode lower all second-order administrative region coding, to be existed simultaneously, if The full choosing label of level-one administrative region coding is set, only the level-one administrative region coding of the full choosing label of storage setting;
Not all second level administrative region coding exists simultaneously under level-one administrative region coding and the level-one administrative region encode, with And when three-level administrative regions codings whole under second level administrative region coding and second level administrative region coding exist simultaneously, setting The full choosing label of second level administrative region coding, the second level administrative region for only storing the full choosing label of setting encode;
Receive for a certain destination address retrieval can shipping room request;Wherein, it is carried in the request based on administration The destination address is converted to the administrative of corresponding region to be dispensed and encoded by the format of regional code;
According to the administration coding in the corresponding region to be dispensed of the destination address, the stored administration in region to be dispensed is matched Regional code obtains the information that can dispense warehouse from the document being matched to;
Wherein, described to be encoded according to the administration in the corresponding region to be dispensed of the destination address, match the region to be dispensed The administrative region of storage encodes, comprising:
It is encoded in the corresponding level-one administrative region coding of the destination address and the stored level-one administration in region to be dispensed When identical, obtain matched level-one administrative region and encode corresponding document;
It is identical as the stored second level administration coding in region to be dispensed in the corresponding second level administrative region of the destination address When, it obtains matched second level administrative region and encodes corresponding document.
CN201810110692.3A 2018-02-05 2018-02-05 Quick-searching can dispense the method and device and electronic equipment in warehouse Active CN108388602B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810110692.3A CN108388602B (en) 2018-02-05 2018-02-05 Quick-searching can dispense the method and device and electronic equipment in warehouse

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810110692.3A CN108388602B (en) 2018-02-05 2018-02-05 Quick-searching can dispense the method and device and electronic equipment in warehouse

Publications (2)

Publication Number Publication Date
CN108388602A CN108388602A (en) 2018-08-10
CN108388602B true CN108388602B (en) 2019-11-12

Family

ID=63075083

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810110692.3A Active CN108388602B (en) 2018-02-05 2018-02-05 Quick-searching can dispense the method and device and electronic equipment in warehouse

Country Status (1)

Country Link
CN (1) CN108388602B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113052656B (en) * 2021-03-29 2022-02-22 蔡文华 E-commerce platform management system based on big data

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101017487A (en) * 2006-02-07 2007-08-15 环达电脑(上海)有限公司 Method of transforming original address date for reducing address memory space with the code
CN101339638A (en) * 2007-07-03 2009-01-07 周磊 Method and system for automatic matching of commercial articles dispensing scope and goods receiving address for ordering platform
CN101848231A (en) * 2010-03-08 2010-09-29 深圳市同洲电子股份有限公司 Method and system for data transmission
CN103902556A (en) * 2012-12-26 2014-07-02 重庆新媒农信科技有限公司 Method and system for storing and querying data of multilevel menus
CN106296052A (en) * 2015-05-21 2017-01-04 上海道大医药科技有限公司 A kind of many storehouses delivery management method and system for electricity business
CN106997517A (en) * 2016-01-22 2017-08-01 阿里巴巴集团控股有限公司 Fourth-party logistics system, Logistics Distribution Method and system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101017487A (en) * 2006-02-07 2007-08-15 环达电脑(上海)有限公司 Method of transforming original address date for reducing address memory space with the code
CN101339638A (en) * 2007-07-03 2009-01-07 周磊 Method and system for automatic matching of commercial articles dispensing scope and goods receiving address for ordering platform
CN101848231A (en) * 2010-03-08 2010-09-29 深圳市同洲电子股份有限公司 Method and system for data transmission
CN103902556A (en) * 2012-12-26 2014-07-02 重庆新媒农信科技有限公司 Method and system for storing and querying data of multilevel menus
CN106296052A (en) * 2015-05-21 2017-01-04 上海道大医药科技有限公司 A kind of many storehouses delivery management method and system for electricity business
CN106997517A (en) * 2016-01-22 2017-08-01 阿里巴巴集团控股有限公司 Fourth-party logistics system, Logistics Distribution Method and system

Also Published As

Publication number Publication date
CN108388602A (en) 2018-08-10

Similar Documents

Publication Publication Date Title
US10380160B2 (en) Dynamic language model
US11734717B2 (en) Dynamic predictive similarity grouping based on vectorization of merchant data
CN109255564B (en) Pick-up point address recommendation method and device
CN106982256A (en) Information-pushing method, device, equipment and storage medium
CN106462565A (en) Updating text within a document
CN103930920A (en) Sharing content to discovered content streams in social networking services
CN103914498A (en) Search recommending method and device for map searching
CN105045799A (en) Searchable index
CN105677780A (en) Scalable user intent mining method and system thereof
CN107704485A (en) A kind of position recommends method and computing device
CN107274257A (en) Method and device is recommended in a kind of hotel service
CN105009070A (en) Computer application promotion
CN111639253B (en) Data weight judging method, device, equipment and storage medium
US10643292B1 (en) Trust-based social graph for travel planning
CN105247555A (en) Considering social information in generating recommendations
US20140180772A1 (en) Finding objects or services utilizing a communication link to enlist the help of and reward third parties to help locate the desired object or service
CN108463820A (en) The communication resource is distributed via information technology infrastructure
CN105283841A (en) Application-tailored object re-use and recycling
CN110503352A (en) A kind of method, apparatus and computer readable storage medium of determining delivery point
CN107395680A (en) Shop group's information push and output intent and device, equipment
CN115292344A (en) Data dictionary construction method and device, electronic equipment and storage medium
US20100161507A1 (en) Gps rating system
CN108388602B (en) Quick-searching can dispense the method and device and electronic equipment in warehouse
CN113312399A (en) Method and system for processing fare search
JP5331728B2 (en) Action history management apparatus, method and program

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
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211019

Address after: 310024 floor 5, building 7, No. 16, Zhuantang science and technology economic block, Xihu District, Hangzhou City, Zhejiang Province

Patentee after: Hangzhou shupao Technology Co.,Ltd.

Address before: Room 326, building 4, No. 16, Zhuantang science and technology economic block, Hangzhou, Zhejiang Province

Patentee before: HANGZHOU DT DREAM TECHNOLOGY Co.,Ltd.