




技术领域technical field
本发明涉及电子设备技术领域,特别是涉及一种账号切换或注册方法及电子设备。The present invention relates to the technical field of electronic equipment, and in particular, to an account switching or registration method and electronic equipment.
背景技术Background technique
目前随着现在电子设备上安装APP越来越多,并且大部分安装的APP是需要先进行注册才能使用的。APP注册这种方式是繁琐而且是固定的,都需要通过一些当前电子设备的基础信息进行认证注册。At present, as more and more APPs are installed on electronic devices, most of the installed APPs need to be registered before they can be used. This method of APP registration is cumbersome and fixed, and requires authentication and registration through some basic information of current electronic devices.
例如,用户需要购买一些产品,需要下载多个购物APP,以在多个APP中进行查找筛选,因此需要对多个APP逐个进行注册认证,注册认证操作繁琐,在另一些时候,对APP账号进行切换登录时,切换过程繁琐,不方便使用。For example, users need to buy some products and need to download multiple shopping apps to search and filter in multiple apps. Therefore, multiple apps need to be registered and authenticated one by one. The registration and authentication operations are cumbersome. When switching login, the switching process is cumbersome and inconvenient to use.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供一种账号切换或注册方法及电子设备,能够解决现有技术中账号切换或注册繁琐的问题。The embodiments of the present invention provide an account switching or registration method and electronic device, which can solve the problem of complicated account switching or registration in the prior art.
为了解决上述技术问题,本发明是这样实现的:In order to solve the above-mentioned technical problems, the present invention is achieved in this way:
第一方面,本发明实施例提供了一种账号切换或注册方法,所述方法包括:获取所述电子设备中安装的各第一应用程序的授权信息;接收用户对第二应用程序的第一输入,其中,所述第二应用程序为待登录应用程序或者待切换账号的应用程序;响应所述第一输入,在显示界面显示各所述授权信息;接收用户对所述第二应用程序的第二输入;响应于所述第二输入,确定目标授权信息并依据所述目标授权信息对所述第二应用程序进行注册或账号切换。In a first aspect, an embodiment of the present invention provides an account switching or registration method, the method includes: acquiring authorization information of each first application installed in the electronic device; input, wherein the second application is an application to be logged in or an account to be switched; in response to the first input, display each of the authorization information on the display interface; receive the user's request for the second application second input; in response to the second input, determine target authorization information and perform registration or account switching for the second application according to the target authorization information.
第二方面,本发明实施例还提供了一种电子设备,所述电子设备包括:获取模块,用于获取所述电子设备中安装的各第一应用程序的授权信息;第一接收模块,用于接收用户对第二应用程序的第一输入,其中,所述第二应用程序为待登录应用程序或者待切换账号的应用程序;第一响应模块,用于响应所述第一输入,在显示界面显示各所述授权信息;第二接收模块,用于接收用户对所述第二应用程序的第二输入;第二响应模块,用于响应于所述移动操作,确定目标授权信息并依据所述目标授权信息对所述第二应用程序进行注册或账号切换。In a second aspect, an embodiment of the present invention further provides an electronic device, the electronic device includes: an acquisition module for acquiring authorization information of each first application program installed in the electronic device; a first receiving module for using for receiving a first input from a user to a second application, wherein the second application is an application to be logged in or an application to switch accounts; the first response module is used to respond to the first input and display the The interface displays each of the authorization information; the second receiving module is used for receiving the second input of the user to the second application program; the second response module is used for determining the target authorization information in response to the moving operation and according to the The target authorization information is used to register or switch accounts to the second application.
第三方面,本发明实施例还提供了一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现所述的账号切换或注册方法的步骤。In a third aspect, an embodiment of the present invention further provides an electronic device, including a processor, a memory, and a computer program stored on the memory and executable on the processor, the computer program being executed by the processor The steps of implementing the described account switching or registration method during execution.
第四方面,本发明实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质上存储计算机程序,所述计算机程序被处理器执行时实现所述的账号切换或注册方法的步骤。In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by the processor, the account switching or registration method is implemented. step.
在本发明实施例中,通过获取电子设备中安装的各第一应用程序的授权信息;接收用户对第二应用程序的第一输入,其中,第二应用程序为待登录应用程序或者待切换账号的应用程序;响应第一输入,在显示界面显示各授权信息;接收用户对所述第二应用程序的第二输入;响应于第二输入,确定目标授权信息并依据目标授权信息对第二应用程序进行注册或账号切换,能够实现优化了用户注册或切换应用程序账号的流程,使得整个流程更加简洁方便。In the embodiment of the present invention, the authorization information of each first application program installed in the electronic device is obtained; the user's first input to the second application program is received, wherein the second application program is the application program to be logged in or the account to be switched. In response to the first input, each authorization information is displayed on the display interface; the user's second input to the second application program is received; in response to the second input, the target authorization information is determined and the second application is executed according to the target authorization information. Program registration or account switching can optimize the process of user registration or switching application accounts, making the entire process more concise and convenient.
附图说明Description of drawings
图1是本发明实施例一的一种账号切换或注册方法的步骤流程图;1 is a flowchart of steps of an account switching or registration method according to
图2是本发明实施例二的一种账号切换或注册方法的步骤流程图;2 is a flow chart of steps of an account switching or registration method according to Embodiment 2 of the present invention;
图3是本发明实施例三的一种电子设备的结构框图;3 is a structural block diagram of an electronic device according to Embodiment 3 of the present invention;
图4是本发明实施例四的一种电子设备的结构框图;4 is a structural block diagram of an electronic device according to Embodiment 4 of the present invention;
图5是本发明实施例五的一种电子设备的硬件结构示意图。FIG. 5 is a schematic diagram of a hardware structure of an electronic device according to Embodiment 5 of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
参照图1,示出了本发明实施例一的一种账号切换或注册方法的步骤流程图。Referring to FIG. 1 , a flowchart of steps of an account switching or registration method according to
本发明实施例提供的账号切换或注册方法包括以下步骤:The account switching or registration method provided by the embodiment of the present invention includes the following steps:
步骤101:获取电子设备中安装的各第一应用程序的授权信息。Step 101: Obtain authorization information of each first application program installed in the electronic device.
电子设备中安装有多个第一应用程序,第一应用程序为所有支持账号验证或者账号注册的应用程序。A plurality of first application programs are installed in the electronic device, and the first application programs are all application programs that support account verification or account registration.
其中,第一应用程序包括电话、微信、QQ以及微博等应用程序。Among them, the first application includes applications such as phone, WeChat, QQ, and Weibo.
第一应用程序的授权信息即为电话号码、微信号码、QQ号码以及为微博账号。The authorization information of the first application is a phone number, a WeChat ID number, a QQ number, and a Weibo account.
步骤102:接收用户对第二应用程序的第一输入。Step 102: Receive a first input from the user to the second application.
其中,第二应用程序为待登录应用程序或者待切换账号的应用程序。The second application is an application to be logged in or an application to switch accounts.
需要说明的是,本领域技术人员可以根据实际情况对第一输入进行设置,其中,第一输入可以为对第二应用程序的长按输入域、双击输入、滑动输入等,本发明实施例对此不作具体限制。It should be noted that those skilled in the art can set the first input according to the actual situation, where the first input may be a long-press input field, double-click input, sliding input, etc. of the second application program. This is not specifically limited.
步骤103:响应第一输入,在显示界面显示各授权信息。Step 103: In response to the first input, each authorization information is displayed on the display interface.
在第二应用程序的周边预设范围内,显示各第一应用程序的授权信息。Within a preset range around the second application program, the authorization information of each first application program is displayed.
其中,可以在第二应用程序的上边、下边、左边以及右边,显示预设大小的长方形,以用于显示各授权信息。Wherein, rectangles with preset sizes may be displayed on the upper side, the lower side, the left side and the right side of the second application for displaying each authorization information.
步骤104:接收用户对第二应用程序的第二输入。Step 104: Receive a second input from the user to the second application.
需要说明的是,本领域技术人员可以根据实际情况对第二输入进行设置,其中,第二输入用于控制手指对第二应用程序的移动,因此,第二输入可以为移动输入,滑动输入以及点击输入。It should be noted that those skilled in the art can set the second input according to the actual situation, wherein the second input is used to control the movement of the finger to the second application program, therefore, the second input can be a movement input, a sliding input and Click Enter.
当第二输入为点击输入,则点击第二应用程序,同时点击目标位置,通过第二输入,将第二应用程序移动至目标位置。When the second input is a click input, the second application is clicked and the target position is clicked at the same time, and the second application is moved to the target position through the second input.
步骤105:响应于第二输入,确定目标授权信息并依据目标授权信息对第二应用程序进行注册或账号切换。Step 105: In response to the second input, determine the target authorization information and perform registration or account switching for the second application according to the target authorization information.
依据第二输入,确定最终移动的位置,确定该位置下的目标授权信息,并依据目标授权信息对第二应用程序进行注册或者账号切换。According to the second input, the final moving position is determined, the target authorization information under the position is determined, and the second application is registered or account switched according to the target authorization information.
当第二应用程序当前处于未登录状态时,则依据目标授权信息对第二应用程序进行注册,当第二应用程序为登录状态时,则依据目标授权信息对第二应用程序进行账号切换。When the second application is currently in the unlogged state, the second application is registered according to the target authorization information, and when the second application is in the logged-in state, the account switching of the second application is performed according to the target authorization information.
在本发明实施例中,通过获取电子设备中安装的各第一应用程序的授权信息;接收用户对第二应用程序的第一输入,其中,第二应用程序为待登录应用程序或者待切换账号的应用程序;响应第一输入,在显示界面显示各授权信息;接收用户对所述第二应用程序的第二输入;响应于第二输入,确定目标授权信息并依据目标授权信息对第二应用程序进行注册或账号切换,能够实现优化了用户注册或切换应用程序账号的流程,使得整个流程更加简洁方便。In the embodiment of the present invention, the authorization information of each first application program installed in the electronic device is obtained; the user's first input to the second application program is received, wherein the second application program is the application program to be logged in or the account to be switched. In response to the first input, each authorization information is displayed on the display interface; the user's second input to the second application program is received; in response to the second input, the target authorization information is determined and the second application is executed according to the target authorization information. Program registration or account switching can optimize the process of user registration or switching application accounts, making the entire process more concise and convenient.
实施例二Embodiment 2
参照图2,示出了本发明实施例二的一种账号切换或注册方法的步骤流程图。Referring to FIG. 2 , a flowchart of steps of an account switching or registration method according to Embodiment 2 of the present invention is shown.
本发明实施例提供的账号切换或注册方法包括以下步骤:The account switching or registration method provided by the embodiment of the present invention includes the following steps:
步骤201:获取电子设备中安装的各第一应用程序的授权信息。Step 201: Obtain authorization information of each first application program installed in the electronic device.
电子设备中安装有多个第一应用程序,第一应用程序为所有支持账号验证或者账号注册的应用程序。A plurality of first application programs are installed in the electronic device, and the first application programs are all application programs that support account verification or account registration.
其中,第一应用程序包括电话、微信、QQ以及微博等应用程序。Among them, the first application includes applications such as phone, WeChat, QQ, and Weibo.
第一应用程序的授权信息即为电话号码、微信号码、QQ号码以及为微博账号。The authorization information of the first application is a phone number, a WeChat ID number, a QQ number, and a Weibo account.
步骤202:接收用户对第二应用程序的第一输入。Step 202: Receive a first input from the user to the second application.
其中,第二应用程序为待登录应用程序或者待切换账号的应用程序。The second application is an application to be logged in or an application to switch accounts.
需要说明的是,本领域技术人员可以根据实际情况对第一输入进行设置,其中,第一输入可以为对第二应用程序的长按输入、双击输入、滑动输入等,本发明实施例对此不作具体限制。It should be noted that those skilled in the art can set the first input according to the actual situation, where the first input may be a long-press input, a double-click input, a slide input, etc. on the second application program, and the embodiment of the present invention is for this No specific restrictions are imposed.
步骤203:响应第一输入,在显示界面显示各授权信息。Step 203: In response to the first input, each authorization information is displayed on the display interface.
在第二应用程序的周边预设范围内,显示各第一应用程序的授权信息。Within a preset range around the second application program, the authorization information of each first application program is displayed.
其中,可以在第二应用程序的上边、下边、左边以及右边,显示预设大小的长方形、圆形、三角形,以用于显示各授权信息,各授权信息可以按照图标的方式显示,也可以按照列表的方式在预设范围内显示。Among them, rectangles, circles and triangles of preset sizes can be displayed on the upper, lower, left and right sides of the second application to display each authorization information, and each authorization information can be displayed in the form of an icon, or can be The way the list is displayed is within the preset range.
步骤204:接收用户对第二应用程序的第二输入。Step 204: Receive a second input from the user to the second application.
需要说明的是,本领域技术人员可以根据实际情况对第二输入进行设置,其中,第二输入用于控制手指对第二应用程序的移动,因此,第二输入可以为移动输入,滑动输入以及点击输入。It should be noted that those skilled in the art can set the second input according to the actual situation, wherein the second input is used to control the movement of the finger to the second application program, therefore, the second input can be a movement input, a sliding input and Click Enter.
当第二输入为点击输入,则点击第二应用程序,同时点击目标位置,通过第二输入,将第二应用程序移动至目标位置。When the second input is a click input, the second application is clicked and the target position is clicked at the same time, and the second application is moved to the target position through the second input.
步骤205:响应于第二输入,确定目标授权信息并跳转至目标授权信息的授权认证界面。Step 205: In response to the second input, determine the target authorization information and jump to the authorization authentication interface of the target authorization information.
确定第二输入结束后,第二应用程序对应的位置,并确定该位置下对应的目标授权信息。依据目标授权信息跳转至目标授权信息对应的授权认证界面。After the second input is completed, the position corresponding to the second application is determined, and the target authorization information corresponding to the position is determined. Jump to the authorization authentication interface corresponding to the target authorization information according to the target authorization information.
步骤206:接收用户对授权认证界面中目标授权信息的第三输入。Step 206: Receive a third input from the user to the target authorization information in the authorization authentication interface.
需要说明的是,第三输入为对目标授权信息的确定操作,第三输入可以为对目标授权信息的点击操作,或者对目标授权信息的长按操作等。It should be noted that the third input is a determination operation on the target authorization information, and the third input may be a click operation on the target authorization information, or a long-press operation on the target authorization information, or the like.
步骤207:响应于第三输入,依据目标授权信息对第二应用程序进行注册或账号切换。Step 207: In response to the third input, register or switch accounts for the second application according to the target authorization information.
用户对授权认证界面中的目标授权信息进行确认后,才可以根据目标授权信息对第二应用程序进行注册或账号切换,当用户未确认授权认证界面中的目标授权信息时,则流程结束。After the user confirms the target authorization information in the authorization authentication interface, the second application can be registered or account switched according to the target authorization information. When the user does not confirm the target authorization information in the authorization authentication interface, the process ends.
直接将第二应用程序移动至目标授权信息处,即可实现对第二应用程序的注册或者账号的切换,无需用户手动进行注册或者账号切换,使得账号注册和账号切换的流程变得更为简单,节省用户的时间。By directly moving the second application to the target authorization information, the registration of the second application or the switching of accounts can be realized without the need for the user to manually register or switch accounts, which makes the process of account registration and account switching simpler , saving the user's time.
步骤205至步骤207还可以为:在第二应用程序为登录状态且目标授权信息与第二应用程序的账号信息一致的情况下,响应于第二输入;注销第二应用程序的账号信息。
当目标授权信息与第二应用程序登录的账号信息一致的情况下,目标授权信息以高亮、虚线等方式显示,以用户提醒用户,当前第二应用程序登录的账号信息与目标授权信息一致,若将第二应用程序移动至目标授权信息处时,则对第二应用程序的当前登录的账号信息进行注销。该过程,无需用户在打开第二应用程序,并进入第二应用程序的账号注销界面,对账号进行注销,该步骤的账号注销方式更加的简单方便。When the target authorization information is consistent with the account information logged in by the second application, the target authorization information is displayed in a highlighted, dotted line, etc., and the user is reminded that the current account information logged in by the second application is consistent with the target authorization information. If the second application is moved to the target authorization information, the currently logged-in account information of the second application is cancelled. In this process, the user does not need to open the second application program and enter the account cancellation interface of the second application program to cancel the account, and the account cancellation method in this step is more simple and convenient.
步骤208:确定目标授权信息对应的第一应用程序的第一图标。Step 208: Determine the first icon of the first application corresponding to the target authorization information.
步骤209:在第二应用程序的图标上,按照预设方式显示第一图标。Step 209: On the icon of the second application, display the first icon in a preset manner.
在第二应用程序的图标上显示目标授权信息对应的第一图标,用户可以清楚的看到当前第二应用程序的登录账号的来源,在用户后续对账号进行切换时,更加方便快捷。The first icon corresponding to the target authorization information is displayed on the icon of the second application, and the user can clearly see the source of the current login account of the second application, which is more convenient and quicker when the user switches the account subsequently.
需要说明的是,本领域技术人员可以根据实际情况对预设方式进行设置,可以以高亮小图的方式在第二应用程序图标上显示第一图标。It should be noted that, those skilled in the art can set the preset mode according to the actual situation, and can display the first icon on the second application program icon in the form of a highlighted thumbnail.
当用户需要对第二应用程序的账号进行切换,并且需要保留第二应用程序的当前登录账号时,确定目标授权信息的第一应用程序的第二图标;创建第二应用程序的图标的分身图标;按照预设方式在分身图标中显示第二图标。When the user needs to switch the account of the second application and needs to keep the current login account of the second application, determine the second icon of the first application of the target authorization information; create a clone icon of the icon of the second application ; Display the second icon in the avatar icon according to the preset method.
用户可以同时为第二应用程序登录多个账号,且可以清楚的分别第二应用程序的账号信息,对第二应用程序的使用更加的方便。The user can log in to multiple accounts for the second application program at the same time, and can clearly distinguish account information of the second application program, which is more convenient for the use of the second application program.
在本发明实施例中,通过获取电子设备中安装的各第一应用程序的授权信息;接收用户对第二应用程序的第一输入,其中,第二应用程序为待登录应用程序或者待切换账号的应用程序;响应第一输入,在显示界面显示各授权信息;接收用户对所述第二应用程序的第二输入;响应于第二输入,确定目标授权信息并依据目标授权信息对第二应用程序进行注册或账号切换,能够实现优化了用户注册或切换应用程序账号的流程,使得整个流程更加简洁方便。In the embodiment of the present invention, the authorization information of each first application program installed in the electronic device is obtained; the user's first input to the second application program is received, wherein the second application program is the application program to be logged in or the account to be switched. In response to the first input, each authorization information is displayed on the display interface; the user's second input to the second application program is received; in response to the second input, the target authorization information is determined and the second application is executed according to the target authorization information. Program registration or account switching can optimize the process of user registration or switching application accounts, making the entire process more concise and convenient.
实施例三Embodiment 3
参照图3,示出了本发明实施例三的一种电子设备的结构框图。Referring to FIG. 3 , a structural block diagram of an electronic device according to Embodiment 3 of the present invention is shown.
本发明实施例提供了一种电子设备,所述电子设备包括:获取模块301,用于获取所述电子设备中安装的各第一应用程序的授权信息;第一接收模块302,用于接收用户对第二应用程序的第一输入,其中,所述第二应用程序为待登录应用程序或者待切换账号的应用程序;第一响应模块303,用于响应所述第一输入,在显示界面显示各所述授权信息;第二接收模块304,用于接收用户对所述第二应用程序的第二输入;第二响应模块305,用于响应于所述第二输入,确定目标授权信息并依据所述目标授权信息对所述第二应用程序进行注册或账号切换。An embodiment of the present invention provides an electronic device, the electronic device includes: an
在本发明实施例中,通过获取电子设备中安装的各第一应用程序的授权信息;接收用户对第二应用程序的第一输入,其中,第二应用程序为待登录应用程序或者待切换账号的应用程序;响应第一输入,在显示界面显示各授权信息;接收用户对所述第二应用程序的第二输入;响应于第二输入,确定目标授权信息并依据目标授权信息对第二应用程序进行注册或账号切换,能够实现优化了用户注册或切换应用程序账号的流程,使得整个流程更加简洁方便。In the embodiment of the present invention, the authorization information of each first application program installed in the electronic device is obtained; the user's first input to the second application program is received, wherein the second application program is the application program to be logged in or the account to be switched. In response to the first input, each authorization information is displayed on the display interface; the user's second input to the second application program is received; in response to the second input, the target authorization information is determined and the second application is executed according to the target authorization information. Program registration or account switching can optimize the process of user registration or switching application accounts, making the entire process more concise and convenient.
实施例四Embodiment 4
参照图4,示出了本发明实施例四的一种电子设备的结构框图。Referring to FIG. 4 , a structural block diagram of an electronic device according to Embodiment 4 of the present invention is shown.
本发明实施例提供的电子设备包括:获取模块401,用于获取所述电子设备中安装的各第一应用程序的授权信息;第一接收模块402,用于接收用户对第二应用程序的第一输入,其中,所述第二应用程序为待登录应用程序或者待切换账号的应用程序;第一响应模块403,用于响应所述第一输入,在显示界面显示各所述授权信息;第二接收模块404,用于接收用户对所述第二应用程序的第二输入;第二响应模块405,用于响应于所述第二输入,确定目标授权信息并依据所述目标授权信息对所述第二应用程序进行注册或账号切换。The electronic device provided by the embodiment of the present invention includes: an obtaining
优选地,所述第二响应模块405包括:第一响应子模块4051,用于响应于所述移动操作,确定目标授权信息并跳转至所述目标授权信息的授权认证界面;第一接收子模块4052,用于接收用户对所述授权认证界面中目标授权信息的第三输入;第二接收子模块4053,用于响应于所述第三输入,依据所述目标授权信息对所述第二应用程序进行注册或账号切换。Preferably, the
优选地,所述第二响应模块405包括:第二响应子模块4054,用于在所述第二应用程序为登录状态且所述目标授权信息与所述第二应用程序的账号信息一致的情况下,响应于所述第二输入;注销子模块4055,用于注销所述第二应用程序的账号信息。Preferably, the
优选地,所述电子设备还包括:第一确定模块406,用于在所述第二响应模块405响应于所述第二输入,确定目标授权信息并依据所述目标授权信息对所述第二应用程序进行注册之后,确定所述目标授权信息对应的第一应用程序的第一图标;第一显示模块407,用于在所述第二应用程序的图标上,按照预设方式显示所述第一图标。Preferably, the electronic device further includes: a first determining
优选地,所述电子设备还包括:第二确定模块408,用于在所述第二响应模块响应于所述第二输入,确定目标授权信息并依据所述目标授权信息对所述第二应用程序进行账号切换之后,确定所述目标授权信息的第一应用程序的第二图标;创建模块409,用于创建所述第二应用程序的图标的分身图标;第二显示模块410,用于按照预设方式在所述分身图标中显示所述第二图标。Preferably, the electronic device further includes: a
本发明实施例提供的电子设备能够实现图1至图2的方法实施例中电子设备实现的各个过程,为避免重复,这里不再赘述。The electronic device provided in the embodiment of the present invention can implement each process implemented by the electronic device in the method embodiments of FIG. 1 to FIG. 2 , and to avoid repetition, details are not described here.
在本发明实施例中,通过获取电子设备中安装的各第一应用程序的授权信息;接收用户对第二应用程序的第一输入,其中,第二应用程序为待登录应用程序或者待切换账号的应用程序;响应第一输入,在显示界面显示各授权信息;接收用户对所述第二应用程序的第二输入;响应于第二输入,确定目标授权信息并依据目标授权信息对第二应用程序进行注册或账号切换,能够实现优化了用户注册或切换应用程序账号的流程,使得整个流程更加简洁方便。In the embodiment of the present invention, the authorization information of each first application program installed in the electronic device is obtained; the user's first input to the second application program is received, wherein the second application program is the application program to be logged in or the account to be switched. In response to the first input, each authorization information is displayed on the display interface; the user's second input to the second application program is received; in response to the second input, the target authorization information is determined and the second application is executed according to the target authorization information. Program registration or account switching can optimize the process of user registration or switching application accounts, making the entire process more concise and convenient.
实施例五Embodiment 5
参照图5,为实现本发明各个实施例的一种电子设备的硬件结构示意图。Referring to FIG. 5 , it is a schematic diagram of a hardware structure of an electronic device implementing various embodiments of the present invention.
该电子设备500包括但不限于:射频单元501、网络模块502、音频输出单元503、输入单元504、传感器505、显示单元506、用户输入单元507、接口单元508、存储器509、处理器510、以及电源511等部件。本领域技术人员可以理解,图5中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。The
处理器510,用于获取所述电子设备中安装的各第一应用程序的授权信息;接收用户对第二应用程序的第一输入,其中,所述第二应用程序为待登录应用程序或者待切换账号的应用程序;响应所述第一输入,在显示界面显示各所述授权信息;接收用户对所述第二应用程序的第二输入;响应于所述第二输入,确定目标授权信息并依据所述目标授权信息对所述第二应用程序进行注册或账号切换。The
在本发明实施例中,通过获取电子设备中安装的各第一应用程序的授权信息;接收用户对第二应用程序的第一输入,其中,第二应用程序为待登录应用程序或者待切换账号的应用程序;响应第一输入,在显示界面显示各授权信息;接收用户对所述第二应用程序的第二输入;响应于第二输入,确定目标授权信息并依据目标授权信息对第二应用程序进行注册或账号切换,能够实现优化了用户注册或切换应用程序账号的流程,使得整个流程更加简洁方便。In the embodiment of the present invention, the authorization information of each first application program installed in the electronic device is obtained; the user's first input to the second application program is received, wherein the second application program is the application program to be logged in or the account to be switched. In response to the first input, each authorization information is displayed on the display interface; the user's second input to the second application program is received; in response to the second input, the target authorization information is determined and the second application is executed according to the target authorization information. Program registration or account switching can optimize the process of user registration or switching application accounts, making the entire process more concise and convenient.
应理解的是,本发明实施例中,射频单元501可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器510处理;另外,将上行的数据发送给基站。通常,射频单元501包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元501还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present invention, the
电子设备通过网络模块502为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides the user with wireless broadband Internet access through the
音频输出单元503可以将射频单元501或网络模块502接收的或者在存储器509中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元503还可以提供与电子设备500执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元503包括扬声器、蜂鸣器以及受话器等。The
输入单元504用于接收音频或视频信号。输入单元504可以包括图形处理器(Graphics Processing Unit,GPU)5041和麦克风5042,图形处理器5041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元506上。经图形处理器5041处理后的图像帧可以存储在存储器509(或其它存储介质)中或者经由射频单元501或网络模块502进行发送。麦克风5042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元501发送到移动通信基站的格式输出。The
电子设备500还包括至少一种传感器505,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板5061的亮度,接近传感器可在电子设备500移动到耳边时,关闭显示面板5061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器505还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The
显示单元506用于显示由用户输入的信息或提供给用户的信息。显示单元506可包括显示面板5061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板5061。The
用户输入单元507可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元507包括触控面板5071以及其他输入设备5072。触控面板5071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板5071上或在触控面板5071附近的操作)。触控面板5071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器510,接收处理器510发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板5071。除了触控面板5071,用户输入单元507还可以包括其他输入设备5072。具体地,其他输入设备5072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The
进一步的,触控面板5071可覆盖在显示面板5061上,当触控面板5071检测到在其上或附近的触摸操作后,传送给处理器510以确定触摸事件的类型,随后处理器510根据触摸事件的类型在显示面板5061上提供相应的视觉输出。虽然在图5中,触控面板5071与显示面板5061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板5071与显示面板5061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, the
接口单元508为外部装置与电子设备500连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元508可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备500内的一个或多个元件或者可以用于在电子设备500和外部装置之间传输数据。The
存储器509可用于存储软件程序以及各种数据。存储器509可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器509可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The
处理器510是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器509内的软件程序和/或模块,以及调用存储在存储器509内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器510可包括一个或多个处理单元;优选的,处理器510可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器510中。The
电子设备500还可以包括给各个部件供电的电源511(比如电池),优选的,电源511可以通过电源管理系统与处理器510逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The
另外,电子设备500包括一些未示出的功能模块,在此不再赘述。In addition, the
优选的,本发明实施例还提供一种电子设备,包括处理器510,存储器509,存储在存储器509上并可在所述处理器510上运行的计算机程序,该计算机程序被处理器510执行时实现上述账号切换或注册方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, an embodiment of the present invention further provides an electronic device, including a
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述账号切换或注册方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random AccessMemory,简称RAM)、磁碟或者光盘等。Embodiments of the present invention also provide a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, each process of the above-mentioned account switching or registration method embodiments can be achieved, and can achieve the same In order to avoid repetition, the technical effect will not be repeated here. The computer-readable storage medium is, for example, a read-only memory (Read-Only Memory, ROM for short), a random access memory (Random Access Memory, RAM for short), a magnetic disk or an optical disk, and the like.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that, herein, the terms "comprising", "comprising" or any other variation thereof are intended to encompass non-exclusive inclusion, such that a process, method, article or device comprising a series of elements includes not only those elements, It also includes other elements not expressly listed or inherent to such a process, method, article or apparatus. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in a process, method, article or apparatus that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。From the description of the above embodiments, those skilled in the art can clearly understand that the method of the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is better implementation. Based on this understanding, the technical solutions of the present invention can be embodied in the form of software products in essence or the parts that make contributions to the prior art, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic disk, CD), including several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention have been described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments, which are merely illustrative rather than restrictive. Under the inspiration of the present invention, without departing from the spirit of the present invention and the scope protected by the claims, many forms can be made, which all belong to the protection of the present invention.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010126079.8ACN111310165B (en) | 2020-02-27 | 2020-02-27 | Account switching or registration method and electronic device |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202010126079.8ACN111310165B (en) | 2020-02-27 | 2020-02-27 | Account switching or registration method and electronic device |
| Publication Number | Publication Date |
|---|---|
| CN111310165A CN111310165A (en) | 2020-06-19 |
| CN111310165Btrue CN111310165B (en) | 2022-10-21 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202010126079.8AActiveCN111310165B (en) | 2020-02-27 | 2020-02-27 | Account switching or registration method and electronic device |
| Country | Link |
|---|---|
| CN (1) | CN111310165B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112416205B (en)* | 2020-11-26 | 2022-11-29 | 维沃移动通信有限公司 | Method and device for determining login account |
| CN112883360B (en)* | 2021-01-29 | 2023-10-17 | 平安科技(深圳)有限公司 | Intelligent registration method and device for application program, computer equipment and storage medium |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2015066330A1 (en)* | 2013-11-04 | 2015-05-07 | Qualcomm Incorporated | User authentication biometrics in mobile devices |
| US10162488B1 (en)* | 2013-09-23 | 2018-12-25 | Amazon Technologies, Inc. | Browser-based media scan |
| CN109598115A (en)* | 2018-07-27 | 2019-04-09 | 北京字节跳动网络技术有限公司 | Authorize implementation method, device, equipment, system, platform and the medium logged in |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108139915B (en)* | 2016-04-29 | 2020-10-16 | 华为技术有限公司 | An operation method and terminal of an application program group |
| CN106126009B (en)* | 2016-06-15 | 2020-08-04 | 宇龙计算机通信科技(深圳)有限公司 | Application icon management method and device and terminal |
| CN106155694A (en)* | 2016-07-28 | 2016-11-23 | 努比亚技术有限公司 | A kind of application and the display packing and device applied of attending to anything else |
| CN108733993A (en)* | 2018-05-24 | 2018-11-02 | 维沃移动通信有限公司 | A kind of method for information display and terminal |
| CN108984231A (en)* | 2018-07-25 | 2018-12-11 | 维沃移动通信有限公司 | A kind of login method and mobile terminal of application program account |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10162488B1 (en)* | 2013-09-23 | 2018-12-25 | Amazon Technologies, Inc. | Browser-based media scan |
| WO2015066330A1 (en)* | 2013-11-04 | 2015-05-07 | Qualcomm Incorporated | User authentication biometrics in mobile devices |
| CN109598115A (en)* | 2018-07-27 | 2019-04-09 | 北京字节跳动网络技术有限公司 | Authorize implementation method, device, equipment, system, platform and the medium logged in |
| Title |
|---|
| Moodle系统中微博第三方登录设计与开发;李增耀;《电脑编程技巧与维护》;20171103(第21期);全文* |
| Oauth web authorization protocol;Leiba B;《IEEE》;20120109;第16卷(第1期);74-77* |
| 基于ASP的微信账号登录功能的应用与实现;吴冬晨;《电脑知识与技术》;20160624(第14期);全文* |
| 基于移动互联网用户实名认证技术应用研究;严峰等;《中国公共安全(学术版)》;20170315(第01期);全文* |
| Publication number | Publication date |
|---|---|
| CN111310165A (en) | 2020-06-19 |
| Publication | Publication Date | Title |
|---|---|---|
| CN108182019B (en) | Suspension control display processing method and mobile terminal | |
| CN108459797B (en) | Control method of folding screen and mobile terminal | |
| CN111459456B (en) | Audio control method and electronic equipment | |
| CN110058836B (en) | An audio signal output method and terminal device | |
| CN109710349B (en) | Screen capturing method and mobile terminal | |
| CN107992342B (en) | Application configuration changing method and mobile terminal | |
| CN110764675A (en) | A control method and electronic device | |
| CN107682359B (en) | Application registration method and mobile terminal | |
| CN109521937B (en) | Screen display control method and mobile terminal | |
| CN111124706A (en) | Application sharing method and electronic device | |
| JP7229365B2 (en) | Authority management method and terminal equipment | |
| CN111414097A (en) | Interaction method, interaction system and display equipment | |
| CN110830363A (en) | Information sharing method and electronic equipment | |
| CN110825295A (en) | Application program control method and electronic equipment | |
| CN110673770A (en) | Message display method and terminal equipment | |
| CN108958593A (en) | A kind of method and mobile terminal of determining communication object | |
| CN108958582A (en) | A kind of application program launching method and terminal | |
| CN110096203A (en) | A kind of screenshot method and mobile terminal | |
| CN110941469B (en) | Application splitting creation method and terminal equipment thereof | |
| CN109240575A (en) | A kind of screen control method and electronic equipment | |
| CN111310165B (en) | Account switching or registration method and electronic device | |
| CN109597546B (en) | Icon processing method and terminal device | |
| CN109005297B (en) | A display method and mobile terminal of a navigation application | |
| CN108540642B (en) | Operation method of mobile terminal and mobile terminal | |
| CN110516495A (en) | A code scanning method and mobile terminal |
| 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 | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |