CN105930713A - Method and terminal for generating identifying codes - Google Patents
Method and terminal for generating identifying codes Download PDFInfo
- Publication number
- CN105930713A CN105930713A CN201610230692.8A CN201610230692A CN105930713A CN 105930713 A CN105930713 A CN 105930713A CN 201610230692 A CN201610230692 A CN 201610230692A CN 105930713 A CN105930713 A CN 105930713A
- Authority
- CN
- China
- Prior art keywords
- user
- characteristic
- identifying code
- identity information
- grouped
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
- G06F21/36—User authentication by graphic or iconic representation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2221/00—Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/21—Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/2133—Verifying human interaction, e.g., Captcha
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephonic Communication Services (AREA)
Abstract
One embodiment of the invention discloses a method for generating identifying codes. The method comprises following steps: obtaining user identity information, wherein the identity information comprises identification characteristic data; determining which group the user is in according to preset grouping rules and identification characteristic data of the identity information; generating identifying codes corresponding to the user according to the group in which the user is; According to the embodiment of the invention, users are grouped according to obtained user identity information and corresponding identifying codes are matched and allocated; the matched identifying codes are corresponding to the user identities, which can increase the identification probability of the identifying codes, and the chances that users cannot identify the identifying codes are reduced. The invention also discloses a terminal.
Description
Technical field
The present invention relates to electronic technology field, particularly relate to generation method and the terminal of a kind of identifying code.
Background technology
Identifying code refers to automatically distinguish turing test (the Completely Automated of computer and the mankind
Public Turing test to tell Computers and Humans Apart, is called for short CAPTCHA), it is one
Plant and distinguish the public full auto-programs that user is computer or people.Identifying code be possible to prevent malice decryption,
Brush ticket or prevent certain hacker from some particular registered user specific program Brute Force mode being carried out not
Disconnected logs in trial, and a lot of real websites the most all use this mode of identifying code, and existing identifying code mode
Mainly include image authentication code, short message verification code, video verification code, speech identifying code etc., but existing
Identifying code not feature for user make a distinction, cause some users likely occurred unfamiliar
Identifying code, thus the content in None-identified identifying code.
Summary of the invention
The embodiment of the present invention provides a kind of verification code generation method and terminal, can be raw according to the identity information of user
Become corresponding identifying code.
First aspect, embodiments provides a kind of verification code generation method, and the method includes: obtain
The identity information of user, described identity information includes identifying characteristic;According to default rule of classification and
Identification characteristic in described identity information, determines that user place is grouped;It is grouped according to user place, raw
Become identifying code corresponding with described user.
On the other hand, embodiments providing a kind of terminal, this terminal includes memory element, obtains list
Unit, grouped element and output unit, acquiring unit is for obtaining the identity information of user;Grouped element,
For according to the identification characteristic in default rule of classification and described identity information, determining user place
Packet;Output unit, for being grouped according to user place, generates identifying code corresponding with described user.
A kind of verification code generation method and terminal disclosed in the embodiment of the present invention are believed by the user identity obtained
User is grouped by the identification characteristic in breath, and the identity for user generates corresponding identifying code,
Such that it is able to improve the identification probability to identifying code, and then reduce the generation of user's None-identified identifying code situation
Probability.
Accompanying drawing explanation
In order to be illustrated more clearly that embodiment of the present invention technical scheme, required in embodiment being described below
The accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is some realities of the present invention
Execute example, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to
Other accompanying drawing is obtained according to these accompanying drawings.
Fig. 1 is the schematic flow diagram of a kind of verification code generation method that the embodiment of the present invention provides;
Fig. 2 is the schematic block diagram of a kind of terminal that the embodiment of the present invention provides;
Fig. 3 is the schematic block diagram of a kind of grouped element in Fig. 2;
Fig. 4 is the schematic block diagram of the another kind of grouped element in Fig. 3;
Fig. 5 is the schematic block diagram of a kind of output unit in Fig. 3;
Fig. 6 is the another kind of terminal schematic block diagram that the embodiment of the present invention provides.
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clearly
Chu, it is fully described by, it is clear that described embodiment is a part of embodiment of the present invention rather than all
Embodiment.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative labor
The every other embodiment obtained under dynamic premise, broadly falls into the scope of protection of the invention.
Should be appreciated that when using in this specification and in the appended claims, term " includes " and " bag
Contain " indicate described feature, entirety, step, operation, element and/or the existence of assembly, but be not precluded from
One or several further features, entirety, step, operation, element, assembly and/or its set existence or
Add.It is also understood that the term used in this description of the invention is merely for the sake of describing specific reality
Execute the purpose of example and be not intended to limit the present invention.Such as institute in description of the invention and appended claims
As use, unless context clearly indicates other situation, otherwise " one " of singulative, " one
Individual " and " being somebody's turn to do " be intended to include plural form.
Refer to Fig. 1, be the schematic flow diagram of a kind of verification code generation method that embodiment of the present invention provides,
But identifying code includes being not intended to image authentication code, short message verification code, video verification code, speech identifying code etc.,
Wherein image authentication code can effectively prevent the identification of optical character recognition (ORC) software, and therefore image is tested
Card code is most widely used, and embodiment of the present invention will illustrate as a example by image authentication code.As it can be seen,
This verification code generation method includes step:
Step S101, obtains the identity information of user, and identity information includes identifying characteristic.
Concrete, identity information is for representing one group of data of user identity and feature, and it includes for representing
The identification characteristic of user identity feature.In present embodiment, identity information includes but not limited to user's
ID (identity number) card No., telephone number, age, current location, sex and associated person information.Wherein, identify
Characteristic includes but not limited to the native place in identity information, conventional position, age, current location, sex
And contact person commonly uses the data such as position.If it should be noted that the subscriber identity information obtained is identity card
Number, corresponding identification characteristic is native place and age;If the subscriber identity information obtained is phone number
Code, corresponding identification characteristic is conventional position, because can confirm that user is at which by telephone number
Place was treated;If the subscriber identity information obtained is the age, corresponding identification characteristic is exactly the age, root
Divide several age levels according to older I, such as user is divided into child, adolescence, youngster,
Middle age and old people;If the subscriber identity information obtained is current location, corresponding identification characteristic
Also it is current location;If the subscriber identity information obtained is associated person information, and this associated person information is contact
During people's number, then corresponding identification characteristic is that contact person commonly uses position.
It should be noted that this step can obtain user's from the information that user fills in when register account number
Identity information, it is also possible to captured current location or the connection of user by the application software on customer mobile terminal
It is people's information.Such as, the positioning software on mobile terminal is utilized to capture the current location of user or arrange fair
The address list being permitted to access on mobile terminal obtains associated person information.
Should be appreciated that identity information includes that at least one identifies characteristic, if the user such as obtained
Identity information is ID (identity number) card No., and this identity information includes native place and age two class identification characteristic.
If it is also understood that, this step can obtain Ganlei's identity information, such as, filled out when register account number by user
If the acquisition of information write Ganlei's identity informations such as telephone number, sex, age, if the most also having got
Ganlei identifies characteristic.
Step S102, according to the identification characteristic in default rule of classification and identity information, determines use
Place, family is grouped.
The rule of classification preset is according to identifying that user is divided into several groups by characteristic.Some embodiments
In, the rule of classification preset can be: according to identifying that user is carried out one-level packet, i.e. basis by characteristic
Identify that user is divided into some groups by characteristic.If such as identifying, characteristic is native place, divides user
It is each area in the group of native place and user being divided into native place;If identifying, characteristic, will for conventional position
It is each area that user is divided in conventional set of locations and user is divided into conventional position;If identifying and being characterized as
At the age, user is divided in age group and user is divided into all ages and classes stage, such as old man, middle age
People, youngster, adolescence, child;If identifying, characteristic is current location, user is divided into currently
In set of locations and user can be divided into current location be each area;If identifying, characteristic is sex, will
User is divided in gender group and user is divided into masculinity and femininity;If identifying, characteristic is that contact person is normal
With position, user is divided into contact person and commonly uses in set of locations and user is divided into contact person commonly uses position and be
Each area.In other embodiments, preset rule of classification can also according to identify characteristic to
Family carries out multi-step grouping, and often group can corresponding multiclass identification characteristic.Such as, if identifying, characteristic is
Native place and age, then the group being divided into native place to be each place and under the group of native place correspondence be divided into difference
The group of age bracket, if native place is Guangdong, the age is the user of 60 years old, then be divided old people one group, and
It is further subdivided into Cantonese one group in old man's year group.
Should be appreciated that after get identification characteristic according to the identity information of user, can be according to default
Rule of classification determines that user place is grouped.
It should be noted that owing to obtaining at least one class identification characteristic, it is thus determined that user place is divided
During group, if rule of classification is according to identifying that user is carried out one-level packet by characteristic, can will identify characteristic number
Determine that user place is grouped according to middle any type identification characteristic according to default rule of classification;Can also lead to
Cross default rule and the class identification characteristic identified in characteristic is determined use according to default rule of classification
Place, family is grouped, and this process is as follows:
If judging that the subscriber identity information obtained comprises a class identification characteristic or Ganlei identifying characteristic number
According to;
If comprising a class identification characteristic, then according to the rule of classification preset and this class identification comprised
Characteristic determines that user place is grouped;If if comprising Ganlei to identify characteristic, special according to default identification
If the Ganlei comprised is identified the identification characteristic that characteristic medium priority is the highest by the priority levying data
Determine that user place is grouped according to default rule of classification.
Also, it should be noted owing to obtaining at least one class identification characteristic, it is thus determined that user place
During packet, if rule of classification is according to identifying that characteristic carries out multi-step grouping to user, the following institute of this process
Show:
If judging that identity information comprises a class identification characteristic or Ganlei identifying characteristic;
If comprising a class identification characteristic, then according to the rule of classification preset and such identification characteristic
Determine that user place is grouped;If if comprising Ganlei to identify characteristic, according to default identification characteristic
Priority orders carries out multi-step grouping to determine that user place is grouped to the user corresponding to this identity information.Tool
Body, the number of levels of packet is identical with the classification number of the identification characteristic that this identity information comprises, it is also possible to
Different.Such as, if the identification characteristic obtained is Guangdong, native place, age 35 and sex man, and if knowing
The priority of other characteristic is the most once age, sex and native place, then can user be defined as
Cantonese's group in male's group of middle age group, i.e. corresponding three identify that characteristic has carried out three to user
Level packet;Age and sex two class identification feature can also be selected according to the priority orders identifying characteristic
Data, male user being defined as in middle age group one group, i.e. corresponding two identify that characteristic is to user
Carry out secondary data packets.
Also, it should be noted present embodiment preferably identifies age priority in the priority of characteristic
It is the highest, next to that conventional position, sex, current location, native place and contact person commonly use position;Other
In embodiment, identify that the priority level of characteristic may be set to other order, such as can be according to difference
The recognition success rate survey result of identifying code of the user of group and revise.
Step S103, is grouped according to user place, generates the identifying code corresponding with user.Should be appreciated that
Present embodiment the most often organizes user's at least one identifying code corresponding, from the identifying code that the packet of user place is corresponding
The some or all of identifying code of middle output is to user;If it is also understood that in other embodiments and can prestoring
Dry picture, assembles further according to user place group and generates corresponding identifying code to user.
Concrete, if pre-setting the identifying code that often group user is corresponding, when step S102 determines user institute
After grouping, according to user place packet from corresponding identifying code storehouse the identifying code of output matching to user.
Such as, during the identifying code that the user of each age group of setting is corresponding, it is contemplated that old people's things to nascent state
Not being very familiar with, the image authentication code of old people's group can be the more familiar star image of old people, film figure
Picture, shokku image etc. or common image, such as common animals and frequently seen plants;Youngster group
Image authentication code can be the image of the things of some nascent states.The identifying code that each gender group user is corresponding is set
Time, for women group, cosmetics, bag bag LOGO image etc. can be set;For male's group, Ke Yishe
Put electronic product, automobile LOGO image etc..Should be appreciated that identifying code is not limited to image authentication code, note
The modes such as identifying code, video verification code, speech identifying code, often group identifying code corresponding to user be not restricted to into
The identifying code of one class mode.
It should be noted that one group of user's at least one identifying code corresponding.If it is determined that user institute is after grouping,
An identifying code may be mated for user and export to user, it is also possible to mate several identifying codes and export to user.
If the quantity of the identifying code prestored that one group of user is corresponding is not above predetermined number, export corresponding all
Identifying code is to user;If the quantity of the identifying code prestored that one group of user is corresponding has exceeded predetermined number, this reality
Execute mode preferably according to the priority Sequential output part identifying code from high to low of the identifying code preset to user,
Wherein predetermined number can be one can also be several.It is as follows that this implements process:
Judge whether the quantity of the identifying code that prestore corresponding with user place group prestored has exceeded predetermined number;
If having exceeded predetermined number, the priority orders according to default identifying code is corresponding from user place group
Identifying code exports part identifying code to user;If not less than predetermined number, export corresponding with user place group
All identifying codes to user.
In other embodiments, if the quantity of identifying code corresponding to one group of user has exceeded predetermined number, at random
Therefrom output part identifying code is to user.Wherein, identifying code includes, for characteristic feature, often organizing use
The priority of the identifying code that family is corresponding is according to often organizing identification characteristic corresponding to user and the feature of identifying code
And arrange.Should be appreciated that the identification spy that the feature of the often identifying code that group user is corresponding is corresponding with this group user
Levy data the most corresponding.
Concrete, but the feature of identifying code includes the time that is not restricted to, popularity, popularity rate etc., such as,
If identifying, characteristic is women, includes cosmetics, bag bag LOGO in the identifying code of corresponding women one group
Image, then the popularity height according to cosmetics and Bao Bao brand arranges the priority of identifying code, and popularity is high
Priority high;If identifying, characteristic is old man, includes old man institute in the identifying code of corresponding old man one group
At star image, film image and common animals and the frequently seen plants in age, then according to star image,
The popularity rate height of the time of film image, popularity height and animal and plant arranges the preferential of identifying code
The priority of the identifying code that level, star and the well-known popularity rate high, animal and plant of film are high is high;For
Electronic product then emerges according to product the priority of set of time identifying code, the identifying code that the time that emerges is the shortest
Priority is high.
If if during also, it should be noted identification characteristic corresponding to one group of user is Ganlei, now this group
The priority of the identifying code that user is corresponding is also relevant to all identification characteristics comprised, such as, if one group
User is corresponding native place and age two class identification characteristic, with age and native place in the priority of identifying code
The priority of relevant identifying code is the highest, such as, know that user is old man one group from user identity card number, native place
Guangdong, if the image of Zhong You Guangdong, the identifying code storehouse star prestored, then the identifying code of this Guangdong star is preferential
Level is high.
Identification characteristic in the identity information of the user that above-mentioned verification code generation method passes through acquisition is to user
Being grouped, then produce the identifying code corresponding with user place group, produced identifying code is and user's phase
Close, be therefore easy to user and identify, the identification probability to identifying code can be improved, and then reduction user cannot know
The occurrence probability of other identifying code situation.
Refer to Fig. 2, a kind of terminal that the embodiment of the present invention provides, this terminal 10 include memory element 100,
Acquiring unit 200, grouped element 300 and output unit 400.
Memory element 100 is for storing the identity information of identifying code and/or user.Concrete, memory element 100
Store the information that user fills in and the image authentication code arranged according to user grouping when register account number.
Acquiring unit 200 is for obtaining the identity information of user, and identity information includes identifying characteristic.Tool
Body, identity information is and user-dependent customizing messages, and these customizing messages can differentiate it from other
Certain customers, the identification characteristic in identity information is exactly to distinguish the distinguishing characteristics of other users, therefore body
Part information is for identifying user identity.In present embodiment, but identity information includes being not restricted to use
The ID (identity number) card No. at family, telephone number, age, current location, sex and associated person information, identify spy
But levy data to include being not restricted to native place, conventional position, age, current location, sex and contact person
Conventional position.
Grouped element 300 is for according to the identification characteristic pair in default rule of classification and identity information
Determine that described user place is grouped.If the rule of classification preset is according to identifying that user is divided into by characteristic
Dry group is concrete, according to identifying that user is carried out one-level packet by characteristic, i.e. according to identifying characteristic number
According to user being divided into some groups or according to identifying that characteristic carries out multi-step grouping to user, often organize permissible
Corresponding multiclass identification characteristic.
Output unit 400, for being grouped according to user place, generates identifying code corresponding with described user.Should
Working as understanding, present embodiment the most often organizes user's at least one identifying code corresponding, then corresponding from user place group
Identifying code in export some or all of identifying code to user;It is also understood that other embodiments can be pre-
There are some pictures, assemble further according to user place group and generate corresponding identifying code to user.Concrete,
If pre-setting the identifying code that often group user is corresponding, when grouped element 300 determines user institute after grouping,
According to user place group from corresponding identifying code storehouse the identifying code of output matching to user.
Refer to Fig. 3, if rule of classification is according to identifying that user is carried out one-level by characteristic in a kind of embodiment
Packet, i.e. according to identifying that user is divided into some groups by characteristic.Grouped element 300 includes the first judgement
Unit 301 and the first processing unit 302.
If the first judging unit 301 is used for judging to comprise a class identification characteristic or Ganlei in identity information
Identify characteristic.
If the first processing unit 302 is judged in the subscriber identity information obtained for the first judging unit 301
Comprise a class identification characteristic, according to default rule of classification and this class identification characteristic comprised
Determine that user place is grouped;And if being additionally operable to the user identity letter that the first judging unit 301 is judged to obtain
If breath comprising Ganlei identify characteristic, will be comprised according to the priority of default identification characteristic
If Ganlei identify identification characteristic that characteristic medium priority is the highest according to default rule of classification to determine use
Place, family is grouped.
Refer to Fig. 4, if identifying according to rule of classification in another embodiment, user is carried out multistage by characteristic
Packet, often group can corresponding multiclass identification characteristic.Grouped element 300 include the second judging unit 303,
And second processing unit 304.
If the second judging unit 303 is used for judging to comprise a class identification characteristic or Ganlei in identity information
Identify characteristic.
If for the second judging unit 303, the second processing unit 304 judges that identity information refers to that comprising a class knows
During other characteristic, determine use according to default rule of classification and this class identification characteristic comprised
Place, family is grouped;If if the second judging unit 303 judges that comprising Ganlei in identity information identifies characteristic,
Priority orders according to default identification characteristic carries out many fraction to the user corresponding to this identity information
Group determines that user place is grouped.
Further, if other embodiments being judged the subscriber identity information obtained comprises several identification
After characteristic, grouped element 300 by the class identification characteristic that identifies in characteristic according to default
Rule of classification determines that user place is grouped.
Refer to Fig. 5, in present embodiment, output unit 400 includes at the 3rd judging unit 401 and the 3rd
Reason unit 402.
Whether 3rd judging unit 401 for judging the quantity of the identifying code prestored corresponding with user place group
Exceeded predetermined number, predetermined number 1 or several.
If the 3rd processing unit 402 is judged corresponding with the packet of user place for the 3rd judging unit 401
The quantity of the identifying code prestored not less than predetermined number, output is grouped corresponding all test with user place
Card code is to user;And if be additionally operable to the 3rd judging unit 401 judge with user place packet corresponding
The quantity of the identifying code prestored has exceeded predetermined number, according to the priority of default identifying code from high to low
Sequential output part identifying code is to user.
In other embodiments, if the 3rd judging unit 401 is judged to be grouped corresponding prestoring with user place
The quantity of identifying code exceeded predetermined number, the 3rd random the most therefrom output part identifying code of processing unit 402
To user.
It should be noted that often the group corresponding identifying code of user priority according to identify characteristic and
The feature of identifying code and arrange.But the feature of identifying code includes the time that is not restricted to, popularity, popularizes
Rate etc., such as, if identifying, characteristic is women, the identifying code of corresponding women group includes cosmetics,
Bag bag LOGO image, can arrange the priority of identifying code according to the popularity height of cosmetics and Bao Bao brand,
The priority that popularity is high is high.
If if during also, it should be noted identification characteristic corresponding to one group of user is Ganlei, now this group
The priority of the identifying code that user is corresponding is also relevant to all identification characteristics comprised, such as, if one group
User is corresponding native place and age two class identification characteristic, the identifying code relevant to age and native place excellent
First level is the highest, such as, know that user is old man one group from user identity card number, and Guangdong, native place, if prestore tests
The image of card Zhong You Guangdong, code storehouse star, then the priority of the identifying code of this Guangdong star is high.
See Fig. 6, be the schematic block diagram of the another kind of terminal that embodiment of the present invention provides.The most originally
Terminal 1 in embodiment can include one or several processors 201, or several input dresses
Put 202, one or several output devices 203 and memorizer 204.Above-mentioned processor 201, input
Device 202, output device 203 and memorizer 204 are connected by bus.
The information of operation input when input equipment 202 is for receiving user's register account number.In implementing, this
The input equipment 202 of inventive embodiments can include keyboard, mouse, light device of electrical input, acoustic input device,
Touch input equipment, scanner etc..
Output device 203 is for externally exporting identifying code to user.In implementing, the embodiment of the present invention
Output device 203 can include display, speaker, printer etc..
Memorizer 204 with the routine data of various functions and stores user when register account number for storage
The information filled in and the identifying code preset according to user grouping, in implementing, depositing of the embodiment of the present invention
Reservoir 204 can be system storage, such as, volatile (such as RAM), non-volatile (all
Such as ROM, flash memory etc.), or both combinations.In implementing, the memorizer 204 of the embodiment of the present invention
Can also is that the external memory storage outside system, such as, disk, CD, tape etc..
Processor 201 i.e. performs memorizer 204 store for calling the routine data of storage in memorizer 204
Instruction, and perform following operation:
Obtaining the identity information of user, this identity information includes identifying characteristic, and divides according to default
Identification characteristic in group rule and identity information, determines that user place is grouped, and often group user's correspondence is extremely
A few identifying code;And be grouped according to user place, generate identifying code corresponding with user.
Concrete, identity information is and user-dependent customizing messages, and these customizing messages can make it distinguish
In other certain customers, the identification characteristic in identity information is exactly to distinguish the distinguishing characteristics of other users,
Therefore identity information is for identifying user identity.In present embodiment, but identity information includes not limiting
It is formed on the ID (identity number) card No. of user, telephone number, age, current location, sex and associated person information,
But identify characteristic include being not restricted to native place, conventional position, the age, current location, sex and
Contact person commonly uses position.
The rule of classification preset is according to identifying that user is divided into several groups by characteristic, concrete, in advance
If rule of classification can according to identify that user is carried out one-level packet by characteristic, i.e. according to identifying feature
User is divided into some groups by data;Identify according to the rule of classification preset is all right that characteristic is to user
Carrying out multi-step grouping, often group can corresponding multiclass identification characteristic.Processor 201 user to be determined place
After packet, from corresponding identifying code storehouse, export the identifying code matched to user according to user place group.
If according to identifying that user is carried out one-level packet by characteristic, processor 201 performs such as at grouping process
Lower operation:
If judging that identity information comprises a class identification characteristic or Ganlei identifying characteristic;If obtaining
Subscriber identity information in comprise a class identification characteristic, according to default rule of classification and this comprise
One class identification characteristic determines that user place is grouped;If knowing if the subscriber identity information obtained comprises Ganlei
Other characteristic, if identifying characteristic number according to the priority of default identification characteristic by the Ganlei comprised
According to default rule of classification, the identification characteristic the highest according to medium priority determines that user place is grouped.Other
In embodiment, if the subscriber identity information obtained comprises a class identification characteristic, divide according to default
Group rule and this class identification characteristic comprised determine that user place is grouped;If the user identity obtained
If information comprising Ganlei identify characteristic, then will identify any type identification characteristic in characteristic
Determine that user place is grouped according to default rule of classification.
If rule of classification is that processor 201 is in packet according to identifying that characteristic carries out multi-step grouping to user
Process performs to operate as follows:
If judging that identity information comprises a class identification characteristic or Ganlei identifying characteristic;If comprising
One class identification characteristic, then determine user according to the rule of classification preset and such identification characteristic
Place is grouped;If if comprising Ganlei to identify characteristic, root is according to the priority of the identification characteristic preset
Order carries out multi-step grouping to determine that user place is grouped to the user corresponding to this identity information.Concrete,
The number of levels of packet is identical with the classification number of the identification characteristic that this identity information comprises, it is also possible to different.
The identifying code that processor 201 matches with user place group according to output from the identifying code prestored is to use
The process at family specifically includes execution and operates as follows:
Judge whether the quantity of the identifying code that prestore corresponding with user place group has exceeded predetermined number, preset
Quantity 1 or several;If the quantity of the identifying code that prestore corresponding with user place group not less than
Predetermined number, output is grouped corresponding all identifying codes to user with user place;If with user place
The quantity being grouped the corresponding identifying code prestored has exceeded predetermined number, preferential according to default identifying code
Level exports part identifying code to user in descending order from the identifying code that the packet of user place is corresponding.Its
In his embodiment, if the quantity of the identifying code that prestore corresponding with the packet of user place is not less than presetting
Quantity, processor 201 can also export all identifying codes corresponding with the packet of user place to user;If
The quantity of the identifying code that prestore corresponding with the packet of user place has exceeded predetermined number, then the most defeated
Go out part identifying code to user.Wherein, identifying code includes for characteristic feature, and often group user is corresponding
The priority of identifying code arrange according to often group identification characteristic corresponding to user and the feature of identifying code
's.
Should be appreciated that in embodiments of the present invention, alleged processor 201 can be central first processing unit
(Central Processing Unit, CPU), this processor 201 can also is that other general processors, numeral
Signal processor (Digital Signal Processor, DSP), special IC (Application Specific
Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array,
Or other PLDs, discrete gate or transistor logic, discrete hardware components FPGA)
Deng.The processor etc. that general processor can be microprocessor or this processor can also be any routine.
Adjust it should be noted that the step in embodiment of the present invention method can carry out order according to actual needs
Whole, merge and delete.
Unit in embodiment of the present invention terminal can merge according to actual needs, divides and delete.
Those skilled in the art is it can be understood that arrive, and for convenience of description and succinctly, above-mentioned retouches
The terminal stated and the specific works process of unit, be referred to the corresponding process in preceding method embodiment,
This repeats no more.In several embodiments provided herein, it should be understood that disclosed terminal and
Method, can realize by another way.Such as, device embodiment described above is only signal
Property, such as, the division of described unit, being only a kind of logic function divides, and actual can have when realizing
Other dividing mode, such as several unit or assembly can in conjunction with or be desirably integrated into another system,
Or some features can ignore, or do not perform.It addition, shown or discussed coupling each other or straight
Connect coupling or communication connection can be the INDIRECT COUPLING by some interfaces, device or unit or communication connection,
Can also be electric, machinery or other form connect.
It addition, each functional unit in each embodiment of the present invention can be integrated in first processing unit
In, it is also possible to it is that unit is individually physically present, it is also possible to be that two or more unit are integrated in one
In individual unit.Above-mentioned integrated unit both can realize to use the form of hardware, it would however also be possible to employ software function
The form of unit realizes.If described integrated unit realizes and as independent using the form of SFU software functional unit
Production marketing or use time, can be stored in a computer read/write memory medium.Based on such
Understand, the part that prior art is contributed by technical scheme the most in other words, or this skill
Completely or partially can embodying with the form of software product of art scheme, this computer software product stores
In a storage medium, including some instructions with so that a computer equipment (can be individual calculus
Machine, server, or the network equipment etc.) perform all or part of of method described in each embodiment of the present invention
Step.And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc.
The various media that can store program code.
The above, for the detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto,
Any those familiar with the art, in the technical scope that the invention discloses, can readily occur in various
The amendment of equivalence or replacement, these amendments or replacement all should be contained within protection scope of the present invention.Therefore,
Protection scope of the present invention should be as the criterion with scope of the claims.
Claims (10)
1. a verification code generation method, it is characterised in that including:
Obtaining the identity information of user, described identity information includes identifying characteristic;
According to the identification characteristic in default rule of classification and described identity information, determine described user
Place is grouped;
It is grouped according to user place, generates identifying code corresponding with described user.
Verification code generation method the most according to claim 1, it is characterised in that described according to default rule of classification
And the identification characteristic in described identity information, determine that described user place is grouped, including:
If judging that described identity information comprises a class identification characteristic or Ganlei identifying characteristic;
If if comprising Ganlei to identify characteristic, if according to the priority of default identification characteristic by described
Ganlei identifies that the identification characteristic that characteristic medium priority is the highest determines described use according to default rule of classification
Place, family is grouped, and identifies that user is divided into several groups by characteristic according to described rule of classification.
Verification code generation method the most according to claim 1, it is characterised in that described according to default packet rule
Identification characteristic then and in described identity information, determines that described user place is grouped, including:
If judging that described identity information comprises a class identification characteristic or Ganlei identifying characteristic;
If if comprising Ganlei to identify characteristic, according to the priority orders of default identification characteristic to institute
State the user corresponding to identity information and carry out multi-step grouping to determine that described user place is grouped.
Verification code generation method the most according to claim 1, it is characterised in that often group user's correspondence is at least
One identifying code prestored, is grouped according to user place, generates identifying code corresponding with described user, including:
Judge whether the quantity of the identifying code that prestore corresponding with described user place group has exceeded predetermined number;
If having exceeded predetermined number, the priority orders according to default identifying code is relative from the packet of user place
The identifying code answered exports part identifying code to described user.
Verification code generation method the most according to claim 4, it is characterised in that the identifying code that often group user is corresponding
Priority be configured according to the feature of often group identification characteristic corresponding to user and described identifying code.
6. a terminal, it is characterised in that described terminal includes:
Acquiring unit, for obtaining the identity information of user;
Grouped element, is used for according to the identification characteristic in default rule of classification and described identity information,
Determine that described user place is grouped;
Output unit, for being grouped according to user place, generates identifying code corresponding with described user.
Terminal the most according to claim 6, it is characterised in that described grouped element includes:
First judging unit, is used for judging comprising in described identity information a class identification characteristic or some
Class identification characteristic;
First processing unit, if judging to comprise in described identity information some for described first judging unit
Class identification characteristic, if identifying characteristic number according to the priority of default identification characteristic by described Ganlei
According to default rule of classification, the identification characteristic the highest according to medium priority determines that described user place is grouped, institute
Identify that user is divided into several groups by characteristic according to stating rule of classification.
Terminal the most according to claim 6, it is characterised in that described grouped element includes:
Second judging unit, is used for judging comprising in described identity information a class identification characteristic or some
Class identification characteristic;
For the second judging unit, second processing unit, if if judging that comprising Ganlei in described identity information knows
Other characteristic, according to default identification characteristic priority orders to the use corresponding to described identity information
Family carries out multi-step grouping to determine that described user place is grouped.
Terminal the most according to claim 6, it is characterised in that often group user at least one checking prestored corresponding
Code, described output unit includes:
3rd judging unit, for judging the number of the identifying code that prestore corresponding with the packet of described user place
Whether amount has exceeded predetermined number;
3rd processing unit, if judging relative with the packet of described user place for described 3rd judging unit
The quantity of the identifying code prestored answered has exceeded predetermined number, according to the priority orders of default identifying code from
The identifying code that the packet of user place is corresponding exports part identifying code to described user.
Terminal the most according to claim 9, it is characterised in that the often priority of the identifying code that group user is corresponding
Feature according to often organizing identification characteristic corresponding to user and described identifying code is configured.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610230692.8A CN105930713A (en) | 2016-04-14 | 2016-04-14 | Method and terminal for generating identifying codes |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610230692.8A CN105930713A (en) | 2016-04-14 | 2016-04-14 | Method and terminal for generating identifying codes |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105930713A true CN105930713A (en) | 2016-09-07 |
Family
ID=56838149
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610230692.8A Pending CN105930713A (en) | 2016-04-14 | 2016-04-14 | Method and terminal for generating identifying codes |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105930713A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111224785A (en) * | 2019-12-19 | 2020-06-02 | 秒针信息技术有限公司 | Binding method and device of voice equipment, storage medium and electronic device |
WO2020107834A1 (en) * | 2018-11-28 | 2020-06-04 | 平安科技(深圳)有限公司 | Verification content generation method for lip-language recognition, and related apparatus |
CN112364318A (en) * | 2020-11-24 | 2021-02-12 | 北京海联捷讯科技股份有限公司 | Operation and maintenance big data security management method, system, terminal and storage medium |
CN112989861A (en) * | 2021-02-08 | 2021-06-18 | 北京声智科技有限公司 | Sample identification code reading method and device, electronic equipment and storage medium |
CN117851997A (en) * | 2023-11-27 | 2024-04-09 | 北京青矩互联科技有限公司 | Identity verification method, device, electronic equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103095670A (en) * | 2012-02-06 | 2013-05-08 | 青岛印象派信息技术有限公司 | Method and system for achieving advertisement verification code |
US20130268775A1 (en) * | 2012-04-10 | 2013-10-10 | Good Technology Corporation | Method and device for generating a code |
CN103475483A (en) * | 2013-09-10 | 2013-12-25 | 北京思特奇信息技术股份有限公司 | Method and system for verification code service based on cloud service |
CN103488922A (en) * | 2013-08-27 | 2014-01-01 | 百度在线网络技术(北京)有限公司 | Method and equipment for providing verification code |
CN104025106A (en) * | 2012-01-06 | 2014-09-03 | 卡皮公司 | Captcha provision method and program |
CN104867034A (en) * | 2015-05-20 | 2015-08-26 | 深圳市梦网科技股份有限公司 | Identifying code verifying method and system |
CN105046141A (en) * | 2015-06-12 | 2015-11-11 | 北京京东尚科信息技术有限公司 | Self-daptive verification code design method and system |
-
2016
- 2016-04-14 CN CN201610230692.8A patent/CN105930713A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104025106A (en) * | 2012-01-06 | 2014-09-03 | 卡皮公司 | Captcha provision method and program |
CN103095670A (en) * | 2012-02-06 | 2013-05-08 | 青岛印象派信息技术有限公司 | Method and system for achieving advertisement verification code |
US20130268775A1 (en) * | 2012-04-10 | 2013-10-10 | Good Technology Corporation | Method and device for generating a code |
CN103488922A (en) * | 2013-08-27 | 2014-01-01 | 百度在线网络技术(北京)有限公司 | Method and equipment for providing verification code |
CN103475483A (en) * | 2013-09-10 | 2013-12-25 | 北京思特奇信息技术股份有限公司 | Method and system for verification code service based on cloud service |
CN104867034A (en) * | 2015-05-20 | 2015-08-26 | 深圳市梦网科技股份有限公司 | Identifying code verifying method and system |
CN105046141A (en) * | 2015-06-12 | 2015-11-11 | 北京京东尚科信息技术有限公司 | Self-daptive verification code design method and system |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020107834A1 (en) * | 2018-11-28 | 2020-06-04 | 平安科技(深圳)有限公司 | Verification content generation method for lip-language recognition, and related apparatus |
CN111224785A (en) * | 2019-12-19 | 2020-06-02 | 秒针信息技术有限公司 | Binding method and device of voice equipment, storage medium and electronic device |
CN112364318A (en) * | 2020-11-24 | 2021-02-12 | 北京海联捷讯科技股份有限公司 | Operation and maintenance big data security management method, system, terminal and storage medium |
CN112989861A (en) * | 2021-02-08 | 2021-06-18 | 北京声智科技有限公司 | Sample identification code reading method and device, electronic equipment and storage medium |
CN117851997A (en) * | 2023-11-27 | 2024-04-09 | 北京青矩互联科技有限公司 | Identity verification method, device, electronic equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107424069B (en) | Wind control feature generation method, risk monitoring method and equipment | |
CN105930713A (en) | Method and terminal for generating identifying codes | |
TWI715999B (en) | Identification method and device of identity information | |
US10742582B2 (en) | Launching a client application based on a message | |
CN113657886B (en) | Payment system, method, server device, medium and device | |
CN109597822A (en) | A kind of storage of user data and querying method and user data processing unit | |
CN111179061B (en) | Resource transfer processing method, device and equipment | |
WO2016101811A1 (en) | Information arrangement method and apparatus | |
CN108694574B (en) | Resource transfer channel processing method, device and equipment | |
CN105357204A (en) | Method and apparatus for generating terminal identifying information | |
CN113435862B (en) | Bill processing method and device based on mailbox | |
CN111784356A (en) | Payment verification method, device, equipment and storage medium | |
CN111523875A (en) | Cross-border payment method, device, equipment and system | |
CN105468947A (en) | Information processing method and device and electronic equipment | |
CN104573132B (en) | Song lookup method and device | |
CN106485520A (en) | Across channel communicating control method and server | |
CN106599637A (en) | Method and device for inputting verification code into verification interface | |
CN115330498B (en) | Data processing method and related device in man-machine interactive shopping service system | |
CN108667647B (en) | Method and device for setting device parameters and server | |
CN107483534B (en) | Service processing method and device | |
CN111801696A (en) | Payment page management method, payment page management device, payment system and storage medium | |
CN112788017B (en) | Security verification method, device, equipment and medium | |
CN114138813A (en) | Attribute configuration method and related device | |
CN112650763A (en) | Configuration method of product quota, related equipment and storage medium | |
CN109523377B (en) | Transaction method, device, equipment and storage medium of digital currency |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160907 |
|
WD01 | Invention patent application deemed withdrawn after publication |