Mode switching method and related apparatus

By obtaining and adding authorized objects to the target authorization scope through the mode configuration operation interface, the problem of authorized objects being unusable after mode switching is solved, realizing efficient and smooth authorization mode switching for the application and improving the user experience.

CN116561720BActive Publication Date: 2026-08-04TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
TENCENT TECHNOLOGY (SHENZHEN) CO LTD
Filing Date
2022-01-27
Publication Date
2026-08-04

AI Technical Summary

Technical Problem

When switching from the second authorization mode to the first authorization mode, the existing technology cannot obtain the information of the authorized target object, which may result in the authorized object being outside the scope of authorization, affecting the efficiency of the application.

Method used

The operation interface is configured through presentation mode, including the initial authorization scope and the component for adding authorized objects. It retrieves and adds authorized objects to the target authorization scope, and responds to the mode switching operation of the target object to indicate that the authorization mode is switched to the target authorization mode.

Benefits of technology

This ensures that authorized objects can still be used normally after the authorization mode is switched, improving the efficiency of application usage and achieving a smooth switch of authorization modes, thus enhancing the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116561720B_ABST
    Figure CN116561720B_ABST
Patent Text Reader

Abstract

The application relates to the computer technical field, and provides a mode switching method and related device, which are used for improving mode switching efficiency, the method comprises the following steps: in response to a mode configuration operation of a target object on a target authorization mode in a target application program, a mode configuration operation interface containing an initial authorization range and an authorized object adding component is presented; in response to a trigger operation of the target object on the authorized object adding component, an authorized object is acquired, and in the mode configuration operation interface, the target authorization range containing the authorized object is presented; in response to a mode switching operation of the target object on the target authorization mode, a switching success response interface is presented, and the switching success response interface is used for indicating that the authorization mode of the target application program is switched to the target authorization mode. In this way, the smooth switching of the authorization mode is realized by adding the authorized object into the authorization range of the target application program.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and provides a mode switching method and related apparatus. Background Technology

[0002] With the continuous development of computer technology, when a target object calls a second application in a first application, it can be authorized through a first authorization mode and a second authorization mode to grant the target object permission to use the second application. The first authorization mode means that the target object is allowed to use the second application within a specified authorization scope, while the second authorization mode means that all target objects are allowed to use the second application.

[0003] In related technologies, when switching from the second authorization mode to the first authorization mode, the object information of all authorized target objects is usually deleted first, and then the authorization scope of the second application is set.

[0004] However, during the process of setting the authorization scope of the second application, since the object information of the authorized target object cannot be obtained, there may be a situation where the authorized target object is not within the authorization scope, which will prevent the authorized target object from continuing to use the second application and affect the efficiency of the application. Summary of the Invention

[0005] This application provides a mode switching method and related apparatus to improve the efficiency of application usage.

[0006] In a first aspect, embodiments of this application provide a mode switching method, including:

[0007] In response to a mode configuration operation by a target object for a target authorization mode in a target application, a mode configuration operation interface is presented, which includes the initial authorization scope of the target authorization mode and the addition of components to authorized objects;

[0008] In response to the triggering operation of the target object adding a component to the authorized object, at least one authorized object is obtained, and the target authorization scope is presented in the mode configuration operation interface, wherein the target authorization scope includes the at least one authorized object;

[0009] In response to the target object's mode switching operation for the target authorization mode, a switch success response interface is presented, which is used to indicate that the authorization mode of the target application has been switched to the target authorization mode.

[0010] Secondly, embodiments of this application provide a mode switching device, including:

[0011] The mode configuration unit is used to respond to the mode configuration operation of the target object for the target authorization mode in the target application, and to present the mode configuration operation interface, which includes the initial authorization scope of the target authorization mode and the added components of the authorized objects;

[0012] An object adding unit is used to respond to a trigger operation of the target object to add a component to the authorized object, obtain at least one authorized object, and present the target authorization scope in the mode configuration operation interface, wherein the target authorization scope includes the at least one authorized object;

[0013] The mode switching unit is used to respond to the mode switching operation of the target object for the target authorization mode and present a switching success response interface, which is used to indicate that the authorization mode of the target application is switched to the target authorization mode.

[0014] As one possible implementation, in response to the target object's triggering operation of a mode switching request message, the application details page of the target application is presented, and the mode configuration unit is specifically used for:

[0015] In response to a triggering operation by the target object in response to a mode switching request message, a request interface is presented, which includes an interface navigation component. In response to a triggering operation by the target object in response to the interface navigation component, the application details page of the target application is presented; or,

[0016] In response to the target object's trigger operation on the mode switching request message, the application details page of the target application is directly displayed.

[0017] As one possible implementation, in response to the target object's mode configuration operation for the target authorization mode in the target application, a mode configuration operation interface is presented, and the mode configuration unit is specifically used for:

[0018] In response to the target object's mode configuration operation for the target authorization mode in the target application, obtain the list of authorized objects corresponding to the target application;

[0019] If the list of authorized objects contains at least one authorized object, the mode configuration operation interface will be displayed.

[0020] As one possible implementation, after obtaining at least one authorized object in response to the triggering operation of the target object adding a component to the authorized object, before presenting the target authorization scope in the mode configuration operation interface, the object adding unit is further configured to:

[0021] If the target object is determined to be a first-type permission object based on the identification information of the target object, then the target authorization scope is obtained based on the initial authorization scope and the at least one authorized object;

[0022] If the target object is determined to be a second type of permission object based on the identification information of the target object, then when it is determined that the management scope of the target object includes at least one authorized object, the target authorization scope will be obtained based on the initial authorization scope and the at least one authorized object.

[0023] As one possible implementation, the target authorization scope is obtained based on the initial authorization scope and the at least one authorized object, and the object adding unit is specifically used for:

[0024] If the initial authorization scope includes at least one authorized object, then the initial authorization scope shall be used as the target authorization scope; or,

[0025] If the initial authorization scope includes some of the authorized objects from the at least one authorized object, then the other authorized objects from the at least one authorized object, excluding the partially authorized objects, are added to the initial authorization scope to obtain the target authorization scope.

[0026] As one possible implementation, the object addition unit is also used for:

