[go: up one dir, main page]

CN106096387A - Application controls method and system - Google Patents

Application controls method and system Download PDF

Info

Publication number
CN106096387A
CN106096387A CN201610363418.8A CN201610363418A CN106096387A CN 106096387 A CN106096387 A CN 106096387A CN 201610363418 A CN201610363418 A CN 201610363418A CN 106096387 A CN106096387 A CN 106096387A
Authority
CN
China
Prior art keywords
equipment
application
main equipment
slave device
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610363418.8A
Other languages
Chinese (zh)
Other versions
CN106096387B (en
Inventor
杨国富
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610363418.8A priority Critical patent/CN106096387B/en
Publication of CN106096387A publication Critical patent/CN106096387A/en
Application granted granted Critical
Publication of CN106096387B publication Critical patent/CN106096387B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/51Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems at application loading time, e.g. accepting, rejecting, starting or inhibiting executable software based on integrity or source reliability

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种应用控制方法及系统。包括:当第一用户在从设备上启动或安装目标应用时,所述从设备向主设备发送请求信息;主设备根据所述请求信息判断是否允许在所述从设备上启动或安装所述目标应用;所述从设备根据所述主设备的判断结果确定是否启动或安装所述目标应用。本发明实施例中只有通过防沉迷验证时方可在从设备中运行目标应用,使得用户无法通过重复启动或更改预订市场等方式逃脱防沉迷监控,提高防沉迷效率。由于主设备能够根据判断结果自动控制从设备启动或安装目标应用,因此无需家长手动回复,简化用户操作,提高用户体验。

The invention discloses an application control method and system. The method includes: when the first user starts or installs the target application on the slave device, the slave device sends request information to the master device; the master device judges whether to allow the target application to be started or installed on the slave device according to the request information. application: the slave device determines whether to start or install the target application according to the judgment result of the master device. In the embodiment of the present invention, only when the anti-addiction verification is passed, the target application can be run on the slave device, so that the user cannot escape the anti-addiction monitoring by repeatedly starting or changing the subscription market, and improves the anti-addiction efficiency. Since the master device can automatically control the slave device to start or install the target application according to the judgment result, there is no need for the parent to reply manually, which simplifies user operations and improves user experience.

Description

应用控制方法及系统Application control method and system

技术领域technical field

本发明实施例涉及电子设备应用技术,尤其涉及一种应用控制方法及系统。Embodiments of the present invention relate to electronic device application technologies, and in particular to an application control method and system.

背景技术Background technique

随着智能手机的不断发展,智能手机的功能越来越全面。智能手机在为用户提供各种服务的同时也占用了用户的大量时间,尤其对于学生群体,由于学生的自控能力较弱,因此容易沉迷于智能手机的各种游戏和应用中,导致浪费时间耽误学业。With the continuous development of smart phones, the functions of smart phones are becoming more and more comprehensive. Smartphones take up a lot of time while providing users with various services, especially for students, because students have weak self-control ability, so they are easy to indulge in various games and applications on smartphones, resulting in wasted time and delays studies.

现有技术中,通常采用基于时间的防沉迷方式,例如当用户运行某游戏应用的时间超过预定时长(如10分钟)时,智能手机关闭该游戏应用,进而阻止用户继续玩游戏。In the prior art, a time-based anti-addiction method is usually adopted. For example, when the user runs a certain game application for more than a predetermined duration (such as 10 minutes), the smart phone closes the game application, thereby preventing the user from continuing to play the game.

然而,用户可通过重复启动应用或者更改预定时长等方式,延长应用的使用时间,进而逃脱基于时间的防沉迷技术的监控,弱化防沉迷效果,防沉迷效果不佳。However, the user can extend the usage time of the application by repeatedly launching the application or changing the scheduled duration, thereby escaping the monitoring of the time-based anti-addiction technology, weakening the anti-addiction effect, and the anti-addiction effect is not good.

发明内容Contents of the invention

本发明提供一种应用控制方法及系统,通过用户无法逃脱的防沉迷技术提高防沉迷效率。The invention provides an application control method and system, which improves the anti-addiction efficiency through the anti-addiction technology that users cannot escape.

第一方面,本发明实施例提供了一种应用控制方法,包括:In a first aspect, an embodiment of the present invention provides an application control method, including:

当第一用户在从设备上启动或安装目标应用时,所述从设备向主设备发送请求信息;When the first user starts or installs the target application on the slave device, the slave device sends request information to the master device;

主设备根据所述请求信息判断是否允许在所述从设备上启动或安装所述目标应用;The master device judges whether to allow the target application to be started or installed on the slave device according to the request information;

所述从设备根据所述主设备的判断结果确定是否启动或安装所述目标应用。The slave device determines whether to start or install the target application according to the judgment result of the master device.

第二方面,本发明实施例还提供了一种应用控制系统,包括主设备和从设备,In the second aspect, the embodiment of the present invention also provides an application control system, including a master device and a slave device,

所述从设备用于,当第一用户在从设备上启动或安装目标应用时,向主设备发送请求信息;The slave device is configured to send request information to the master device when the first user starts or installs the target application on the slave device;

所述主设备用于,根据所述请求信息判断是否允许在所述从设备上启动或安装所述目标应用;The master device is configured to judge whether to allow the target application to be started or installed on the slave device according to the request information;

所述从设备还用于,根据所述主设备的判断结果确定是否启动或安装所述目标应用。The slave device is further configured to determine whether to start or install the target application according to the determination result of the master device.

本发明实施例能够在从设备启动或安装目标应用时,向主设备发送请求信息,主设备根据请求信息内容判断是否允许从设备启动或安装目标应用,从设备根据主设备的判断结构确定是否启动或安装目标应用。现有技术基于使用时长确定是否停止运行目标应用,用户可通过重复启动应用或者更改预定时长等方式,延长应用的使用时间。本发明实施例中第一用户能否在从设备中启动或安装目标应用取决于主设备的防沉迷判定结果,使得用户若想运行或安装目标应用则必须先通过防沉迷验证,只有通过防沉迷验证时方可在从设备中运行目标应用,使得用户无法通过重复启动或更改预订市场等方式逃脱防沉迷监控,提高防沉迷效率。通过短信的方式能够在没有WIFI或者移动蜂窝网络的情况下进行防沉迷监控,提高防沉迷监控的易用性。此外,由于主设备能够根据判断结果自动控制从设备启动或安装目标应用,因此无需家长手动回复,简化用户操作,提高用户体验。The embodiment of the present invention can send request information to the master device when the slave device starts or installs the target application. The master device judges whether to allow the slave device to start or install the target application according to the content of the request information, and the slave device determines whether to start the target application according to the judgment structure of the master device. Or install the target app. The existing technology determines whether to stop running the target application based on the duration of use, and the user can extend the usage time of the application by repeatedly starting the application or changing the predetermined duration. In the embodiment of the present invention, whether the first user can start or install the target application in the slave device depends on the anti-addiction judgment result of the master device, so that if the user wants to run or install the target application, he must first pass the anti-addiction verification. The target application can only be run on the slave device during verification, so that users cannot escape the anti-addiction monitoring by repeatedly starting or changing the subscription market, and improve the efficiency of anti-addiction. By means of text messages, anti-addiction monitoring can be performed without WIFI or mobile cellular network, and the ease of use of anti-addiction monitoring can be improved. In addition, since the master device can automatically control the slave device to start or install the target application according to the judgment result, there is no need for the parent to reply manually, which simplifies user operations and improves user experience.

附图说明Description of drawings

图1是本发明实施例一中的应用控制方法的流程图;FIG. 1 is a flowchart of an application control method in Embodiment 1 of the present invention;

图2是本发明实施例二中的一个应用控制方法的流程图;FIG. 2 is a flowchart of an application control method in Embodiment 2 of the present invention;

图3是本发明实施例二中的另一个应用控制方法的流程图;FIG. 3 is a flow chart of another application control method in Embodiment 2 of the present invention;

图4是本发明实施例三中的应用控制方法的流程图;FIG. 4 is a flowchart of an application control method in Embodiment 3 of the present invention;

图5是本发明实施例四中的应用控制系统的结构示意图;FIG. 5 is a schematic structural diagram of an application control system in Embodiment 4 of the present invention;

图6是本发明实施例五中的电子设备的结构示意图。FIG. 6 is a schematic structural diagram of an electronic device in Embodiment 5 of the present invention.

具体实施方式detailed description

下面结合附图和实施例对本发明作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本发明,而非对本发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本发明相关的部分而非全部结构。The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, but not to limit the present invention. In addition, it should be noted that, for the convenience of description, only some structures related to the present invention are shown in the drawings but not all structures.

实施例一Embodiment one

图1为本发明实施例一提供的应用控制方法的流程图,本实施例可适用于防沉迷监控的情况,该方法可以由应用控制方法中的主设备和从设备配合执行。Fig. 1 is a flow chart of the application control method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of anti-addiction monitoring, and the method can be executed by the cooperation of the master device and the slave device in the application control method.

本发明可基于下述任意一种系统架构:The present invention can be based on any one of the following system architectures:

1、一个主设备和N个从设备(N大于等于1),从设备中可放置不同的客户识别模块(Subscriber Identity Module,SIM)卡,主设备和从设备之间存在控制关系(又称从属关系),主设备用于控制该N个从设备。1. A master device and N slave devices (N is greater than or equal to 1), different customer identification module (Subscriber Identity Module, SIM) cards can be placed in the slave device, and there is a control relationship between the master device and the slave device (also known as the slave device) relationship), the master device is used to control the N slave devices.

