Privilege management method and device

By running the privilege management applet on the client, providing the privilege management interface and instruction input, automatically obtaining and repairing privilege information, and using blockchain storage, it solves the problem that users find it difficult to manage the privileges of multiple application clients, achieving convenient management and efficient user experience.

CN113449267BActive Publication Date: 2025-08-29TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202010224830.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-03-26
Publication Date
2025-08-29
Estimated Expiration
2040-03-26

AI Technical Summary

Technical Problem

It is difficult for users to effectively manage privileged information from multiple application clients, and the existing consulting staff is inefficient, wasting time and human resources.

Method used

By running the privilege management applet on the client, it provides a privilege management interface, receives privilege management instructions entered by users, parses user IDs and application IDs, obtains and presents privilege information, supports voice and text input, automatically repairs invalid privileges, and uses blockchain to store privilege information.

Benefits of technology

It realizes user convenient management of privileged information, saves time, improves user experience, reduces dependence on staff, and can be used without installation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113449267B_ABST
    Figure CN113449267B_ABST
Patent Text Reader

Abstract

The present invention provides a privilege management method, device, electronic device and storage medium; the method comprises: in response to the operation of a privilege management applet triggered by a client, running the privilege management applet in the client and presenting a privilege management interface of the privilege management applet; receiving a privilege management instruction for a target application, the privilege management instruction being input by a target user based on the privilege management interface; in response to the privilege management instruction, presenting privilege information of the target user in the target application, the privilege information comprising at least one of the following: privilege content of each privilege of the target user in the target application, privilege status of each privilege of the target user in the target application, and corresponding privilege repair method when the privilege status is invalid; through the present invention, convenient management of privilege information by users can be achieved, thereby improving user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the fields of computer technology and blockchain technology, and in particular to a privilege management method, device, electronic device, and storage medium. Background Art

[0002] With the continuous development of Internet technology, more and more Internet products are becoming popular with users, such as video clients, game clients, and other application clients. In order to improve the user experience, many application clients currently also have user-specific privileges. Privileges here refer to the fact that users in specific scenarios (such as Internet cafes) enjoy more rights and interests than users outside of the scenario, such as free use of game props in game applications, game experience bonuses, and other game privileges, and video viewing privileges such as free viewing of VIP videos and ad-free viewing in video playback applications. Due to the wide variety of clients and privileges, users often find it difficult to effectively manage different clients and the corresponding privileges.

[0003] In the prior art, when users need to obtain information about client privileges, privilege status, and other related information, they typically consult and provide feedback to customer service, administrators, and other staff. However, this method of obtaining privilege information through consultation with staff is lengthy and inefficient, resulting in a significant waste of time and human resources. Summary of the Invention

[0004] Embodiments of the present invention provide a privilege management method, device, electronic device, and storage medium, which can facilitate user management of privilege information and improve user experience.

[0005] The technical solution of the embodiment of the present invention is achieved as follows:

[0006] An embodiment of the present invention provides a privilege management method, including:

[0007] In response to the operation of running the privilege management applet triggered by the client, running the privilege management applet in the client, and

[0008] Presenting a privilege management interface of the privilege management applet; wherein the privilege management applet is used to manage user privileges in at least one application;

[0009] receiving a privilege management instruction for a target application, wherein the privilege management instruction is input by a target user based on the privilege management interface;

[0010] In response to the privilege management instruction, presenting privilege information of the target user in the target application, the privilege information including at least one of the following:

[0011] The privilege content of each privilege of the target user in the target application, the privilege status of each privilege of the target user in the target application, and the corresponding privilege repair method when the privilege status is invalid.

[0012] In the above solution, before presenting the privilege information of the target user to the target application, the method further includes:

[0013] Parsing the privilege management instruction to obtain the user identifier of the target user and the application identifier of the target application;

[0014] Based on the user identifier and the application identifier, privilege information of the target user in the target application is obtained.

[0015] An embodiment of the present invention further provides a privilege management device, comprising:

[0016] a running module, configured to, in response to a running operation of a privilege management applet triggered by a client, run the privilege management applet in the client and present a privilege management interface of the privilege management applet; wherein the privilege management applet is used to manage privileges of a user in at least one application;

[0017] a receiving module, configured to receive a privilege management instruction for a target application, wherein the privilege management instruction is input by a target user based on the privilege management interface;

[0018] a presentation module, configured to present, in response to the privilege management instruction, privilege information of the target user in the target application, the privilege information including at least one of the following:

[0019] The privilege content of each privilege of the target user in the target application, the privilege status of each privilege of the target user in the target application, and the corresponding privilege repair method when the privilege status is invalid.

[0020] In the above solution, the running module is further configured to respond to a scanning operation of the QR code of the privilege management applet through the first client;

[0021] The privilege management applet is run in the first client.

[0022] In the above solution, the running module is further configured to respond to a click operation on the privilege management function item presented in the second client;

[0023] The privilege management applet is run in the second client.

[0024] In the above solution, the presenting module is further configured to present the recognized instruction text corresponding to the privileged management instruction when the privileged management instruction is in voice form; and

[0025] An editing function key corresponding to the instruction text is presented, and the editing function key is used to indicate a function entry for editing the identified instruction text.

[0026] In the above solution, the presentation module is further configured to present a confirmation button corresponding to the privilege management instruction; wherein the confirmation button is configured to perform a confirmation operation on the recognized instruction text or the edited instruction text.

[0027] In the above solution, the presenting module is further configured to present a text editing interface corresponding to the instruction text in response to a click operation on the editing function key;

[0028] In response to an editing operation performed on the instruction text based on the text editing interface, the edited instruction text is presented.

[0029] In the above solution, the receiving module is further configured to present a text instruction input box in the privilege management interface;

[0030] receiving and presenting the privilege management instruction in text form input based on the text instruction input box;

[0031] Alternatively, a voice command entry is presented in the privilege management interface;

[0032] The privilege management instruction is received in a voice format based on the voice instruction entry.

[0033] In the above solution, the presentation module is further configured to present a privilege repair button corresponding to the target privilege when the privilege information includes the privilege status of the target privilege and the privilege status of the target privilege is invalid;

[0034] In response to a click operation on the privilege repair button, the target privilege is repaired based on a privilege repair method corresponding to the target privilege, so that the privilege state of the target privilege is changed from an invalid state to a valid state.

[0035] In the above solution, the device further comprises:

[0036] a parsing module, configured to parse the privilege management instruction to obtain a user identifier of the target user and an application identifier of the target application;

[0037] Based on the user identifier and the application identifier, privilege information of the target user in the target application is obtained.

[0038] In the above solution, the device further comprises:

[0039] A storage module is used to store the privilege information of the target user in the target application in the blockchain network.

