CN112417399B - Hierarchical authorization method, mobile terminal and computer readable storage medium - Google Patents

Hierarchical authorization method, mobile terminal and computer readable storage medium Download PDF

Info

Publication number
CN112417399B
CN112417399B CN202011293089.7A CN202011293089A CN112417399B CN 112417399 B CN112417399 B CN 112417399B CN 202011293089 A CN202011293089 A CN 202011293089A CN 112417399 B CN112417399 B CN 112417399B
Authority
CN
China
Prior art keywords
user
authorization
level
information
security
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011293089.7A
Other languages
Chinese (zh)
Other versions
CN112417399A (en
Inventor
柴启蕾
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nubia Technology Co Ltd
Original Assignee
Nubia Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN202011293089.7A priority Critical patent/CN112417399B/en
Publication of CN112417399A publication Critical patent/CN112417399A/en
Application granted granted Critical
Publication of CN112417399B publication Critical patent/CN112417399B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)

Abstract

The application provides a hierarchical authorization method, which is applied to a mobile terminal and comprises the following steps: when two-dimensional code information of a first user is identified, acquiring security information of the first user; determining a security level of the first user based on the security information of the first user; and determining the authorization level of a second user according to the security level of the first user, and generating corresponding authorization information based on the authorization level of the second user so as to transmit the authorization information to the first user. The application also provides a mobile terminal and a computer readable storage medium. The method can determine the authorization level of the second user according to the security level of the first user so as to generate corresponding authorization information, thereby protecting the privacy of the user and improving the user experience.

Description