2、一个主SIM卡和M个附属SIM卡(M大于等于1),主SIM卡和附属SIM卡之间存在控制关系(又称从属关系),主SIM卡用于控制该N个附属SIM卡。主SIM卡安装在主设备中,附属SIM卡安装在从设备中。2. One primary SIM card and M secondary SIM cards (M is greater than or equal to 1), there is a control relationship (also known as subordination relationship) between the primary SIM card and secondary SIM cards, and the primary SIM card is used to control the N secondary SIM cards . The primary SIM card is installed in the master device and the secondary SIM card is installed in the slave device.

上述两种系统架构中,从设备和主设备的命名仅是基于两个设备在本发明中所起作用不同而进行的命名,并不代表从设备的功能弱于主设备功能。当控制关系对调后,主设备可作为新的从设备,从设备也可作为新的主设备。In the above two system architectures, the naming of the slave device and the master device is only based on the different functions of the two devices in the present invention, and does not mean that the function of the slave device is weaker than that of the master device. When the control relationship is reversed, the master device can act as a new slave device, and the slave device can also act as a new master device.

上述方法具体包括如下步骤:The above method specifically includes the following steps:

步骤110、当第一用户在从设备上启动或安装目标应用时,从设备向主设备发送请求信息。Step 110, when the first user starts or installs the target application on the slave device, the slave device sends request information to the master device.

可选的,所述请求信息可携带所述目标应用的应用标识和/或预设身份标识。预设身份标识用于表示从设备身份,预设身份标识可以为附属SIM卡标识和/或从设备标识。Optionally, the request information may carry the application identifier and/or preset identity identifier of the target application. The preset identity is used to indicate the identity of the slave device, and the preset identity may be an attached SIM card identifier and/or a slave device identifier.

进一步的,请求信息为请求短信。请求信息的表现形式有多种,具体可以为短信形式、邮件形式、信令形式等。优选为短信形式。为方便描述,本发明实施例以及后续各实施例以短信形式为例进行说明,邮件形式和信令形式可参照短信形式的实现方式进行实施。Further, the request information is a request message. There are various forms of expression of the request information, specifically, a short message form, an email form, a signaling form, and the like. Preferably in the form of SMS. For the convenience of description, the embodiments of the present invention and subsequent embodiments are described by taking the form of a short message as an example, and the form of an email and the form of signaling may be implemented with reference to the implementation manner of the form of a short message.

第一用户为操作从设备的用户。目标应用可以为出系统应用以外的应用(Application,APP),应用又称应用程序。目标应用也可为从设备上可运行的全部应用。系统应用可为手机出场时自带的应用、操作系统涉及的应用。其中,手机出场时自带的应用不包括手机出场时自带的游戏应用。The first user is a user operating the slave device. The target application may be an application (Application, APP) other than the system application, and the application is also called an application program. The target application may also be all applications executable on the slave device. The system application may be an application that comes with the mobile phone when it comes out of the market, or an application related to the operating system. Among them, the applications that come with the mobile phone when it comes out of the field do not include the game application that comes with the mobile phone when it comes out of the field.

从设备中启动目标应用包括从设备中由第一用户通过点击应用图标启动目标应用的事件,也可以为从设备中在进行应用跳转过程中启动的应用。例如,在登录第一应用时需要使用关联平台账户(如微博账户)进行登录,此时会调用关联平台,此时关联平台的应用标识也会发送到主设备。Starting the target application from the device includes an event that the first user clicks on an application icon to start the target application on the device, and may also be an application that is started on the device during application jumping. For example, when logging in to the first application, an associated platform account (such as a Weibo account) needs to be used to log in. At this time, the associated platform will be called, and the application identification of the associated platform will also be sent to the main device.

从设备在生成短信时,将主设备关联的SIM卡,又称主SIM卡对应的电话号码设置为收件人号码。短信内容包括目标应用的应用标识和预设身份标识。目标应用的应用标识可以为应用的名称或应用对应的编号(或编码)。预设身份标识可以为从设备上安装的SIM卡标识,又可称为附属SIM卡标识;预设身份标识也可为从设备标识,如从设备的硬件标识。When the slave device generates a short message, the SIM card associated with the master device, also known as the phone number corresponding to the master SIM card, is set as the recipient number. The content of the short message includes the application identification and the preset identification of the target application. The application identifier of the target application may be the name of the application or the number (or code) corresponding to the application. The preset identity can be the ID of the SIM card installed on the slave device, which can also be called the ID of the auxiliary SIM card; the preset ID can also be the ID of the slave device, such as the hardware ID of the slave device.

当预设身份标识为附属SIM卡标识时,可以当附属SIM卡从一个从设备安装到另一从设备中时,继续对附属SIM卡的启动或安装目标应用的操作进行监控。可以防止同一个附属SIM卡在不同的从设备中触发的运行或安装目标应用,例如,防止例如孩子将自己的SIM卡安装到其他同学的手机中安装或运行游戏。When the preset identity is the identity of the auxiliary SIM card, when the auxiliary SIM card is installed from one slave device to another slave device, the start-up of the auxiliary SIM card or the operation of installing the target application can be continuously monitored. It can prevent the same auxiliary SIM card from running or installing target applications triggered by different slave devices, for example, preventing a child from installing his own SIM card into other classmates' mobile phones to install or run games.

当预设身份标识为从设备标识时,可以当从设备中安装了非附属SIM卡时,对从设备中发生的启动或安装目标应用的操作进行监控。可以防止同一个从设备通过安装非附属SIM卡安装并运行目标应用,例如防止孩子将同学的SIM卡安装到自己的手机后安装或运行游戏。When the preset identity is the slave device identifier, when the non-attached SIM card is installed in the slave device, the operation of starting or installing the target application in the slave device can be monitored. It can prevent the same slave device from installing and running the target application by installing a non-affiliated SIM card, for example, preventing a child from installing or running a game after installing a classmate's SIM card in his own mobile phone.

当预设身份标识为附属SIM卡标识和从设备标识时,家长可通过短信获知孩子在触发安装或运行目标应用事件时,是否使用被人的手机,或者将别人的SIM卡安装到孩子自己的从设备中,更加全面的反应第一用户(孩子)的操作行为,提高防沉迷监控的可靠性。When the preset identity is the subsidiary SIM card identity and the secondary device identity, parents can know through SMS whether the child uses the target app’s mobile phone, or installs someone else’s SIM card to the child’s own From the device, it can more comprehensively reflect the operation behavior of the first user (child), and improve the reliability of anti-addiction monitoring.

步骤120、主设备根据请求信息判断是否允许在从设备上启动或安装目标应用。Step 120, the master device determines whether to allow the target application to be started or installed on the slave device according to the request information.

其中,请求信息携带有预设身份标识和应用标识。主设备在本地根据所述预设身份标识和所述应用标识判断是否允许在所述从设备上启动应用或安装所述目标应用。主设备也可将预设身份标识和应用标识发送到网络侧服务器,由该网络侧服务器完成判断,并将判断结果返回到主设备。Wherein, the request information carries a preset identity identifier and an application identifier. The master device locally determines whether to allow the application to be started or the target application to be installed on the slave device according to the preset identity identifier and the application identifier. The master device may also send the preset identity and application identifier to the network side server, and the network side server completes the judgment and returns the judgment result to the master device.

