Application account switching method and device, electronic equipment and medium
By receiving user input on the application icon's main body within the electronic device and changing its position relative to the background, users can directly switch application accounts, solving the problem of cumbersome operation and improving convenience.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-02
- Publication Date
- 2026-03-24
AI Technical Summary
Switching between application accounts on electronic devices is cumbersome and time-consuming, resulting in poor convenience.
By receiving user input on the icon body when the application icon is displayed, the positional relationship between the icon body and the icon background can be changed, thereby directly switching application accounts.
The process of switching application accounts has been simplified, improving the ease of switching.
Smart Images

Figure CN115658172B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of electronic technology, specifically relating to an application account switching method, device, electronic device, and medium. Background Technology
[0002] Typically, when a user switches application accounts on an electronic device, the process involves first clicking on an application icon to enter the application corresponding to that icon, then using the account switching control in the settings interface to log out of the current account, and finally, the user entering new account information to switch the electronic device to the new application account.
[0003] However, because electronic devices require users to input the app icon to enter the corresponding application before switching app accounts, and because it requires multiple user actions to switch from the currently logged-in account to another app account, the process of switching app accounts on electronic devices is cumbersome and time-consuming.
[0004] This results in poor convenience for switching application accounts on electronic devices. Summary of the Invention
[0005] The purpose of this application is to provide an application account switching method, device, electronic device, and medium that can solve the problem of poor convenience in switching application accounts on electronic devices.
[0006] To solve the above-mentioned technical problems, this application is implemented as follows:
[0007] In a first aspect, embodiments of this application provide an application account switching method, the method comprising: when a first application icon is displayed, receiving a first input from a user, the first application icon including an icon background and an icon body, the first input being the user's input on the icon body, and during the input of the first input, the positional relationship between the icon body and the icon background changes; in response to the first input, switching the login account of the application corresponding to the first application icon to the first application account corresponding to the first input.
[0008] Secondly, embodiments of this application provide an application account switching device, which includes: a receiving module and a switching module; the receiving module is used to receive a first input from a user when a first application icon is displayed, the first application icon including an icon background and an icon body, the first input being the user's input on the icon body, and the positional relationship between the icon body and the icon background changing during the input of the first input; the switching module is used to switch the login account of the application corresponding to the first application icon to the first application account corresponding to the first input in response to the first input received by the receiving module.
[0009] Thirdly, embodiments of this application provide an electronic device including a processor and a memory, the memory storing a program or instructions that can run on the processor, the program or instructions implementing the steps of the method as described in the first aspect when executed by the processor.
[0010] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, and when the program or instructions are executed by a processor, they implement the steps of the method as described in the first aspect.
[0011] Fifthly, embodiments of this application provide a chip, which includes a processor and a communication interface. The communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method as described in the first aspect.
[0012] In a sixth aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the method as described in the first aspect.
[0013] In this embodiment, the electronic device can receive a first input from a user while displaying a first application icon, and in response to the first input, switch the login account of the application corresponding to the first application icon to the first application account corresponding to the first input. The first application icon includes an icon background and an icon body. The first input is the user's input to the icon body, and the positional relationship between the icon body and the icon background changes during the input process. Since the electronic device can switch the login account of the application corresponding to the first application icon to the first application account through the user's first input to the first application icon, it can simplify the user's operation steps for switching application accounts and improve the convenience of switching application accounts on the electronic device. Attached Figure Description
[0014] Figure 1 This is one of the flowcharts illustrating an application account switching method provided in this application embodiment;
[0015] Figure 2 This is one of the schematic diagrams of the interface used in the application account switching method provided in this application embodiment;
[0016] Figure 3 This is a second schematic diagram of the interface used in an application account switching method provided in this embodiment of the application.
[0017] Figure 4This is the third schematic diagram of the interface example used in the application account switching method provided in this application embodiment;
[0018] Figure 5 This is the fourth schematic diagram of the interface example used in the application account switching method provided in this application embodiment;
[0019] Figure 6 This is the fifth schematic diagram of the interface example used in the application account switching method provided in this application embodiment;
[0020] Figure 7 This is the sixth schematic diagram of the interface example used in the application account switching method provided in this application embodiment;
[0021] Figure 8 This is the seventh schematic diagram of the interface example used in the application account switching method provided in this application embodiment;
[0022] Figure 9 This is a schematic diagram of the application account switching device provided in the embodiments of this application;
[0023] Figure 10 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application;
[0024] Figure 11 This is a hardware schematic diagram of an electronic device provided in an embodiment of this application. Detailed Implementation
[0025] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.
[0026] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.
[0027] The application account switching method, apparatus, electronic device, and medium provided in this application will be described in detail below with reference to the accompanying drawings and through specific embodiments and application scenarios.
[0028] The application account switching method provided in this application embodiment is applied to scenarios where users need to switch accounts. The specific application scenario can be determined according to the usage requirements, and this application does not limit it.
[0029] For example, consider the scenario of switching application accounts in application 1. Assume application 1 includes three application accounts, namely application account A through application account C. The currently logged-in account for application 1 is application account A. If a user wants to switch from the currently logged-in application account A to application account C, the user first needs to click on the icon of application 1 to trigger the electronic device to open application 1. Then, the user finds and clicks on the control in the application account settings interface of application 1 to trigger the electronic device to display the application account settings interface. Next, the user clicks on the "Logout" control in the application account settings interface to trigger the electronic device to log out of the currently logged-in application account A. Finally, the user enters application account C and clicks the login control to trigger the electronic device to switch from application account A to application account C.
[0030] In this embodiment, when the electronic device displays the application 1 icon, the user's first input to the application 1 icon triggers the electronic device to switch the currently logged-in application account A of application 1 to the application account C corresponding to the first input. This not only simplifies the user's steps in switching application accounts but also improves the convenience of switching application accounts on the electronic device.
[0031] This application provides a method for switching application accounts, such as... Figure 1 As shown, the application account switching method may include the following steps 201 and 202:
[0032] Step 201: When the electronic device displays the first application icon, it receives the user's first input.
[0033] The first application icon includes an icon background and an icon body, and the first input is the user's input on the icon body.
[0034] For example, during the input of the first input, the positional relationship between the icon body and the icon background changes.
[0035] For example, the first application icon mentioned above can be any of the following: video application icon, audio application icon, image application icon, instant messaging application icon, and document application icon, etc.
[0036] Specifically, the first input mentioned above can be the input from the user to move the icon body to a specific area.
[0037] For example, the first input mentioned above can be any of the following: single-click input, double-click input, swipe input, drag input, press input, voice input, gesture input, etc.
[0038] For example, the specific region mentioned above can be one of at least one region contained in the icon background. Specifically, the specific region mentioned above is determined based on the first input mentioned above.
[0039] For example, at least one of the aforementioned areas may be pre-stored by the electronic device or may be pre-configured by the user according to their needs.
[0040] For example, let's assume the first application icon is the icon of application (APP) 3, such as... Figure 2 As shown, when the first application icon (i.e., the above-mentioned APP3 icon 20) is displayed, 21 is used to indicate the icon body of APP3 icon 20, and 22 is used to indicate the icon background of APP3 icon 20.
[0041] Optionally, in this embodiment of the application, before step 201 above, the application account switching method provided in this embodiment of the application may further include the following steps 301 and 302:
[0042] Step 301: The electronic device receives the user's sixth input for the first application icon.
[0043] For example, the sixth input mentioned above can be any of the following: long press input, tap input, press input, voice input, gesture input, etc.
[0044] For example, the sixth input mentioned above can be a long press input for the icon body in the first application icon.
[0045] Step 302: The electronic device responds to the sixth input and controls the icon body and icon background of the first application icon to enter a separable state.
[0046] For example, the aforementioned detachable state is used to indicate that the icon body can be moved freely according to user input.
[0047] It should be noted that the electronic device can trigger the separation of the icon body from the icon background by the user's long press input on the icon body in the first application icon (i.e., the sixth input mentioned above), so that the user can drag the icon body at will (i.e., the first input mentioned above) to adjust the positional relationship between the icon body and the icon background.
[0048] For example, the sixth input and the first input described above can be consecutive inputs.
[0049] For example, taking the first application icon as APP3 as an example, such as Figure 3 As shown in (a), after the electronic device receives a long-press input (i.e., the sixth input mentioned above) on the icon body 31 of the APP3 icon, it separates the icon body 31 from the icon background 32. Then, as... Figure 3 As shown in (b) and (c), without the user's finger leaving the screen, the electronic device is triggered to move the icon body 31 to the first area by the user's drag input on the icon body 31 (i.e. the first input mentioned above), so as to change the positional relationship between the icon body 31 and the icon background 32.
[0050] Step 202: The electronic device responds to the first input by switching the login account of the application corresponding to the first application icon to the first application account corresponding to the first input.
[0051] For example, the first application account mentioned above is different from the login account mentioned above. Specifically, the first application account mentioned above is one of at least one application account of the application corresponding to the first application icon.
[0052] For example, the first application account and the first input parameters correspond one-to-one.
[0053] Specifically, the above input parameters can be associated with the input position of the first input or with the input direction of the first input.
[0054] For example, the input position can be the endpoint of the user's movement of the icon body. The input direction can be the direction of movement of the user's movement of the icon body.
[0055] It should be noted that when the input parameters of the first input are associated with the input position, the electronic device can determine the first area in the background of the icon based on the first input position of the user's first input on the icon body of the first application icon, and switch the login account of the application corresponding to the first application icon to the first application account corresponding to the first area based on the first area.
[0056] For example, the first region mentioned above can be one of at least one of the regions included in the icon background.
[0057] For example, at least one of the aforementioned areas may be pre-stored by the electronic device or may be pre-configured by the user according to their needs.
[0058] For example, the first region mentioned above corresponds one-to-one with the first application account.
[0059] For example, assuming the first application icon is APP1, and the first input parameter is associated with the input location, such as... Figure 4 As shown in (a), when the APP1 icon 40 is displayed, the system receives user input by clicking the icon body 41 of the APP4 icon 40 (i.e., the sixth input mentioned above). Figure 4 As shown in (b), the icon background 42 of APP1 comprises four areas, namely areas A to D. Next, as... Figure 4 As shown in (c), the device receives the drag input (i.e., the first input) by the user dragging the icon body 41 to area A43 (i.e., the input position of the first input mentioned above), triggering the electronic device to switch the login account of APP4 to the application account A corresponding to area A.
[0060] Optionally, in this embodiment of the application, before step 202 above, the application account switching method provided in this embodiment of the application may further include the following step 401:
[0061] Step 401: When the main body of the icon moves to the first target position, the electronic device displays the first account identifier at the first target position.
[0062] Among them, the first account identifier is the identifier corresponding to the first application account.
[0063] It should be noted that during the user's movement input of the main body of the first application icon, the electronic device does not switch the application account corresponding to the first application icon. Instead, the electronic device switches the application account corresponding to the first application icon only after the user has finished moving the main body of the first application icon, that is, after the user's finger leaves the first application icon.
[0064] Specifically, the aforementioned first target location is the endpoint where the user moves the target object.
[0065] For example, the aforementioned first account identifier corresponds to the first target location.
[0066] For example, the aforementioned first account identifier can be any of the following: the avatar corresponding to the first application account, the nickname corresponding to the first application account, the account corresponding to the first application account, etc.
[0067] It should be noted that if the first target location is not associated with any application account, the icon body of the first application will still be displayed.
[0068] For example, let's assume the first application icon is APP4. Figure 4 In example (b), taking an icon background comprising at least one of four areas as an example, namely area A, area B, area C, and area D. Each area corresponds to one application account. For example... Figure 5As shown, if a user drags the main body of the APP4 icon to area C52 (i.e., the first target position mentioned above) (i.e., the first input mentioned above), the electronic device is triggered to display the avatar C53 (i.e., the first application account identifier mentioned above) corresponding to the application account C in area C52. The application account C corresponds to area C.
[0069] Example 1, combined with Figure 5 If the user drags the main body of the APP4 icon to area B54 (i.e., the first target position mentioned above) (i.e., the first input mentioned above), the electronic device will be triggered to display the avatar B (i.e., the first application account identifier mentioned above) corresponding to the application account B in area B54.
[0070] Example 2, such as Figure 4 As shown in (b) and (c), assuming that area A is not associated with any application account, if the user drags the icon body 41 of the APP4 icon to area A43 (i.e., the first target position mentioned above) as input (i.e., the first input mentioned above), the electronic device displays the icon body 41 of the APP4 icon in area A43.
[0071] Optionally, in this embodiment of the application, after step 202 above, the application account switching method provided in this embodiment of the application may further include the following steps 501 and 502:
[0072] Step 501: When the electronic device displays the first application icon, it receives a second input from the user regarding the icon's main body.
[0073] For example, the second input can be any of the following: long press input, tap input, press input, voice input, gesture input, etc.
[0074] Specifically, the second input mentioned above can be a drag input.
[0075] For example, the input parameters of the second input can be associated with the input position or with the direction of movement.
[0076] Step 502: The electronic device responds to the second input and switches the login account of the application corresponding to the first application icon from the first application account to the second application account.
[0077] The input parameters of the second input are different from those of the first input.
[0078] For example, the first application account mentioned above is different from the second application account.
[0079] For example, the second input parameter mentioned above corresponds to the second application account.
[0080] It should be noted that after the electronic device switches the login account of the application corresponding to the first application icon to the first application account, the login account of the application corresponding to the first application icon can also be switched from the first application account to the second application account by the user through a second input on the first application icon.
[0081] Specifically, the above-mentioned "the input parameters of the second input are different from the input parameters of the first input" can be understood as the input position of the second input being different from the input position of the first input, or the movement direction of the second input being different from the movement direction of the first input.
[0082] For example, suppose the first input location is area A, and the second input location is area B. If the user first drags the main body of the APP4 icon to area A (i.e., the input parameter of the first input), the electronic device will switch the login account of APP4 to application account A corresponding to area A. Then, if the user drags the main body of the APP4 icon to area B (i.e., the input parameter of the second input), the electronic device will switch the login account of APP4 from application account A to application account B.
[0083] Optionally, in this embodiment of the application, after step 202 above, the application account switching method provided in this embodiment of the application may further include the following step 801:
[0084] Step 801: The electronic device displays the target interface.
[0085] The target interface includes a first application icon, and the positional relationship between the icon body and the icon background is the initial display state; the initial display state is the positional relationship between the icon body and the icon background in the first application icon before receiving the first input.
[0086] It should be noted that after the electronic device completes the user's first input, that is, after the user's 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 receiving the first input.
[0087] For example, the target interface described above can be the desktop of an electronic device.
[0088] For example, such as Figure 2As shown, taking the APP3 icon as an example, after the electronic device performs the user's drag input on the icon body 21 of the APP3 icon (i.e., the first input mentioned above), the electronic device restores the positional relationship between the icon body 21 and the icon background 22 in the APP3 icon to the point where the icon body 21 is located in the center of the icon background 22, that is, it returns to the original display state before receiving the first input.
[0089] Optionally, in this embodiment of the application, before step 201 above, the application account switching method provided in this embodiment of the application may further include the following steps 601 to 605:
[0090] Step 601: The electronic device displays the account binding interface.
[0091] The account binding interface includes an icon background, which consists of M regions, where M is a positive integer.
[0092] For example, the account binding interface described above is used to establish the association between one of the M regions and an application account in the application corresponding to the first application icon.
[0093] Specifically, the aforementioned M regions are associated with N application accounts within the application corresponding to the first application icon. Here, M ≥ N, and N is a positive integer.
[0094] For example, one region can correspond to one application account. That is, the number of regions the icon background can be divided into depends on the number of accounts the application corresponding to the first application icon has.
[0095] For example, the above M regions can be any of the following: two regions, three regions, four regions, six regions, etc.
[0096] It should be noted that the division of the above M regions can be based on user operating habits or on the number of accounts included in the application corresponding to the first application icon. This application does not impose any specific limitations.
[0097] For example, let's take the icon background of APP5 as an example, such as... Figure 6 As shown, assuming APP5 has two application accounts, the user can trigger the electronic device to divide the background of APP5's icon into two areas (i.e., Figure 6 (61 and 62 in the original text) can also divide the icon background into four areas (i.e. Figure 6 (63 and 64 in the middle).
[0098] Step 602: The electronic device receives the user's third input on the target area among the M areas.
[0099] For example, the target area mentioned above is a region determined based on a third input.
[0100] For example, the third input mentioned above can be the user's input on any one of the M regions mentioned above.
[0101] For example, the third input mentioned above can be any of the following: long press input, tap input, press input, voice input, gesture input, etc.
[0102] Step 603: The electronic device responds to the third input and displays the account input control.
[0103] The account input control is used to input the account of a third-party application.
[0104] For example, the account input control may include at least one of the following: a first account input control, a password input control, and a verification code input control, etc.
[0105] Specifically, the first account input control is used to input the account corresponding to the third application account. The password input control is used to input the password corresponding to the third application account. The verification code input control is used to input the mobile verification code corresponding to the third application account.
[0106] For example, the aforementioned third application account may be different from the first application account and the second application account, or it may be the same as any one of the first application account and the second application account.
[0107] Step 604: The electronic device receives the user's fourth input.
[0108] For example, the fourth input mentioned above is used to establish the association between the target region and the third application account.
[0109] For example, the fourth input mentioned above can be user input to the first control. Specifically, the first control can be at least one of the following: completing the control, saving the control.
[0110] For example, the fourth input mentioned above can be any of the following: long press input, tap input, press input, voice input, gesture input, etc.
[0111] Step 605: The electronic device responds to the fourth input and establishes an association between the target area and the third application account.
[0112] For example, taking the APP5 icon background as an example, when displaying the APP5 account binding interface, such as Figure 7As shown in (a), the user first divides the background 71 of the APP5 icon into four areas, for example, areas A to D (i.e., the M areas mentioned above). If the user's click input on area A72 (i.e., the target area mentioned above) is received (i.e., the third input mentioned above), as shown in (a), the user first divides the background 71 of the APP5 icon into four areas, for example, areas A to D (i.e., the M areas mentioned above). Figure 7 As shown in (b), the interface includes account input controls (i.e., "Account" control 73 and "Password" control 74). If the user enters "1234567" (i.e., the third application account mentioned above) in the "Account" control and "xx6666" (i.e., the fourth input mentioned above) in the "Password" control, and clicks the "Save" control, as shown in (b), the interface is displayed. Figure 7 As shown in (c), the electronic device will display the "Binding Complete" interface, which includes the avatar 75 corresponding to the account "1234567" (i.e. the identifier corresponding to the third application account mentioned above) displayed in the area A72 of the icon background, thus completing the association operation between area A72 and account "1234567".
[0113] Optionally, in this embodiment of the application, after step 602 above, the application account switching method provided in this embodiment of the application may further include the following steps 701 to 703:
[0114] Step 701: The electronic device displays at least one second application icon.
[0115] For example, the second application icon can be an application icon different from the first application icon, or it can be an icon associated with the first application icon. Specifically, the associated icon can be an application account that is shared by the application corresponding to the first application icon.
[0116] Step 702: The electronic device receives a fifth input from the user for a target application icon in at least one second application icon.
[0117] For example, the target application icon mentioned above can be determined based on the user's fifth input.
[0118] For example, the fifth input mentioned above can be any of the following: long press input, tap input, press input, voice input, gesture input, etc.
[0119] Step 703: The electronic device responds to the fifth input and establishes an association between the application account corresponding to the target application icon and the target region.
[0120] For example, the application account corresponding to the target application icon can be the current login account of the application corresponding to the target application icon.
[0121] For example, taking the APP5 icon background as an example, when displaying the APP5 account binding interface, such as Figure 8As shown in (a), when the background 81 of the APP5 icon includes four areas (i.e., the M areas mentioned above), if the user's click input on area B82 (i.e., the fifth input mentioned above) is received... Figure 8 As shown in (b), the electronic device is triggered to display an interface including the APP1 icon, APP2 icon, and APP4 icon (i.e., at least one of the aforementioned second application icons). If the user clicks on the APP2 icon (i.e., the aforementioned target application icon) (i.e., the aforementioned fifth input), and clicks the "Save" control, then... Figure 8 As shown in (c), the electronic device will display a "binding complete" interface, which includes the avatar 84 of the current login account of APP2 (i.e., the application account corresponding to the target application icon) displayed in area B82 of the icon background, thus completing the association operation between area B and the current login account of APP2.
[0122] In this embodiment, the login account of another application can be quickly bound to the current application, reducing the need to enter account passwords.
[0123] The application account switching method provided in this application embodiment can be executed by an application account switching device. This application embodiment uses an application account switching device executing the application account switching method as an example to illustrate the application account switching device provided in this application embodiment.
[0124] This application provides an application account switching device, such as... Figure 9 As shown, the application account switching device 400 includes: a receiving module 401 and a switching module 402; the receiving module 401 is used to receive a first input from a user when a first application icon is displayed, the first application icon includes an icon background and an icon body, the first input is the user's input on the icon body, and the positional relationship between the icon body and the icon background changes during the input of the first input; the switching module 402 is used to switch the login account of the application corresponding to the first application icon to the first application account corresponding to the first input in response to the first input received by the receiving module.
[0125] Optionally, in this embodiment, the receiving module 401 is further configured to receive a second input from the user on the icon body when the first application icon is displayed; the switching module 402 is further configured to switch the login account of the application corresponding to the first application icon from the first application account to the second application account in response to the second input received by the receiving module; wherein the input parameters of the second input are different from the input parameters of the first input.
[0126] Optionally, in this embodiment, the device further includes: a display module and a processing module; the display module is used to display an account binding interface, the account binding interface including an icon background, the icon background including M areas, where M is a positive integer; the receiving module 401 is further used to receive a third input from the user to a target area in the M areas displayed by the display module; the display module is further used to display an account input control in response to the third input, the account input control being used to input a third application account; the receiving module 401 is further used to receive a fourth input from the user; the processing module is used to establish an association between the target area and the third application account in response to the fourth input received by the receiving module.
[0127] Optionally, in this embodiment of the application, the display module is used to display at least one second application icon; the receiving module 401 is used to receive a fifth input from the user on a target application icon among the at least one second application icon displayed by the display module; and the processing module is used to establish an association between the application account corresponding to the target application icon and the target region in response to the fifth input received by the receiving module.
[0128] Optionally, in this embodiment of the application, the above-mentioned display module is further used to display a target interface, wherein the target interface includes a first application icon, and the positional relationship between the icon body and the icon background is the initial display state; the initial display state is: the positional relationship between the icon body and the icon background in the first application icon before receiving the first input.
[0129] The application account switching device provided in this application embodiment receives a first input from a user when a first application icon is displayed, and in response to the first input, switches the login account of the application corresponding to the first application icon to the first application account corresponding to the first input. The first application icon includes an icon background and an icon body. The first input is the user's input on the icon body, and the positional relationship between the icon body and the icon background changes during the input process. Since the application account switching device can switch the login account of the application corresponding to the first application icon to the first application account through the user's first input on the first application icon, it simplifies the user's application account switching operation steps by allowing a single input from the user to switch the login account of the application corresponding to the application icon to another application account. Therefore, it improves the convenience of switching application accounts.
[0130] The application account switching device in this application embodiment can be an electronic device or a component within an electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal or other devices besides a terminal. For example, the electronic device can be a mobile phone, tablet computer, laptop computer, PDA, in-vehicle electronic device, mobile internet device (MID), augmented reality (AR) / virtual reality (VR) device, robot, wearable device, ultra-mobile personal computer (UMPC), netbook, or personal digital assistant (PDA), etc. It can also be a server, network attached storage (NAS), personal computer (PC), television (TV), ATM, or self-service machine, etc. This application embodiment does not specifically limit the device.
[0131] The application account switching device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit it.
[0132] The application account switching device provided in this application embodiment can achieve... Figures 1 to 8 The various processes implemented in the method embodiments achieve the same technical effect, and will not be described again here to avoid repetition.
[0133] Optionally, such as Figure 10 As shown, this application embodiment also provides an electronic device 600, including a processor 601 and a memory 602. The memory 602 stores a program or instructions that can run on the processor 601. When the program or instructions are executed by the processor 601, they implement the various steps of the above-described application account switching method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.
[0134] It should be noted that the electronic devices in the embodiments of this application include the aforementioned mobile electronic devices and non-mobile electronic devices.
[0135] Figure 11 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.
[0136] The electronic device 100 includes, but is not limited to, components such as: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, and processor 110.
[0137] Those skilled in the art will understand that the electronic device 100 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 110 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 11 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.
[0138] The user input unit 107 is used to receive a first input from the user when the first application icon is displayed. The first application icon includes an icon background and an icon body. The first input is the user's input on the icon body. During the input of the first input, the positional relationship between the icon body and the icon background changes. The processor 110 is used to switch the login account of the application corresponding to the first application icon to the first application account corresponding to the first input in response to the first input.
[0139] Optionally, in this embodiment, the user input unit 107 is further configured to receive a second input from the user on the icon body when the first application icon is displayed; the processor 110 is further configured to switch the login account of the application corresponding to the first application icon from the first application account to the second application account in response to the second input; wherein the input parameters of the second input are different from the input parameters of the first input.
[0140] Optionally, in this embodiment, the display unit 106 is used to display an account binding interface, which includes an icon background. The icon background includes M regions, where M is a positive integer. The user input unit 107 is also used to receive a third input from the user to a target region among the M regions. The display unit 106 is also used to display an account input control in response to the third input. The account input control is used to input a third application account. The user input unit 107 is also used to receive a fourth input from the user. The processor 110 is also used to establish an association between the target region and the third application account in response to the fourth input.
[0141] Optionally, in this embodiment, 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 on a target application icon among the at least one second application icon; and the processor 110 is further configured to, in response to the fifth input, establish an association between the application account corresponding to the target application icon and the target region.
[0142] Optionally, in this embodiment of the application, the display unit 106 is further configured to display a target interface, wherein the target interface includes a first application icon, and the positional relationship between the icon body and the icon background is the initial display state; the initial display state is: the positional relationship between the icon body and the icon background in the first application icon before receiving the first input.
[0143] The electronic device provided in this application embodiment, when displaying a first application icon, receives a first input from a user and, in response to the first input, switches the login account of the application corresponding to the first application icon to the first application account corresponding to the first input. The first application icon includes an icon background and an icon body. The first input is the user's input to the icon body, and during the input process, the positional relationship between the icon body and the icon background changes. Since the electronic device can switch the login account of the application corresponding to the first application icon to the first application account through the user's first input to the first application icon, it can simplify the user's operation steps for switching application accounts and improve the convenience of switching application accounts on the electronic device.
[0144] It should be understood that, in this embodiment, the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042. The GPU 1041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 106 may include a display panel 1061, which 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 called a touch screen. The touch panel 1071 may include a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, power buttons, etc.), a trackball, a mouse, and a joystick, which will not be described in detail here.
[0145] The memory 109 can be used to store software programs and various data. The memory 109 may primarily include a first storage area for storing programs or instructions and a second storage area for storing data. The first storage area may store the operating system, application programs or instructions required for at least one function (such as sound playback, image playback, etc.). Furthermore, the memory 109 may include volatile memory or non-volatile memory, or both. The non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM), static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct memory bus RAM (DRRAM). The memory 109 in the embodiments of this application includes, but is not limited to, these and any other suitable types of memory.
[0146] Processor 110 may include one or more processing units; optionally, processor 110 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 110.
[0147] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above-described application account switching method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.
[0148] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0149] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above application account switching method embodiments and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0150] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.
[0151] This application provides a computer program product stored in a storage medium. The program product is executed by at least one processor to implement the various processes of the application account switching method embodiment described above, and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0152] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
[0153] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0154] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.
Claims
1. A method for switching application accounts, characterized in that, The method includes: When the first application icon is displayed, the user's first input is received. The first application icon includes an icon background and an icon body. The first input is the user's input to move the icon body to the first area. During the input of the first input, the positional relationship between the icon body and the icon background changes. The first input is used to change the positional relationship between the icon body and the icon background. In response to the first input, the login account of the application corresponding to the first application icon is switched to the first application account corresponding to the first region, wherein the first region is one of the M regions included in the icon background, the first application account is an application account of the application corresponding to the first application icon, and M is a positive integer.
2. The method according to claim 1, characterized in that, After switching the login account of the application corresponding to the first application icon to the first application account corresponding to the first input, the method further includes: When the first application icon is displayed, a second input from the user regarding the icon's main body is received; In response to the second input, the login account of the application corresponding to the first application icon is switched from the first application account to the second application account; The input parameters of the second input are different from those of the first input.
3. The method according to claim 1, characterized in that, Prior to receiving the user's first input, the method further includes: The account binding interface is displayed, and the account binding interface includes the icon background, which includes M areas, where M is a positive integer; Receive a third input from the user regarding the target region among the M regions; In response to the third input, an account input control is displayed, which is used to input a third application account; Receive the user's fourth input; In response to the fourth input, an association is established between the target region and the third application account.
4. The method according to claim 3, characterized in that, After receiving the user's third input regarding the target region in the M regions, the method further includes: Display at least one second application icon; Receive a fifth input from the user for a target application icon among the at least one second application icons; In response to the fifth input, an association is established between the application account corresponding to the target application icon and the target region.
5. The method according to claim 1, characterized in that, After 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 includes: Display target interface, wherein the target interface includes the first application icon, and the positional relationship between the icon body and the icon background is the initial display state; the initial display state is: the positional relationship between the icon body and the icon background in the first application icon before receiving the first input.
6. An application account switching device, characterized in that, The device includes: a receiving module and a switching module; The receiving module is used to receive a first input from a user when a first application icon is displayed. The first application icon includes an icon background and an icon body. The first input is the user's input to move the icon body to a first area. During the input of the first input, the positional relationship between the icon body and the icon background changes. The first input is used to change the positional relationship between the icon body and the icon background. The switching module is used to switch the login account of the application corresponding to the first application icon to the first application account corresponding to the first area in response to the first input received by the receiving module. The first area is one of the M areas included in the icon background, and the first application account is an application account of the application corresponding to the first application icon. M is a positive integer.
7. The apparatus according to claim 6, characterized in that, The receiving module is also configured to receive a second input from the user on the icon body when the first application icon is displayed; The switching module is further configured to, in response to the second input received by the receiving module, switch the login account of the application corresponding to the first application icon from the first application account to the second application account; The input parameters of the second input are different from those of the first input.
8. The apparatus according to claim 6, characterized in that, The device further includes: a display module and a processing module; The display module is used to display the account binding interface, which includes the icon background. The icon background includes M areas, where M is a positive integer. The receiving module is also configured to receive a third input from the user regarding the target area in the M areas displayed by the display module; The display module is also configured to respond to the third input by displaying an account input control, the account input control being used to input a third application account; The receiving module is also used to receive a fourth input from the user; The processing module is used to establish an association between the target area and the third application account in response to the fourth input received by the receiving module.
9. An electronic device, characterized in that, It includes a processor and a memory, the memory storing a program or instructions that can run on the processor, the program or instructions being executed by the processor to implement the steps of the application account switching method as described in any one of claims 1-5.
10. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the application account switching method as described in any one of claims 1-5.
Citation Information
Patent Citations
Parameter setting method and device and electronic equipment
CN111651105A
Application program login method and device
CN113420270A