Embodiment
Be described below in detail the embodiment of the application, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has element that is identical or similar functions from start to finish.Being exemplary below by the embodiment be described with reference to the drawings, only for explaining the application, and the restriction to the application can not being interpreted as.On the contrary, the embodiment of the application comprise fall into attached claims spirit and intension within the scope of all changes, amendment and equivalent.
Below with reference to the accompanying drawings describe the method according to the sub-account of the establishment of the embodiment of the present application, control device and create the method and apparatus of sub-account.
Fig. 1 is the schematic flow sheet of the method for the sub-account of establishment that the application one embodiment proposes, and the method comprises:
S101: be sub-account creation account name, and obtain sub-account bar code according to account name.
Wherein, for the account name of sub-account creation can be set by main account, main account can be the sub-account creation pet name as account name, other possible contents also can be used as account name (as numbering, name etc.).
Concrete, the pet name of account name can be main account be sub-account creation, obtaining sub-account bar code according to account name can comprise:
The pet name of the sub-account of main account name and establishment is sent to main account service end by main account client, to make main account service end obtain 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 positioned on main account equipment, and main account equipment can be the electronic equipment such as computer, mobile phone, and service end can be to provide the server of this service, main account service end and sub-account service end can use same server, also can use different servers.
Optionally, sub-account name can be made up of the pet name of main account name and sub-account, the various ways such as such as main account name+sub-account pet name, the sub-account pet name+sequence number+main account name.
Particularly, the process that main account service end generates bar code according to sub-account name can adopt existing techniques in realizing, and also can use the bar code generation technique that future may occur, the application does not limit this; The bar code that can generate also has multiple, will not enumerate at this.
Concrete, bar code specifically can refer to Quick Response Code.
S102: show sub-account bar code, so as sub-account client scan account bar code and according to scanning sub-account bar code set up sub-account.
Particularly, sub-account client by the sub-account bar code of first-class internal or external device scan main account equipment display of making a video recording, and sets up sub-account according to the sub-account bar code of scanning.
In the specific embodiment of the application, the information such as main account information, authorization message, sub-account name, the sub-account pet name can be comprised in sub-account bar code, therefore, the mandate of login first and the main account information of sub-account can be obtained during group account client scan account bar code, without the need to verifying initial password, also without the need to inputting main account name when next time logs in.
The present embodiment is by main account equipment being sub-account generation bar code, make sub-account equipment directly can carry out mandate by the sub-account bar code of scanning to log in, arrange password without the need to main account, sub-account directly can arrange password after scanning, decreases the interaction times of client and service end.And when logging in sub-account and main account auto-associating, without the need to inputting main account name at every turn, eliminate unnecessary login step, faster and more convenient operation, improve Consumer's Experience.
Fig. 2 is the schematic flow sheet of method of the sub-account of establishment proposed according to another embodiment of the application, and the embodiment of the present application thinks that the sub-account creation pet name is example.As shown in Figure 2, the method comprises:
S201: the sub-account bar code in scanning main account client.
Wherein, sub-account bar code generates according to the account name of the sub-account that main account client creates.
Particularly, by the sub-account bar code of first-class internal or external device scan main account equipment display of making a video recording, concrete scan mode has multiple, and the application does not limit this.
The bar code of the present embodiment specifically can refer to Quick Response Code.
S202: set up sub-account according to sub-account bar code.
In the specific embodiment of the application, the information such as main account information, authorization message, sub-account name, the sub-account pet name can be comprised in sub-account bar code, therefore, the mandate of login first and the main account information of sub-account can be obtained during group account client scan account bar code, and set up sub-account.
Concrete, main account can be the new sub-account creation pet name created, and sub-account bar code is generated by sub-account name, and sub-account name is made up of the pet name of main account name and sub-account, comprises according to the process that sub-account bar code sets up sub-account:
Sub-account client, after the sub-account bar code of successful scan, obtains sub-account name, and arranges the password of sub-account.The sub-account bar code that such as cashier's client scan storekeeper client creates, namely the use authority of corresponding sub-account is obtained by this bar code, cashier needs the password arranging this sub-account after having scanned (to comprise login password, trading password etc., also can be unified password), to activate this sub-account and then to log in.
The facility information of sub-account name, password and sub-account client is sent to sub-account service end by sub-account client, with the facility information making sub-account service end correspondence preserve sub-account name, password and sub-account client.It should be noted that, sub-account client is after the sub-account bar code of successful scan, namely the use authority of main account to this sub-account is obtained, in order to avoid repeating, the facility information of sub-account name, password and sub-account client can be sent to sub-account service end by sub-account client, and this equipment and current sub-account are bound by sub-account service end, after this, even if this sub-account bar code of other sub-account client scans, also cannot obtain the use authority of this sub-account.
The present embodiment sets up sub-account by the sub-account bar code in scanning main account client, directly can obtain mandate by scanning barcode and set up sub-account, and with main account auto-associating, without the need to manual association, simple and efficient to handle, and every corresponding sub-account of sub-account client, ensure that account privacy, improve Consumer's Experience.
Fig. 3 is the schematic flow sheet of the method for the sub-account of establishment that another embodiment of the application proposes, and the present embodiment is Quick Response Code for bar code.
As shown in Figure 3, the method for the sub-account of this establishment comprises:
S301: main account is the sub-account creation pet name in main account client.
Wherein, main account client can be positioned on main account equipment.Main account equipment can be the electronic equipment such as computer, mobile phone.
Main account is such as shopkeeper, and sub-account is such as cashier.
Concrete, see Fig. 4, shopkeeper can click and add cashier in main account client, is the sub-account creation pet name.
S302: the pet name of main account name and establishment is sent to main account service end by main account client, and main account service end obtains sub-account name according to main account name and the pet name, and generate sub-account Quick Response Code according to sub-account name.
Concrete, main account can after the establishment pet name, and the similar button triggering such as click " interpolation " main account client transmission main account name and the pet name are to main account service end.
Wherein, sub-account name can be made up of main account name and the pet name.Main account service end, after receiving main account name and the sub-account pet name, can obtain sub-account name according to main account name and the sub-account pet name, and generate sub-account Quick Response Code according to sub-account name.
S303: main account equipment shows sub-account Quick Response Code.
Sub-account Quick Response Code, after the sub-account Quick Response Code of generation, can be sent to main account client by the interface of client and service end by main account service end, so that the display of main account client.
Concrete, main account client can show Quick Response Code as shown in Figure 5, and sub-account can use sub-account equipment to scan.
S304: the sub-account Quick Response Code in sub-account client scan main account client.
Wherein, sub-account Quick Response Code generates according to the account name of the sub-account that described main account client creates.The account name created is the pet name of sub-account, and sub-account Quick Response Code is generated by sub-account name, and sub-account name can be made up of main account name and the pet name,
Sub-account client can by the sub-account Quick Response Code in the first-class device scan main account client of shooting.Concrete, for example, as shown in Figure 6, when cashier logs in first, cashier can use the Quick Response Code on the device scan shopkeeper equipment of cashier.
S305: sub-account client, after account Quick Response Code described in successful scan, obtains described sub-account name, and arranges the password of sub-account.
Sub-account client needs the password (comprising login password, trading password etc., also can be unified password) arranging this sub-account after having scanned, to activate this sub-account and then to log in.The activation of sub-account just can be completed after password is set.
Concrete, as shown in Figure 7, cashier can arrange password in sub-account client.
S306: the facility information of the sub-account client of sub-account name, password and correspondence is sent to sub-account service end by sub-account client.
In order to avoid repeating, the facility information of the sub-account client of sub-account name, password and correspondence and current sub-account can be bound after receiving by sub-account service termination, after this, even if this sub-account Quick Response Code of other sub-account client scans, also cannot obtain the use authority of this sub-account.Sub-account service end in doing so, can show successfully to set up sub-account.
S307: main account client receives the sub-account identification information that sub-account service end sends after successfully setting up sub-account, and shows.
Wherein, sub-account identification information comprises the facility information of the sub-account client of sub-account name and/or correspondence.
Particularly, main account client can also preserve sub-account identification information.Such as, sub-account identification information can be kept in corresponding sub-account item.
In an embodiment of the application, as shown in Figure 8, shopkeeper can preserve multiple sub-accounts information.
S308: sub-account client receives the sub-account creation success message that sub-account service end sends.
Particularly, after knowing the success of sub-account creation, sub-account client can operate this sub-account.
Further, sub-account is after the enterprising line operate of sub-account client, and operational status information can also be sent to sub-account service end by sub-account client, and then sub-account service end is to main account client transmit operation parameter.Operational status information is presented in sub-account item corresponding to sub-account identification information by main account client.Wherein, operating parameter comprises the operational status information in sub-account identification information and sub-account client.When connecting network, operating parameter is sent to main account client in real time by sub-account service end.
Particularly, as shown in Figure 9, after sub-account creation success, for cashier's gathering, following operation can be performed:
S401: cashier initiates gathering in sub-account client.
S402: sub-account client shows and collects money successfully.
S403: sub-account client sends Receiving information to sub-account service end.
Wherein, Receiving information can comprise expenditure/amount received, Transaction Success/failure, transaction are closed, multiple with/without reimbursement etc.
It is to be appreciated that because step S401 ~ S403 is all by existing techniques in realizing, detailed content of operation does not repeat them here.
S404: Receiving information is sent to main account client by sub-account service end.
Wherein, sub-account service end, after knowing Receiving information, can adopt propelling movement (push) mode that Receiving information is sent to main account client in real time.
S405: shopkeeper checks transaction record.
See Figure 10, shopkeeper can check the gathering situation of each cashier.
The present embodiment is by the establishment and the use authority that are created sub-account Quick Response Code by main account, sub-account client scan Quick Response Code realizes sub-account, sub-account client is enable directly password to be set by the sub-account Quick Response Code of scanning and to use sub-account, simplify initial setting up, and automatically sub-account is associated with main account, without the need to inputting main account information again during sub-Account Logon, fast easy to use; And sub-account and sub-account equipment are one_to_one corresponding, enhance the protection to privacy of user, improve fail safe; When transaction occurs sub-account, Transaction Information can be pushed to main account client by sub-account server in real time automatically, so that main account is checked at any time, short and sweet.The sub-account creation of the present embodiment and use flow process handy and safe more, decrease the interaction times of client and service end, improve Consumer's Experience.
In order to realize above-described embodiment, the application also proposes a kind of main account device.Wherein, main account client can be positioned on main account device.Main account device can be the electronic equipment such as computer, mobile phone.
Figure 11 is the structural representation of the main account device of the application one embodiment.
As shown in figure 11, this main account device comprises: creation module 100 and display module 200.
Particularly, creation module 100 for being sub-account creation account name, and obtains sub-account bar code according to described account name.Wherein, for the account name of sub-account creation can be set by main account, main account can be the sub-account creation pet name as account name, other possible contents also can be used as account name (as numbering, name etc.).Preferably, the pet name of account name can be main account be sub-account creation.
Display module 200 for showing described sub-account bar code so that sub-account bar code described in sub-account client scan and according to scanning sub-account bar code set up sub-account.More specifically, sub-account client by the sub-account bar code of first-class internal or external device scan main account display module 200 display of making a video recording, and sets up sub-account according to the sub-account bar code of scanning.
In the specific embodiment of the application, the information such as main account information, authorization message, sub-account name, the sub-account pet name can be comprised in sub-account bar code, therefore, the mandate of login first and the main account information of sub-account can be obtained during group account client scan account bar code, without the need to verifying initial password, also without the need to inputting main account name when next time logs in.
The present embodiment is by being sub-account creation account name, obtain and show sub-account bar code, make sub-account equipment directly can carry out mandate by the sub-account bar code of scanning to log in, without the need to main account, password is set, sub-account directly can arrange password after scanning, decrease the interaction times of client and service end, faster and more convenient operation, improve Consumer's Experience.
Figure 12 is the structural representation of the main account device of another embodiment of the application.As shown in figure 12, this main account device comprises: creation module 100, display module 200, sending module 300, receiver module 400 and preservation module 500.
Particularly, sending module 300, for the pet name of main account name and establishment is sent to main account service end, to make main account service end obtain 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 is such as shopkeeper, and sub-account is such as cashier.Concrete, main account can after the establishment pet name, clicks similar button triggering sending modules 300 such as " interpolation " and sends main account name and the pet name to main account service end.Wherein, sub-account name can be made up of main account name and the pet name.Main account service end, after receiving main account name and the sub-account pet name, can obtain sub-account name according to main account name and the sub-account pet name, and generate sub-account bar code according to sub-account name.
The sub-account identification information that receiver module 400 sends after successfully setting up sub-account for receiving sub-account service end, sub-account identification information comprises the facility information of the sub-account client of sub-account name and/or correspondence.More specifically, sub-account bar code, after the sub-account bar code of generation, can be sent to the receiver module 400 of main account device, so that main account client shows by main account service end by the interface of client and service end.
More specifically, main account client can show bar code as shown in Figure 5, and sub-account can use sub-account equipment to scan.
Preserve module 500 for preserving sub-account identification information.Wherein, sub-account identification information comprises the facility information of the sub-account client of sub-account name and/or correspondence.Such as, preserve module 500 sub-account identification information to be kept in corresponding sub-account item.In an embodiment of the application, as shown in Figure 8, shopkeeper can preserve multiple sub-accounts information.
In one embodiment of the invention, receiver module 400 is also for receiving the operating parameter that sub-account service end sends, and operating parameter is that described sub-account server sends in real time after knowing described operational status information.Operating parameter comprises the operational status information in sub-account identification information and sub-account client.
In one embodiment of the invention, display module 200 is also for being presented at operational status information in sub-account item corresponding to sub-account identification information.More specifically, after knowing the success of sub-account creation, sub-account client can operate this sub-account.Further, sub-account is after the enterprising line operate of sub-account client, and operational status information can also be sent to sub-account service end by sub-account client, and then sub-account service end is to main account client transmit operation parameter.Operational status information is presented in sub-account item corresponding to sub-account identification information by the display module 200 of main account device.Wherein, operating parameter comprises the operational status information in sub-account identification information and sub-account client.When connecting network, operating parameter is sent to main account client in real time by sub-account service end.
The main account device of the present embodiment, sub-account client scan is supplied to realize establishment and the use authority of sub-account by creating sub-account bar code, sub-account client is enable directly password to be set by the sub-account bar code of scanning and to use sub-account, simplify initial setting up, and automatically sub-account is associated with main account; Can accept at any time and show the operational status information of sub-account, so that main account is checked at any time, short and sweet.The sub-account creation of the present embodiment and use flow process handy and safe more, decrease the interaction times of client and service end, improve Consumer's Experience.
The embodiment of the present application additionally provides a seed account device.
Figure 13 is the structural representation of the sub-account device of the application one embodiment.Wherein, sub-account client can be positioned on sub-account device.Sub-account equipment can be the electronic equipment such as computer, mobile phone.As shown in figure 13, this sub-account device comprises: scan module 100 and set up module 200.
Particularly, scan module 100 is for scanning the sub-account bar code in main account client, and sub-account bar code generates according to the account name of the sub-account that main account client creates.Wherein, sub-account bar code generates according to the account name of the sub-account that main account client creates.
More specifically, scan module 100 is by the sub-account bar code of first-class internal or external device scan main account equipment display of making a video recording, and concrete scan mode has multiple, and the application does not limit this.
Set up module 200 for setting up sub-account according to sub-account bar code.In the specific embodiment of the application, the information such as main account information, authorization message, sub-account name, the sub-account pet name can be comprised in sub-account bar code, therefore, the mandate of login first and the main account information of sub-account can be obtained when scan module 100 scans sub-account bar code, and set up sub-account by setting up module 200.More specifically, main account can be the new sub-account creation pet name created, and sub-account bar code is generated by sub-account name, and sub-account name is made up of the pet name of main account name and sub-account.
Bar code in the present embodiment specifically can refer to Quick Response Code.
The present embodiment sets up sub-account by the sub-account bar code in scanning main account client, directly can set up sub-account by scanning barcode acquisition mandate, and with main account auto-associating, without the need to manual association, simple and efficient to handle, improve Consumer's Experience.
Figure 14 is the structural representation of the sub-account device of another embodiment of the application.
As shown in figure 14, this sub-account device comprises: scan module 100, set up module 200, module 300 be set, sending module 400, acquisition module 500, receiver module 600 and authentication module 700.
Particularly, module 300 is set for after the sub-account bar code of successful scan, the password of sub-account is set.
Of the present invention, scan module 100, after the sub-account bar code of successful scan, obtains sub-account name, arranges the password that module 300 arranges sub-account.The sub-account bar code that such as cashier's client scan storekeeper client creates, namely the use authority of corresponding sub-account is obtained by this bar code, cashier needs the password arranging this sub-account after having scanned (to comprise login password, trading password etc., also can be unified password), to activate this sub-account and then to log in.
Sending module 400, for the facility information of sub-account name, password and sub-account client is sent to sub-account service end, preserves the facility information of sub-account name, password and sub-account client to make sub-account service end correspondence.The facility information of sub-account name, password and sub-account client is sent to sub-account service end by sending module 400, with the facility information making sub-account service end correspondence preserve sub-account name, password and sub-account client.
It should be noted that, scan module 100 is after the sub-account bar code of successful scan, namely the use authority of main account to this sub-account is obtained, in order to avoid repeating, the facility information of sub-account name, password and sub-account client can be sent to sub-account service end by sending module 400, and this sub-account device and current sub-account are bound by sub-account service end, after this, even if other sub-account devices scan this sub-account bar code, the use authority of this sub-account also cannot be obtained.
Acquisition module 500 is for obtaining the operational status information of sub-account in sub-account client.
The password that receiver module 600 inputs in sub-account client for receiving user.
Authentication module 700 is for sending authorization information to sub-account service end, the facility information of sub-account name in the password of input, sub-account client and sub-account client is comprised in authorization information, the authorization information received is verified according to the facility information of the sub-account name that there is corresponding relation preserved, password and sub-account name client to make sub-account service end, so that after by checking, allow the operation of user in sub-account client.
In one embodiment of the invention, sending module 400 is also for sending to sub-account service end by operational status information, to make sub-account service end to main account client transmit operation parameter, operating parameter comprises the operational status information in sub-account identification information and sub-account client, and operational status information is presented in sub-account item corresponding to sub-account identification information by main account client.
Further, sub-account is after the enterprising line operate of sub-account device, and operational status information can be sent to sub-account service end by sending module 400, and then sub-account service end is to main account client transmit operation parameter.Such as shown in Figure 10, shopkeeper can check the gathering situation of each cashier.Operational status information is presented in sub-account item corresponding to sub-account identification information by main account client.Wherein, operating parameter comprises the operational status information in sub-account identification information and sub-account client.When connecting network, operating parameter is sent to main account client in real time by sub-account service end.
Bar code in the present embodiment specifically can refer to Quick Response Code.
The sub-account device of the present embodiment realizes establishment and the use authority of sub-account by scanning the sub-account bar code created by main account, simplify initial setting up, and automatically sub-account is associated with main account, without the need to inputting main account information again during sub-Account Logon, fast easy to use; And sub-account and sub-account equipment are one_to_one corresponding, enhance the protection to privacy of user, improve fail safe; When transaction occurs sub-account, Transaction Information can be pushed to main account client by sub-account server in real time automatically, so that main account is checked at any time, short and sweet.And sub-account creation and use flow process handy and safe more, decrease the interaction times of client and service end, improve Consumer's Experience.
The embodiment of the present application additionally provides a kind of system creating sub-account.
Figure 15 is the structural representation 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 this establishment comprises: main account device 10 and sub-account device 20.
Particularly, the main account device of main account device 10 described in above-mentioned any embodiment, the sub-account device of sub-account device 20 described in above-mentioned any embodiment.
The system of the sub-account of establishment that the embodiment of the present application proposes, by at main account equipment being sub-account generation bar code, make sub-account equipment directly can carry out mandate by the sub-account bar code of scanning to log in, without the need to main account, password is set, sub-account directly can arrange password after scanning, decreases the interaction times of client and service end.And when logging in sub-account and main account auto-associating, without the need to inputting main account name at every turn, eliminate unnecessary login step, faster and more convenient operation, improve Consumer's Experience.
It should be noted that, in the description of the application, term " first ", " second " etc. only for describing object, and can not be interpreted as instruction or hint relative importance.In addition, in the description of the application, except as otherwise noted, the implication of " multiple " is two or more.
Describe and can be understood in flow chart or in this any process otherwise described or method, represent and comprise one or more for realizing the module of the code of the executable instruction of the step of specific logical function or process, fragment or part, and the scope of the preferred implementation of the application comprises other realization, wherein can not according to order that is shown or that discuss, comprise according to involved function by the mode while of basic or by contrary order, carry out n-back test, this should understand by the embodiment person of ordinary skill in the field of the application.
Should be appreciated that each several part of the application can realize with hardware, software, firmware or their combination.In the above-described embodiment, multiple step or method can with to store in memory and the software performed by suitable instruction execution system or firmware realize.Such as, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: the discrete logic with the logic gates for realizing logic function to data-signal, there is the application-specific integrated circuit (ASIC) of suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
Those skilled in the art are appreciated that realizing all or part of step that above-described embodiment method carries is that the hardware that can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, this program perform time, step comprising embodiment of the method one or a combination set of.
In addition, each functional unit in each embodiment of the application can be integrated in a processing module, also can be that the independent physics of unit exists, also can be integrated in a module by two or more unit.Above-mentioned integrated module both can adopt the form of hardware to realize, and the form of software function module also can be adopted to realize.If described integrated module using the form of software function module realize and as independently production marketing or use time, also can be stored in a computer read/write memory medium.
The above-mentioned storage medium mentioned can be read-only memory, disk or CD etc.
In the description of this specification, at least one embodiment that specific features, structure, material or feature that the description of reference term " embodiment ", " some embodiments ", " example ", " concrete example " or " some examples " etc. means to describe in conjunction with this embodiment or example are contained in the application or example.In this manual, identical embodiment or example are not necessarily referred to the schematic representation of above-mentioned term.And the specific features of description, structure, material or feature can combine in an appropriate manner in any one or more embodiment or example.
Although illustrate and described the embodiment of the application above, be understandable that, above-described embodiment is exemplary, can not be interpreted as the restriction to the application, and those of ordinary skill in the art can change above-described embodiment, revises, replace and modification in the scope of the application.