或者,请求信息内容为空。主设备判断短信的发件人是否为从设备,如果是从设备,则主设备确定允许从设备运行或安装目标应用。此时,可实现家长用户允许孩子用户安装或运行任一目标应用。或则,主设备判断短信的发件人是否为从设备,如果是从设备,则主设备确定拒绝从设备运行或安装目标应用。此时,可实现家长用户拒绝孩子用户安装或运行任一目标应用。Or, the request information content is empty. The master device judges whether the sender of the short message is the slave device, and if it is the slave device, the master device determines whether the slave device is allowed to run or install the target application. At this point, the parent user may allow the child user to install or run any target application. Alternatively, the master device judges whether the sender of the short message is a slave device, and if it is a slave device, the master device determines to reject the slave device from running or installing the target application. In this case, the parent user may refuse the child user to install or run any target application.

主设备可通过下述两种方式向从设备发送判断结果:The master device can send the judgment result to the slave device in the following two ways:

方式一:主设备根据短信携带的预设身份标识和应用标识确定允许从设备安装或运行目标应用后,不发送任何短信。Method 1: The master device does not send any SMS after determining that the slave device is allowed to install or run the target application according to the preset identity and application identifier carried in the SMS.

方式二:如果主设备判定允许在从设备启动或安装目标应用,则主设备向从设备发送允许信息。Method 2: If the master device determines that the target application is allowed to be started or installed on the slave device, the master device sends permission information to the slave device.

允许信息优选为允许短信。主设备在生成短信时,将从设备关联的SIM卡,又称主SIM卡对应的电话号码设置为收件人号码。短信内容包括可以为中文文字,也可为英文字母。例如:中文文字为:可以打开应用程序,英文字母为:kydkyy。The permission information is preferably to allow short messages. When the master device generates a short message, it sets the SIM card associated with the slave device, also known as the phone number corresponding to the master SIM card, as the recipient number. The content of the short message may be Chinese characters or English letters. For example: the Chinese text is: You can open the application, and the English letter is: kydkyy.

如果主设备判定拒绝在从设备启动或安装目标应用,则主设备向从设备发送拒绝短信。If the master device determines to refuse to start or install the target application on the slave device, the master device sends a rejection message to the slave device.

主设备在生成短信时,将从设备关联的SIM卡,又称主SIM卡对应的电话号码设置为收件人号码。短信内容包括可以为中文文字,也可为英文字母。例如:中文文字为:禁止打开应用程序,英文字母为:jzdkyy。When the master device generates a short message, it sets the SIM card associated with the slave device, also known as the phone number corresponding to the master SIM card, as the recipient number. The content of the short message may be Chinese characters or English letters. For example: the Chinese text is: Forbidden to open the application program, and the English letter is: jzdkyy.

步骤130、从设备根据主设备的判断结果确定是否启动或安装目标应用。Step 130, the slave device determines whether to start or install the target application according to the determination result of the master device.

可选的,对应方式一:从设备根据发送所述请求信息后的预设时长内是否接收到所述主设备发送的判断结果,确定是否启动或安装所述目标应用。Optionally, corresponding manner 1: the slave device determines whether to start or install the target application according to whether it receives the judgment result sent by the master device within a preset time period after sending the request information.

从设备在发送请求信息后开始计时,如果在预设时长(如2分钟)内未收到主设备发送的短信,则从设备安装或运行目标应用。其中,短信也可以为带有内容的短信,如携带有表示拒绝运行内容的短信。如此可以减少主设备发送短信数量,降低短信开销,节约成本。The slave device starts counting after sending the request information, and if the short message sent by the master device is not received within a preset time period (such as 2 minutes), the slave device installs or runs the target application. Wherein, the short message may also be a short message with content, such as a short message carrying content indicating that the operation is refused. In this way, the number of short messages sent by the main device can be reduced, the cost of short messages can be reduced, and the cost can be saved.

可选的,对应方式二:当从设备接收到允许信息时,启动或安装目标应用。Optionally, the second corresponding manner: when the permission information is received from the device, start or install the target application.

当从设备接收到拒绝短信时,取消启动或取消安装目标应用。When a rejection SMS is received from the device, cancel the launch or cancel the installation of the target application.

从设备接收到短信后,如果短信的发件人号码为主设备号码,则从设备获取短信内容,通过对短信内容进行识别确定是否执行目标应用的启动或安装操作。具体的,如果收到允许信息,则执行目标应用的启动或安装操作。如果接收到拒绝短信,则取消目标应用的启动或安装操作。After receiving the short message from the device, if the sender number of the short message is the main device number, the content of the short message is obtained from the device, and whether to execute the start or install operation of the target application is determined by identifying the content of the short message. Specifically, if the permission information is received, an operation of starting or installing the target application is performed. If a rejection text message is received, the start or install operation of the target application is canceled.

本实施例能够在从设备启动或安装目标应用时,向主设备发送请求信息,主设备根据请求信息内容判断是否允许从设备启动或安装目标应用,从设备根据主设备的判断结构确定是否启动或安装目标应用。现有技术基于使用时长确定是否停止运行目标应用,用户可通过重复启动应用或者更改预定时长等方式,延长应用的使用时间。本实施例中第一用户能否在从设备中启动或安装目标应用取决于主设备的防沉迷判定结果,使得用户若想运行或安装目标应用则必须先通过防沉迷验证,只有通过防沉迷验证时方可在从设备中运行目标应用,使得用户无法通过重复启动或更改预订市场等方式逃脱防沉迷监控,提高防沉迷效率。通过短信的方式能够在没有WIFI或者移动蜂窝网络的情况下进行防沉迷监控,提高防沉迷监控的易用性。同时,短信的方式能够使家长方便快速的查看从设备请求启动或安装的应用信息,简化操作。此外,由于主设备能够根据判断结果自动控制从设备启动或安装目标应用,因此无需家长手动回复,简化用户操作,提高用户体验。This embodiment can send request information to the master device when the slave device starts or installs the target application. The master device judges whether to allow the slave device to start or install the target application according to the content of the request information, and the slave device determines whether to start or install the target application according to the judgment structure of the master device. Install the target application. The existing technology determines whether to stop running the target application based on the duration of use, and the user can extend the usage time of the application by repeatedly starting the application or changing the predetermined duration. In this embodiment, whether the first user can start or install the target application in the slave device depends on the anti-addiction judgment result of the master device, so that if the user wants to run or install the target application, he must first pass the anti-addiction verification, and only through the anti-addiction verification Only then can the target application be run on the slave device, so that users cannot escape the anti-addiction monitoring by repeatedly starting or changing the subscription market, and improve the anti-addiction efficiency. By means of text messages, anti-addiction monitoring can be performed without WIFI or mobile cellular network, and the ease of use of anti-addiction monitoring can be improved. At the same time, the way of SMS can enable parents to conveniently and quickly check the application information requested to be started or installed from the device, simplifying the operation. In addition, since the master device can automatically control the slave device to start or install the target application according to the judgment result, there is no need for the parent to reply manually, which simplifies user operations and improves user experience.

实施例二Embodiment two

图2为本发明实施例二提供的应用控制方法的流程图,作为对实施例一的进一步说明,具体的,请求信息携带有目标应用的应用标识和预设身份标识,此时,步骤120、主设备根据请求信息判断是否允许在从设备上启动或安装目标应用,包括:FIG. 2 is a flow chart of the application control method provided by Embodiment 2 of the present invention. As a further description of Embodiment 1, specifically, the request information carries the application identifier and the preset identity identifier of the target application. At this time, step 120, The master device judges whether to allow the target application to be launched or installed on the slave device according to the request information, including:

步骤121、主设备从预设数据库中查找是否存在预设身份标识和应用标识的对应关系。Step 121 , the master device searches the preset database whether there is a correspondence between the preset identity identifier and the application identifier.

预设数据库可存储在主设备本地,也可存储在网络侧服务器中。预设数据库可使用关系型数据库。预设数据库可用于保存被允许的SIM卡和应用标识的对应关系。预设数据库保存有SIM卡标识与应用标识的对应关系,或者设备标识与应用标识的对应关系,或者SIM卡标识、设备标识以及应用标识的对应关系。下面通过表1给出一种SIM卡标识与应用标识的对应关系的示例,预设数据库中存储设备标识与应用标识的对应关系,或者SIM卡标识、设备标识以及应用标识的对应关系的情况可参照表1进行设置。The preset database can be stored locally on the master device or in a server on the network side. The preset database can use a relational database. The preset database can be used to save the corresponding relationship between allowed SIM cards and application identifiers. The preset database stores the corresponding relationship between the SIM card identifier and the application identifier, or the corresponding relationship between the device identifier and the application identifier, or the corresponding relationship between the SIM card identifier, the device identifier and the application identifier. An example of the corresponding relationship between a SIM card identifier and an application identifier is given in Table 1 below. Refer to Table 1 for settings.

