CN105306733B - Third party login based on cell phone application binds cell-phone number method - Google Patents

Third party login based on cell phone application binds cell-phone number method Download PDF

Info

Publication number
CN105306733B
CN105306733B CN201510780079.9A CN201510780079A CN105306733B CN 105306733 B CN105306733 B CN 105306733B CN 201510780079 A CN201510780079 A CN 201510780079A CN 105306733 B CN105306733 B CN 105306733B
Authority
CN
China
Prior art keywords
party
phone number
account
cell
client
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.)
Active
Application number
CN201510780079.9A
Other languages
Chinese (zh)
Other versions
CN105306733A (en
Inventor
李文华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Zhengpin Chuangxiang Technology Co Ltd
Original Assignee
Shenzhen Zhengpin Chuangxiang Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shenzhen Zhengpin Chuangxiang Technology Co Ltd filed Critical Shenzhen Zhengpin Chuangxiang Technology Co Ltd
Priority to CN201510780079.9A priority Critical patent/CN105306733B/en
Publication of CN105306733A publication Critical patent/CN105306733A/en
Application granted granted Critical
Publication of CN105306733B publication Critical patent/CN105306733B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present invention relates to APP login methods, and in particular to a kind of third party login binding cell-phone number method based on cell phone application includes the following steps:It receives client logging request and returns to options, whether options is to be logged in using third party's account;When user's selection is logged in using third party's account, client enters the third party login binding cell-phone number page;Server automatically generates identifying code and is sent to cell-phone number after client click acquisition identifying code button;The cell-phone number, which receives the input after identifying code by client, to be verified code position and inputs identifying code, is then submitted;The step of present invention before the login of third party's account of prior art by increasing binding cell-phone number, it solves to log in by third party's account, subsequently have forgotten third party's account, or the technical issues of having forgotten the password of third party's account, then being logged in unrenewable third party's account to this APP.

Description

Third party login based on cell phone application binds cell-phone number method
Technical field
The present invention relates to APP login methods, and in particular to a kind of third party login binding cell-phone number side based on cell phone application Method.
Background technology
Currently, APP's in use, sometimes user is not very willing newly to apply for an account, because new account needs It carries out a series of cumbersome of user name, password, essential information, password authentification problem etc. to fill in, to realize the note of new account Volume.In the prior art, it can be logged in by third-party account login mode.Such as the hands such as microblogging, wechat, QQ, bean cotyledon Machine APP.
The deficiency of above-mentioned technical proposal is, after being logged in by third party's account, if subsequently having forgotten third party's account Number, or have forgotten the password of third party's account, then it is logged in unrenewable third party's account to this APP.
Invention content
In view of the deficiencies of the prior art, the present invention provides a kind of third party login binding cell-phone number side based on cell phone application Method.
The technical scheme is that:
Third party login based on cell phone application binds cell-phone number method, includes the following steps:
Step 1 receives client logging request and returns to options, and whether options is to be logged in using third party's account;
Step 2, when user's selection does not use third party's account to log in, client enters APP account number cipher incoming pages Face;
When user's selection is logged in using third party's account, client enters the third party login binding cell-phone number page;Institute The third party login binding cell-phone number page is stated at least provided with third party's account title input frame, phone number filling-in position, acquisition Identifying code button, input verify code position, submitting button and wouldn't bind mobile phone button, and client click wouldn't bind mobile phone and press Button is then directly logged in using normal third party's account;
Step 3, the acquisition identifying code button can enable after phone number input, and client, which is clicked, obtains verification Server automatically generates identifying code by short message mode and is sent to the cell-phone number of phone number filling-in position input after code button Code short message mailbox;
Step 4, the phone number are verified after receiving identifying code by the input verification code position input of client Then code clicks the submitting button in client, cell-phone number and third party's account have been bound at this time, and third party's account can be used Logging in directly to use phone number to log in.
Further, described Step 1: in two, four third party's account log in specific method be:Open platform enters page Face receives authorized order of the user terminal to third party's website;After the user terminal mandate successful connection, according to scheduled Open platform logs in rebound agreement, and the first login banner OpenID of the user terminal and first is logged in key OpenKey Pass to third party's website;It is based on according to the first OpenID and the first OpenKey by third party's website The mandate of the user terminal logs in.
Further, it needs to verify after identifying code input in the step 4, verification method is:It is sent out first in identifying code Server sets up pair verification module for the phone number before sending, and pair verification module record has currently transmitted verification Number of codes word, when user end to server returns to the identifying code figure of input, pair verification module is by two groups of verification yardages Mesh word compares, and compares and is successfully then bound, and failure then returns to failure information.
Further, the third party login binding cell-phone number method based on cell phone application further includes to third party's website The phone number that request third party's account is registered in third party's website, mode is awarded to user terminal by third party's website Power to third party's site requests returns to phone number register in third party's website of third party's account after logging in, and by the number with The phone number inputted in the step 3 is compared, and compares and is successfully then bound, and failure then returns to failure information;The step Rapid meaning be to prevent QQ, wechat etc. play an important roll and third party's account for being worth under the abnormalities such as steal-number with this Cell phone application is bound, and unnecessary dispute is avoided.
Further, in the step 4, it is described it is direct use phone number log in specific method for:Receive client The phone number log on request of the account information for carrying user sent;According to phone number log on request acquisition and institute The number information of account information binding is stated, dynamic password is generated, described move is sent to corresponding mobile phone according to the number information State password, and the one-to-one relationship of the account information and the dynamic password is preserved in the database;Receive client hair That send carries the logging request of the account information and dynamic password input by user, according to the logging request from the number According to acquisition dynamic password corresponding with the account information in library;And by the dynamic password carried in the logging request and from The dynamic password obtained in the database is compared, if the two is consistent, is stepped on for the corresponding account of the account information Record is handled.
Further, the third party login binding cell-phone number method based on cell phone application further includes phone number binding Removing program, method are:It receives the phone number binding that client is sent and releases request, which takes when being sent out by client With account information, the number information for releasing request acquisition and account information binding is bound according to the phone number, it is raw At dynamic password, the dynamic password is sent to corresponding mobile phone according to the number information, and in the database described in preservation The one-to-one relationship of account information and the dynamic password, receive client transmission carries the account information and user The phone number binding of the dynamic password of input releases request, is bound according to the phone number and releases request from the database It is middle to obtain dynamic password corresponding with the account information;And the phone number is bound to the dynamic for releasing and being carried in request Password and the dynamic password obtained from the database are compared, corresponding for the account information if the two is consistent Account does phone number binding releasing processing.
Beneficial effects of the present invention are:The present invention is tied up by increasing before the login of third party's account of prior art The step of determining cell-phone number solves to log in by third party's account, subsequently has forgotten third party's account, or have forgotten third party's account Number password, then the technical issues of login in unrenewable third party's account to this APP;In addition, the present invention is by third Phone number that square site requests third party account is registered in third party's website is simultaneously compared with phone number input by user, This APP users are damaged when effectively reducing third party's account by abnormal conditions such as steal-number.
Description of the drawings
Fig. 1 is flow chart of the present invention.
Specific implementation mode
The specific implementation mode of the present invention is described further below in conjunction with the accompanying drawings:
Embodiment 1
As shown in Figure 1, the third party login based on cell phone application binds cell-phone number method, include the following steps:
Step 1 receives client logging request and returns to options, and whether options is to be logged in using third party's account;
Step 2, when user's selection does not use third party's account to log in, client enters APP account number cipher incoming pages Face;
When user's selection is logged in using third party's account, client enters the third party login binding cell-phone number page;Institute The third party login binding cell-phone number page is stated at least provided with third party's account title input frame, phone number filling-in position, acquisition Identifying code button, input verify code position, submitting button and wouldn't bind mobile phone button, and client click wouldn't bind mobile phone and press Button is then directly logged in using normal third party's account;
Step 3, the acquisition identifying code button can enable after phone number input, and client, which is clicked, obtains verification Server automatically generates identifying code by short message mode and is sent to the cell-phone number of phone number filling-in position input after code button Code short message mailbox;
Step 4, the phone number are verified after receiving identifying code by the input verification code position input of client Then code clicks the submitting button in client, cell-phone number and third party's account have been bound at this time, and third party's account can be used Logging in directly to use phone number to log in.
Embodiment 2
It is described Step 1: in two, four third party's account log in specific method be:Open platform enters the page and receives user The authorized order of terminal-pair third party's website;After the user terminal mandate successful connection, stepped on according to scheduled open platform Record rebound agreement passes to the logins of the first login banner OpenID of the user terminal and first key OpenKey described Third party's website;It is carried out based on user end according to the first OpenID and the first OpenKey by third party's website The mandate at end logs in.
Other steps of embodiment 2 are same as Example 1.
Embodiment 3
It needs to verify after identifying code input in the step 4, verification method is:It is taken before identifying code transmission first Business device sets up pair verification module for the phone number, and pair verification module record has currently transmitted verification number of codes Word, when user end to server returns to the identifying code figure of input, pair verification module is by two groups of identifying code figure ratios It is right, it compares and is successfully then bound, failure then returns to failure information.
Other steps of embodiment 3 are same as Example 2.
Embodiment 4
The third party login binding cell-phone number method based on cell phone application further includes to third party site requests third party The phone number that account is registered in third party's website, mode are logged in backward to the mandate of user terminal by third party's website Third party's site requests return to the phone number registered in third party's website of third party's account, and by the number and the step 3 The phone number of middle input is compared, and compares and is successfully then bound, and failure then returns to failure information;The meaning of the step exists It is tied up with this cell phone application under the abnormalities such as steal-number in the third party's account for preventing QQ, wechat etc. from playing an important roll and being worth It is fixed, avoid unnecessary dispute.
Other steps of embodiment 4 are same as Example 3.
Embodiment 5
In the step 4, it is described it is direct use phone number log in specific method for:Receive taking for client transmission The phone number log on request of account information with user;It is obtained according to the phone number log on request and is believed with the account The number information of binding is ceased, dynamic password is generated, the dynamic password is sent to corresponding mobile phone according to the number information, and The one-to-one relationship of the account information and the dynamic password is preserved in the database;Receive carrying for client transmission The logging request of the account information and dynamic password input by user obtains from the database according to the logging request Dynamic password corresponding with the account information;And by the dynamic password carried in the logging request and from the database The dynamic password of middle acquisition is compared, if the two is consistent, login process is done for the corresponding account of the account information.
Other steps of embodiment 5 are same as Example 4.
Embodiment 6
The third party login binding cell-phone number method based on cell phone application further includes phone number binding removing program, Its method is:It receives the phone number binding that client is sent and releases request, which carries account when being sent out by client Information binds the number information for releasing request acquisition and account information binding according to the phone number, it is close to generate dynamic Code sends the dynamic password to corresponding mobile phone according to the number information, and preserves the account information in the database With the one-to-one relationship of the dynamic password, receive that client sends carries the account information and input by user dynamic State password phone number binding release request, according to the phone number bind release request from the database obtain with The corresponding dynamic password of the account information;And the phone number is bound release in request the dynamic password that carries and from The dynamic password obtained in the database is compared, if the two is consistent, hand is done for the corresponding account of the account information Machine number binding releasing is handled.
Other steps of embodiment 6 are same as Example 5.
Process description of the present invention:
As shown in Figure 1:APP login interfaces be equipped with whether using third party's account log in option, if selecting "Yes" into The interface for entering third party login binding cell-phone number directly uses the account of this APP to log in if selecting "No", this certain APP's It includes necessarily the steps necessaries such as registration that account, which logs in,.
It is provided with third party's account title input frame (including third party's website on the interface of third party login binding cell-phone number Title and account), phone number input frame, obtain identifying code button, identifying code input frame, submitting button, mobile phone wouldn't be bound Number button etc..
Cell-phone number binds flow:User's input handset number → motor obtains identifying code → transmission identifying code to user hand Machine → user inputs identifying code → submission and binds application → binding.
This APP bind may be used that this APP accounts log in, third party's account logs in after cell-phone number and third party's account and Phone number logs in three kinds of modes.This certain APP for user convenience, is preferentially logged in using third party's account.
The above embodiments and description only illustrate the principle of the present invention and most preferred embodiment, is not departing from this Under the premise of spirit and range, various changes and improvements may be made to the invention, these changes and improvements both fall within requirement and protect In the scope of the invention of shield.