[0040] An embodiment of the present invention further provides an electronic device, including:

[0041] a memory for storing executable instructions;

[0042] The processor is configured to implement the privilege management method provided by the embodiment of the present invention when executing the executable instructions stored in the memory.

[0043] An embodiment of the present invention further provides a computer-readable storage medium storing executable instructions. When the executable instructions are executed by a processor, the privilege management method provided by the embodiment of the present invention is implemented.

[0044] The embodiments of the present invention have the following beneficial effects:

[0045] By running the privilege management applet on the client, the privilege management interface of the privilege management applet receives the privilege management instructions of the target user for the target application, and then responds to the privilege management instructions to obtain and present the privilege information of the target user in the target application; in this way, when the user needs to obtain the privilege information of the target application, the privilege information in the target application can be obtained directly by running the privilege management applet, avoiding the process of users consulting and providing feedback to staff, saving time; and the privilege management applet is downloaded and run through the client, without the need for installation, and is easy and quick to use, thereby enabling users to conveniently manage privilege information and improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] Figure 1 Schematic diagram of an implementation scenario of the privilege management method provided by an embodiment of the present invention;

[0047] Figure 2 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention;

[0048] Figure 3 is a flowchart of a privilege management method provided by an embodiment of the present invention;

[0049] Figure 4 is a schematic diagram of running a privilege management applet through a first client provided by an embodiment of the present invention;

[0050] Figure 5 is a schematic diagram of running a privilege management applet through a second client provided by an embodiment of the present invention;

[0051] Figure 6 is a schematic diagram of a privilege management interface provided by an embodiment of the present invention;

[0052] Figure 7 Schematic diagram of editing instruction text provided by an embodiment of the present invention;

[0053] Figure 8 is a schematic diagram of privilege information provided by an embodiment of the present invention when a privilege is in an invalid state;

[0054] Figure 9 This is a schematic diagram of the application architecture of the blockchain network provided by an embodiment of the present invention;

[0055] Figure 10 9 is a schematic diagram of the structure of a blockchain in a blockchain network 900 provided in an embodiment of the present invention;

[0056] Figure 11 Schematic diagram of the functional architecture of the blockchain network 900 provided by an embodiment of the present invention;

[0057] Figure 12 is a flowchart of a privilege management method provided by an embodiment of the present invention;

[0058] Figure 13 It is a structural diagram of a privilege management device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0059] In order to make the objectives, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limiting the present invention. All other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0060] In the following description, reference is made to “some embodiments”, which describes a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0061] In the following description, the terms "first\second\third" are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It is understandable that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present invention described herein can be implemented in an order other than that illustrated or described herein.

[0062] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which the present invention pertains. The terms used herein are for the purpose of describing embodiments of the present invention only and are not intended to limit the present invention.

[0063] Before further explaining the embodiments of the present invention in detail, the nouns and terms involved in the embodiments of the present invention are explained. The nouns and terms involved in the embodiments of the present invention are subject to the following interpretations.

[0064] 1) Signature, also known as a digital signature, is a string of numbers that can only be generated by the sender of a message and cannot be forged by others. It is also an effective proof of the authenticity of the message sent by the sender. Digital signatures usually define two complementary operations, one for signing and the other for verification. They are the application of asymmetric key encryption technology and digital summary technology.

[0065] 2) Transaction, equivalent to the computer term "transaction," includes operations that need to be submitted to the blockchain network for execution, and does not refer solely to transactions in a business context. Given the conventional use of the term "transaction" in blockchain technology, the embodiments of the present invention follow this convention.

[0066] For example, the Deploy transaction is used to install a specified smart contract to a node in the blockchain network and prepare it to be called; the Invoke transaction is used to append transaction records to the blockchain by calling a smart contract and perform operations on the blockchain's state database, including update operations (including adding, deleting, and modifying key-value pairs in the state database) and query operations (i.e., querying key-value pairs in the state database).

[0067] 3) Blockchain is an encrypted, chained transaction storage structure formed by blocks.

[0068] 4) Blockchain Network: A collection of nodes that incorporate new blocks into the blockchain through consensus.

[0069] 5) Ledger: This is a collective term for the blockchain (also known as ledger data) and the state database synchronized with the blockchain. The blockchain records transactions as files in a file system, while the state database records transactions in the blockchain as key-value pairs of various types, enabling fast querying of transactions within the blockchain.

[0070] 6) Smart Contracts, also known as chaincode or application code, are programs deployed on nodes in a blockchain network. Nodes execute smart contracts invoked in received transactions to update or query key-value pairs in the state database.

[0071] 7) Consensus is a process in a blockchain network used to reach agreement on transactions in a block among multiple nodes involved. The agreed-upon blocks are appended to the end of the blockchain. Mechanisms for achieving consensus include Proof of Work (PoW), Proof of Stake (PoS), Delegated Proof-of-Stake (DPoS), and Proof of Elapsed Time (PoET).

[0072] 8) Mini Programs: Mini Programs are programs developed based on front-end languages ​​(such as JavaScript) that implement services in Hypertext Markup Language (HTML) pages. After being downloaded from the client, they can be immediately interpreted and executed in the client, saving the step of installation in the client.

[0073] 9) In response, it is used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed can be real-time or have a set delay. Unless otherwise specified, there is no restriction on the order of execution of the multiple operations executed.

[0074] 10) Privileges: Users in specific scenarios enjoy more rights and interests than users outside of these scenarios, such as gaming privileges in gaming applications (free use of game props, 30% bonus on game experience gains, etc.) and video viewing privileges in video playback applications (free viewing of VIP videos, early viewing, ad-free viewing, etc.).

[0075] 11) Automatic Speech Recognition (ASR): Converts the vocabulary in the user's speech into computer-readable input, and then converts it into text through speech analysis.

[0076] Based on the above explanations of the terms and concepts involved in the embodiments of the present invention, the following describes the implementation scenarios of the privilege management method provided by the embodiments of the present invention. Figure 1 , Figure 1 This is a schematic diagram of an implementation scenario of the privilege management method provided by an embodiment of the present invention. To support an exemplary application, terminals (including terminal 200-1 and terminal 200-2) are connected to server 100 via network 300. Network 300 can be a wide area network or a local area network, or a combination of the two, and data transmission is achieved using wireless or wired links.

[0077] The terminal (such as terminal 200-1) is configured to, in response to a privilege management applet execution operation triggered by a client, execute the privilege management applet in the client and present a privilege management interface of the privilege management applet; upon receiving a privilege management instruction for a target application, send the privilege management instruction to a server;

[0078] The server 100 is configured to parse the received privilege management instruction to obtain the user ID of the target user and the application ID of the target application; based on the user ID and the application ID, obtain the privilege information of the target user in the target application and return it to the terminal;

