WO2018058776A1 - 应用程序的分身功能启动方法、分身功能启动装置和终端 - Google Patents

应用程序的分身功能启动方法、分身功能启动装置和终端 Download PDF

Info

Publication number
WO2018058776A1
WO2018058776A1 PCT/CN2016/107780 CN2016107780W WO2018058776A1 WO 2018058776 A1 WO2018058776 A1 WO 2018058776A1 CN 2016107780 W CN2016107780 W CN 2016107780W WO 2018058776 A1 WO2018058776 A1 WO 2018058776A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
mobile phone
sim cards
avatar
phone number
Prior art date
Application number
PCT/CN2016/107780
Other languages
English (en)
French (fr)
Inventor
张子敬
Original Assignee
宇龙计算机通信科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 宇龙计算机通信科技(深圳)有限公司 filed Critical 宇龙计算机通信科技(深圳)有限公司
Publication of WO2018058776A1 publication Critical patent/WO2018058776A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues

Definitions

  • the present invention relates to the field of terminal technologies, and in particular, to a method for starting a avatar function of an application, an avatar function starting device for an application, and a terminal.
  • the existing terminal has already provided the avatar function of the application.
  • two or more WeChats are simultaneously installed on one terminal, so as to meet the requirement for the user to log in simultaneously using multiple accounts.
  • the user is required to manually enter the application setting interface, and in the setting interface, select the function of opening the application. After opening the application's avatar function, the application's avatar icon is added to the terminal's desktop, and clicking the avatar icon allows you to log in with another account.
  • the user needs to manually open the application's avatar function, which is very cumbersome to operate and has a poor user experience.
  • the present invention is based on the above problems, and proposes a new technical solution, which can intelligently open the avatar function of the application, thereby improving the user experience.
  • the first aspect of the present invention provides a method for starting a avatar function of an application, comprising: receiving a determination signal, and determining whether the application is associated with multiple SIMs (Subscriber Identity Modules) installed on the terminal. Corresponding mobile phone numbers are associated with each other; if the application is associated with a mobile phone number corresponding to at least two of the plurality of SIM cards, the avatar function of the application is started.
  • SIMs Subscriber Identity Modules
  • the mobile phone numbers corresponding to the at least two SIM cards installed on the terminal are associated with the application, the mobile phone numbers corresponding to the at least two SIM cards are respectively registered as the account and the application is automatically started.
  • the application's avatar function avoids the user's manual access to the settings interface to open the application's avatar function, which is more intelligent and enhances the user's experience.
  • the step of determining whether the application is associated with a mobile phone number corresponding to each of the plurality of SIM cards installed on the terminal specifically: sending, by using, the multiple SIM cards to the application Corresponding mobile phone number to perform a login request; obtaining a response returned by the application for the request, and determining, according to the response, whether the application is associated with a mobile phone number corresponding to each of the plurality of SIM cards.
  • the step of starting the avatar function of the application specifically includes: generating a avatar application for the application; wherein the number of the avatar application is The number of at least two SIM cards is determined.
  • the number of the avatar applications is determined according to the number of SIM cards corresponding to the mobile phone number associated with the application, thereby satisfying the requirement for the user to log in using multiple mobile phone numbers.
  • the method further includes: selecting, in the mobile phone number corresponding to the at least two SIM cards, the mobile phone for login for the application and the avatar application according to a preset rule number.
  • the mobile phone number for login can be automatically selected for the application and the avatar application, thereby avoiding the user manually inputting the mobile phone number to log in, thereby simplifying the operation of the user and further improving the user experience.
  • the determining signal comprises a combination of one or more of the following: a signal triggered when the terminal is powered on, and a trigger when the number of SIM cards inserted in the terminal becomes multiple Signal, the signal that is triggered when the application is launched.
  • the determination signal is triggered in the above case, so that the avatar function of the application is started in time.
  • a second aspect of the present invention provides a avatar function activation device for an application, comprising: a determination unit configured to receive a determination signal, and determine whether the application program is associated with a mobile phone number corresponding to each of the plurality of SIM cards installed on the terminal; And the unit is configured to start the avatar function of the application when the determining unit determines that the mobile phone number corresponding to the application and the at least two SIM cards of the plurality of SIM cards are all associated.
  • the mobile phone numbers corresponding to the at least two SIM cards installed on the terminal are associated with the application, the mobile phone numbers corresponding to the at least two SIM cards are all registered as the account and the application is automatically Launching the avatar function of the application, avoiding the user manually entering the setting interface to open the avatar function of the application, thereby making the user more intelligent and improving the user experience.
  • the determining unit is specifically configured to: a sending subunit, configured to send, to the application, a request for logging in by using a mobile phone number corresponding to each of the plurality of SIM cards; determining a subunit, And configured to obtain a response returned by the application for the request, and determine, according to the response, whether the application is associated with a mobile phone number corresponding to each of the plurality of SIM cards.
  • the activation unit is configured to generate a avatar application for the application; wherein the number of the avatar applications is determined by the number of the at least two SIM cards determine.
  • the number of the avatar applications is determined according to the number of SIM cards corresponding to the mobile phone number associated with the application, thereby satisfying the requirement for the user to log in using multiple mobile phone numbers.
  • the method further includes: an allocating unit, configured to be respectively the mobile phone number corresponding to the at least two SIM cards, respectively, according to a preset rule, the application and the avatar application Select the mobile number to log in.
  • the mobile phone number for login can be automatically selected for the application and the avatar application, thereby avoiding the user manually inputting the mobile phone number to log in, thereby simplifying the operation of the user and further improving the user experience.
  • the determining signal comprises a combination of one or more of the following: a signal triggered when the terminal is powered on, and a trigger when the number of SIM cards inserted in the terminal becomes multiple Signal, the signal that is triggered when the application is launched.
  • a third aspect of the present invention provides a terminal, comprising the avatar function starting device of the application program according to any one of the above aspects, wherein the terminal has the application program according to any one of the above technical solutions.
  • the same technical effects of the split function starting device will not be described here.
  • the avatar function of the application can be intelligently opened, thereby improving the user experience.
  • FIG. 1 is a flow chart showing a method for starting a avatar function of an application according to an embodiment of the present invention
  • FIG. 2 is a flow chart showing a method for starting a avatar function of an application according to another embodiment of the present invention.
  • FIG. 3 is a block diagram showing the structure of a avatar function starting device of an application according to an embodiment of the present invention
  • FIG. 4 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 5 is a block diagram showing the structure of a terminal according to another embodiment of the present invention.
  • FIG. 1 is a flow chart showing a method for starting a avatar function of an application according to an embodiment of the present invention.
  • a method for starting a avatar function of an application includes:
  • Step 102 Receive a determination signal, and determine whether the application program is associated with a mobile phone number corresponding to each of the plurality of SIM cards installed on the terminal.
  • Step 104 If the application is associated with a mobile phone number corresponding to at least two SIM cards of the plurality of SIM cards, the avatar function of the application is started.
  • the mobile phone numbers corresponding to the at least two SIM cards installed on the terminal are associated with the application, the mobile phone numbers corresponding to the at least two SIM cards are all registered as the account and the application is automatically Launching the avatar function of the application, avoiding the user manually entering the setting interface to open the avatar function of the application, thereby making the user more intelligent and improving the user experience.
  • the step of determining whether the application is associated with a mobile phone number corresponding to each of the plurality of SIM cards installed on the terminal specifically: sending, by using, the multiple SIM cards to the application Corresponding mobile phone number to perform a login request; obtaining a response returned by the application for the request, and determining, according to the response, whether the application is associated with a mobile phone number corresponding to each of the plurality of SIM cards.
  • the step of starting the avatar function of the application specifically includes: generating a avatar application for the application; wherein the number of the avatar application is The number of at least two SIM cards is determined.
  • the number of the avatar applications is determined according to the number of SIM cards corresponding to the mobile phone number associated with the application, thereby satisfying the requirement for the user to log in using multiple mobile phone numbers.
  • the method further includes: selecting, in the mobile phone number corresponding to the at least two SIM cards, the mobile phone for login for the application and the avatar application according to a preset rule number.
  • the WeChat avatar function is enabled, and the terminal desktop is displayed.
  • the WeChat icon and the WeChat icon are displayed on it.
  • the mobile phone number num1 with the highest user frequency can be assigned to WeChat, and the mobile phone number num2 with the lowest user frequency can be assigned to the WeChat.
  • num1 is directly displayed on the WeChat login interface
  • num2 is directly displayed on the login interface of the WeChat. This prevents the user from manually entering the mobile phone number on the login interface to log in.
  • the determining signal comprises a combination of one or more of the following: a signal triggered when the terminal is powered on, and a trigger when the number of SIM cards inserted in the terminal becomes multiple Signal, the signal that is triggered when the application is launched.
  • the determination signal is triggered in the above case, so that the avatar function of the application is started in time.
  • FIG. 2 is a flow chart showing a method for starting a avatar function of an application according to another embodiment of the present invention.
  • a method for initiating a avatar function of an application includes:
  • Step 202 Detect the SIM card insertion status.
  • Step 204 Determine whether the number of online SIM cards is greater than 1. If the number of online SIM cards is greater than 1, step 206 is performed. If the number of online SIM cards is less than or equal to 1, the process ends.
  • Step 206 Determine whether the user opens and logs in an application. If it is determined that the user opens and logs in to the application, step 208 is performed; otherwise, the process ends.
  • Step 208 Detect whether the mobile phone number corresponding to the other SIM card is associated with the application.
  • Step 210 According to the detection result in step 208, determine whether there is a mobile phone number corresponding to another SIM card associated with the application. If it is determined that the mobile phone number corresponding to the other SIM card is associated with the application, step 212 is performed, and if no other is determined The mobile phone number corresponding to the SIM card is associated with the application, and the process ends.
  • step 212 the application is separated, and the number of avatars is determined by the number of SIM cards associated with the application.
  • FIG. 3 is a block diagram showing the structure of a avatar function starting device of an application according to an embodiment of the present invention.
  • the avatar function starting device 300 of the application includes: a determining unit 302 and a starting unit 304.
  • the determining unit 302 is configured to receive a determination signal, and determine whether the application program is associated with a mobile phone number corresponding to each of the plurality of SIM cards installed on the terminal; the initiating unit 304 is configured to determine, in the determining unit 302, the application and the When the mobile phone numbers corresponding to at least two SIM cards of the plurality of SIM cards are all associated, the avatar function of the application is started.
  • the mobile phone numbers corresponding to the multiple SIM cards installed on the terminal are associated with the application, the mobile phone numbers corresponding to the multiple SIM cards are all registered as the account, and the application is automatically started.
  • the avatar function of the program prevents the user from manually entering the setting interface to open the avatar function of the application, thereby making the user more intelligent and improving the user experience.
  • the determination unit 302 determines that the mobile phone number corresponding to each of the plurality of SIM cards is not associated with the application, the avatar function of the application is kept in a non-activated state.
  • the determining unit 302 is specifically configured to: the sending subunit 3022, configured to send, to the application, a request for logging in by using a mobile phone number corresponding to each of the plurality of SIM cards;
  • the unit 3024 is configured to obtain a response returned by the application for the request, and determine, according to the response, whether the application is associated with a mobile phone number corresponding to each of the multiple SIM cards.
  • the activation unit 304 is specifically configured to generate a avatar application for the application, where the number of the avatar applications is determined by the at least two SIM cards. The number is determined.
  • the number of the avatar applications is determined according to the number of SIM cards corresponding to the mobile phone number associated with the application, thereby satisfying the requirement for the user to log in using multiple mobile phone numbers.
  • the method further includes: an allocating unit 306, configured to: respectively, in the mobile phone numbers corresponding to the at least two SIM cards, respectively, the application and the avatar application according to a preset rule The program selects the mobile number for login.
  • the mobile phone number for login can be automatically selected for the application and the avatar application, thereby avoiding the user manually inputting the mobile phone number to log in, thereby simplifying the operation of the user and further improving the user experience.
  • the WeChat avatar function is enabled, and the terminal desktop is displayed.
  • the WeChat icon and the WeChat icon are displayed on it.
  • the mobile phone number num1 with the highest user frequency can be assigned to WeChat, and the mobile phone number num2 with the lowest user frequency can be assigned to the WeChat.
  • num1 is directly displayed on the WeChat login interface
  • num2 is directly displayed on the login interface of the WeChat. This prevents the user from manually entering the mobile phone number on the login interface to log in.
  • the determining signal comprises a combination of one or more of the following: a signal triggered when the terminal is powered on, and a trigger when the number of SIM cards inserted in the terminal becomes multiple Signal, the signal that is triggered when the application is launched.
  • the determination signal is triggered in the above case, so that the avatar function of the application is started in time.
  • FIG. 4 shows a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • the terminal 400 includes the avatar function activation device 300 of the application program according to any one of the above aspects, and therefore, the terminal 400 has any of the above technical solutions.
  • the same technical effects of the avatar function activation device 300 of the application described in the above are not described herein.
  • FIG. 5 is a block diagram showing the structure of a terminal according to another embodiment of the present invention.
  • a terminal 500 in accordance with another embodiment of the present invention, includes a processor 502, a memory 504, and a communication bus 506.
  • Communication bus 506 is used to implement connection communication between processor 502 and memory 504.
  • the processor 502 includes a CPU (Central Processing Unit).
  • the memory 504 may be a high speed RAM (Random Access Memory) or a non-volatile memory such as at least one disk memory.
  • the processor 502 is configured to: send, to the application, a request for logging in by using a mobile phone number corresponding to each of the multiple SIM cards; and obtain a response returned by the application for the request, according to the Responding to determining whether the application is associated with a mobile phone number corresponding to each of the plurality of SIM cards.
  • the processor 502 is specifically configured to generate a avatar application for the application; wherein the number of the avatar applications is determined by the number of the at least two SIM cards.
  • the processor 502 is further configured to: select, in the mobile phone number corresponding to the at least two SIM cards, a mobile phone number for login for the application and the avatar application according to a preset rule.
  • the determination signal includes a combination of one or more of the following: a signal triggered when the terminal 500 is powered on, a signal triggered when the number of SIM cards inserted in the terminal 500 becomes a plurality, and the activation is started.
  • the technical solution of the present invention is described in detail above with reference to the accompanying drawings.
  • the technical solution of the present invention can intelligently open the avatar function of the application, thereby improving the user experience.
  • the terms “first” and “second” are used for the purpose of description only, and are not to be construed as indicating or implying relative importance; the term “plurality” means two or more.
  • the specific meanings of the above terms in the present invention can be understood on a case-by-case basis.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Stored Programmes (AREA)

