Summary of the invention
In view of this, the present invention provides a kind of express delivery packaging extracting method, system, storage medium and electronic equipment, it can
Realize that express delivery packaging when storing multiple express deliveries packaging in a container is extracted.
Other characteristics and advantages of the invention will be apparent from by the following detailed description, or partially by the present invention
Practice and acquistion.
According to the first aspect of the invention, a kind of express delivery packaging extracting method is provided, is applied to include that multiple express deliveries are packed
Container, wherein the described method includes:
When receiving user after the identifying code that the container inputs, verify whether the identifying code is in the container
The corresponding identifying code of express delivery packaging;
If being proved to be successful, control the cargo box door and open, so that the user extracts express delivery packaging from the container;
Identification code in the packaging of express delivery described in image recognition, the corresponding relationship based on preset identification code and identifying code, really
The express delivery packaging that the fixed user extracts whether be the user express delivery packaging.
According to some embodiments, which comprises
Express delivery packaged information based on multiple express deliveries packaging in the container generate the identification code of each express delivery packaging with
And identifying code, and the identification code of the packaging of each express delivery in the container and the corresponding relationship of identifying code are set.
According to some embodiments, the method also includes:
Based on the express delivery packaged information of the multiple express delivery packaging, send the identifying code that each express delivery is packed to corresponding
The terminal of user, to enable the user to obtain the identifying code of the express delivery packaging of the user.
Identification code according to some embodiments, in the packaging of express delivery described in image recognition, comprising:
The mark in the express delivery packaging extracted comprising the user is obtained based on the camera being set to around the container
The image of code;
Image recognition is carried out to described image, to obtain the identification code in the express delivery packaging that the user extracts.
According to some embodiments, based on the corresponding relationship of preset identification code and identifying code in the container, determine described in
User extract express delivery packaging whether be the user express delivery packaging, comprising:
Judge to whether there is what the user extracted in the container in the corresponding relationship of preset identification code and identifying code
The corresponding relationship for the identifying code that identification code and the user in express delivery packaging are inputted in the container;
If it exists, the express delivery packaging for determining user's extraction is the express delivery packaging of the user;
If it does not exist, the express delivery packaging for determining user's extraction is not the express delivery packaging of the user.
According to some embodiments, the method also includes:
If it is determined that the express delivery packaging that the user extracts is not the express delivery packaging of the user, warning information is issued.
According to some embodiments, verify whether the identifying code is the corresponding verifying of express delivery packaging in the container
Code, comprising:
Judge in the container in the corresponding relationship of preset identification code and identifying code, if exist and the identifying code phase
Matched corresponding relationship;
If it exists, the identifying code is proved to be successful;
If it does not exist, the identifying code authentication failed.
According to the second aspect of the invention, a kind of express delivery packaging extraction system is provided, wherein be applied to include multiple express deliveries
The container of packaging, the system comprises:
Authentication module, for whether verifying the identifying code when receiving user after the identifying code that the container inputs
For the corresponding identifying code of the express delivery packaging in the container;
Control module is opened for when the authentication module is proved to be successful, controlling the cargo box door, so that the user
Express delivery packaging is extracted from the container;
Determining module is based on preset identification code and identifying code for the identification code in the packaging of express delivery described in image recognition
Corresponding relationship, determine express delivery packaging that the user extracts whether be the user express delivery packaging.
According to the third aspect of the invention we, a kind of computer readable storage medium is provided, computer program is stored thereon with,
Wherein, method and step as described in relation to the first aspect is realized when which is executed by processor.
According to the fourth aspect of the invention, a kind of electronic equipment is provided, wherein include: one or more processors;Storage
Device, for storing one or more programs, when one or more of programs are executed by one or more of processors,
So that one or more of processors realize method and step as described in relation to the first aspect.
In the embodiment of the present invention, when receiving user after the identifying code that the container inputs, verifying the identifying code is
The no identifying code corresponding for the express delivery packaging in the container;If being proved to be successful, controls the cargo box door and open, so that described
User extracts express delivery packaging from the container;Identification code in the packaging of express delivery described in image recognition, based on pre- in the container
If identification code and identifying code corresponding relationship, determine express delivery packaging that the user extracts whether be the user express delivery packet
Dress.It realizes express delivery packaging when storing multiple express deliveries packaging in a container to extract, improves container space utilization rate, reduce
The waste in container space also improves the efficiency that express delivery packaging is launched.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be real in a variety of forms
It applies, and is not understood as limited to embodiment set forth herein;On the contrary, thesing embodiments are provided so that the present invention will be comprehensively and complete
It is whole, and the design of example embodiment is comprehensively communicated to those skilled in the art.Identical appended drawing reference indicates in figure
Same or similar part, thus repetition thereof will be omitted.
In addition, described feature, structure or characteristic can be incorporated in one or more implementations in any suitable manner
In example.In the following description, many details are provided to provide and fully understand to the embodiment of the present invention.However,
It will be appreciated by persons skilled in the art that technical solution of the present invention can be practiced without one or more in specific detail,
Or it can be using other methods, constituent element, device, step etc..In other cases, it is not shown in detail or describes known side
Method, device, realization or operation are to avoid fuzzy each aspect of the present invention.
Block diagram shown in the drawings is only functional entity, not necessarily must be corresponding with physically separate entity.
I.e., it is possible to realize these functional entitys using software form, or realized in one or more hardware modules or integrated circuit
These functional entitys, or these functional entitys are realized in heterogeneous networks and/or processor device and/or microcontroller device.
Flow chart shown in the drawings is merely illustrative, it is not necessary to including all content and operation/step,
It is not required to execute by described sequence.For example, some operation/steps can also decompose, and some operation/steps can close
And or part merge, therefore the sequence actually executed is possible to change according to the actual situation.
Fig. 1 is a kind of flow chart of express delivery packaging extracting method shown according to an exemplary embodiment.This method can be with
Applied to the container for including multiple express deliveries packaging.As shown in Figure 1, this method can include but is not limited to following below scheme:
In S110, when receiving user after the identifying code that the container inputs, verify whether the identifying code is institute
State identifying code corresponding to the express delivery packaging in container.
According to embodiments of the present invention, the express delivery packaged information based on multiple express deliveries packaging in the container generates each express delivery
The identification code and identifying code of packaging, and the identification code of the packaging of each express delivery in the container and the corresponding pass of identifying code are set
System.
It should be noted that the express delivery packet for each express delivery packaging that can also be directly arranged in container in the embodiment of the present invention
The corresponding relationship between information, identification code and identifying code three is filled, more convenient sends express delivery for identifying code so as to subsequent
In the terminal for packing corresponding user.
According to embodiments of the present invention, when the express delivery for being packaged as the same user there are multiple express deliveries in some container is packed
When, one identification code of each generations can be packed based on each express delivery, and testing jointly is generated based on this multiple express deliveries packaging
Demonstrate,prove code.
According to embodiments of the present invention, express delivery packaged information can include but is not limited to: corresponding user's (addressee is packed in express delivery
People) terminal information and express delivery packaging in cargo information.Express delivery packs the information of the terminal of corresponding user for example
It can be the phone number of user.
The information of the cargo in express delivery packaging can be carried in the embodiment of the present invention, in the identification code of generation.Identification code
Can be coded image, e.g., two dimensional code or other can be by the character of image recognition.When identification code is two dimensional code, Ke Yitong
The content that the Visual identification technology identification two dimensional code crossed in image recognition includes can pass through image when identification code is character
The content of OCR image text identification technology identification character in identification.
It should be pointed out that the identification code can be and be pre-generated based on express delivery packaged information, it can also by express delivery
Generation when packaging is placed in container.
In addition, it is necessary to which, it is noted that the identification code can be set at the significant position in corresponding express delivery packaging, as glued
It is affixed on the front of express delivery packaging, the identification code is got by camera in order to subsequent.Fig. 2 is according to an exemplary implementation
The schematic diagram of the positional relationship of a kind of identification code exemplified and express delivery packaging.
In the embodiment of the present invention, based on the identifying code that express delivery packaged information generates, where can be used for packing the express delivery
Container opened.If it should be pointed out that there is multiple express deliveries to pack in container, the container can have it is multiple can
Open the identifying code of the container.
For example, 1,2,3 express delivery packaged information is packed based on express delivery when in container M including express delivery packaging 1,2,3, point
Not Sheng Cheng express delivery packaging 1 identification code A1 and identifying code B1, the identification code A2 and identifying code B2 of express delivery packaging 2, express delivery packaging 3
Identification code A3 and identifying code B3 then can be set the corresponding of the identification code in container M and identifying code as shown in Table 1 and close
System:
Table 1
In another example when in container M including express delivery packaging 1,2,3, wherein express delivery packaging 2 and express delivery packaging 3 are to application
Family X, then pack 1,2,3 express delivery packaged information based on express delivery, generates the identification code A1 and identifying code B1 of express delivery packaging 1 respectively,
The identification code A2 and identifying code B2 of express delivery packaging 2, the identification code A3 and identifying code B2 of express delivery packaging 3, then can be set such as 2 institute of table
The corresponding relationship for express delivery packaging, identification code and identifying code in container M shown:
Table 2
It according to embodiments of the present invention, can be based in express delivery packaging after generating identifying code based on express delivery packaged information
The information of the terminal of corresponding user is packed in the express delivery, sends the identifying code that each express delivery is packed to the end of corresponding user
End, to enable the user to obtain the identifying code of the express delivery packaging of the user.
According to embodiments of the present invention, when receiving user after the identifying code that container inputs, judge preset in the container
In the corresponding relationship of identification code and identifying code, if there is the corresponding relationship to match with the identifying code, and if it exists, the identifying code
It is proved to be successful, if it does not exist, the identifying code authentication failed.
For example, the example based on above-mentioned table 1, when receiving user when the identifying code that container M is inputted is B1, according to table 1
Know that then B1 is proved to be successful there are the corresponding relationship that identifying code is B1 in the corresponding relationship of the identification code and identifying code in container,
It controls container M to open, when receiving when the identifying code of container M input is B4, the identification code in container and test according to table 1
The corresponding relationship in the corresponding relationship of code there is no identifying code for B4 is demonstrate,proved, then B4 authentication failed.
In S120, if being proved to be successful, controls the cargo box door and open, so that the user extracts express delivery from the container
Packaging.
According to embodiments of the present invention, when identifying code is proved to be successful, cargo box door unlatching is controlled, user can be from the container
Middle extraction express delivery packaging.It should be pointed out that user can extract multiple express delivery packagings out of this container.
According to embodiments of the present invention, it after controlling the cargo box door and opening, if the cargo box door opening time reaches threshold value, controls
Cargo box door processed is automatically closed.It, can be based on the extracted express delivery packaging of user to preset in the container after cargo box door is closed
The corresponding relationship of identification code and identifying code is updated, and the identification code and the corresponding of identifying code for deleting extracted express delivery packaging close
System.
According to embodiments of the present invention, it when identifying code authentication failed, controls the cargo box door and is not turned on, further, also
Prompt information can be issued by the loudspeaker of setting or the electronic console of input identifying code.
In S130, the identification code that express delivery described in image recognition is packed, pair based on preset identification code and identifying code
Should be related to, determine express delivery packaging that the user extracts whether be the user express delivery packaging.
It according to embodiments of the present invention, can be described based on being set to when the identification code that express delivery described in image recognition is packed
Camera around container obtains the image of the identification code in the express delivery packaging extracted comprising the user, carries out to described image
Image recognition, to obtain the identification code in the express delivery packaging that the user extracts.Fig. 3 is shown according to an exemplary embodiment
A kind of schematic diagram of the positional relationship of camera and container.As shown in figure 3, multiple express delivery packagings are placed in the same container (goods
Case is not shown) in, camera is set to around container, and when user extracts express delivery packaging, camera can take the express delivery
Identification code in packaging.
It should be pointed out that if the camera can take the image of container interior, it can also be based on remaining fast
The identification code in packaging is passed, the express delivery packaging extracted by the user is got, to find the mark that express delivery packaging generates
Code, and according to the identification code determine the user extract express delivery packaging whether be user express delivery pack.
According to embodiments of the present invention, after the identification code in the express delivery packaging for getting user's extraction, judge the container
In the corresponding relationship of interior preset identification code and identifying code with the presence or absence of the user extract express delivery packaging on identification code with
The corresponding relationship for the identifying code that the user inputs in the container, and if it exists, determining the express delivery packaging of user's extraction is
The express delivery of the user is packed, and if it does not exist, determines that the express delivery packaging of user's extraction is not the express delivery packaging of the user.
According to embodiments of the present invention, however, it is determined that the express delivery packaging that user extracts is not the express delivery packaging of user, issues alarm
Information.For example, the loudspeaker by setting issues warning information, or sending a warning message by the terminal to the user,
Prompt user is extracted the express delivery packaging of mistake.At this point, user can will extract wrong if the cargo box door shut-in time has not yet been reached
Express delivery packaging put back to, and extract oneself express delivery packaging, if cargo box door is turned off, can pass through system send the express delivery
Express delivery packaging is launched again and arrives container by the dispensing message of packaging.
It should be pointed out that when multiple express deliveries packaging user in a container comprising user takes in the presence of leakage,
Warning information can be issued, the express delivery packaging for prompting user to take in the presence of leakage.
For example, the example based on above-mentioned table 1, the identifying code that user inputs on container M is B1, gets user in container
The identification code in express delivery packaging extracted on M is A1, then judges to whether there is A1's and B1 in container M in preset corresponding relationship
Corresponding relationship, according to the corresponding relationship of identification code and identifying code preset in table 1, there are the corresponding relationships of A1 and B1 for judgement, then
Determine that the express delivery of user's extraction is packaged as the express delivery packaging of the user.If the identifying code that user inputs on container M is B1, obtain
The identification code in express delivery packaging extracted on container M to user is A2, according to pair of identification code and identifying code preset in table 1
It should be related to, the corresponding relationship of A2 and B1 is not present in judgement, determines that the express delivery packaging of user extraction is not the express delivery packet of the user
Dress.
In another example the example based on above-mentioned table 2, the identifying code that user inputs on container M is B2, gets user in goods
The identification code in express delivery packaging extracted on case M is A2 and A3, then judges to whether there is in preset corresponding relationship in container M fast
The corresponding relationship of packaging 2, A2 and B2 and the corresponding relationship of express delivery packaging 3, A3 and B2 are passed, according to express delivery packet preset in table 2
The corresponding relationship of dress, identification code and identifying code, judge there are express delivery packaging 2, the corresponding relationship of A2 and B2 and express delivery packaging 3,
The corresponding relationship of A3 and B2, it is determined that the express delivery packaging 2 and express delivery packaging 3 that user extracts are packed for the express delivery of the user.If with
The identifying code that family inputs on container M is B2, get the identification code in the express delivery packaging that user extracts on container M be A2 and
A1, according to express delivery packaging preset in table 2, the corresponding relationship of identification code and identifying code, there are express delivery packaging 2, A2 and B2 for judgement
Corresponding relationship, but and there is no express delivery packagings 1, the corresponding relationship of A1 and B2, so that it is determined that the express delivery packet that the user extracts
Fill 2 be the user express delivery pack, express delivery packaging 1 be not the user express delivery packaging and the user express delivery packaging 3 not by
It extracts, to send a warning message to user.
In the embodiment of the present invention, when receiving user after the identifying code that the container inputs, verifying the identifying code is
The no identifying code corresponding for the express delivery packaging in the container;If being proved to be successful, controls the cargo box door and open, so that described
User extracts express delivery packaging from the container;Identification code in the packaging of express delivery described in image recognition, based on pre- in the container
If identification code and identifying code corresponding relationship, determine express delivery packaging that the user extracts whether be the user express delivery packet
Dress.It realizes express delivery packaging when storing multiple express deliveries packaging in a container to extract, improves container space utilization rate, reduce
The waste in container space also improves the efficiency that express delivery packaging is launched.
It will be clearly understood that the present disclosure describe how being formed and using particular example, but the principle of the present invention is not limited to
These exemplary any details.On the contrary, the introduction based on present disclosure, these principles can be applied to many other
Embodiment.
Following is present system embodiment, can be used for executing embodiment of the present invention method.System is retouched below
In stating, part identical with preceding method be will not be described in great detail.
Fig. 4 is a kind of structure chart of express delivery packaging extraction system shown according to an exemplary embodiment, as shown in figure 4,
The system 400 includes:
Authentication module 410, for when receiving user after the identifying code that the container inputs, verifying the identifying code to be
The no identifying code corresponding for the express delivery packaging in the container;
Control module 420 is opened for when the authentication module is proved to be successful, controlling the cargo box door, so that described
User extracts express delivery packaging from the container;
Determining module 430, for the identification code in the packaging of express delivery described in image recognition, based on preset identification code and verifying
The corresponding relationship of code, determine express delivery packaging that the user extracts whether be the user express delivery packaging.
In the embodiment of the present invention, when receiving user after the identifying code that the container inputs, verifying the identifying code is
The no identifying code corresponding for the express delivery packaging in the container;If being proved to be successful, controls the cargo box door and open, so that described
User extracts express delivery packaging from the container;Identification code in the packaging of express delivery described in image recognition, based on pre- in the container
If identification code and identifying code corresponding relationship, determine express delivery packaging that the user extracts whether be the user express delivery packet
Dress.It realizes express delivery packaging when storing multiple express deliveries packaging in a container to extract, improves container space utilization rate, reduce
The waste in container space also improves the efficiency that express delivery packaging is launched.
As on the other hand, 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 can execute: when receiving user after the identifying code that the container inputs, verify whether the identifying code is institute
State identifying code corresponding to the express delivery packaging in container;If being proved to be successful, control the cargo box door and open so that the user from
Express delivery packaging is extracted in the container;Identification code in the packaging of express delivery described in image recognition, based on preset identification code and verifying
The corresponding relationship of code, determine express delivery packaging that the user extracts whether be the user express delivery packaging.
Fig. 5 is the structural schematic diagram of a kind of electronic equipment shown according to an exemplary embodiment.It should be noted that figure
Electronic equipment shown in 5 is only an example, should not function to the embodiment of the present application and use scope bring 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 RAM 503, also it is stored with system 500 and operates required various programs and data.
CPU 501, ROM 502 and RAM 503 are connected with each other by bus 504.Input/output (I/O) interface 505 is also connected to always
Line 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, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description
Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium
On computer program, which includes the program code for method shown in execution flow chart.In such reality
It applies in example, which can be downloaded and installed from network by communications portion 509, and/or from detachable media
511 are mounted.When the computer program is executed by central processing unit (CPU) 501, executes and limited in the terminal of the application
Above-mentioned function.
It should be noted that computer-readable medium shown in the application 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 this application, 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 application, 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 the various embodiments of the application, 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 unit involved in the embodiment of the present application can be realized by way of software, can also be by hard
The mode of part is realized.Described unit also can be set in the processor, for example, can be described as: a kind of processor packet
Include authentication module, control module, determining module.Wherein, the title of these modules is not constituted under certain conditions to the module
The restriction of itself.
Specifically illustrate and describe above exemplary embodiment of the present invention.It should be appreciated that the present invention is not limited to this
In the detailed construction, set-up mode or the implementation method that describe;On the contrary, it is intended to cover the essence included in appended claims
Various modifications and equivalence setting in mind and range.