[0079] The terminal (such as terminal 200 - 1 ) is configured to present the received privilege information of the target user in the target application.

[0080] In actual applications, the server 100 can be a single server configured to support various services, or it can be configured as a server cluster; the terminal (such as terminal 200-1) can be various types of user terminals such as smart phones, tablet computers, laptop computers, etc., and can also be wearable computing devices, personal digital assistants (PDAs), desktop computers, cellular phones, media players, navigation devices, game consoles, televisions, or a combination of any two or more of these data processing devices or other data processing devices.

[0081] The hardware structure of the electronic device of the privilege management method provided by the embodiment of the present invention is described in detail below. The electronic device includes but is not limited to a server or a terminal. Figure 2 , Figure 2 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention, Figure 2 The electronic device 200 shown includes: at least one processor 210, a memory 250, at least one network interface 220 and a user interface 230. The various components in the electronic device 200 are coupled together via a bus system 240. It is understood that the bus system 240 is used to achieve connection and communication between these components. In addition to including a data bus, the bus system 240 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 240 is not described in detail. Figure 2 Various buses are labeled as bus system 240 .

[0082] The processor 210 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.

[0083] The user interface 230 includes one or more output devices 231 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 230 also includes one or more input devices 232, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.

[0084] The memory 250 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard drives, optical drives, etc. The memory 250 may optionally include one or more storage devices that are physically remote from the processor 210.

[0085] The memory 250 includes volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The nonvolatile memory may be read-only memory (ROM), and the volatile memory may be random access memory (RAM). The memory 250 described in the embodiments of the present invention is intended to include any suitable type of memory.

[0086] In some embodiments, the memory 250 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplified below.

[0087] Operating system 251, including system programs for processing various basic system services and performing hardware-related tasks, such as the framework layer, core library layer, and driver layer, which are used to implement various basic services and process hardware-based tasks;

[0088] A network communication module 252 for reaching other computing devices via one or more (wired or wireless) network interfaces 220 , exemplary network interfaces 220 including Bluetooth, WiFi, and USB;

[0089] a presentation module 253 for enabling presentation of information via one or more output devices 231 (e.g., a display screen, a speaker, etc.) associated with the user interface 230 (e.g., a user interface for operating peripheral devices and displaying content and information);

[0090] The input processing module 254 is configured to detect one or more user inputs or interactions from one of the one or more input devices 232 and to translate the detected inputs or interactions.

[0091] In some embodiments, the privilege management device provided by the embodiments of the present invention can be implemented in software. Figure 2 A privilege management device 255 stored in the memory 250 is shown, which can be software in the form of programs and plug-ins, including the following software modules: an operation module 2551, a receiving module 2552 and a presentation module 2553. These modules are logical, and therefore can be arbitrarily combined or further split according to the functions implemented. The functions of each module will be explained below.

[0092] In other embodiments, the privilege management device provided by the embodiments of the present invention can be implemented in a combination of software and hardware. As an example, the privilege management device provided by the embodiments of the present invention can be a processor in the form of a hardware decoding processor, which is programmed to execute the privilege management method provided by the embodiments of the present invention. For example, the processor in the form of a hardware decoding processor can adopt one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.

[0093] Based on the above description of the implementation scenario and electronic device of the privilege management method of the embodiment of the present invention, the privilege management method provided by the embodiment of the present invention is described below. Figure 3 , Figure 3 : is a flowchart of a privilege management method provided by an embodiment of the present invention. In some embodiments, the privilege management method can be implemented by a server or a terminal alone, or by a server and a terminal in collaboration. Taking terminal implementation as an example, the privilege management method provided by an embodiment of the present invention includes:

[0094] Step 301: In response to the operation of running the privilege management applet triggered by the client, the terminal runs the privilege management applet in the client and presents a privilege management interface of the privilege management applet.

[0095] In actual applications, the terminal is equipped with a client, such as an instant messaging client. The terminal can trigger the execution of the privilege management applet through the configured client. The privilege management applet is used to manage the user's privileges in at least one application. Here, privileges can mean that users in a specific scenario enjoy more rights and interests in the same application than users outside of that scenario. The specific scenario of the privilege can be an internet cafe, for example, users in the internet cafe scenario enjoy gaming privileges such as "free use of game props, game experience bonuses," or video viewing privileges such as "free viewing of VIP videos, ad-free viewing."

[0096] In some embodiments, the terminal may run a privilege management applet in the client to conveniently and quickly manage the privileges of the application in the following manner: in response to a scanning operation of a QR code of the privilege management applet through the first client; running the privilege management applet in the first client.

[0097] In actual applications, the entry path of the privilege management applet can be a QR code. In this case, the terminal can scan the QR code of the privilege management applet through a first client with a QR code scanning function, such as an instant messaging client, to enter and run the privilege management applet. For example, see Figure 4 , Figure 4 This is a schematic diagram of running a privileged management applet through a first client provided by an embodiment of the present invention. Here, the user opens the first client, clicks the "Scan" function entry to start the QR code scanning, and scans the QR code of the privileged management applet through the presented scanning box, thereby entering the privileged management applet through the first client and presenting the privileged management interface of the privileged management applet.

[0098] By applying the above embodiment, by setting a QR code for the privilege management applet, it is convenient for users to enter the privilege management applet through mobile terminals such as mobile phones. In an Internet cafe scenario, when users need to obtain privilege information, they can scan the QR code of the privilege management applet through a mobile terminal installed with a scanning client, thereby entering the privilege management applet to obtain privilege information, providing convenience for users.

[0099] In some embodiments, the terminal may further run the privilege management applet in the client in the following manner: in response to a click operation on a privilege management function item presented in the second client; and run the privilege management applet in the second client.

[0100] In actual applications, the privilege management applet can also be accessed through a function button of a pre-set privilege management function item. This privilege management function item can be set in a privileged application client, such as a privileged video playback client; or set in a client for managing applications, such as a client for managing game application privileges. In this case, when the terminal receives a click operation on the privilege management function item presented in the second client, the privilege management applet is executed in the second client and the privilege management interface of the privilege management applet is presented.

[0101] For example, see Figure 5 , Figure 5 This is a schematic diagram of running a privilege management applet through a second client provided by an embodiment of the present invention. Here, the user clicks the function button "Privilege Management" of the privilege management function item presented by the second client. In response to the click operation on the privilege management function item, the terminal enters the privilege management applet and presents the privilege management interface of the privilege management applet.

[0102] Step 302: Receive a privilege management instruction for a target application.

[0103] Here, the privilege management instruction is input by the target user through the privilege management interface, and is used to instruct the target user to obtain privilege information for the target application. Therefore, the privilege management instruction may include the name of the target application, user identification information, etc. For example, when running the privilege management applet through a client, if the user is prompted to authorize the client's account information, it is equivalent to the privilege management applet having obtained the user information or the name of the target application.