Abstract

一种应用程序的分身功能启动方法、分身功能启动装置和终端,其中,所述应用程序的分身功能启动方法包括:接收判断信号,判断应用程序是否与终端上安装的多个SIM卡分别对应的手机号码关联(102);若所述应用程序与所述多个SIM卡中的至少两个SIM卡分别对应的手机号码均关联,则启动所述应用程序的分身功能(104)。通过本方案,可以智能地开启应用程序的分身功能,从而提升用户的体验。

Description

应用程序的分身功能启动方法、分身功能启动装置和终端
本申请要求于2016年9月29日提交中国专利局,申请号为201610872263.0、发明名称为“应用程序的分身功能启动方法、分身功能启动装置和终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及终端技术领域,具体而言,涉及一种应用程序的分身功能启动方法、一种应用程序的分身功能启动装置和一种终端。
背景技术
现有终端已经提供了应用程序的分身功能,例如,在一台终端上同时安装有两个或两个以上的微信,以满足用户使用多个账号同时登录的需求。在现有技术中,需要用户手动操作进入到应用设置界面,在该设置界面中选择开启应用程序的分身功能。在开启应用程序的分身功能之后,在终端桌面上增加了该应用程序的分身图标,点击分身图标就能使用另一个账号进行登录。但是,需要用户手动开启应用程序的分身功能,操作起来非常繁琐,用户体验差。
因此,如何智能地开启应用程序的分身功能,从而提升用户的体验成为亟待解决的技术问题。
发明内容
本发明正是基于上述问题,提出了一种新的技术方案,可以智能地开启应用程序的分身功能,从而提升用户的体验。
有鉴于此,本发明的第一方面提出了一种应用程序的分身功能启动方法,包括:接收判断信号,判断应用程序是否与终端上安装的多个SIM(Subscriber Identity Module,用户身份识别卡)卡分别对应的手机号码关联;若所述应用程序与所述多个SIM卡中的至少两个SIM卡分别对应的手机号码均关联,则启动所述应用程序的分身功能。
在该技术方案中,若终端上安装的至少两个SIM卡分别对应的手机号码与应用程序均关联,说明至少两个SIM卡分别对应的手机号码均作为账号登录过该应用程序,则自动启动该应用程序的分身功能,避免了用户手动进入设置界面开启应用程序的分身功能,从而更加智能化,提升用户的使用体验。
在上述技术方案中,优选地,所述判断应用程序是否与终端上安装的多个SIM卡分别对应的手机号码关联的步骤,具体包括:向所述应用程序发送使用所述多个SIM卡分别对应的手机号码进行登录的请求;获取所述应用程序针对所述请求返回的响应,并根据所述响应判断所述应用程序是否与所述多个SIM卡分别对应的手机号码关联。
在该技术方案中,当向应用程序发送使用手机号码作为账号进行登录的请求时,若应用程序针对该请求返回的响应为未注册、非法用户、未知用户、未找到、未关联,则可确定该手机号码与应用程序未关联;若应用程序针对该请求返回的响应为账号信息、密码错误、已登录、已关联,则可确定该手机号码与应用程序已关联。因此,通过以上方案,可以准确地确定手机号码是否与应用程序关联。
在上述任一技术方案中,优选地,所述启动所述应用程序的分身功能的步骤,具体包括:为所述应用程序生成分身应用程序;其中,所述分身应用程序的个数由所述至少两个SIM卡的个数确定。
在该技术方案中,根据与应用程序关联的手机号码对应的SIM卡的个数,确定分身应用程序的个数,从而满足用户使用多个手机号码进行登录的需求。
在上述任一技术方案中,优选地,还包括:在所述至少两个SIM卡分别对应的手机号码中,根据预设规则分别为所述应用程序和所述分身应用程序选择登录用的手机号码。
在该技术方案中,可以自动为应用程序和分身应用程序选择登录用的手机号码,避免了用户手动输入手机号码进行登录,从而简化了用户的操作,进一步地提升了用户体验。
在上述任一技术方案中,优选地,所述判断信号包括以下之一或多种的组合:所述终端开机时触发的信号、所述终端中插入的SIM卡的数量变为多个时触发的信号、启动所述应用程序时触发的信号。
在该技术方案中,在以上情况下触发判断信号,从而及时地启动应用程序的分身功能。
本发明的第二方面提出了一种应用程序的分身功能启动装置,包括:判断单元,设置为接收判断信号,判断应用程序是否与终端上安装的多个SIM卡分别对应的手机号码关联;启动单元,设置为在所述判断单元判定所述应用程序与所述多个SIM卡中的至少两个SIM卡分别对应的手机号码均关联的情况下,启动所述应用程序的分身功能。
在该技术方案中,若终端上安装的至少两个SIM卡分别对应的手机号码与应用程序均关联,说明该至少两个SIM卡分别对应的手机号码均作为账号登录过该应用程序,则自动启动该应用程序的分身功能,避免了用户手动进入设置界面开启应用程序的分身功能,从而更加智能化,提升用户的使用体验。
在上述技术方案中,优选地,所述判断单元具体设置为,发送子单元,设置为向所述应用程序发送使用所述多个SIM卡分别对应的手机号码进行登录的请求;判断子单元,设置为获取所述应用程序针对所述请求返回的响应,并根据所述响应判断所述应用程序是否与所述多个SIM卡分别对应的手机号码关联。
在该技术方案中,当向应用程序发送使用手机号码作为账号进行登录的请求时,若应用程序针对该请求返回的响应为未注册、非法用户、未知用户、未找到、未关联,则可确定该手机号码与应用程序未关联;若应用程序针对该请求返回的响应为账号信息、密码错误、已登录、已关联,则可确定该手机号码与应用程序已关联。因此,通过以上方案,可以准确地确定手机号码是否与应用程序关联。
在上述任一技术方案中,优选地,所述启动单元具体设置为,为所述应用程序生成分身应用程序;其中,所述分身应用程序的个数由所述至少两个SIM卡的个数确定。
在该技术方案中,根据与应用程序关联的手机号码对应的SIM卡的个数,确定分身应用程序的个数,从而满足用户使用多个手机号码进行登录的需求。
在上述任一技术方案中,优选地,还包括:分配单元,设置为在所述至少两个SIM卡分别对应的手机号码中,根据预设规则分别为所述应用程序和所述分身应用程序选择登录用的手机号码。
在该技术方案中,可以自动为应用程序和分身应用程序选择登录用的手机号码,避免了用户手动输入手机号码进行登录,从而简化了用户的操作,进一步地提升了用户体验。
在上述任一技术方案中,优选地,所述判断信号包括以下之一或多种的组合:所述终端开机时触发的信号、所述终端中插入的SIM卡的数量变为多个时触发的信号、启动所述应用程序时触发的信号。
在该技术方案中,在以上情况下触发判断信号,从而及时地启动应用程序的分身功能。
本发明的第三方面提出了一种终端,包括上述技术方案中任一项所述的应用程序的分身功能启动装置,因此,该终端具有和上述技术方案中任一项所述的应用程序的分身功能启动装置相同的技术效果,在此不再赘述。
通过本发明的技术方案,可以智能地开启应用程序的分身功能,从而提升用户的体验。
附图说明
图1示出了根据本发明的一个实施例的应用程序的分身功能启动方法的流程示意图;
图2示出了根据本发明的另一个实施例的应用程序的分身功能启动方法的流程示意图;
图3示出了根据本发明的一个实施例的应用程序的分身功能启动装置的结构示意图;
图4示出了根据本发明的一个实施例的终端的结构示意图;
图5示出了根据本发明的另一个实施例的终端的结构示意图。
具体实施方式
为了可以更清楚地理解本发明的上述目的、特征和优点,下面结合附图和具体实施方式对本发明进行进一步的详细描述。需要说明的是,在不冲突的情况下,本申请的实施例及实施例中的特征可以相互组合。
在下面的描述中阐述了很多具体细节以便于充分理解本发明,但是,本发明还可以采用其他不同于在此描述的其他方式来实施,因此,本发明的保护范围并不受下面公开的具体实施例的限制。
图1示出了根据本发明的一个实施例的应用程序的分身功能启动方法的流程示意图。
如图1所示,根据本发明的一个实施例的应用程序的分身功能启动方法,包括:
步骤102,接收判断信号,判断应用程序是否与终端上安装的多个SIM卡分别对应的手机号码关联。
步骤104,若所述应用程序与所述多个SIM卡中的至少两个SIM卡分别对应的手机号码均关联,则启动所述应用程序的分身功能。
在该技术方案中,若终端上安装的至少两个SIM卡分别对应的手机号码与应用程序均关联,说明该至少两个SIM卡分别对应的手机号码均作为账号登录过该应用程序,则自动启动该应用程序的分身功能,避免了用户手动进入设置界面开启应用程序的分身功能,从而更加智能化,提升用户的使用体验。
例如,终端上安装有三个SIM卡,这三个SIM卡分别对应的手机号码为num1、num2和num3,若判断到其中的num1和num2均与微信关联,则启动微信的分身功能。
在上述技术方案中,优选地,所述判断应用程序是否与终端上安装的多个SIM卡分别对应的手机号码关联的步骤,具体包括:向所述应用程序发送使用所述多个SIM卡分别对应的手机号码进行登录的请求;获取所述应用程序针对所述请求返回的响应,并根据所述响应判断所述应用程序是否与所述多个SIM卡分别对应的手机号码关联。
在该技术方案中,当向应用程序发送使用手机号码作为账号进行登录的请求时,若应用程序针对该请求返回的响应为未注册、非法用户、未知用户、未找到、未关联,则可确定该手机号码与应用程序未关联;若应用程序针对该请求返回的响应为账号信息、密码错误、已登录、已关联,则可确定该手机号码与应用程序已关联。因此,通过以上方案,可以准确地确定手机号码是否与应用程序关联。
在上述任一技术方案中,优选地,所述启动所述应用程序的分身功能的步骤,具体包括:为所述应用程序生成分身应用程序;其中,所述分身应用程序的个数由所述至少两个SIM卡的个数确定。
在该技术方案中,根据与应用程序关联的手机号码对应的SIM卡的个数,确定分身应用程序的个数,从而满足用户使用多个手机号码进行登录的需求。
例如,终端上安装有三个SIM卡,这三个SIM卡分别对应的手机号码为num1、num2和num3,若判断到其中的num1和num2均与微信关联,由于终端上已经安装有一个微信,则只需要生成一个分身微信,从而满足两个SIM卡分别对应的手机号码进行登录的需求。
在上述任一技术方案中,优选地,还包括:在所述至少两个SIM卡分别对应的手机号码中,根据预设规则分别为所述应用程序和所述分身应用程序选择登录用的手机号码。
在该技术方案中,可以自动为应用程序和分身应用程序选择登录用的手机号码,避免了用户手动输入手机号码进行登录,从而简化了用户的操作,进一步地提升了用户体验。
例如,终端上安装有三个SIM卡,这三个SIM卡分别对应的手机号码为num1、num2和num3,若判断到其中的num1和num2均与微信关联,则开启微信的分身功能,在终端桌面上显示有微信的图标和分身微信的图标。可以将用户使用频率最高的手机号码num1分配给微信,将用户使用频率最低的手机号码num2分配给分身微信。或者将当前登录微信的手机号码num1分配给微信,将另一手机号码num2分配给分身微信。这样,当用户触发微信的图标之后,直接在微信的登录界面上显示num1,当用户触发分身微信的图标之后,直接在分身微信的登录界面上显示num2。从而避免了用户手动在登录界面上输入手机号码进行登录。
在上述任一技术方案中,优选地,所述判断信号包括以下之一或多种的组合:所述终端开机时触发的信号、所述终端中插入的SIM卡的数量变为多个时触发的信号、启动所述应用程序时触发的信号。
在该技术方案中,在以上情况下触发判断信号,从而及时地启动应用程序的分身功能。
图2示出了根据本发明的另一个实施例的应用程序的分身功能启动方法的流程示意图。
如图2所示,根据本发明的另一个实施例的应用程序的分身功能启动方法,包括:
步骤202,检测SIM卡插卡状态。
步骤204,判断在线SIM卡个数是否大于1,若在线SIM卡个数大于1,则执行步骤206,若在线SIM卡个数小于或等于1,则结束本次流程。
步骤206,判断用户是否开启并登录某应用程序,若判定用户开启并登录应用程序,则执行步骤208,否则结束本次流程。
步骤208,检测其他SIM卡对应的手机号码是否已关联该应用程序。
步骤210,根据步骤208中的检测结果,判断是否有其他SIM卡对应的手机号码关联该应用程序,若判定有其他SIM卡对应的手机号码关联该应用程序,则执行步骤212,若判定没有其他SIM卡对应的手机号码关联该应用程序,则结束本次流程。
步骤212,将该应用程序分身,分身个数由关联该应用程序的SIM卡个数决定。
图3示出了根据本发明的一个实施例的应用程序的分身功能启动装置的结构示意图。
如图3所示,根据本发明的一个实施例的应用程序的分身功能启动装置300,包括:判断单元302和启动单元304。
判断单元302,设置为接收判断信号,判断应用程序是否与终端上安装的多个SIM卡分别对应的手机号码关联;启动单元304,设置为在所述判断单元302判定所述应用程序与所述多个SIM卡中的至少两个SIM卡分别对应的手机号码均关联的情况下,启动所述应用程序的分身功能。
在该技术方案中,若终端上安装的多个SIM卡分别对应的手机号码与应用程序均关联,说明多个SIM卡分别对应的手机号码均作为账号登录过该应用程序,则自动启动该应用程序的分身功能,避免了用户手动进入设置界面开启应用程序的分身功能,从而更加智能化,提升用户的使用体验。在判断单元302判定应用程序与多个SIM卡分别对应的手机号码不关联的情况下,保持应用程序的分身功能处于不启动的状态。
例如,终端上安装有三个SIM卡,这三个SIM卡分别对应的手机号码为num1、num2和num3,若判断到其中的num1和num2均与微信关联,则启动微信的分身功能。
在上述技术方案中,优选地,所述判断单元302具体设置为,发送子单元3022,设置为向所述应用程序发送使用所述多个SIM卡分别对应的手机号码进行登录的请求;判断子单元3024,设置为获取所述应用程序针对所述请求返回的响应,并根据所述响应判断所述应用程序是否与所述多个SIM卡分别对应的手机号码关联。
在该技术方案中,当向应用程序发送使用手机号码作为账号进行登录的请求时,若应用程序针对该请求返回的响应为未注册、非法用户、未知用户、未找到、未关联,则可确定该手机号码与应用程序未关联;若应用程序针对该请求返回的响应为账号信息、密码错误、已登录、已关联,则可确定该手机号码与应用程序已关联。因此,通过以上方案,可以准确地确定手机号码是否与应用程序关联。
在上述任一技术方案中,优选地,所述启动单元304具体设置为,为所述应用程序生成分身应用程序;其中,所述分身应用程序的个数由所述至少两个SIM卡的个数确定。
在该技术方案中,根据与应用程序关联的手机号码对应的SIM卡的个数,确定分身应用程序的个数,从而满足用户使用多个手机号码进行登录的需求。
例如,终端上安装有三个SIM卡,这三个SIM卡分别对应的手机号码为num1、num2和num3,若判断到其中的num1和num2均与微信关联,由于终端上已经安装有一个微信,则只需要生成一个分身微信,从而满足两个SIM卡分别对应的手机号码进行登录的需求。
在上述任一技术方案中,优选地,还包括:分配单元306,设置为在所述至少两个SIM卡分别对应的手机号码中,根据预设规则分别为所述应用程序和所述分身应用程序选择登录用的手机号码。
在该技术方案中,可以自动为应用程序和分身应用程序选择登录用的手机号码,避免了用户手动输入手机号码进行登录,从而简化了用户的操作,进一步地提升了用户体验。
例如,终端上安装有三个SIM卡,这三个SIM卡分别对应的手机号码为num1、num2和num3,若判断到其中的num1和num2均与微信关联,则开启微信的分身功能,在终端桌面上显示有微信的图标和分身微信的图标。可以将用户使用频率最高的手机号码num1分配给微信,将用户使用频率最低的手机号码num2分配给分身微信。或者将当前登录微信的手机号码num1分配给微信,将另一手机号码num2分配给分身微信。这样,当用户触发微信的图标之后,直接在微信的登录界面上显示num1,当用户触发分身微信的图标之后,直接在分身微信的登录界面上显示num2。从而避免了用户手动在登录界面上输入手机号码进行登录。
在上述任一技术方案中,优选地,所述判断信号包括以下之一或多种的组合:所述终端开机时触发的信号、所述终端中插入的SIM卡的数量变为多个时触发的信号、启动所述应用程序时触发的信号。
在该技术方案中,在以上情况下触发判断信号,从而及时地启动应用程序的分身功能。
图4示出了根据本发明的一个实施例的终端的结构示意图。
如图4所示,根据本发明的一个实施例的终端400,包括上述技术方案中任一项所述的应用程序的分身功能启动装置300,因此,该终端400具有和上述技术方案中任一项所述的应用程序的分身功能启动装置300相同的技术效果,在此不再赘述。
图5示出了根据本发明的另一个实施例的终端的结构示意图。
如图5所示,根据本发明的另一个实施例的终端500,包括处理器502、存储器504和通信总线506。通信总线506用于实现处理器502和存储器504之间的连接通信。处理器502包括CPU(Central Processing Unit,中央处理器)。存储器504可以是高速RAM(Random Access Memory,随机存储器),也可以是非易失性存储器(non-volatile memory),例如至少一个磁盘存储器。其中,通过调用存储器504中存储的指令,来使处理器502执行如下步骤:接收判断信号,判断应用程序是否与终端500上安装的多个SIM卡分别对应的手机号码关联;若所述应用程序与所述多个SIM卡中的至少两个SIM卡分别对应的手机号码均关联,则启动所述应用程序的分身功能。
优选地,处理器502具体用于,向所述应用程序发送使用所述多个SIM卡分别对应的手机号码进行登录的请求;获取所述应用程序针对所述请求返回的响应,并根据所述响应判断所述应用程序是否与所述多个SIM卡分别对应的手机号码关联。
优选地,处理器502具体用于,为所述应用程序生成分身应用程序;其中,所述分身应用程序的个数由所述至少两个SIM卡的个数确定。
优选地,处理器502还用于,在所述至少两个SIM卡分别对应的手机号码中,根据预设规则分别为所述应用程序和所述分身应用程序选择登录用的手机号码。
优选地,所述判断信号包括以下之一或多种的组合:所述终端500开机时触发的信号、所述终端500中插入的SIM卡的数量变为多个时触发的信号、启动所述应用程序时触发的信号。
以上结合附图详细说明了本发明的技术方案,通过本发明的技术方案,可以智能地开启应用程序的分身功能,从而提升用户的体验。
在本发明中,术语“第一”、“第二”仅用于描述的目的,而不能理解为指示或暗示相对重要性;术语“多个”表示两个或两个以上。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本发明中的具体含义。
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。