表1Table 1

假设表1为预设数据库,SIM卡1和SIM卡2均为附属SIM卡,主设备接收到SIM卡1发送的短信,短信内容包括SIM卡标识(SIM卡1)和应用标识(JiShiTongXin-2)。通过查询表1可知,存在SIM卡1和JiShiTongXin(即时通信)-2的对应关系,因此确定允许在从设备启动或安装目标应用。Assuming that Table 1 is the preset database, SIM card 1 and SIM card 2 are both auxiliary SIM cards, and the main device receives the short message sent by SIM card 1, the content of the short message includes the SIM card identification (SIM card 1) and application identification (JiShiTongXin-2 ). It can be seen from Table 1 that there is a corresponding relationship between SIM card 1 and JiShiTongXin (instant messaging)-2, so it is determined that the target application is allowed to be started or installed on the slave device.

假设表1为预设拒绝数据库,SIM卡1和SIM卡2均为附属SIM卡,主设备接收到SIM卡1发送的短信,短信内容包括SIM卡标识(SIM卡1)和应用标识(JiShiTongXin-2)。通过查询表1可知,存在SIM卡1和JiShiTongXin-2的对应关系,因此确定拒绝在从设备启动或安装目标应用。Assuming that Table 1 is the default rejection database, SIM card 1 and SIM card 2 are both attached SIM cards, and the main device receives the short message sent by SIM card 1, and the content of the short message includes the SIM card identification (SIM card 1) and application identification (JiShiTongXin- 2). It can be seen from Table 1 that there is a corresponding relationship between SIM card 1 and JiShiTongXin-2, so it is determined to refuse to start or install the target application on the slave device.

步骤122、如果主设备从预设数据库中查找到预设身份标识和应用标识的对应关系,则允许在所述从设备上启动或安装所述目标应用。Step 122: If the master device finds the correspondence between the preset identity identifier and the application identifier from the preset database, allow the target application to be started or installed on the slave device.

相应的,步骤130b、如果主设备判定拒绝在从设备启动或安装目标应用,则主设备向从设备发送拒绝短信,包括:Correspondingly, in step 130b, if the master device determines to refuse to start or install the target application on the slave device, the master device sends a rejection message to the slave device, including:

步骤123、如果主设备从预设数据库中未查找到预设身份标识和应用标识的对应关系,则拒绝在所述从设备上启动或安装所述目标应用。Step 123: If the master device does not find the corresponding relationship between the preset identity identifier and the application identifier from the preset database, then refuse to start or install the target application on the slave device.

本实施例通过预设数据库中记载的对应关系确定是否允许从设备运行或安装目标应用,通过不同的属性内容对SIM卡标识与应用标识的对应关系、设备标识与应用标识的对应关系,以及SIM卡标识、设备标识和应用标识的对应关系进行存储,实现主设备自动判别是否允许从设备运行或安装目标应用,省去人工审核时间,提高判别效率。This embodiment determines whether to allow the slave device to run or install the target application through the corresponding relationship recorded in the preset database, through different attribute contents to the corresponding relationship between the SIM card identification and the application identification, the corresponding relationship between the device identification and the application identification, and the SIM The corresponding relationship between card ID, device ID and application ID is stored, so that the master device can automatically judge whether the slave device is allowed to run or install the target application, saving manual review time and improving the efficiency of judgment.

可选的,如图3所示,在步骤121、主设备从预设数据库中查找是否存在预设身份标识和应用标识的对应关系之后,还包括:Optionally, as shown in FIG. 3, after step 121, the main device searches the preset database for whether there is a correspondence between the preset identity and the application identifier, further includes:

步骤124、如果主设备未从预设数据库中查找到预设身份标识和应用标识的对应关系,则主设备输出提示信息。Step 124: If the master device does not find the correspondence between the preset identity identifier and the application identifier from the preset database, the master device outputs prompt information.

提示信息用于提示第二用户对第一用户启动或运行目标应用的行为进行确认。例如:请确认是否允许“SIM卡1”的用户启动或运行“应用标识”。可通过对话框的方式进行提示,并通过对话框中的确认和拒绝两个按钮确认第二用户输入的指令。The prompt information is used to prompt the second user to confirm the behavior of starting or running the target application by the first user. For example: Please confirm whether the user of "SIM card 1" is allowed to start or run "App ID". A prompt may be given in a dialog box, and the instruction input by the second user may be confirmed through two buttons of confirmation and rejection in the dialog box.

步骤125、主设备接收第二用户通过主设备输入的确认信息。Step 125, the main device receives confirmation information input by the second user through the main device.

如果第二用户点击确认,则主设备接收到确认信息。如果第二用户点击拒绝,则主设备接收到拒绝信息。If the second user clicks confirmation, the main device receives confirmation information. If the second user clicks to reject, the main device receives rejection information.

步骤126、主设备根据确认信息向从设备发送允许信息。Step 126, the master device sends permission information to the slave device according to the confirmation information.

可选的,第二用户人工输入允许信息的内容,主设备将用户输入的内容发送到从设备。Optionally, the second user manually inputs the content of the permission information, and the master device sends the content input by the user to the slave device.

从设备在接收到允许信息后,根据允许信息的短信内容确定启动或安装目标应用。After receiving the permission information, the slave device determines to start or install the target application according to the text message content of the permission information.

本实施例能够在目标应用的应用标识不在预设数据库中时,由第二用户(如家长用户)确定是否允许第一用户(如孩子用户)运行或安装目标应用,使第二用户能够进一步控制从设备的运行状态,提供易用性。In this embodiment, when the application identification of the target application is not in the preset database, the second user (such as the parent user) can determine whether to allow the first user (such as the child user) to run or install the target application, so that the second user can further control From the operating status of the device, it provides ease of use.

进一步的,在步骤125、主设备接收第二用户通过主设备输入的确认信息之后,还包括:Further, after step 125, after the main device receives the confirmation information input by the second user through the main device, it also includes:

步骤127、主设备将应用标识添加到预设数据库。Step 127, the master device adds the application identifier to the preset database.

当第二用户对不存在与预设数据库中的应用标识进行确认后,主设备将该应用标识添加到预设数据库。添加时,根据接收到的预设身份标识和应用标识建立对应关系。After the second user confirms that the application identifier does not exist in the preset database, the master device adds the application identifier to the preset database. When adding, a corresponding relationship is established according to the received preset identity identifier and application identifier.

本实施例能够通过将应用标识添加到预设数据库,实现由第二用户对预设数据库中的数据进行动态调整,提高可操作性。In this embodiment, by adding the application identifier to the preset database, the second user can dynamically adjust the data in the preset database, thereby improving operability.

实施例三Embodiment three

图4为本发明实施例三提供的应用控制方法的流程图,作为对上述实施例的进一步说明,在步骤110、当第一用户在从设备上启,动或安装目标应用时,从设备向主设备发送请求信息之前,还包括:4 is a flow chart of the application control method provided by Embodiment 3 of the present invention. As a further description of the above embodiment, in step 110, when the first user starts or installs the target application on the slave device, the slave device sends Before the master device sends the request information, it also includes:

步骤101a、主设备通过主SIM卡向附属SIM卡发送主卡设置请求信息。Step 101a, the master device sends a master card setting request message to the subsidiary SIM card through the master SIM card.

步骤102a、如果主设备接收到从设备通过附属SIM卡发送的允许设置主卡确认短信,则建立主SIM卡和附属SIM卡的从属关系。Step 102a, if the main device receives a confirmation message from the slave device through the auxiliary SIM card to allow the setting of the main card, establish the subordination relationship between the main SIM card and the auxiliary SIM card.

可以由主设备建立主SIM卡和附属SIM卡的从属关系,也可由网络侧服务器建立主SIM卡和附属SIM卡的从属关系。The master device may establish the affiliation relationship between the main SIM card and the auxiliary SIM card, and the network side server may also establish the affiliation relationship between the main SIM card and the auxiliary SIM card.

或者;or;