[0104] In actual applications, after the terminal presents the privilege management interface, the user can enter privilege management instructions for the target application through the privilege management interface. After receiving the privilege management instructions entered by the user, the terminal obtains the privilege information of the target application instructed by the user according to the privilege management instructions.

[0105] In some embodiments, the terminal may receive privileged management instructions for the target application in the following manner: presenting a text instruction input box in the privileged management interface; receiving and presenting privileged management instructions in text form based on input in the text instruction input box; or, presenting a voice instruction entry in the privileged management interface; receiving privileged management instructions in voice form based on input in the voice instruction entry.

[0106] In actual applications, the privilege management interface of the privilege management applet may present either a text command input box or a voice command entry, or both. Thus, the terminal receives privilege management commands entered in text form by the user via the text command input box. Alternatively, the terminal receives privilege management commands entered in voice form via the voice command entry.

[0107] For example, see Figure 6 , Figure 6 Schematic diagram of the privilege management interface provided by the embodiment of the present invention. Figure 6 As shown in (1), the privilege management interface only contains a text instruction input box, which supports users to enter privilege management instructions in text form; Figure 6 As shown in (2), the privilege management interface only includes a voice command entry, and the user can long press or click the voice command entry to enter the privilege management command in voice form based on the voice command entry; Figure 6 As shown in (3), the privilege management interface includes both a text command input box and a voice command entry, which supports users to select the corresponding command input method according to their needs.

[0108] By applying the above embodiment, by setting up a voice command entrance, users can input privilege management instructions in voice form by recording voice, thereby making it more convenient to manage privileges through the mobile terminal and improving the convenience of using the privilege management applet on the mobile terminal.

[0109] In some embodiments, when the privileged management instruction is a privileged management instruction in voice form, after receiving the recorded privileged management instruction in voice form, the terminal presents the instruction text corresponding to the identified privileged management instruction; and presents the editing function key corresponding to the instruction text, which is used to indicate the function entry for editing the identified instruction text.

[0110] In some embodiments, when there is an error in the identified instruction text, the terminal presents a text editing interface corresponding to the instruction text in response to a click operation on the editing function key; and presents the edited instruction text in response to the editing operation performed on the instruction text based on the text editing interface.

[0111] In actual applications, after the terminal receives the privilege management instruction in voice form input by the user, it performs voice recognition on the privilege management instruction entered by the user, obtains the corresponding instruction text, and presents the corresponding instruction text through the privilege management interface to facilitate the user to confirm the accuracy of the recognized privilege management instruction in voice form.

[0112] At the same time, an edit function key corresponding to the instruction text is presented on the privilege management interface. The edit function key is used to indicate the function entry for editing the recognized instruction text. In actual application, when the user finds that the recognized instruction text contains errors or is not the instruction content that the individual wants, the user can enter the text editing interface for the instruction text by clicking the edit function key. In response to the user's click operation on the edit function key, the terminal presents a text editing interface corresponding to the instruction text; when the user edits the instruction text through the text editing page, the terminal receives the user's editing operation on the instruction text and presents the edited instruction text.

[0113] For example, see Figure 7 , Figure 7 This is a schematic diagram of editing the instruction text provided by an embodiment of the present invention; here, after the terminal recognizes the privilege management instruction in voice form entered by the user, it recognizes and presents the instruction text "True Diagnosis 1444274711," and presents the editing function key corresponding to the instruction text. When the user confirms that the recognized instruction text does not match his or her personal expectations, he or she clicks the editing function key, and the terminal presents a text editing interface in response to the click operation on the editing function key. The user can edit the recognized instruction text "True Diagnosis 1444274711" in the text editing interface, and the terminal presents the edited instruction text "Diagnosis 1444274711" after receiving the editing operation on the text instruction. After the editing is completed, the text editing interface can be exited by clicking the confirmation button of the diagnosis text editing interface, and the privilege management interface containing the edited instruction text "Diagnosis 1444274711" is further presented.

[0114] By applying the above embodiment, when the user finds that the privilege management instruction in the form of recognized voice is wrong or inconsistent with the ideal, the user can edit the instruction text through the editing function key corresponding to the recognized instruction text to achieve the ideal state, thereby enabling the privilege management applet to provide the user with privilege information more accurately and improve the user experience.

[0115] In some embodiments, the terminal further presents a confirmation button corresponding to the privilege management instruction, where the confirmation button is used to confirm the recognized instruction text or the edited instruction text.

[0116] In actual applications, the terminal also presents a confirmation button corresponding to the privilege management instruction, and the confirmation button is used for the user to confirm the recognized instruction text or the edited instruction text, thereby triggering the execution of the privilege management instruction.

[0117] Of course, in some other embodiments, the confirmation button for the privilege management instruction may not exist, that is, after receiving the privilege management instruction, the terminal directly executes the privilege management instruction.

[0118] Step 303: In response to the privilege management instruction, present the privilege information of the target user in the target application.

[0119] Here, the privilege information includes at least one of the following: privilege content of each privilege of the target user in the target application, privilege status of each privilege of the target user in the target application, and a corresponding privilege restoration method when the privilege status is invalid.

[0120] In some embodiments, the terminal may determine the privilege information of the target user in the target application by parsing the privilege management instruction to obtain the user ID of the target user and the application ID of the target application; and based on the user ID and the application ID, obtain the privilege information of the target user in the target application.

[0121] After receiving the privilege management instruction, the terminal responds to the instruction and obtains the target user's privilege information for the target application. Specifically, the terminal parses the received privilege management instruction to obtain the target user's user ID and the target application's application ID carried in the instruction. Based on the parsed user ID and application ID, the terminal obtains the target user's privilege information for the target application. In actual applications, the privilege data corresponding to the parsed user ID and application ID can be retrieved from relevant privilege data stored in the backend.

[0122] In actual applications, this privilege information may include the various privileges enjoyed by the target user in the target application, such as free use of game props and a 30% bonus to experience gains in game applications, or free viewing of paid videos and ad-free viewing in video playback applications. It may also include the privilege status of each privilege, such as whether it is valid. Furthermore, when the privilege status of certain privileges is invalid, corresponding privilege restoration methods may be presented, such as turning on the privilege switch or recharging the privilege balance.

[0123] In some embodiments, when the privilege information includes the privilege status of the target privilege, the privilege status of the target privilege is an invalid state, and the privilege repair method corresponding to the target privilege can be automatically executed, the terminal may also present a privilege repair button corresponding to the target privilege; in response to a click operation on the privilege repair button, the target privilege is repaired based on the privilege repair method corresponding to the target privilege, so that the privilege status of the target privilege is changed from an invalid state to a valid state.