Claims (11)

  1. 一种应用程序的分身功能启动方法,其特征在于,包括:
    接收判断信号,判断应用程序是否与终端上安装的多个SIM卡分别对应的手机号码关联;
    若所述应用程序与所述多个SIM卡中的至少两个SIM卡分别对应的手机号码均关联,则启动所述应用程序的分身功能。
  2. 根据权利要求1所述的应用程序的分身功能启动方法,其特征在于,所述判断应用程序是否与终端上安装的多个SIM卡分别对应的手机号码关联的步骤,具体包括:
    向所述应用程序发送使用所述多个SIM卡分别对应的手机号码进行登录的请求;
    获取所述应用程序针对所述请求返回的响应,并根据所述响应判断所述应用程序是否与所述多个SIM卡分别对应的手机号码关联。
  3. 根据权利要求1所述的应用程序的分身功能启动方法,其特征在于,所述启动所述应用程序的分身功能的步骤,具体包括:
    为所述应用程序生成分身应用程序;
    其中,所述分身应用程序的个数由所述至少两个SIM卡的个数确定。
  4. 根据权利要求3所述的应用程序的分身功能启动方法,其特征在于,还包括:
    在所述至少两个SIM卡分别对应的手机号码中,根据预设规则分别为所述应用程序和所述分身应用程序选择登录用的手机号码。
  5. 根据权利要求1至4中任一项所述的应用程序的分身功能启动方法,其特征在于,所述判断信号包括以下之一或多种的组合:所述终端开机时触发的信号、所述终端中插入的SIM卡的数量变为多个时触发的信号、启动所述应用程序时触发的信号。
  6. 一种应用程序的分身功能启动装置,其特征在于,包括:
    判断单元,设置为接收判断信号,判断应用程序是否与终端上安装的多个SIM卡分别对应的手机号码关联;
    启动单元,设置为在所述判断单元判定所述应用程序与所述多个SIM卡中的至少两个SIM卡分别对应的手机号码均关联的情况下,启动所述应用程序的分身功能。
  7. 根据权利要求6所述的应用程序的分身功能启动装置,其特征在于,所述判断单元包括:
    发送子单元,设置为向所述应用程序发送使用所述多个SIM卡分别对应的手机号码进行登录的请求;
    判断子单元,设置为获取所述应用程序针对所述请求返回的响应,并根据所述响应判断所述应用程序是否与所述多个SIM卡分别对应的手机号码关联。
  8. 根据权利要求6所述的应用程序的分身功能启动装置,其特征在于,所述启动单元具体设置为,
    为所述应用程序生成分身应用程序;
    其中,所述分身应用程序的个数由所述至少两个SIM卡的个数确定。
  9. 根据权利要求8所述的应用程序的分身功能启动装置,其特征在于,还包括:
    分配单元,设置为在所述至少两个SIM卡分别对应的手机号码中,根据预设规则分别为所述应用程序和所述分身应用程序选择登录用的手机号码。
  10. 根据权利要求6至9中任一项所述的应用程序的分身功能启动装置,其特征在于,所述判断信号包括以下之一或多种的组合:所述终端开机时触发的信号、所述终端中插入的SIM卡的数量变为多个时触发的信号、启动所述应用程序时触发的信号。
  11. 一种终端,其特征在于,包括:如权利要求6至9中任一项所述的应用程序的分身功能启动装置。