Claims (5)

1. the third party login based on cell phone application binds cell-phone number method, which is characterized in that it includes the following steps:
Step 1 receives client logging request and returns to options, and whether options is to be logged in using third party's account;
Step 2, when user's selection does not use third party's account to log in, client enters APP account number cipher input pages;
When user's selection is logged in using third party's account, client enters the third party login binding cell-phone number page;Described Tripartite logs in the binding cell-phone number page and is verified at least provided with third party's account title input frame, phone number filling-in position, acquisition Code button, input verify code position, submitting button and wouldn't bind mobile phone button, and client click wouldn't bind mobile phone button then Directly logged in using normal third party's account;
Step 3, the acquisition identifying code button can enable after phone number input, and client is clicked acquisition identifying code and pressed Server automatically generates identifying code and the identifying code is sent to the input of phone number filling-in position by short message mode after button Phone number short message mailbox;
Step 4, the phone number, which receives the input after identifying code by client, to be verified code position and inputs identifying code, so The submitting button in client is clicked afterwards, and cell-phone number and third party's account have been bound at this time, third party's account can be used to log in Or directly phone number is used to log in;
The third party login binding cell-phone number method based on cell phone application further includes to third party's site requests third party's account In the phone number of third party's website registration, mode is after being logged in the mandate of user terminal by third party's website to third Square site requests return to the phone number that third party's account is registered in third party's website, and will be defeated in the number and the step 3 The phone number entered is compared, and compares and is successfully then bound, and failure then returns to failure information.
2. the third party login according to claim 1 based on cell phone application binds cell-phone number method, it is characterised in that:The Tripartite's account log in specific method be:Open platform enters the authorized order that the page receives user terminal to third party's website; After the user terminal mandate successful connection, rebound agreement is logged according to scheduled open platform, by the user terminal The logins of first login banner OpenID and first key OpenKey passes to third party's website;By third party's website The mandate based on the user terminal is carried out according to the first OpenID and the first OpenKey to log in.
3. the third party login according to claim 2 based on cell phone application binds cell-phone number method, it is characterised in that:Institute It states in step 4 and needs to verify after identifying code input, verification method is:Server, which is directed to, first before identifying code transmission is somebody's turn to do Phone number sets up pair verification module, and pair verification module record has currently transmitted identifying code figure, works as client When returning to the identifying code figure of input to server, pair verification module compares two groups of identifying code figures, compares successfully It is then bound, failure then returns to failure information.
4. the third party login according to claim 3 based on cell phone application binds cell-phone number method, it is characterised in that:Institute State directly use phone number login specific method for:Receive the mobile phone for the account information for carrying user that client is sent Number log on request;The number information with account information binding is obtained according to the phone number log on request, is generated dynamic State password sends the dynamic password to corresponding mobile phone according to the number information, and preserves the account in the database The one-to-one relationship of information and the dynamic password;Receive client transmission carries the account information and user's input Dynamic password logging request, obtained from the database according to the logging request corresponding with the account information dynamic State password;And the dynamic password carried in the logging request and the dynamic password obtained from the database are compared It is right, if the two is consistent, login process is done for the corresponding account of the account information.
5. the third party login according to claim 4 based on cell phone application binds cell-phone number method, it is characterised in that:Institute It further includes phone number binding removing program to state the binding of the third party login based on cell phone application cell-phone number method, and method is:It connects It receives the phone number binding that client is sent and releases request, which carries account information when being sent out by client, according to institute The number information that phone number binding releases request acquisition and account information binding is stated, dynamic password is generated, according to described Number information sends the dynamic password to corresponding mobile phone, and preserves the account information in the database and the dynamic is close The one-to-one relationship of code receives the mobile phone for carrying the account information and dynamic password input by user that client is sent Number binding releases request, is bound to release according to the phone number and asks to obtain and the account information from the database Corresponding dynamic password;And by the dynamic password carried in phone number binding releasing request and from the database The dynamic password of acquisition is compared, if the two is consistent, phone number binding solution is done for the corresponding account of the account information Except processing.
CN201510780079.9A 2015-11-13 2015-11-13 Third party login based on cell phone application binds cell-phone number method Active CN105306733B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510780079.9A CN105306733B (en) 2015-11-13 2015-11-13 Third party login based on cell phone application binds cell-phone number method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510780079.9A CN105306733B (en) 2015-11-13 2015-11-13 Third party login based on cell phone application binds cell-phone number method