[0027] If, based on the identification information of the target object, it is determined that the target object is a second type of permission object, and the management scope of the target object does not include all of the at least one authorized object, then a switching failure response interface is presented, which includes a mode switching request component.

[0028] In response to the target object's triggering operation on the mode switching request component, a mode switching request message is presented to the specified object, so that the specified object switches the authorization mode of the target application to the target authorization mode based on the mode switching request message.

[0029] As one possible implementation, in response to the target object's triggered operation on the mode switching request component, a mode switching request message is presented to the specified object. The object adding unit is specifically used for:

[0030] In response to the target object's trigger operation on the mode switching request component, at least one candidate object is presented, wherein each candidate object is a first type of permission object;

[0031] In response to the target object selecting a specified object from the at least one candidate object, a mode switching application interface corresponding to the specified object is presented, and the mode switching application interface includes a confirmation application component;

[0032] In response to the target object's triggered operation on the confirmation request component, a mode switching request message sent to the specified object is presented in the session interface with the specified object.

[0033] Thirdly, embodiments of this application provide an electronic device, including a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor performs the steps of the above-described mode switching method.

[0034] Fourthly, embodiments of this application provide a computer-readable storage medium including a computer program, which, when run on an electronic device, causes the electronic device to perform the steps of the above-described mode switching method.

[0035] Fifthly, embodiments of this application provide a computer program product, the program product including a computer program stored in a computer-readable storage medium, wherein a processor of an electronic device reads from and executes the computer program from the computer-readable storage medium, causing the electronic device to perform the steps of the above-described mode switching method.

[0036] In this embodiment, in response to the target object's mode configuration operation for the target authorization mode in the target application, a mode configuration operation interface including the initial authorization scope and the added component of the authorized object is presented; in response to the target object's trigger operation for adding the component of the authorized object, the authorized object is obtained, and the target authorization scope is presented in the mode configuration operation interface, the target authorization scope including the authorized object; in response to the target object's mode switching operation for the target authorization mode, a switching success response interface is presented, the switching success response interface is used to indicate that the authorization mode of the target application is switched to the target authorization mode.

[0037] In this way, when switching to the target authorization mode, by adding the authorized object to the authorization scope of the target application, the application usage state of the authorized object after the authorization mode switch is consistent with the application usage state before the authorization mode switch. This avoids the authorized object being unable to use the target application normally after the authorization mode switch, improves the efficiency of application usage, and thus achieves a smooth switching of authorization modes, enhancing the user experience.

[0038] Other features and advantages of this application will be set forth in the description which follows, and will be apparent in part from the description, or may be learned by practicing the application. The objectives and other advantages of this application may be realized and obtained by means of the structures particularly pointed out in the written description, claims, and drawings. Attached Figure Description

[0039] The accompanying drawings, which are included to provide a further understanding of this application and form part of this application, illustrate exemplary embodiments and are used to explain this application, but do not constitute an undue limitation of this application. In the drawings:

[0040] Figure 1 This is a schematic diagram illustrating an application scenario provided in the embodiments of this application;

[0041] Figure 2 This is a flowchart illustrating a mode switching method provided in an embodiment of this application;

[0042] Figure 3a This is a schematic diagram of an application details interface provided in an embodiment of this application;

[0043] Figure 3b This is a schematic diagram of an authorization mode selection interface provided in an embodiment of this application;

[0044] Figure 4 This is a schematic diagram of a mode configuration operation interface provided in an embodiment of this application;

[0045] Figure 5 A schematic diagram illustrating the configuration operation interface for another mode provided in the embodiments of this application;

[0046] Figure 6 This is a schematic diagram of a successful switch response interface provided in an embodiment of this application;

[0047] Figure 7 This is a schematic diagram of a switching failure response interface provided in an embodiment of this application;

[0048] Figure 8 This is a logical diagram illustrating a request for authorization from a super administrator, as provided in an embodiment of this application.

[0049] Figure 9 This is a logical diagram illustrating a super administrator authorization process provided in an embodiment of this application;

[0050] Figure 10 This is a flowchart illustrating another mode switching method provided in the embodiments of this application;

[0051] Figure 11 This is a schematic diagram illustrating another application scenario provided in the embodiments of this application;

[0052] Figure 12 This is a schematic diagram of the structure of a mode switching device provided in an embodiment of this application;

[0053] Figure 13 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0054] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of this application will be clearly and completely described below with reference to the accompanying drawings of the embodiments of this application. Obviously, the described embodiments are only some embodiments of the technical solutions of this application, and not all embodiments. Based on the embodiments recorded in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the technical solutions of this application.

[0055] With the continuous development of computer technology, when a target object calls a second application in a first application, it can be authorized through a first authorization mode and a second authorization mode to grant the target object permission to use the second application. The first authorization mode means that the target object is allowed to use the second application within a specified authorization scope, while the second authorization mode means that all target objects are allowed to use the second application.

[0056] In related technologies, when switching from the second authorization mode to the first authorization mode, the object information of all authorized target objects is usually deleted first, and then the authorization scope of the second application is set.

[0057] However, during the process of setting the authorization scope of the second application, since the object information of the authorized target object cannot be obtained, there may be a situation where the authorized target object is not within the authorization scope, which will prevent the authorized target object from continuing to use the second application and affect the efficiency of the application.

[0058] To improve the efficiency of application usage, in this embodiment, in response to the target object's mode configuration operation for the target authorization mode in the target application, a mode configuration operation interface including the initial authorization scope and the addition of components for authorized objects is presented; in response to the target object's trigger operation for adding components for authorized objects, at least one authorized object is obtained, and the target authorization scope is presented in the mode configuration operation interface, the target authorization scope including at least one authorized object; in response to the target object's mode switching operation for the target authorization mode, a switching success response interface is presented, the switching success response interface is used to indicate that the authorization mode of the target application has switched to the target authorization mode.

[0059] In this way, when switching to the target authorization mode, by adding the authorized object to the authorization scope of the target application, the application usage state of the authorized object after the authorization mode switch is consistent with the application usage state before the authorization mode switch. This avoids the authorized object being unable to use the target application normally after the authorization mode switch, improves the efficiency of application usage, and thus achieves a smooth switching of authorization modes, enhancing the user experience.

