Embodiment
The embodiment of the present application provides a kind of method and system for generating account.
In order that those skilled in the art more fully understand the technical scheme in the application, below in conjunction with this
Apply for the accompanying drawing in embodiment, the technical scheme in the embodiment of the present application be clearly and completely described,
Obviously, described embodiment is only some embodiments of the present application, rather than whole embodiments.Base
Embodiment in the application, those of ordinary skill in the art are obtained under the premise of creative work is not made
The every other embodiment obtained, should all belong to the scope of the application protection.
The embodiment of the present application provides a kind of method for generating account, as shown in figure 1, including:
S110:Obtain the create-rule of account.
Operating personnel (such as developer or tester) can set the create-rule of account, accordingly,
The system of generation account can receive the create-rule of input.Specifically, operating personnel can give according to system
The regular check box gone out, the check box of such as graphical interfaces chooses the account rule for needing to generate.Certainly,
Operating personnel can also provide the rule of selection by order line, the final election without having to be by graphical interfaces
Frame.
The rule, such as including account quantity, registration mailbox form, whether by the base such as system of real name certification
This account information, and the account type such as personal user, corporate user, enterprise customer, or also include remaining sum,
Self-service financing (such as Yuebao), credit consuming (as flower), red packet, preferential point of partial consumption can be supported (such as
Collection point treasured), the fund information and the means of payment etc. such as debit card quick, credit card is quick, Net silver.
In a kind of example implemented, operating personnel can select to create personal authentication's account, there is red packet,
Perfect flower qualification, batch creates 10 accounts, and the registration mailbox of account is to be started with " zhenluo "
Mailbox.The account rule that then aforesaid operations are created includes following condition:(1) personal authentication's account;(2) have
Red packet;(3) perfect flower qualification;(4) batch creates 10 accounts;(5) registration mailbox of account is
The mailbox started with " zhenluo ".
Obtain after above-mentioned account create-rule, can generate and for example such as issue orders:
PersonalprodAndcertify-balance-coupon-debitexpress-count 10-startwithzhenluo, are deposited
Storage is in rule base.
, can be as shown in Figure 2 by the way of the check box of graphical interfaces in a kind of embodiment.
S120:The create-rule of acquisition is disassembled as atomization data configuration service.
After the create-rule for obtaining account, the create-rule of acquisition can be disassembled and be taken for atomization data configuration
Business.Specifically, the create-rule of acquisition can be disassembled as single condition.
For example, the account rule of above-mentioned establishment includes following condition:(1) personal authentication's account;(2) have red
Bag;(3) perfect flower qualification;(4) batch creates 10 accounts;(5) registration mailbox of account be with
The mailbox of " zhenluo " beginning.Wherein, each one atomization data configuration service of condition correspondence.The example
After being disassembled in son atomizing data configuration service for example including personal authentication's atomization data configuration service,
Red packet sets the service of atomization data configuration, the service of flower qualification atomization data configuration, postbox installment atom
Change data configuration service.
In the present embodiment, hundreds of or even thousands of or up to ten thousand account generation rule may be received within a period of time
Then.Timing is could be arranged to disassemble the create-rule of acquisition for atomization data configuration service.Such as timing
By the create-rule of acquisition:
“personalprodAndcertify-balance-coupon-debitexpress-count10-startwithzhenluo”
Disassemble as atomization data configuration service, it is as follows:
1) generation is with the atomization data configuration service of the zhenluo accounts started;
2) the atomization data configuration service of personal authentication's user interface is adjusted;
3)balance:Call the atomization data configuration service for filling remaining sum;
4)coupon:Call the atomization data configuration service of generation red packet;
5)count10:The above 1) --- actuation cycle 4) generates the atomization data configuration clothes of 10 times
Business.
S130:According to each atomization data configuration service disassembled, the interface of correspondence platform is called to set
The respective attributes of the account.
The service of atomization data configuration can be provided by infrastructure service platform.The infrastructure service platform can be with
The multiple business platform that internet system is included is connected by interface interchange.According to each atomization disassembled
Data configuration is serviced, and the interface of correspondence platform can be called to set the attribute of the account in the way of poll.
The interface for each atomization data configuration service call correspondence platform that the basis is disassembled is to set
The respective attributes of account are stated, specifically, can be according to each atomization data configuration service asynchronous disassembled
Call the interface of correspondence platform that the respective attributes of the account are set.So, the various of the account are set
Attribute, can be performed, so as to accelerate the process set a property with asynchronous execution without synchronous.
According to the establishment condition of above-mentioned example, following account can be generated:
Account 1:Zhenluo1088@163.com, personal authentication's account, 5 yuan of red packet numbers 10, flower
5000 yuan of limit;
Account 2:ZhenluoC523@126.com, personal authentication's account, 5 yuan of red packet numbers 30, flower
500 yuan of limit;
Account 3:Zhenluo1111@163.com, personal authentication's account, 5 yuan of red packet numbers 5, flower limit
1000 yuan of volume;
Account 4:Zhenluo88@163.com, personal authentication's account, 5 yuan of red packet numbers 1, flower limit
500 yuan;
Account 5:Zhenluo1zhenluo@qq.com, personal authentication's account, 5 yuan of red packet numbers 2, flower
2000 yuan of limit;
Account 6:Zhenluozz@hotmail.com, personal authentication's account, 5 yuan of red packet numbers 20, flower
10000 yuan of limit;
Account 7:Zhenluotq@163.com, personal authentication's account, 5 yuan of red packet numbers 50, flower limit
3000 yuan of volume;
Account 8:Zhenluo256@126.com, personal authentication's account, 5 yuan of red packet numbers 8, flower limit
100 yuan of volume;
Account 9:Zhenluo3@163.com, personal authentication's account, 5 yuan of red packet numbers 15, flower limit
500 yuan;
Account 10:Zhenluo188@foxmail.com, personal authentication's account, 5 yuan of red packet numbers 7, flower
10000 yuan of limit.
It is preferred that, the interface of correspondence platform can will be called to set the respective attributes of the account to be arranged on together
In one affairs, to ensure the account of generation while meeting the rule of setting.For example, according to each original disassembled
Sonization data configuration service:
1) generate with the atomization data configuration service of the zhenluo accounts started, ture returned if success,
It is unsuccessful, return to false;
2) the atomization data configuration service of personal authentication's user interface is adjusted, ture is returned to if success, no
It is successful then return to false;
3)balance:The atomization data configuration service for filling remaining sum is called, ture is returned if success,
It is unsuccessful, return to false;
4)coupon:The atomization data configuration service of generation red packet is called, ture is returned if success,
It is unsuccessful, return to false;
5)count10:The above 1) -4) actuation cycle generate 10 times atomization data configuration service,
Ture is returned if success, it is unsuccessful, return to false.
So, after any false feedback is received, the process of the embodiment of the present application can be terminated.When
After all true of feedback received, it can confirm that all accounts of generation meet the create-rule of acquisition.
S140:Database is arrived into the account attribute storage of the setting.
With the above embodiments of the present application, satisfactory account can quickly, be easily generated.Also,
Can be with Mass production account.
Methods described can also include:
S150:By the account relating of generation in operation account.
Operating personnel before above-mentioned S110-S140 operation is carried out or during, the operation of oneself can be logged in
Account., can be by the account relating of generation and operation account after the operation for performing above-mentioned S110-S140.
So, the account of generation can mark founder;Further, authority can also be set using so that only grasp
The generation account of association can be used by making account.
A kind of system for generating account of the application introduced below, as shown in figure 3, including:
A kind of system for generating account, including:
Acquiring unit 31, the create-rule for obtaining account;
Unit 32 is disassembled, for the create-rule of acquisition to be disassembled as atomization data configuration service;
Setting unit 33, for according to each atomization data configuration service disassembled, calling correspondence platform
Interface is to set the respective attributes of the account;
Memory cell 34, for the account attribute storage of the setting to be arrived into database.
It is preferred that, the rule includes basic account information, account type, the means of payment.
It is preferred that, the basic account information include account quantity, registration mailbox form, whether pass through real name
Certification processed.
It is preferred that, the account type includes personal user, corporate user, enterprise customer.
It is preferred that, the means of payment include remaining sum, self-service financing, credit consuming, red packet, can support point
Consumption preferential point, debit card is quick, credit card is quick, Net silver.
It is preferred that, the system such as Fig. 4 can also include timing unit 35, for clocked flip;Accordingly
,
The unit 32 of disassembling disassembles the create-rule of acquisition for atom according to the clocked flip of timing unit
Change data configuration service.
It is preferred that, the setting unit 33 calls the interface of correspondence platform described to set in the way of poll
The attribute of account.
It is preferred that, the setting unit 33 is called according to each atomization data configuration service asynchronous disassembled
The interface of platform is corresponded to set the respective attributes of the account.
It is preferred that, the setting unit 33 calls the interface of correspondence platform to set the corresponding category of the account
Property is arranged in same affairs.
It is preferred that, the system such as Fig. 4 can also include associative cell 36, for the account of generation to be closed
It is coupled to operation account.
In the 1990s, can clearly to distinguish be changing on hardware for the improvement of a technology
The improvement entered on (for example, improvement to circuit structures such as diode, transistor, switches) or software is (right
In the improvement of method flow).However, with the development of technology, the improvement of many method flows now is
Through directly improving for hardware circuit can be considered as.Designer is nearly all by by improved method flow
It is programmed into hardware circuit to obtain corresponding hardware circuit.Therefore, it cannot be said that method flow
Improvement cannot be realized with hardware entities module.For example, PLD (Programmable
Logic Device, PLD) (for example field programmable gate array (Field Programmable Gate Array,
FPGA)) it is exactly such a integrated circuit, its logic function is determined by user to device programming.By setting
Meter personnel are voluntarily programmed a digital display circuit " integrated " on a piece of PLD, without asking chip manufacturing
Manufacturer designs and made special IC chip.Moreover, nowadays, substitution manually makes integrated electricity
Road chip, this programming also uses " logic compiler (logic compiler) " software instead to realize mostly, it
Software compiler used is similar when being write with program development, and the source code before compiling is also handy
Specific programming language is write, and this is referred to as hardware description language (Hardware Description
Language, HDL), and HDL is also not only a kind of, but have many kinds, such as ABEL (Advanced
Boolean Expression Language)、AHDL(Altera Hardware Description Language)、
Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL
(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL
(Ruby Hardware Description Language) etc., most generally uses VHDL at present
(Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog.
Those skilled in the art also will be apparent to the skilled artisan that only need to by method flow with above-mentioned several hardware description languages slightly
Programming in logic is simultaneously programmed into integrated circuit, it is possible to be readily available the hardware for realizing the logical method flow
Circuit.
Controller can be implemented in any suitable manner, for example, controller can take such as microprocessor
Or processor and storage can by (micro-) computing device computer readable program code (such as software
Or firmware) computer-readable medium, gate, switch, application specific integrated circuit (Application Specific
Integrated Circuit, ASIC), the form of programmable logic controller (PLC) and embedded microcontroller, controller
Example include but is not limited to following microcontroller:ARC 625D、Atmel AT91SAM、Microchip
PIC18F26K20 and Silicone Labs C8051F320, Memory Controller is also implemented as depositing
A part for the control logic of reservoir.It is also known in the art that except with pure computer-readable program
Code means are realized beyond controller, can cause control by the way that method and step is carried out into programming in logic completely
Device is with the shape of gate, switch, application specific integrated circuit, programmable logic controller (PLC) and embedded microcontroller etc.
Formula realizes identical function.Therefore this controller is considered a kind of hardware component, and to being wrapped in it
The device for realizing various functions included can also be considered as the structure in hardware component.Or even, can be with
It not only can will be the software module of implementation method for realizing that the device of various functions is considered as but also can be hardware
Structure in part.
System, device, module or unit that above-described embodiment is illustrated, specifically can be by computer chip or reality
Body is realized, or is realized by the product with certain function.
For convenience of description, it is divided into various units during description apparatus above with function to describe respectively.Certainly,
The function of each unit can be realized in same or multiple softwares and/or hardware when implementing the application.
It should be understood by those skilled in the art that, embodiments of the invention can be provided as method, system or meter
Calculation machine program product.Therefore, the present invention can be using complete hardware embodiment, complete software embodiment or knot
The form of embodiment in terms of conjunction software and hardware.Wherein wrapped one or more moreover, the present invention can be used
Containing computer usable program code computer-usable storage medium (include but is not limited to magnetic disk storage,
CD-ROM, optical memory etc.) on the form of computer program product implemented.
The present invention is with reference to the production of method according to embodiments of the present invention, equipment (system) and computer program
The flow chart and/or block diagram of product is described.It should be understood that can by computer program instructions implementation process figure and
/ or each flow and/or square frame in block diagram and the flow in flow chart and/or block diagram and/
Or the combination of square frame.These computer program instructions can be provided to all-purpose computer, special-purpose computer, insertion
Formula processor or the processor of other programmable data processing devices are to produce a machine so that pass through and calculate
The instruction of the computing device of machine or other programmable data processing devices is produced for realizing in flow chart one
The device for the function of being specified in individual flow or multiple flows and/or one square frame of block diagram or multiple square frames.
These computer program instructions, which may be alternatively stored in, can guide computer or the processing of other programmable datas to set
In the standby computer-readable memory worked in a specific way so that be stored in the computer-readable memory
Instruction produce include the manufacture of command device, the command device realization in one flow or multiple of flow chart
The function of being specified in one square frame of flow and/or block diagram or multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices, made
Obtain and perform series of operation steps on computer or other programmable devices to produce computer implemented place
Reason, so that the instruction performed on computer or other programmable devices is provided for realizing in flow chart one
The step of function of being specified in flow or multiple flows and/or one square frame of block diagram or multiple square frames.
In a typical configuration, computing device includes one or more processors (CPU), input/output
Interface, network interface and internal memory.
Internal memory potentially includes the volatile memory in computer-readable medium, random access memory
And/or the form, such as read-only storage (ROM) or flash memory (flash RAM) such as Nonvolatile memory (RAM).It is interior
Deposit be computer-readable medium example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by appointing
What method or technique realizes that information is stored.Information can be computer-readable instruction, data structure, program
Module or other data.The example of the storage medium of computer include, but are not limited to phase transition internal memory (PRAM),
It is static RAM (SRAM), dynamic random access memory (DRAM), other kinds of random
Access memory (RAM), read-only storage (ROM), Electrically Erasable Read Only Memory (EEPROM),
Fast flash memory bank or other memory techniques, read-only optical disc read-only storage (CD-ROM), digital multi light
Disk (DVD) or other optical storages, magnetic cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus
Or any other non-transmission medium, the information that can be accessed by a computing device available for storage.According to herein
Define, computer-readable medium does not include temporary computer readable media (transitory media), such as modulate
Data-signal and carrier wave.
It should also be noted that, term " comprising ", "comprising" or its any other variant are intended to non-row
His property is included, so that process, method, commodity or equipment including a series of key elements not only include
Those key elements, but also other key elements including being not expressly set out, or also include for this process,
Method, commodity or the intrinsic key element of equipment.In the absence of more restrictions, by sentence " including
One ... " key element that limits, it is not excluded that in the process including the key element, method, commodity or set
Also there is other identical element in standby.
It will be understood by those skilled in the art that embodiments herein can be provided as method, system or computer journey
Sequence product.Therefore, the application can using complete hardware embodiment, complete software embodiment or combine software and
The form of the embodiment of hardware aspect.Moreover, the application can be used wherein includes calculating one or more
Machine usable program code computer-usable storage medium (include but is not limited to magnetic disk storage, CD-ROM,
Optical memory etc.) on the form of computer program product implemented.
The application can be described in the general context of computer executable instructions, example
Such as program module.Usually, program module includes performing particular task or realizes particular abstract data type
Routine, program, object, component, data structure etc..This can also be put into practice in a distributed computing environment
Application, in these DCEs, by the remote processing devices connected by communication network come
Execution task.In a distributed computing environment, program module can be located at local including storage device
In remote computer storage medium.
Each embodiment in this specification is described by the way of progressive, identical phase between each embodiment
As part mutually referring to what each embodiment was stressed is the difference with other embodiment.
For system embodiment, because it is substantially similar to embodiment of the method, so the comparison of description
Simply, the relevent part can refer to the partial explaination of embodiments of method.
Embodiments herein is the foregoing is only, the application is not limited to.For this area skill
For art personnel, the application can have various modifications and variations.All institutes within spirit herein and principle
Any modification, equivalent substitution and improvements of work etc., should be included within the scope of claims hereof.