Embodiment
In order to make the purpose , technical scheme and advantage of the present invention be clearer, it is right below in conjunction with drawings and ExamplesThe present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, andIt is not used in the restriction present invention.
As shown in figure 1, the method for checking user's loCal number of one embodiment of the invention, can service system by unified account numberSystem is performed, and is comprised the following steps:
S101:User's request is received, wherein, subscriber identity information and network identity are carried in the request;
In one embodiment, above-mentioned steps can be realized by unified account number service system.Unified account number service system is oneThe system that kind can numerous Internet services be provided for users, wherein, unified account number be provide a user the Internet, applications withAnd the account of serial value-added service.Unified account number service system includes unified account number gateway authentication system.In checking user's sheetDuring machine number, user's request is sent via data gateway system, and unified account number service system can first receive user pleaseAsk, data gateway system can add network identity in the request, the effect of addition network identity can be used for identification data netSubscriber identity information can also be put into user's request by the source of pass, operator by data gateway system.In user's requestSecurity by data gateway system to unified account number service system is secure, otherwise, and illegal gateway is also possible to insertEnter network identity.Wherein, data gateway system can be carrier data gateway system, can carry the phase of carrier data gatewayClose network identity.Unified account number gateway authentication system is used to ask by user, is additionally operable to carry out the subscriber identity informationParsing, obtains user identity code, is additionally operable to judge the source of network identity.
S102:The subscriber identity information is parsed, user identity code is obtained;
Specifically, the subscriber identity information that can be inserted to operator in user's request is parsed, and obtains user identityCode, wherein user identity code are probably the phone number of user, if but service system by data gateway system to unified account numberThe security of system is destroyed, during illegal gateway asks invalid information insertion user, at this moment, unified account number gateway authentication systemIt may not be subscriber phone number to parse obtained user identity code.
S103:If the user identity code is phone number, and the network identity is derived from when specifying data gateway, willUser identity code is used as user's loCal number.
For example, network identity can be the gateway source that user sends request, can be originated by judging gatewayLegitimacy judges the legitimacy of phone number.When specified network identity, which is derived from, specifies data gateway, phone number is judgedTo be legal, user identity code can be regard as user's loCal number;When specified network identity source is not necessarily referring to determine data gatewayWhen, judge phone number to be illegal, it is impossible to regard user identity code as user's loCal number.Wherein, specified network identity canThink net association (IP, Internet Protocol) address of data network, by judge in user's request the IP address that carries comeJudge whether from specified data gateway.As long as and user accesses unified account number service system arbitrarily using data networkLocation, unified account number service system can get subscriber phone number, it is not necessary to specific address.
Above-described embodiment, the legitimacy for the validity judgement phone number that network identity originates is specified by checking, can be withIt is directly obtained the phone number of user, it is not necessary to obtain the information such as CUSTOMER ID, it is not necessary to specific address, it is not required thatMultiple character strings are inputted, operating efficiency is high.
As shown in Fig. 2 the similar step of the method for checking user's loCal number including embodiment corresponding with Fig. 1:S201, S202, S204.It is further comprising the steps of after user identity code is obtained:S203:By obtained user identity codeEach part of each part and phone number is compared, and judges whether the user identity code is cell-phone numberCode.
In above-described embodiment, if it is determined that user identity code is phone number, then further it can be sentenced according to specified network identityThe legitimacy of disconnected request, you can with the legitimacy for the validity judgement request further originated according to gateway, request here canTo be logged on the request of request or other modes, the method logged in traditional user is different, and traditional user logs inMethod be mainly user name and encryption after password be stored in database, user need checking when, the password that user is inputtedEncryption, is compared, if unanimously, then it is assumed that the mobile terminal device of user uses current hand with the Crypted password in databaseMachine number.This method needs to remember the different passwords of different accounts, and memory difficulty is big and easily reveals.
Whether above-described embodiment, be phone number by the user identity code for judging to get and specified network identity beIt is no it is legal come verify user identity code whether be user's loCal number, it is possible to be directly obtained the phone number of user, be not required toObtain the information such as CUSTOMER ID, it is not required that the multiple character strings of input, operating efficiency is high, and need not remember different accountsDifferent passwords, security is also higher.
As shown in figure 3, the method for checking user's loCal number of one embodiment of the present of invention can also include following stepSuddenly:When user identity code is not phone number, and/or network identity source is when being not necessarily referring to determine data gateway, judges describedUser identity code and non-user loCal number.When user identity code is phone number and specifies network identity to derive from specified dataDuring gateway, phone number is judged to be legal, and returns to Subscriber Number to unified account number service system;When user identity code is notPhone number and network identity source is specified when being not necessarily referring to determine data gateway, judges that phone number, to be illegal, refused user and askedAsk.
In above-described embodiment, if it is determined that subscriber phone number is then returned to unified account number service system by phone number for legalSystem, unified account number service system can get subscriber phone number, it is not necessary to specific address.Know also without user is obtainedThe information such as other code IMSI (International Mobile Subscriber Identification Number), IMSI isThe mark of mobile subscriber is distinguished, subscriber identification card (SIM, Subscriber Identification Module) is stored inIn, the effective information available for difference mobile subscriber.
Specifically, specified data gateway can be carrier data gateway.Verify user's loCal number method it is totalFlow can be realized by following steps:User sends use using carrier data network to unified account number service system is accessedFamily is asked, and operator inserts subscriber identity information in user's request header, and unified account number service system receives user's request, systemUnified account number gateway authentication system in one account service system is asked by user, gets the use that operator is put into requestFamily identity information, and user identity code is obtained after unified account number gateway authentication system analysis, if user identity code is cell-phone numberCode, then continue to verify whether user's request passes through carrier data gateway, if carrier data gateway is passed through in user's request,It is user's loCal number to think the number got;If user's request is not current by carrier data gateway, i.e. userThe network of online not carrier data network, then it is assumed that the number is invalid.User's request can pass through carrier data gateway,So the security of information of the carrier data gateway of safety to being carried in request is most important.Pass through the operation quotient of safetySend and ask according to gateway, and the legitimacy originated by gateway judges that the legitimacy of subscriber phone number can be directly obtainedThe phone number of user, it is not necessary to obtain the information such as CUSTOMER ID, it is not required that the multiple character strings of input, operating efficiency is high,And the different passwords of different accounts need not be remembered, security is also higher.
Such as Fig. 4, the system of checking user's loCal number of one embodiment of the invention, including:
Receiving module 11, for receiving user's request, wherein, subscriber identity information and specified net are carried in the requestNetwork is identified;
In one embodiment, above-mentioned steps can be realized by unified account number service system.Unified account number service system is oneThe system that kind can numerous Internet services be provided for users, wherein, unified account number be provide a user the Internet, applications withAnd the account of serial value-added service.Unified account number service system includes unified account number gateway authentication system.In checking user's sheetDuring machine number, unified account number service system can first receive user's request, and user's request is sent out via data gateway systemGo out, data gateway system can add network identity in the request, the effect of addition network identity can be used for identification data netSubscriber identity information can also be put into user's request by the source of pass, operator by data gateway system.In user's requestSecurity by data gateway system to unified account number service system is secure, otherwise, and illegal gateway is also possible to insertEnter network identity.The subscriber identity information can be the phone number information of user, and user's request can pass through carrier dataGateway, can carry the associated network logos of carrier data gateway.Unified account number gateway authentication system is used to ask by user,It is additionally operable to parse the subscriber identity information, obtains user identity code, be additionally operable to judge the source of network identity.
Parsing module 12, for being parsed to the subscriber identity information, obtains user identity code;
Specifically, the subscriber identity information that can be inserted to operator in user's request is parsed, and obtains user identityCode, wherein user identity code are probably the phone number of user, if but service system by data gateway system to unified account numberThe security of system is destroyed, during illegal gateway asks invalid information insertion user, at this moment, unified account number gateway authentication systemIt may not be subscriber phone number to parse obtained user identity code.
Judge module 13, if for judging that the user identity code is phone number, and the network identity is from fingerWhen determining data gateway, user identity code is regard as user's loCal number.;
For example, network identity can be the gateway source that user sends request, can be originated by judging gatewayLegitimacy judges the legitimacy of phone number.When specified network identity, which is derived from, specifies data gateway, phone number is judgedTo be legal, user identity code can be regard as user's loCal number;When specified network identity source is not necessarily referring to determine data gatewayWhen, judge phone number to be illegal, it is impossible to regard user identity code as user's loCal number.As long as user uses data networkThe arbitrary address of unified account number service system is accessed, unified account number service system can get subscriber phone number, it is not necessary toSpecific address.
Above-described embodiment, the legitimacy for the validity judgement phone number that network identity originates is specified by checking, can be withIt is directly obtained the phone number of user, it is not necessary to obtain the information such as CUSTOMER ID, it is not necessary to specific address, it is not required thatMultiple character strings are inputted, operating efficiency is high.
Fig. 5 for one embodiment of the invention checking user's loCal number system schematic, including it is corresponding with Fig. 4 implementationExample is similar:Receiving module 21, parsing module 22, judge module 24.Also include:Authentication module 23, for by obtained useEach part of family identity code and each part of phone number are compared, and whether judge the user identity codeFor phone number.
In above-described embodiment, if it is determined that user identity code is phone number, then further it can be sentenced according to specified network identityThe legitimacy of disconnected request, you can with the legitimacy for the validity judgement request further originated according to gateway, request here canTo be logged on the request of request or other modes, the method logged in traditional user is different, and traditional user logs inMethod be mainly user name and encryption after password be stored in database, user need checking when, the password that user is inputtedEncryption, is compared, if unanimously, then it is assumed that the mobile terminal device of user uses current hand with the Crypted password in databaseMachine number.This method needs to remember the different passwords of different accounts, and memory difficulty is big and easily reveals.
Whether above-described embodiment, be phone number by the user identity code for judging to get and specified network identity beIt is no it is legal come verify user identity code whether be user's loCal number, it is possible to be directly obtained the phone number of user, be not required toObtain the information such as CUSTOMER ID, it is not required that the multiple character strings of input, operating efficiency is high, and need not remember different accountsDifferent passwords, security is also higher.
Wherein, the judge module of one embodiment of the invention includes:Illegal unit, for not being when user identity codePhone number, and/or network identity are originated when being not necessarily referring to determine data gateway, judge the user identity code and non-user the machine numberCode.When user identity code is phone number and specifies network identity to derive from specified data gateway, judge phone number as conjunctionMethod, and return to Subscriber Number to unified account number service system;When user identity code is not phone number and specifies network identitySource is when being not necessarily referring to determine data gateway, judges that phone number, as illegally, refuses user's request.
In above-described embodiment, if it is determined that subscriber phone number is then returned to unified account number service system by phone number for legalSystem, unified account number service system can get subscriber phone number, it is not necessary to specific address.Know also without user is obtainedThe information such as other code IMSI (International Mobile Subscriber Identification Number), IMSI isThe mark of mobile subscriber is distinguished, subscriber identification card (SIM, Subscriber Identification Module) is stored inIn, the effective information available for difference mobile subscriber.
Optionally, in the system of checking user's loCal number of one specific embodiment of the present invention, data gateway is specifiedIt can be carrier data gateway.Verifying total flow of the method for user's loCal number can be realized by following steps:User is asked to accessing unified account number service system and send user using carrier data network, and operator is by subscriber identity informationInsert in user's request header, unified account number service system receives the unified account number in user's request, unified account number service systemGateway authentication system is asked by user, gets the subscriber identity information that operator is put into request, and through unified account number netClose and user identity code is obtained after Verification System parsing, if user identity code is phone number, continue whether to verify user's requestBy carrier data gateway, if carrier data gateway is passed through in user's request, then it is assumed that the number got is user's sheetMachine number;If the network that user's request is not surfed the Net currently by carrier data gateway, i.e. user not carrier dataNetwork, then it is assumed that the number is invalid.User's request can pass through carrier data gateway, so the carrier data gateway of safetyThe security of information to being carried in request is most important.Request is sent by the carrier data gateway of safety, and passes through netClose the legitimacy in source to judge that the legitimacy of subscriber phone number can be directly obtained the phone number of user, it is not necessary to obtainTake the information such as CUSTOMER ID, it is not required that the multiple character strings of input, operating efficiency is high, and need not remember different accounts notSame password, security is also higher.
In addition, as shown in fig. 6, the present invention also provide it is a kind of verify user's loCal number platform, including:Data network relationSystem and unified account number service system, wherein unified account number service system include unified account number gateway authentication system;The numberIt is used to, by subscriber identity information and network identity insertion user's request, be additionally operable to access unified account number service according to gateway systemSystem;Unified account number gateway authentication system in the unified account number service system is used to ask by user, is additionally operable to instituteState subscriber identity information to be parsed, obtain user identity code, be additionally operable to judge the source of network identity, and by user identity yardUnified account number gateway authentication system is returned to as user's loCal number.
Above-described embodiment is during user's loCal number is verified, user's request is sent via data gateway system.SystemOne account service system can first receive user's request, and data gateway system can add network identity in the request, add networkThe effect of mark can be used for the source of identification data gateway.Operator can also be by data gateway system by user identityInformation is put into user's request, and unified account number gateway authentication system is asked by user, and subscriber identity information is carried out to parseTo user identity code, legal user identity code is subscriber phone number, and judges the legitimacy in the source of network identity, if netNetwork mark from the carrier data gateway specified, then using obtained subscriber phone number as user loCal number.
Above-described embodiment specifies the legitimacy of the validity judgement phone number in network identity source, Ke Yizhi by checkingObtain the phone number for getting user, it is not necessary to obtain the information such as CUSTOMER ID, it is not necessary to specific address, it is not required that defeatedEnter multiple character strings, operating efficiency is high.
Further, the present invention also provides a kind of computer-readable recording medium, is stored thereon with computer program, the journeyThe method that checking user's loCal number of the application is realized when sequence is executed by processor.
Above-described embodiment embodiment corresponding with the method for present invention checking user's loCal number is similar, no longer goes to live in the household of one's in-laws on getting married hereinState.
Further, the present invention also provides a kind of computer equipment, including memory, processor and is stored in memoryComputer program that is upper and can running on a processor, realizes the checking user of the application during the computing device described programThe method of loCal number.
Above-described embodiment embodiment corresponding with the method for present invention checking user's loCal number is similar, no longer goes to live in the household of one's in-laws on getting married hereinState.
Represent in flow charts or logic and/or step described otherwise above herein, for example, being considered useIn the order list for the executable instruction for realizing logic function, it may be embodied in any computer-readable medium, forInstruction execution system, device or equipment (such as computer based system including the system of processor or other can be held from instructionThe system of row system, device or equipment instruction fetch and execute instruction) use, or combine these instruction execution systems, device or setIt is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or passDefeated program is for instruction execution system, device or equipment or the dress for combining these instruction execution systems, device or equipment and usingPut.
The more specifically example (non-exhaustive list) of computer-readable medium includes following:With one or more wiringsElectrical connection section (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read-only storage(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and portable optic disk is read-only depositsReservoir (CDROM).In addition, can even is that can be in the paper of printing described program thereon or other are suitable for computer-readable mediumMedium, because can then enter edlin, interpretation or if necessary with it for example by carrying out optical scanner to paper or other mediaHis suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each several part of the present invention can be realized with hardware, software, firmware or combinations thereof.Above-mentionedIn embodiment, the software that multiple steps or method can in memory and by suitable instruction execution system be performed with storageOr firmware is realized.If, and in another embodiment, can be with well known in the art for example, realized with hardwareAny one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signalDiscrete logic, the application specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), sceneProgrammable gate array (FPGA) etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically showThe description of example " or " some examples " etc. means to combine specific features, structure, material or the spy that the embodiment or example are describedPoint is contained at least one embodiment of the present invention or example.In this manual, to the schematic representation of above-mentioned term notNecessarily refer to identical embodiment or example.Moreover, specific features, structure, material or the feature of description can be anyOne or more embodiments or example in combine in an appropriate manner.
Each technical characteristic of embodiment described above can be combined arbitrarily, to make description succinct, not to above-mentioned realityApply all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not depositedIn contradiction, the scope of this specification record is all considered to be.
Embodiment described above only expresses the several embodiments of the present invention, and it describes more specific and detailed, but simultaneouslyCan not therefore it be construed as limiting the scope of the patent.It should be pointed out that coming for one of ordinary skill in the artSay, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to the protection of the present inventionScope.Therefore, the protection domain of patent of the present invention should be determined by the appended claims.