Publications (2)

Publication Number Publication Date
CN105306733A CN105306733A (en) 2016-02-03
CN105306733B true CN105306733B (en) 2018-11-09

Family

ID=55203462

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510780079.9A Active CN105306733B (en) 2015-11-13 2015-11-13 Third party login based on cell phone application binds cell-phone number method

Country Status (1)

Country Link
CN (1) CN105306733B (en)

Families Citing this family (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105959276A (en) * 2016-04-27 2016-09-21 青岛海信传媒网络技术有限公司 Application control method, device, and terminal device based on third party account login
CN106060791B (en) * 2016-07-05 2021-01-12 Tcl科技集团股份有限公司 Method and system for sending and obtaining short message verification code
CN106453263A (en) * 2016-09-19 2017-02-22 惠州Tcl移动通信有限公司 Method and system of binding cellphone number with APP
CN106529773A (en) * 2016-10-31 2017-03-22 宜人恒业科技发展(北京)有限公司 Online credit and fraud risk evaluation method based on identifying code type question answering
CN106557374B (en) * 2016-11-09 2020-06-09 天脉聚源(北京)科技有限公司 Method and device for processing information interaction between two parties
CN107067277A (en) * 2017-03-06 2017-08-18 深圳市钱爸爸电子商务有限公司 A kind of handset Wechat client extension system and its application method
CN109150804B (en) * 2017-06-16 2022-10-25 中兴通讯股份有限公司 Delegated login method, related device and computer-readable storage medium
CN107241339B (en) * 2017-06-29 2020-03-03 北京小米移动软件有限公司 Identity authentication method, identity authentication device and storage medium
CN107196977B (en) * 2017-07-28 2020-11-03 杭州聪普智能科技有限公司 Safety maintenance method for smart home
CN107277067B (en) * 2017-08-11 2020-10-23 四川长虹电器股份有限公司 Third-party system docking method based on unified developer account
CN107579969B (en) * 2017-08-31 2020-12-01 江西博瑞彤芸科技有限公司 User information acquisition method
CN108200072A (en) * 2018-01-12 2018-06-22 深圳市富途网络科技有限公司 A kind of more Account Administration login systems
CN109033791A (en) * 2018-07-13 2018-12-18 北京惠朗时代科技有限公司 A kind of safety impression method by PKI login print system
CN109787991B (en) * 2019-01-31 2022-02-25 平安科技(深圳)有限公司 Secret-free login method, device, equipment and storage medium based on mobile terminal
CN109905398B (en) * 2019-03-13 2020-07-24 北京字节跳动网络技术有限公司 Mobile phone number binding change verification method, device, equipment and storage medium
CN111817999A (en) * 2019-04-11 2020-10-23 天津五八到家科技有限公司 User login method and device
CN110225035B (en) * 2019-06-11 2022-11-11 深圳市微付充科技有限公司 Third party account binding and logging method, server, terminal and device
CN112738143B (en) * 2019-10-14 2022-05-10 华为技术有限公司 Account number binding method, device and system
CN111865889B (en) * 2019-12-10 2022-08-26 北京嘀嘀无限科技发展有限公司 Login request processing method, system, device, electronic equipment and storage medium
CN111314901B (en) * 2020-02-10 2021-08-31 成都雅信安科技服务有限公司 Association method of application program and IMEI (International Mobile Equipment identity) carrying mobile terminal thereof
CN112887298B (en) * 2021-01-22 2022-08-30 湖南金鹰卡通传媒有限公司 Multi-account system management data synchronization method, storage medium and system
CN113516376A (en) * 2021-06-23 2021-10-19 广东博力威科技股份有限公司 Battery management system and terminal equipment
CN113794678A (en) * 2021-07-29 2021-12-14 深圳思为科技有限公司 Method and device compatible with multiple login modes and computer storage medium
CN114553504B (en) * 2022-01-29 2024-03-08 重庆华唐云树科技有限公司 Third party secure login method
CN115766199A (en) * 2022-11-11 2023-03-07 迈普通信技术股份有限公司 Login authentication method and device and electronic equipment
CN115914153A (en) * 2022-11-15 2023-04-04 浪潮云信息技术股份公司 Method and system for combining Instant Messaging (IM) and public number based on WeChat
CN117857164A (en) * 2023-12-29 2024-04-09 湖北省数字产业发展集团有限公司 Cross-platform rapid account verification method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102821085A (en) * 2011-11-23 2012-12-12 腾讯科技(深圳)有限公司 Third party authorization login method, open platform and system
CN104883259A (en) * 2015-06-11 2015-09-02 郑存粮 Method for automatic registration by using mobile phone number as network application account number

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013075661A1 (en) * 2011-11-23 2013-05-30 腾讯科技(深圳)有限公司 Login and open platform identifying method, open platform and system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102821085A (en) * 2011-11-23 2012-12-12 腾讯科技(深圳)有限公司 Third party authorization login method, open platform and system
CN104883259A (en) * 2015-06-11 2015-09-02 郑存粮 Method for automatic registration by using mobile phone number as network application account number

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
爱奇艺会员系统的设计与实现;李梅文;《中国优秀硕士学位论文全文数据库 信息科技辑》;20131215(第S2期);第3-5章 *

Also Published As

Publication number Publication date
CN105306733A (en) 2016-02-03

Similar Documents

Publication Publication Date Title
CN105306733B (en) Third party login based on cell phone application binds cell-phone number method
CN104883259B (en) A kind of method that cell-phone number is registered automatically as network application account
CN103905399B (en) A kind of method and apparatus that account number logs in management
CN103023933B (en) A kind of log-on message Integrated Processing System and method
US20150244698A1 (en) User identity authenticating method and device for preventing malicious harassment
CN102231716B (en) Instant communication service login method
US9544317B2 (en) Identification of potential fraudulent website activity
CN105872102A (en) File uploading and downloading method
US9332433B1 (en) Distributing access and identification tokens in a mobile environment
CN103916244A (en) Verification method and device
CN105162773B (en) A kind of convenient login method of Web system based on mobile terminal
CN105306210A (en) Method, device and system for realizing authorization through application
CN107835160A (en) Third party's user authen method based on Quick Response Code
CN107483477B (en) Account management method and account management system
CN103095825B (en) A kind of approaches to IM of the Internet and system, server
DE102009057800A1 (en) Method for providing secure and convenient access to online accounts via remote forwarding
CN103379119A (en) Network multi-authentication system or network multi-authentication method
CN109547481A (en) A kind of website user's conversation managing method based on Redis ordered set and token mode
CN104601532B (en) A kind of method and device of logon account
WO2022041179A1 (en) Method, device and system for sending authentication information by means of instant messaging
CN104301285B (en) Login method for web system
CN107147661A (en) One kind strengthens File Transfer Protocol security system and method based on dynamic password
CN103501292A (en) Method and system for achieving data safety protection by using standby mobile phone
CN103036879A (en) Method for auditing QQ chat contents
CN105656936A (en) Data encryption and storage method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant