Authorization method, device and equipment
Through the communication between the active identification carrier and the carrier service platform, the preset identification code in the card is used to generate the authorization voucher request information and obtain the authorization token, which solves the problems of complex authorization process and low efficiency in the existing technology, and realizes password-free login and Efficient authorization ensures security and user experience.
Patent Information
- Application Number
- CN202311814748.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-26
- Publication Date
- 2024-10-22
AI Technical Summary
The existing SMS verification and communication number authentication and authorization methods are complex and inefficient. Especially in non-cellular mobile networks, authorization and authentication cannot be performed, which reduces user experience and authorization efficiency.
Through non-explicit communication between the active identification carrier and the carrier service platform, the preset identification code and application identification in the card are used to generate authorization voucher request information, obtain the authorization token, realize password-free login and improve authorization efficiency.
It reduces the complexity of user operations, improves authorization efficiency, ensures that authorization operations can be completed independently even when cellular mobile traffic is not turned on, and protects user information through industrial-grade security to avoid information leakage.
Smart Images

Figure CN118821076A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of communication technology, and in particular, relates to an authorization method, device and equipment. Background Art
[0002] With the emergence of a large number of life, work, and industrial applications (Application, APP), a large number of APP login accounts and passwords can be effectively managed through various authentication and authorization methods such as SMS verification and communication numbers, making it convenient to log in and access related application data.
[0003] However, for the SMS verification authorization method, users are required to enter information such as communication numbers and verification codes, which increases user operations; and for the communication number authentication authorization method, the usage scenarios are limited. For example, if the Internet is accessed through a non-cellular mobile network, relevant authorization authentication cannot be performed, reducing authorization efficiency. Summary of the invention
[0004] The embodiments of the present application provide an authorization method, apparatus, device and storage medium, which can solve the problems of complex user operations and low authorization efficiency in the authorization process in related technologies.
[0005] In a first aspect, an embodiment of the present application provides an authorization method, which is applied to an electronic device. The method may include:
[0006] Upon receiving the input of the login application, generating authorization credential request information based on the card preset identification code and the application identification of the application in the active identification carrier connected to the electronic device;
[0007] Sending a first request to the carrier service platform, the first request carrying authorization credential request information, the first request being used to request the carrier service platform to obtain an authorization token for logging into the application from the application service platform of the application based on the authorization credential request information;
[0008] When receiving feedback information sent by the carrier service platform, the feedback information is parsed by the active identification carrier to obtain an authorization token;
[0009] Based on the authorization token, the login application interface is displayed.
[0010] In a second aspect, an embodiment of the present application provides an authorization method, which is applied to a carrier service platform. The method may include:
[0011] Receiving a first request sent by an electronic device, the first request carrying authorization credential request information, the authorization credential request information being generated by a card preset identification code in an active identification carrier connected to the electronic device and an application identification of the application;
[0012] Based on the application identifier, a second request is sent to the application service platform, the second request carries the identifier code preset in the card, and the second request is used to request the application service platform to issue an authorization token for logging into the application in the electronic device based on the identifier code preset in the card;
[0013] When receiving the authorization token sent by the application service platform, generating feedback information based on the authorization token;
[0014] Send feedback information to electronic devices.
[0015] In a third aspect, an embodiment of the present application provides an authorization method, which is applied to an active identification carrier. The method may include:
[0016] Receiving a first instruction sent by an electronic device connected to an active identification carrier, the first instruction carrying an application identification applied in the electronic device, and the first instruction being used to instruct the active identification carrier to generate authorization credential request information based on the application identification;
[0017] Generate authorization credential request information based on the application identifier and the card preset identifier code in the active identifier carrier;
[0018] Sending authorization credential request information to the electronic device;
[0019] When receiving a second instruction sent by the electronic device, in the case where the second instruction carries feedback information, parsing the feedback information to obtain an authorization token, where the authorization token is used to log in to the application;
[0020] An authorization token is sent to the electronic device.
[0021] In a fourth aspect, an embodiment of the present application provides an authorization device, which is applied to an electronic device, and the device may include:
[0022] A generating module, configured to generate authorization credential request information based on a preset identification code in the card and an application identification of the application in the active identification carrier connected to the electronic device when receiving an input of a login application;
[0023] A sending module, configured to send a first request to a carrier service platform, the first request carrying authorization credential request information, the first request being used to request the carrier service platform to obtain an authorization token for logging into the application from the application service platform of the application based on the authorization credential request information;
[0024] A parsing module, configured to parse the feedback information sent by the carrier service platform through the active identification carrier to obtain an authorization token when receiving the feedback information sent by the carrier service platform;
[0025] The display module is used to display the login application interface based on the authorization token.
[0026] In a fifth aspect, an embodiment of the present application provides an authorization device, which is applied to a carrier service platform. The device may include:
[0027] A receiving module, configured to receive a first request sent by an electronic device, the first request carrying authorization credential request information, the authorization credential request information being generated by a card preset identification code in an active identification carrier connected to the electronic device and an application identification of the application;
[0028] A sending module, used to send a second request to the application service platform based on the application identifier, the second request carries the preset identification code in the card, and the second request is used to request the application service platform to issue an authorization token for logging into the application in the electronic device based on the preset identification code in the card;
[0029] A generating module, configured to generate feedback information based on the authorization token when receiving the authorization token sent by the application service platform;
[0030] The sending module is also used to send feedback information to the electronic device.
[0031] In a sixth aspect, an embodiment of the present application provides an authorization device, which is applied to an active identification carrier, and the device may include:
[0032] A receiving module, configured to receive a first instruction sent by an electronic device connected to an active identification carrier, the first instruction carrying an application identification of an application in the electronic device, and the first instruction being configured to instruct the active identification carrier to generate authorization credential request information based on the application identification;
[0033] A generating module, used for generating authorization credential request information based on the application identifier and the card preset identifier code in the active identifier carrier;
[0034] A sending module, used for sending authorization credential request information to the electronic device;
[0035] A parsing module, configured to parse the feedback information when receiving a second instruction sent by the electronic device, and obtain an authorization token for logging into the application when the second instruction carries feedback information;
[0036] The sending module is also used to send an authorization token to the electronic device.
[0037] In a seventh aspect, an embodiment of the present application provides an electronic device, the electronic device comprising: a processor and a memory storing computer program instructions;
[0038] When the processor executes the computer program instructions, the authorization method shown in the first aspect is implemented.
[0039] In an eighth aspect, an embodiment of the present application provides a computer device, the computer device comprising: a processor and a memory storing computer program instructions;
[0040] When the processor executes the computer program instructions, the authorization method shown in the second aspect and the third aspect is implemented.
[0041] In the ninth aspect, an embodiment of the present application provides a computer storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the authorization method as shown in the first aspect, or the authorization method as shown in the second aspect, or the authorization method as shown in the third aspect is implemented.
[0042] In the tenth aspect, an embodiment of the present application provides a chip, the chip including a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run a program or instructions to implement the authorization method shown in the first aspect, or to implement the authorization method shown in the second aspect, or to implement the authorization method shown in the third aspect.
[0043] In the eleventh aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the authorization method as shown in the first aspect, or the authorization method as shown in the second aspect, or the authorization method as shown in the third aspect.
[0044] The authorization method, apparatus, device and storage medium of the embodiment of the present application, upon receiving the input of the application login, generates authorization credential request information based on the preset identification code in the card in the active identification carrier and the application identification of the application through the active identification carrier connected to the electronic device, and then sends a first request to the carrier service platform, the first request carries the authorization credential request information, the first request is used to request the carrier service platform to obtain the authorization token for the application login from the application service platform of the application based on the authorization credential request information, and further, upon receiving the feedback information sent by the carrier service platform, the feedback information is parsed by the active identification carrier to obtain the authorization token, and then, based on the authorization token, the interface of the application login is displayed. In this way, for the user, only the operation of logging into the application in the electronic device needs to be confirmed, and the authorization token for the user to log into the application can be obtained by the non-explicit communication between the active identification carrier connected to the electronic device and the carrier service platform, and the application interface after login is displayed based on the authorization token, so that the complexity of user operation can be reduced. In addition, the embodiment of the present application uses a user identification card with communication capabilities as a medium, and triggers the user identification card through an electronic device to generate authorization credential request information based on the identification code preset in the security card preset in the user identification card as the identity verification for requesting an authorization token. The authorization operation can be completed autonomously when the cellular mobile traffic is not turned on, thereby improving the authorization efficiency. Moreover, since the active identification carrier already exists in the electronic device, it will not occupy additional space in the electronic device. Its authentication and authorization process is based on the industrial-grade security of the active identification carrier, and only the authorization token is obtained without obtaining additional user data, thereby effectively avoiding information leakage and ensuring user information security. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0046] Figure 1 A schematic diagram of the structure of an authorization system provided in an embodiment of the present application;
[0047] Figure 2 A schematic diagram of an interaction process of an authorization system provided in an embodiment of the present application;
[0048] Figure 3 A schematic diagram of the composition of a card pre-set identification code provided in an embodiment of the present application;
[0049] Figure 4 A flowchart of an authorization method provided in an embodiment of the present application;
[0050] Figure 5A flowchart of an authorization method provided in an embodiment of the present application;
[0051] Figure 6 A flowchart of an authorization method provided in an embodiment of the present application;
[0052] Figure 7 A schematic diagram of an electronic device and its interaction with an active identification carrier provided in an embodiment of the present application;
[0053] Figure 8 is a schematic diagram of the structure of an authorization device provided by an embodiment of the present application;
[0054] Fig. 9 is a schematic diagram of the structure of an authorization device provided by an embodiment of the present application;
[0055] Fig.10 is a schematic diagram of the structure of an authorization device provided by an embodiment of the present application;
[0056] Fig.11 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application;
[0057] Fig.12 It is a schematic diagram of the structure of a computer device provided by an embodiment of the present application. DETAILED DESCRIPTION
[0058] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.
[0059] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.
[0060] The acquisition, storage, use, and processing of data (including but not limited to the features and information in the text) in the technical solution of this application comply with the relevant provisions of national laws and regulations.
[0061] With the rapid development of the industrial Internet, a large number of various life, work and industrial application apps have emerged. How to effectively manage and record the login accounts and passwords of a large number of apps, and conveniently log in and access related application data has become an issue that needs urgent attention.
[0062] In the related technology, authentication and authorization can be performed through third-party app authentication, SMS verification, and communication number to facilitate user login and access to relevant application data. Among them, for third-party app authentication and authorization, in order to avoid cumbersome operations such as user registration, username setting and password setting, it is possible to log in directly through the authorization of the third-party APP. Users can log in to other authorized APPs such as application B with one click when they have logged in to application A. However, this method makes it easy for application B to obtain other user information in application A except for authorization, and there is a risk of leaking user information. For SMS verification code authentication and authorization, the user needs to manually enter the login communication number in the application or system login window, so that the application or system sends the SMS verification code to the electronic device corresponding to the communication number, and then the user needs to manually enter the SMS verification code to complete the verification and realize the authorized login. However, this method requires the user to manually enter the mobile phone number, graphic verification code, etc., which will increase the user operation, making the overall operation of the authorization verification process more cumbersome and reducing the user experience. Also, for the communication number authentication and authorization method, the usage scenarios are relatively limited. For example, if you access the Internet through a non-cellular mobile network (i.e., access the network through WIFI), you cannot perform relevant authorization authentication, which reduces the authorization efficiency.
[0063] In order to solve the above technical problems, the embodiments of the present application provide an authorization method, apparatus, computer equipment and storage medium, which can obtain the authorization token and identity authentication by presetting the industrial Internet identification code approved by the Ministry of Industry and Information Technology in the active identification carrier, that is, the preset identification code (or card number) in the card and the unique air-writing card key corresponding to the preset identification code in the card, and connect with the carrier service platform including the air-writing gateway through the active identification carrier. When logging into the application, the machine-card channel between the electronic device and the active identification carrier can be triggered to send the first request to the carrier service platform through the air-writing card encrypted secure data channel, and through The air-write gateway in the carrier service platform performs identity authentication. After authentication, it routes the request to the application service platform to request the application service platform to issue the login credentials that the electronic device can use to log in to the application. The application service platform obtains the login credentials that the electronic device can use to log in to the application based on the industrial Internet identification code reported by the electronic device, such as an authorization token. At this time, the authorization token can be issued to the active identification carrier through the air-write gateway in the carrier service platform. The active identification carrier sends the login credentials to the local application in the electronic device through the machine-card channel between the electronic device and the electronic device. The application can complete the password-free login through the login credentials to display the login application interface.
[0064] It should be noted that the industrial Internet identification code in the embodiment of the present application refers to a unique identifier used to identify entities such as objects, equipment, data, etc. in the industrial Internet. The industrial Internet identification code has the characteristics of uniqueness, stability and continuity to ensure that entities can be accurately identified and tracked in the industrial Internet.
[0065] Based on this, the following will combine the attached Figures 1 to 12 , describes in detail the authorization method, apparatus, computer equipment and storage medium of the embodiments of the present application. It should be noted that these embodiments are not intended to limit the scope of the disclosure of the present application.
[0066] Based on this, in order to better illustrate the contents of the embodiments of the present application, Figure 1 An authorization system provided in an embodiment of the present application is described as follows.
[0067] Figure 1 A schematic diagram of the structure of an authorization system provided in an embodiment of the present application.
[0068] like Figure 1 As shown, the authorization system may include an electronic device, an active identification carrier electrically connected to the electronic device, and a carrier service platform.
[0069] Specifically, the electronic device may be electrically connected to an active identification carrier, i.e., an active identification carrier, and applications such as application APP-1, application APP-2, ..., APP-M are installed in the electronic device. So that when an input for logging in to an application such as application APP-1 is received, the active identification carrier connected to the electronic device generates a first request to the carrier service platform to request the carrier service platform to obtain an authorization token for logging in to application APP-1 from the application service platform of the application.
[0070] It should be noted that the active identification carrier in the embodiment of the present application can be a subscriber identity module (SIM) (referred to as "SIM card" in this application) or a universal integrated circuit card (UICC).
[0071] The active identification carrier stores the preset identification code in the card and the Over The Air (OTA) key corresponding to the preset identification code in the card. The OTA key is the first Over The Air key in the embodiment of the present application. The OTA key is used for data encryption and decryption and identity authentication, that is, it is used to encrypt data communicated with the carrier service platform and parse data communicated with the carrier service platform; the preset identification code in the card is used to uniquely identify the identity of the active identification carrier or electronic device. The first Over The Air key is the same as the second Over The Air key stored in the carrier service platform, and is used to encrypt and parse data transmitted between the electronic device and the carrier service platform to ensure data security and identity verification during data transmission.
[0072] The active identification carrier provides a machine-card channel, and realizes data interaction between the active identification carrier and the electronic device in which it is located through standard application protocol data unit (APDU) instructions. It should be noted that the preset identification code in the card in the embodiment of the present application is physically written in the card making stage and is unmodifiable. The active identification carrier is pre-set with the active identification carrier IoT card service platform OTA gateway address (such as enhanced bearer independent protocol (Bearer Independent Protocol, BIP) address and SMS center number), and the active identification carrier can also be pre-set with the preset identification code in the card or the integrated circuit card identity (Integrate circuit card identity, ICCID), that is, the air write card key corresponding to the active identification carrier card number is written in correspondence with the preset identification code in the card, which cannot be modified. The air write card key is used for air write instruction communication encryption and identity authentication with the OTA gateway. Among them, the OTA gateway integrates the SCP80 protocol, encapsulates SMS messages, BIP-TCP, and BIP-UDP through the unified 0348 protocol, and achieves consistency of data messages of different types of data links; by unifying the data content through the 0348 protocol, SMS, BIP-TCP, and BIP-UDP are uniformly processed to support a wider range of OTA protocols and cover more OTA scenarios.
[0073] The OTA data transmission method (such as data SMS message, BIP-TCP, BIP-UDP, BIP-HTTPS) provided in the embodiment of the present application can effectively solve the problems in private network environment, WiFi data network environment only, wired network and other environments through a perfect air data transmission method, making the authorization channel more reliable and more promotable and usable in a wider range of scenarios.
[0074] Specifically, when the OTA gateway obtains the preset identification code in the card, it can first parse the device identification code to obtain Figure 2 The identification industry code and enterprise code shown are used to parse the enterprise information corresponding to the device through the country code, industry code and enterprise code, and determine whether the enterprise information is in the relevant business service authorization whitelist; retrieve whether the electronic device with the preset identification code in the sending card is in the authorized business whitelist. If it is not in the whitelist, respond with the relevant error code to the electronic device, and the electronic device parses its error code through the active identification carrier, and the parsed result is transmitted to the corresponding application; if the electronic device with the preset identification code in the sending card is in the whitelist, the carrier service platform, after completing the verification of the electronic device and the first request it sends, combines the card side uplink industrial Internet identification code (or card number), application identification and other information, and calls the platform interface of the application service platform of the relevant application.
[0075] The carrier service platform obtains the authorization token from the application service platform based on the industrial Internet identification code (or card number). After successful acquisition, the authorization token is fed back to the electronic device through the original OTA channel.
[0076] The carrier service platform is the active identification carrier IoT card service platform, which can include an air-write gateway, a security module and a business module. Among them, the air-write gateway is composed of a short message gateway and an enhanced Bearer Independent Protocol (BIP) gateway. The security module includes active identification carrier keys, certificates, encryption algorithms, etc. The business module stores industrial identification information and its attribute information, active identification carrier root certificates, third-party authorization information, etc.
[0077] Based on the above data processing system, the following steps can be performed: Figure 3 As shown, an in-card application (hereinafter referred to as identification application) for processing the authentication target address and control instructions (for example, registration - regAccount, obtaining login token - getAccessToken, deregister, etc.) is preset in the active identification carrier. The identification application processes the instructions according to the control instructions transmitted through the machine-card channel, and through the OTA channel, the BIP active link establishment method is preferentially adopted to initiate a BIP channel link establishment request (identity authentication) to the identification service platform. After the link is successfully established, the identification application instructions are transmitted to the identification service platform through the in-card key encryption instruction. If the BIP protocol is not supported, the target address and control instructions are uploaded to the identification service platform through data SMS.
[0078] The identification service platform receives the authorization instruction, processes it, and returns the authorization token.
[0079] After the active identification carrier receives the authorization token issued by the identification service platform OTA gateway, it responds to the corresponding application of the electronic device where the identification card is located with the authorization token of the application service platform through the machine-card channel standard APDU instruction.
[0080] The identification application obtains the login authorization token, and uses the card identification code in the current electronic device (it can also be the associated card number, account number, email address, etc.) combined with the authorization token obtained from the identification card machine channel as input parameters, which are transmitted to the application service platform to complete the login authorization verification and realize password-free authorization login based on the active identification carrier.
[0081] Therefore, the data processing system provided by the embodiment of the present application can be based on an active identification carrier (IoT card) with communication capabilities as the core medium, and actively trigger the active identification carrier (IoT card) through the machine-card channel to interact with the platform through the BIP protocol uplink data, thereby realizing a method for obtaining an identification application authorization token. It is proposed to pre-set the industrial Internet identification code (or card number) and the corresponding air-writing card key in the active identification carrier. The air-writing card key pre-set in the card is a telecommunications-grade physical key, one card and one key, which is dedicated to the active identification carrier service and is used for identity verification and secure communication between the active identification carrier and the OTA gateway.
[0082] An identification management application is preset in the card, and the card application provides standard APDU instructions for the identification application to transmit the application service platform address and control instruction content to the card through the machine-card channel, and send the card-side response receipt to the identification application through the machine-card channel. For the identification application, the authorization and authentication operation is to input control instructions into the card, and then obtain the authorization token or response information of the application. In addition, this application can integrate the OTA gateway of the BIP protocol and the SMS gateway. For data messages, they are uniformly encapsulated through the 0348 protocol to achieve format compatibility of air data transmission based on SMS, BIP-TCP, BIP-UDP, and BIP-HTTPS protocols to support authorization functions in various scenarios such as data traffic and WiFi. It solves the problem that the one-click login of the current number of traditional mobile phones can only obtain the card number data when the data traffic channel is open (the existing solution will fail to obtain the number in the WiFi connection scenario, resulting in failure to log in), and can support a wider range of business scenarios. In addition, you can still refer to Figure 2 As shown, the legitimacy of the terminal identity is verified by parsing the country code, industry code and enterprise code in the industrial identification code, and the whitelist association is performed by combining the industry code and enterprise code with the target address to realize the judgment and precise management of the requested identity verification and authorization token conversion. Through the integration of active identification carriers and industrial Internet identification systems, the transparency and standardization of identification carrier authorization are realized. In addition, the active identification carrier is used as the medium for authorization and authentication, and the telecommunications physical security of the active identification carrier is used as the security guarantee. By automating the authorization capability of the active identification carrier (the identification application is actively triggered through the machine card channel) and basic application, the active identification carrier (active identification carrier) is realized as the identity key to solve and support the identification application authorization problem, which is expected to make the operator's active identification carrier an infrastructure for authorization and authentication, helping operators to occupy a favorable position in the future Internet and Internet of Things systems.
[0083] Based on this, the following Figure 4 An authorization method provided in an embodiment of the present application is described as follows.
[0084] Figure 4A flowchart of an authorization method provided in an embodiment of the present application.
[0085] like Figure 4 As shown, the authorization method can be applied to an electronic device, and the authorization method can specifically include the following steps:
[0086] Step 410, upon receiving input for logging into the application, an active identification carrier connected to the electronic device generates authorization credential request information based on the preset identification code in the card in the active identification carrier and the application identification of the application; Step 420, a first request is sent to the carrier service platform, the first request carries the authorization credential request information, and the first request is used to request the carrier service platform to obtain an authorization token for logging into the application from the application service platform of the application based on the authorization credential request information; Step 430, upon receiving feedback information sent by the carrier service platform, the feedback information is parsed through the active identification carrier to obtain an authorization token; Step 440, based on the authorization token, an interface for logging into the application is displayed.
[0087] In this way, for the user, only the operation of logging into the application is needed to be confirmed in the electronic device, and the authorization token for the user to log into the application can be obtained through the non-explicit communication between the active identification carrier connected to the electronic device and the carrier service platform, and the application interface after login can be displayed based on the authorization token, so that the complexity of user operation can be reduced. In addition, the embodiment of the present application uses a user identification card with communication capability as a medium, and triggers the user identification card through the electronic device to generate authorization credential request information based on the preset identification code in the security card preset in the user identification card as the identity verification of the request authorization token. The authorization operation can be completed autonomously without turning on the cellular mobile traffic, thereby improving the authorization efficiency. In addition, since the active identification carrier already exists in the electronic device, it will not occupy additional electronic device space. Its authentication and authorization process is based on the industrial-grade security of the active identification carrier, and only the authorization token is obtained, without the need to obtain additional user data, which effectively avoids information leakage and ensures the security of user information.
[0088] The above steps are described in detail below, as shown below.
[0089] First, step 410 is involved. In some embodiments of the present application, the preset identification code in the card in the embodiments of the present application may be the original card number when used, or may be generated based on the electronic device and the original card number.
[0090] Exemplarily, the original card number 123456789 can be determined as the preset identification code in the card; or when the card number is associated with electronic device A, a new identification for identifying the identities of both, such as 1234A56789, is generated based on 123456789 and electronic device A, and it is determined as the preset identification code in the card.
[0091] Based on this, the active identification carrier includes a first air card writing key, and the first air card writing key is used to encrypt data communicated with the carrier service platform. The step 410 may specifically include:
[0092] The preset identification code and application identification in the card are encrypted by the active identification carrier connected to the electronic device and the first air card writing key to obtain the authorization credential request information.
[0093] Next, step 420 is involved. In some embodiments of the present application, before step 420, the authorization method may further include:
[0094] Send a connection request to the carrier service platform through an encrypted secure data channel written over the air. The connection request is used to request to establish an enhanced bearer-independent protocol connection with the carrier service platform.
[0095] Based on this, step 420 may specifically include:
[0096] In case that an enhanced bearer independent protocol connection has been established with the bearer service platform, a first request is sent to the bearer service platform based on the enhanced bearer independent protocol connection.
[0097] In some embodiments of the present application, step 420 may specifically include:
[0098] In the case where an enhanced bearer independent protocol connection has not been established with the bearer service platform, a first request is sent to the bearer service platform via a data text message.
[0099] Furthermore, with regard to step 430, in some embodiments of the present application, the first air write card key is also used to parse data communicated with the carrier service platform. Based on this, step 430 may specifically include:
[0100] The feedback information is parsed through the active identification carrier and the first air card writing key to obtain an authorization token.
[0101] Based on this, the following Figure 5 An authorization method provided in an embodiment of the present application is described as follows.
[0102] Figure 5 A flowchart of an authorization method provided in an embodiment of the present application.
[0103] like Figure 5 As shown, the authorization method can be applied to the carrier service platform, and the authorization method can specifically include the following steps:
[0104] Step 510, receiving a first request sent by an electronic device, the first request carries authorization credential request information, and the authorization credential request information is generated by the preset identification code in the card in the active identification carrier connected to the electronic device and the application identification of the application; Step 520, based on the application identification, sending a second request to the application service platform, the second request carries the preset identification code in the card, and the second request is used to request the application service platform to issue an authorization token for logging into the application in the electronic device based on the preset identification code in the card; Step 530, upon receiving the authorization token sent by the application service platform, generating feedback information based on the authorization token; Step 540, sending feedback information to the electronic device.
[0105] In this way, for the user, only the operation of logging into the application is needed to be confirmed in the electronic device, and the authorization token for the user to log into the application can be obtained through the non-explicit communication between the active identification carrier connected to the electronic device and the carrier service platform, and the application interface after login can be displayed based on the authorization token, so that the complexity of user operation can be reduced. In addition, the embodiment of the present application uses a user identification card with communication capability as a medium, and triggers the user identification card through the electronic device to generate authorization credential request information based on the preset identification code in the security card preset in the user identification card as the identity verification of the request authorization token. The authorization operation can be completed autonomously without turning on the cellular mobile traffic, thereby improving the authorization efficiency. In addition, since the active identification carrier already exists in the electronic device, it will not occupy additional electronic device space. Its authentication and authorization process is based on the industrial-grade security of the active identification carrier, and only the authorization token is obtained, without the need to obtain additional user data, which effectively avoids information leakage and ensures the security of user information.
[0106] The above steps are described in detail below, as shown below.
[0107] First, step 510 is involved. In some embodiments of the present application, before step 510, the authorization method may further include:
[0108] Receive a connection request sent by the carrier service platform through an encrypted secure data channel written over the air, the connection request being used to request the establishment of an enhanced bearer-independent protocol connection with the carrier service platform;
[0109] Based on this, step 510 may specifically include:
[0110] In case that an enhanced bearer independent protocol connection has been established with the carrier service platform, a first request sent by the electronic device is received based on the enhanced bearer independent protocol connection.
[0111] In some other embodiments of the present application, step 510 may specifically include:
[0112] In the case where an enhanced bearer-independent protocol connection has not been established with the carrier service platform, a first request sent by the electronic device is received via a data SMS.
[0113] Next, step 520 is involved. In some embodiments of the present application, the carrier service platform includes a second air-write card key, and the second air-write card key is used to parse data communicated with the active identification carrier. Based on this, before step 520, the authorization method may also include:
[0114] The authorization credential request information is parsed through the second air card writing key to obtain the preset identification code and application identification in the card.
[0115] In some other embodiments of the present application, the carrier service platform includes an authorized service whitelist. Based on this, before step 520, the authorization method may further include:
[0116] Based on the preset identification code in the card, obtain the first identity information of the device provider of the electronic device and the second identity information of the issuer of the active identification carrier;
[0117] Based on this, step 520 may specifically include:
[0118] In a case where the authorized service whitelist includes the first identity information and the second identity information, a second request is sent to the application service platform based on the application identifier.
[0119] Alternatively, the authorization method provided in the embodiment of the present application may also include:
[0120] When the first identity information or the second identity information is not included in the authorized service whitelist, a verification error message is sent to the electronic device, where the verification error message is used to prompt the user to adjust the authentication and authorization method.
[0121] Furthermore, with regard to step 530, in some embodiments of the present application, the second air write card key is also used to encrypt data communicated with the active identification carrier. Based on this, step 530 may include:
[0122] The authorization token is encrypted by the second air-writing card key to obtain feedback information.
[0123] Then, step 540 is involved. In some embodiments of the present application, step 540 may specifically include:
[0124] In case that an enhanced bearer independent protocol connection has been established with the carrier service platform, feedback information is sent to the electronic device based on the enhanced bearer independent protocol connection.
[0125] In some other embodiments of the present application, step 540 may specifically include:
[0126] In the case where an enhanced bearer-independent protocol connection has not been established with the carrier service platform, feedback information is sent to the electronic device via a data SMS.
[0127] Based on this, the following Figure 6 An authorization method provided in an embodiment of the present application is described as follows.
[0128] Figure 6 A flowchart of an authorization method provided in an embodiment of the present application.
[0129] like Figure 6 As shown, the authorization method can be applied to an active identification carrier, and the authorization method can specifically include the following steps:
[0130] Step 610, receiving a first instruction sent by an electronic device connected to an active identification carrier, the first instruction carries an application identifier of an application in the electronic device, and the first instruction is used to instruct the active identification carrier to generate authorization credential request information based on the application identifier; Step 620, generating authorization credential request information based on the application identifier and the card preset identifier code in the active identification carrier; Step 630, sending the authorization credential request information to the electronic device; Step 640, upon receiving a second instruction sent by the electronic device, the second instruction carries feedback information, parsing the feedback information to obtain an authorization token, and the authorization token is used to log in to the application; Step 650, sending the authorization token to the electronic device.
[0131] In this way, for the user, only the operation of logging into the application is needed to be confirmed in the electronic device, and the authorization token for the user to log into the application can be obtained through the non-explicit communication between the active identification carrier connected to the electronic device and the carrier service platform, and the application interface after login can be displayed based on the authorization token, so that the complexity of user operation can be reduced. In addition, the embodiment of the present application uses a user identification card with communication capability as a medium, and triggers the user identification card through the electronic device to generate authorization credential request information based on the preset identification code in the security card preset in the user identification card as the identity verification of the request authorization token. The authorization operation can be completed autonomously without turning on the cellular mobile traffic, thereby improving the authorization efficiency. In addition, since the active identification carrier already exists in the electronic device, it will not occupy additional electronic device space. Its authentication and authorization process is based on the industrial-grade security of the active identification carrier, and only the authorization token is obtained, without the need to obtain additional user data, which effectively avoids information leakage and ensures the security of user information.
[0132] The above steps are described in detail below, as shown below.
[0133] First, step 620 is involved. In some embodiments of the present application, the active identification carrier includes a first air-writing card key, and the first air-writing card key is used to encrypt data communicated with the carrier service platform. Based on this, step 620 may specifically include:
[0134] The application identifier and the identifier code preset in the card are encrypted by using the first air-writing card key to obtain authorization credential request information.
[0135] Next, step 640 is involved. In some embodiments of the present application, the first air card writing key is also used to parse data communicated with the carrier service platform. Based on this, step 640 may specifically include:
[0136] The feedback information is parsed through the first air card writing key to obtain an authorization token.
[0137] In order to better illustrate the authorization method provided in the embodiment of the present application, a detailed description is given below in conjunction with an electronic device, an active identification carrier electrically connected to the electronic device, and a carrier service platform.
[0138] like Figure 7 As shown, when the electronic device receives the input of the login application A, it sends a first instruction to the active identification carrier electrically connected to the electronic device through the machine-card channel. The first instruction carries the application identification of application A in the electronic device. The first instruction is used to instruct the active identification carrier to generate authorization credential request information based on the application identification.
[0139] The active identification carrier receives the first instruction through the machine-card channel, and encrypts the application identification in the first instruction and the card preset identification code in the active identification carrier through the first air card writing key to obtain the authorization credential request information; and returns the authorization credential request information to the electronic device.
[0140] When receiving the authorization credential request information, the electronic device sends a first request to the carrier service platform through an air-written card encrypted secure data channel. The first request carries the authorization credential request information. The first request is used to request the carrier service platform to obtain an authorization token for logging into the application from the application service platform of the application based on the authorization credential request information.
[0141] The carrier service platform, when receiving the first request sent by the electronic device, parses the authorization credential request information through the second air-writing card key to obtain the preset identification code and application identification in the card; based on the preset identification code in the card, obtains the first identity information of the device provider of the electronic device and the second identity information of the card issuer of the active identification carrier; based on the application identification, sends a second request to the application service platform, the second request carries the preset identification code in the card, and the second request is used to request the application service platform to issue an authorization token for logging into the application in the electronic device based on the preset identification code in the card. And when receiving the authorization token sent by the application service platform, based on the authorization token, generates feedback information; and sends the feedback information to the electronic device through the air-writing card encrypted secure data channel.
[0142] When receiving the feedback information sent by the carrier service platform, the electronic device sends a second instruction to the active identification carrier through the machine-card channel, where the second instruction carries the feedback information.
[0143] The active identification carrier, upon receiving the second instruction, parses the feedback information through the first air card writing key pair to obtain an authorization token, which is used to log in to the application, and feeds back the authorization token to the electronic device.
[0144] The electronic device displays the login application interface based on the authorization token.
[0145] Therefore, the SIM card provided by the authorization method provided by the embodiment of the present application is set in the electronic device for use in conjunction with the electronic device, and does not occupy additional space. The authorization process is based on the industrial-grade security of the active identification carrier, and only obtains the authorization token data, which is safer and effectively avoids information leakage. In addition, only the current user needs to confirm that the application triggers the authorization operation, and the rest of the process is completed by the internal communication between the active identification carrier and the identification service platform. After the application obtains the authorization token, the authentication and authorization operation is automatically completed, and the user is unaware, the speed is fast, and the experience is better. In addition, through the OTA channel capability, the authorization can be actively triggered by the machine card channel, and the optimal channel strategy can be independently selected to complete the authorization operation when the cellular mobile traffic is not turned on.
[0146] The present application also provides an authorization device, specifically in combination with Figure 8 Provide detailed explanation.
[0147] Figure 8 It is a schematic diagram of the structure of an authorization device provided in one embodiment of the present application.
[0148] In some embodiments of the present application, Figure 8 The authorization device shown can be set in the electronic device provided in the embodiment of the present application.
[0149] like Figure 8As shown, the authorization device 80 may specifically include:
[0150] The generating module 801 is used to generate authorization credential request information based on the preset identification code in the card and the application identification of the application in the active identification carrier connected to the electronic device when receiving the input of the login application;
[0151] A sending module 802 is used to send a first request to a carrier service platform, the first request carrying authorization credential request information, and the first request is used to request the carrier service platform to obtain an authorization token for logging into the application from the application service platform of the application based on the authorization credential request information;
[0152] The parsing module 803 is used to parse the feedback information sent by the carrier service platform through the active identification carrier to obtain an authorization token;
[0153] The display module 804 is used to display the login application interface based on the authorization token.
[0154] In this way, for the user, only the operation of logging into the application is needed to be confirmed in the electronic device, and the authorization token for the user to log into the application can be obtained through the non-explicit communication between the active identification carrier connected to the electronic device and the carrier service platform, and the application interface after login can be displayed based on the authorization token, so that the complexity of user operation can be reduced. In addition, the embodiment of the present application uses a user identification card with communication capability as a medium, and triggers the user identification card through the electronic device to generate authorization credential request information based on the preset identification code in the security card preset in the user identification card as the identity verification of the request authorization token. The authorization operation can be completed autonomously without turning on the cellular mobile traffic, thereby improving the authorization efficiency. In addition, since the active identification carrier already exists in the electronic device, it will not occupy additional electronic device space. Its authentication and authorization process is based on the industrial-grade security of the active identification carrier, and only the authorization token is obtained, without the need to obtain additional user data, which effectively avoids information leakage and ensures the security of user information.
[0155] The authorization device 80 in the embodiment of the present application is described in detail below.
[0156] In some embodiments of the present application, the authorization device 80 in the embodiments of the present application may also include an encryption module; wherein,
[0157] The encryption module is used to encrypt the preset identification code and application identification in the card through the active identification carrier connected to the electronic device and the first air card writing key, so as to obtain authorization credential request information when the active identification carrier includes a first air card writing key, and the first air card writing key is used to encrypt data communicated with the carrier service platform.
[0158] In some embodiments of the present application, the sending module 802 may also be used to send a connection request to the bearer service platform through an air card encrypted secure data channel, where the connection request is used to request to establish an enhanced bearer-independent protocol connection with the bearer service platform;
[0159] In case that an enhanced bearer independent protocol connection has been established with the bearer service platform, a first request is sent to the bearer service platform based on the enhanced bearer independent protocol connection.
[0160] In some embodiments of the present application, the sending module 802 may also be used to send the first request to the bearer service platform via a data SMS when an enhanced bearer-independent protocol connection has not been established with the bearer service platform.
[0161] In some embodiments of the present application, the authorization device 80 in the embodiments of the present application may also include an encryption module; wherein,
[0162] The encryption module is used to parse the feedback information by actively identifying the carrier and the first air card writing key to obtain the authorization token when the first air card writing key is also used to parse the data communicated with the carrier service platform.
[0163] The present application also provides an authorization device, specifically in combination with Fig. 9 Provide detailed explanation.
[0164] Fig. 9 It is a schematic diagram of the structure of an authorization device provided in one embodiment of the present application.
[0165] In some embodiments of the present application, Fig. 9 The authorization device shown can be set in the carrier service platform provided in the embodiment of the present application.
[0166] like Fig. 9 As shown, the authorization device 90 may specifically include:
[0167] A receiving module 901 is used to receive a first request sent by an electronic device, the first request carrying authorization credential request information, and the authorization credential request information is generated by a preset identification code in a card in an active identification carrier connected to the electronic device and an application identification of an application;
[0168] A sending module 902 is used to send a second request to the application service platform based on the application identifier, the second request carries the preset identification code in the card, and the second request is used to request the application service platform to issue an authorization token for logging into the application in the electronic device based on the preset identification code in the card;
[0169] The generating module 903 is used to generate feedback information based on the authorization token when receiving the authorization token sent by the application service platform;
[0170] The sending module 902 is further used to send feedback information to the electronic device.
[0171] In this way, for the user, only the operation of logging into the application is needed to be confirmed in the electronic device, and the authorization token for the user to log into the application can be obtained through the non-explicit communication between the active identification carrier connected to the electronic device and the carrier service platform, and the application interface after login can be displayed based on the authorization token, so that the complexity of user operation can be reduced. In addition, the embodiment of the present application uses a user identification card with communication capability as a medium, and triggers the user identification card through the electronic device to generate authorization credential request information based on the preset identification code in the security card preset in the user identification card as the identity verification of the request authorization token. The authorization operation can be completed autonomously without turning on the cellular mobile traffic, thereby improving the authorization efficiency. In addition, since the active identification carrier already exists in the electronic device, it will not occupy additional electronic device space. Its authentication and authorization process is based on the industrial-grade security of the active identification carrier, and only the authorization token is obtained, without the need to obtain additional user data, which effectively avoids information leakage and ensures the security of user information.
[0172] The authorization device 90 in the embodiment of the present application is described in detail below.
[0173] In some embodiments of the present application, the receiving module 901 may also be used to receive a connection request sent by the bearer service platform through an air card writing encrypted secure data channel, where the connection request is used to request to establish an enhanced bearer-independent protocol connection with the bearer service platform;
[0174] In case that an enhanced bearer independent protocol connection has been established with the carrier service platform, a first request sent by the electronic device is received based on the enhanced bearer independent protocol connection.
[0175] In some embodiments of the present application, the receiving module 901 may also be used to receive a first request sent by the electronic device via a data SMS when an enhanced bearer-independent protocol connection has not been established with the carrier service platform.
[0176] In some embodiments of the present application, the authorization device 90 in the embodiment of the present application may also include a parsing module; wherein,
[0177] The parsing module is used to parse the authorization credential request information through the second air-writing card key to obtain the preset identification code and application identification in the card when the carrier service platform includes a second air-writing card key, and the second air-writing card key is used to parse the data communicated with the active identification carrier.
[0178] In some embodiments of the present application, the authorization device 90 in the embodiment of the present application may also include an acquisition module; wherein,
[0179] An acquisition module, used to acquire the first identity information of the device provider of the electronic device and the second identity information of the card issuer of the active identification carrier based on the preset identification code in the card when the carrier service platform includes an authorized service whitelist;
[0180] The sending module 902 may also be configured to send a second request to the application service platform based on the application identifier when the authorized service whitelist includes the first identity information and the second identity information.
[0181] In some embodiments of the present application, the sending module 902 can also be used to send a verification error message to the electronic device when the first identity information or the second identity information is not included in the authorized service whitelist, and the verification error message is used to prompt the user to adjust the authentication authorization method.
[0182] In some embodiments of the present application, the authorization device 90 in the embodiments of the present application may also include an encryption module; wherein,
[0183] The encryption module is used to encrypt the authorization token by using the second air-writing card key to obtain feedback information when the second air-writing card key is also used to encrypt data communicated with the active identification carrier.
[0184] In some embodiments of the present application, the sending module 902 may also be configured to send feedback information to the electronic device based on the enhanced bearer independent protocol connection when an enhanced bearer independent protocol connection has been established with the bearer service platform.
[0185] In some embodiments of the present application, the sending module 902 may also be used to send feedback information to the electronic device via a data SMS when an enhanced bearer-independent protocol connection has not been established with the carrier service platform.
[0186] The present application also provides an authorization device, specifically in combination with Fig.10 Provide detailed explanation.
[0187] Fig.10 It is a schematic diagram of the structure of an authorization device provided in one embodiment of the present application.
[0188] In some embodiments of the present application, Fig.10 The authorization device shown can be set in the active identification carrier provided in the embodiment of the present application.
[0189] like Fig.10 As shown, the authorization device 100 may specifically include:
[0190] A receiving module 1001 is used to receive a first instruction sent by an electronic device connected to an active identification carrier, the first instruction carries an application identification of an application in the electronic device, and the first instruction is used to instruct the active identification carrier to generate authorization credential request information based on the application identification;
[0191] A generating module 1002, configured to generate authorization credential request information based on the application identifier and the card preset identifier code in the active identifier carrier;
[0192] The sending module 1003 is used to send authorization credential request information to the electronic device;
[0193] The parsing module 1004 is used to parse the feedback information when receiving the second instruction sent by the electronic device, and obtain the authorization token, which is used to log in the application;
[0194] The sending module 1003 is further used to send an authorization token to the electronic device.
[0195] In this way, for the user, only the operation of logging into the application is needed to be confirmed in the electronic device, and the authorization token for the user to log into the application can be obtained through the non-explicit communication between the active identification carrier connected to the electronic device and the carrier service platform, and the application interface after login can be displayed based on the authorization token, so that the complexity of user operation can be reduced. In addition, the embodiment of the present application uses a user identification card with communication capability as a medium, and triggers the user identification card through the electronic device to generate authorization credential request information based on the preset identification code in the security card preset in the user identification card as the identity verification of the request authorization token. The authorization operation can be completed autonomously without turning on the cellular mobile traffic, thereby improving the authorization efficiency. In addition, since the active identification carrier already exists in the electronic device, it will not occupy additional electronic device space. Its authentication and authorization process is based on the industrial-grade security of the active identification carrier, and only the authorization token is obtained, without the need to obtain additional user data, which effectively avoids information leakage and ensures the security of user information.
[0196] The authorization device 100 in the embodiments of the present application is described in detail below.
[0197] In some embodiments of the present application, the authorization device 100 in the embodiment of the present application may also include an encryption module; wherein,
[0198] The encryption module is used to encrypt the application identification and the preset identification code in the card by using the first air-writing card key to obtain the authorization credential request information when the active identification carrier includes a first air-writing card key, and the first air-writing card key is used to encrypt the data communicated with the carrier service platform.
[0199] In some embodiments of the present application, the authorization device 100 in the embodiment of the present application may further include a parsing module; wherein,
[0200] The parsing module is used to parse the feedback information through the first air card writing key to obtain the authorization token when the first air card writing key is also used to parse the data communicated with the carrier service platform.
[0201] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
[0202] Fig.11 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application.
[0203] The electronic device 1100 includes but is not limited to: a radio frequency unit 1101, a network module 1102, an audio output unit 1103, an input unit 1104, a sensor 1105, a display unit 1106, a user input unit 1107, an interface unit 1108, a memory 1109, a processor 1110 and other components.
[0204] Those skilled in the art will appreciate that the electronic device 1100 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1110 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.11 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0205] It should be understood that the input unit 1104 may include a graphics processing unit (GPU) 11041 and a microphone 11042, and the graphics processor 11041 processes the image data of a static image or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 1106 may include a display panel, and the display panel may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1107 includes a touch panel 11071 and at least one of other input devices 11072. The touch panel 11071 is also called a touch screen. The touch panel 11071 may include two parts: a touch detection device and a touch display. Other input devices 11072 may include, but are not limited to, a physical keyboard, function keys (such as a volume display button, a switch button, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0206] The memory 1109 can be used to store software programs and various data. The memory 1109 can mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area can store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1109 can include a volatile memory or a non-volatile memory, or the memory 1109 can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 1109 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
[0207] The processor 1110 may include one or more processing units; optionally, the processor 1110 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless display signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1110.
[0208] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned ground feature identification method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0209] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0210] In addition, an embodiment of the present application further provides a chip, which includes a processor and a display interface, the display interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned authorization method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0211] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0212] An embodiment of the present application provides a computer program product, which is stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the above-mentioned authorization method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0213] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0214] In addition, it should be noted that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in a reverse order according to the functions involved. For example, the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
[0215] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods of each embodiment of the present application.
[0216] Based on the same inventive concept, the present application also provides a computer device. Fig.12 Provide detailed explanation.
[0217] Fig.12 It is a schematic diagram of the structure of a computer device provided by an embodiment of the present application.
[0218] like Fig.12 As shown, the computer device may include at least one of the following involved in the embodiments of the present application: a server of a carrier service platform, a server of an application service platform. The computer device may include a processor 1201 and a memory 1202 storing computer program instructions.
[0219] Specifically, the processor 1201 may include a central processing unit (CPU), or an application specific integrated circuit (Application Specific Integrated Circuit (ASTC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.
[0220] The memory 1202 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 1202 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, the memory 1202 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 1202 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 1202 is a non-volatile solid-state memory. In a specific embodiment, the memory 1202 includes a solid-state storage (ROM). In appropriate cases, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM) or a flash memory or a combination of two or more of these.
[0221] The processor 1201 implements any one of the authorization methods in the above embodiments by reading and executing the computer program instructions stored in the memory 1202 .
[0222] In one example, the computer device may further include a communication interface 1203 and a bus 1210. Fig.12 As shown, the processor 1201, the memory 1202, and the communication interface 1203 are connected via a bus 1210 and communicate with each other.
[0223] The communication interface 1203 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.
[0224] Bus 1210 includes hardware, software or both, and the parts of flow control device are coupled to each other.For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industry standard system (ETSA) bus, front side bus (FSB), hypertransport (HT) interconnection, industry standard system (TSA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel system (MCA) bus, peripheral component interconnection (PCT) bus, PCT-Express (PCT-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 1210 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the application considers any suitable bus or interconnection.
[0225] The authorization device can execute the authorization method in the embodiment of the present application, thereby realizing the combination Figures 1 to 3 Described authorization method and device.
[0226] In addition, in combination with the authorization method in the above embodiment, the embodiment of the present application can provide a computer-readable storage medium for implementation. The computer-readable storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any one of the authorization methods in the above embodiment is implemented.
[0227] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.
[0228] The functional blocks shown in the above block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0229] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.
[0230] The above are only specific implementation methods of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.
Claims
1. An authorization method, characterized in that: Used in electronic equipment, including: Upon receiving an input for logging into the application, generating authorization credential request information based on the card preset identification code in the active identification carrier and the application identification of the application through the active identification carrier connected to the electronic device; Sending a first request to a carrier service platform, the first request carrying the authorization credential request information, the first request being used to request the carrier service platform to obtain an authorization token for logging into the application from the application service platform of the application based on the authorization credential request information; When receiving the feedback information sent by the carrier service platform, parsing the feedback information through the active identification carrier to obtain the authorization token; Based on the authorization token, an interface for logging into the application is displayed.
2. The method according to claim 1, characterized in that The active identification carrier includes a first air-writing card key, which is used to encrypt data communicated with the carrier service platform; the active identification carrier connected to the electronic device generates authorization credential request information based on the card preset identification code in the active identification carrier and the application identification of the application, including: The preset identification code in the card and the application identification are encrypted by using the active identification carrier connected to the electronic device and the first air card writing key to obtain the authorization credential request information.
3. The method according to claim 2, characterized in that The first air write card key is also used to parse the data communicated with the carrier service platform; the active identification carrier is used to parse the feedback information to obtain the authorization token, including: The feedback information is parsed through the active identification carrier and the first air-writing card key to obtain the authorization token.
4. The method according to claim 1, characterized in that: Before sending the first request to the carrier service platform, the method further includes: Sending a connection request to the bearer service platform through an encrypted secure data channel of an air card, wherein the connection request is used to request to establish an enhanced bearer-independent protocol connection with the bearer service platform; The sending a first request to the carrier service platform includes: In a case where an enhanced bearer independent protocol connection has been established with the bearer service platform, a first request is sent to the bearer service platform based on the enhanced bearer independent protocol connection.
5. The method according to claim 1 or 4, characterized in that: The sending a first request to the carrier service platform includes: In the case where an enhanced bearer independent protocol connection has not been established with the bearer service platform, a first request is sent to the bearer service platform via a data text message.
6. An authorization method, characterized in that: Applied to carrier service platforms, including: Receiving a first request sent by an electronic device, the first request carrying authorization credential request information, the authorization credential request information being generated by a card preset identification code in an active identification carrier connected to the electronic device and an application identification of an application; Based on the application identifier, sending a second request to the application service platform of the application, the second request carrying the preset identification code in the card, the second request being used to request the application service platform to issue an authorization token for logging into the application in the electronic device based on the preset identification code in the card; Upon receiving the authorization token sent by the application service platform, generating feedback information based on the authorization token; The feedback information is sent to the electronic device.
7. The method according to claim 6, characterized in that The carrier service platform includes a second air-write card key, and the second air-write card key is used to parse data communicated with the active identification carrier; before sending a second request to the application service platform of the application based on the application identifier, the method also includes: The authorization credential request information is parsed by using the second air card writing key to obtain the card preset identification code and the application identification.
8. The method according to claim 6 or 7, characterized in that: The carrier service platform includes an authorized service whitelist; before sending the second request to the application service platform of the application based on the application identifier, the method further includes: Based on the preset identification code in the card, obtaining the first identity information of the device provider of the electronic device and the second identity information of the issuer of the active identification carrier; The sending a second request to the application service platform of the application based on the application identifier includes: In a case where the first identity information and the second identity information are included in the authorized service whitelist, a second request is sent to the application service platform based on the application identifier.
9. The method according to claim 8, characterized in that The method further comprises: When the first identity information or the second identity information is not included in the authorized service whitelist, a verification error message is sent to the electronic device, where the verification error message is used to prompt the user to adjust the authentication and authorization method.
10. The method according to claim 7, characterized in that The second air write card key is also used to encrypt data communicated with the active identification carrier; the generating feedback information based on the authorization token includes: The authorization token is encrypted by using the second air-writing card key to obtain the feedback information.
11. The method according to claim 6, characterized in that Before receiving the first request sent by the electronic device, the method further includes: Receiving a connection request sent by the bearer service platform through an encrypted secure data channel of an air card, wherein the connection request is used to request to establish an enhanced bearer-independent protocol connection with the bearer service platform; The receiving a first request sent by an electronic device includes: In a case where an enhanced bearer independent protocol connection has been established with the bearer service platform, a first request sent by an electronic device is received based on the enhanced bearer independent protocol connection.
12. The method according to claim 11, characterized in that The receiving a first request sent by an electronic device includes: In the case where an enhanced bearer independent protocol connection has not been established with the bearer service platform, a first request sent by the electronic device is received via a data SMS.
13. An authorization method, characterized in that: Applied to active identification carriers, including: Receiving a first instruction sent by an electronic device connected to the active identification carrier, the first instruction carrying an application identifier of an application in the electronic device, and the first instruction being used to instruct the active identification carrier to generate authorization credential request information based on the application identifier; Generate authorization credential request information based on the application identifier and the card preset identifier code in the active identifier carrier; Sending the authorization credential request information to the electronic device; Upon receiving a second instruction sent by the electronic device, in the case where the second instruction carries feedback information, parsing the feedback information to obtain an authorization token, where the authorization token is used to log in to the application; The authorization token is sent to the electronic device.
14. The method according to claim 13, characterized in that The active identification carrier includes a first air-writing card key, which is used to encrypt data communicated with the carrier service platform; the generating authorization credential request information based on the application identifier and the card preset identifier code in the active identification carrier includes: The application identifier and the preset identifier code in the card are encrypted by using the first air card writing key to obtain authorization credential request information.
15. The method according to claim 14, characterized in that The first air card writing key is also used to parse data communicated with the carrier service platform; the parsing of the feedback information to obtain an authorization token includes: The feedback information is parsed using the first air-writing card key to obtain an authorization token.
16. An authorization device, characterized in that: Used in electronic equipment, including: A generating module, configured to generate authorization credential request information based on a card preset identification code in the active identification carrier and an application identification of the application through an active identification carrier connected to the electronic device when receiving an input for logging into the application; A sending module, configured to send a first request to a carrier service platform, wherein the first request carries the authorization credential request information, and the first request is used to request the carrier service platform to obtain an authorization token for logging into the application from the application service platform of the application based on the authorization credential request information; A parsing module, configured to parse the feedback information sent by the carrier service platform through the active identification carrier to obtain the authorization token when receiving the feedback information sent by the carrier service platform; The display module is used to display an interface for logging into the application based on the authorization token.
17. An authorization device, characterized in that: Applied to carrier service platforms, including: A receiving module, configured to receive a first request sent by an electronic device, wherein the first request carries authorization credential request information, and the authorization credential request information is generated by a card preset identification code in an active identification carrier connected to the electronic device and an application identification of an application; a sending module, configured to send a second request to the application service platform of the application based on the application identifier, wherein the second request carries the preset identification code in the card, and the second request is used to request the application service platform to issue an authorization token for logging into the application in the electronic device based on the preset identification code in the card; A generating module, configured to generate feedback information based on the authorization token when receiving the authorization token sent by the application service platform; The sending module is further used to send the feedback information to the electronic device.
18. An authorization device, characterized in that: Applied to active identification carriers, including: A receiving module, configured to receive a first instruction sent by an electronic device connected to the active identification carrier, wherein the first instruction carries an application identifier of an application in the electronic device, and the first instruction is used to instruct the active identification carrier to generate authorization credential request information based on the application identifier; A generating module, used for generating authorization credential request information based on the application identifier and the card preset identifier code in the active identifier carrier; A sending module, used for sending the authorization credential request information to the electronic device; a parsing module, configured to, upon receiving a second instruction sent by the electronic device, parse the feedback information to obtain an authorization token when the second instruction carries feedback information, wherein the authorization token is used to log in to the application; The sending module is further used to send the authorization token to the electronic device.
19. A computer device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, it implements the authorization method as described in any one of claims 1-5, or the authorization method as described in any one of claims 6-12, or the authorization method as described in any one of claims 13-15.