步骤101b、从设备通过附属SIM卡向主SIM卡发送附属卡设置请求信息。Step 101b, the slave device sends a supplementary card setting request message to the main SIM card through the supplementary SIM card.

步骤102b、如果从设备接收到主设备通过主SIM卡发送的允许设置附属卡确认短信,则建立主SIM卡和附属SIM卡的从属关系。In step 102b, if the slave device receives a confirmation message sent by the master device through the master SIM card to allow the setting of the supplementary card, establish a subordinate relationship between the master SIM card and the supplementary SIM card.

主卡设置请求信息的内容可以包括:“qszzk”(代表主卡设置请求指令)The content of the main card setting request information may include: "qszzk" (representing the main card setting request instruction)

允许设置主卡确认短信的内容可以包括:“yszzk”(表示允许设置为主卡请求)。The content of the confirmation message allowing to set the main card may include: "yszzk" (indicating that the main card is allowed to be set).

需要说明的是,若手机为双卡双待手机,则可将主SIM卡和附属SIM卡安装到双卡双待手机中。在双卡双待手机中通过发送和接收短信完成从属关系的请求和确认。第二用户无需第一用户的配合即可实现从属关系配置,简化操作的同时提高家长控制的可靠性。It should be noted that if the mobile phone is a dual-card dual-standby mobile phone, the main SIM card and the auxiliary SIM card can be installed in the dual-card dual-standby mobile phone. In the dual-card dual-standby mobile phone, the request and confirmation of the affiliation is completed by sending and receiving short messages. The second user can realize the affiliation configuration without the cooperation of the first user, which simplifies the operation and improves the reliability of parental control.

本实施例能够通过短信方式进行从属关系的确认,通过主设备和从设备各发送一条短信完成从属关系的确定,操作简便。In this embodiment, the affiliation relationship can be confirmed through a short message, and the determination of the affiliation relationship can be completed by sending a short message each from the master device and the slave device, which is easy to operate.

进一步的,当孩子放假或者放学后,家长可能不需要限制孩子玩儿手机,此时如果持续限制将成额外的短信开销,基于此上述方法还包括:Furthermore, when the child is on vacation or after school, parents may not need to restrict the child from playing with the mobile phone. At this time, if the restriction continues, it will become an additional SMS cost. Based on this, the above methods also include:

如果从设备接收到主设备发送的取消从属关系短信,则当第一用户在从设备上启动或安装目标应用时,从设备直接启动或安装目标应用。If the slave device receives the short message of canceling the affiliation relationship sent by the master device, when the first user starts or installs the target application on the slave device, the slave device directly starts or installs the target application.

直接启动即从设备不需要向主设备发送请求信息,即可启动或安装目标应用。Direct boot means that the slave device can start or install the target application without sending request information to the master device.

本实施例通过取消从属短信,解除主设备和从设备的从属关系,节省短信开销。同时,提高第二用户(家长用户)的可操作性。In this embodiment, by canceling the subordinate short message, the subordinate relationship between the master device and the slave device is released, and the short message cost is saved. At the same time, the operability of the second user (parent user) is improved.

实施例四Embodiment Four

图5为本发明实施例四提供的一种应用控制系统,包括主设备11和从设备12。FIG. 5 is an application control system provided by Embodiment 4 of the present invention, including a master device 11 and a slave device 12 .

所述从设备12用于,当第一用户在从设备12上启动或安装目标应用时,向主设备11发送请求信息;The slave device 12 is configured to send request information to the master device 11 when the first user starts or installs a target application on the slave device 12;

所述主设备11用于,根据所述请求信息判断是否允许在所述从设备12上启动或安装所述目标应用;The master device 11 is configured to judge whether to allow the target application to be started or installed on the slave device 12 according to the request information;

所述从设备12还用于,根据所述主设备11的判断结果确定是否启动或安装所述目标应用。The slave device 12 is further configured to determine whether to start or install the target application according to the judgment result of the master device 11 .

进一步的,所述预设身份标识为附属SIM卡标识和/或从设备12标识;Further, the preset identity is an auxiliary SIM card identity and/or a slave device 12 identity;

所述主设备11携带主SIM卡,所述从设备12携带附属SIM卡。The master device 11 carries a master SIM card, and the slave device 12 carries a supplementary SIM card.

进一步的,所述请求信息携带有所述目标应用的应用标识和预设身份标识,所述主设备11具体用于,从预设数据库中查找是否存在所述预设身份标识和所述应用标识的对应关系;如果从所述预设数据库中查找到所述预设身份标识和所述应用标识的对应关系,则允许在所述从设备12上启动或安装所述目标应用。Further, the request information carries the application identifier and the preset identity identifier of the target application, and the master device 11 is specifically configured to search whether the preset identity identifier and the application identifier exist in a preset database. If the corresponding relationship between the preset identity and the application identifier is found from the preset database, the target application is allowed to be started or installed on the slave device 12 .

进一步的,所述主设备11还用于,如果未从所述预设数据库中查找到所述预设身份标识和所述应用标识的对应关系,则输出提示信息;接收第二用户通过所述主设备11输入的确认信息;根据所述确认信息向所述从设备12发送允许信息。Further, the main device 11 is also configured to output prompt information if the correspondence between the preset identity and the application identifier is not found from the preset database; Confirmation information input by the master device 11; sending permission information to the slave device 12 according to the confirmation information.

进一步的,所述主设备11还用于,将所述目标应用添加到所述预设数据库。Further, the master device 11 is further configured to add the target application to the preset database.

进一步的,所述从设备12具体用于,根据发送所述请求信息后的预设时长内是否接收到所述主设备11发送的判断结果,确定是否启动或安装所述目标应用。Further, the slave device 12 is specifically configured to determine whether to start or install the target application according to whether the judgment result sent by the master device 11 is received within a preset time period after sending the request information.

进一步的,所述主设备11还用于,通过所述主SIM卡向所述附属SIM卡发送主卡设置请求信息;如果接收到所述从设备12通过所述附属SIM卡发送的允许设置主卡确认短信,则建立所述主SIM卡和所述附属SIM卡的从属关系。Further, the main device 11 is also used to send main card setting request information to the auxiliary SIM card through the main SIM card; If the card confirms the short message, the affiliation relationship between the main SIM card and the auxiliary SIM card is established.

进一步的,所述从设备12还用于,如果接收到所述主设备11发送的取消从属关系短信,则当所述第一用户在所述从设备12上启动或安装目标应用时,直接启动或安装所述目标应用。Further, the slave device 12 is further configured to, if the message about canceling the affiliation relationship sent by the master device 11 is received, when the first user starts or installs the target application on the slave device 12, directly start the Or install said target app.

上述系统可执行本发明实施例一到实施例三所提供的方法,具备执行上述方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本发明实施例一到实施例三所提供的方法。The above-mentioned system can execute the methods provided in Embodiment 1 to Embodiment 3 of the present invention, and has corresponding functional modules and beneficial effects for executing the above-mentioned methods. For technical details not described in detail in this embodiment, refer to the methods provided in Embodiment 1 to Embodiment 3 of the present invention.

实施例五Embodiment five

图6为本发明实施例五提供的电子设备的结构示意图,电子设备为上述实施例中主设备或从设备的硬件结构。在一种实现方式中电子设备为移动终端(如智能手机)。移动终端可以包括通信单元21、包括有至少一个计算机可读存储介质的存储器22、输入单元23、显示单元24、传感器25、音频电路26、WIFI(Wireless Fidelity,无线保真)模块27、包括有至少一个处理核心的处理器28、以及电源29等部件。本领域技术人员可以理解,图中示出的移动终端结构并不构成对移动终端的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。具体的:FIG. 6 is a schematic structural diagram of an electronic device provided in Embodiment 5 of the present invention, and the electronic device is a hardware structure of a master device or a slave device in the foregoing embodiments. In an implementation manner, the electronic device is a mobile terminal (such as a smart phone). The mobile terminal may include a communication unit 21, a memory 22 including at least one computer-readable storage medium, an input unit 23, a display unit 24, a sensor 25, an audio circuit 26, a WIFI (Wireless Fidelity, wireless fidelity) module 27, including A processor 28 of at least one processing core, a power supply 29 and other components. Those skilled in the art can understand that the structure of the mobile terminal shown in the figure does not constitute a limitation on the mobile terminal, and may include more or less components than those shown in the figure, or combine some components, or arrange different components. specific:

