CN109684624A - A kind of method and apparatus in automatic identification Order Address road area - Google Patents
A kind of method and apparatus in automatic identification Order Address road area Download PDFInfo
- Publication number
- CN109684624A CN109684624A CN201710970290.6A CN201710970290A CN109684624A CN 109684624 A CN109684624 A CN 109684624A CN 201710970290 A CN201710970290 A CN 201710970290A CN 109684624 A CN109684624 A CN 109684624A
- Authority
- CN
- China
- Prior art keywords
- order address
- road area
- identification
- automatic identification
- model
- 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 37
- 238000012549 training Methods 0.000 claims abstract description 43
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 14
- 238000012545 processing Methods 0.000 claims description 17
- 230000015654 memory Effects 0.000 claims description 13
- 230000011218 segmentation Effects 0.000 claims description 12
- 230000006854 communication Effects 0.000 claims description 9
- 230000007246 mechanism Effects 0.000 claims description 9
- 238000010845 search algorithm Methods 0.000 claims description 9
- 238000004891 communication Methods 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 9
- 230000006870 function Effects 0.000 description 8
- 230000008569 process Effects 0.000 description 5
- 238000004364 calculation method Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 238000013528 artificial neural network Methods 0.000 description 2
- 238000013136 deep learning model Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000005291 magnetic effect Effects 0.000 description 2
- 238000007781 pre-processing Methods 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 238000006467 substitution reaction Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 210000003127 knee Anatomy 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000000306 recurrent effect Effects 0.000 description 1
- 230000000717 retained effect Effects 0.000 description 1
- 230000006403 short-term memory Effects 0.000 description 1
- 230000001550 time effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/20—Natural language analysis
- G06F40/279—Recognition of textual entities
- G06F40/289—Phrasal analysis, e.g. finite state techniques or chunking
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/30—Semantic analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/044—Recurrent networks, e.g. Hopfield networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/08—Learning methods
- G06N3/084—Backpropagation, e.g. using gradient descent
Abstract
The invention discloses a kind of method and apparatus in automatic identification Order Address road area, are related to warehouse logistics field.One specific embodiment of this method includes: acquisition Order Address;The Order Address is identified according to trained identification model, exports the corresponding website of the Order Address and the corresponding road area ID of the Order Address;The identification model is obtained using backpropagation BP algorithm training coding-decoding Encoder-Decoder model.The embodiment carries out automatic identification to Order Address according to trained identification model, can fast and accurately obtain the corresponding website of Order Address and road area ID, improves matching efficiency and accuracy rate, and then improves dispatching efficiency, while reducing cost of labor.
Description
Technical field
The present invention relates to the method and apparatus in warehouse logistics field more particularly to a kind of automatic identification Order Address road area.
Background technique
In logistics field, dispatching person dispenses cargo according to Order Address.In the prior art, order passes through keyword
Match, term vector calculates the methods of similarity and is matched to website, then manual allocation to road area.
In realizing process of the present invention, at least there are the following problems in the prior art for inventor's discovery:
1. artificial degree of participation is high, it can not be automatically matched to road area, cause to dispense low efficiency and be easy error;
2. if needing to reappraise website keyword vocabulary updates, process is lengthy and jumbled, and needs artificial setting matching threshold,
Lead to site match low efficiency;
3. the accuracy rate of Order Address term vector is difficult to assess, cause site match accuracy rate not high.
Summary of the invention
In view of this, the embodiment of the present invention provides a kind of method and apparatus in automatic identification Order Address road area, Neng Gougen
According to Order Address rapidly and accurately automatic identification website and road area ID, matching efficiency and accuracy rate are improved, and then improves dispatching
Efficiency, while reducing cost of labor.
To achieve the above object, according to an aspect of an embodiment of the present invention, a kind of automatic identification Order Address is provided
The method in road area, comprising:
Obtain Order Address;
The Order Address is identified according to trained identification model, exports the corresponding website of the Order Address
Road corresponding with Order Address area ID;
The identification model is obtained using backpropagation BP algorithm training coding-decoding Encoder-Decoder model
's.
Optionally, the training sample of the identification model include History Order address, the corresponding website in History Order address,
The corresponding road area ID in History Order address.
Optionally, which comprises the Order Address and the training sample are pre-processed;The pretreatment
Including at least one of: the complex form of Chinese characters and simplified Chinese character are unified, and SBC case and DBC case are unified, and capitalization is unified with small letter.
Optionally, described identify including: to the pre- place to the Order Address according to trained identification model
Order Address after reason carries out word segmentation processing, is known using beam-search beamsearch algorithm to the Order Address after participle
Not.
Optionally, the use backpropagation BP algorithm training coding-decoding Encoder-Decoder model includes: pair
Training sample carries out word segmentation processing, introduces attention Attention mechanism training Encoder-Decoder model.
Optionally, the encoder and decoder of the Encoder-Decoder model all include long memory network in short-term
LSTM。
To achieve the above object, according to another aspect of an embodiment of the present invention, a kind of automatic identification Order Address is provided
The device in road area, comprising: data acquisition module, identification module;Wherein,
Data acquisition module, for obtaining Order Address;
Identification module exports the order for identifying according to trained identification model to the Order Address
The corresponding website in address and the corresponding road area ID of the Order Address;
The identification model is obtained according to backpropagation BP algorithm training coding-decoding Encoder-Decoder model.
Optionally, the training sample of the identification model includes: History Order address, the corresponding station in History Order address
Point, the corresponding road area ID in History Order address.
Optionally, the data acquisition module is also used to: being pre-processed to the Order Address and the training sample;
The pretreatment includes at least one of: the complex form of Chinese characters and simplified Chinese character are unified, and SBC case and DBC case are unified, capitalization with it is small
Write unification.
Optionally, the identification module is used for: word segmentation processing is carried out to the Order Address, using beam-search beam
Search algorithm identifies the Order Address after participle.
Optionally, the identification model carries out word segmentation processing to training sample, according to the training of attention Attention mechanism
Encoder-Decoder model obtains.
Optionally, the encoder and decoder of the Encoder-Decoder model all include long memory network in short-term
LSTM。
To achieve the above object, according to an embodiment of the present invention in another aspect, providing a kind of electronic equipment, comprising: extremely
A few processor;And the memory being connect at least one described processor communication;Wherein, the memory is stored with
The instruction that can be executed by one processor, described instruction are executed by least one described processor, so that described at least one
The method that a processor is able to carry out automatic identification Order Address road area provided by the embodiment of the present invention.
To achieve the above object, according to an embodiment of the present invention in another aspect, providing a kind of computer-readable storage medium
Matter, the computer-readable recording medium storage computer instruction, the computer instruction is for making the computer execute sheet
The method in automatic identification Order Address road area provided by inventing.
According to the technique and scheme of the present invention, one embodiment in foregoing invention has the following advantages that or the utility model has the advantages that root
Automatic identification is carried out to Order Address according to trained identification model, fast and accurately obtains the corresponding website of Order Address and road
Area ID improves matching efficiency and accuracy rate, and then improves dispatching efficiency, while reducing cost of labor.
Further effect possessed by above-mentioned non-usual optional way adds hereinafter in conjunction with specific embodiment
With explanation.
Detailed description of the invention
Attached drawing for a better understanding of the present invention, does not constitute an undue limitation on the present invention.Wherein:
Fig. 1 is the schematic diagram of the main flow of the method in automatic identification Order Address according to an embodiment of the present invention road area;
Fig. 2 is the training frame of the method in automatic identification Order Address according to an embodiment of the present invention road area;
Fig. 3 is the schematic diagram of the main modular of the device in automatic identification Order Address according to an embodiment of the present invention road area;
Fig. 4 is that the embodiment of the present invention can be applied to exemplary system architecture figure therein;
Fig. 5 is adapted for the structural representation of the computer system for the terminal device or server of realizing the embodiment of the present invention
Figure.
Specific embodiment
Below in conjunction with attached drawing, an exemplary embodiment of the present invention will be described, including the various of the embodiment of the present invention
Details should think them only exemplary to help understanding.Therefore, those of ordinary skill in the art should recognize
It arrives, it can be with various changes and modifications are made to the embodiments described herein, without departing from scope and spirit of the present invention.Together
Sample, for clarity and conciseness, descriptions of well-known functions and structures are omitted from the following description.
Fig. 1 is the schematic diagram of the main flow of the method in automatic identification Order Address according to an embodiment of the present invention road area.
As shown in Figure 1, a kind of method in automatic identification Order Address road area of the embodiment of the present invention, comprising:
Step S101: Order Address is obtained;
Step S102: the Order Address is identified according to trained identification model, exports the Order Address
Corresponding website and the corresponding road area ID (Identification) of the Order Address;
The identification model is using the training coding-decoding of backpropagation BP (Back-propagation) algorithm
Encoder-Decoder model obtains.
The website dispenses website, indicates logistics or express company in the logistics node of each region, website is object
Stream or the smallest distribution of goods place of express company.
The road area ID is the number in road area, and road area is the minimum unit of dispatching, such as residential quarter, school, office building
Deng;The corresponding website in multiple road areas, the road area ID be it is pre-set, an area Ge Lu is pertaining only to a website, one
Only one road area, the area Ge Lu ID.
Backpropagation BP algorithm is suitable for a kind of learning algorithm of multilayer neural networks, by output error anti-pass,
The each unit that error distribution is given to each layer during anti-pass obtains the error signal of each layer each unit, and each as amendment
The basis of unit weight after the parameter for ceaselessly adjusting each layer, makes output error be reduced to bottom line.
The coding-decoding Encoder-Decoder model is one of deep learning model, wherein coding is exactly
List entries is converted to the vector of a regular length, the vector for the regular length that coding generates exactly is converted to defeated by decoding
Sequence out.
Automatic identification is carried out to Order Address according to trained identification model, it is corresponding fast and accurately to obtain Order Address
Website and road area ID, improve matching efficiency and accuracy rate, and then improve dispatching efficiency, while reducing cost of labor.
In the embodiment of the present invention, the training sample of the identification model includes: History Order address, History Order address pair
Website, the corresponding road area ID in History Order address answered.
By using History Order address and its website, road area ID as training sample can be improved identification model performance and
Discrimination.
In the embodiment of the present invention, which comprises pre-processed to the Order Address and the training sample;Institute
Stating pretreatment includes at least one of: the complex form of Chinese characters and simplified Chinese character are unified, and SBC case and DBC case are unified, capitalization and small letter
It is unified.
By pre-processing to Order Address and training sample, the precision of identification model can be improved, to improve defeated
The accuracy rate of result out.
It is described identify including: pair to the Order Address using trained identification model in the embodiment of the present invention
The Order Address carries out word segmentation processing, is known using beam-search beam search algorithm to the Order Address after participle
Not.
Beam-search beam search algorithm is that a kind of heuristic search algorithm is put when each step Depth Expansion
The poor node of some quality is abandoned, the higher node of some quality is retained, reduces space consuming, improves time effect
Rate, while a possibility that finding maximum probability result is also improved, to improve the accuracy rate of identification model output result.
It is described using backpropagation BP algorithm training coding-decoding Encoder-Decoder model in the embodiment of the present invention
Including carrying out word segmentation processing to training sample, attention Attention mechanism training Encoder-Decoder model is introduced.
Attention mechanism is one of deep learning model, can generate an attention when generating output
Range, indicate next output when to pay close attention to which of list entries part, then according to the part of concern come
Next output is generated, in this way when generating each output, can accomplish the information for making full use of list entries to carry,
Significantly useful information relevant to output is found in list entries, the quality of output is improved, to improve the essence of identification model
Degree.
In the embodiment of the present invention, the encoder and decoder of the Encoder-Decoder model all include that length is remembered in short-term
Recall network LSTM.
LSTM (Long Short-Term Memory) is a kind of time recurrent neural network, when being suitable for handling and predicting
Between be spaced and postpone relatively long critical event in sequence, the embodiment of the present invention selects LSTM to constitute encoder and decoder more
It is appropriate for semantics recognition, the problem of gradient disappears in trained and identification process is can solve, improves the precision of identification model, from
And improve the accuracy rate of output result.
Fig. 2 is the training frame of the method in automatic identification Order Address according to an embodiment of the present invention road area.
As shown in Fig. 2, the encoder and decoder of the present embodiment Encoder-Decoder model respectively have four layers, latent space
Have two layers, each layer includes 512 LSTM.Training sample includes 40,000,000 Order Address website corresponding with its, road area ID.
Data prediction, including unified capital and small letter, full half-angle, convoluted etc. are carried out to training sample;Encoder Encoder is to order
Location is encoded, and corresponding latent space is mapped to;Using decoder Decoder and Attention mechanism is introduced, in conjunction with intermediate language
Justice is decoded latent space;According to website and road area ID that training data marks, error, then backpropagation, adjustment are calculated
The parameter of each layer in Encoder-Decoder model;It repeats the above steps, until convergence.
The automatic identification of Order Address is carried out according to trained identification model, inputs " Haidian District Beijing Fourth Ring to five rings
Between 5 unit 304 " of building of agriculture university, school district north gate, east the 41st, word segmentation processing is carried out to the address of input, in the base of identification model
Input address is identified using beam-search beam search algorithm on plinth, is exported " China Agricultural University, school district, east 2 ",
Wherein, " China Agricultural University, school district, east " is the corresponding website of Order Address, and " 2 " are the road area ID of the affiliated website.
Fig. 3 is the schematic diagram of the main modular of the device in automatic identification Order Address according to an embodiment of the present invention road area.
As shown in figure 3, a kind of device 300 in automatic identification Order Address road area of the embodiment of the present invention, comprising: data obtain
Modulus block 301, identification module 302;Wherein,
Data acquisition module 301, for obtaining Order Address;
Identification module 302 is ordered described in output for being identified according to trained identification model to the Order Address
The corresponding website of single-address and the corresponding road area ID of the Order Address;
The identification model is obtained according to backpropagation BP algorithm training coding-decoding Encoder-Decoder model.
Order Address is identified according to trained Encoder-Decoder model, can fast and accurately be obtained
The corresponding website of Order Address and road area ID improve dispatching efficiency and accuracy rate, cost of labor are greatly reduced.
In the embodiment of the present invention, the training sample of the identification model includes History Order address, History Order address pair
Website, the corresponding road area ID in History Order address answered.
By the way that the accurate of identification model can be improved using History Order address and its website, road area ID as training sample
Rate.
In the embodiment of the present invention, the data acquisition module 301 is also used to: to the Order Address and the training sample
It is pre-processed;The pretreatment includes at least one of: the complex form of Chinese characters and simplified Chinese character are unified, and SBC case and DBC case are united
One, capitalization is unified with small letter.
By pre-processing to Order Address and training sample, the precision of identification model can be improved, to improve defeated
The accuracy rate of result out.
In the embodiment of the present invention, the identification module 302 is used to carry out word segmentation processing to the Order Address, using boundling
Search beam search algorithm identifies the Order Address after participle.
Beam-search beam search algorithm, which carries out identification, can reduce space consuming, improve time efficiency, while also mentioning
High a possibility that finding maximum probability result, to improve the accuracy rate of identification model output result.
In the embodiment of the present invention, the identification model carries out word segmentation processing to training sample, according to attention Attention
Mechanism training Encoder-Decoder model obtains.
Introducing Attention mechanism training Encoder-Decoder model can accomplish that list entries is made full use of to carry
Information, to improve the discrimination of identification model.
In the embodiment of the present invention, the encoder and decoder of the Encoder-Decoder model all include that length is remembered in short-term
Recall network LSTM.
LSTM is more suitable for carrying out semantics recognition, can solve the problem of gradient disappears in trained and identification process, improves and knows
The precision of other model, to improve the accuracy rate of output result.
Fig. 4 shows the automatic identification Order Address road Qu Fangfa or automatic identification order that can apply the embodiment of the present invention
The exemplary system architecture 400 of address road zone device.
As shown in figure 4, system architecture 400 may include terminal device 401,402,403, network 404 and server 405.
Network 404 between terminal device 401,402,403 and server 405 to provide the medium of communication link.Network 404 can be with
Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be used terminal device 401,402,403 and be interacted by network 404 with server 405, to receive or send out
Send message etc..Various telecommunication customer end applications, such as the application of shopping class, net can be installed on terminal device 401,402,403
The application of page browsing device, searching class application, instant messaging tools, mailbox client, social platform software etc..
Terminal device 401,402,403 can be the various electronic equipments with display screen and supported web page browsing, packet
Include but be not limited to smart phone, tablet computer, pocket computer on knee and desktop computer etc..
Server 405 can be to provide the server of various services, such as utilize terminal device 401,402,403 to user
The shopping class website browsed provides the back-stage management server supported.Back-stage management server can believe the product received
The data such as breath inquiry request carry out the processing such as analyzing, and processing result is fed back to terminal device.
It should be noted that automatic identification Order Address road area method is generally by server provided by the embodiment of the present invention
405 execute, and correspondingly, automatic identification Order Address road zone device is generally positioned in server 405.
It should be understood that the number of terminal device, network and server in Fig. 4 is only schematical.According to realization need
It wants, can have any number of terminal device, network and server.
According to an embodiment of the invention, the present invention also provides a kind of electronic equipment and a kind of readable storage medium storing program for executing.
Electronic equipment of the invention includes: at least one processor;And it is connect at least one described processor communication
Memory;Wherein, the memory is stored with the instruction that can be executed by one processor, described instruction by it is described at least
One processor executes, so that at least one described processor executes automatic identification Order Address provided by the present invention road area
Method.
Computer readable storage medium of the invention, the computer-readable recording medium storage computer instruction are described
The method that computer instruction is used to that the computer to be made to execute automatic identification Order Address provided by the present invention road area.
Below with reference to Fig. 5, it illustrates the computer systems 500 for the terminal device for being suitable for being used to realize the embodiment of the present invention
Structural schematic diagram.Terminal device shown in Fig. 5 is only an example, function to the embodiment of the present invention and should not use model
Shroud carrys out any restrictions.
As shown in figure 5, computer system 500 includes central processing unit (CPU) 501, it can be read-only according to being stored in
Program in memory (ROM) 502 or be loaded into the program in random access storage device (RAM) 503 from storage section 508 and
Execute various movements appropriate and processing.In RAM503, also it is stored with system 500 and operates required various programs and data.
CPU501, ROM502 and RAM503 are connected with each other by bus 504.Input/output (I/O) interface 505 is also connected to bus
504。
I/O interface 505 is connected to lower component: the importation 506 including keyboard, mouse etc.;It is penetrated including such as cathode
The output par, c 507 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section 508 including hard disk etc.;
And the communications portion 509 of the network interface card including LAN card, modem etc..Communications portion 509 via such as because
The network of spy's net executes communication process.Driver 510 is also connected to I/O interface 505 as needed.Detachable media 511, such as
Disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 510, in order to read from thereon
Computer program be mounted into storage section 508 as needed.
Particularly, disclosed embodiment, the process described above with reference to flow chart may be implemented as counting according to the present invention
Calculation machine software program.For example, embodiment disclosed by the invention includes a kind of computer program product comprising be carried on computer
Computer program on readable medium, the computer program include the program code for method shown in execution flow chart.?
In such embodiment, which can be downloaded and installed from network by communications portion 509, and/or from can
Medium 511 is dismantled to be mounted.When the computer program is executed by central processing unit (CPU) 501, system of the invention is executed
The above-mentioned function of middle restriction.
It should be noted that computer-readable medium shown in the present invention can be computer-readable signal media or meter
Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not
Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter
The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires
Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage
Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device,
Or above-mentioned any appropriate combination.In the present invention, computer readable storage medium can be it is any include or storage journey
The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this
In invention, computer-readable signal media may include in a base band or as carrier wave a part propagate data-signal,
Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited
In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can
Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for
By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium
Program code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc. are above-mentioned
Any appropriate combination.
Flow chart and block diagram in attached drawing are illustrated according to the system of various embodiments of the invention, method and computer journey
The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation
A part of one module, program segment or code of table, a part of above-mentioned module, program segment or code include one or more
Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box
The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical
On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants
It is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute rule
The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction
It closes to realize.
Being described in module involved in the embodiment of the present invention can be realized by way of software, can also be by hard
The mode of part is realized.Described module also can be set in the processor, for example, can be described as: a kind of processor, packet
It includes: data acquisition module, identification module.Wherein, the title of these modules is not constituted to the module itself under certain conditions
Restriction, for example, data acquisition module is also described as the module of Order Address " obtain ".
As on the other hand, the present invention also provides a kind of computer-readable medium, which be can be
Included in equipment described in above-described embodiment;It is also possible to individualism, and without in the supplying equipment.Above-mentioned calculating
Machine readable medium carries one or more program, when said one or multiple programs are executed by the equipment, makes
Obtaining the equipment includes: that step S101 obtains Order Address;Step S102 is according to trained identification model to the Order Address
It is identified, exports the corresponding website of the Order Address and the corresponding road area ID of the Order Address;The identification model is
It is obtained using backpropagation BP algorithm training coding-decoding Encoder-Decoder model.
The method in automatic identification Order Address according to an embodiment of the present invention road area can be seen that through identification model to ordering
Single-address carries out automatic identification, can fast and accurately obtain the corresponding website of Order Address and road area ID, improves matching effect
Rate and accuracy rate, and then dispatching efficiency is improved, while reducing cost of labor.
Above-mentioned specific embodiment, does not constitute a limitation on the scope of protection of the present invention.Those skilled in the art should be bright
It is white, design requirement and other factors are depended on, various modifications, combination, sub-portfolio and substitution can occur.It is any
Made modifications, equivalent substitutions and improvements etc. within the spirit and principles in the present invention, should be included in the scope of the present invention
Within.
Claims (14)
1. a kind of method in automatic identification Order Address road area characterized by comprising
Obtain Order Address;
The Order Address is identified according to trained identification model, exports the corresponding website of the Order Address and institute
State the corresponding road area ID of Order Address;
The identification model is obtained using backpropagation BP algorithm training coding-decoding Encoder-Decoder model.
2. the method in automatic identification Order Address according to claim 1 road area, which is characterized in that the identification model
Training sample includes History Order address, the corresponding website in History Order address, the corresponding road area ID in History Order address.
3. the method in automatic identification Order Address according to claim 2 road area, which is characterized in that the described method includes:
The Order Address and the training sample are pre-processed;
The pretreatment includes at least one of: the complex form of Chinese characters and simplified Chinese character are unified, and SBC case and DBC case are unified, capitalization
It is unified with small letter.
4. the method in automatic identification Order Address according to claim 1 road area, which is characterized in that the basis trains
Identification model to the Order Address carry out identification include: to the Order Address carry out word segmentation processing, using beam-search
Beam search algorithm identifies the Order Address after participle.
5. the method in automatic identification Order Address according to claim 1 road area, which is characterized in that described to be passed using reversed
Broadcasting BP algorithm training coding-decoding Encoder-Decoder model includes: to carry out word segmentation processing to training sample, introduces and pays attention to
Power Attention mechanism trains Encoder-Decoder model.
6. the method in automatic identification Order Address according to claim 1 road area, which is characterized in that the Encoder-
The encoder and decoder of Decoder model all include long memory network LSTM in short-term.
7. a kind of device in automatic identification Order Address road area characterized by comprising data acquisition module, identification module;Its
In,
Data acquisition module, for obtaining Order Address;
Identification module exports the Order Address for identifying using trained identification model to the Order Address
Corresponding website and the corresponding road area ID of the Order Address;
The identification model is obtained according to backpropagation BP algorithm training coding-decoding Encoder-Decoder model.
8. the device in automatic identification Order Address according to claim 7 road area, which is characterized in that the identification model
Training sample includes: History Order address, the corresponding website in History Order address, the corresponding road area ID in History Order address.
9. the device in automatic identification Order Address according to claim 8 road area, which is characterized in that the data acquisition mould
Block is also used to: being pre-processed to the Order Address and the training sample;
The pretreatment includes at least one of: the complex form of Chinese characters and simplified Chinese character are unified, and SBC case and DBC case are unified, capitalization
It is unified with small letter.
10. the device in automatic identification Order Address according to claim 7 road area, which is characterized in that the identification module
For: word segmentation processing is carried out to the Order Address, using beam-search beam search algorithm to the Order Address after participle
It is identified.
11. the device in automatic identification Order Address according to claim 7 road area, which is characterized in that the identification model
It is obtained according to attention Attention mechanism training Encoder-Decoder model.
12. the device in automatic identification Order Address according to claim 7 road area, which is characterized in that the Encoder-
The encoder and decoder of Decoder model all include long memory network LSTM in short-term.
13. a kind of electronic equipment characterized by comprising
At least one processor;And
The memory being connect at least one described processor communication, for storing one or more programs;
When one or more of programs are executed by least one described processor, so that one or more of processors are realized
Such as method as claimed in any one of claims 1 to 6.
14. a kind of computer-readable medium, is stored thereon with computer program, which is characterized in that described program is held by processor
Such as method as claimed in any one of claims 1 to 6 is realized when row.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710970290.6A CN109684624B (en) | 2017-10-18 | 2017-10-18 | Method and device for automatically identifying order address road area |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710970290.6A CN109684624B (en) | 2017-10-18 | 2017-10-18 | Method and device for automatically identifying order address road area |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109684624A true CN109684624A (en) | 2019-04-26 |
CN109684624B CN109684624B (en) | 2023-12-08 |
Family
ID=66183278
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710970290.6A Active CN109684624B (en) | 2017-10-18 | 2017-10-18 | Method and device for automatically identifying order address road area |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109684624B (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110738305A (en) * | 2019-08-27 | 2020-01-31 | 深圳市跨越新科技有限公司 | method and system for analyzing logistics waybill address |
CN110852620A (en) * | 2019-11-12 | 2020-02-28 | 上海德启信息科技有限公司 | Logistics order processing method and device, electronic equipment and storage medium |
CN113011157A (en) * | 2021-03-19 | 2021-06-22 | 中国联合网络通信集团有限公司 | Method, device and equipment for hierarchical processing of address information |
CN113076746A (en) * | 2020-01-06 | 2021-07-06 | 阿里巴巴集团控股有限公司 | Data processing method and system, storage medium and computing device |
CN113190676A (en) * | 2020-01-14 | 2021-07-30 | 北京京东振世信息技术有限公司 | Method and device for extracting address keywords |
CN113515687A (en) * | 2020-04-09 | 2021-10-19 | 北京京东振世信息技术有限公司 | Logistics information acquisition method and device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102314645A (en) * | 2011-09-26 | 2012-01-11 | 深圳市络道科技有限公司 | Address matching method and system |
CN105234087A (en) * | 2015-10-12 | 2016-01-13 | 杨彦明 | Method and system for automatically sorting parcels |
CN106651247A (en) * | 2016-11-16 | 2017-05-10 | 成都地图慧科技有限公司 | Address area block matching method based on GIS topology analysis and address area block matching system thereof |
US20170213183A1 (en) * | 2016-01-22 | 2017-07-27 | Alibaba Group Holding Limited | Logistics system and logistics distribution method and system |
CN107203789A (en) * | 2017-06-23 | 2017-09-26 | 北京小度信息科技有限公司 | Distribution model method for building up, distribution method and relevant apparatus |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7948977B2 (en) * | 2006-05-05 | 2011-05-24 | Broadcom Corporation | Packet routing with payload analysis, encapsulation and service module vectoring |
US9405541B2 (en) * | 2012-03-16 | 2016-08-02 | International Business Machines Corporation | Run-time instrumentation indirect sampling by address |
CN103279868B (en) * | 2013-05-22 | 2016-08-17 | 兰亭集势有限公司 | A kind of method and apparatus of automatic identification swindle order |
CN106845894A (en) * | 2016-12-29 | 2017-06-13 | 天津中科智能识别产业技术研究院有限公司 | A kind of express parcel sorting method and its device |
-
2017
- 2017-10-18 CN CN201710970290.6A patent/CN109684624B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102314645A (en) * | 2011-09-26 | 2012-01-11 | 深圳市络道科技有限公司 | Address matching method and system |
CN105234087A (en) * | 2015-10-12 | 2016-01-13 | 杨彦明 | Method and system for automatically sorting parcels |
US20170213183A1 (en) * | 2016-01-22 | 2017-07-27 | Alibaba Group Holding Limited | Logistics system and logistics distribution method and system |
CN106651247A (en) * | 2016-11-16 | 2017-05-10 | 成都地图慧科技有限公司 | Address area block matching method based on GIS topology analysis and address area block matching system thereof |
CN107203789A (en) * | 2017-06-23 | 2017-09-26 | 北京小度信息科技有限公司 | Distribution model method for building up, distribution method and relevant apparatus |
Non-Patent Citations (1)
Title |
---|
汪洋等: "基于Trie树和有限状态自动机的中文地址解析模型", 《计算机与现代化》 * |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110738305A (en) * | 2019-08-27 | 2020-01-31 | 深圳市跨越新科技有限公司 | method and system for analyzing logistics waybill address |
CN110852620A (en) * | 2019-11-12 | 2020-02-28 | 上海德启信息科技有限公司 | Logistics order processing method and device, electronic equipment and storage medium |
CN110852620B (en) * | 2019-11-12 | 2024-03-05 | 上海德启信息科技有限公司 | Logistics order processing method and device, electronic equipment and storage medium |
CN113076746A (en) * | 2020-01-06 | 2021-07-06 | 阿里巴巴集团控股有限公司 | Data processing method and system, storage medium and computing device |
CN113190676A (en) * | 2020-01-14 | 2021-07-30 | 北京京东振世信息技术有限公司 | Method and device for extracting address keywords |
CN113515687A (en) * | 2020-04-09 | 2021-10-19 | 北京京东振世信息技术有限公司 | Logistics information acquisition method and device |
CN113515687B (en) * | 2020-04-09 | 2023-09-26 | 北京京东振世信息技术有限公司 | Logistics information acquisition method and device |
CN113011157A (en) * | 2021-03-19 | 2021-06-22 | 中国联合网络通信集团有限公司 | Method, device and equipment for hierarchical processing of address information |
Also Published As
Publication number | Publication date |
---|---|
CN109684624B (en) | 2023-12-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109684624A (en) | A kind of method and apparatus in automatic identification Order Address road area | |
CN109522483B (en) | Method and device for pushing information | |
CN107832468B (en) | Demand recognition methods and device | |
CN107491547A (en) | Searching method and device based on artificial intelligence | |
CN108628830B (en) | Semantic recognition method and device | |
CN107105031A (en) | Information-pushing method and device | |
CN107908740A (en) | Information output method and device | |
CN108171276A (en) | For generating the method and apparatus of information | |
US11741094B2 (en) | Method and system for identifying core product terms | |
CN108805594A (en) | Information-pushing method and device | |
CN107908666A (en) | A kind of method and apparatus of identification equipment mark | |
CN110020162B (en) | User identification method and device | |
CN110390408A (en) | Trading object prediction technique and device | |
US10772035B2 (en) | Method and apparatus for generating information | |
CN110070382A (en) | Method and apparatus for generating information | |
CN110119445A (en) | The method and apparatus for generating feature vector and text classification being carried out based on feature vector | |
CN108280200A (en) | Method and apparatus for pushed information | |
CN109544076A (en) | Method and apparatus for generating information | |
CN115033801B (en) | Article recommendation method, model training method and electronic equipment | |
CN109784407A (en) | The method and apparatus for determining the type of literary name section | |
CN110866625A (en) | Promotion index information generation method and device | |
CN109961328A (en) | The method and apparatus for determining order cooling off period | |
CN108667875A (en) | information updating method and device | |
CN113222205A (en) | Path planning method and device | |
CN115619142A (en) | Method, device, equipment and computer readable medium for matching data |
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 |