[0060] The preferred embodiments of this application are described below with reference to the accompanying drawings. It should be understood that the preferred embodiments described herein are for illustration and explanation only and are not intended to limit this application. Furthermore, the embodiments and features in the embodiments of this application can be combined with each other without conflict.

[0061] See Figure 1 The diagram shown illustrates an application scenario of an embodiment of this application. This application scenario includes at least one terminal device 110 and a server 120, which can communicate with each other via a network.

[0062] In one alternative implementation, the communication network is either a wired network or a wireless network. The terminal device 110 and the server 120 can be directly or indirectly connected via wired or wireless communication, and this application does not impose any limitations on this.

[0063] In this embodiment, the terminal device 110 is an electronic device used by a user, which may be a personal computer, mobile phone, tablet computer, laptop computer, or other computer device with a certain computing capability. Each terminal device 110 is connected to the server 120 through a communication network. The server 120 may be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery network (CDN), and big data and artificial intelligence platforms.

[0064] In this embodiment of the application, the user can obtain the relevant operation interface through the terminal device 110. The terminal device 110 obtains the various operation events triggered by the user on the operation interface and realizes the switching of the target authorization mode. The specific mode switching process is described below.

[0065] Terminal device 110 has a client installed. The client can be an application that can call third-party applications, such as instant messaging applications, social applications, etc., or it can be a mini-program, webpage, etc., without specific limitations. Server 120 is the server corresponding to the application or webpage, mini-program, or other client type.

[0066] It should be noted that in this embodiment, only an application is used as an example for explanation. The application corresponding to the client installed in the terminal device 110 can be called the main application, and the target application refers to a third-party application called by the main application. Below, we will only use an example where the main application is an enterprise instant messaging application and the target application is a third-party application for explanation.

[0067] See Figure 2 As shown, this is a mode switching method provided in an embodiment of this application. This mode switching method can be applied to terminal devices or servers. The specific process is as follows:

[0068] S201. In response to the target object's mode configuration operation for the target authorization mode in the target application, a mode configuration operation interface is presented. The mode configuration operation interface includes the initial authorization scope of the target authorization mode and the added components for the authorized objects.

[0069] In some embodiments, the following steps may be included before performing S201:

[0070] The application details interface of the target application is presented, which includes an application authorization method editing component; in response to the target object's trigger operation on the application authorization method editing component, an authorization mode selection interface is presented, which includes at least the target authorization mode.

[0071] It should be noted that the triggering operations for the target object to edit the component according to the application authorization method include, but are not limited to, single click, double click, long press, etc. The triggering operation can be triggered by, but is not limited to, mouse, keyboard, touch, etc.

[0072] When the target object triggers a selection operation for the target authorization mode, it is determined that the target object triggers a mode configuration operation for the target authorization mode. The selection operation can be triggered by means of, but is not limited to, mouse, keyboard, touch, etc. The selection operation for the target authorization mode includes, but is not limited to: double-clicking the target authorization mode, selecting the target authorization mode and then clicking the OK button, and clicking the target authorization mode.

[0073] For example, see Figure 3a As shown, this is an application details interface of a target application provided in an embodiment of this application. Figure 3aThe application details interface shown contains information such as the name of the target application, its function description, customer service phone number, current version, expiration date, and number of users. The name of the target application is Application 1. The function description of Application 1 indicates that Application 1 can be used to implement functions such as meeting reservation notification and task arrangement, travel expense reimbursement and cost control, workflow design and approval. Figure 3a The application details interface shown contains a dashed box 31, which represents the application authorization method editing component. The application details interface also includes components such as an authorized object viewing component and an application permission viewing component. The application authorization method editing component is used to switch authorization modes, the authorized object viewing component is used to view authorized objects, and the application permission viewing component is used to view application permissions.

[0074] When the user clicks the application authorization method to edit the component, it is displayed Figure 3b The authorization mode selection interface shown contains two authorization modes: Enterprise Member Authorization Mode and Enterprise Administrator Authorization Mode. Enterprise Member Authorization Mode means that enterprise members can independently authorize the use of the target application, while Enterprise Administrator Authorization Mode means that members within the scope of the administrator's authorization can use the target application. Figure 3b In the authorization mode selection interface shown, the enterprise member authorization mode and the enterprise administrator authorization mode are presented in the form of a radio button list. The authorization mode selection interface also includes an "OK" button. When the user selects the enterprise member authorization mode, the enterprise member authorization mode is set as the target authorization mode, and the user clicks the "OK" button to confirm and trigger the mode configuration operation for the enterprise member authorization mode. When the user selects the enterprise administrator authorization mode, the enterprise administrator authorization mode is set as the target authorization mode, and the user clicks the "OK" button to confirm and trigger the mode configuration operation for the enterprise administrator authorization mode.

[0075] Through the above implementation method, the target object can quickly configure the target authorization method, simplify the authorization method configuration process, thereby improving the configuration efficiency of the target authorization method and thus improving the mode switching efficiency.

[0076] The following explanation will only use the enterprise administrator authorization mode as an example.

[0077] In this embodiment of the application, the presented initial authorization scope may be a portion of the objects within the initial authorization scope, or all objects within the initial authorization scope, or the number of all objects within the initial authorization scope, and there is no limitation thereto.

[0078] The mode configuration operation interface may also include components such as the authorization scope editing component and the management scope viewing component. The authorization scope viewing component is used to set the initial authorization scope, and the management scope viewing component is used to view the management scope of the target object, but it is not limited to these.

[0079] For example, see Figure 4 As shown, it is a schematic diagram of the first mode configuration operation interface provided in the embodiments of this application. Figure 4 The mode configuration interface includes components such as "Authorization Scope," "Add Self-Authorized Members," "Usable Permissions," and dedicated customer service configuration. The "Authorization Scope" component, specifically the "Authorization Scope Editing" component, contains a text description of the "Authorization Scope" and the initial permission scope, which includes Zhang San. The "Add Self-Authorized Members" component adds authorized objects and displays the number of authorized objects (2). The "Usable Permissions" component displays the management scope. When a user clicks the "Authorization Scope Editing" component, the initial authorization scope is set. When a user clicks the "Add Self-Authorized Members" component, authorized objects are added to the authorization scope. When a user clicks the "Management Scope Viewing" component, the management scope is displayed. The mode configuration interface also includes an option: "1 person selected; after authorization, application 1 will be added to the workbench of the authorized scope members," meaning that Zhang San is currently within the authorization scope.