通信单元21可用于收发信息或通话过程中,信号的接收和发送,该通信单元21可以为RF(Radio Frequency,射频)电路、路由器、调制解调器、等网络通信设备。特别地,当通信单元21为RF电路时,将基站的下行信息接收后,交由一个或者一个以上处理器28处理;另外,将涉及上行的数据发送给基站。通常,作为通信单元的RF电路包括但不限于天线、至少一个放大器、调谐器、一个或多个振荡器、用户身份模块(SIM)卡、收发信机、耦合器、LNA(Low Noise Amplifier,低噪声放大器)、双工器等。此外,通信单元21还可以通过无线通信与网络和其他设备通信。所述无线通信可以使用任一通信标准或协议,包括但不限于GSM(Global System of Mobile communication,全球移动通讯系统)、GPRS(General PacketRadio Service,通用分组无线服务)、CDMA(Code Division Multiple Access,码分多址)、WCDMA(Wideband Code Division Multiple Access,宽带码分多址)、LTE(Long TermEvolution,长期演进)、电子邮件、SMS(Short Messaging Service,短消息服务)等。存储器22可用于存储软件程序以及模块,处理器28通过运行存储在存储器22的软件程序以及模块,从而执行各种功能应用以及数据处理。存储器22可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据移动终端的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器22可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器22还可以包括存储器控制器,以提供处理器28和输入单元23对存储器22的访问。The communication unit 21 can be used for sending and receiving information or receiving and sending signals during a call. The communication unit 21 can be an RF (Radio Frequency, radio frequency) circuit, a router, a modem, and other network communication equipment. In particular, when the communication unit 21 is an RF circuit, after receiving the downlink information of the base station, it is processed by one or more processors 28; in addition, the uplink data is sent to the base station. Typically, an RF circuit as a communication unit includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low Noise Amplifier, Low noise amplifier), duplexer, etc. In addition, the communication unit 21 can also communicate with a network and other devices through wireless communication. The wireless communication can use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication, Global System for Mobile Communications), GPRS (General Packet Radio Service, General Packet Radio Service), CDMA (Code Division Multiple Access, Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access, Wideband Code Division Multiple Access), LTE (Long Term Evolution, Long Term Evolution), email, SMS (Short Messaging Service, Short Message Service), etc. The memory 22 can be used to store software programs and modules, and the processor 28 executes various functional applications and data processing by running the software programs and modules stored in the memory 22 . The memory 22 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application program required by a function (such as a sound playback function, an image playback function, etc.) etc.; Data created by the use of mobile terminals (such as audio data, phonebook, etc.) and the like. In addition, the memory 22 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage devices. Correspondingly, the memory 22 may further include a memory controller to provide access to the memory 22 by the processor 28 and the input unit 23 .

输入单元23可用于接收输入的数字或字符信息,以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。优选地,输入单元23可包括触敏表面231以及其他输入设备232。触敏表面231,也称为触摸显示屏或者触控板,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触敏表面231上或在触敏表面231附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触敏表面231可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器28,并能接收处理器28发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触敏表面231。除了触敏表面231,输入单元23还可以包括其他输入设备232。优选地,其他输入设备232可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 23 can be used to receive input numbers or character information, and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control. Preferably, the input unit 23 may include a touch-sensitive surface 231 and other input devices 232 . The touch-sensitive surface 231, also referred to as a touch screen or a touchpad, can collect user touch operations on or near it (for example, the user uses any suitable object or accessory such as a finger, a stylus, etc. on the touch-sensitive surface 231 or on the The operation near the touch-sensitive surface 231), and drive the corresponding connection device according to the preset program. Optionally, the touch-sensitive surface 231 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and sends it to the to the processor 28, and can receive and execute commands sent by the processor 28. In addition, the touch-sensitive surface 231 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch-sensitive surface 231 , the input unit 23 may also include other input devices 232 . Preferably, other input devices 232 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, and the like.

显示单元24可用于显示由用户输入的信息或提供给用户的信息以及移动终端的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示单元24可包括显示面板241,可选的,可以采用LCD(Liquid Crystal Display,液晶显示器)、OLED(Organic Light-Emitting Diode,有机发光二极管)等形式来配置显示面板241。进一步的,触敏表面231可覆盖显示面板241,当触敏表面231检测到在其上或附近的触摸操作后,传送给处理器28以确定触摸事件的类型,随后处理器28根据触摸事件的类型在显示面板241上提供相应的视觉输出。虽然在图6中,触敏表面231与显示面板241是作为两个独立的部件来实现输入和输入功能,但是在某些实施例中,可以将触敏表面231与显示面板241集成而实现输入和输出功能。The display unit 24 can be used to display information input by the user or provided to the user and various graphical user interfaces of the mobile terminal. These graphical user interfaces can be composed of graphics, text, icons, videos and any combination thereof. The display unit 24 may include a display panel 241. Optionally, the display panel 241 may be configured in the form of LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, organic light-emitting diode), and the like. Further, the touch-sensitive surface 231 may cover the display panel 241. When the touch-sensitive surface 231 detects a touch operation on or near it, it is sent to the processor 28 to determine the type of the touch event, and then the processor 28 determines the type of the touch event according to the touch operation. The type provides a corresponding visual output on the display panel 241 . Although in FIG. 6, the touch-sensitive surface 231 and the display panel 241 are used as two independent components to realize input and input functions, in some embodiments, the touch-sensitive surface 231 and the display panel 241 can be integrated to realize input. and output functions.

移动终端还可包括至少一种传感器25,比如光传感器、运动传感器以及其他传感器。光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板241的亮度,接近传感器可在移动终端移动到耳边时,关闭显示面板241和/或背光。作为运动传感器的一种,重力加速度传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;移动终端还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The mobile terminal may also include at least one sensor 25, such as a light sensor, a motion sensor, and other sensors. The light sensor can include an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 241 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 241 and/or the backlight when the mobile terminal moves to the ear . As a kind of motion sensor, the gravity acceleration sensor can detect the magnitude of acceleration in various directions (generally three axes), and can detect the magnitude and direction of gravity when it is stationary, and can be used to identify the application of mobile phone attitude (such as horizontal and vertical screen switching, related Games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tap), etc.; other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. repeat.

音频电路26、扬声器261,传声器262可提供用户与移动终端之间的音频接口。音频电路26可将接收到的音频数据转换后的电信号,传输到扬声器261,由扬声器261转换为声音信号输出;另一方面,传声器262将收集的声音信号转换为电信号,由音频电路26接收后转换为音频数据,再将音频数据输出处理器28处理后,经RF电路21以发送给比如另一移动终端,或者将音频数据输出至存储器22以便进一步处理。音频电路26还可能包括耳塞插孔,以提供外设耳机与移动终端的通信。The audio circuit 26, the speaker 261, and the microphone 262 can provide an audio interface between the user and the mobile terminal. Audio circuit 26 can transmit the electric signal after the audio data conversion that receives to loudspeaker 261, is converted into sound signal output by loudspeaker 261; After being received, it is converted into audio data, and then the audio data is processed by the output processor 28, and then sent to another mobile terminal through the RF circuit 21, or the audio data is output to the memory 22 for further processing. The audio circuit 26 may also include an earphone jack to provide communication between an external earphone and the mobile terminal.

为了实现无线通信,该第一移动终端上可以配置有无线通信单元27,该无线通信单元27可以为WIFI模块。WIFI属于短距离无线传输技术,移动终端通过无线通信单元27可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图中示出了无线通信单元27,但是可以理解的是,其并不属于移动终端的必须构成,完全可以根据需要在不改变公开的本质的范围内而省略。In order to realize wireless communication, the first mobile terminal may be configured with a wireless communication unit 27, and the wireless communication unit 27 may be a WIFI module. WIFI belongs to the short-distance wireless transmission technology. Through the wireless communication unit 27, the mobile terminal can help users send and receive emails, browse web pages and access streaming media, etc., and it provides users with wireless broadband Internet access. Although the wireless communication unit 27 is shown in the figure, it can be understood that it is not an essential component of the mobile terminal, and can be completely omitted as required without changing the essence of the disclosure.

处理器28可利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器22内的软件程序和/或模块,以及调用存储在存储器22内的数据,执行移动终端的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器28可包括一个或多个处理核心;优选的,处理器28可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器28中。Processor 28 can utilize various interfaces and lines to connect various parts of the whole mobile phone, by running or executing software programs and/or modules stored in memory 22, and calling data stored in memory 22, to execute various functions of the mobile terminal. function and process data, so as to monitor the mobile phone as a whole. Optionally, the processor 28 may include one or more processing cores; preferably, the processor 28 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application programs, etc. , the modem processor mainly handles wireless communications. It can be understood that the modem processor may not be integrated into the processor 28 .