[0124] In actual applications, privilege repair methods can be divided into automatically executable and manually executed types. For example, when the privilege balance is insufficient, the user needs to actively recharge. This type of privilege repair method is manually executed; or when the privilege switch is not turned on, the terminal can automatically turn on the privilege switch. This type of privilege repair method is automatically executable.

[0125] When the privilege information includes relevant information about a target privilege that is in an invalid state, and if the privilege repair method corresponding to the target privilege is automatically executable, that is, capable of automatic execution, the terminal may also present a privilege repair button corresponding to the target privilege. The user can click the privilege repair button to trigger the automatic repair process for the target privilege. Upon receiving the user's click operation on the privilege repair button for the target privilege, the terminal automatically executes the privilege repair method corresponding to the target privilege in response to the click operation, repairing the target privilege, thereby changing the privilege status of the target privilege from an invalid state to a valid state.

[0126] For example, see Figure 8 , Figure 8 : This is a schematic diagram of privilege information in an invalid state provided by an embodiment of the present invention. Here, the target privilege is in an invalid state, and the reason for the invalid state of the target privilege is that "the privilege switch is not turned on," so the corresponding privilege repair method is "Please turn on the privilege switch." Here, the privilege repair method can be executed manually or automatically. At this time, a privilege repair button corresponding to the privilege repair method can also be presented. When the terminal receives a user click operation on the privilege repair button, it can automatically adopt the privilege repair method, that is, automatically turn on the privilege switch to repair the target privilege, so that the privilege state of the target privilege is changed from an invalid state to a valid state. Of course, if the user does not click the privilege repair button, he or she can also turn on the privilege switch by himself or herself.

[0127] By applying the above embodiment and setting up a privilege management applet, users can quickly obtain the reasons for the privilege failure and the privilege repair method when they find that the privileges of the target application are invalid, and then repair the invalid privileges according to the provided privilege repair method, thereby reducing the time consumption in the process of user feedback, developer passive discovery, etc., and realizing the rapid resolution of user privilege abnormality problems, thereby improving user experience.

[0128] By applying the above-mentioned embodiment of the present invention, the privilege management applet is run through the client, and based on the privilege management interface of the privilege management applet, the privilege management instruction of the target user for the target application is received, and then in response to the privilege management instruction, the privilege information of the target user in the target application is obtained and presented; in this way, when the user needs to obtain the privilege information of the target application, the privilege information in the target application can be directly obtained by running the privilege management applet, avoiding the process of the user consulting and providing feedback to the staff, saving time; and the privilege management applet is downloaded and run through the client, without the need for installation, and is easy and quick to use, thereby realizing convenient management of privilege information by the user and improving the user experience.

[0129] In some embodiments, after the server obtains the privilege information of the target user in the target application, it can also combine blockchain technology to store the privilege information in the blockchain network, so that when the terminal obtains the privilege information of the target user in the target application, it can directly obtain the privilege information from the blockchain network.

[0130] Here, after obtaining the privileged information of the target user in the target application, a transaction for storing the privileged information is generated, and the generated transaction is sent to the nodes of the blockchain network, so that the nodes can store the privileged information in the blockchain network after reaching consensus on the transaction; before storing it in the blockchain network, the server can also obtain the summary information of the key corresponding to the privileged information; and store the obtained summary information of the key in the blockchain network.

[0131] Next, the blockchain network in the embodiment of the present invention is described. Figure 9 The application architecture diagram of the blockchain network provided for an embodiment of the present invention includes a blockchain network 900 (consensus nodes 910-1 to consensus nodes 910-3 are exemplarily shown), an authentication center 1000, and a business entity 1100, which are described below.

[0132] Blockchain network 900 is flexible and diverse, and can be, for example, a public chain, a private chain, or a consortium chain. For example, with a public chain, any business entity's electronic device (e.g., a terminal / server) can access blockchain network 900 without authorization. With a consortium chain, for example, a business entity can access blockchain network 900 with authorization, and its subordinate electronic devices can thus become client nodes in blockchain network 900.

[0133] In some embodiments, client nodes may only serve as observers of blockchain network 900, providing support for business entities to initiate transactions (e.g., storing data on-chain or querying on-chain data). Client nodes may implement the functions of consensus node 910 of blockchain network 900, such as sorting, consensus services, and ledger functions, by default or selectively (e.g., depending on the specific business needs of the business entity). This allows the business entity's data and business processing logic to be migrated to blockchain network 900 to the greatest extent possible, ensuring the trustworthiness and traceability of data and business processing processes through blockchain network 900.

[0134] The consensus nodes in the blockchain network 900 receive transactions submitted by client nodes (such as client node 1110 belonging to business entity 1100) from different business entities (such as business entity 1100), execute transactions to update the ledger or query the ledger, and various intermediate results or final results of the executed transactions can be returned to the client node of the business entity for display.

[0135] The following uses the example of a business entity accessing a blockchain network to obtain privileged information to illustrate an exemplary application of blockchain.

[0136] See also Figure 9 The business entity 1100 involved in the privilege management method registers with the authentication center 1000 to obtain a digital certificate. The digital certificate includes the business entity's public key and the digital signature of the authentication center 1000 on the business entity's public key and identity information. The digital certificate is used to attach it to the transaction along with the business entity's digital signature for the transaction and is sent to the blockchain network, where the blockchain network can retrieve the digital certificate and signature from the transaction to verify the authenticity of the message (i.e., whether it has not been tampered with) and the identity information of the business entity sending the message. The blockchain network will verify the identity, such as whether it has the authority to initiate the transaction. Clients running on electronic devices (such as terminals or servers) under the jurisdiction of the business entity can request access to the blockchain network 900 and become client nodes.

[0137] First, when the client node 1110 of the business entity 1100 obtains the privileged information of the target user in the target application, it generates a transaction for obtaining the privileged information stored in the blockchain. The transaction specifies the smart contract that needs to be called to implement the privileged information acquisition operation and the parameters passed to the smart contract. The transaction also carries the digital certificate of the client node 1110 and the signed digital signature (for example, the transaction summary is encrypted using the private key in the digital certificate of the client node 1110), and broadcasts the transaction to the consensus node in the blockchain network 900.

[0138] Then, when consensus node 910 of blockchain network 900 receives the transaction, it verifies the digital certificate and digital signature carried in the transaction. If verification is successful, it confirms whether business entity 1100 has transaction authority based on the identity of business entity 1100 carried in the transaction. Either verification of the digital signature or the authority verification will cause the transaction to fail. After successful verification, consensus node 910 signs its own digital signature (for example, using the private key of node 910-1 to encrypt the transaction summary) and continues to broadcast it in blockchain network 900.