[0080] S202. In response to the triggering operation of the target object adding a component to an authorized object, obtain at least one authorized object, and present the target authorization scope in the mode configuration operation interface. The target authorization scope includes at least one authorized object.

[0081] In this embodiment of the application, the presented target authorization scope can be the number of objects included in the target authorization scope, or it can be some or all of the objects included in the target authorization scope, and there is no limitation on this.

[0082] For example, see Figure 5 As shown, this is a schematic diagram of the second mode configuration operation interface provided in the embodiments of this application. Figure 5 In the mode configuration operation interface shown, the user selects authorized objects to add components, that is, clicks the "Add Self-Authorized Members" component. After the authorized objects are added to the component, the mode configuration operation interface prompts "3 people have been selected", that is, the target authorization scope includes Zhang San and two authorized objects.

[0083] S203. In response to the target object's mode switching operation for the target authorization mode, a switch success response screen is presented. The switch success response screen is used to indicate that the authorization mode of the target application has been switched to the target authorization mode.

[0084] It should be noted that, in the embodiments of this application, refer to Figure 5 As shown, when the target object clicks the "Agree to the above authorization" button in the mode configuration operation interface, it is determined that the target object triggers a mode switching operation for the target authorization mode.

[0085] The successful switch response screen includes a successful switch notification component, which contains a successful switch message. The successful switch response screen can also include the target application's details screen. When displaying the successful switch response screen, the successful switch notification component can either float above the target application's details screen, or the target application's details screen can be displayed after the successful switch notification message has been displayed for a preset duration threshold.

[0086] It should be noted that when the successful switch notification component can be displayed floating above the application details screen of the target application, the image transparency of the successful switch notification component can be set according to the actual application scenario, so that the successful switch notification component does not obscure the information contained in the application details screen.

[0087] For example, see Figure 6 As shown, this is a schematic diagram of a successful switch response interface provided in an embodiment of this application. The successful switch response interface includes a successful switch prompt component and an application details interface of the target application. The successful switch prompt component floats above the application details interface of the target application and contains the message: "Authorized." The application details interface of the target application includes information such as the name and function description of the target application. The application authorization method of the target application is enterprise administrator authorization, meaning the authorization mode of the target application has been switched to enterprise administrator authorization mode, and the target authorization scope includes Zhang San, Li Si, and Chen Jie. After the authorization mode of the target application is switched to the target authorization mode, the application details interface of the target application may also include a chat attachment bar, which allows members to quickly send application pages to the chat via the chat attachment bar.

[0088] In some embodiments, when a mode configuration operation interface is presented in response to a mode configuration operation of a target object for a target authorization mode in a target application, the following includes:

[0089] In response to the target object's mode configuration operation for the target authorization mode in the target application, obtain the list of authorized objects corresponding to the target application; if the list of authorized objects contains at least one authorized object, then present the mode configuration operation interface.

[0090] The list of authorized objects includes the identification information of the target application and the identification information of the authorized objects. In this embodiment, the identification information can be represented by a serial number (ID).

[0091] For example, suppose the list of authorized objects contains ID1 and ID2, where ID1 is used to represent Li Si and ID2 is used to represent Chen Jie.

[0092] If the list of authorized objects contains at least one authorized object, then obtain the target authorization scope input by the target object, and switch the authorization mode of the target application to the target authorization mode based on the target authorization scope input by the target object.

[0093] With the above implementation, when an authorized object exists, the component can be added to the authorized object, and the authorized object will be automatically added to the authorization scope, achieving a smooth switch of authorization mode while ensuring the efficiency of authorization mode switching. When no authorized object exists, the authorization scope can be manually configured to skip the process of adding authorized objects, thereby improving the efficiency of authorization mode switching.

[0094] In some embodiments, to improve application management efficiency and application security, the target object in this application embodiment can be either a first type of permission object or a second type of permission object. The first type of permission object can also be called a super administrator, and the second type of permission object can also be called a hierarchical administrator. The super administrator has higher management privileges than the hierarchical administrators, and the super administrator's management scope can be all enterprise members, while the hierarchical administrator's management scope is limited to enterprise members. It should be noted that this application embodiment only uses the first type of permission object and the second type of permission object as examples. In actual applications, more permission object types can be set, and this is not limited.

[0095] Specifically, in the mode configuration operation interface, before the target authorization scope is presented, there are, but are not limited to, the following two situations:

[0096] Scenario 1: If the target object is determined to be a first-class permission object based on the identification information of the target object, then the target authorization scope is obtained based on the initial authorization scope and at least one authorized object.

[0097] It should be noted that, in the embodiments of this application, the mapping relationship between the identification information of the target object and the permission type can be preset, and the target object can be determined as a first type of permission object based on the mapping relationship.

[0098] Specifically, based on the initial authorization scope and at least one authorized object, there are, but are not limited to, the following two possible scenarios:

[0099] Case 1-A: If the initial authorization scope contains at least one authorized object, then the initial authorization scope is directly used as the target authorization scope.

[0100] For example, suppose the initial authorization scope includes Zhang San, Li Si, and Chen Jie, and the authorized objects are Li Si and Chen Jie. In this case, if the initial authorization scope includes Li Si and Chen Jie, then the initial authorization scope will be directly used as the target authorization scope.

[0101] Case 1-B: If the initial authorization scope contains at least one partially authorized object from the authorized objects, then add the other authorized objects from the at least one authorized object, excluding the partially authorized objects, to the initial authorization scope to obtain the target authorization scope: Zhang San, Li Si, Chen Jie.

[0102] For example, suppose the initial authorization scope includes Zhang San and Li Si, and the authorized objects are Li Si and Chen Jie. At this time, the initial authorization scope includes Li Si but does not include Chen Jie. Therefore, add Chen Jie to the initial authorization scope to obtain the target authorization scope: Zhang San, Li Si, and Chen Jie.

[0103] Scenario 2: If the target object is determined to be a second-class permission object based on the identification information of the target object, then when it is determined that the management scope of the target object contains at least one authorized object, the target authorization scope will be obtained based on the initial authorization scope and at least one authorized object.