移动终端还包括给各个部件供电的电源29(比如电池),优选的,电源可以通过电源管理系统与处理器28逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。电源29还可以包括一个或一个以上的直流或交流电源、再充电系统、电源故障检测电路、电源转换器或者逆变器、电源状态指示器等任意组件。The mobile terminal also includes a power supply 29 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 28 through the power management system, so as to realize functions such as managing charging, discharging, and power consumption management through the power management system. The power supply 29 may also include one or more DC or AC power supplies, recharging systems, power failure detection circuits, power converters or inverters, power status indicators and other arbitrary components.

需要说明的是,移动终端还可以包括摄像头、蓝牙模块等,在此不再赘述。It should be noted that the mobile terminal may also include a camera, a bluetooth module, etc., which will not be repeated here.

在本实施例中,存储器22可用于存储预设数据库。当电子设备担当主设备时,处理器28具有下述功能:In this embodiment, the memory 22 can be used to store a preset database. When the electronic device acts as a master, the processor 28 has the following functions:

主设备根据从设备发送的请求信息判断是否允许在所述从设备上启动应用或安装所述目标应用。The master device judges whether it is allowed to start the application or install the target application on the slave device according to the request information sent by the slave device.

进一步的,所述主设备携带主SIM卡,所述预设身份标识为附属SIM卡标识和/或从设备标识。Further, the master device carries a master SIM card, and the preset identity is an auxiliary SIM card identity and/or a slave device identity.

进一步的,所述请求信息携带有所述目标应用的应用标识和预设身份标识,所述主设备根据所述请求信息判断是否允许在所述从设备上启动或安装所述目标应用,包括:Further, the request information carries the application identifier and preset identity identifier of the target application, and the master device judges whether to allow the target application to be started or installed on the slave device according to the request information, including:

所述主设备从预设数据库中查找是否存在所述预设身份标识和所述应用标识的对应关系;The master device searches from a preset database whether there is a corresponding relationship between the preset identity and the application identifier;

如果所述主设备从所述预设数据库中查找到所述预设身份标识和所述应用标识的对应关系,则允许在所述从设备上启动或安装所述目标应用。If the master device finds the correspondence between the preset identity and the application identifier from the preset database, the target application is allowed to be started or installed on the slave device.

进一步的,在所述主设备从预设数据库中查找是否存在所述预设身份标识和所述应用标识的对应关系之后,还包括:Further, after the main device searches the preset database for whether there is a corresponding relationship between the preset identity and the application identifier, the method further includes:

如果所述主设备未从所述预设数据库中查找到所述预设身份标识和所述应用标识的对应关系,则所述主设备输出提示信息;If the master device does not find the correspondence between the preset identity and the application identifier from the preset database, the master device outputs prompt information;

所述主设备接收第二用户通过所述主设备输入的确认信息;The main device receives confirmation information input by the second user through the main device;

所述主设备根据所述确认信息向所述从设备发送允许信息。The master device sends permission information to the slave device according to the confirmation information.

进一步的,在所述主设备接收第二用户通过所述主设备输入的确认信息之后,还包括:Further, after the main device receives the confirmation information input by the second user through the main device, it further includes:

所述主设备将所述应用标识添加到所述预设数据库。The master device adds the application identifier to the preset database.

进一步的,所述主设备通过所述主SIM卡向所述附属SIM卡发送主卡设置请求信息;Further, the main device sends main card setting request information to the auxiliary SIM card through the main SIM card;

如果所述主设备接收到所述从设备通过所述附属SIM卡发送的允许设置主卡确认短信,则建立所述主SIM卡和所述附属SIM卡的从属关系。If the main device receives the confirmation message of allowing setting of the main card sent by the slave device through the auxiliary SIM card, establish the subordination relationship between the main SIM card and the auxiliary SIM card.

当电子设备担当从设备时,处理器28具有下述功能:When the electronic device acts as a slave, the processor 28 has the following functions:

当第一用户在从设备上启动或安装目标应用时,所述从设备向主设备发送请求信息;When the first user starts or installs the target application on the slave device, the slave device sends request information to the master device;

从设备根据所述主设备的判断结果确定是否启动或安装所述目标应用。The slave device determines whether to start or install the target application according to the determination result of the master device.

进一步的,所述从设备携带附属SIM卡。Further, the slave device carries an auxiliary SIM card.

进一步的,从设备根据发送所述请求信息后的预设时长内是否接收到所述主设备发送的判断结果,确定是否启动或安装所述目标应用。Further, the slave device determines whether to start or install the target application according to whether the judgment result sent by the master device is received within a preset time period after sending the request information.

进一步的,所述从设备通过所述附属SIM卡向所述主SIM卡发送附属卡设置请求信息;Further, the slave device sends auxiliary card setting request information to the main SIM card through the auxiliary SIM card;

如果所述从设备接收到所述主设备通过所述主SIM卡发送的允许设置附属卡确认短信,则建立所述主SIM卡和所述附属SIM卡的从属关系。If the slave device receives a confirmation message sent by the master device through the master SIM card to allow setting of a supplementary card, then establish a subordinate relationship between the master SIM card and the supplementary SIM card.

进一步的,如果所述从设备接收到所述主设备发送的取消从属关系短信,则当所述第一用户在所述从设备上启动或安装目标应用时,所述从设备直接启动或安装所述目标应用。Further, if the slave device receives the message about canceling the affiliation relationship sent by the master device, when the first user starts or installs the target application on the slave device, the slave device directly starts or installs the target application. target application.

注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。Note that the above are only preferred embodiments of the present invention and applied technical principles. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the protection scope of the present invention. Therefore, although the present invention has been described in detail through the above embodiments, the present invention is not limited to the above embodiments, and can also include more other equivalent embodiments without departing from the concept of the present invention, and the present invention The scope is determined by the scope of the appended claims.

Claims (18)