[0139] Finally, after receiving the successfully verified transaction, consensus node 910 in blockchain network 900 inserts the transaction into a new block and broadcasts it. When broadcasting a new block, consensus node 910 in blockchain network 900 performs a consensus process on the new block. If consensus is successful, the new block is appended to the end of its stored blockchain, and the state database is updated based on the transaction results. The transactions in the new block are executed. For transactions submitted to obtain privileged information, the key-value pair corresponding to the privileged information is queried from the state database, and the transaction results are returned.

[0140] As an example of blockchain, see Figure 10 , Figure 10 This is a schematic diagram of the structure of the blockchain in the blockchain network 900 provided by an embodiment of the present invention. The header of each block can include the hash values ​​of all transactions in the block as well as the hash values ​​of all transactions in the previous block. The records of newly generated transactions are filled into the block and, after consensus among the nodes in the blockchain network, are appended to the end of the blockchain to form a chain-like growth. The chain structure between blocks based on hash values ​​ensures that transactions in the block are tamper-proof and anti-forgery.

[0141] The following describes an exemplary functional architecture of the blockchain network provided by an embodiment of the present invention. Figure 11 , Figure 11 1 is a functional architecture diagram of a blockchain network 900 provided in an embodiment of the present invention, including an application layer 1, a consensus layer 2, a network layer 3, a data layer 4, and a resource layer 5, which are described below respectively.

[0142] The resource layer 5 encapsulates the computing resources, storage resources, and communication resources of each node 910 in the blockchain network 900.

[0143] Data layer 4 encapsulates various data structures that implement the ledger, including the blockchain implemented as files in the file system, key-value state databases, and proof of existence (such as the hash tree of transactions in a block).

[0144] Network layer 3 encapsulates the functions of point-to-point (P2P) network protocol, data transmission mechanism and data verification mechanism, access authentication mechanism and business subject identity management.

[0145] Among them, the P2P network protocol realizes the communication between nodes 910 in the blockchain network 900, the data propagation mechanism ensures the propagation of transactions in the blockchain network 900, and the data verification mechanism is used to realize the reliability of data transmission between nodes 910 based on cryptographic methods (such as digital certificates, digital signatures, public / private key pairs); the access authentication mechanism is used to authenticate the identity of the business entity joining the blockchain network 900 according to the actual business scenario, and grant the business entity the right to access the blockchain network 900 when the authentication is passed; the business entity identity management is used to store the identity of the business entity allowed to access the blockchain network 900, and the authority (such as the type of transaction that can be initiated).

[0146] Consensus layer 2 encapsulates the mechanism by which nodes 910 in the blockchain network 900 reach consensus on blocks (i.e., the consensus mechanism), as well as transaction management and ledger management functions. Consensus mechanisms include POS, POW, and DPOS, and support pluggable consensus algorithms.

[0147] Transaction management is used to verify the digital signature carried in the transaction received by node 910, verify the identity information of the business entity, and determine whether it has the authority to conduct transactions based on the identity information (read relevant information from the business entity identity management); for business entities that have obtained authorization to access the blockchain network 900, they all have digital certificates issued by the certification center. The business entity uses the private key in its own digital certificate to sign the submitted transaction, thereby declaring its legal identity.

[0148] Ledger management is used to maintain the blockchain and state database. Consensus-reached blocks are appended to the end of the blockchain. Transactions within the consensus-reached blocks are executed. When the transaction includes an update operation, the key-value pairs in the state database are updated. When the transaction includes a query operation, the key-value pairs in the state database are queried and the query results are returned to the client node of the business entity. Multiple query operations on the state database are supported, including: querying blocks by block sequence number (e.g., transaction hash value); querying blocks by block hash value; querying blocks by transaction sequence number; querying transactions by transaction sequence number; querying business entity account data by their account number (serial number); and querying the blockchain in a channel by channel name.

[0149] Application layer 1 encapsulates various services that can be implemented in the blockchain network, including transaction traceability, evidence storage, and verification.

[0150] The following uses the example of a user running a privilege management applet to manage the privileges of an Internet cafe in an application to further illustrate the privilege management method provided by the embodiment of the present invention. Figure 12 , Figure 12 This is a flowchart of a privilege management method provided by an embodiment of the present invention. The privilege management method provided by an embodiment of the present invention includes:

[0151] Step 1201: The terminal runs the privilege management applet and presents the privilege management interface of the privilege management applet.

[0152] Here, in actual application, when a user finds that his Internet cafe privileges in the target application (such as a game application) are invalid, he can obtain the corresponding privilege information by running the privilege management applet, find the reason for the privilege invalidation and the privilege repair method.

[0153] Specifically, the user may scan the QR code of the privilege management applet through a first client having a QR code scanning function to enter the privilege management applet.

[0154] The user can also access the privilege management applet by clicking the privilege management function button. In actual applications, the privilege management function item can be set in a privileged application client, such as a privileged video playback client; or set in a client for managing applications, such as a client for managing game application privileges. In this case, when the terminal receives a click operation on the privilege management function item presented in the second client, the privilege management applet is executed in the second client and the privilege management interface of the privilege management applet is presented.

[0155] Step 1202: Receive a privilege management instruction for a target application.

[0156] Here, the privilege management instruction is input by the target user through the privilege management interface, which is used to instruct the target user to obtain privilege information for the target application. This privilege information can include various Internet cafe privileges corresponding to the game application, privileges that are in a disabled state, the reasons for the privilege being disabled, and the corresponding privilege restoration methods.

[0157] In actual applications, when a user finds that their internet cafe privileges for a target application (such as a game application) have expired, they can enter privilege management instructions for the target application through the privilege management interface. The content of the privilege management instruction may include the name of the target application, user identification information, etc. For example, when a user finds that their internet cafe privileges for a game application have been lost, the privilege management instruction entered may be "diagnosis + user identification + reason for privilege loss", such as "diagnosis reason for loss of internet cafe privileges for 1444274711 (QQ number)".

[0158] Specifically, the terminal may receive a privilege management instruction in text form input by the user through a text instruction input box of the privilege management interface, or may receive a privilege management instruction in voice form through a voice instruction entry of the privilege management interface.

[0159] Step 1203: When the privilege management instruction is in voice form, the privilege management instruction is recognized, and the instruction text is obtained and presented.

[0160] Here, the ASR automatic speech recognition technology can be used to perform speech recognition on the privilege management instructions received in voice form and convert them into corresponding instruction texts.

[0161] Step 1204: Present the editing function key corresponding to the instruction text.

[0162] Here, the edit function key is used to indicate a function entry for editing the recognized instruction text.

[0163] Step 1205: Whether the instruction text needs to be edited.

