Summary of the invention
The embodiment of the invention provides a kind of method for building up of corresponding relationship and device, storage medium, electronic equipments, with solutionCertainly in the related technology, it needs manually to connect advice of settlement and account, and then the problems such as caused high labor cost.
According to one embodiment of present invention, a kind of method for building up of corresponding relationship is provided, comprising: obtain current balanceIt is single, it is obtaining in the preset time after the current balance list, triggering image capture device is obtained for target in target areaThe recognition of face image of object;The face identified is determined according to preset recognition of face image and the corresponding relationship of accountIdentify account corresponding to image;Establish the corresponding relationship of the current balance list and the account.
In embodiments of the present invention, it establishes after the current balance list and the corresponding relationship of the account, the methodFurther include: the virtual resource information correspondence in the current balance list is added in the account of the target object.
In embodiments of the present invention, it is identified according to preset recognition of face image and the determination of the corresponding relationship of accountRecognition of face image corresponding to before account, the method also includes: establish the recognition of face image and account of target objectThe corresponding relationship at family.
In embodiments of the present invention, before obtaining current balance list, the method also includes: establish the current balance listThe corresponding relationship of corresponding terminal and described image acquisition equipment.
In embodiments of the present invention, it is identified according to preset recognition of face image and the determination of the corresponding relationship of accountRecognition of face image corresponding to after account, the method also includes: show the account in the display interface of settlement deviceThe corresponding information in family.
In embodiments of the present invention, the corresponding information of the account includes: the name of the target object, the target pairThe registration date of elephant.
According to another embodiment of the invention, additionally provide a kind of corresponding relationship establishes device, comprising: the first processingModule is obtaining in the preset time after the current balance list for obtaining current balance list, and triggering image capture device obtainsTake the recognition of face image for target object in target area;Determining module, for according to preset recognition of face figurePicture and the corresponding relationship of account determine account corresponding to the recognition of face image identified;Second processing module, for establishingThe corresponding relationship of the current balance list and the account.
In embodiments of the present invention, described device further include: adding module, for will be virtual in the current balance listResource information correspondence is added in the account of the target object.
In embodiments of the present invention, described device further include: described device further include: third processing module, for establishingThe recognition of face image of target object and the corresponding relationship of account.
In embodiments of the present invention, described device further include: fourth processing module exports the current balance for establishingThe corresponding relationship of single terminal and described image acquisition equipment, wherein pre- after the terminal exports the current balance listIf in the time, triggering image capture device obtains the recognition of face image for target object in target area.
According to still another embodiment of the invention, a kind of storage medium is additionally provided, meter is stored in the storage mediumCalculation machine program, wherein the computer program is arranged to execute the foundation of corresponding relationship described in any of the above embodiments when operationMethod.
According to another embodiment of the invention, a kind of electronic device, including memory and processor are additionally provided, it is specialSign is, computer program is stored in the memory, and the processor is arranged to run the computer program to holdThe method for building up of corresponding relationship described in row any of the above item.
Through the invention, current balance list is obtained, is obtaining in the preset time after the current balance list, is triggering imageIt acquires equipment and obtains the recognition of face image for being directed to target object in target area;According to preset recognition of face image andThe corresponding relationship of account determines account corresponding to the recognition of face image identified;Establish the current balance list and the accountThe corresponding relationship at family solves in the related technology by adopting the above technical scheme, needs manually to contact advice of settlement and accountCome, and then the problems such as caused high labor cost, it is not necessary that the corresponding account of advice of settlement is manually entered, passes through the foundation of corresponding relationshipThe advice of settlement of shops and the connection of account are carried out, reduces the cost of manpower operation, it is all kinds of in shops etc. to decrease consumerConsume the waiting time in scene.
Specific embodiment
Hereinafter, the present invention will be described in detail with reference to the accompanying drawings and in combination with Examples.It should be noted that not conflictingIn the case of, the features in the embodiments and the embodiments of the present application can be combined with each other.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.
Fig. 1 is a kind of flow chart of the method for building up of optional corresponding relationship according to an embodiment of the present invention, such as Fig. 1 instituteShow, which includes the following steps:
Step S102 obtains current balance list, is obtaining in the preset time after the current balance list, and triggering image is adoptedCollect equipment and obtains the recognition of face image for being directed to target object in target area;
Step S104 determines that the face identified is known according to preset recognition of face image and the corresponding relationship of accountAccount corresponding to other image;
Step S106 establishes the corresponding relationship of the current balance list and the account.
Through the invention, current balance list is obtained, is obtaining in the preset time after the current balance list, is triggering imageIt acquires equipment and obtains the recognition of face image for being directed to target object in target area;According to preset recognition of face image andThe corresponding relationship of account determines account corresponding to the recognition of face image identified;Establish the current balance list and the accountThe corresponding relationship at family solves in the related technology by adopting the above technical scheme, needs manually to contact advice of settlement and accountCome, and then the problems such as caused high labor cost, it is not necessary that the corresponding account of advice of settlement is manually entered, passes through the foundation of corresponding relationshipThe advice of settlement of shops and the connection of account are carried out, reduces the cost of manpower operation, it is all kinds of in shops etc. to decrease consumerConsume the waiting time in scene.
It should be noted that triggering image capture device obtains obtaining in the preset time after the current balance listFor the recognition of face image of target object in target area, wherein above-mentioned preset time can be set to 0 second;Obtain instituteIt states current balance list while triggering image capture device and obtain the recognition of face image for being directed to target object in target area, it is above-mentionedTarget object in target area can be understood as the terminal with output current balance list apart from nearest target object, to thisInventive embodiments are not construed as limiting.
Above-mentioned account can be understood as a kind of member system, for example, dress ornament class member, toiletries member, food and drink class member.Above-mentioned account can be not limited thereto by phone number registration, the embodiment of the present invention.Further, above-mentioned corresponding relationship isConsumer record caused by target object (i.e. above-mentioned current balance list) is corresponding between account corresponding to target object to closeSystem.
Wherein it is possible to collect expense caused by the current balance list of the target object: wireless POS in the following mannerThe card-swiping mode of machine is paid by the face identification functions of the terminal of the above-mentioned advice of settlement of output.
In embodiments of the present invention, it establishes after the current balance list and the corresponding relationship of the account, the methodFurther include: the virtual resource information correspondence in the current balance list is added in the account of the target object.
It is also not identical for virtual resource information corresponding to different accounts for above-mentioned virtual resource information.For example,For dress ornament class member, which can be the total mark of consumption of dress ornament class member;For food and drink class member, the virtual resourceIt can be the total mark of consumption of food and drink class member, wherein above-mentioned integral can exchange gift, can also support existing consumption, and the present invention is realIt applies example and this is not construed as limiting.
In embodiments of the present invention, it is identified according to preset recognition of face image and the determination of the corresponding relationship of accountRecognition of face image corresponding to before account, the method also includes: establish the recognition of face image and account of target objectThe corresponding relationship at family.
In embodiments of the present invention, before obtaining current balance list, the method also includes: it establishes and exports the current knotCalculate the corresponding relationship of single terminal and described image acquisition equipment, wherein after the terminal exports the current balance listIn preset time, triggering image capture device obtains the recognition of face image for target object in target area.
For example, the corresponding terminal of current balance list can be a kind of cash register, correspondingly, can establish cash register andThe corresponding relationship of image capture device.
In embodiments of the present invention, it is identified according to preset recognition of face image and the determination of the corresponding relationship of accountRecognition of face image corresponding to after account, the method also includes: show the account in the display interface of settlement deviceThe corresponding information in family.
In embodiments of the present invention, the corresponding information of the account includes: the name of the target object, the target pairThe registration date of elephant.
Wherein, information corresponding for the account can also include: the telephone number of the target object, the targetThe account name of object, recognition of face image of the target object etc., the embodiment of the present invention is not limited thereto.
Above-mentioned data handling procedure is explained below in conjunction with an example, but is not used in the restriction embodiment of the present inventionTechnical solution, the exemplary technical solution of the present invention is as follows:
Video monitoring apparatus (image collecting device for being equivalent to above-described embodiment) is installed in cash register area, makes monitored picture canThe face data of consumer's (target object for being equivalent to above-described embodiment) (is equivalent to above-mentioned target object when collecting checkoutRecognition of face image).By face recognition technology, the information for being located at the consumer before cashier in picture is identified.Work as cash registerWhen machine generates bill (the current balance list for being equivalent to above-described embodiment), server reads disappearing before being located at specified cash register automaticallyThe person's of expense information, and integrated automatically.
The technical solution of the embodiment of the present invention can be realized by following procedure:
Data acquisition flow
Consumer needs to carry out member registration in systems in advance, typing name, face-image (recognition of face when registrationImage) etc. information, so as to the later period integral when use.
Video monitoring equipment is disposed in cash register area, real time monitoring picture is uploaded to server, by face recognition technology,Server can analyze the corresponding relationship between facial image and membership information in picture.Meanwhile setting is supervised on the serverControl the corresponding relationship of equipment and cash register.
For each consumer in checkout, a new advice of settlement can be all created on the server.Cash register is being createdWhen building new advice of settlement, server collects the cash register machine information for generating order and order creation time automatically.
Data analysis process
When server receives new advice of settlement, according to the new advice of settlement of upload, order creation time and cash registerMachine information transfers monitored picture of the corresponding camera when advice of settlement generates, and chooses the face definition nearest from cash register thusSingle consumer.System transfers the membership information of the consumer, and member names are shown on cash register, by cashier and consumptionPerson confirms, confirms that errorless can singly consume to this integrates;If consumer's facial information not member's integrating system intoRow registration, system will show unregistered information on cash register, and cashier can prompt consumer to have not yet registered member in cash register,Whether need to register and integrated.
By adopting the above technical scheme, by applying digitizing technique, monitoring device and cash register are linked, determination disappearsThe person's of expense identity integrates for the consumer of checkout, reduces the work that cashier inquires consumer's telephone number and is manually enteredAmount improves member and integrates efficiency, reduces the mixed situation of membership information, effectively raises efficiency of service in shops and accurateRate saves queuing time, improves consumer experience, while can also improve shops's efficiency of operation, reduces personnel cost.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementationThe method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very muchIn the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existingThe part that technology contributes can be embodied in the form of software products, which is stored in a storageIn medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculateMachine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Additionally provide a kind of corresponding relationship in the present embodiment establishes device, the device for realizing above-described embodiment andPreferred embodiment, the descriptions that have already been made will not be repeated.As used below, predetermined function may be implemented in term " module "The combination of the software and/or hardware of energy.It is hard although device described in following embodiment is preferably realized with softwareThe realization of the combination of part or software and hardware is also that may and be contemplated.
Fig. 2 is a kind of structural block diagram for establishing device of optional corresponding relationship according to an embodiment of the present invention, such as Fig. 2 instituteShow, which includes:
First processing module 20 is obtaining in the preset time after the current balance list for obtaining current balance list,It triggers image capture device and obtains the recognition of face image for being directed to target object in target area;
Determining module 22, for what is identified according to the determination of the corresponding relationship of preset recognition of face image and accountAccount corresponding to recognition of face image;
Second processing module 24, for establishing the corresponding relationship of the current balance list and the account.
Through the invention, current balance list is obtained, is obtaining in the preset time after the current balance list, is triggering imageIt acquires equipment and obtains the recognition of face image for being directed to target object in target area;According to preset recognition of face image andThe corresponding relationship of account determines account corresponding to the recognition of face image identified;Establish the current balance list and the accountThe corresponding relationship at family solves in the related technology by adopting the above technical scheme, needs manually to contact advice of settlement and accountCome, and then the problems such as caused high labor cost, it is not necessary that the corresponding account of advice of settlement is manually entered, passes through the foundation of corresponding relationshipThe advice of settlement of shops and the connection of account are carried out, reduces the cost of manpower operation, it is all kinds of in shops etc. to decrease consumerConsume the waiting time in scene.
In embodiments of the present invention, Fig. 3 is that a kind of optional corresponding relationship according to an embodiment of the present invention establishes deviceAnother structural block diagram, as shown in figure 3, described device further include: adding module 26, for by the void in the current balance listQuasi- resource information correspondence is added in the account of the target object.
In embodiments of the present invention, as shown in figure 3, described device further include: described device further include: third processing module28, for establishing the recognition of face image of target object and the corresponding relationship of account.
In embodiments of the present invention, as shown in figure 3, described device further include: fourth processing module 30, for establishing outputThe corresponding relationship of terminal and described image the acquisition equipment of the current balance list, wherein described current in terminal outputIn preset time after advice of settlement, triggering image capture device obtains the recognition of face figure for target object in target areaPicture.
It should be noted that above-mentioned modules can be realized by software or hardware, for the latter, Ke YitongFollowing manner realization is crossed, but not limited to this: above-mentioned module is respectively positioned in same processor;Alternatively, above-mentioned modules are with anyCombined form is located in different processors.
The embodiments of the present invention also provide a kind of storage medium, computer program is stored in the storage medium, whereinThe computer program is arranged to execute the step in any of the above-described embodiment of the method when operation.
Optionally, in the present embodiment, above-mentioned storage medium can be set to store by executing based on following stepsCalculation machine program:
S1 obtains current balance list, is obtaining in the preset time after the current balance list, is triggering image capture deviceObtain the recognition of face image for target object in target area;
S2 determines the recognition of face image identified according to preset recognition of face image and the corresponding relationship of accountCorresponding account;
S3 establishes the corresponding relationship of the current balance list and the account.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, read-only memory (Read-Only Memory, referred to as ROM), it is random access memory (Random Access Memory, referred to as RAM), mobile hardThe various media that can store computer program such as disk, magnetic or disk.
The embodiments of the present invention also provide a kind of electronic device, including memory and processor, stored in the memoryThere is computer program, which is arranged to run computer program to execute the step in any of the above-described embodiment of the methodSuddenly.
Optionally, above-mentioned electronic device can also include transmission device and input-output equipment, wherein the transmission deviceIt is connected with above-mentioned processor, which connects with above-mentioned processor.
Optionally, in the present embodiment, above-mentioned processor can be set to execute following steps by computer program:
S1 obtains current balance list, is obtaining in the preset time after the current balance list, is triggering image capture deviceObtain the recognition of face image for target object in target area;
S2 determines the recognition of face image identified according to preset recognition of face image and the corresponding relationship of accountCorresponding account.
S3 establishes the corresponding relationship of the current balance list and the account.
Obviously, those skilled in the art should be understood that each module of the above invention or each step can be with generalComputing device realize that they can be concentrated on a single computing device, or be distributed in multiple computing devices and formedNetwork on, optionally, they can be realized with the program code that computing device can perform, it is thus possible to which they are storedIt is performed by computing device in the storage device, and in some cases, it can be to be different from shown in sequence execution hereinOut or description the step of, perhaps they are fabricated to each integrated circuit modules or by them multiple modules orStep is fabricated to single integrated circuit module to realize.In this way, the present invention is not limited to any specific hardware and softwares to combine.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this fieldFor art personnel, the invention may be variously modified and varied.It is all within principle of the invention, it is made it is any modification, etc.With replacement, improvement etc., should all be included in the protection scope of the present invention.