Application program running method and device
By sending identity authentication requests to users in the UOS operating system and verifying them, and running applications that require root permissions in process mirroring technology, the problem that programs in the UOS system cannot use root permissions is solved, and the system stability and universality are improved.
Patent Information
- Application Number
- CN202110391242.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-04-12
- Publication Date
- 2025-05-02
- Estimated Expiration
- 2041-04-12
AI Technical Summary
In UOS operating systems, many programs or software that require root permissions to be executed cannot run. The existing technology achieves root permissions improvement by modifying the kernel, but it is technically difficult and will affect system stability.
When the user receives the operation started with root permissions by the target application, the user sends an identity authentication request, receives and verifies the user's identity information, and runs the target application based on process mirroring technology when the authentication is successful.
It realizes running applications that require root permissions on the UOS system, avoids affecting system stability and improves the universality of the method.
Smart Images

Figure CN113515731B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of root permission management, and in particular to a method and device for running an application. Background Art
[0002] In the UOS operating system, for security reasons, the root account is disabled by default, and only non-root accounts can be created to log in. At the same time, to ensure stability, reliability, security and operating experience, the application software supported by the system is managed uniformly by the application store, and the required software needs to be installed through the system's built-in application store.
[0003] Therefore, many programs or software that require root permissions to execute cannot run on the UOS system. Currently, the number of programs in the UOS app store is limited and cannot meet diverse needs.
[0004] In the existing technical solutions, in order to solve the above problems, the kernel is usually modified to add character devices to receive commands, and the root privilege is enhanced by modifying the process control structure in the kernel. This method is technically difficult, affects the stability of the system, and has poor versatility. Summary of the invention
[0005] The present application provides an application running method and device to solve the problem that the solution of running programs or software requiring root permissions in the prior art is technically difficult, affects system stability, and has poor versatility.
[0006] In order to solve the above problems, an embodiment of the present application provides an application running method, which is applied to the UOS operating system, and the method includes:
[0007] When receiving an operation of starting a target application with root privileges from a user, sending an identity authentication request to the user;
[0008] Receiving user identity information returned by the user based on the identity authentication request;
[0009] Performing authentication processing on the user identity information to obtain an authentication result;
[0010] When the authentication result is a successful authentication result, the target application is run based on the process mirroring technology.
[0011] Optionally, before sending the identity authentication request to the user, the method further includes:
[0012] Configuring root permission information of at least one application; the at least one application includes the target application;
[0013] Packaging the root permission information to generate a root permission acquisition software package;
[0014] The root permission acquisition software package is published on the UOS application platform.
[0015] Optionally, the receiving the user identity information returned by the user based on the identity authentication request includes:
[0016] Receive the verification password returned by the user based on the identity authentication request.
[0017] Optionally, the performing authentication processing on the user identity information to obtain an authentication result includes:
[0018] Compare the verification password with a pre-stored password corresponding to the user;
[0019] The password comparison result is used as the authentication result.
[0020] Optionally, after the authentication process is performed on the user identity information to obtain an authentication result, the method further includes:
[0021] When the authentication result is an authentication failure, a running error prompt message corresponding to the target application is generated and output.
[0022] Optionally, the running of the target application based on the process mirroring technology includes:
[0023] Creating a running space corresponding to the target application;
[0024] Acquire the operating parameters of the user corresponding to the target application;
[0025] The running parameters are copied to the running space, and the target application is started in the running space.
[0026] In order to solve the above technical problems, the embodiment of the present application further provides an application running device, which is applied to the UOS operating system, and the device includes:
[0027] An authentication request sending module, configured to send an identity authentication request to a user upon receiving an operation of starting a target application with root privileges by the user;
[0028] A user identity receiving module, used to receive the user identity information returned by the user based on the identity authentication request;
[0029] An authentication result acquisition module is used to perform authentication processing on the user identity information to obtain an authentication result;
[0030] The target application running module is used to run the target application program based on the process mirroring technology when the authentication result is a successful authentication result.
[0031] Optionally, the device further comprises:
[0032] A root permission information configuration module, used to configure root permission information of at least one application; the at least one application includes the target application;
[0033] Root software package generation module, used to package the root permission information and generate a root permission acquisition software package;
[0034] The root software package publishing module is used to publish the root permission acquisition software package on the UOS application platform.
[0035] Optionally, the user identity receiving module includes:
[0036] The verification password receiving unit is used to receive the verification password returned by the user based on the identity authentication request.
[0037] Optionally, the authentication result acquisition module includes:
[0038] A verification password comparison unit, used to compare the verification password with a pre-stored password corresponding to the user;
[0039] The authentication result obtaining unit is used to use the password comparison result as the authentication result.
[0040] Optionally, the device further comprises:
[0041] The error prompt information generation module is used to generate and output the running error prompt information corresponding to the target application when the authentication result is the result of authentication failure.
[0042] Optionally, the target application running module includes:
[0043] An operation space creation unit, used to create an operation space corresponding to the target application;
[0044] An operating parameter acquisition unit, used to acquire the operating parameters of the user corresponding to the target application;
[0045] The target application startup unit is used to copy the operation parameters to the operation space and start the target application program in the operation space.
[0046] Compared with the prior art, this application has the following advantages:
[0047] The embodiment of the present application provides an application running method and device, by sending an identity authentication request to the user when receiving the user's operation of starting the target application with root privileges, receiving the user identity information returned by the user based on the identity authentication request, performing authentication processing on the user identity information, and obtaining an authentication result. When the authentication result is a successful authentication result, the target application is run based on the process mirroring technology. The embodiment of the present application uses identity authentication technology and process mirroring technology to realize the root privilege startup program, thereby solving the problem that the program on the UOS system cannot use root privileges, avoiding affecting the system stability, and has strong versatility. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 A flowchart of a method for running an application program provided in an embodiment of the present application;
[0049] Figure 2 A flowchart of another method for running an application program provided in an embodiment of the present application;
[0050] Figure 3 A schematic diagram of the structure of an application program running device provided in an embodiment of the present application;
[0051] Figure 4 A schematic diagram of the structure of another application running device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0052] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods.
[0053] Embodiment 1
[0054] Reference Figure 1 , shows a flowchart of the steps of an application running method provided by an embodiment of the present application, and the application running method can be applied to the UOS operating system, such as Figure 1 As shown, the application running method may specifically include the following steps:
[0055] Step 101: upon receiving an operation of starting a target application with root authority from a user, sending an identity authentication request to the user.
[0056] The embodiments of the present application can be applied to scenarios where a target application is run in combination with identity authentication technology and process mirroring technology.
[0057] This embodiment can be applied to the UOS operating system. In the prior art, for security reasons, the root account is disabled by default, and only non-root accounts can be created to log in. At the same time, to ensure stability, reliability, security and operating experience, the application software supported by the system is uniformly managed by the application store, and the required software needs to be installed through the system's built-in application store.
[0058] The target application refers to a pre-set application that needs to be started with root permissions. In this example, the target application can be a video application, an audio application, etc. The specific type of the target application can be determined according to business needs, and this embodiment does not limit this.
[0059] The embodiment of the present application pre-creates and publishes a root permission acquisition software package (this process will be described in the following embodiment 2 and will not be repeated here in this example). When a user initiates an operation to start a target application with root permission, the root permission acquisition software package can be downloaded through the application store, and an identity authentication request can be sent to the user through the root permission acquisition software package.
[0060] After sending the identity authentication request to the user, step 102 is executed.
[0061] Step 102: Receive user identity information returned by the user based on the identity authentication request.
[0062] User identity information refers to information used to indicate the identity of the user. In this embodiment, the user identity information may be a verification password, for example, a user needs a specific account and password to run an application with root privileges. When the user needs to run the application with root privileges, the user only needs to enter the password. The password of the currently logged-in account can be verified on the system side. At this time, the password entered by the user can be used as the user identity information, etc.
[0063] It can be understood that the above examples are merely examples listed for a better understanding of the technical solutions of the embodiments of the present application, and are not intended to be the sole limitation to the embodiments.
[0064] After sending the identity authentication request to the user, the user may input user identity information for running the target application with root privileges.
[0065] After receiving the user identity information returned by the user based on the identity authentication request, step 103 is executed.
[0066] Step 103: Authentication processing is performed on the user identity information to obtain an authentication result.
[0067] After receiving the user identity information returned by the user based on the identity authentication request, the user identity information may be authenticated to obtain an authentication result, which may include a successful authentication result and a failed authentication result. Specifically, when the user identity information is a verification password, the verification password input by the user may be compared with a pre-stored password of the user that is pre-saved, and the password comparison result may be used as the authentication result. For example, when the verification password is consistent with the pre-stored password, the authentication result is determined to be a successful authentication result, and when the verification password is inconsistent with the pre-stored password, the authentication result is determined to be a failed authentication result, etc.
[0068] After the user identity information is authenticated to obtain an authentication result, step 104 is executed.
[0069] Step 104: When the authentication result is a successful authentication result, the target application is run based on the process mirroring technology.
[0070] When the authentication result obtained is a successful authentication result, the target application program may be run using process mirroring technology, which may be specifically described in detail in conjunction with the following specific implementation method.
[0071] In a specific implementation of the present application, the above step 104 may include:
[0072] Sub-step S1: Create a running space corresponding to the target application.
[0073] In this embodiment, after the user identity information is successfully authenticated, a running space corresponding to the target application can be created.
[0074] After creating the running space corresponding to the target application, sub-step S2 is executed.
[0075] Sub-step S2: Acquire the user's operating parameters corresponding to the target application.
[0076] The running parameters refer to the parameters used by the user to run the target application. In this example, the running parameters can be parameters such as the environment variables of the logged-in user.
[0077] After creating the running space corresponding to the target application, the running parameters of the user corresponding to the target application may be obtained.
[0078] After obtaining the user's operating parameters corresponding to the target application, sub-step S3 is executed.
[0079] Sub-step S3: copying the running parameters to the running space, and starting the target application in the running space.
[0080] After obtaining the user's running parameters corresponding to the target application, the running parameters can be copied to the running space and the target application can be started in the running space. Specifically, all data in the user's process space is copied to create a new process, the environment variables of the currently logged-in user are obtained and set to the newly created process space, and the specified program is started (the specified program started has root permissions at this time).
[0081] The embodiment of the present application uses identity authentication technology and process mirroring technology to enable the program to be started with root privileges, thereby solving the problem that programs on the UOS system cannot use root privileges while avoiding affecting system stability.
[0082] The application running method provided in the embodiment of the present application sends an identity authentication request to the user when receiving the user's operation of starting the target application with root authority, receives the user identity information returned by the user based on the identity authentication request, performs authentication processing on the user identity information, obtains the authentication result, and when the authentication result is a successful authentication result, runs the target application based on the process mirroring technology. The embodiment of the present application realizes the root authority startup program by adopting the identity authentication technology and the process mirroring technology, thereby solving the problem that the program on the UOS system cannot use the root authority, avoiding affecting the system stability, and has strong versatility.
[0083] Embodiment 2
[0084] Reference Figure 2 , shows a flowchart of the steps of another application running method provided by an embodiment of the present application, the application running method can be applied to the UOS operating system, such as Figure 2 As shown, the application running method may specifically include the following steps:
[0085] Step 201: configuring root permission information of at least one application; the at least one application includes the target application.
[0086] The embodiments of the present application can be applied to scenarios where a target application is run in combination with identity authentication technology and process mirroring technology.
[0087] This embodiment can be applied to the UOS operating system. In the prior art, for security reasons, the root account is disabled by default, and only non-root accounts can be created to log in. At the same time, to ensure stability, reliability, security and operating experience, the application software supported by the system is uniformly managed by the application store, and the required software needs to be installed through the system's built-in application store.
[0088] In this example, the root permission information of at least one application may be configured first, and the at least one application may include the target application mentioned in the following steps. The root permission information may include: a process management module, a PAM authentication module, a root permission acquisition module, etc.
[0089] After configuring the root permission information of at least one application, step 202 is performed.
[0090] Step 202: Packaging the root permission information to generate a root permission acquisition software package.
[0091] After configuring the root permission information of at least one application, the root permission information can be packaged to obtain a root permission acquisition software package. Specifically, the process management module, the PAM authentication module, and the root permission acquisition module can be packaged according to the rules of the UOS application store to obtain a root permission acquisition software package. Of course, in the installation package script, modules that are automatically run and to be run with root permissions under non-root users, such as the root permission acquisition module, are configured, and the packaged software package is named the root permission acquisition software package.
[0092] After the root authority information is packaged to generate a root authority acquisition software package, step 203 is executed.
[0093] Step 203: Publish the root permission acquisition software package on the UOS application platform.
[0094] After the root permission information is packaged to generate a root permission acquisition software package, the root permission acquisition software package can be published on a UOS application platform (such as a UOS application store, etc.).
[0095] After the UOS application platform releases the root permission acquisition software package, step 204 is executed.
[0096] Step 204: When receiving an operation of starting the target application with root authority from the user, an identity authentication request is sent to the user.
[0097] The target application refers to a pre-set application that needs to be started with root permissions. In this example, the target application can be a video application, an audio application, etc. The specific type of the target application can be determined according to business needs, and this embodiment does not limit this.
[0098] When receiving an operation of starting the target application with root authority from the user, a root authority acquisition software package may be downloaded from the application store, and an identity authentication request may be sent to the user through the root authority acquisition software package.
[0099] In the specific implementation, after receiving the user's operation to start the target application with root permissions, the root permission software package can be downloaded and installed through the UOS application platform, and the relevant program can be started after the installation is complete (the UOS application store program has root permissions and will install the downloaded software package with root permissions. The installation script of the software package can configure the program to start with root permissions under non-root users).
[0100] After sending the identity authentication request to the user, step 205 is executed.
[0101] Step 205: Receive user identity information returned by the user based on the identity authentication request.
[0102] User identity information refers to information used to indicate the identity of the user. In this embodiment, the user identity information may be a verification password, for example, a user needs a specific account and password to run an application with root privileges. When the user needs to run the application with root privileges, the user only needs to enter the password. The password of the currently logged-in account can be verified on the system side. At this time, the password entered by the user can be used as the user identity information, etc.
[0103] It can be understood that the above examples are merely examples listed for a better understanding of the technical solutions of the embodiments of the present application, and are not intended to be the sole limitation to the embodiments.
[0104] After sending the identity authentication request to the user, the user may input user identity information for running the target application with root privileges.
[0105] After receiving the user identity information returned by the user based on the identity authentication request, step 206 is executed.
[0106] Step 206: Authentication processing is performed on the user identity information to obtain an authentication result.
[0107] After receiving the user identity information returned by the user based on the identity authentication request, the user identity information may be authenticated to obtain an authentication result, which may include a successful authentication result and a failed authentication result. Specifically, when the user identity information is a verification password, the verification password input by the user may be compared with a pre-stored password of the user that is pre-saved, and the password comparison result may be used as the authentication result. For example, when the verification password is consistent with the pre-stored password, the authentication result is determined to be a successful authentication result, and when the verification password is inconsistent with the pre-stored password, the authentication result is determined to be a failed authentication result, etc.
[0108] After the user identity information is authenticated to obtain the authentication result, step 207 is executed, or step 208 is executed.
[0109] Step 207: When the authentication result is a successful authentication result, the target application is run based on the process mirroring technology.
[0110] When the authentication result obtained is a successful authentication result, the target application program may be run using process mirroring technology, which may be specifically described in detail in conjunction with the following specific implementation method.
[0111] In a specific implementation of the present application, the above step 207 may include:
[0112] Sub-step M1: Create a running space corresponding to the target application.
[0113] In this embodiment, after the user identity information is successfully authenticated, a running space corresponding to the target application can be created.
[0114] After creating the running space corresponding to the target application, execute sub-step M2.
[0115] Sub-step M2: Acquire the user's operating parameters corresponding to the target application.
[0116] The running parameters refer to the parameters used by the user to run the target application. In this example, the running parameters can be parameters such as the environment variables of the logged-in user.
[0117] After creating the running space corresponding to the target application, the running parameters of the user corresponding to the target application may be obtained.
[0118] After obtaining the user's operating parameters corresponding to the target application, sub-step M3 is executed.
[0119] Sub-step M3: copy the running parameters to the running space, and start the target application in the running space.
[0120] After obtaining the user's running parameters corresponding to the target application, the running parameters can be copied to the running space and the target application can be started in the running space. Specifically, all data in the user's process space is copied to create a new process, the environment variables of the currently logged-in user are obtained and set to the newly created process space, and the specified program is started (the specified program started has root permissions at this time).
[0121] Step 208: When the authentication result is an authentication failure, generate and output a running error prompt message corresponding to the target application.
[0122] When the authentication result corresponding to the user identity information is an authentication failure, an operation error prompt message corresponding to the target application can be generated and output to the user. The user-entered user identity information can be prompted for identification and recognition. The user can re-enter the user identity information for authentication, or directly exit the operation of the target application.
[0123] In recent years, with the sudden occurrence of various leaks, it has posed a great threat to national security and long-term development. Therefore, the state has set up a national information security team and attaches great importance to network security. It has put forward higher security protection requirements for the financial industry, which is related to the national economy and people's livelihood, to avoid leaks.
[0124] Recently, as the trade war intensifies, various industries have accelerated the pace of domestic substitution of foreign operating systems and software. The financial industry is actively exploring the evaluation of domestic operating systems and supporting software. The V3 client based on the domestic operating system came into being, and the function of specifying program privilege escalation can all apply the above solution provided in the embodiment of this application.
[0125] The application running method provided in the embodiment of the present application sends an identity authentication request to the user when receiving the user's operation of starting the target application with root authority, receives the user identity information returned by the user based on the identity authentication request, performs authentication processing on the user identity information, obtains the authentication result, and when the authentication result is a successful authentication result, runs the target application based on the process mirroring technology. The embodiment of the present application realizes the root authority startup program by adopting the identity authentication technology and the process mirroring technology, thereby solving the problem that the program on the UOS system cannot use the root authority, avoiding affecting the system stability, and has strong versatility.
[0126] Embodiment 3
[0127] Reference Figure 3 , shows a schematic diagram of the structure of an application running device provided in an embodiment of the present application, the application running device can be applied to the UOS operating system, such as Figure 3As shown, the application program running device 300 may specifically include the following modules:
[0128] An authentication request sending module 310 is used to send an identity authentication request to the user when receiving an operation of starting the target application with root privileges by the user;
[0129] A user identity receiving module 320, configured to receive user identity information returned by the user based on the identity authentication request;
[0130] The authentication result acquisition module 330 is used to perform authentication processing on the user identity information to obtain an authentication result;
[0131] The target application running module 340 is used to run the target application program based on the process mirroring technology when the authentication result is a successful authentication result.
[0132] The application running device provided in the embodiment of the present application sends an identity authentication request to the user when receiving the user's operation of starting the target application with root authority, receives the user identity information returned by the user based on the identity authentication request, performs authentication processing on the user identity information, obtains the authentication result, and when the authentication result is a successful authentication result, runs the target application based on the process mirroring technology. The embodiment of the present application realizes the root authority startup program by adopting the identity authentication technology and the process mirroring technology, thereby avoiding affecting the system stability on the basis of solving the problem that the program on the UOS system cannot use the root authority, and has strong versatility.
[0133] Embodiment 4
[0134] Reference Figure 4 , shows a schematic diagram of the structure of another application running device provided in an embodiment of the present application, the application running device can be applied to the UOS operating system, such as Figure 4 As shown, the application program running device 400 may specifically include the following modules:
[0135] Root permission information configuration module 410, used to configure root permission information of at least one application; the at least one application includes the target application;
[0136] Root software package generation module 420, used to package the root permission information and generate a root permission acquisition software package;
[0137] Root software package publishing module 430, used to publish the root permission acquisition software package on the UOS application platform;
[0138] The authentication request sending module 440 is used to send an identity authentication request to the user when receiving an operation of starting the target application with root authority from the user;
[0139] A user identity receiving module 450 is used to receive user identity information returned by the user based on the identity authentication request;
[0140] The authentication result acquisition module 460 is used to perform authentication processing on the user identity information to obtain an authentication result;
[0141] A target application running module 470, configured to run the target application based on process mirroring technology when the authentication result is a successful authentication result;
[0142] The error prompt information generation module 480 is used to generate and output the running error prompt information corresponding to the target application when the authentication result is an authentication failure.
[0143] Optionally, the user identity receiving module 450 includes:
[0144] The verification password receiving unit is used to receive the verification password returned by the user based on the identity authentication request.
[0145] Optionally, the authentication result acquisition module 460 includes:
[0146] A verification password comparison unit, used to compare the verification password with a pre-stored password corresponding to the user;
[0147] The authentication result obtaining unit is used to use the password comparison result as the authentication result.
[0148] Optionally, the target application running module 470 includes:
[0149] An operation space creation unit, used to create an operation space corresponding to the target application;
[0150] An operating parameter acquisition unit, used to acquire the operating parameters of the user corresponding to the target application;
[0151] The target application startup unit is used to copy the operation parameters to the operation space and start the target application program in the operation space.
[0152] The application running device provided in the embodiment of the present application sends an identity authentication request to the user when receiving the user's operation of starting the target application with root authority, receives the user identity information returned by the user based on the identity authentication request, performs authentication processing on the user identity information, obtains the authentication result, and when the authentication result is a successful authentication result, runs the target application based on the process mirroring technology. The embodiment of the present application realizes the root authority startup program by adopting the identity authentication technology and the process mirroring technology, thereby avoiding affecting the system stability on the basis of solving the problem that the program on the UOS system cannot use the root authority, and has strong versatility.
[0153] For the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0154] In addition, an embodiment of the present application further provides an electronic device, comprising: a processor, a memory, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, any of the above-described application program execution methods is implemented.
[0155] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0156] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0157] The above is a detailed introduction to an application running method and an application running device provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea; at the same time, for general technical personnel in this field, according to the idea of the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.
Claims
1. A method for running an application program, applied to a UOS operating system, characterized in that: The method comprises: Configure root permission information for at least one application; The at least one application comprises a target application; Packaging the root permission information to generate a root permission acquisition software package; Release the root permission acquisition software package on the UOS application platform; When receiving an operation of starting the target application with root privileges from the user, downloading a root privilege acquisition software package through the application platform, and sending an identity authentication request to the user through the root privilege acquisition software package; Receiving user identity information returned by the user based on the identity authentication request; Performing authentication processing on the user identity information to obtain an authentication result; When the authentication result is a successful authentication result, the target application is run based on the process mirroring technology.
2. The method according to claim 1, characterized in that The receiving the user identity information returned by the user based on the identity authentication request includes: Receive the verification password returned by the user based on the identity authentication request.
3. The method according to claim 2, characterized in that The performing authentication processing on the user identity information to obtain an authentication result includes: Compare the verification password with a pre-stored password corresponding to the user; The password comparison result is used as the authentication result.
4. The method according to claim 1, characterized in that: After the authentication process is performed on the user identity information to obtain the authentication result, the method further includes: When the authentication result is an authentication failure, a running error prompt message corresponding to the target application is generated and output.
5. The method according to claim 1, characterized in that The process mirroring technology is used to run the target application, including: Creating a running space corresponding to the target application; Acquire the operating parameters of the user corresponding to the target application; The running parameters are copied to the running space, and the target application is started in the running space.
6. An application running device, applied to the UOS operating system, characterized in that: The device comprises: An authentication request sending module is used to download a root permission acquisition software package through the application platform when receiving an operation of starting the target application with root permission from the user, and send an identity authentication request to the user through the root permission acquisition software package; A user identity receiving module, used to receive the user identity information returned by the user based on the identity authentication request; An authentication result acquisition module is used to perform authentication processing on the user identity information to obtain an authentication result; A target application running module, used for running the target application based on process mirroring technology when the authentication result is a successful authentication result; A root permission information configuration module, used to configure root permission information of at least one application; the at least one application includes the target application; Root software package generation module, used to package the root permission information and generate a root permission acquisition software package; The root software package publishing module is used to publish the root permission acquisition software package on the UOS application platform.
7. The device according to claim 6, characterized in that The user identity receiving module comprises: The verification password receiving unit is used to receive the verification password returned by the user based on the identity authentication request.
8. The device according to claim 7, characterized in that The authentication result acquisition module includes: A verification password comparison unit, used to compare the verification password with a pre-stored password corresponding to the user; The authentication result obtaining unit is used to use the password comparison result as the authentication result.
9. The device according to claim 6, characterized in that The device also includes: The error prompt information generation module is used to generate and output the running error prompt information corresponding to the target application when the authentication result is a result of authentication failure.
10. The device according to claim 6, characterized in that The target application running module includes: An operation space creation unit, used to create an operation space corresponding to the target application; An operating parameter acquisition unit, used to acquire the operating parameters of the user corresponding to the target application; The target application startup unit is used to copy the operation parameters to the operation space and start the target application program in the operation space.
Citation Information
Patent Citations
Method, device and system for performing authentication and authority management on user, and medium
CN109474632A