[0164] In actual application, if the user finds that the recognized instruction text contains errors or does not match the ideal, the user can click the edit function key to enter the text editing interface for the instruction text, that is, execute steps 1206 and 1207. If the user finds that the recognized instruction text matches the ideal state, execute step 1208.

[0165] Step 1206: In response to a click operation on the edit function key, present a text editing interface corresponding to the instruction text.

[0166] Step 1207: In response to the editing operation performed on the instruction text based on the text editing interface, present the edited instruction text.

[0167] Here, see Figure 7 After the terminal recognizes the privilege management instruction in voice form entered by the user, it recognizes and presents the instruction text "True Diagnosis 1444274711", and presents the editing function key corresponding to the instruction text. When the user confirms that the recognized instruction text does not match his or her personal expectation, he or she clicks the editing function key. The terminal responds to the click operation on the editing function key and presents a text editing interface. The user can edit the recognized instruction text "True Diagnosis 1444274711" in the text editing interface. After receiving the editing operation on the text instruction, the terminal presents the edited instruction text "Diagnosis 1444274711." After the editing is completed, the text editing interface can be exited by responding to the click operation of the confirmation button of the diagnosis text editing interface, and the privilege management interface containing the edited instruction text "Diagnosis 1444274711" is further presented.

[0168] Step 1208: Send the privilege management instruction to the server.

[0169] Step 1209: The server responds to the privilege management instruction by parsing the privilege management instruction to obtain the user ID of the target user and the application ID of the target application.

[0170] Step 1210: Based on the user identifier and the application identifier, obtain the privilege information of the target user in the target application and return it to the terminal.

[0171] Here, the server searches for the corresponding privilege information in the stored privilege-related data based on the user identifier, application identifier, and other information obtained through the analysis. This privilege information may include the various privileges that the target user has in the target application, such as free use of game props in game applications, a 30% bonus on experience gains, or free viewing of paid videos and ad-free privileges in video playback applications. It may also include the privilege status of each privilege, such as whether it is valid. At the same time, when the privilege status of some privileges is invalid, corresponding privilege repair methods may also be presented, such as turning on the privilege switch, recharging the privilege balance, etc.

[0172] Specifically, taking the example of a user discovering that the Internet cafe privilege of a game application has expired and sending a privilege management instruction to obtain the privilege information of the game application, the server judges and analyzes whether the current game terminal is in a logged-in state, whether the Internet cafe privilege client is started, whether the privilege switch is turned on, whether it is in a privileged Internet cafe (that is, whether the Internet cafe IP is in the IP whitelist), whether the security check has passed, etc. based on the user identifier contained in the privilege management instruction, so as to obtain the reason why the user's Internet cafe privilege has expired in the game application and the corresponding privilege repair method.

[0173] For example, the reasons for the failure of the Internet cafe privileges of the game application may include insufficient Internet cafe privilege points (privilege balance), the privilege switch is not turned on, the Internet cafe IP is not in the privileged Internet cafe IP whitelist, etc. The corresponding privilege repair methods can be "Please recharge Internet cafe privilege points", "Please turn on the privilege switch", etc. Figure 8 , Figure 8 The reason for privilege failure is "Privilege switch is not turned on." The corresponding privilege repair method is "Please turn on the privilege switch."

[0174] Step 1211: Receive and present privilege information including the reason for invalidation of the Internet cafe privilege of the target application and the privilege restoration method.

[0175] Here, when the privilege repair method corresponding to the privilege of the target application can be automatically executed, the terminal may further present a privilege repair button corresponding to the privilege.

[0176] Step 1212: In response to a click operation on the privilege repair button, the privilege of the target application is repaired based on a corresponding privilege repair method, so that the privilege state of the privilege is changed from an invalid state to a valid state.

[0177] Step 1213: Restart the target application to obtain privileges.

[0178] By applying the above embodiment, by setting up a privilege management applet, users can quickly obtain the reasons for the privilege failure and the privilege repair method when they find that the privileges of the target application have failed, thereby solving the problem of privilege failure in time without waiting, thereby improving the user experience; in the Internet cafe scenario, entering the privilege management applet by scanning the QR code facilitates users to operate through the mobile terminal; setting up a voice input method for privilege management instructions further increases the convenience of using the privilege management applet on the mobile terminal.

[0179] Next, the privilege management device 255 provided by the embodiment of the present invention will be described. In some embodiments, the privilege management device can be implemented in the form of a software module. Figure 13 , Figure 13 2 is a schematic diagram of the structure of the privilege management device 255 provided in an embodiment of the present invention. The privilege management device 255 provided in an embodiment of the present invention includes:

[0180] A running module 2551 is configured to, in response to a running operation of a privilege management applet triggered by a client, run the privilege management applet in the client and present a privilege management interface of the privilege management applet; wherein the privilege management applet is used to manage user privileges in at least one application;

[0181] A receiving module 2552 is configured to receive a privilege management instruction for a target application, where the privilege management instruction is input by a target user based on the privilege management interface;

[0182] The presentation module 2553 is configured to present, in response to the privilege management instruction, privilege information of the target user in the target application, where the privilege information includes at least one of the following:

[0183] The privilege content of each privilege of the target user in the target application, the privilege status of each privilege of the target user in the target application, and the corresponding privilege repair method when the privilege status is invalid.

[0184] In some embodiments, the execution module 2551 is further configured to respond to a scanning operation of a QR code of the privilege management applet through the first client;

[0185] The privilege management applet is run in the first client.

[0186] In some embodiments, the execution module 2551 is further configured to respond to a click operation on a privilege management function item presented in the second client;

[0187] The privilege management applet is run in the second client.

[0188] In some embodiments, the presenting module 2553 is further configured to present the recognized instruction text corresponding to the privileged management instruction when the privileged management instruction is a voice-based privileged management instruction; and

[0189] An editing function key corresponding to the instruction text is presented, and the editing function key is used to indicate a function entry for editing the identified instruction text.

[0190] In some embodiments, the presentation module 2553 is further configured to present a confirmation button corresponding to the privilege management instruction; wherein the confirmation button is configured to perform a confirmation operation on the recognized instruction text or the edited instruction text.

[0191] In some embodiments, the presenting module 2553 is further configured to present a text editing interface corresponding to the instruction text in response to a click operation on the edit function key;

[0192] In response to an editing operation performed on the instruction text based on the text editing interface, the edited instruction text is presented.

[0193] In some embodiments, the receiving module 2552 is further configured to present a text instruction input box in the privilege management interface;

[0194] receiving and presenting the privilege management instruction in text form input based on the text instruction input box;

[0195] Alternatively, a voice command entry is presented in the privilege management interface;

[0196] The privilege management instruction is received in a voice format based on the voice instruction entry.

[0197] In some embodiments, the presenting module 2553 is further configured to present a privilege repair button corresponding to the target privilege when the privilege information includes a privilege status of the target privilege and the privilege status of the target privilege is invalid;