[0104] In this embodiment of the application, the management scope of the target object can be stored in the form of, but is not limited to, a management scope list, which contains the identification information of each object within the management scope.

[0105] Since the process of obtaining the target authorization scope based on the initial authorization scope and at least one authorized object in Case 2 is the same as Case 1-A and Case 1-B above, it will not be described again here.

[0106] Scenario 3: If the target object is determined to be a second-class permission object based on the target object's identification information, and the target object's management scope does not contain at least one authorized object, then a switching failure response interface is presented. The switching failure response interface contains a mode switching request component. In response to the target object's trigger operation on the mode switching request component, a mode switching request message sent to the specified object is presented, so that the specified object switches the target application's authorization mode to the target authorization mode based on the mode switching request message.

[0107] For example, see Figure 7As shown, this is a schematic diagram of a switching failure response interface provided in an embodiment of this application. The switching failure response interface includes a switching failure prompt message indicating that authorization cannot be granted, and a "Contact Administrator" button. The "Contact Administrator" button is a mode switching request component. When user A clicks the "Contact Administrator" button, in response to user A's trigger operation on the mode switching request component, a mode switching request message is sent to user B, so that user B switches the authorization mode of the target application to the target authorization mode based on the mode switching request message.

[0108] Specifically, when responding to a triggering operation by the target object on the mode switching request component, and presenting a mode switching request message sent to the specified object, there are, but are not limited to, the following possible implementation methods:

[0109] The first possible implementation is to have the target object select a specified object.

[0110] In response to the target object's triggered operation on the mode switching request component, at least one candidate object is presented, wherein each candidate object is a first-class permission object;

[0111] In response to the target object selecting a specified object from at least one candidate object, a mode switching application interface corresponding to the specified object is presented, which includes a confirmation application component;

[0112] In response to the target object's trigger operation on the confirmation request component, a mode switching request message sent to the specified object is presented in the session interface with the specified object.

[0113] The mode switching application interface corresponding to the specified object may also include an input box for receiving input from the target object, which is used to input the reason for the mode switching application.

[0114] For example, see Figure 8 As shown, when user A clicks the "Contact Administrator" button, in response to user A's trigger operation on the mode switching request component, various candidate objects are presented: Cai A, Chen B, Chen C, etc. Cai A, Chen B, Chen C, etc. are all super administrators. The user selects Chen B as the specified object, and the mode switching application interface corresponding to Chen B is presented. The mode switching application interface contains an "Apply" button, which is the confirmation application component. When the user clicks the "Apply" button, the mode switching request message sent to Chen B is presented in the conversation interface with the specified object.

[0115] It should be noted that in this embodiment, the user can select one specified object or multiple specified objects. If multiple specified objects are selected, any one of the selected specified objects can switch the target authorization mode. After any specified object switches the target authorization mode, the other specified objects can trigger mode switching request messages and display an invalid message. Since the implementation method of selecting multiple specified objects is similar to that of selecting one specified object, it will not be described again here.

[0116] By implementing the above method, when the target object cannot be authorized, a specified object can be selected from the super administrator, and the target authorization mode can be switched through the specified object, thus achieving a smooth switch of the target authorization mode and meeting the diverse product needs of users.

[0117] The second possible implementation method is to pre-set a specified object. This specified object can be set by the target object or by the system default setting.

[0118] Specifically, in response to the target object's trigger operation on the mode switching request component, a mode switching request message is sent directly to the specified object, and the message is displayed in the conversation interface between the target object and the specified object. Since the implementation method of the specified object is pre-set, which is similar to the implementation method of the target object selecting the specified object, it will not be elaborated further here.

[0119] By implementing the above method, when the target object cannot be authorized, the target authorization mode can be switched directly through a pre-set specified object, achieving a smooth switch of the target authorization mode. Since the operation is simpler, the time spent on switching can be reduced, further improving the switching efficiency.

[0120] In some embodiments, if the target object is a first type of permission object, that is, the target object is a super administrator, it may receive a mode switching request message from other objects, and then the target object can switch the target authorization mode through the received mode switching request message.

[0121] Specifically, it receives and presents mode switching request messages from other objects, which instruct the target application to switch its authorization mode to the target authorization mode; in response to the target object's triggering operation in response to the mode switching request message, it presents the application details page of the target application.

[0122] When responding to a triggering operation by the target object in response to a mode switching request message, and displaying the application details page of the target application, there are, but are not limited to, the following two possible implementation methods:

[0123] Method 1: In response to the target object's trigger operation for the mode switching request message, a request interface is presented. The request interface contains a screen navigation component, and in response to the target object's trigger operation for the screen navigation component, the application details page of the target application is presented.

[0124] Mode switching request messages may exist in the form of message cards, which may contain one or more of the following information:

[0125] The card type includes card title, card subtitle, card icon, target application icon, target application name, card content, applicant member ID, and target application's URL schema. For web-type cards, the content is a webpage link used to redirect the user interface in response to click events. The URL schema refers to the rules provided by the target application to external entities that allow direct manipulation of the application. A URL schema can be represented in the following form: schemaname: / / thirdapp_detail?appid=xxx, where schemaname identifies a schema, xxx is a variable parameter, and xxx represents the target application's ID.

[0126] When the target object clicks the mode switch request message, it is determined that the target object triggered the mode switch request message. The request interface can also include authorized objects, that is, authorized objects not included in the message sender's management scope.

[0127] For example, see Figure 9 As shown, in response to the target object's trigger operation for the mode switching request message, a request interface is presented. The request interface contains a "Go to Settings" button, which is the interface jump component. The request interface may also contain the authorization request object: Zhang San. When the user clicks the "Go to Settings" button, in response to the target object's trigger operation for the interface jump component, the application details page of the target application is presented.

[0128] With the above implementation, the super administrator can switch the target authorization mode according to the mode switching request message after receiving it, thereby ensuring a smooth switch of the target authorization mode.

[0129] Method 2: In response to the target object's trigger operation for the mode switching request message, directly display the application details page of the target application.

[0130] To simplify the process, the application details interface of the target application can also be presented directly to the super administrator. Since the interface presentation process is similar to that of Method 1, it will not be described in detail here.