1. an application controls method, it is characterised in that including:
When first user is starting or during installation targets application on equipment, described send solicited message from equipment to main equipment;
Described main equipment according to described solicited message determine whether described start from equipment or install described target should With;
Described from equipment according to the judged result of described main equipment determine whether start or described intended application is installed.
Application controls method the most according to claim 1, it is characterised in that described solicited message carries attached SIM Identify and/or from device identification;
Described main equipment carries main SIM, described carries attached SIM from equipment.
Application controls method the most according to claim 1 and 2, it is characterised in that described solicited message carries described mesh Mark application application identities and default identity, described main equipment according to described solicited message determine whether described from Start on equipment or described intended application is installed, including:
Described main equipment searches whether to there is described default identity and the correspondence of described application identities from presetting database Relation;
If described main equipment finds the right of described default identity and described application identities from described presetting database Should be related to, then allow start from equipment described or described intended application is installed.
Application controls method the most according to claim 3, it is characterised in that look into from presetting database at described main equipment After looking for the corresponding relation that whether there is described default identity and described application identities, also include:
If described main equipment does not finds described default identity and described application identities from described presetting database Corresponding relation, the most described main equipment output information;
Described main equipment receives the confirmation that the second user is inputted by described main equipment;
Described main equipment sends permission information to described from equipment according to described confirmation.
Application controls method the most according to claim 4, it is characterised in that receive the second user at described main equipment and pass through After the confirmation of described main equipment input, also include:
Described main equipment adds described application identities to described presetting database.
Application controls method the most according to claim 1 and 2, it is characterised in that described from equipment according to described main equipment Judged result determine whether start or described intended application is installed, including:
Described from equipment according to sentencing of whether receiving in sending the preset duration after described solicited message that described main equipment sends Disconnected result, it is determined whether start or install described intended application.
Application controls method the most according to claim 2, it is characterised in that when first user is starting on equipment or pacifying During dress intended application, described before equipment sends solicited message to main equipment, also include:
Described main equipment sends main card by described main SIM to described attached SIM and arranges solicited message;
If described main equipment receives and described arrange main card from equipment by allowing of sending of described attached SIM and confirm short Letter, then set up described main SIM and the membership relation of described attached SIM.
Application controls method the most according to claim 1 and 2, it is characterised in that also include:
The cancellation membership relation note that described main equipment sends is received from equipment, then when described first user is in institute if described State and start from equipment or during installation targets application, described directly initiate from equipment or described intended application is installed.
Application controls method the most according to claim 1, it is characterised in that described solicited message is request note.
10. an application controls system, it is characterised in that include main equipment and from equipment,
Described it is used for from equipment, when first user is starting or during installation targets application on equipment, sends request to main equipment Information;
Described main equipment is used for, and determines whether start from equipment described or install described mesh according to described solicited message Mark application;
Described it is additionally operable to from equipment, determines whether start or described intended application is installed according to the judged result of described main equipment.
11. application controls systems according to claim 10, it is characterised in that described solicited message carries attached SIM Card identifies and/or from device identification;
Described main equipment carries main SIM, described carries attached SIM from equipment.
12. according to the application controls system described in claim 10 or 11, it is characterised in that described solicited message carries described The application identities of intended application and default identity, described main equipment specifically for, search whether to deposit from presetting database At described default identity and the corresponding relation of described application identities;If finding described pre-from described presetting database If identity and the corresponding relation of described application identities, then allow described start from equipment or install described target should With.
13. application controls systems according to claim 12, it is characterised in that described main equipment is additionally operable to, if not from Described presetting database finds described default identity and the corresponding relation of described application identities, then output prompting letter Breath;Receive the confirmation that the second user is inputted by described main equipment;Send from equipment to described according to described confirmation Permission information.
14. application controls systems according to claim 13, it is characterised in that described main equipment is additionally operable to, by described mesh Described presetting database is added in mark application to.
15. according to the application controls system described in claim 10 or 11, it is characterised in that described from equipment specifically for, root According to whether receiving the judged result that described main equipment sends in the preset duration after sending described solicited message, it is determined whether open Move or described intended application is installed.
16. application controls systems according to claim 11, it is characterised in that described main equipment is additionally operable to, by described Main SIM sends main card to described attached SIM and arranges solicited message;If from equipment by described attached described in receiving What SIM sent allows to arrange main card confirmation note, then set up described main SIM and the membership relation of described attached SIM.
17. according to the application controls system described in claim 10 or 11, it is characterised in that described be additionally operable to from equipment, if Receive the cancellation membership relation note that described main equipment sends, then start when described first user from equipment described or pacify During dress intended application, directly initiate or install described intended application.
18. application controls methods according to claim 10, it is characterised in that described solicited message is request note.
CN201610363418.8A 2016-05-26 2016-05-26 Application control method and system Expired - Fee Related CN106096387B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610363418.8A CN106096387B (en) 2016-05-26 2016-05-26 Application control method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610363418.8A CN106096387B (en) 2016-05-26 2016-05-26 Application control method and system

Publications (2)

Publication Number Publication Date
CN106096387A true CN106096387A (en) 2016-11-09
CN106096387B CN106096387B (en) 2019-05-31

Family

ID=57230150

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610363418.8A Expired - Fee Related CN106096387B (en) 2016-05-26 2016-05-26 Application control method and system

Country Status (1)

Country Link
CN (1) CN106096387B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110471673A (en) * 2019-08-20 2019-11-19 深圳市沃特沃德股份有限公司 Application installation method, device, computer equipment and the storage medium of multi-card terminal
CN112316438A (en) * 2020-11-06 2021-02-05 腾讯科技(深圳)有限公司 User authentication method, device, storage medium and terminal equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6948183B1 (en) * 1998-06-18 2005-09-20 General Instrument Corporation Dynamic security for digital television receivers
CN101860788A (en) * 2010-04-14 2010-10-13 深圳市振华通信设备有限公司 Method for realizing positioning of headset and main phone by utilizing mobile phone communication, and device thereof
CN103152722A (en) * 2013-01-28 2013-06-12 东莞宇龙通信科技有限公司 Control method and system for application operation
CN103188227A (en) * 2011-12-29 2013-07-03 北京网秦天下科技有限公司 Method and system for conducting parental control over mobile equipment
CN103544409A (en) * 2012-07-11 2014-01-29 腾讯科技(深圳)有限公司 Method for controlling application program, use equipment and server
CN103795745A (en) * 2012-10-30 2014-05-14 天讯天网(福建)网络科技有限公司 Monitoring method and monitoring system of intelligent mobile terminal
CN104202323A (en) * 2014-09-05 2014-12-10 绿网天下(福建)网络科技股份有限公司 Method for controlling application software based on mobile terminal
CN104243928A (en) * 2014-09-26 2014-12-24 上海斐讯数据通信技术有限公司 Electronic terminal and remote monitoring method implemented by same
CN104869052A (en) * 2015-06-16 2015-08-26 腾讯科技(北京)有限公司 Implementation method of social platform with monitoring function, client, server, and social platform system with monitoring function
CN105100415A (en) * 2015-05-28 2015-11-25 努比亚技术有限公司 Login method and mobile terminal
CN105472000A (en) * 2015-12-04 2016-04-06 中山市读书郎电子有限公司 Mobile terminal remote monitoring system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6948183B1 (en) * 1998-06-18 2005-09-20 General Instrument Corporation Dynamic security for digital television receivers
CN101860788A (en) * 2010-04-14 2010-10-13 深圳市振华通信设备有限公司 Method for realizing positioning of headset and main phone by utilizing mobile phone communication, and device thereof
CN103188227A (en) * 2011-12-29 2013-07-03 北京网秦天下科技有限公司 Method and system for conducting parental control over mobile equipment
CN103544409A (en) * 2012-07-11 2014-01-29 腾讯科技(深圳)有限公司 Method for controlling application program, use equipment and server
CN103795745A (en) * 2012-10-30 2014-05-14 天讯天网(福建)网络科技有限公司 Monitoring method and monitoring system of intelligent mobile terminal
CN103152722A (en) * 2013-01-28 2013-06-12 东莞宇龙通信科技有限公司 Control method and system for application operation
CN104202323A (en) * 2014-09-05 2014-12-10 绿网天下(福建)网络科技股份有限公司 Method for controlling application software based on mobile terminal
CN104243928A (en) * 2014-09-26 2014-12-24 上海斐讯数据通信技术有限公司 Electronic terminal and remote monitoring method implemented by same
CN105100415A (en) * 2015-05-28 2015-11-25 努比亚技术有限公司 Login method and mobile terminal
CN104869052A (en) * 2015-06-16 2015-08-26 腾讯科技(北京)有限公司 Implementation method of social platform with monitoring function, client, server, and social platform system with monitoring function
CN105472000A (en) * 2015-12-04 2016-04-06 中山市读书郎电子有限公司 Mobile terminal remote monitoring system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110471673A (en) * 2019-08-20 2019-11-19 深圳市沃特沃德股份有限公司 Application installation method, device, computer equipment and the storage medium of multi-card terminal
CN112316438A (en) * 2020-11-06 2021-02-05 腾讯科技(深圳)有限公司 User authentication method, device, storage medium and terminal equipment

Also Published As

Publication number Publication date
CN106096387B (en) 2019-05-31

Similar Documents

Publication Publication Date Title
CN104518953B (en) Method for deleting message, instant communication terminal and system
US10326861B2 (en) Method for controlling cooperation of multiple intelligent devices and apparatus thereof
US10958459B2 (en) Method and apparatus for processing group chat message
CN106778175B (en) Interface locking method and device and terminal equipment
CN104618223B (en) A kind of management method of information recommendation, device and system
US9363300B2 (en) Systems and methods for voice communication
CN106570358A (en) Application permission setting method and device
WO2017008569A1 (en) Message updating method, apparatus, and terminal
CN105930049A (en) A method and terminal for avoiding misoperation
CN106131930A (en) A WiFi network access control method, device and terminal
CN106096393A (en) Application program control method and device
CN103491240B (en) A kind of alarm clock ringing method, device and mobile terminal
CN107104930A (en) It is a kind of that the methods, devices and systems for checking authority are set
CN103279272A (en) Method and device for starting application program in electronic device
CN106060223A (en) Terminal control method and device
CN107046595A (en) Notification information processing method, device and mobile terminal
US9591062B2 (en) Systems and methods for data exchange in voice communication
CN105553718B (en) Guidance information display methods and device
CN106572163A (en) Data migration method and terminal
CN106357512B (en) Method and device for distinguishing and synchronizing chat information
CN105955789B (en) Application program unloading method, device and equipment
CN106096387A (en) Application controls method and system
CN104683555B (en) Message management method and device
US20160307216A1 (en) Electronic information collection method and apparatus
CN106201223A (en) A kind of notification message display packing and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190531

CF01 Termination of patent right due to non-payment of annual fee