CN115658172A - Application account switching method and device, electronic equipment and medium - Google Patents

Application account switching method and device, electronic equipment and medium Download PDF

Info

Publication number
CN115658172A
CN115658172A CN202211367856.3A CN202211367856A CN115658172A CN 115658172 A CN115658172 A CN 115658172A CN 202211367856 A CN202211367856 A CN 202211367856A CN 115658172 A CN115658172 A CN 115658172A
Authority
CN
China
Prior art keywords
input
application
icon
account
user
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
Application number
CN202211367856.3A
Other languages
Chinese (zh)
Inventor
赵梦
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202211367856.3A priority Critical patent/CN115658172A/en
Publication of CN115658172A publication Critical patent/CN115658172A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application discloses an application account switching method, an application account switching device, electronic equipment and a medium, and belongs to the technical field of electronics. The method comprises the following steps: receiving a first input of a user under the condition that a first application icon is displayed, wherein the first application icon comprises an icon background and an icon main body, the first input is input into the icon main body by the user, and the position relation between the icon main body and the icon background is changed in the input process of the first input; and responding to the first input, and switching the login account of the application program corresponding to the first application icon into the first application account corresponding to the first input.

Description

Application account switching method and device, electronic equipment and medium
Technical Field
The application belongs to the technical field of electronics, and particularly relates to an application account switching method, an application account switching device, electronic equipment and a medium.
Background
Generally, when a user uses an electronic device to switch application accounts, the user needs to enter an application program corresponding to an application icon by clicking and inputting the application icon, then the electronic device is triggered to exit from a current login account by inputting a switching account control in a setting interface by the user, and then the user inputs new account information to trigger the electronic device to switch to a new application account.
However, the electronic device needs to enter the application program corresponding to the application icon through the input of the application icon by the user, so as to switch the application account. Moreover, the current login account can be switched to other application accounts only by multiple operations of the user. Therefore, the operation steps of switching the application account by the electronic device are complicated and time-consuming.
Therefore, the convenience of switching the application account by the electronic equipment is poor.
Disclosure of Invention
The embodiment of the application account switching method and device, electronic equipment and medium aims to solve the problem that the convenience of switching application accounts by the electronic equipment is poor.
In order to solve the technical problem, the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides an application account switching method, where the method includes: receiving a first input of a user under the condition that a first application icon is displayed, wherein the first application icon comprises an icon background and an icon main body, the first input is input into the icon main body by the user, and the position relation between the icon main body and the icon background is changed in the input process of the first input; and responding to the first input, and switching the login account of the application program corresponding to the first application icon into the first application account corresponding to the first input.
In a second aspect, an embodiment of the present application provides an application account switching apparatus, where the apparatus includes: the device comprises a receiving module and a switching module; the receiving module is used for receiving a first input of a user under the condition that a first application icon is displayed, wherein the first application icon comprises an icon background and an icon main body, the first input is input to the icon main body by the user, and in the input process of the first input, the position relation between the icon main body and the icon background is changed; and the switching module is used for responding to the first input received by the receiving module and switching the login account of the application program corresponding to the first application icon into the first application account corresponding to the first input.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium on which a program or instructions are stored, which when executed by a processor, implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product, stored on a storage medium, for execution by at least one processor to implement a method as in the first aspect.
In this embodiment of the application, the electronic device may receive a first input of a user when the first application icon is displayed, and switch, in response to the first input, a login account of an application program corresponding to the first application icon into a first application account corresponding to the first input, where the first application icon includes an icon background and an icon main body, the first input is an input of the icon main body by the user, and a positional relationship between the icon main body and the icon background changes during an input process of the first input. The electronic equipment can switch the login account of the application program corresponding to the first application icon into the first application account corresponding to the first input through the first input of the first application icon by the user. Therefore, the electronic equipment can switch the login account of the application program corresponding to the application icon into other application accounts through one-time input of the application icon by the user, so that the operation steps of switching the application accounts by the user can be simplified, and the convenience of switching the application accounts by the electronic equipment can be improved.
Drawings
Fig. 1 is a schematic flowchart of an application account switching method according to an embodiment of the present disclosure;
fig. 2 is one of schematic diagrams of an example of an interface applied by an application account switching method according to an embodiment of the present application;
fig. 3 is a second schematic diagram of an example of an interface applied by the application account switching method according to the embodiment of the present application;
fig. 4 is a third schematic diagram of an example of an interface applied by an application account switching method according to the embodiment of the present application;
fig. 5 is a fourth schematic view of an example of an interface applied by an application account switching method according to an embodiment of the present application;
fig. 6 is a fifth schematic view of an example of an interface applied by the application account switching method according to the embodiment of the present application;
fig. 7 is a sixth schematic view of an example of an interface applied by an application account switching method according to an embodiment of the present application;
fig. 8 is a seventh schematic view of an example of an interface applied by an application account switching method according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of an application account switching apparatus according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 11 is a hardware schematic diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below clearly with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in other sequences than those illustrated or otherwise described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense to distinguish one object from another, and not necessarily to limit the number of objects, e.g., the first object may be one or more. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
The application account switching method, apparatus, electronic device and medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings and through specific embodiments and application scenarios thereof.
The application account switching method provided by the embodiment of the application is applied to a scene that a user needs to switch accounts, the specific application scene can be determined according to the use requirement, and the application is not limited.
Exemplarily, a scenario of switching an application account of the application program 1 is taken as an example. Assume that the application program 1 includes three application accounts, i.e., an application account a to an application account C. The current login account of the application program 1 is an application account a. If the user wants to switch from the currently logged-in application account a to the currently logged-in application account C, the user needs to click and input an icon of the application program 1 first, and the electronic device is triggered to start the application program 1. And then, searching a control of the application account setting interface in the application program 1 by the user, and performing click input on the control to trigger the electronic equipment to display the application account setting interface. And triggering the electronic equipment to exit the currently logged-in application account A through clicking input of the user on the current login exiting control in the application account setting interface. And finally, triggering the electronic equipment to switch from the application account A to the application account C by inputting the application account C by the user and clicking the login control.
In this embodiment, when the electronic device displays the icon of the application program 1, the electronic device is triggered to switch the currently logged-in application account a of the application program 1 to the application account C corresponding to the first input through the first input of the icon of the application program 1 by the user. Therefore, the operation steps of switching the application account numbers by the user can be simplified, and the convenience of switching the application account numbers by the electronic equipment can be improved.
An embodiment of the present application provides an application account switching method, and as shown in fig. 1, the application account switching method may include the following steps 201 and 202:
step 201, the electronic device receives a first input of a user under the condition that the first application icon is displayed.
The first application icon comprises an icon background and an icon main body, and the first input is input to the icon main body by a user.
Illustratively, during the input of the first input, the positional relationship between the icon body and the icon background changes.
Illustratively, the first application icon may be any one of the following: video application icons, audio application icons, picture application icons, instant messaging application icons, document application icons and the like.
Specifically, the first input may be an input of a user moving the icon body to a specific area.
Illustratively, the first input may specifically be any one of the following: a single-click input, a double-click input, a slide input, a drag input, a press input, a voice input, a gesture input, and the like.
Illustratively, the specific area may be one of at least one area included in the icon background. Specifically, the specific area is determined based on the first input.
For example, the at least one area may be pre-stored in the electronic device, or may be set in advance by the user according to the user's needs.
For example, assuming that the first Application icon is an icon of an Application (APP) 3, as shown in fig. 2, in the case of displaying the first Application icon (i.e. the APP3 icon 20), 21 is an icon body for indicating the APP3 icon 20, and 22 is an icon background for indicating the APP3 icon 20.
Optionally, in this embodiment, before the step 201, the application account switching method provided in this embodiment may further include the following steps 301 and 302:
step 301, the electronic device receives a sixth input of the first application icon by the user.
Illustratively, the sixth input may be any one of: long press input, click input, press input, voice input, gesture input, and the like.
For example, the sixth input may be a long press input for an icon body in the first application icon.
Step 302, the electronic device controls the icon body and the icon background of the first application icon to enter a separable state in response to the sixth input.
Illustratively, the separable state is used to indicate that the icon body can be freely moved according to a user input.
It should be noted that, the electronic device may be triggered to separate the icon main body from the icon background through a long-press input (i.e., the sixth input) of the user to the icon main body in the first application icon, so that the user may drag (i.e., the first input) the icon main body at will to adjust the position relationship between the icon main body and the icon background.
For example, the sixth input and the first input may be consecutive inputs.
For example, taking the first application icon as an icon of APP3 as an example, as shown in fig. 3 (a), after receiving a long press input (i.e., the above sixth input) performed by the user on the icon main body 31 in the APP3 icon, the electronic device separates the icon main body 31 from the icon background 32. Next, as shown in (b) and (c) of fig. 3, the electronic device is triggered to move the icon body 31 to the first area by a drag input (i.e., the above-described first input) of the user to the icon body 31 without the user's finger leaving the screen, so as to change the positional relationship between the icon body 31 and the icon background 32.
Step 202, the electronic device responds to the first input, and switches the login account of the application program corresponding to the first application icon into the first application account corresponding to the first input.
Illustratively, the first application account is different from the login account. Specifically, the first application account is one of at least one application account of an application program corresponding to the first application icon.
Illustratively, the first application account corresponds to the input parameters of the first input one by one.
Specifically, the input parameter may be associated with an input position of the first input, and may also be associated with an input direction of the first input.
For example, the input position may be an end position where the user moves the icon body. The input direction may be a moving direction in which the user moves the icon main body.
In addition, in a case that the input parameter of the first input is associated with the input position, the electronic device may determine, according to the input position of the first input to the icon body of the first application icon by the user, a first area where the input position is located in the icon background, and switch, according to the first area, the login account of the application program corresponding to the first application icon to the first application account corresponding to the first area.
Illustratively, the first area may be one of at least one area included in the background of the icon.
Illustratively, the at least one area may be pre-stored by the electronic device, or may be pre-set by the user according to the user's needs.
Illustratively, the first area corresponds to the first application account one to one.
For example, assuming that the first application icon is taken as the APP1 icon, and the input parameter of the first input is associated with the input position, as shown in (a) in fig. 4, in the case of displaying the APP1 icon 40, a click input (i.e., the above-described sixth input) of the user on the icon body 41 of the APP4 icon 40 is received. As shown in (b) of fig. 4, the icon background 42 of the APP1 icon includes 4 regions, i.e., region a to region D. Next, as shown in fig. 4 (c), a drag input (i.e., the first input) that the user drags the icon main body 41 to the area a43 (i.e., the input position of the first input) is received, and the electronic device is triggered to switch the login account of APP4 to the application account a corresponding to the area a.
Optionally, in this embodiment of the application, before the step 202, the method for switching the application account provided in this embodiment of the application may further include the following step 401:
step 401, the electronic device displays a first account identifier in a first target position when the icon main body moves to the first target position.
And the first account identification is an identification corresponding to the first application account.
In addition, in the process of performing the movement input on the icon main body of the first application icon by the user, the electronic device does not switch the application account of the application program corresponding to the first application icon. In contrast, after the user performs the movement input on the icon body of the first application icon, that is, after the user finger leaves the first application icon, the electronic device switches the application account of the application program corresponding to the first application icon.
Specifically, the first target position is an end position at which the user moves the target body.
Exemplarily, the first account id corresponds to a first target location.
For example, the first account id may be any one of the following: the first application account number corresponds to the head portrait, the first application account number corresponds to the nickname, the first application account number corresponds to the account number, and the like.
If the first target location is not associated with any application account, the icon body of the first application icon is still displayed.
For example, assuming that the first application icon is an APP4 icon as an example, and with reference to (B) in fig. 4, at least one area included in the icon background is 4 areas, that is, an area a, an area B, an area C, and an area D. Wherein one region corresponds to one application account. As shown in fig. 5, when a drag input (i.e., the first input) that the user drags the icon body of the APP4 icon to the area C52 (i.e., the first target position) is received, the electronic device is triggered to display an avatar C53 (i.e., the first application account id) corresponding to the application account C in the area C52. The application account C corresponds to the area C.
Example 1, with reference to fig. 5, if a drag input (i.e., the first input) that a user drags an icon body of an APP4 icon to an area B54 (i.e., the first target location) is received, the electronic device is triggered to display an avatar B (i.e., the first application account id) corresponding to the application account B in the area B54.
Example 2, as shown in (b) and (c) of fig. 4, assuming that the area a is not associated with any application account, if a drag input (i.e., the above-described first input) is received in which the user drags the icon body 41 of the APP4 icon to the area a43 (i.e., the above-described first target position), the electronic device displays the icon body 41 of the APP4 icon in the area a 43.
Optionally, in this embodiment, after the step 202, the method for switching an application account provided in this embodiment may further include the following steps 501 and 502:
step 501, the electronic device receives a second input of the user to the icon body under the condition that the first application icon is displayed.
Illustratively, the second input may be any one of: long press input, click input, press input, voice input, gesture input, and the like.
Specifically, the second input may be a drag input.
For example, the input parameter of the second input may be associated with the input position and may also be associated with the moving direction.
Step 502, the electronic device responds to the second input, and switches the login account of the application program corresponding to the first application icon from the first application account to the second application account.
Wherein the input parameters of the second input are different from the input parameters of the first input.
Illustratively, the first application account is different from the second application account.
Illustratively, the second input parameter corresponds to a second application account.
It should be noted that, after the electronic device switches the login account of the application program corresponding to the first application icon to the first application account, the login account of the application program corresponding to the first application icon may also be switched from the first application account to the second application account by the second input of the user to the first application icon.
Specifically, the above "the input parameter of the second input is different from the input parameter of the first input" may be understood as that the input position of the second input is different from the input position of the first input, or that the moving direction of the second input is different from the moving direction of the first input.
For example, assume that the input position of the first input is taken as the area a, and the input position of the second input is taken as the area B. If a dragging input (i.e., the first input) that the user drags the icon main body of the APP4 icon to the area a (i.e., the input parameter of the first input) is received first, the electronic device is triggered to switch the login account of the APP4 to the application account a corresponding to the area a. Then, if a drag input (i.e., the second input) that the user drags the icon main body of the APP4 icon to the area B (i.e., the input parameter of the second input) is received, the electronic device is triggered to switch the login account of the APP4 from the application account a to the application account B.
Optionally, in this embodiment, after the step 202, the application account switching method provided in this embodiment may further include the following step 801:
step 801, displaying a target interface by the electronic equipment.
The target interface comprises a first application icon, and the position relation between the icon main body and the icon background is an initial display state; the initial display state is: and before the first input is received, the position relation between the icon main body and the icon background in the first application icon.
It should be noted that, after the electronic device completes execution of the first input of the user, that is, after the user finger leaves the first application icon, the positional relationship between the icon body and the icon background in the first application icon is restored to the positional relationship before the first input is received.
Illustratively, the target interface may be a desktop of the electronic device.
For example, as shown in fig. 2, taking the first application icon as the APP3 icon as an example, after the electronic device performs an operation corresponding to a drag input (i.e., the above-mentioned first input) on the icon main body 21 of the APP3 icon by the user, the electronic device restores the positional relationship between the icon main body 21 and the icon background 22 in the APP3 icon to a position in which the icon main body 21 is located in the middle of the icon background 22, that is, returns to the original display state before the first input is received.
Optionally, in this embodiment of the application, before the step 201, the method for switching the application account provided in this embodiment of the application may further include the following steps 601 to 605:
step 601, the electronic device displays an account binding interface.
The account binding interface comprises an icon background, the icon background comprises M areas, and M is a positive integer.
Illustratively, the account binding interface is used to establish an association relationship between one of the M regions and one application account in the application program corresponding to the first application icon.
Specifically, the M areas are associated with N application accounts in the application program corresponding to the first application icon. Wherein M is more than or equal to N, and N is a positive integer.
Illustratively, one region may correspond to one application account. That is, the background of the icon can be divided into several areas by the application program corresponding to the first application icon with several accounts.
Illustratively, the M regions may be any one of: two zones, three zones, four zones, six zones, etc.
The division of the M regions may be performed according to an operation habit of a user, or may be performed according to the number of account numbers included in an application program corresponding to the first application icon, which is not specifically limited in this application.
For example, taking the icon background of APP5 as an example, as shown in fig. 6, assuming that APP5 has 2 application accounts, a user may trigger the electronic device to divide the icon background of APP5 into two regions (i.e., 61 and 62 in fig. 6), or may divide the icon background into four regions (i.e., 63 and 64 in fig. 6).
Step 602, the electronic device receives a third input of the user to the target area in the M areas.
Illustratively, the target area is an area determined according to the third input.
Illustratively, the third input may be an input of a user to any one of the M regions.
Illustratively, the third input may be any one of: long press input, click input, press input, voice input, gesture input, and the like.
And step 603, the electronic equipment responds to the third input and displays an account input control.
The account input control is used for inputting a third application account.
Illustratively, the account input control may include at least one of: a first account number input control, a password input control, a verification code input control, and the like.
Specifically, the first account input control is configured to input an account corresponding to the third application account. The password input control is used for inputting a password corresponding to the third application account. The verification code input control is used for inputting a mobile phone verification code corresponding to the third application account.
For example, the third application account may be different from the first application account and the second application account, or may be the same as any one of the first application account and the second application account.
Step 604, the electronic device receives a fourth input from the user.
Exemplarily, the fourth input is used for establishing an association relationship between the target area and the third application account.
Illustratively, the fourth input may be an input of the first control by the user. Specifically, the first control may be at least one of: and finishing the control and saving the control.
Illustratively, the fourth input may be any one of the following: long press input, click input, press input, voice input, gesture input, and the like.
Step 605, the electronic device responds to the fourth input, and establishes an association relationship between the target area and the third application account.
For example, taking the icon background of APP5 as an example, in the case of displaying an APP5 account binding interface, as shown in (a) in fig. 7, a user first divides the icon background 71 of APP5 into four regions, for example, a region a to a region D (i.e., the above M regions). If a user's click input (i.e., the third input) to the area a72 (i.e., the target area) is received, as shown in fig. 7 (b), an interface including account input controls (i.e., "account" control 73 and "password" control 74) is displayed. If the user inputs "1234567" (i.e., the third application account) in the "account" control, inputs "xx6666" (i.e., the fourth input) in the "password" control, and clicks the "save" control, as shown in fig. 7 (c), the electronic device is triggered to display a "binding completion" interface, where the interface includes displaying an avatar 75 (i.e., an identifier corresponding to the third application account) corresponding to the account "1234567" in the area a72 of the icon background, that is, completing the operation of associating the area a72 with the account "1234567".
Optionally, in this embodiment of the application, after the step 602, the method for switching the application account provided in this embodiment of the application may further include the following steps 701 to 703:
step 701, the electronic device displays at least one second application icon.
For example, the second application icon may be an application icon different from the first application icon, or may be an icon associated with the first application icon. Specifically, the associated icon may be an application account included in an application program corresponding to the first application icon.
Step 702, the electronic device receives a fifth input of the user to a target application icon of the at least one second application icon.
For example, the target application icon may be determined according to a fifth input of the user.
Illustratively, the fifth input may be any one of: long press input, click input, press input, voice input, gesture input, and the like.
And step 703, the electronic device responds to the fifth input, and establishes an association relationship between the application program account corresponding to the target application icon and the target area.
For example, the application account corresponding to the target application icon may be a current login account of the application corresponding to the target application icon.
For example, taking the icon background of APP5 as an example, when displaying the APP5 account binding interface, as shown in (a) of fig. 8, when displaying that the icon background 81 of APP5 includes four regions (i.e., the above M regions), if a click input (i.e., the above fifth input) to the region B82 by the user is received. As shown in fig. 8 (b), the electronic device is triggered to display an interface including an APP1 icon, an APP2 icon, and an APP4 icon (i.e., the at least one second application icon). If the user clicks the APP2 icon (i.e. the target application icon) (i.e. the fifth input) and clicks the "save" control. As shown in fig. 8 (c), the electronic device is triggered to display an interface of "binding completed", where the interface includes displaying a avatar 84 corresponding to the current login account of APP2 (i.e., the application account corresponding to the target application icon) in a region B82 of the icon background, that is, completing the operation of associating the region B with the current login account of APP 2.
In the embodiment, the login account of other applications can be quickly bound with the current application program, so that the operation of inputting the account password is reduced.
According to the application account switching method provided by the embodiment of the application, the execution subject can be an application account switching device. In the embodiment of the present application, an application account switching apparatus is used as an example to execute an application account switching method, and the application account switching apparatus provided in the embodiment of the present application is described.
An embodiment of the present application provides an application account switching apparatus, as shown in fig. 9, the application account switching apparatus 400 includes: a receiving module 401 and a switching module 402; a receiving module 401, configured to receive a first input of a user when a first application icon is displayed, where the first application icon includes an icon background and an icon main body, the first input is an input of the icon main body by the user, and a positional relationship between the icon main body and the icon background changes in an input process of the first input; a switching module 402, configured to, in response to the first input received by the receiving module, switch a login account of an application program corresponding to the first application icon to a first application account corresponding to the first input.
Optionally, in this embodiment of the application, the receiving module 401 is further configured to receive, when the first application icon is displayed, a second input to the icon body by the user; the switching module 402 is further configured to, in response to the second input received by the receiving module, switch the login account of the application program corresponding to the first application icon from the first application account to a second application account; wherein the input parameters of the second input are different from the input parameters of the first input.
Optionally, in an embodiment of the present application, the apparatus further includes: the device comprises a display module and a processing module; the display module is used for displaying an account binding interface, wherein the account binding interface comprises an icon background, the icon background comprises M areas, and M is a positive integer; the receiving module 401 is further configured to receive a third input of the user to a target area in the M areas displayed by the display module; the display module is also used for responding to a third input and displaying an account input control, and the account input control is used for inputting a third application account; the receiving module 401 is further configured to receive a fourth input of the user; and the processing module is used for responding to the fourth input received by the receiving module and establishing an association relation between the target area and the third application account.
Optionally, in an embodiment of the present application, the display module is configured to display at least one second application icon; a receiving module 401, configured to receive a fifth input of the user to a target application icon in the at least one second application icon displayed by the display module; and the processing module is used for responding to the fifth input received by the receiving module and establishing the association relation between the application program account corresponding to the target application icon and the target area.
Optionally, in an embodiment of the present application, the display module is further configured to display a target interface, where the target interface includes a first application icon, and a position relationship between an icon body and an icon background is an initial display state; the initial display state is: and before the first input is received, the position relation between the icon main body and the icon background in the first application icon.
In the application account switching apparatus provided in the embodiment of the application account switching apparatus, under the condition that the first application icon is displayed, the first input of the user is received, and in response to the first input, the login account of the application program corresponding to the first application icon is switched to the first application account corresponding to the first input, where the first application icon includes an icon background and an icon main body, the first input is input to the icon main body by the user, and in an input process of the first input, a positional relationship between the icon main body and the icon background is changed. The application account switching device can switch the login account of the application program corresponding to the first application icon into the first application account corresponding to the first input through the first input of the first application icon by the user. Therefore, the application account switching device can switch the login account of the application program corresponding to the application icon to other application accounts through one-time input of the application icon by the user, so that the operation steps of switching the application accounts by the user can be simplified, and the convenience of switching the application accounts by the application account switching device can be improved.
The application account switching device in the embodiment of the present application may be an electronic device, or may be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (Network Attached Storage, NAS), a personal computer (NAS), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The application account switching device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system (Android), an iOS operating system, or other possible operating systems, which is not specifically limited in the embodiments of the present application.
The application account switching device provided in the embodiment of the present application can implement each process implemented in the method embodiments of fig. 1 to fig. 8, achieve the same technical effect, and is not described here again to avoid repetition.
Optionally, as shown in fig. 10, an electronic device 600 is further provided in this embodiment of the present application, and includes a processor 601 and a memory 602, where a program or an instruction that can be executed on the processor 601 is stored in the memory 602, and when the program or the instruction is executed by the processor 601, the steps of the foregoing embodiment of the application account switching method are implemented, and the same technical effects can be achieved, and are not described again here to avoid repetition.
It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic device and the non-mobile electronic device described above.
Fig. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: a radio frequency unit 101, a network module 102, an audio output unit 103, an input unit 104, a sensor 105, a display unit 106, a user input unit 107, an interface unit 108, a memory 109, and a processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further comprise a power supply (e.g., a battery) for supplying power to various components, and the power supply may be logically connected to the processor 110 via a power management system, so as to implement functions of managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 11 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
The user input unit 107 is configured to receive a first input of a user when a first application icon is displayed, where the first application icon includes an icon background and an icon main body, the first input is an input of the icon main body by the user, and a positional relationship between the icon main body and the icon background changes during an input process of the first input; the processor 110 is configured to, in response to the first input, switch the login account of the application program corresponding to the first application icon to the first application account corresponding to the first input.
Optionally, in this embodiment of the present application, the user input unit 107 is further configured to receive a second input to the icon body by the user when the first application icon is displayed; the processor 110 is further configured to, in response to a second input, switch the login account of the application program corresponding to the first application icon from the first application account to a second application account; wherein the input parameters of the second input are different from the input parameters of the first input.
Optionally, in this embodiment of the application, the display unit 106 is configured to display an account binding interface, where the account binding interface includes an icon background, the icon background includes M regions, and M is a positive integer; the user input unit 107 is further configured to receive a third input of the user to the target area in the M areas; the display unit 106 is further configured to display an account input control in response to a third input, where the account input control is used to input a third application account; the user input unit 107 is further configured to receive a fourth input from the user; the processor 110 is further configured to establish an association relationship between the target area and the third application account in response to a fourth input.
Optionally, in this embodiment of the application, the display unit 106 is further configured to display at least one second application icon; the user input unit 107 is further configured to receive a fifth input from the user to a target application icon in the at least one second application icon; the processor 110 is further configured to, in response to the fifth input, establish an association relationship between an application account corresponding to the target application icon and the target area.
Optionally, in this embodiment of the application, the display unit 106 is further configured to display a target interface, where the target interface includes a first application icon, and a position relationship between the icon body and the icon background is an initial display state; the initial display state is: and before the first input is received, the position relation between the icon main body and the icon background in the first application icon.
According to the electronic device provided by the embodiment of the application, under the condition that the first application icon is displayed, the electronic device receives a first input of a user, and responds to the first input, the login account of the application program corresponding to the first application icon is switched to the first application account corresponding to the first input, wherein the first application icon comprises an icon background and an icon main body, the first input is input to the icon main body by the user, and in the input process of the first input, the position relation between the icon main body and the icon background is changed. The electronic device can switch the login account of the application program corresponding to the first application icon into the first application account corresponding to the first input through the first input of the first application icon by the user. Therefore, the electronic equipment can switch the login account of the application program corresponding to the application icon into other application accounts through one-time input of the application icon by the user, so that the operation steps of switching the application accounts by the user can be simplified, and the convenience of switching the application accounts by the electronic equipment can be improved.
It should be understood that, in the embodiment of the present application, the input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, and the Graphics Processing Unit 1041 processes image data of a still picture or a video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes at least one of a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a first storage area storing a program or an instruction and a second storage area storing data, wherein the first storage area may store an operating system, an application program or an instruction (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, memory 109 may include volatile memory or non-volatile memory, or memory 109 may include both volatile and non-volatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). The memory 109 in the embodiments of the subject application includes, but is not limited to, these and any other suitable types of memory.
Processor 110 may include one or more processing units; optionally, the processor 110 integrates an application processor, which primarily handles operations involving the operating system, user interface, and applications, etc., and a modem processor, which primarily handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the foregoing application account switching method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read only memory ROM, a random access memory RAM, a magnetic or optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction to implement each process of the above embodiment of the application account switching method, and can achieve the same technical effect, and in order to avoid repetition, the description is omitted here.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as a system-on-chip, or a system-on-chip.
The embodiment of the present application provides a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the foregoing application account switching method embodiment, and can achieve the same technical effect, and in order to avoid repetition, details are not repeated here.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one of 8230, and" comprising 8230does not exclude the presence of additional like elements in a process, method, article, or apparatus comprising the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. An application account switching method is characterized by comprising the following steps:
receiving a first input of a user under the condition that a first application icon is displayed, wherein the first application icon comprises an icon background and an icon main body, the first input is input to the icon main body by the user, and the position relation between the icon main body and the icon background is changed in the input process of the first input;
and responding to the first input, and switching the login account of the application program corresponding to the first application icon into the first application account corresponding to the first input.
2. The method according to claim 1, wherein after the switching the login account of the application program corresponding to the first application icon to the first application account corresponding to the first input, the method further comprises:
receiving a second input of the icon body by a user under the condition that the first application icon is displayed;
responding to the second input, and switching the login account of the application program corresponding to the first application icon from the first application account to a second application account;
wherein the input parameters of the second input are different from the input parameters of the first input.
3. The method of claim 1, wherein prior to said receiving a first input from a user, the method further comprises:
displaying an account binding interface, wherein the account binding interface comprises the icon background, the icon background comprises M areas, and M is a positive integer;
receiving a third input of a user to a target area in the M areas;
in response to the third input, displaying an account input control for inputting a third application account;
receiving a fourth input from the user;
and responding to the fourth input, and establishing an association relationship between the target area and the third application account.
4. The method of claim 3, wherein after said receiving a third user input into a target zone of the M zones, the method further comprises:
displaying at least one second application icon;
receiving a fifth input of a user to a target application icon in the at least one second application icon;
and responding to the fifth input, and establishing an association relation between the application program account corresponding to the target application icon and the target area.
5. The method according to claim 1, wherein after the switching the login account of the application corresponding to the first application icon to the target application account corresponding to the first input, the method further comprises:
displaying a target interface, wherein the target interface comprises the first application icon, and the position relation between the icon main body and the icon background is an initial display state; the initial display state is: before the first input is received, the position relation between the icon body and the icon background in the first application icon.
6. An application account switching apparatus, comprising: the device comprises a receiving module and a switching module;
the receiving module is used for receiving a first input of a user under the condition that a first application icon is displayed, wherein the first application icon comprises an icon background and an icon main body, the first input is input to the icon main body by the user, and in the input process of the first input, the position relation between the icon main body and the icon background is changed;
the switching module is configured to, in response to the first input received by the receiving module, switch a login account of an application program corresponding to the first application icon to a first application account corresponding to the first input.
7. The apparatus of claim 6,
the receiving module is further used for receiving a second input of the user to the icon main body under the condition that the first application icon is displayed;
the switching module is further configured to switch, in response to the second input received by the receiving module, a login account of an application program corresponding to the first application account from the first application account to a second application account;
wherein the input parameters of the second input are different from the input parameters of the first input.
8. The apparatus of claim 6, further comprising: the device comprises a display module and a processing module;
the display module is used for displaying an account binding interface, the account binding interface comprises the icon background, the icon background comprises M areas, and M is a positive integer;
the receiving module is further configured to receive a third input of a user to a target area in the M areas displayed by the display module;
the display module is further configured to display an account input control in response to the third input, where the account input control is used to input a third application account;
the receiving module is further used for receiving a fourth input of the user;
the processing module is configured to establish an association relationship between the target area and the third application account in response to the fourth input received by the receiving module.
9. An electronic device comprising a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions when executed by the processor implementing the steps of the application account switching method of any one of claims 1 to 5.
10. A readable storage medium, on which a program or instructions are stored, which when executed by a processor, implement the steps of the application account switching method according to any one of claims 1 to 5.
CN202211367856.3A 2022-11-02 2022-11-02 Application account switching method and device, electronic equipment and medium Pending CN115658172A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211367856.3A CN115658172A (en) 2022-11-02 2022-11-02 Application account switching method and device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211367856.3A CN115658172A (en) 2022-11-02 2022-11-02 Application account switching method and device, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN115658172A true CN115658172A (en) 2023-01-31