[0131] The present application will now be described in conjunction with specific embodiments.

[0132] Example 1: The main application is an enterprise instant messaging application, and the target application is a third-party application: Application 2, which provides project management functions. (See also...) Figure 10 As shown, the specific process for mode switching is as follows:

[0133] S1001, Present the application details interface of application 2.

[0134] S1002. In response to Administrator A's mode configuration operation for authorizing usage modes for enterprise administrators, a list of authorized objects corresponding to Application 2 is presented. The list of authorized objects corresponding to Application 2 contains the identification information of Application 2 and the identification information of each authorized object.

[0135] S1003. Determine whether the list of authorized objects contains at least one authorized object. If yes, execute S1004; otherwise, execute S1013.

[0136] S1004. Presentation Mode Configuration Operation Interface. The mode configuration operation interface includes the initial authorization scope for enterprise administrators to authorize the use of the mode, as well as the addition of components to authorized objects. The initial authorization scope can be pre-configured by administrator A, or it can refer to the configuration made in the presentation mode configuration operation interface after presentation.

[0137] S1005. Determine whether administrator A has triggered the addition of components to authorized objects. If yes, execute S1006; otherwise, execute S1013.

[0138] S1006. Obtain each authorized object from the list of authorized objects.

[0139] S1007. Based on the identification information of administrator A, determine whether administrator A is a super administrator. If yes, proceed to S1009; otherwise, proceed to S1008.

[0140] S1008. Determine whether the scope of administrator A's management includes all authorized objects. If yes, execute S1009; otherwise, execute S1011.

[0141] S1009. Based on the initial authorization scope and each authorized object, obtain the target authorization scope. The target authorization scope includes each authorized object.

[0142] It should be noted that, in the embodiments of this application, each authorized object can be added to the target authorization scope sequentially, or all authorized objects can be added to the target authorization scope at once. If each authorized object is added to the target authorization scope sequentially, the authorized members contained in the list of authorized objects can be added to the target authorization scope sequentially, and the authorized members that have been added to the target authorization scope can be deleted from the list of authorized objects until the list of authorized objects does not contain any authorized members, that is, the list of authorized objects is empty.

[0143] S1010. Switch the authorization mode of application 2 to the enterprise administrator authorization mode.

[0144] S1011. Present the switching failure response interface, which contains the mode switching request component.

[0145] S1012. In response to the triggering operation of the mode switching request component by administrator A, present a mode switching request message sent to super administrator A, so that super administrator A switches the authorization mode of application 2 to the enterprise administrator authorized use mode based on the mode switching request message.

[0146] S1013. Obtain the target authorization scope entered by administrator A, and based on the target authorization scope entered by administrator A, switch the authorization mode of application 2 to the enterprise administrator authorization mode.

[0147] Example 2: The main application is a social application, and the target application is a third-party application: application 3, which provides the function of claiming items.

[0148] See Figure 11 As shown, the social application includes users such as Zhang A and Zhao B. Administrator B's management scope includes Zhang A, and administrator C's management scope includes both Zhang A and Zhao B. Administrator C can also be called a super administrator.

[0149] After displaying the application details screen for application 3, in response to administrator B's mode configuration operation regarding administrator authorization usage mode, a list of authorized objects corresponding to application 3 is displayed. The list of authorized objects contains multiple authorized objects: Zhang A and Zhao B.

[0150] In the mode configuration operation interface, Administrator B enters the initial authorization scope for the administrator to use the mode. The objects included in the initial authorization scope are: Li Si. The mode configuration operation interface includes the component for adding authorized objects.

[0151] If administrator B triggers the addition of a component to an authorized object, then in response to administrator B's triggering operation of adding a component to an authorized object, it is determined that administrator B is not a super administrator, and then it is determined whether administrator B's management scope includes Zhang A and Zhao B.

[0152] Since Zhao B is not included in Administrator B's management scope, a switch failure response interface is displayed to Administrator B, and a mode switch request message is sent to Administrator C. The mode switch request message is presented in the form of a message card.

[0153] After receiving the mode switching request message, the terminal device of administrator C responds to the URL Schema of application 3 carried in the mode switching request message, enters the application details interface of application 3, and switches the authorization mode of application 3 to the administrator authorized use mode.

[0154] Based on the same inventive concept, embodiments of this application provide a mode switching device. For example... Figure 12 As shown, this is a schematic diagram of the mode switching device 1200, which may include:

[0155] The mode configuration unit 1201 is used to respond to the mode configuration operation of the target object for the target authorization mode in the target application, and to present a mode configuration operation interface, wherein the mode configuration operation interface includes the initial authorization scope of the target authorization mode, and the added components of the authorized object;

[0156] The object adding unit 1202 is used to respond to the trigger operation of the target object adding a component to the authorized object, obtain at least one authorized object, and present the target authorization range in the mode configuration operation interface, wherein the target authorization range includes the at least one authorized object;

[0157] The mode switching unit 1203 is used to respond to the mode switching operation of the target object for the target authorization mode and present a switching success response interface, which is used to indicate that the authorization mode of the target application is switched to the target authorization mode.

[0158] As one possible implementation, before presenting the mode configuration operation interface in response to the mode configuration operation of the target object for the target authorization mode in the target application, the mode configuration unit 1201 is further configured to:

[0159] The application details interface of the target application is displayed, and the application details interface includes an application authorization method editing component;

[0160] In response to the target object's trigger operation on the application authorization method editing component, an authorization mode selection interface is presented, which includes at least the target authorization mode.

[0161] As one possible implementation, if the target object is a first-type permission object, then when presenting the application details interface of the target application, the mode configuration unit 1201 is specifically used for:

[0162] Receive and present a mode switching request message from another object, the mode switching request message being used to instruct the target application to switch its authorization mode to the target authorization mode;

[0163] In response to the target object's triggered operation in response to the mode switching request message, the application details page of the target application is displayed.

[0164] As one possible implementation, in response to the target object's triggering operation on the mode switching request message, the application details page of the target application is presented, and the mode configuration unit 1201 is specifically used for:

[0165] In response to a triggering operation by the target object in response to a mode switching request message, a request interface is presented, which includes an interface navigation component. In response to a triggering operation by the target object in response to the interface navigation component, the application details page of the target application is presented; or,

