Specific implementation mode
Embodiments herein is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, and is only used for explaining the application, and should not be understood as the limitation to the application.On the contrary, this
The embodiment of application includes all changes fallen within the scope of the spiritual and intension of attached claims, modification and is equal
Object.
Below with reference to the accompanying drawings method, control device and the sub- account of establishment of the sub- account of establishment according to the embodiment of the present application are described
The method and apparatus at family.
Fig. 1 is the flow diagram of the method for the sub- account of establishment that one embodiment of the application proposes, this method includes:
S101:For sub- account creation account name, and sub- account bar code is obtained according to account name.
Wherein, it can be set by main account for the account name of sub- account creation, main account can be the sub- account creation pet name
As account name, other possible contents can also be used as account name (such as number, name).
Specifically, account name can be the pet name that main account is sub- account creation, sub- account bar code is obtained according to account name
May include:
The pet name of main account name and the sub- account of establishment is sent to main account server-side by main account client, so that main account
Family server-side obtains sub- account name according to the pet name of main account name and sub- account, and generates sub- account bar code according to sub- account name.
Wherein, main account client can be located in main account equipment, and main account equipment can be the electronic equipments such as computer, mobile phone, clothes
Business end can be to provide the server of the service, and main account server-side and sub- account service end can use the same server,
Different servers can also be used.
Optionally, sub- account name can be made of the pet name of main account name and sub- account, such as main account name+sub- account is close
The diversified forms such as title, the sub- account pet name+sequence number+main account name.
Specifically, main account server-side may be used the prior art according to the process of sub- account name generation bar code and realize,
Can use the future may appear bar code generation technique, the application do not limit this;Producible bar code also there are many,
This will not enumerate.
Specifically, bar code can specifically refer to Quick Response Code.
S102:Sub- account bar code is shown, so as to the sub- account bar code of sub- account client scan and according to the sub- account of scanning
Bar code establishes sub- account.
Specifically, the son that sub- account client can be shown by the internal or external device scan main account equipment such as camera
Account bar code, and sub- account is established according to the sub- account bar code of scanning.
In the specific embodiment of the application, main account information, authorization message, sub- account are may include in sub- account bar code
The information such as name, the sub- account pet name, therefore, when group account client scan account bar code, can be obtained stepping on for the first time for sub- account
Record authorizes and main account information, without verifying initial password, without input main account name when next time logs in.
The present embodiment is by being that sub- account generates bar code in main account equipment so that sub- account equipment can be directly by sweeping
It retouches sub- account bar code and carries out mandate login, password is set without main account, password can be directly arranged in sub- account after scanning, reduce
The interaction times of client and server-side.And main account is inputted without each when the sub- account of login with main account auto-associating
Name eliminates unnecessary login step, and operation is more convenient, improves user experience.
Fig. 2 is the flow diagram of the method for the sub- account of establishment proposed according to another embodiment of the application, and the application is real
It applies for example thinks the sub- account creation pet name.As shown in Fig. 2, this method includes:
S201:Scan the sub- account bar code in main account client.
Wherein, sub- account bar code is generated according to the account name of the sub- account created in main account client.
Specifically, the sub- account bar code that can be shown by the internal or external device scan main account equipment such as camera, tool
There are many scan modes of body, and the application does not limit this.
The bar code of the present embodiment can specifically refer to Quick Response Code.
S202:Sub- account is established according to sub- account bar code.
In the specific embodiment of the application, main account information, authorization message, sub- account are may include in sub- account bar code
The information such as name, the sub- account pet name, therefore, when group account client scan account bar code, can be obtained stepping on for the first time for sub- account
Record authorizes and main account information, and establishes sub- account.
Specifically, main account can be the sub- account creation pet name newly created, sub- account bar code is generated by sub- account name, son
Account name is made of the pet name of main account name and sub- account, and the process for establishing sub- account according to sub- account bar code includes:
Sub- account client obtains sub- account name, and the password of sub- account is arranged after the sub- account bar code of successful scan.Example
The sub- account bar code created such as cashier client scanning storekeeper's client, you can corresponding sub- account is obtained by the bar code
Using mandate, cashier need to be arranged after the completion of scanning the sub- account password (including login password, trading password etc.,
Can be unified password), into line activating and then to be logged in the sub- account.
The facility information of sub- account name, password and sub- account client is sent to sub- account service by sub- account client
End, so that sub- account service end corresponds to the facility information for preserving sub- account name, password and sub- account client.It should be noted that
It is sub- account client obtains use mandate of the main account to the sub- account after the sub- account bar code of successful scan, in order to
It avoids repeating, the facility information of sub- account name, password and sub- account client can be sent to sub- account by sub- account client
Server-side, the equipment and current sub- account are bound in sub- account service end, after this, even if other sub- account clients
The sub- account bar code is scanned at end, can not also obtain the use mandate of the sub- account.
The present embodiment establishes sub- account by scanning the sub- account bar code in main account client, can directly pass through scanning
Bar code, which obtains to authorize, establishes sub- account, and with main account auto-associating, be not necessarily to manual association, it is simple and efficient to handle, and per height
Account client corresponds to a sub- account, ensure that account privacy, improves user experience.
Fig. 3 is the flow diagram of the method for the sub- account of establishment that another embodiment of the application proposes, the present embodiment is with item
For code is Quick Response Code.
As shown in figure 3, the method for the sub- account of the establishment includes:
S301:Main account is the sub- account creation pet name in main account client.
Wherein, main account client can be located in main account equipment.Main account equipment can be the electronics such as computer, mobile phone
Equipment.
Main account is, for example, shopkeeper, and sub- account is, for example, cashier.
Specifically, referring to Fig. 4, shopkeeper can click addition cashier in main account client, be that sub- account creation is close
Claim.
S302:The pet name of main account name and establishment is sent to main account server-side, main account service by main account client
End obtains sub- account name according to main account name and the pet name, and generates sub- account Quick Response Code according to sub- account name.
Specifically, main account can click the similar button triggering main account client hair such as " addition " after creating the pet name
Main account name and the pet name is sent to give main account server-side.
Wherein, sub- account name can be made of main account name and the pet name.Main account server-side is receiving main account name and son
After the account pet name, you can obtain sub- account name according to main account name and the sub- account pet name, and sub- account is generated according to sub- account name
Quick Response Code.
S303:Main account equipment shows sub- account Quick Response Code.
Main account server-side, can be by the interface of client and server-side by sub- account after generating sub- account Quick Response Code
Quick Response Code is sent to main account client, so that main account client is shown.
Specifically, main account client can show that Quick Response Code as shown in Figure 5, sub- account can use sub- account equipment
It is scanned.
S304:Sub- account Quick Response Code in sub- account client scan main account client.
Wherein, sub- account Quick Response Code is generated according to the account name of the sub- account created in the main account client.
The account name of establishment is the pet name of sub- account, and sub- account Quick Response Code is generated by sub- account name, sub- account name can by main account name and
The pet name forms,
Sub- account client can pass through the sub- account Quick Response Code in the device scans main account client such as camera.Specifically
, for example, as shown in fig. 6, when cashier first logs into, cashier can use device scan shopkeeper's equipment of cashier
On Quick Response Code.
S305:After sub- account client sub- account Quick Response Code described in successful scan, the sub- account name is obtained, and be arranged
The password of sub- account.
Sub- account client needs to be arranged after the completion of scanning password (including login password, the trading password of the sub- account
Deng, or unified password), into line activating and then to be logged in the sub- account.Sub- account can be completed after password is set
The activation at family.
Specifically, as shown in fig. 7, password can be arranged in sub- account client in cashier.
S306:The facility information of sub- account name, password and corresponding sub- account client is sent to by sub- account client
Sub- account service end.
In order to avoid repeating, sub- account service end can be by sub- account name, password and corresponding sub- account client after receiving
Facility information bound with current sub- account, after this, even if other sub- account client scans account two
Code is tieed up, the use mandate of the sub- account can not be also obtained.Sub- account service end in doing so, may indicate that and successfully build
Found sub- account.
S307:Main account client receives the sub- account identification letter that sub- account service end is sent after being successfully established sub- account
Breath, and shown.
Wherein, sub- account identification packet enclosed tool account name and/or the facility information of corresponding sub- account client.
Specifically, main account client can also preserve sub- account identification information.For example, sub- account identification information can be protected
There are in corresponding sub- account item.
In one embodiment of the application, as shown in figure 8, shopkeeper can preserve multiple sub- account informations.
S308:Sub- account client receives the sub- account creation success message that sub- account service end is sent.
Specifically, after knowing sub- account creation success, sub- account client can operate the sub- account.
Further, after sub- account is operated in sub- account client, sub- account client can also will operate shape
State information is sent to sub- account service end, and then sub- account service end sends operating parameter to main account client.Main account visitor
Operational status information is included in the corresponding sub- account item of sub- account identification information by family end.Wherein, operating parameter includes sub- account
Operational status information on family identification information and sub- account client.In the case where connecting network, operating parameter is by sub- account
Family server-side is sent to main account client in real time.
Specifically, as shown in figure 9, after the success of sub- account creation, by taking cashier collects money as an example, following behaviour can be executed
Make:
S401:Cashier initiates gathering in sub- account client.
S402:It shows and is collected money successfully in sub- account client.
S403:Sub- account client sends Receiving information to sub- account service end.
Wherein, Receiving information may include that expenditure/amount received, successfully/failure of merchandising, transaction close, are more with/without reimbursement etc.
Kind.
It is to be appreciated that since step S401~S403 can be achieved by the prior art, detailed operation content is herein
It repeats no more.
S404:Receiving information is sent to main account client by sub- account service end.
Wherein, push (push) mode may be used by Receiving information reality after knowing Receiving information in sub- account service end
When be sent to main account client.
S405:Shopkeeper checks transaction record.
Referring to Figure 10, shopkeeper can check the gathering situation of each cashier.
The present embodiment realizes sub- account by creating sub- account Quick Response Code, sub- account client scan Quick Response Code by main account
The establishment at family and using authorizing, enables sub- account client password directly be arranged and using sub by scanning sub- account Quick Response Code
Account simplifies initial setting up, and is automatically associated sub- account with main account, and when sub- Account Logon no longer needs to input main account
Family information, use are simple and efficient;And sub- account is to correspond with sub- account equipment, enhances the protection to privacy of user, carries
High safety;When sub- account is merchandised, sub- account server can be in real time by Transaction Information automatic push to main account visitor
Family end, it is concise so that main account is checked at any time.Sub- account creation and the process for using more handy and safe of the present embodiment,
Reduce the interaction times of client and server-side, the user experience is improved.
In order to realize that above-described embodiment, the application also propose a kind of main account device.Wherein, main account client can position
In on main account device.Main account device can be the electronic equipments such as computer, mobile phone.
Figure 11 is the structural schematic diagram of the main account device of one embodiment of the application.
As shown in figure 11, which includes:Creation module 100 and display module 200.
Specifically, creation module 100 is used to be sub- account creation account name, and obtains sub- account item according to the account name
Code.Wherein, it can be set by main account for the account name of sub- account creation, main account can be the sub- account creation pet name as account
Name in an account book can also use other possible contents as account name (such as number, name).Preferably, account name can be
Main account is the pet name of sub- account creation.
Display module 200 is for showing the sub- account bar code, so as to sub- account bar code described in sub- account client scan
And sub- account is established according to the sub- account bar code of scanning.More specifically, sub- account client can be by built in camera etc. or outer
The sub- account bar code of the display of device scan main account display module 200 is set, and sub- account is established according to the sub- account bar code of scanning.
In the specific embodiment of the application, main account information, authorization message, sub- account are may include in sub- account bar code
The information such as name, the sub- account pet name, therefore, when group account client scan account bar code, can be obtained stepping on for the first time for sub- account
Record authorizes and main account information, without verifying initial password, without input main account name when next time logs in.
The present embodiment is by for sub- account creation account name, obtaining and showing sub- account bar code so that sub- account equipment can
Directly to carry out mandate login by scanning sub- account bar code, password is set without main account, sub- account can directly after scanning
Password is set, reduces the interaction times of client and server-side, operation is more convenient, improves user experience.
Figure 12 is the structural schematic diagram of the main account device of another embodiment of the application.As shown in figure 12, which fills
Set including:Creation module 100, display module 200, sending module 300, receiving module 400 and preserving module 500.
Specifically, sending module 300 is used to the pet name of main account name and establishment being sent to main account server-side, so that main
Account service end obtains sub- account name according to main account name and the pet name, and generates sub- account bar code according to sub- account name.Main account
For example, shopkeeper, sub- account are, for example, cashier.Specifically, main account it is similar can to click " addition " etc. after creating the pet name
Button triggering sending module 300 sends main account name and the pet name gives main account server-side.Wherein, sub- account name can be by main account
Name and pet name composition.Main account server-side is after receiving main account name and the sub- account pet name, you can according to main account name and sub- account
The family pet name obtains sub- account name, and generates sub- account bar code according to sub- account name.
Receiving module 400 is used to receive the sub- account identification letter that sub- account service end is sent after being successfully established sub- account
The facility information of breath, sub- account identification packet enclosed tool account name and/or corresponding sub- account client.More specifically, main account
Sub- account bar code can be sent to main account by family server-side after generating sub- account bar code by the interface of client and server-side
The receiving module 400 of family device, so that main account client is shown.
More specifically, main account client can show that bar code as shown in Figure 5, sub- account can use sub- account equipment
It is scanned.
Preserving module 500 is for preserving sub- account identification information.Wherein, sub- account identification packet enclosed tool account name and/
Or the facility information of corresponding sub- account client.For example, preserving module 500 can be by sub- account identification information preservation corresponding
In sub- account item.In one embodiment of the application, as shown in figure 8, shopkeeper can preserve multiple sub- account informations.
In one embodiment of the invention, receiving module 400 is additionally operable to receive the operation ginseng that sub- account service end is sent
Number, operating parameter is that the sub- account server is sent in real time after knowing the operational status information.Operating parameter includes
Operational status information in sub- account identification information and sub- account client.
In one embodiment of the invention, display module 200 is additionally operable to operational status information include in sub- account mark
Know in the corresponding sub- account item of information.More specifically, after knowing sub- account creation success, sub- account client can be to the son
Account is operated.Further, after sub- account is operated in sub- account client, sub- account client can also will be grasped
It is sent to sub- account service end as status information, then sub- account service end sends operating parameter to main account client.Main account
Operational status information is included in the corresponding sub- account item of sub- account identification information by the display module 200 of family device.Wherein, it grasps
Include the operational status information in sub- account identification information and sub- account client as parameter.In the case where connecting network, behaviour
It is that main account client is sent to by sub- account service end in real time as parameter.
The main account device of the present embodiment realizes sub- account by creating sub- account bar code for sub- account client scan
Establishment and using authorizing, enable sub- account client that password and the sub- account of use directly be sets by scanning sub- account bar code
Family simplifies initial setting up, and is automatically associated sub- account with main account;It can receive and show the operation of sub- account at any time
Status information, it is concise so that main account is checked at any time.The easier peace of sub- account creation and process for using of the present embodiment
Entirely, reduce the interaction times of client and server-side, the user experience is improved.
The embodiment of the present application also provides a seed account devices.
Figure 13 is the structural schematic diagram of the sub- account device of one embodiment of the application.Wherein, sub- account client can position
In on sub- account device.Sub- account equipment can be the electronic equipments such as computer, mobile phone.As shown in figure 13, the sub- account device packet
It includes:Scan module 100 and establish module 200.
Specifically, scan module 100 is used to scan the sub- account bar code in main account client, and sub- account bar code is basis
What the account name of the sub- account created in main account client generated.Wherein, sub- account bar code is according in main account client
What the account name of the sub- account created generated.
More specifically, what scan module 100 can be shown by the internal or external device scan main account equipment such as camera
Sub- account bar code, there are many specific scan modes, and the application does not limit this.
Module 200 is established for establishing sub- account according to sub- account bar code.In the specific embodiment of the application, sub- account
It may include the information such as main account information, authorization message, sub- account name, the sub- account pet name in bar code, therefore, when scan module 100
Can be obtained sub- account when scanning sub- account bar code first logs into mandate and main account information, and is built by establishing module 200
Found sub- account.More specifically, main account can be the sub- account creation pet name newly created, sub- account bar code is given birth to by sub- account name
At sub- account name is made of the pet name of main account name and sub- account.
Bar code in the present embodiment can specifically refer to Quick Response Code.
The present embodiment establishes sub- account by scanning the sub- account bar code in main account client, can directly pass through scanning
Bar code, which obtains to authorize, establishes sub- account, and with main account auto-associating, be not necessarily to manual association, it is simple and efficient to handle, improve use
It experiences at family.
Figure 14 is the structural schematic diagram of the sub- account device of another embodiment of the application.
As shown in figure 14, which includes:Scan module 100 establishes module 200, setup module 300, sends
Module 400, acquisition module 500, receiving module 600 and authentication module 700.
Specifically, setup module 300 is used for after the sub- account bar code of successful scan, and the password of sub- account is arranged.
In the present invention, scan module 100 obtains sub- account name, setup module 300 after the sub- account bar code of successful scan
The password of sub- account is set.Such as the sub- account bar code that cashier client scanning storekeeper's client creates, you can pass through this
Code obtains the use mandate of corresponding sub- account, and the password that cashier needs to be arranged after the completion of scanning the sub- account (including is stepped on
Record password, trading password etc., or unified password), into line activating and then to be logged in the sub- account.
Sending module 400 is used to the facility information of sub- account name, password and sub- account client being sent to sub- account and take
Business end, so that sub- account service end corresponds to the facility information for preserving sub- account name, password and sub- account client.Sending module
The facility information of sub- account name, password and sub- account client is sent to sub- account service end by 400, so that sub- account service end
The corresponding facility information for preserving sub- account name, password and sub- account client.
It should be noted that scan module 100 after the sub- account bar code of successful scan, that is, obtains main account to the sub- account
The use mandate at family, in order to avoid repeating, sending module 400 can be by the equipment of sub- account name, password and sub- account client
Information is sent to sub- account service end, and the sub- account device and current sub- account are bound in sub- account service end, herein
Later, even if other sub- account devices can not obtain the use mandate of the sub- account if scanning the sub- account bar code.
Acquisition module 500 is for obtaining operational status information of the sub- account in sub- account client.
Receiving module 600 is for receiving the password that user inputs in sub- account client.
Authentication module 700 is used to send verification information to sub- account service end, includes password, the son inputted in verification information
The facility information of sub- account name and sub- account client in account client, so that presence of the sub- account service end according to preservation
The facility information of the sub- account name of correspondence, password and sub- account name client verifies the verification information of reception, with
Just after by verification, allow operation of the user in sub- account client.
In one embodiment of the invention, sending module 400 is additionally operable to operational status information being sent to sub- account clothes
Be engaged in end so that sub- account service end to main account client send operating parameter, operating parameter include sub- account identification information and
Operational status information in sub- account client, and make main account client by operational status information include sub- account identification believe
It ceases in corresponding sub- account item.
Further, after sub- account is operated on sub- account device, sending module 400 can be by operational status information
It is sent to sub- account service end, then sub- account service end sends operating parameter to main account client.Such as shown in Figure 10, shop
Length can check the gathering situation of each cashier.Operational status information is included in sub- account identification information by main account client
In corresponding sub- account item.Wherein, operating parameter includes the mode of operation letter in sub- account identification information and sub- account client
Breath.In the case where connecting network, operating parameter is to be sent to main account client in real time by sub- account service end.
Bar code in the present embodiment can specifically refer to Quick Response Code.
The sub- account device of the present embodiment realizes the wound of sub- account by scanning the sub- account bar code created by main account
Mandate is built and used, simplifies initial setting up, and be automatically associated sub- account with main account, when sub- Account Logon no longer needs to
Main account information is inputted, use is simple and efficient;And sub- account is to correspond with sub- account equipment, is enhanced to privacy of user
Protection, improves safety;When sub- account is merchandised, sub- account server can be in real time by Transaction Information automatic push to master
Account client, it is concise so that main account is checked at any time.And sub- account creation and process for using more handy and safe, subtract
The interaction times of client and server-side are lacked, the user experience is improved.
The embodiment of the present application also provides a kind of systems creating sub- account.
Figure 15 is the structural schematic diagram of the system of the sub- account of establishment of another embodiment of the application.
As shown in figure 15, the system of the sub- account of the establishment includes:Main account device 10 and sub- account device 20.
Specifically, main account device 10 is the main account device described in any of the above-described embodiment, sub- account device 20
For the sub- account device described in any of the above-described embodiment.
The system for the sub- account of establishment that the embodiment of the present application proposes, by being that sub- account generates bar code in main account equipment,
Allow sub- account equipment directly to carry out mandate login by scanning sub- account bar code, password, sub- account are set without main account
Password can be directly arranged in family after scanning, reduce the interaction times of client and server-side.And log in sub- account when with main account
Family auto-associating eliminates unnecessary login step without input main account name every time, and operation is more convenient, improves
User experience.
It should be noted that in the description of the present application, term " first ", " second " etc. are used for description purposes only, without
It can be interpreted as indicating or implying relative importance.In addition, in the description of the present application, unless otherwise indicated, the meaning of " multiple "
It is two or more.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discuss suitable
Sequence, include according to involved function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be by the application
Embodiment person of ordinary skill in the field understood.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or combination thereof.Above-mentioned
In embodiment, software that multiple steps or method can in memory and by suitable instruction execution system be executed with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit application-specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are appreciated that realize all or part of step that above-described embodiment method carries
Suddenly it is that relevant hardware can be instructed to complete by program, the program can be stored in a kind of computer-readable storage medium
In matter, which includes the steps that one or a combination set of embodiment of the method when being executed.
In addition, each functional unit in each embodiment of the application can be integrated in a processing module, it can also
That each unit physically exists alone, can also two or more units be integrated in a module.Above-mentioned integrated mould
The form that hardware had both may be used in block is realized, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized in the form of software function module and when sold or used as an independent product, can also be stored in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not
Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any
One or more embodiments or example in can be combined in any suitable manner.
Although embodiments herein has been shown and described above, it is to be understood that above-described embodiment is example
Property, it should not be understood as the limitation to the application, those skilled in the art within the scope of application can be to above-mentioned
Embodiment is changed, changes, replacing and modification.