Family

ID=84995917

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211367856.3A Pending CN115658172A (en) 2022-11-02 2022-11-02 Application account switching method and device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN115658172A (en)

Similar Documents

Publication Publication Date Title
CN112433693B (en) Split screen display method and device and electronic equipment
CN114296595A (en) Display method and device and electronic equipment
CN114415886A (en) Application icon management method and electronic equipment
CN113794795A (en) Information sharing method and device, electronic equipment and readable storage medium
CN112148167A (en) Control setting method and device and electronic equipment
WO2023093661A1 (en) Interface control method and apparatus, and electronic device and storage medium
CN111831177A (en) Application icon display method and device and electronic equipment
CN114995713A (en) Display control method and device, electronic equipment and readable storage medium
CN115357173A (en) Screen control method and device and electronic equipment
CN115357158A (en) Message processing method and device, electronic equipment and storage medium
CN115202524A (en) Display method and device
CN115291778A (en) Display control method and device, electronic equipment and readable storage medium
CN114327726A (en) Display control method, display control device, electronic equipment and storage medium
CN114416269A (en) Interface display method and display device
CN114564134A (en) Application icon display method and device
CN114518819A (en) Icon management method and device and electronic equipment
CN115167721A (en) Display method and device of functional interface
CN113885981A (en) Desktop editing method and device and electronic equipment
CN114779977A (en) Interface display method and device, electronic equipment and storage medium
CN113885748A (en) Object switching method and device, electronic equipment and readable storage medium
CN115658172A (en) Application account switching method and device, electronic equipment and medium
CN113485625A (en) Electronic equipment response method and device and electronic equipment
CN112596645A (en) Application identifier hiding method and device and electronic equipment
CN112269511A (en) Page display method and device and electronic equipment
CN111752428A (en) Icon arrangement method and device, electronic equipment and medium

Legal Events

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