[0166] In response to the target object's trigger operation on the mode switching request message, the application details page of the target application is directly displayed.

[0167] As one possible implementation, in response to the target object's mode configuration operation for the target authorization mode in the target application, a mode configuration operation interface is presented, and the mode configuration unit 1201 is specifically used for:

[0168] In response to the target object's mode configuration operation for the target authorization mode in the target application, obtain the list of authorized objects corresponding to the target application;

[0169] If the list of authorized objects contains at least one authorized object, the mode configuration operation interface will be displayed.

[0170] As one possible implementation, after obtaining at least one authorized object in response to the triggering operation of the target object adding a component to the authorized object, before presenting the target authorization scope in the mode configuration operation interface, the object adding unit 1202 is further configured to:

[0171] If the target object is determined to be a first-type permission object based on the identification information of the target object, then the target authorization scope is obtained based on the initial authorization scope and the at least one authorized object;

[0172] If the target object is determined to be a second type of permission object based on the identification information of the target object, then when it is determined that the management scope of the target object includes at least one authorized object, the target authorization scope will be obtained based on the initial authorization scope and the at least one authorized object.

[0173] As one possible implementation, the object adding unit 1202 is specifically used to obtain the target authorization scope based on the initial authorization scope and the at least one authorized object, and the object adding unit 1202 is used to:

[0174] If the initial authorization scope includes at least one authorized object, then the initial authorization scope shall be used as the target authorization scope; or,

[0175] If the initial authorization scope includes some of the authorized objects from the at least one authorized object, then the other authorized objects from the at least one authorized object, excluding the partially authorized objects, are added to the initial authorization scope to obtain the target authorization scope.

[0176] As one possible implementation, the object adding unit 1202 is also used for:

[0177] If, based on the identification information of the target object, it is determined that the target object is a second type of permission object, and the management scope of the target object does not include all of the at least one authorized object, then a switching failure response interface is presented, which includes a mode switching request component.

[0178] In response to the target object's triggering operation on the mode switching request component, a mode switching request message is presented to the specified object, so that the specified object switches the authorization mode of the target application to the target authorization mode based on the mode switching request message.

[0179] As one possible implementation, in response to the target object's triggered operation on the mode switching request component, a mode switching request message is presented to the specified object. The object adding unit 1202 is specifically used for:

[0180] In response to the target object's trigger operation on the mode switching request component, at least one candidate object is presented, wherein each candidate object is a first type of permission object;

[0181] In response to the target object selecting a specified object from the at least one candidate object, a mode switching application interface corresponding to the specified object is presented, and the mode switching application interface includes a confirmation application component;

[0182] In response to the target object's triggered operation on the confirmation request component, a mode switching request message sent to the specified object is presented in the session interface with the specified object.

[0183] For ease of description, the above sections are divided into modules (or units) according to their functions and described separately. Of course, in implementing this application, the functions of each module (or unit) can be implemented in one or more software or hardware components.

[0184] Regarding the apparatus in the above embodiments, the specific manner in which each unit executes the request has been described in detail in the embodiments related to the method, and will not be elaborated here.

[0185] Those skilled in the art will understand that various aspects of this application can be implemented as a system, method, or program product. Therefore, various aspects of this application can be specifically implemented in the following forms: a completely hardware implementation, a completely software implementation (including firmware, microcode, etc.), or a combination of hardware and software implementations, collectively referred to herein as a "circuit," "module," or "system."

[0186] Having introduced the mode switching method and apparatus according to exemplary embodiments of this application, we will now introduce an electronic device according to another exemplary embodiment of this application.

[0187] Figure 13 This is a block diagram illustrating an electronic device 1300 according to an exemplary embodiment, the device comprising:

[0188] Processor 1310;

[0189] Memory 1320 is used to store executable instructions of processor 1310;

[0190] The processor 1310 is configured to execute instructions to implement the mode switching method in this embodiment, for example... Figure 2 The steps are shown in the figure.

[0191] In an exemplary embodiment, a storage medium including operations is also provided, such as a memory 1320 including operations, the operations of which can be executed by a processor 1310 of an electronic device 1300 to complete the above-described method. Optionally, the storage medium may be a non-transitory computer-readable storage medium, such as a read-only memory (ROM), random access memory (RAM), compact disk read-only memory (CD-ROM), magnetic tape, floppy disk, and optical data storage device.

[0192] Based on the same inventive concept, this application also provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the mode switching methods provided in the various optional implementations of the above embodiments.

[0193] In some possible implementations, various aspects of the mode switching method provided in this application can also be implemented as a program product, which includes a computer program. When the program product is run on a computer device, the computer program causes the computer device to perform the steps in the mode switching method according to the various exemplary embodiments of this application described above. For example, the computer device can perform actions such as... Figure 2 The steps are shown in the figure.

[0194] The program product may employ any combination of one or more readable media. A readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: electrical connections having one or more wires, portable disks, hard disks, RAM, ROM, erasable programmable read-only memory (EPROM or flash memory), optical fibers, CD-ROMs, optical storage devices, magnetic storage devices, or any suitable combination thereof.

[0195] The program product of the embodiments of this application may be in the form of a CD-ROM and include program code, and may run on a computing device. However, the program product of this application is not limited thereto. In this document, the readable storage medium may be any tangible medium that contains or stores a program that may be used by or in conjunction with a command execution system, apparatus, or device.

[0196] A readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying readable program code. Such propagated data signals may take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. The readable signal medium may also be any readable medium other than a readable storage medium, capable of transmitting, propagating, or transmitting a program for use by or in conjunction with a command execution system, apparatus, or device. Although preferred embodiments of this application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of this application.