[0198] In response to a click operation on the privilege repair button, the target privilege is repaired based on a privilege repair method corresponding to the target privilege, so that the privilege state of the target privilege is changed from an invalid state to a valid state.

[0199] In some embodiments, the apparatus further comprises:

[0200] a parsing module, configured to parse the privilege management instruction to obtain a user identifier of the target user and an application identifier of the target application;

[0201] Based on the user identifier and the application identifier, privilege information of the target user in the target application is obtained.

[0202] In some embodiments, the apparatus further comprises:

[0203] A storage module is used to store the privilege information of the target user in the target application in the blockchain network.

[0204] An embodiment of the present invention further provides an electronic device, comprising:

[0205] a memory for storing executable instructions;

[0206] The processor is configured to implement the privilege management method provided by the embodiment of the present invention when executing the executable instructions stored in the memory.

[0207] An embodiment of the present invention further provides a computer-readable storage medium storing executable instructions. When the executable instructions are executed by a processor, the privilege management method provided by the embodiment of the present invention is implemented.

[0208] In some embodiments, the computer-readable storage medium may be a memory device such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface mount memory, optical disk, or CD-ROM; or various devices including any one or any combination of the above memories. The computer may be various computing devices including smart terminals and servers.

[0209] In some embodiments, executable instructions may be in the form of a program, software, software module, script, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.

[0210] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinating files (e.g., files storing one or more modules, subroutines, or code portions).

[0211] By way of example, executable instructions may be deployed to be executed on one computing device, or on multiple computing devices at one site, or on multiple computing devices distributed across multiple sites and interconnected by a communication network.

[0212] The above description is merely an embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, and improvements made within the spirit and scope of the present invention are included in the scope of protection of the present invention.

Claims

1. A privilege management method, characterized in that: The method comprises: In response to the operation of running the privilege management applet triggered by the client, running the privilege management applet in the client, and Presenting a privilege management interface of the privilege management applet; wherein the privilege management applet is used to manage user privileges in at least one application; receiving a privilege management instruction for a target application, wherein the privilege management instruction is input by a target user based on the privilege management interface; In response to the privilege management instruction, presenting privilege information of the target user in the target application, the privilege information including at least one of the following: The privilege content of each privilege of the target user in the target application, the privilege status of each privilege of the target user in the target application, and when the privilege status is invalid, the corresponding privilege repair method, wherein the privilege repair method includes a manually executed type and an automatically executed type; When the privilege repair mode is of the automatically executable type, a privilege repair button is displayed. In response to a click operation on the privilege repair button, the target privilege is automatically repaired so that the privilege state of the target privilege is changed from an invalid state to a valid state.

2. The method according to claim 1, wherein In response to the operation of running the privilege management applet triggered by the client, running the privilege management applet in the client includes: In response to a scanning operation of the QR code of the privilege management applet through the first client; The privilege management applet is run in the first client.

3. The method according to claim 1, wherein In response to the operation of running the privilege management applet triggered by the client, running the privilege management applet in the client includes: In response to a click operation on a privilege management function item presented in the second client; The privilege management applet is run in the second client.

4. The method according to claim 1, wherein After receiving the privilege management instruction for the target application, the method further includes: When the privilege management instruction is a privilege management instruction in voice form, presenting the instruction text corresponding to the recognized privilege management instruction; and An editing function key corresponding to the instruction text is presented, and the editing function key is used to indicate a function entry for editing the identified instruction text.

5. The method according to claim 4, wherein The method further comprises: Presenting a confirmation button corresponding to the privilege management instruction; The confirmation button is used to confirm the recognized instruction text or the edited instruction text.

6. The method according to claim 4, wherein The method further comprises: In response to a click operation on the editing function key, presenting a text editing interface corresponding to the instruction text; In response to an editing operation performed on the instruction text based on the text editing interface, the edited instruction text is presented.

7. The method according to claim 1, wherein The receiving of the privilege management instruction for the target application includes: Presenting a text instruction input box in the privilege management interface; receiving and presenting the privilege management instruction in text form input based on the text instruction input box; Alternatively, a voice command entry is presented in the privilege management interface; The privilege management instruction is received in a voice format based on the voice instruction entry.

8. The method according to claim 1, wherein The method further comprises: The target user's privilege information in the target application is stored in the blockchain network.

9. The method according to claim 1, wherein Before presenting the privilege information of the target user to the target application, the method further includes: Parsing the privilege management instruction to obtain the user identifier of the target user and the application identifier of the target application; Based on the user identifier and the application identifier, privilege information of the target user in the target application is obtained.

10. A privilege management device, characterized in that: The device comprises: a running module, configured to, in response to a running operation of a privilege management applet triggered by a client, run the privilege management applet in the client and present a privilege management interface of the privilege management applet; wherein the privilege management applet is used to manage privileges of a user in at least one application; a receiving module, configured to receive a privilege management instruction for a target application, wherein the privilege management instruction is input by a target user based on the privilege management interface; a presentation module, configured to present, in response to the privilege management instruction, privilege information of the target user in the target application, the privilege information including at least one of the following: The privilege content of each privilege of the target user in the target application, the privilege status of each privilege of the target user in the target application, and when the privilege status is invalid, the corresponding privilege repair method, wherein the privilege repair method includes a manually executed type and an automatically executed type; The presentation module is further configured to display a privilege repair button when the privilege repair mode is an automatically executable type, and automatically repair a target privilege in response to a click operation on the privilege repair button, so that the privilege state of the target privilege changes from an invalid state to a valid state.

11. The device according to claim 10, wherein The operation module is further used to: In response to a scanning operation of the QR code of the privilege management applet through the first client; The privilege management applet is run in the first client.

12. The device according to claim 10, wherein The operation module is further used to: In response to a click operation on a privilege management function item presented in the second client; The privilege management applet is run in the second client.

13. The device according to claim 10, wherein The presenting module is further configured to: When the privilege management instruction is a privilege management instruction in voice form, presenting the instruction text corresponding to the recognized privilege management instruction; and An editing function key corresponding to the instruction text is presented, and the editing function key is used to indicate a function entry for editing the identified instruction text.

14. An electronic device comprising: a memory for storing executable instructions; The processor is configured to implement the privilege management method according to any one of claims 1 to 9 when executing the executable instructions stored in the memory.

15. A computer-readable storage medium storing executable instructions, wherein when the executable instructions are executed by a processor, the privilege management method according to any one of claims 1 to 9 is implemented.

Citation Information

Patent Citations

  • Electronic device and method of controlling the same

    CN103941959A

  • Service distribution method, device and equipment and storage medium

    CN110311976A

  • Information display method and terminal equipment

    CN110908557A