PCT/CN2016/107780 2016-09-29 2016-11-29 应用程序的分身功能启动方法、分身功能启动装置和终端 WO2018058776A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610872263.0A CN106657582B (zh) 2016-09-29 2016-09-29 应用程序的分身功能启动方法、分身功能启动装置和终端
CN201610872263.0 2016-09-29

Publications (1)

Publication Number Publication Date
WO2018058776A1 true WO2018058776A1 (zh) 2018-04-05

Family

ID=58854831

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/107780 WO2018058776A1 (zh) 2016-09-29 2016-11-29 应用程序的分身功能启动方法、分身功能启动装置和终端

Country Status (2)

Country Link
CN (1) CN106657582B (zh)
WO (1) WO2018058776A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111602108A (zh) * 2018-07-31 2020-08-28 华为技术有限公司 一种应用图标的显示方法及终端

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107172287B (zh) * 2017-05-26 2021-01-15 维沃移动通信有限公司 一种多卡通信方法及移动终端
CN107168751A (zh) * 2017-06-19 2017-09-15 深圳天珑无线科技有限公司 应用处理方法和应用处理装置
CN107315625B (zh) * 2017-06-23 2020-11-06 北京小米移动软件有限公司 Sim卡信息的读取方法、装置及计算机可读存储介质
CN107222853A (zh) * 2017-06-29 2017-09-29 努比亚技术有限公司 一种应用管理方法、设备及计算机可读存储介质
CN107451462B (zh) * 2017-07-28 2020-02-18 Oppo广东移动通信有限公司 应用分身操作方法及相关产品

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103595867A (zh) * 2013-11-14 2014-02-19 北京奇虎科技有限公司 基于多卡识别的应用程序实现方法及装置
CN104199734A (zh) * 2014-09-12 2014-12-10 上海斐讯数据通信技术有限公司 一种基于安卓智能终端的应用程序多开管理方法和系统
CN105553984A (zh) * 2015-12-18 2016-05-04 北京金山安全软件有限公司 用户帐号登录管理方法、装置及电子设备

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102006008248A1 (de) * 2006-02-22 2007-08-23 Giesecke & Devrient Gmbh Betriebssystem für eine Chipkarte mit einem Multi-Tasking Kernel
CN105224322B (zh) * 2015-09-25 2018-10-16 维沃移动通信有限公司 一种应用程序的分身方法及终端
CN105589747B (zh) * 2016-02-25 2018-10-23 深圳市创想天空科技股份有限公司 应用程序多开的控制方法及系统
CN106385507B (zh) * 2016-09-22 2021-08-17 宇龙计算机通信科技(深圳)有限公司 社交应用程序的提示方法、提示装置和终端

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103595867A (zh) * 2013-11-14 2014-02-19 北京奇虎科技有限公司 基于多卡识别的应用程序实现方法及装置
CN104199734A (zh) * 2014-09-12 2014-12-10 上海斐讯数据通信技术有限公司 一种基于安卓智能终端的应用程序多开管理方法和系统
CN105553984A (zh) * 2015-12-18 2016-05-04 北京金山安全软件有限公司 用户帐号登录管理方法、装置及电子设备

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111602108A (zh) * 2018-07-31 2020-08-28 华为技术有限公司 一种应用图标的显示方法及终端
US11775135B2 (en) 2018-07-31 2023-10-03 Huawei Technologies Co., Ltd. Application icon displaying method and terminal