[0197] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A mode switching method, characterized in that, The method includes: In response to a mode configuration operation by a target object for a target authorization mode in a target application, a mode configuration operation interface is presented, which includes the initial authorization scope of the target authorization mode and the addition of components to authorized objects; In response to the triggering operation of the target object adding a component to the authorized object, at least one authorized object in the original authorization mode before the mode switch is obtained, and the target authorization range is presented in the mode configuration operation interface, wherein the target authorization range includes the at least one authorized object; In response to the target object's mode switching operation for the target authorization mode, a switch success response interface is presented, which is used to indicate that the authorization mode of the target application has been switched to the target authorization mode; The target authorization scope is obtained in the following way after acquiring at least one authorized object, in response to a trigger operation of the target object adding a component to the authorized object, and before presenting the target authorization scope in the mode configuration operation interface: If the target object is determined to be a first-type permission object based on the identification information of the target object, then the target authorization scope is obtained based on the initial authorization scope and the at least one authorized object; If the target object is determined to be a second type of permission object based on the identification information of the target object, then when it is determined that the management scope of the target object includes at least one authorized object, the target authorization scope will be obtained based on the initial authorization scope and the at least one authorized object.

2. The method as described in claim 1, characterized in that, Before presenting the mode configuration operation interface in response to the mode configuration operation of the target object for the target authorization mode in the target application, the method further includes: The application details interface of the target application is displayed, and the application details interface includes an application authorization method editing component; In response to the target object's trigger operation on the application authorization method editing component, an authorization mode selection interface is presented, which includes at least the target authorization mode.

3. The method as described in claim 2, characterized in that, If the target object is a first-type permission object, then presenting the application details interface of the target application includes: Receive and present a mode switching request message from another object, the mode switching request message being used to instruct the target application to switch its authorization mode to the target authorization mode; In response to the target object's triggered operation in response to the mode switching request message, the application details page of the target application is displayed.

4. The method as described in claim 3, characterized in that, In response to the target object's triggered operation in response to the mode switching request message, the application details page of the target application is displayed, including: In response to a triggering operation by the target object in response to a mode switching request message, a request interface is presented, which includes an interface navigation component. In response to a triggering operation by the target object in response to the interface navigation component, the application details page of the target application is presented; or, In response to the target object's trigger operation on the mode switching request message, the application details page of the target application is directly displayed.

5. The method according to any one of claims 1-4, characterized in that, The response to the target object's mode configuration operation for the target authorization mode in the target application, presenting a mode configuration operation interface, includes: In response to the target object's mode configuration operation for the target authorization mode in the target application, the list of authorized objects corresponding to the target application is obtained; If the list of authorized objects contains at least one authorized object, the mode configuration operation interface will be displayed.

6. The method according to any one of claims 1-4, characterized in that, Obtaining the target authorization scope based on the initial authorization scope and the at least one authorized object includes: If the initial authorization scope includes at least one authorized object, then the initial authorization scope shall be used as the target authorization scope; or, If the initial authorization scope includes some of the authorized objects from the at least one authorized object, then the other authorized objects from the at least one authorized object, excluding the partially authorized objects, are added to the initial authorization scope to obtain the target authorization scope.

7. The method according to any one of claims 1-4, characterized in that, Also includes: If, based on the identification information of the target object, it is determined that the target object is a second type of permission object, and the management scope of the target object does not include all of the at least one authorized object, then a switching failure response interface is presented, which includes a mode switching request component. In response to a triggering operation by the target object on the mode switching request component, a mode switching request message is presented to the specified object, so that the specified object switches the authorization mode of the target application to the target authorization mode based on the mode switching request message.

8. The method as described in claim 7, characterized in that, The response to the target object's triggered operation on the mode switching request component, presenting a mode switching request message sent to the specified object, includes: In response to the target object's trigger operation on the mode switching request component, at least one candidate object is presented, wherein each candidate object is a first type of permission object; In response to the target object selecting a specified object from the at least one candidate object, a mode switching application interface corresponding to the specified object is presented, and the mode switching application interface includes a confirmation application component; In response to the target object's triggered operation on the confirmation request component, a mode switching request message sent to the specified object is presented in the session interface with the specified object.

9. A mode switching device, characterized in that, include: The mode configuration unit is used to respond to the mode configuration operation of the target object for the target authorization mode in the target application, and to present the mode configuration operation interface, which includes the initial authorization scope of the target authorization mode and the added components of the authorized objects; An object adding unit is used to respond to a trigger operation of the target object adding a component to the authorized object, obtain at least one authorized object in the original authorization mode before the mode switch, and present the target authorization range in the mode configuration operation interface, wherein the target authorization range includes the at least one authorized object; A mode switching unit is used to respond to the mode switching operation of the target object for the target authorization mode and present a switching success response interface, which is used to indicate that the authorization mode of the target application is switched to the target authorization mode; Wherein, in response to the triggering operation of the target object adding a component to the authorized object, after obtaining at least one authorized object, before presenting the target authorization scope in the mode configuration operation interface, the object adding unit is further configured to: If the target object is determined to be a first-type permission object based on the identification information of the target object, then the target authorization scope is obtained based on the initial authorization scope and the at least one authorized object; If the target object is determined to be a second type of permission object based on the identification information of the target object, then when it is determined that the management scope of the target object includes at least one authorized object, the target authorization scope will be obtained based on the initial authorization scope and the at least one authorized object.

10. The apparatus as claimed in claim 9, characterized in that, Before presenting the mode configuration operation interface in response to the mode configuration operation of the target object for the target authorization mode in the target application, the mode configuration unit is further configured to: The application details interface of the target application is displayed, and the application details interface includes an application authorization method editing component; In response to the target object's trigger operation on the application authorization method editing component, an authorization mode selection interface is presented, which includes at least the target authorization mode.

11. The apparatus as claimed in claim 10, characterized in that, If the target object is a first-type permission object, then when presenting the application details interface of the target application, the mode configuration unit is specifically used for: Receive and present a mode switching request message from another object, the mode switching request message being used to instruct the target application to switch its authorization mode to the target authorization mode; In response to the target object's triggered operation in response to the mode switching request message, the application details page of the target application is displayed.

12. An electronic device, characterized in that, It includes a processor and a memory, wherein the memory stores a computer program that, when executed by the processor, causes the processor to perform the steps of any of the methods described in claims 1 to 8.

13. A computer-readable storage medium, characterized in that, It includes a computer program that, when run on an electronic device, causes the electronic device to perform the steps of any of the methods described in claims 1 to 8.

14. A computer program product, characterized in that, It includes a computer program stored in a computer-readable storage medium, and a processor of an electronic device reads from and executes the computer program, causing the electronic device to perform the steps of the method as described in any one of claims 1 to 8.