CN116561720A - Mode switching method and related device - Google Patents
Mode switching method and related device Download PDFInfo
- Publication number
- CN116561720A CN116561720A CN202210097555.7A CN202210097555A CN116561720A CN 116561720 A CN116561720 A CN 116561720A CN 202210097555 A CN202210097555 A CN 202210097555A CN 116561720 A CN116561720 A CN 116561720A
- Authority
- CN
- China
- Prior art keywords
- target
- mode
- authorization
- interface
- authorized
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000013475 authorization Methods 0.000 claims abstract description 302
- 230000004044 response Effects 0.000 claims abstract description 66
- 238000004590 computer program Methods 0.000 claims description 15
- 230000009191 jumping Effects 0.000 claims description 9
- 238000012790 confirmation Methods 0.000 claims description 8
- 238000007726 management method Methods 0.000 description 25
- 238000010586 diagram Methods 0.000 description 17
- 230000006870 function Effects 0.000 description 8
- 230000008569 process Effects 0.000 description 7
- 238000012986 modification Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 230000001960 triggered effect Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 238000011161 development Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 238000013473 artificial intelligence Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 238000003825 pressing Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/31—User authentication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/30—Authentication, i.e. establishing the identity or authorisation of security principals
- G06F21/45—Structures or tools for the administration of authentication
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Human Computer Interaction (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Stored Programmes (AREA)
Abstract
The application relates to the technical field of computers, and provides a mode switching method and a related device, which are used for improving the mode switching efficiency, wherein the method comprises the following steps: responding to the mode configuration operation of the target object aiming at the target authorization mode in the target application program, and presenting a mode configuration operation interface comprising an initial authorization scope and an authorized object adding component; responding to the triggering operation of the target object aiming at the authorized object adding component, acquiring the authorized object, and presenting a target authorization range in a mode configuration operation interface, wherein the target authorization range comprises the authorized object; and responding to the mode switching operation of the target object aiming at the target authorization mode, and presenting a switching success response interface, wherein the switching success response interface is used for indicating the authorization mode of the target application program to switch to the target authorization mode. In this way, by adding the authorized object to the authorization scope of the target application, smooth switching of the authorization mode is achieved.
Description
Technical Field
The application relates to the technical field of computers, and provides a mode switching method and a related device.
Background
Along with the continuous development of computer technology, when a target object is in a first application program and a second application program is called, the target object can be authorized through a first authorization mode and a second authorization mode, so that the target object obtains the use authority of the second application program; the first authorization mode refers to that target objects within a specified authorization range allow the second application program to be used, and the second authorization mode refers to that all target objects allow the second application program to be used.
In the related art, when switching from the second authorization mode to the first authorization mode, the object information of all authorized target objects is usually deleted, and then the authorization range of the second application is set.
However, in the process of setting the authorization scope of the second application program, since the object information of the authorized target object cannot be obtained, a situation may occur in which the authorized target object is not within the authorization scope, so that the authorized target object cannot continue to use the second application program, and the use efficiency of the application program is affected.
Disclosure of Invention
The embodiment of the application provides a mode switching method and a related device, which are used for improving the use efficiency of an application program.
In a first aspect, an embodiment of the present application provides a mode switching method, including:
responding to mode configuration operation of a target object aiming at a target authorization mode in a target application program, and presenting a mode configuration operation interface, wherein the mode configuration operation interface comprises an initial authorization range of the target authorization mode and an authorized object adding component;
responding to the triggering operation of the target object aiming at the authorized object adding component, acquiring at least one authorized object, and presenting a target authorization range in the mode configuration operation interface, wherein the target authorization range comprises the at least one authorized object;
And responding to the mode switching operation of the target object aiming at the target authorization mode, and presenting a switching success response interface, wherein the switching success response interface is used for indicating the authorization mode of the target application program to be switched to the target authorization mode.
In a second aspect, an embodiment of the present application provides a mode switching device, including:
the mode configuration unit is used for responding to the mode configuration operation of a target object aiming at a target authorization mode in a target application program, and presenting a mode configuration operation interface, wherein the mode configuration operation interface comprises an initial authorization range of the target authorization mode and an authorized object adding component;
an object adding unit, configured to obtain at least one authorized object in response to a triggering operation of the target object on the authorized object adding component, and present a target authorization range in the mode configuration operation interface, where the target authorization range includes the at least one authorized object;
and the mode switching unit is used for responding to the mode switching operation of the target object aiming at the target authorization mode, and presenting a switching success response interface, wherein the switching success response interface is used for indicating the authorization mode of the target application program to be switched to the target authorization mode.
As a possible implementation manner, in response to a triggering operation of the target object for a mode switching request message, an application detail page of the target application program is presented, and the mode configuration unit is specifically configured to:
responding to the triggering operation of the target object for the mode switching request message, presenting a request interface, wherein the request interface comprises an interface jumping assembly, and responding to the triggering operation of the target object for the interface jumping assembly, presenting an application detail page of the target application program; or,
and responding to the triggering operation of the target object for the mode switching request message, and directly presenting the application detail page of the target application program.
As a possible implementation manner, the mode configuration operation interface is presented in response to a mode configuration operation of the target object for a target authorization mode in the target application program, and the mode configuration unit is specifically configured to:
responding to mode configuration operation of a target object aiming at a target authorization mode in a target application program, and acquiring an authorized object list corresponding to the target application program;
and if the authorized object list contains at least one authorized object, presenting the mode configuration operation interface.
As a possible implementation manner, after the at least one authorized object is acquired in response to the triggering operation of the target object for the authorized object adding component, before the target authorization scope is presented 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 of authority object based on the identification information of the target object, acquiring the target authority range based on the initial authority range and the at least one authorized object;
if the target object is determined to be the second type of rights object based on the identification information of the target object, the target authorization scope is obtained based on the initial authorization scope and the at least one authorized object when the at least one authorized object is included in the management scope of the target object.
As a possible implementation manner, the obtaining the target authorization scope based on the initial authorization scope and the at least one authorized object, the object adding unit is specifically configured to:
if the initial authorization scope contains the at least one authorized object, the initial authorization scope is taken as the target authorization scope; or,
And if the initial authorization scope contains a part of authorized objects in the at least one authorized object, adding other authorized objects except the part of authorized objects in the at least one authorized object into the initial authorization scope to obtain the target authorization scope.
As a possible implementation, the object adding unit is further configured to:
if the target object is determined to be a second type of right object based on the identification information of the target object, and the at least one authorized object is not contained in the management range of the target object, a switching failure response interface is presented, wherein the switching failure response interface contains a mode switching request component;
and responding to the triggering operation of the target object for the mode switching request component, presenting a mode switching request message sent to a designated object, so that the designated object switches the authorization mode of the target application program to the target authorization mode based on the mode switching request message.
As a possible implementation manner, the responding to the triggering operation of the target object to the mode switching request component presents a mode switching request message sent to a specified object, and the object adding unit is specifically configured to:
Responding to the triggering operation of the target object for the mode switching request component, and presenting at least one candidate object, wherein each candidate object is a first type of rights object;
responding to a designated object selected from the at least one candidate object by the target object, and presenting a mode switching application interface corresponding to the designated object, wherein the mode switching application interface comprises a confirmation application component;
and responding to the triggering operation of the target object for the confirmation application component, and presenting a mode switching request message sent to the specified object in a session interface with the specified object.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory, where the memory stores a computer program that, when executed by the processor, causes the processor to perform the steps of the mode switching method described above.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium comprising a computer program for causing an electronic device to perform the steps of the above-described mode switching method when the computer program is run on the electronic device.
In a fifth aspect, embodiments of the present application provide a computer program product comprising a computer program stored in a computer readable storage medium, from which a processor of an electronic device reads and executes the computer program, causing the electronic device to perform the steps of the mode switching method described above.
In the embodiment of the application, a mode configuration operation interface comprising an initial authorization range and an authorized object adding component is presented in response to a mode configuration operation of a target object for a target authorization mode in a target application program; responding to the triggering operation of the target object aiming at the authorized object adding component, acquiring the authorized object, and presenting a target authorization range in a mode configuration operation interface, wherein the target authorization range comprises the authorized object; and responding to the mode switching operation of the target object aiming at the target authorization mode, and presenting a switching success response interface, wherein the switching success response interface is used for indicating the authorization mode of the target application program to switch to the target authorization mode.
Therefore, when the target authorization mode is switched, the authorized object is added into the authorization range of the target application program, so that the application use state of the authorized object after the authorization mode of the target application program is switched is consistent with the application use state before the authorization mode is switched, the situation that the authorized object cannot normally use the target application program after the authorization mode of the target application program is switched is avoided, the use efficiency of the application program is improved, the smooth switching of the authorization mode is realized, and the use feeling of a user is improved.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the application. The objectives and other advantages of the application will be realized and attained by the structure particularly pointed out in the written description and claims thereof as well as the appended drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application and do not constitute an undue limitation to the application. In the drawings:
fig. 1 is a schematic diagram of an application scenario provided in an embodiment of the present application;
fig. 2 is a flow chart of a mode switching method provided in an embodiment of the present application;
FIG. 3a is a schematic diagram of an application details interface provided in an embodiment of the present application;
FIG. 3b is a schematic diagram of an authorization mode selection interface according to an embodiment of the present application;
FIG. 4 is a schematic diagram of a mode configuration operation interface provided in an embodiment of the present application;
FIG. 5 is a schematic diagram of another mode configuration operation interface provided in an embodiment of the present application;
Fig. 6 is a schematic diagram of a handover success response interface provided in an embodiment of the present application;
fig. 7 is a schematic diagram of a handover failure response interface provided in an embodiment of the present application;
FIG. 8 is a logic diagram of requesting authorization from a supervisors provided in an embodiment of the present application;
FIG. 9 is a logic diagram of a process of authorizing a supervisors provided in an embodiment of the present application;
FIG. 10 is a flowchart of another mode switching method according to an embodiment of the present disclosure;
fig. 11 is a schematic view of another application scenario provided in the embodiments of the present application;
fig. 12 is a schematic structural diagram of a mode switching device according to an embodiment of the present application;
fig. 13 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the technical solutions of the present application, but not all embodiments. All other embodiments, which can be made by a person of ordinary skill in the art without any inventive effort, based on the embodiments described in the present application are intended to be within the scope of the technical solutions of the present application.
Along with the continuous development of computer technology, when a target object is in a first application program and a second application program is called, the target object can be authorized through a first authorization mode and a second authorization mode, so that the target object obtains the use authority of the second application program; the first authorization mode refers to that target objects within a specified authorization range allow the second application program to be used, and the second authorization mode refers to that all target objects allow the second application program to be used.
In the related art, when switching from the second authorization mode to the first authorization mode, the object information of all authorized target objects is usually deleted, and then the authorization range of the second application is set.
However, in the process of setting the authorization scope of the second application program, since the object information of the authorized target object cannot be obtained, a situation may occur in which the authorized target object is not within the authorization scope, so that the authorized target object cannot continue to use the second application program, and the use efficiency of the application program is affected.
In order to improve the use efficiency of an application program, in the embodiment of the application, a mode configuration operation interface comprising an initial authorization scope and an authorized object adding component is presented in response to a mode configuration operation of a target object for a target authorization mode in the target application program; responding to the triggering operation of the target object aiming at the authorized object adding component, acquiring at least one authorized object, and presenting a target authorization range in a mode configuration operation interface, wherein the target authorization range comprises at least one authorized object; and responding to the mode switching operation of the target object aiming at the target authorization mode, and presenting a switching success response interface, wherein the switching success response interface is used for indicating the authorization mode of the target application program to switch to the target authorization mode.
Therefore, when the target authorization mode is switched, the authorized object is added into the authorization range of the target application program, so that the application use state of the authorized object after the authorization mode of the target application program is switched is consistent with the application use state before the authorization mode is switched, the situation that the authorized object cannot normally use the target application program after the authorization mode of the target application program is switched is avoided, the use efficiency of the application program is improved, the smooth switching of the authorization mode is realized, and the use feeling of a user is improved.
The preferred embodiments of the present application will be described below with reference to the accompanying drawings of the specification, it being understood that the preferred embodiments described herein are for illustration and explanation only, and are not intended to limit the present application, and the embodiments of the present application and the features of the embodiments may be combined with each other without conflict.
Fig. 1 is a schematic view of an application scenario in an embodiment of the present application. The application scenario includes at least one terminal device 110 and a server 120, where the terminal device 110 and the server 120 may communicate through a network.
In an alternative embodiment, the communication network is a wired network or a wireless network. The terminal device 110 and the server 120 may be directly or indirectly connected through wired or wireless communication, which is not limited herein.
In the embodiment of the present application, the terminal device 110 is an electronic device used by a user, and the electronic device may be a computer device with a certain computing capability, such as a personal computer, a mobile phone, a tablet computer, a notebook computer, and the like. Each terminal device 110 is connected to the server 120 through a communication network, where the server 120 may be an independent physical server, or may be a server cluster or a distributed system formed by a plurality of physical servers, or may be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, a content distribution network (Content Delivery Network, CDN), and basic cloud computing services such as big data and an artificial intelligence platform.
In this embodiment, the user may obtain the relevant operation interface through the terminal device 110, and the terminal device 110 obtains each operation event triggered by the user at the operation interface, so as to implement the switching of the target authorization mode, and the specific mode switching flow is described below.
The terminal device 110 is provided with a client, and the client may be an application program with a function of calling a third party application program, for example, an instant messaging application, a social application, etc., or may be an applet, a web page, etc., which is not particularly limited herein. The server 120 is a server corresponding to an application or a web page, applet, or the like.
In the embodiment of the present application, only an application program is taken as an example for explanation, and an application program corresponding to a client installed in the terminal device 110 may be referred to as a main application program, and the target application program refers to a third party application program invoked in the main application program. In the following, only the main application is taken as an enterprise instant messaging application, and the target application is taken as a third party application as an example.
Referring to fig. 2, a mode switching method provided in the embodiment of the present application may be applied to a terminal device or a server, and the specific flow is as follows:
s201, responding to mode configuration operation of a target object aiming at a target authorization mode in a target application program, presenting a mode configuration operation interface, wherein the mode configuration operation interface comprises an initial authorization range of the target authorization mode and an authorized object adding component.
In some embodiments, before performing S201, the following steps may be further included:
presenting an application detail interface of the target application program, wherein the application detail interface comprises an application authorization mode editing component; responding to the triggering operation of the target object aiming at the application authorization mode editing component, and presenting an authorization mode selection interface, wherein the authorization mode selection interface at least comprises a target authorization mode.
It should be noted that, the triggering operation of the target object for the application authorization editing component includes, but is not limited to, clicking, double clicking, long pressing, etc., and the triggering operation may be triggered by, but is not limited to, a mouse, a keyboard, touching, etc.
When the target object triggers a selection operation for the target authorization mode, determining that the target object triggers a mode configuration operation for the target authorization mode, wherein the selection operation can be triggered by a mode such as a mouse, a keyboard, a touch and the like, and the selection operation for the target authorization mode comprises the following steps of: double clicking on the target authorization mode, clicking on the ok button after selecting the target authorization mode, clicking on the target authorization mode, etc.
For example, referring to fig. 3a, which is an application detail interface of a target application program provided in the embodiment of the present application, the application detail interface shown in fig. 3a includes information such as a name of the target application program, a function introduction, a customer service call, a current version, an expiration time, a number of people used, etc., where the name of the target application program is application program 1, and the function introduction of the application program 1 characterizes that the application program 1 can be used to implement functions such as meeting reservation notification and task arrangement, travel reimbursement and fee control, workflow design and approval, etc. The application detail interface shown in fig. 3a includes a dashed box 31, where the dashed box 31 represents an application authorization manner editing component, and the application detail interface further includes an authorized object viewing component, an application authority viewing component, and other components. The application authorization mode editing component is used for realizing the switching of authorization modes, the authorized object viewing component is used for viewing the authorized object, and the application authority viewing component is used for viewing the application authority.
When the user clicks the application authorization mode editing component, an authorization mode selection interface shown in fig. 3b is presented, where the authorization mode selection interface includes two authorization modes: the enterprise member authorization and use mode and the enterprise manager authorization and use mode, wherein the enterprise member authorization and use mode refers to that the enterprise member can autonomously authorize the use of the target application program, and the enterprise manager authorization and use mode refers to that the member in the manager authorization range can use the target application program. In the authorization mode selection interface shown in fig. 3b, the enterprise member authorization usage mode and the enterprise administrator authorization usage mode are presented in a form of a list, and the authorization mode selection interface further includes a "confirm" button, when the user selects the enterprise member authorization usage mode, the enterprise member authorization usage mode is used as a target authorization mode, and after the user clicks the "confirm" button, mode configuration operation for the enterprise member authorization usage mode is confirmed to be triggered, when the user selects the enterprise administrator authorization usage mode, the enterprise administrator authorization usage mode is used as a target authorization mode, and after the user clicks the "confirm" button, mode configuration operation for the enterprise administrator authorization usage mode is confirmed to be triggered.
Through the implementation mode, the target object can rapidly configure the target authorization mode, and the configuration flow of the authorization mode is simplified, so that the configuration efficiency of the target authorization mode is improved, and the mode switching efficiency is further improved.
Hereinafter, the enterprise administrator authorized use mode will be described by taking only the target authorized mode as an example.
In this embodiment of the present application, the presented initial authorization scope may be a part of the objects in the initial authorization scope, or may be all the objects in the initial authorization scope, or may be the number of all the objects in the initial authorization scope, which is not limited.
The mode configuration operation interface may further include an authorization scope editing component, a management scope viewing component, etc., where the authorization scope viewing component is used for setting an initial authorization scope, and the management scope viewing component is used for viewing a management scope of the target object, but is not limited thereto.
For example, referring to fig. 4, which is a schematic diagram of a first mode configuration operation interface provided in the embodiment of the present application, the mode configuration operation interface shown in fig. 4 includes an "authorization scope" component, an "add autonomous authorized member" component, a "usable authority" component, and a dedicated customer service configuration component, where the "authorization scope" component is a text description including an "authorization scope" in an authorization scope editing component, and includes an initial authority scope, the initial authority scope includes Zhang three, the "add autonomous authorized member" component is an authorized object adding component, the mode configuration operation interface further includes the number of authorized objects, the number of authorized objects is 2, the "usable authority" component is a management scope viewing component, when the user clicks the authorization scope editing component, the initial authorization scope is set, when the user clicks the add autonomous authorized member component, the authorized objects are added into the authorization scope, and when the user clicks the management scope viewing component, the management scope is presented. The mode configuration operation interface also includes "selected 1 person, add application 1 to the workstation of the authorized domain member after authorization", that is, three persons are included in the current authorized domain.
S202, responding to the triggering operation of the target object aiming at the authorized object adding component, acquiring at least one authorized object, and presenting a target authorized range in a mode configuration operation interface, wherein the target authorized range comprises at least one authorized object.
In the embodiment of the present application, the presented target authorization scope may be the number of objects included in the target authorization scope, or may be some or all of the objects included in the target authorization scope, which is not limited.
For example, referring to fig. 5, which is a schematic diagram of a second mode configuration operation interface provided in the embodiment of the present application, in the mode configuration operation interface shown in fig. 5, after a user selects an authorized object adding component, that is, clicks on the "member with autonomous authorization" component to trigger the authorized object adding component, the "selected 3 persons" is prompted in the mode configuration operation interface, that is, the target authorization scope includes Zhang three and two authorized objects.
And S203, responding to the mode switching operation of the target object aiming at the target authorization mode, and presenting a switching success response interface, wherein the switching success response interface is used for indicating the authorization mode of the target application program to be switched to the target authorization mode.
It should be noted that, in the embodiment of the present application, referring to fig. 5, when the target object clicks the "grant above grant" button included in the mode configuration operation interface, it is determined that the target object triggers the mode switching operation for the target grant mode.
The switching success response interface comprises a switching success prompt component, and the switching success prompt component comprises switching success prompt information. The switching success response interface can also comprise an application detail interface of the target application program, and when the switching success response interface is presented, the switching success prompt component can be suspended above the application detail interface of the target application program for presentation, and can also present the application detail interface of the target application program after the presentation time of the switching success prompt information reaches a preset time threshold.
It should be noted that, when the switching success prompting component may be suspended above the application detail interface of the target application program for presentation, the image transparency of the switching success prompting component may be set according to the actual application scenario, so that the switching success prompting component does not cover the information contained in the application detail interface.
For example, referring to fig. 6, a schematic diagram of a handover success response interface provided in the embodiment of the present application is shown, where the handover success response interface includes a handover success prompting component and an application detail interface of a target application program, the handover success prompting component is suspended above the application detail interface of the target application program, and the handover success prompting component includes handover success prompting information: the application detail interface of the target application program is authorized, the application detail interface of the target application program contains information such as the name and the function introduction of the target application, the application authorization mode of the target application program is authorized by an enterprise manager, namely, the authorization mode of the target application program is switched to the enterprise manager authorization use mode, and the target authorization range is Zhang three, li four and Chen Jie. When the authorization mode of the target application program is switched to the target authorization mode, the application detail interface of the target application program can further comprise a chat attachment column, and the chat attachment column is used for enabling the member to rapidly send an application page to a chat through the chat attachment column.
In some embodiments, in response to a mode configuration operation of a target object for a target authorization mode in a target application, presenting a mode configuration operation interface includes:
responding to mode configuration operation of a target object aiming at a target authorization mode in a target application program, and acquiring an authorized object list corresponding to the target application program; and if the authorized object list contains at least one authorized object, presenting a mode configuration operation interface.
The authorized object list includes identification information of the target application program and identification information of the authorized object, and in this embodiment of the present application, the identification information may be represented by a serial number (ID).
For example, suppose that the authorized object list includes ID1 and ID2, where ID1 is used to characterize listi and ID2 is used to characterize Chen Jie.
And if the authorized object list contains at least one authorized object, acquiring a target authorized range input by the target object, and switching the authorized mode of the target application program to a target authorized mode based on the target authorized range input by the target object.
By means of the implementation mode, under the condition that the authorized object exists, the authorized object can be automatically added into the authorized range through the authorized object adding component, smooth switching of the authorized mode is achieved, meanwhile, switching efficiency of the authorized mode is guaranteed, and under the condition that the authorized object does not exist, the authorized range can be manually configured, the adding process of the authorized object is skipped, and therefore switching efficiency of the authorized mode is improved.
In some embodiments, in order to improve the management efficiency and the application security of the application program, in this embodiment of the present application, the target object may be a first type of rights object or a second type of rights object, where the first type of rights object may also be referred to as a super administrator, and the second type of rights object may also be referred to as a hierarchical administrator, where the super administrator is used for a management authority higher than that of the hierarchical administrator, and the management scope of the super administrator may be all enterprise members, and the management scope of the hierarchical administrator is an enterprise member. In the embodiment of the present application, only the first type of rights object and the second type of rights object are described as examples, and in the actual application process, more rights object types may be set, which is not limited.
Specifically, in the mode configuration operation interface, before the target authorization scope is presented, there are two cases, but not limited to:
case 1: if the target object is determined to be the first type of rights object based on the identification information of the target object, the target authorization scope is obtained based on the initial authorization scope and at least one authorized object.
It should be noted that, in the embodiment of the present application, a mapping relationship between identification information of a target object and a rights type may be preset, and whether the target object is a first-type rights object may be determined based on the mapping relationship.
Specifically, based on the initial authorization scope and the at least one authorized object, there are two possible scenarios, but not limited to:
case 1-a: if the initial authorization scope contains at least one authorized object, the initial authorization scope is directly taken as a target authorization scope.
For example, if the initial authorization range includes Zhang three, lifour, chen Jie and the authorized object is Lifour, chen Jie, and if the initial authorization range includes Lifour, chen Jie, the initial authorization range is directly taken as the target authorization range.
Case 1-B: if the initial authorization range contains a part of authorized objects in at least one authorized object, adding other authorized objects except the part of authorized objects in the at least one authorized object into the initial authorization range to obtain a target authorization range: zhang san, lisi, chen Jie.
For example, assuming that the initial authorization range includes Zhang three and Lifour, and the authorized object is Lifour and Chen Jie, at this time, the initial authorization range includes Lifour but does not include Chen Jie, therefore Chen Jie is added to the initial authorization range to obtain the target authorization range: zhang san, lisi, chen Jie.
Case 2: if the target object is determined to be the second type of rights object based on the identification information of the target object, when the management range of the target object is determined to contain at least one authorized object, the target authorization range is obtained based on the initial authorization range and the at least one authorized object.
In this embodiment of the present application, the management scope of the target object may be stored in a form of, but not limited to, a management scope list, where the management scope list includes identification information of each object in the management scope.
Since in case 2, the process of obtaining the target authorization scope based on the initial authorization scope and the at least one authorized object is the same as that in cases 1-a and 1-B described above, and will not be described in detail here.
Case 3: if the target object is determined to be the second type of right object based on the identification information of the target object, and the management range of the target object does not all contain at least one authorized object, a switching failure response interface is presented, and the switching failure response interface contains a mode switching request component; and responding to the triggering operation of the target object for the mode switching request component, presenting a mode switching request message sent to the specified object so that the specified object switches the authorization mode of the target application program to the target authorization mode based on the mode switching request message.
For example, referring to fig. 7, a schematic diagram of a handover failure response interface provided in the embodiments of the present application includes handover failure prompt information indicating that authorization is unavailable, and a "contact manager" button, where the "contact manager" button is a mode handover request component, and after a user a clicks the "contact manager" button, a mode handover request message sent to a user B is presented in response to a triggering operation of the user a on the mode handover request component, so that the user B switches an authorization mode of a target application program to a target authorization mode based on the mode handover request message.
Specifically, in response to a triggering operation of the target object for the mode switching request component, when the mode switching request message sent to the specified object is presented, there are but not limited to the following several possible implementations:
a first possible implementation: a specified object is selected by the target object.
Responding to the triggering operation of the target object aiming at the mode switching request component, and presenting at least one candidate object, wherein each candidate object is a first type of rights object;
responding to a designated object selected from at least one candidate object by a target object, and presenting a mode switching application interface corresponding to the designated object, wherein the mode switching application interface comprises a confirmation application component;
and responding to the triggering operation of the target object for the confirmation application component, and presenting a mode switching request message sent to the specified object in a session interface with the specified object.
The mode switching application interface corresponding to the specified object may further include an input box for receiving input of the target object, where the input box is used for inputting an application reason of mode switching.
For example, referring to fig. 8, after user a clicks the "contact manager" button, respective candidates are presented in response to a trigger operation of user a for the mode switch request component: chua A, chen B, chen C, etc., chua A, chen B, chen C wait for selecting the object as super manager, user selects Chen B as the appointed object, presents the corresponding mode switching application interface of Chen B, the mode switching application interface includes an application button, the application button is the affirmation application component, after clicking the application button, presents the mode switching request message sent to Chen B in the conversation interface with the appointed object.
In this embodiment of the present application, the user may select one or multiple specified objects, and if multiple specified objects are selected, any one of the selected specified objects may switch the target authorization mode, and after any one specified object switches the target authorization mode, other specified objects trigger a mode switching request message, and then the message may be prompted to fail. Since the implementation of selecting a plurality of specified objects is similar to the implementation of selecting one specified object, the description thereof will not be repeated.
Through the implementation mode, when the target object cannot be authorized, the appointed object is selected from the super administrator, and the target authorization mode is switched through the appointed object, so that smooth switching of the target authorization mode is realized, and meanwhile diversified product requirements of users are met.
A second possible implementation: a specified object is set in advance. The specified object may be set by the target object or by default.
Specifically, in response to a triggering operation of the target object for the mode switching request component, a mode switching request message is directly sent to the specified object, and the mode switching request message is presented in a session interface of the target object and the specified object. Since the implementation manner of the preset specified object is similar to the implementation manner of the target object to select the specified object, the description thereof will not be repeated.
Through the implementation manner, when the target object cannot be authorized, the target authorization mode can be directly switched through the preset designated object, so that smooth switching of the target authorization mode is realized, and the operation is simpler, so that the time consumed by switching can be reduced, and the switching efficiency is further improved.
In some embodiments, if the target object is a first type rights object, that is, the target object is a super administrator, a mode switching request message may be received from another object, and then the target object may switch the target authorization mode through the received mode switching request message.
Specifically, a mode switching request message from other objects is received and presented, wherein the mode switching request message is used for indicating that the authorization mode of the target application program is switched to a target authorization mode; and responding to the triggering operation of the target object for the mode switching request message, and presenting an application detail page of the target application program.
Wherein, in response to the triggering operation of the target object for the mode switching request message, when the application detail page of the target application program is presented, the following two possible implementations exist, but are not limited to:
Mode 1: and responding to the triggering operation of the target object for the mode switching request message, presenting a request interface, wherein the request interface comprises an interface jumping component, and presenting an application detail page of the target application program in response to the triggering operation of the target object for the interface jumping component.
The mode switch request message may be in the form of a message card containing, but not limited to, one or more of the following information:
card type, card title, card subtitle, card icon, icon of target application, name of target application, card content, ID of application member, call link (URL Schema) of target application, wherein the card content of world Wide Web (web) type is web page link for realizing interface jump in response to click event. URL Schema refers to a rule provided by a target application to the outside that can directly operate the target application. URL Schema may be expressed in the following form: scheme name:// thindapp_detaileapp ID = xxx, where scheme name is used to identify a scheme, xxx is a variable parameter, and xxx is used to represent the ID of the target application.
When the target object clicks the mode switching request message, determining that the target object triggers the mode switching request message. The request interface may also include an application authorization object, i.e., an authorized object that is not included within the administrative scope of the message sender.
For example, referring to fig. 9, in response to a triggering operation of a target object for a mode switching request message, a request interface is presented, where the request interface includes a "go to setting" button, and the "go to setting" button is an interface jump component, and the request interface may further include an application authorization object: and thirdly, after clicking the 'go to setting' button, the user presents the application detail page of the target application program according to the triggering operation of the target object aiming at the interface jumping assembly.
Through the implementation manner, the super administrator can switch the target authorization mode according to the mode switching request message after receiving the mode switching request message, so that smooth switching of the target authorization mode is ensured.
Mode 2: and responding to the triggering operation of the target object for the mode switching request message, and directly presenting the application detail page of the target application program.
In order to simplify the operation flow, an application detail interface presented by the target application can also be directly presented to the super administrator, and since the interface presentation process is similar to that of the mode 1, the description is omitted here.
The present application will be described with reference to specific examples.
Embodiment one: the main application program is an enterprise instant messaging application program, and the target application program is a third party application program: application 2, application 2 is used to provide project management functions. Referring to fig. 10, a specific flow of mode switching is as follows:
S1001, presenting an application detail interface of the application 2.
S1002, in response to the mode configuration operation of the administrator a for the enterprise administrator to authorize the usage mode, a list of authorized objects corresponding to the acquired application 2 is presented. The authorized object list corresponding to the application program 2 contains identification information of the application program 2 and identification information of each authorized object.
S1003, judging whether the authorized object list contains at least one authorized object, if yes, executing S1004, otherwise executing S1013.
S1004, presenting a mode configuration operation interface. The mode configuration operation interface comprises an initial authorization range of the enterprise administrator authorized use mode and an authorized object adding component. The initial authorization scope may be preconfigured by the administrator a, or may refer to configuration in the presentation mode configuration operation interface after the presentation mode configuration operation interface.
S1005, it is determined whether the administrator a triggers the authorized object addition component, if so, S1006 is executed, otherwise S1013 is executed.
S1006, obtaining each authorized object from the authorized object list.
S1007, according to the identification information of the administrator a, it is determined whether the administrator a is a super administrator, if yes, S1009 is executed, otherwise S1008 is executed.
S1008, judging whether each authorized object is contained in the management scope of the administrator A, if so, executing S1009, otherwise executing S1011.
S1009, based on the initial authorization scope and each authorized object, obtains a target authorization scope. The target authorization range contains all authorized objects.
It should be noted that, in this embodiment of the present application, each authorized object may be sequentially added to the target authorization range, or each authorized object may be added to the target authorization range at one time, if each authorized object is sequentially added to the target authorization range, then the authorized members included in the authorized object list may be sequentially added to the target authorization range, and the authorized members added to the target authorization range are deleted from the authorized object list until the authorized members are not included in the authorized object list, that is, the authorized object list is empty.
S1010, switching the authorization mode of the application program 2 to an enterprise administrator authorization use mode.
S1011, presenting a switching failure response interface, wherein the switching failure response interface comprises a mode switching request component.
And S1012, responding to the triggering operation of the manager A for the mode switching request component, and presenting a mode switching request message sent to the super manager A so that the super manager A switches the authorization mode of the application program 2 to the enterprise manager authorization use mode based on the mode switching request message.
S1013, acquiring a target authorization range input by the administrator A, and switching the authorization mode of the application program 2 to the enterprise administrator authorization use mode based on the target authorization range input by the administrator A.
Embodiment two: the main application program is a social application program, and the target application program is a third party application program: application 3, application 3 is for providing item claim functionality.
Referring to fig. 11, the social application includes users such as Zhao a and Zhao B, the management scope of the manager B includes Zhao a and Zhao B, and the management scope of the manager C includes Zhao a and Zhao B.
After presenting the application details interface of the application program 3, in response to a mode configuration operation of the administrator B for the administrator authorized use mode, a list of authorized objects corresponding to the acquired application program 3 is presented. The authorized object list includes a plurality of authorized objects: zhao A and Zhao B.
In the mode configuration operation interface, the administrator B inputs an initial authorization range of the administrator authorized to use the mode, wherein the initial authorization range comprises the following objects: and Li IV, the mode configuration operation interface comprises an authorized object adding component.
If the manager B triggers the authorized object adding component, the triggering operation of the manager B on the authorized object adding component is responded, the manager B is determined not to be a super manager, and whether the management range of the manager B contains Zhao A and Zhao B is further judged.
Since the management scope of the administrator B does not include the Zhao B, a switching failure response interface is presented to the administrator B, and a mode switching request message is sent to the administrator C, and the mode switching request message is presented in the form of a message card.
After receiving the mode switching request message, the terminal device of the administrator C responds to the URL Schema of the application program 3 carried by the mode switching request message, enters an application detail interface of the application program 3, and switches the authorization mode of the application program 3 to the administrator authorization use mode.
Based on the same inventive concept, the embodiments of the present application provide a mode switching device. As shown in fig. 12, which is a schematic structural diagram of the mode switching apparatus 1200, may include:
a mode configuration unit 1201, configured to respond to a mode configuration operation of a target object for a target authorization mode in a target application program, and present a mode configuration operation interface, where the mode configuration operation interface includes an initial authorization range of the target authorization mode and an authorized object adding component;
an object adding unit 1202, configured to obtain at least one authorized object in response to a triggering operation of the target object for the authorized object adding component, and present a target authorization scope in the mode configuration operation interface, where the target authorization scope includes the at least one authorized object;
The mode switching unit 1203 is configured to respond to a mode switching operation of the target object for the target authorization mode, and present a switching success response interface, where the switching success response interface is configured to instruct the authorization mode of the target application to switch to the target authorization mode.
As a possible implementation manner, before the mode configuration operation interface is presented 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:
presenting an application detail interface of the target application program, wherein the application detail interface comprises an application authorization mode editing component;
and responding to the triggering operation of the target object aiming at the application authorization mode editing component, and presenting an authorization mode selection interface, wherein the authorization mode selection interface at least comprises the target authorization mode.
As a possible implementation manner, if the target object is a first type of rights object, when the application detail interface of the target application program is presented, the mode configuration unit 1201 is specifically configured to:
receiving and presenting a mode switching request message from other objects, wherein the mode switching request message is used for indicating to switch the authorization mode of the target application program to the target authorization mode;
And responding to the triggering operation of the target object for the mode switching request message, and presenting the application detail page of the target application program.
As a possible implementation manner, in response to a triggering operation of the target object for a mode switching request message, an application detail page of the target application program is presented, and the mode configuration unit 1201 is specifically configured to:
responding to the triggering operation of the target object for the mode switching request message, presenting a request interface, wherein the request interface comprises an interface jumping assembly, and responding to the triggering operation of the target object for the interface jumping assembly, presenting an application detail page of the target application program; or,
and responding to the triggering operation of the target object for the mode switching request message, and directly presenting the application detail page of the target application program.
As a possible implementation manner, the mode configuration operation interface is presented in response to a mode configuration operation of the target object for the target authorization mode in the target application, and the mode configuration unit 1201 is specifically configured to:
responding to mode configuration operation of a target object aiming at a target authorization mode in a target application program, and acquiring an authorized object list corresponding to the target application program;
And if the authorized object list contains at least one authorized object, presenting the mode configuration operation interface.
As a possible implementation manner, after the obtaining at least one authorized object in response to the triggering operation of the target object for the authorized object adding component, before the presenting the target authorization scope in the mode configuration operation interface, the object adding unit 1202 is further configured to:
if the target object is determined to be a first type of authority object based on the identification information of the target object, acquiring the target authority range based on the initial authority range and the at least one authorized object;
if the target object is determined to be the second type of rights object based on the identification information of the target object, the target authorization scope is obtained based on the initial authorization scope and the at least one authorized object when the at least one authorized object is included in the management scope of the target object.
As a possible implementation manner, the obtaining the target authorization scope based on the initial authorization scope and the at least one authorized object, the object adding unit 1202 is specifically configured to:
If the initial authorization scope contains the at least one authorized object, the initial authorization scope is taken as the target authorization scope; or,
and if the initial authorization scope contains a part of authorized objects in the at least one authorized object, adding other authorized objects except the part of authorized objects in the at least one authorized object into the initial authorization scope to obtain the target authorization scope.
As a possible implementation, the object adding unit 1202 is further configured to:
if the target object is determined to be a second type of right object based on the identification information of the target object, and the at least one authorized object is not contained in the management range of the target object, a switching failure response interface is presented, wherein the switching failure response interface contains a mode switching request component;
and responding to the triggering operation of the target object for the mode switching request component, presenting a mode switching request message sent to a designated object, so that the designated object switches the authorization mode of the target application program to the target authorization mode based on the mode switching request message.
As a possible implementation manner, the presenting, in response to a triggering operation of the target object for the mode switching request component, a mode switching request message sent to a specified object, where the object adding unit 1202 is specifically configured to:
responding to the triggering operation of the target object for the mode switching request component, and presenting at least one candidate object, wherein each candidate object is a first type of rights object;
responding to a designated object selected from the at least one candidate object by the target object, and presenting a mode switching application interface corresponding to the designated object, wherein the mode switching application interface comprises a confirmation application component;
and responding to the triggering operation of the target object for the confirmation application component, and presenting a mode switching request message sent to the specified object in a session interface with the specified object.
For convenience of description, the above parts are described as being functionally divided into modules (or units) respectively. Of course, the functions of each module (or unit) may be implemented in the same piece or pieces of software or hardware when implementing the present application.
The specific manner in which the respective units execute the requests in the apparatus of the above embodiment has been described in detail in the embodiment concerning the method, and will not be described in detail here.
Those skilled in the art will appreciate that the various aspects of the present application may be implemented as a system, method, or program product. Accordingly, aspects of the present application may be embodied in the following forms, namely: an entirely hardware embodiment, an entirely software embodiment (including firmware, micro-code, etc.) or an embodiment combining hardware and software aspects may be referred to herein as a "circuit," module "or" system.
Having described the mode switching method and apparatus of exemplary embodiments of the present application, next, an electronic device according to another exemplary embodiment of the present application is described.
Fig. 13 is a block diagram of an electronic device 1300, according to an example embodiment, the apparatus comprising:
a processor 1310;
a memory 1320 for storing instructions executable by the processor 1310;
wherein the processor 1310 is configured to execute instructions to implement a mode switching method in an embodiment of the present application, such as the steps shown in fig. 2.
In an exemplary embodiment, a storage medium is also provided that includes operations, such as a memory 1320 including operations, that are executable by the processor 1310 of the electronic device 1300 to perform the above-described methods. Alternatively, the storage medium may be a non-transitory computer readable storage medium, for example, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a portable compact disc Read-Only Memory (Compact Disk Read Only Memory, CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
Based on the same inventive concept, the present application also provides a computer program product or a computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the mode switching method provided in the various alternative implementations of the above embodiments.
In some possible embodiments, aspects of the mode switching method provided herein may also be implemented in the form of a program product comprising a computer program for causing a computer device to perform the steps of the mode switching method according to the various exemplary embodiments of the present application described herein above, when the program product is run on a computer device, e.g. the computer device may perform the steps as shown in fig. 2.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, a RAM, a ROM, an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The program product of embodiments of the present application may take the form of a CD-ROM and include program code that can run on a computing device. However, the program product of the present application is not limited thereto, and in this document, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with a command execution system, apparatus, or device.
The readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable signal medium may also be any readable medium that is not a readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with a command execution system, apparatus, or device. While preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present application without departing from the spirit or scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims and the equivalents thereof, the present application is intended to cover such modifications and variations.
Claims (15)
1. A method of mode switching, the method comprising:
responding to mode configuration operation of a target object aiming at a target authorization mode in a target application program, and presenting a mode configuration operation interface, wherein the mode configuration operation interface comprises an initial authorization range of the target authorization mode and an authorized object adding component;
responding to the triggering operation of the target object aiming at the authorized object adding component, acquiring at least one authorized object, and presenting a target authorization range in the mode configuration operation interface, wherein the target authorization range comprises the at least one authorized object;
and responding to the mode switching operation of the target object aiming at the target authorization mode, and presenting a switching success response interface, wherein the switching success response interface is used for indicating the authorization mode of the target application program to be switched to the target authorization mode.
2. The method of claim 1, wherein the responding to the mode configuration operation of the target object for the target authorization mode in the target application program, before presenting the mode configuration operation interface, further comprises:
presenting an application detail interface of the target application program, wherein the application detail interface comprises an application authorization mode editing component;
and responding to the triggering operation of the target object aiming at the application authorization mode editing component, and presenting an authorization mode selection interface, wherein the authorization mode selection interface at least comprises the target authorization mode.
3. The method of claim 2, wherein presenting the application details interface of the target application program if the target object is a first type of rights object comprises:
receiving and presenting a mode switching request message from other objects, wherein the mode switching request message is used for indicating to switch the authorization mode of the target application program to the target authorization mode;
and responding to the triggering operation of the target object for the mode switching request message, and presenting the application detail page of the target application program.
4. The method of claim 3, wherein presenting the application details page of the target application in response to a triggering operation of the target object for a mode switch request message comprises:
Responding to the triggering operation of the target object for the mode switching request message, presenting a request interface, wherein the request interface comprises an interface jumping assembly, and responding to the triggering operation of the target object for the interface jumping assembly, presenting an application detail page of the target application program; or,
and responding to the triggering operation of the target object for the mode switching request message, and directly presenting the application detail page of the target application program.
5. The method of any of claims 1-4, wherein presenting a mode configuration operation interface in response to a mode configuration operation of a target object for a target authorization mode in a target application comprises:
the mode configuration operation of the target object aiming at a target authorization mode in a target application program is responded, and an authorized object list corresponding to the target application program is obtained;
and if the authorized object list contains at least one authorized object, presenting the mode configuration operation interface.
6. The method of any of claims 1-4, wherein after the obtaining at least one authorized object in response to a triggering operation of the target object for the authorized object addition component, before presenting a target authorization scope in the mode configuration operation interface, further comprises:
If the target object is determined to be a first type of authority object based on the identification information of the target object, acquiring the target authority range based on the initial authority range and the at least one authorized object;
if the target object is determined to be the second type of rights object based on the identification information of the target object, the target authorization scope is obtained based on the initial authorization scope and the at least one authorized object when the at least one authorized object is included in the management scope of the target object.
7. The method of claim 6, wherein the obtaining the target authorization scope based on the initial authorization scope and the at least one authorized object comprises:
if the initial authorization scope contains the at least one authorized object, the initial authorization scope is taken as the target authorization scope; or,
and if the initial authorization scope contains a part of authorized objects in the at least one authorized object, adding other authorized objects except the part of authorized objects in the at least one authorized object into the initial authorization scope to obtain the target authorization scope.
8. The method of any one of claims 1-4, further comprising:
if the target object is determined to be a second type of right object based on the identification information of the target object, and the at least one authorized object is not contained in the management range of the target object, a switching failure response interface is presented, wherein the switching failure response interface contains a mode switching request component;
and responding to the triggering operation of the target object for the mode switching request component, presenting a mode switching request message sent to a designated object so that the designated object switches the authorization mode of the target application program to the target authorization mode based on the mode switching request message.
9. The method of claim 8, wherein the presenting the mode switch request message sent to the specified object in response to the triggering operation of the target object for the mode switch request component comprises:
responding to the triggering operation of the target object for the mode switching request component, and presenting at least one candidate object, wherein each candidate object is a first type of rights object;
Responding to a designated object selected from the at least one candidate object by the target object, and presenting a mode switching application interface corresponding to the designated object, wherein the mode switching application interface comprises a confirmation application component;
and responding to the triggering operation of the target object for the confirmation application component, and presenting a mode switching request message sent to the specified object in a session interface with the specified object.
10. A mode switching device, comprising:
the mode configuration unit is used for responding to the mode configuration operation of a target object aiming at a target authorization mode in a target application program, and presenting a mode configuration operation interface, wherein the mode configuration operation interface comprises an initial authorization range of the target authorization mode and an authorized object adding component;
an object adding unit, configured to obtain at least one authorized object in response to a triggering operation of the target object on the authorized object adding component, and present a target authorization range in the mode configuration operation interface, where the target authorization range includes the at least one authorized object;
and the mode switching unit is used for responding to the mode switching operation of the target object aiming at the target authorization mode, and presenting a switching success response interface, wherein the switching success response interface is used for indicating the authorization mode of the target application program to be switched to the target authorization mode.
11. The apparatus of claim 10, wherein the mode configuration unit is further configured to, prior to presenting the mode configuration operation interface in response to a mode configuration operation of the target object for a target authorization mode in the target application:
presenting an application detail interface of the target application program, wherein the application detail interface comprises an application authorization mode editing component;
and responding to the triggering operation of the target object aiming at the application authorization mode editing component, and presenting an authorization mode selection interface, wherein the authorization mode selection interface at least comprises the target authorization mode.
12. The apparatus of claim 11, wherein if the target object is a first type of rights object, the mode configuration unit is specifically configured to:
receiving and presenting a mode switching request message from other objects, wherein the mode switching request message is used for indicating to switch the authorization mode of the target application program to the target authorization mode;
and responding to the triggering operation of the target object for the mode switching request message, and presenting the application detail page of the target application program.
13. An electronic device comprising a processor and a memory, wherein the memory stores a computer program which, when executed by the processor, causes the processor to perform the steps of the method of any of claims 1 to 9.
14. A computer readable storage medium, characterized in that it comprises a computer program for causing an electronic device to perform the steps of the method according to any one of claims 1-9 when said computer program is run on the electronic device.
15. A computer program product, characterized in that it comprises a computer program stored in a computer readable storage medium, from which computer readable storage medium a processor of an electronic device reads and executes the computer program, causing the electronic device to perform the steps of the method according to any one of claims 1-9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210097555.7A CN116561720A (en) | 2022-01-27 | 2022-01-27 | Mode switching method and related device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210097555.7A CN116561720A (en) | 2022-01-27 | 2022-01-27 | Mode switching method and related device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116561720A true CN116561720A (en) | 2023-08-08 |
Family
ID=87484887
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210097555.7A Pending CN116561720A (en) | 2022-01-27 | 2022-01-27 | Mode switching method and related device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116561720A (en) |
-
2022
- 2022-01-27 CN CN202210097555.7A patent/CN116561720A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101652191B1 (en) | Locally backed cloud-based storage | |
US11243688B1 (en) | Bi-directional application switching with contextual awareness | |
CN102164133B (en) | Method of controlling privacy setting of media consumption | |
US20150128060A1 (en) | Method and apparatus of providing application program information in mobile terminal device | |
US9432472B2 (en) | Accelerated training of personal daemons | |
US11093482B2 (en) | Managing access by third parties to data in a network | |
CN105519141A (en) | Seamless call transitions with pre-escalation participation confirmation | |
US11316818B1 (en) | Context-based consolidation of communications across different communication platforms | |
US9516009B2 (en) | Authenticating redirection service | |
EP3222010A1 (en) | Relevant communication mode selection | |
US11689636B2 (en) | Delegating network data exchange | |
CN111857498A (en) | Data interaction method and device and electronic equipment | |
US20160036977A1 (en) | Dynamic selection of optimum customer engagement channel | |
US11558390B2 (en) | System to control access to web resources based on an internet of things authorization mechanism | |
JP7006294B2 (en) | Information processing methods, information processing devices, and programs | |
US20200257785A1 (en) | User authentication | |
US20220210159A1 (en) | Method and apparatus for managing user profile | |
CN116561720A (en) | Mode switching method and related device | |
US20180176100A1 (en) | Method for using an extended workstation, and an associated system for using an extended workstation | |
CN112054951B (en) | Resource transmission method, device, terminal and medium | |
US20180367326A1 (en) | Automatic connection switching for meeting room management devices | |
US11115268B2 (en) | Assistance in service provision | |
US20210089500A1 (en) | File sharing aliasing service | |
CN113014404A (en) | Message transmission method and device, server and second client | |
KR102479764B1 (en) | Method and apparatus for generating a game party |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 40092241 Country of ref document: HK |