Hierarchical authorization method, mobile terminal and computer readable storage medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to a hierarchical authorization method, a mobile terminal, and a computer readable storage medium.
Background
At present, mobile terminals (such as mobile phones) are indispensable personal belongings, and people can pay, inquire related information and pay attention to things which are interesting for themselves through the mobile phones, including some push information. Many information is transmitted by taking the two-dimensional code as a medium, and the two-dimensional code provided by a large enterprise, such as a payment bank, weChat and the like, has a relatively perfect safety mechanism and related insurance, and can protect the safety and privacy of users to a great extent. However, two-dimensional codes provided by public numbers, small merchants, small programs and the like have no relevant security mechanism, and only user authorization information is continuously acquired. Some non-issuing molecules can acquire user authorization information through the two-dimensional code, so that user privacy is exposed, and user experience is affected.
Disclosure of Invention
The application mainly aims to provide a hierarchical authorization method, a mobile terminal and a computer readable storage medium, aiming at determining the authorization level of a second user according to the security level of a first user so as to generate corresponding authorization information, thereby protecting the privacy of the user and improving the user experience.
In order to achieve the above object, the present application provides a hierarchical authorization method applied to a mobile terminal, the hierarchical authorization method comprising: when two-dimensional code information of a first user is identified, acquiring security information of the first user; determining a security level of the first user based on the security information of the first user; and determining the authorization level of a second user according to the security level of the first user, and generating corresponding authorization information based on the authorization level of the second user so as to transmit the authorization information to the first user.
Optionally, the hierarchical authorization method further includes:
and constructing mapping relations between a plurality of security levels and a plurality of authorization levels, wherein the mapping relations between the security levels and the authorization levels are in one-to-one correspondence.
Optionally, the step of determining the authorization level of the second user according to the security level of the first user includes:
and searching the mapping relation to determine the authorization level of the second user corresponding to the security level of the first user.
Optionally, the security level includes a first security level and a second security level, where the disclosure degree of the authorization information corresponding to the first security level is greater than the disclosure degree of the authorization information corresponding to the second security level, or the authenticity of the authorization information corresponding to the first security level is greater than the authenticity of the authorization information corresponding to the second security level.
Optionally, the authorization information includes real information and non-real information.
Optionally, the authorization level includes a first authorization level and a second authorization level, and the hierarchical authorization method further includes:
when the authorization level of the second user is the first authorization level, the authorization information is real information; a kind of electronic device with high-pressure air-conditioning system
When the authorization level of the second user is the second authorization level, the authorization information includes part of the non-real information or all of the non-real information.
Optionally, the hierarchical authorization method further includes:
and when the authorization level of the second user is the second authorization level and an authorization instruction of the second user is received, converting the non-real information into real information.
Optionally, the hierarchical authorization method further includes:
and converting the real information of the second user into non-real information according to a preset conversion rule.
The application also provides a mobile terminal, which comprises: a touch screen; a processor; and the memory is connected with the processor and contains control instructions, and when the processor reads the control instructions, the mobile terminal is controlled to realize the hierarchical authorization method.
The present application also provides a computer-readable storage medium having one or more programs executed by one or more processors to implement the hierarchical authorization method described above.
The application provides a hierarchical authorization method, a mobile terminal and a computer readable storage medium, wherein when two-dimension code information of a first user is identified, security information of the first user is obtained; determining a security level of the first user based on the security information of the first user; and determining the authorization level of the second user according to the security level of the first user, generating corresponding authorization information based on the authorization level of the second user, and transmitting the corresponding authorization information to the first user, thereby determining the authorization level of the second user according to the security level of the first user, and generating the corresponding authorization information based on the authorization level of the second user, so as to protect user privacy and improve user experience. Further, when the authorization level of the second user is the first authorization level, the authorization information is real information; and when the authorization level of the second user is the second authorization level, the authorization information comprises part of the non-real information or all the non-real information, so that when the authorization level of the second user is the second authorization level, part of the non-real information or all the non-real information is generated, and the privacy of the user is further protected.
The foregoing description is only an overview of the present application, and is intended to be implemented in accordance with the teachings of the present application in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present application more readily apparent.
Drawings
FIG. 1 is a schematic diagram of an alternative mobile terminal hardware architecture for implementing various embodiments of the present application;
FIG. 2 is a schematic diagram of a communication network system of the mobile terminal shown in FIG. 1;
FIG. 3 is a flowchart of a hierarchical authorization method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
The achievement of the objects, functional features and advantages of the present application will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the application.
In the following description, suffixes such as "module", "component", or "unit" for representing elements are used only for facilitating the description of the present application, and have no specific meaning per se. Thus, "module," "component," or "unit" may be used in combination.
The terminal may be implemented in various forms. For example, the terminals described in the present application may include mobile terminals such as cell phones, tablet computers, notebook computers, palm computers, personal digital assistants (Personal Digital Assistant, PDA), portable media players (Portable Media Player, PMP), navigation devices, wearable devices, smart bracelets, pedometers, and fixed terminals such as digital TVs, desktop computers, and the like.
The following description will be given taking a mobile terminal as an example, and those skilled in the art will understand that the configuration according to the embodiment of the present application can be applied to a fixed type terminal in addition to elements particularly used for a moving purpose.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present application, the mobile terminal 100 may include: an RF (Radio Frequency) unit 101, a WiFi module 102, an audio output unit 103, an a/V (audio/video) input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, a processor 110, and a power supply 111. Those skilled in the art will appreciate that the mobile terminal structure shown in fig. 1 is not limiting of the mobile terminal and that the mobile terminal may include more or fewer components than shown, or may combine certain components, or a different arrangement of components.
The various components of the mobile terminal 100 are described in detail below in conjunction with fig. 1:
the radio frequency unit 101 may be used for receiving and transmitting signals during the information receiving or communication process, specifically, after receiving downlink information of the base station, processing the downlink information by the processor 110; and, the uplink data is transmitted to the base station. Typically, the radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication, global System for Mobile communications), GPRS (General Packet Radio Service ), CDMA2000 (Code Division Multiple Access, CDMA 2000), WCDMA (Wideband Code Division Multiple Access ), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, time Division synchronous code Division multiple Access), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency Division Duplex Long term evolution), and TDD-LTE (Time Division Duplexing-Long Term Evolution, time Division Duplex Long term evolution), etc.
WiFi belongs to a short-distance wireless transmission technology, and a mobile terminal can help a user to send and receive e-mails, browse web pages, access streaming media and the like through the WiFi module 102, so that wireless broadband Internet access is provided for the user. Although fig. 1 shows a WiFi module 102, it is understood that it does not belong to the necessary constitution of a mobile terminal, and can be omitted entirely as required within a range that does not change the essence of the application.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a talk mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output (e.g., a call signal reception sound, a message reception sound, etc.) related to a specific function performed by the mobile terminal 100. The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive an audio or video signal. The a/V input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, the graphics processor 1041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphics processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 can receive sound (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, and the like, and can process such sound into audio data. The processed audio (voice) data may be converted into a format output that can be transmitted to the mobile communication base station via the radio frequency unit 101 in the case of a telephone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting the audio signal.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and the proximity sensor can turn off the display panel 1061 and/or the backlight when the mobile terminal 100 moves to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for applications of recognizing the gesture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; as for other sensors such as fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured in the mobile phone, the detailed description thereof will be omitted.
The display unit 106 is used to display information input by a user or information provided to the user. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and to generate key signal inputs related to user settings and function control of the mobile terminal. In particular, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch panel 1071 or thereabout by using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 110, and can receive and execute commands sent from the processor 110. Further, the touch panel 1071 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The user input unit 107 may include other input devices 1072 in addition to the touch panel 1071. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc., as specifically not limited herein.
Further, the touch panel 1071 may overlay the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or thereabout, the touch panel 1071 is transferred to the processor 110 to determine the type of touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of touch event. Although in fig. 1, the touch panel 1071 and the display panel 1061 are two independent components for implementing the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 may be integrated with the display panel 1061 to implement the input and output functions of the mobile terminal, which is not limited herein.
The interface unit 108 serves as an interface through which at least one external device can be connected with the mobile terminal 100. For example, the external devices may include a wired or wireless headset port, an external power (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and an external device.
Memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area that may store an operating system, application programs required for at least one function (such as a sound playing function, an image playing function, etc.), and a storage data area; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, memory 109 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power source 111 (e.g., a battery) for supplying power to the respective components, and preferably, the power source 111 may be logically connected to the processor 110 through a power management system, so as to perform functions of managing charging, discharging, and power consumption management through the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described herein.
In order to facilitate understanding of the embodiments of the present application, a communication network system on which the mobile terminal of the present application is based will be described below.
Referring to fig. 2, fig. 2 is a schematic diagram of a communication network system according to an embodiment of the present application, where the communication network system is an LTE system of a general mobile communication technology, and the LTE system includes a UE (User Equipment) 201, an e-UTRAN (Evolved UMTS Terrestrial Radio Access Network ) 202, an epc (Evolved Packet Core, evolved packet core) 203, and an IP service 204 of an operator that are sequentially connected in communication.
Specifically, the UE201 may be the terminal 100 described above, and will not be described herein.
The E-UTRAN202 includes eNodeB2021 and other eNodeB2022, etc. The eNodeB2021 may be connected with other eNodeB2022 by a backhaul (e.g., an X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide access from the UE201 to the EPC 203.
EPC203 may include MME (Mobility Management Entity ) 2031, hss (Home Subscriber Server, home subscriber server) 2032, other MMEs 2033, SGW (Serving Gate Way) 2034, pgw (PDN Gate Way) 2035 and PCRF (Policy and Charging Rules Function, policy and tariff function entity) 2036, and so on. The MME2031 is a control node that handles signaling between the UE201 and EPC203, providing bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location registers (not shown) and to hold user specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034 and PGW2035 may provide IP address allocation and other functions for UE201, PCRF2036 is a policy and charging control policy decision point for traffic data flows and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem ), or other IP services, etc.
Although the LTE system is described above as an example, it should be understood by those skilled in the art that the present application is not limited to LTE systems, but may be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and the communication network system, various embodiments of the method of the present application are provided.
Fig. 3 is a flow chart of an embodiment of a hierarchical authorization method provided by the present application. Once triggered by the user, the process in this embodiment is automatically executed by the mobile terminal 100, where each step may be executed sequentially as shown in the flowchart, or may be executed simultaneously according to the actual situation, and this is not limited herein. The hierarchical authorization method provided by the application comprises the following steps:
step S310, when two-dimension code information of a first user is identified, security information of the first user is obtained;
step S330, determining the security level of the first user based on the security information of the first user;
step S350, determining an authorization level of a second user according to the security level of the first user, and generating corresponding authorization information based on the authorization level of the second user, so as to transmit the authorization information to the first user.
Through the embodiment, when the two-dimensional code information of the first user is identified, the safety information of the first user is acquired; determining a security level of the first user based on the security information of the first user; and determining the authorization level of the second user according to the security level of the first user, generating corresponding authorization information based on the authorization level of the second user, and transmitting the corresponding authorization information to the first user, thereby determining the authorization level of the second user according to the security level of the first user, generating corresponding authorization information based on the authorization level of the second user, protecting user privacy and improving user experience.
The above steps will be specifically described with reference to specific embodiments.
In step S310, when two-dimensional code information of a first user is identified, security information of the first user is acquired.
In this embodiment, the first user may be a person, an enterprise, an applet, a public number, or the like, which may provide the two-dimensional code. For example, the second user may use the application installed in the mobile terminal to scan and identify the two-dimensional code information of the first user, and perform operations such as payment, login, access, and the like. The first user may be a payment facilitator official, a payment facilitator user, su Ningyi purchase official, two-dimensional code information of a seller, etc.
Specifically, when the two-dimensional code interface is scanned and the two-dimensional code information of the first user is identified by the mobile terminal 100, the security information of the first user may be acquired.
In step S330, a security level of the first user is determined based on the security information of the first user.
In this embodiment, the security information may refer to whether the first user is configured with a security mechanism. The security level may include a first security level and a second security level. The first security level may be a higher security level than the second security level. For example, when the first user is a payment apparatus configured with a security mechanism, the security information is configured with a security mechanism, and the security level of the payment apparatus may be determined to be a first security level based on the security information of the payment apparatus. When the first user is an applet not configured with a security mechanism, the security information is an applet not configured with a security mechanism, and the security level of the applet can be determined to be a second security level based on the security information of the applet.
In this embodiment, the security information may further refer to whether the first user meets a preset condition, where the preset condition may be set according to a user requirement. For example, when the first user is a public number, the preset condition may be that the vermicelli exceeds 100 ten thousand, and when the first user is a public number of which the vermicelli exceeds 100 ten thousand, the security level of the public number of which the vermicelli exceeds 100 ten thousand may be the first security level. For example, when the first user is an enterprise public number, the preset condition may be that the enterprise scale is a large enterprise (first security level), a medium-sized enterprise (second security level), a small enterprise (third security level), or an enterprise group (first security level), a marketing enterprise (second security level), a non-marketing enterprise (third security level), etc.
It will be appreciated that in other embodiments, the security levels may also include more security levels.
In step S350, an authorization level of a second user is determined according to the security level of the first user, and corresponding authorization information is generated based on the authorization level of the second user, so as to be transmitted to the first user.
In this embodiment, a mapping relationship between a plurality of security levels and a plurality of authorization levels may be constructed, where the mapping relationship between the security levels and the authorization levels is one-to-one correspondence.
In this embodiment, the authorization level may include a first authorization level and a second authorization level. The authorization level of the first authorization level may be higher than the authorization level of the second authorization level. The authorization information includes real information and non-real information. The disclosure degree of the authorization information corresponding to the first security level is greater than that of the authorization information corresponding to the second security level, or the authenticity of the authorization information corresponding to the first security level is greater than that of the authorization information corresponding to the second security level. The authorization information corresponding to different authorization levels may be completely different or partially different, that is, the authorization information corresponding to the first authorization level may be completely different or partially different from the authorization information corresponding to the second authorization level.
For example, when the first user is a payment device, the security level of the payment device is a first security level, the authorization level of the second user is a first authorization level, when the first user is an applet, the security level of the applet is a second security level, the authorization level of the second user is a second authorization level, the disclosure degree of the obtained authorization information of the payment device is greater than the disclosure degree of the authorization information obtained by the applet or the authenticity of the obtained authorization information of the payment device is greater than the authenticity of the authorization information obtained by the applet.
It will be appreciated that in other embodiments, the authorization level may also include a greater variety of authorization levels. The type of security level may be the same as the type of authorization level. For example, the security levels may include a first security level, a second security level, a third security level, and a fourth security level, and the authorization levels include a first authorization level, a second authorization level, a third authorization level, and a fourth authorization level, respectively.
In this embodiment, the step of determining the authorization level of the second user according to the security level of the first user includes:
step S3501, searching the mapping relation to determine an authorization level of the second user corresponding to the security level of the first user.
In this embodiment, after the security level of the first user is determined based on the security information of the first user, a mapping relationship between the security level and the authorization level may be searched to determine an authorization level of a second user corresponding to the security level of the first user, so that corresponding authorization information is generated based on the authorization level of the second user to protect user privacy.
In this embodiment, the hierarchical authorization method further includes:
step S3502, when the authorization level of the second user is the first authorization level, the authorization information is real information;
in step S3503, when the authorization level of the second user is the second authorization level, the authorization information includes part of the non-real information or all of the non-real information.
In this embodiment, when the authorization level of the second user is the first authorization level, the authorization information is real information, and the mobile terminal 100 may generate corresponding real information based on the authorization level of the second user to transmit to the first user. When the authorization level of the second user is the second authorization level, the authorization information includes part of the non-real information, or all of the non-real information, and the mobile terminal 100 may convert the real information of the second user into the non-real information according to a preset conversion rule, so as to generate the corresponding part of the non-real information, or all of the non-real information, based on the authorization level of the second user, to transmit to the first user, so as to protect user privacy.
For example, when the first user is a payment device, the authorization level of the second user is a first authorization level, and the mobile terminal 100 may generate corresponding real information (such as an avatar, an account number, a nickname, a mobile phone number) based on the first authorization level to transmit to the first user; when the first user purchases Su Ningyi, the security level is a second security level, and the authorization level of the second user is a second authorization level, the mobile terminal 100 may generate corresponding real information (e.g., head portrait, nickname) and non-real information (e.g., random account number) based on the first authorization level to transmit to the first user.
It will be appreciated that in other embodiments, when the security level and the authorization level include two or more types, the mobile terminal 100 may determine an authorization level of a second user according to the security level of the first user, and generate corresponding authorization information based on the authorization level of the second user, where the authorization information may include all real information or all non-real information or part of non-real information and part of real information.
For example, the security levels may include a first security level, a second security level, a third security level, and a fourth security level. When the first user is a payment device, the authorization level of the second user is a first authorization level, and the mobile terminal 100 may generate corresponding real information (such as an avatar, an account number, a nickname, and a mobile phone number) based on the first authorization level; when the first user purchases Su Ningyi, the security level is a second security level, and the authorization level of the second user is a second authorization level, the mobile terminal 100 may generate corresponding real information (e.g., head portrait, nickname) and non-real information (e.g., random account number) based on the first authorization level. When the first user is an applet, the authorization level of the second user is a third authorization level, and the mobile terminal 100 may generate corresponding real information (e.g., a nickname) and non-real information (e.g., a random account number) based on the third authorization level. When the first user is a small merchant, the authorization level of the second user may be a fourth authorization level, and the mobile terminal 100 may generate all corresponding non-authentic information (e.g., only a random account number) based on the fourth authorization level.
In this embodiment, the hierarchical authorization method further includes:
step S3504, when the authorization level of the second user is the second authorization level and the authorization instruction of the second user is received, converting the non-real information into real information.
In this embodiment, when the authorization level of the second user is the second authorization level and the authorization instruction of the second user is received, the mobile terminal 100 may convert the non-real information into the real information according to a preset conversion algorithm, so as to transmit the real information to the first user according to the authorization instruction, thereby improving user experience.
For example, when the first user is Su Ningyi, the security level is a second security level, the authorization level of the second user is a second authorization level, the mobile terminal 100 may generate corresponding real information (such as an avatar and a nickname) and non-real information (such as a random account number) based on the first authorization level, and when further receiving the authorization instruction of the second user, the non-real information such as the random account number may be converted into account real information.
Through the embodiment, when the two-dimensional code information of the first user is identified, the safety information of the first user is acquired; determining a security level of the first user based on the security information of the first user; and determining the authorization level of the second user according to the security level of the first user, generating corresponding authorization information based on the authorization level of the second user, and transmitting the corresponding authorization information to the first user, thereby determining the authorization level of the second user according to the security level of the first user, and generating the corresponding authorization information based on the authorization level of the second user, so as to protect user privacy and improve user experience. Further, when the authorization level of the second user is the first authorization level, the authorization information is real information; and when the authorization level of the second user is the second authorization level, the authorization information comprises part of the non-real information or all the non-real information, so that when the authorization level of the second user is the second authorization level, part of the non-real information or all the non-real information is generated, and the privacy of the user is further protected.
Fig. 4 is a schematic structural diagram of a mobile terminal 100 according to an embodiment of the present application, where the mobile terminal 100 includes: a touch panel 1071; a processor 110; the memory 109 is connected to the processor 110, and the memory 109 contains control instructions, which when read by the processor 110, control the mobile terminal 100 to implement the following steps:
when two-dimensional code information of a first user is identified, acquiring security information of the first user; determining a security level of the first user based on the security information of the first user; and determining the authorization level of a second user according to the security level of the first user, and generating corresponding authorization information based on the authorization level of the second user so as to transmit the authorization information to the first user.
Optionally, the method further comprises:
and constructing mapping relations between a plurality of security levels and a plurality of authorization levels, wherein the mapping relations between the security levels and the authorization levels are in one-to-one correspondence.
Optionally, the step of determining the authorization level of the second user according to the security level of the first user includes:
and searching the mapping relation to determine the authorization level of the second user corresponding to the security level of the first user.
Optionally, the security level includes a first security level and a second security level, where the disclosure degree of the authorization information corresponding to the first security level is greater than the disclosure degree of the authorization information corresponding to the second security level, or the authenticity of the authorization information corresponding to the first security level is greater than the authenticity of the authorization information corresponding to the second security level.
Optionally, the authorization information includes real information and non-real information.
Optionally, the authorization level includes a first authorization level and a second authorization level, and further includes:
when the authorization level of the second user is the first authorization level, the authorization information is real information; a kind of electronic device with high-pressure air-conditioning system
When the authorization level of the second user is the second authorization level, the authorization information includes part of the non-real information or all of the non-real information.
Optionally, the method further comprises:
and when the authorization level of the second user is the second authorization level and an authorization instruction of the second user is received, converting the non-real information into real information.
Optionally, the method further comprises:
and converting the real information of the second user into non-real information according to a preset conversion rule.
Through the mobile terminal 100, when two-dimensional code information of a first user is identified, security information of the first user is acquired; determining a security level of the first user based on the security information of the first user; and determining the authorization level of the second user according to the security level of the first user, generating corresponding authorization information based on the authorization level of the second user, and transmitting the corresponding authorization information to the first user, thereby determining the authorization level of the second user according to the security level of the first user, and generating the corresponding authorization information based on the authorization level of the second user, so as to protect user privacy and improve user experience. Further, when the authorization level of the second user is the first authorization level, the authorization information is real information; and when the authorization level of the second user is the second authorization level, the authorization information comprises part of the non-real information or all the non-real information, so that when the authorization level of the second user is the second authorization level, part of the non-real information or all the non-real information is generated, and the privacy of the user is further protected.
The embodiment of the present application also provides a computer-readable storage medium having one or more programs executed by one or more processors to implement the steps of:
when two-dimensional code information of a first user is identified, acquiring security information of the first user; determining a security level of the first user based on the security information of the first user; and determining the authorization level of a second user according to the security level of the first user, and generating corresponding authorization information based on the authorization level of the second user so as to transmit the authorization information to the first user.
Optionally, the method further comprises:
and constructing mapping relations between a plurality of security levels and a plurality of authorization levels, wherein the mapping relations between the security levels and the authorization levels are in one-to-one correspondence.
Optionally, the step of determining the authorization level of the second user according to the security level of the first user includes:
and searching the mapping relation to determine the authorization level of the second user corresponding to the security level of the first user.
Optionally, the security level includes a first security level and a second security level, where the disclosure degree of the authorization information corresponding to the first security level is greater than the disclosure degree of the authorization information corresponding to the second security level, or the authenticity of the authorization information corresponding to the first security level is greater than the authenticity of the authorization information corresponding to the second security level.
Optionally, the authorization information includes real information and non-real information.
Optionally, the authorization level includes a first authorization level and a second authorization level, and further includes:
when the authorization level of the second user is the first authorization level, the authorization information is real information; a kind of electronic device with high-pressure air-conditioning system
When the authorization level of the second user is the second authorization level, the authorization information includes part of the non-real information or all of the non-real information.
Optionally, the method further comprises:
and when the authorization level of the second user is the second authorization level and an authorization instruction of the second user is received, converting the non-real information into real information.
Optionally, the method further comprises:
and converting the real information of the second user into non-real information according to a preset conversion rule.
Through the computer readable storage medium, when the two-dimensional code information of the first user is identified, the security information of the first user is acquired; determining a security level of the first user based on the security information of the first user; and determining the authorization level of the second user according to the security level of the first user, generating corresponding authorization information based on the authorization level of the second user, and transmitting the corresponding authorization information to the first user, thereby determining the authorization level of the second user according to the security level of the first user, and generating the corresponding authorization information based on the authorization level of the second user, so as to protect user privacy and improve user experience. Further, when the authorization level of the second user is the first authorization level, the authorization information is real information; and when the authorization level of the second user is the second authorization level, the authorization information comprises part of the non-real information or all the non-real information, so that when the authorization level of the second user is the second authorization level, part of the non-real information or all the non-real information is generated, and the privacy of the user is further protected.
The embodiment of the application also provides a computer readable storage medium. The computer-readable storage medium here stores one or more programs. Wherein the computer readable storage medium may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, hard disk, or solid state disk; the memory may also comprise a combination of the above types of memories.
The corresponding technical features in the above embodiments can be used mutually without causing contradiction between schemes or incapacitation.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present application are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.

Claims (6)

1. A hierarchical authorization method applied to a mobile terminal, the hierarchical authorization method comprising:
when two-dimensional code information of a first user is identified, acquiring security information of the first user;
determining a security level of the first user based on the security information of the first user;
determining an authorization level of a second user according to the security level of the first user, and generating corresponding authorization information based on the authorization level of the second user so as to transmit the authorization information to the first user, wherein the different authorization levels correspond to different degrees of reality of the generated authorization information;
the authorization level comprises a first authorization level and a second authorization level, and the hierarchical authorization method further comprises the steps of:
when the authorization level of the second user is the first authorization level, the authorization information is real information;
when the authorization level of the second user is the second authorization level, the authorization information comprises partial unreal information or all unreal information;
and when the authorization level of the second user is the second authorization level and an authorization instruction of the second user is received, converting the non-real information into real information to be transmitted to the first user.
2. The hierarchical authorization method according to claim 1, characterized in that the hierarchical authorization method further comprises:
and constructing mapping relations between a plurality of security levels and a plurality of authorization levels, wherein the mapping relations between the security levels and the authorization levels are in one-to-one correspondence.
3. The hierarchical authorization method according to claim 2, wherein the step of determining the authorization level of the second user based on the security level of the first user comprises:
and searching the mapping relation to determine the authorization level of the second user corresponding to the security level of the first user.
4. The hierarchical authorization method according to claim 1, characterized in that the hierarchical authorization method further comprises:
and converting the real information of the second user into non-real information according to a preset conversion rule.
5. A mobile terminal, the mobile terminal comprising:
a touch screen;
a processor; a kind of electronic device with high-pressure air-conditioning system
A memory coupled to the processor, the memory containing control instructions that, when read by the processor, control the mobile terminal to implement the hierarchical authorization method of any one of claims 1-4.
6. A computer readable storage medium having one or more programs for execution by one or more processors to implement the hierarchical authorization method of any of claims 1-4.
CN202011293089.7A 2020-11-18 2020-11-18 Hierarchical authorization method, mobile terminal and computer readable storage medium Active CN112417399B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011293089.7A CN112417399B (en) 2020-11-18 2020-11-18 Hierarchical authorization method, mobile terminal and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011293089.7A CN112417399B (en) 2020-11-18 2020-11-18 Hierarchical authorization method, mobile terminal and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN112417399A CN112417399A (en) 2021-02-26
CN112417399B true CN112417399B (en) 2023-08-11

Family

ID=74773009

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011293089.7A Active CN112417399B (en) 2020-11-18 2020-11-18 Hierarchical authorization method, mobile terminal and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN112417399B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104378345A (en) * 2014-06-24 2015-02-25 腾讯科技(深圳)有限公司 Security detection method and system for URL of mobile client
CN107451488A (en) * 2017-07-21 2017-12-08 珠海格力电器股份有限公司 A kind of method, device and mobile terminal that personal information is provided
CN107465512A (en) * 2017-07-13 2017-12-12 广东欧珀移动通信有限公司 Authorization processing method and Related product
CN108197490A (en) * 2017-12-28 2018-06-22 努比亚技术有限公司 Prevent malice from obtaining the method and terminal of authorized user message
CN109801418A (en) * 2019-01-16 2019-05-24 浙江汉默生链商科技有限公司 User autonomous controllable fining authorization management method and device
CN111506807A (en) * 2020-02-23 2020-08-07 北京三快在线科技有限公司 Merchant and user data processing method, system and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104378345A (en) * 2014-06-24 2015-02-25 腾讯科技(深圳)有限公司 Security detection method and system for URL of mobile client
CN107465512A (en) * 2017-07-13 2017-12-12 广东欧珀移动通信有限公司 Authorization processing method and Related product
CN107451488A (en) * 2017-07-21 2017-12-08 珠海格力电器股份有限公司 A kind of method, device and mobile terminal that personal information is provided
CN108197490A (en) * 2017-12-28 2018-06-22 努比亚技术有限公司 Prevent malice from obtaining the method and terminal of authorized user message
CN109801418A (en) * 2019-01-16 2019-05-24 浙江汉默生链商科技有限公司 User autonomous controllable fining authorization management method and device
CN111506807A (en) * 2020-02-23 2020-08-07 北京三快在线科技有限公司 Merchant and user data processing method, system and storage medium

Also Published As

Publication number Publication date
CN112417399A (en) 2021-02-26

Similar Documents

Publication Publication Date Title
CN109800602B (en) Privacy protection method, mobile terminal and computer readable storage medium
CN109618316B (en) Network sharing method, mobile terminal and storage medium
CN108512625B (en) Anti-interference method for camera, mobile terminal and storage medium
CN108600325B (en) Push content determining method, server and computer readable storage medium
CN109840444B (en) Code scanning identification method, equipment and computer readable storage medium
CN107230065B (en) Two-dimensional code display method and device and computer readable storage medium
CN109711830B (en) Quick display method and device for two-dimension code payment, mobile terminal and storage medium
CN109389394B (en) Multi-screen payment control method, equipment and computer readable storage medium
CN109683797B (en) Display area control method and device and computer readable storage medium
CN109711850B (en) Secure payment method, device and computer readable storage medium
CN111443818B (en) Screen brightness regulation and control method, equipment and computer readable storage medium
CN109683796B (en) Interaction control method, equipment and computer readable storage medium
CN109462829B (en) Call transfer method, device and computer readable storage medium
CN109800097B (en) Notification message reminding method, storage medium and mobile terminal
CN108876387B (en) Payment verification method, payment verification equipment and computer-readable storage medium
CN108805559B (en) Two-dimensional code pushing method, mobile terminal and computer readable storage medium
CN107330319B (en) Interaction control method, equipment and computer readable storage medium
CN107222933B (en) Communication method, terminal and computer readable storage medium
CN111476231B (en) Image area identification method, device and computer readable storage medium
CN112417399B (en) Hierarchical authorization method, mobile terminal and computer readable storage medium
CN110197370B (en) Two-dimensional code generation and payment method, terminal equipment and storage medium
CN110602708B (en) Pseudo base station identification method, terminal and computer readable storage medium
CN109656658B (en) Editing object processing method and device and computer readable storage medium
CN109544170B (en) Transaction snapshot verification method, device and computer readable storage medium
CN110275667B (en) Content display method, mobile terminal, and computer-readable storage medium

Legal Events

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