Also Published As

Publication number Publication date
CN106657582B (zh) 2021-01-15
CN106657582A (zh) 2017-05-10

Similar Documents

Publication Publication Date Title
WO2018058776A1 (zh) 应用程序的分身功能启动方法、分身功能启动装置和终端
WO2012115385A2 (en) Apparatus and method for providing universal plug and play service based on wi-fi direct connection in portable terminal
WO2020085814A1 (ko) 비접촉 방식의 사용자 인증 방법
WO2015133859A1 (en) Method and system for establishing a connection between a seeker device and a target device
EP2721805A2 (en) Apparatus and method for exchanging data between upnp based devices
WO2015127722A1 (zh) 一种基于云平台同步联系人的方法及系统
GB2504828A (en) Intelligent telecommunications patching system with modules that monitor connectivity of ports and devices and a display that displays a connectivity circuit
WO2017206506A1 (zh) 一种nfc移动支付终端的安全模块管理方法及终端
WO2016029659A1 (zh) 同步智能设备音乐播放器功能的方法、系统及蓝牙耳机
WO2012050289A1 (ko) 원격 전원 관리 시스템 및 방법
WO2012050385A2 (en) Method and apparatus for accessing device based on intuitive selection
WO2019039811A1 (ko) 블록체인 기반 원 아이디 서비스 시스템 및 방법
WO2020197275A1 (en) Method for installing subscriber profile and electronic device therefor
WO2014175603A1 (ko) 음악 컨텐츠 이용 서비스 제공 방법 및 서버
WO2017028685A1 (zh) 即时通信的方法、服务器和存储介质
WO2011071265A2 (en) Method and apparatus for using service of plurality of internet service providers
WO2013039301A1 (en) Integrated operation method for social network service function and system supporting the same
WO2012163216A1 (zh) 一种针对java程序的移动终端输入控制方法和装置
EP3574615A1 (en) Electronic apparatus and control method thereof
WO2014089965A1 (zh) 显示dlna设备的方法及移动终端
WO2013109012A1 (en) Apparatus and method of terminal for managing service provided from server
WO2017082633A1 (en) Method and apparatus for maintaining continuity of on-going session over wired or wireless interface
WO2018082177A1 (zh) 一种基于即时通信应用的数据同步方法及装置
EP2865130A1 (en) Method and apparatus for secure communication and determining secret information
CN116032691A (zh) 靶场互联互通方法、电子设备及可读存储介质

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16917521

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16917521

Country of ref document: EP

Kind code of ref document: A1