技术领域technical field
本发明实施例涉及计算机技术,尤其涉及一种信息同步方法、装置及终端设备。The embodiments of the present invention relate to computer technology, and in particular to an information synchronization method, device and terminal equipment.
背景技术Background technique
Android是一种基于Linux的开放源码的操作系统,主要使用于终端设备(如:智能手机、平板电脑)中,由Google公司和开放手机联盟共同开发完成。目前,Android系统己经发展成为终端设备领域用户群最大的操作系统平台。Android is an open-source operating system based on Linux, mainly used in terminal devices (such as smart phones and tablet computers), and is jointly developed by Google and the Open Handset Alliance. At present, the Android system has developed into an operating system platform with the largest user base in the field of terminal equipment.
现有的Android系统中,用户在同一台终端设备中往往需要同时开启多个相同的软件应用来方便操作的执行。如:当用户使用社交类软件时,往往需要同时开启多个相同的社交软件进行不同账号的登录,进而完成对不同账号的操作。然而,目前当用户需要进行信息更改时,需要在各个应用之间频繁切换,当切换到对应的应用后再重复执行相同的操作来完成信息的同步,由此带来操作繁琐、效率低下,用户体验较差的问题。In the existing Android system, the user often needs to simultaneously open multiple identical software applications in the same terminal device to facilitate operation execution. For example, when a user uses social software, it is often necessary to open multiple identical social software at the same time to log in with different accounts, and then complete operations on different accounts. However, at present, when users need to change information, they need to switch between various applications frequently. After switching to the corresponding application, the same operation is repeated to complete the synchronization of information, which brings cumbersome operations and low efficiency. Problem with poor experience.
发明内容Contents of the invention
本发明提供一种信息同步方法、装置及终端设备,以实现多个相同应用之间的信息同步,极大的简化了用户的操作步骤,提高了执行效率。The present invention provides an information synchronization method, device and terminal equipment to realize information synchronization between multiple identical applications, which greatly simplifies the user's operation steps and improves execution efficiency.
第一方面,本发明实施例提供了一种信息同步方法,包括:In a first aspect, an embodiment of the present invention provides an information synchronization method, including:
获取用户通过应用软件执行的操作指令,并对所述操作指令依次进行记录;Obtain the operation instructions executed by the user through the application software, and record the operation instructions in sequence;
控制和所述应用软件相同的应用同步执行所述操作指令,以完成各个相同应用之间的信息同步;Controlling the same application as the application software to execute the operation instruction synchronously, so as to complete the information synchronization among the same applications;
其中,所述应用软件和与其相同的应用分别安装于不同用户下。Wherein, the application software and the same application are installed under different users.
第二方面,本发明实施例还提供了一种信息同步装置,包括:In the second aspect, the embodiment of the present invention also provides an information synchronization device, including:
指令确定模块,用于获取用户通过应用软件执行的操作指令,并对所述操作指令依次进行记录;An instruction determination module, configured to obtain the operation instructions executed by the user through the application software, and record the operation instructions in sequence;
信息同步模块,用于控制和所述应用软件相同的应用同步执行所述操作指令,以完成各个相同应用之间的信息同步;An information synchronization module, configured to control the same applications as the application software to execute the operation instructions synchronously, so as to complete the information synchronization among the same applications;
其中,所述应用软件和与其相同的应用分别安装于不同用户下。Wherein, the application software and the same application are installed under different users.
第三方面,本发明实施例还提供了一种终端设备,所述终端设备集成了上述描述的装置。In a third aspect, an embodiment of the present invention further provides a terminal device, where the terminal device integrates the apparatus described above.
本发明通过获取用户通过应用软件执行的操作指令;控制和所述应用软件相同的应用同步执行所述操作指令,以完成各个相同应用之间的信息同步,其中,所述应用软件和与其相同的应用分别安装于不同用户下,解决了目前当用户需要进行信息更改时,需要在各个应用之间频繁切换,当切换到对应的应用后再重复执行相同的操作来完成信息的同步,由此带来操作繁琐、效率低下,用户体验较差的问题,实现了多个相同应用之间的信息同步,极大的简化了用户的操作步骤,提高了执行效率。The present invention acquires the operation instruction executed by the user through the application software; controls the same application as the application software to execute the operation instruction synchronously, so as to complete the information synchronization among the same applications, wherein the application software and the same application software Applications are installed under different users, which solves the problem that when users need to change information, they need to switch frequently between applications. After switching to the corresponding application, they repeat the same operation to complete the synchronization of information, which brings To solve the problems of cumbersome operation, low efficiency, and poor user experience, it realizes information synchronization between multiple identical applications, greatly simplifies the user's operation steps, and improves execution efficiency.
附图说明Description of drawings
图1为本发明实施例提供的一种信息同步方法的流程图;FIG. 1 is a flowchart of an information synchronization method provided by an embodiment of the present invention;
图2为本发明实施例提供的另一种信息同步方法的流程图;FIG. 2 is a flowchart of another information synchronization method provided by an embodiment of the present invention;
图3为本发明实施例提供的另一种信息同步方法的流程图;FIG. 3 is a flowchart of another information synchronization method provided by an embodiment of the present invention;
图4为本发明实施例提供的另一种信息同步方法的流程图;FIG. 4 is a flowchart of another information synchronization method provided by an embodiment of the present invention;
图5为本发明实施例提供的一种信息同步装置的结构图;FIG. 5 is a structural diagram of an information synchronization device provided by an embodiment of the present invention;
图6为本发明实施例提供的一种终端设备的结构示意图。FIG. 6 is a schematic structural diagram of a terminal device provided by an embodiment 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.
图1为本发明实施例提供的一种信息同步方法的流程图,本实施例可适用于在同一终端设备中安装有多个相同的应用的情况,该方法可以由终端设备如智能手机、平板电脑来执行,具体包括如下步骤:Figure 1 is a flow chart of an information synchronization method provided by an embodiment of the present invention. This embodiment is applicable to the situation where multiple identical applications are installed in the same terminal device. This method can be implemented by terminal devices such as smart phones and tablets. Computer to execute, specifically include the following steps:
步骤101、获取用户通过应用软件执行的操作指令,并对所述操作指令依次进行记录。Step 101: Obtain the operation instructions executed by the user through the application software, and record the operation instructions in sequence.
终端设备中安装有多种应用软件,如QQ、微信、微博等,用户可通过这些软件执行相应的功能。如:用户通过微信的收藏功能对拍摄的照片进行收藏,通过QQ接收其他好友发送的文件等。示例性的,终端设备根据用户点击的屏幕上显示的按钮、列表生成操作指令来相应用户的操作,进而应用软件根据该操作指令执行相应的功能。本步骤中,获取用户通过应用软件执行的操作指令,并对所述操作指令依次进行记录,即确定出用户在应用软件中执行的操作,对其进行记录保存。示例性的,当用户通过QQ保存图片时,终端设备将获取保存图片的指令并进行相应的记录以用于后续操作。Various application software, such as QQ, WeChat, Weibo, etc., are installed in the terminal device, and users can perform corresponding functions through these software. For example, the user collects the photos taken through the collection function of WeChat, and receives files sent by other friends through QQ. Exemplarily, the terminal device generates operation instructions according to the buttons and lists displayed on the screen clicked by the user to respond to the user's operations, and then the application software executes corresponding functions according to the operation instructions. In this step, the operation instructions executed by the user through the application software are obtained, and the operation instructions are recorded sequentially, that is, the operations performed by the user in the application software are determined, and the records are saved. Exemplarily, when a user saves a picture through QQ, the terminal device will obtain an instruction to save the picture and make a corresponding record for subsequent operations.
步骤102、控制和所述应用软件相同的应用同步执行所述操作指令,以完成各个相同应用之间的信息同步。Step 102, controlling the same application as the application software to execute the operation instruction synchronously, so as to complete the information synchronization among the same applications.
其中,所述应用软件和与其相同的应用分别安装于不同用户下。相同的应用可以是通过同一个安装文件安装的应用。示例性的,用户在终端设备的主用户下安装了微信软件,此时该微信软件可称为主应用,同时,又通过Android系统的多用户服务在新创建的用户下安装了微信软件,此新用户下创建的微信软件可称为分身应用。其中,主应用和分身应用即为相同的应用且分别安装在了不同用户下。本方案中,当在步骤101获取到对其中一个应用的操作指令后,将该操作指令在各个相同的应用中进行同步,由此实现了各个应用之间的信息同步。示例性的,当微信软件有新版本发布时,用户在打开微信应用后即收到相应的升级提示,此时用户点击升级,该微信软件即会自动升级到最新版本。该自动升级的操作指令被获取后,将会自动同步的在其他微信应用中执行,当用户使用其它账号同时开启另一微信应用时,该微信应用已经升级到最新版本。Wherein, the application software and the same application are installed under different users. The same application may be an application installed through the same installation file. Exemplarily, the user installs the WeChat software under the main user of the terminal device. At this time, the WeChat software can be called the main application. At the same time, the WeChat software is installed under the newly created user through the multi-user service of the Android system. WeChat software created under a new user can be called a clone application. Wherein, the main application and the clone application are the same application and are respectively installed under different users. In this solution, after the operation instruction for one of the applications is acquired in step 101, the operation instruction is synchronized in each of the same applications, thereby realizing the information synchronization among the applications. Exemplarily, when a new version of the WeChat software is released, the user will receive a corresponding upgrade prompt after opening the WeChat application. At this time, the user clicks to upgrade, and the WeChat software will be automatically upgraded to the latest version. After the automatic upgrade operation instruction is obtained, it will be automatically executed in other WeChat applications synchronously. When the user uses another account to open another WeChat application at the same time, the WeChat application has been upgraded to the latest version.
本实施例中相同的应用可构成多开应用集合,多开应用集合基于多用户机制来实现,其中多用户机制具体可包括智能终端中的操作系统所支持的多用户机制,如安卓(Android)系统的多用户机制以及手机窗口(Windows Phone,WP)操作系统的多用户机制等。The same application in this embodiment can form a multi-open application set, and the multi-open application set is realized based on a multi-user mechanism, wherein the multi-user mechanism can specifically include a multi-user mechanism supported by an operating system in a smart terminal, such as Android (Android) The multi-user mechanism of the system and the multi-user mechanism of the mobile window (Windows Phone, WP) operating system, etc.
其中,多开应用集合基于多用户机制来实现,包括主应用和与主应用对应的所有分身应用,即所有的相同的应用。Wherein, the multi-open application set is implemented based on the multi-user mechanism, including the main application and all the clone applications corresponding to the main application, that is, all the same applications.
具体的,多开应用集合基于多用户机制来实现可包括如下内容:主应用安装于主用户下,分身应用安装于从用户下,主用户中包含用于对分身应用进行操作的接入口。Specifically, the realization of the multi-application set based on the multi-user mechanism may include the following content: the main application is installed under the main user, the avatar application is installed under the sub-user, and the main user includes an access port for operating the avatar application.
在一个实施例中,本申请的多用户实现机制包括了以下逻辑:In one embodiment, the multi-user implementation mechanism of this application includes the following logic:
1.多用户管理1. Multi-user management
a)系统默认有一个主用户,主用户可以创建其它的多个新用户(从用户),并可以删除与管理它们;a) The system has a master user by default, the master user can create other multiple new users (slave users), and can delete and manage them;
b)普通用户(非主用户)与访客用户,可统称为从用户;b) Ordinary users (non-master users) and guest users can be collectively referred to as slave users;
c)默认主用户id(身份标识,Identification)为0,其它新增用户id从10开始,逐个增加;c) The default main user id (identification, Identification) is 0, and other new user ids start from 10 and increase one by one;
d)切换用户时,会重新加载桌面等一系列界面切换;d) When switching users, a series of interface switches such as the desktop will be reloaded;
e)主用户可以限制其它用户是否能够接打电话及收发短信等权限。e) The main user can limit whether other users can make and receive calls and send and receive text messages.
对于多用户管理,能够通过主用户对从用户进行管理,包括从用户的创建、删除及权限设置等,ID设置从主用户开始,新增从用户ID顺序叠加,各用户间切换时,重新加载对应用户的桌面等一系列界面。For multi-user management, the slave user can be managed through the master user, including the creation, deletion and permission setting of the slave user. The ID setting starts from the master user, and the newly added slave user IDs are superimposed in sequence. When switching between users, reload Corresponding to a series of interfaces such as the user's desktop.
2.多用户安装、卸载应用2. Multi-user installation and uninstallation of applications
a)默认安装的应用,会安装到所有己创建的用户,在其它用户桌面上都可见应用图标;a) The application installed by default will be installed to all created users, and the application icon will be visible on the desktop of other users;
b)在主用户通过文件管理安装的应用,不会安装到其它用户,在其它用户桌面上不可见应用图标;b) Applications installed by the main user through file management will not be installed to other users, and application icons will not be visible on the desktops of other users;
c)系统在安装、卸载应用时可指定userid(用户身份标识),指定应用安装到某个指定用户,或在某个指定用户卸载该应用。也可以对所有用户都安装应用,或卸载应用。c) The system can specify a userid (user ID) when installing or uninstalling an application, and the specified application can be installed to a specified user, or the application can be uninstalled by a specified user. You can also install the app for all users, or uninstall the app.
d)在用户A卸载了应用B,对其它用户来说,应用B还是存在的,桌面上都可见应用图标,在其它用户上,应用B可以正常使用。d) After user A uninstalls application B, for other users, application B still exists, and application icons can be seen on the desktop, and application B can be used normally on other users.
对于多用户安装、卸载应用,默认安装的应用会安装到所有已创建的用户(包括主用户和从用户),并在各用户桌面上生成应用图标;而在主用户下通过文件管理安装的应用,只安装到主用户下,在主用户桌面生成应用图标,不安装到从用户下;应用的安装/卸载还可基于使用者对用户的指定,使用者通过指定用户身份标识,在主用户和从用户中指定应用的安装/卸载在某个用户、某些用户或所有用户下进行;同一应用的卸载在各用户下独立进行,对某一用户下的应用进行卸载,不影响其他用户下该应用的使用。For multi-user installation and uninstallation of applications, the default installed applications will be installed to all created users (including primary users and secondary users), and application icons will be generated on the desktops of each user; and applications installed under the primary user through file management , only installed under the primary user, and the application icon is generated on the desktop of the primary user, and not installed under the secondary user; the installation/uninstallation of the application can also be based on the designation of the user by the user. The installation/uninstallation of specified applications from users is performed under a certain user, some users, or all users; the uninstallation of the same application is performed independently under each user, and the uninstallation of an application under a certain user does not affect the application under other users. Use of the App.
3.用户数据管理3. User data management
a)与系统数据相关的用户id目录:存放了用户对应的各种系统数据存储,例如:桌面widget(组件)列表,设置数据库,默认应用启动策略等等。a) User id directory related to system data: stores various system data storage corresponding to the user, for example: desktop widget (component) list, setting database, default application startup strategy, etc.
b)与应用包数据相关的用户id目录:存放了用户对应安装的应用包目录,如果应用操作产生了数据,则应用数据也存放于此目录。b) User id directory related to application package data: stores the application package directory correspondingly installed by the user, and if the application operation generates data, the application data is also stored in this directory.
c)系统SD卡(Secure Digital Memory Card,安全数码卡)目录:每个用户看到自己的sdcard目录都是不一样的,只能看到自己的sdcard目录。c) System SD card (Secure Digital Memory Card, secure digital card) directory: each user sees their own sdcard directory differently, and can only see their own sdcard directory.
对于用户数据管理,在多用户实现机制下,各用户下系统数据和应用相关数据分别存放于不同的数据存放路径下,如,某用户下各种系统数据存放于指定的第一数据存放路径下,而安装的应用包目录及应用操作产生的应用数据这些应用相关数据存放于指定的第二数据存放路径下;各用户下数据存储相互独立,各用户只能查看自身的存储数据,如自身的sdcard目录。For user data management, under the multi-user implementation mechanism, the system data and application-related data under each user are stored in different data storage paths, for example, various system data under a certain user are stored in the designated first data storage path , and the installed application package directory and application data generated by application operations, these application-related data are stored in the specified second data storage path; the data storage under each user is independent of each other, and each user can only view its own stored data, such as its own sdcard directory.
4.用户权限管理4. User rights management
a)应用在安装以后,应用申请的各种权限(例如:读取存储目录权限,读写短信权限,打开相机权限等),会分为两部分,一部分不敏感的权限,在应用安装时,系统直接允许应用获得权限;一部分比较敏感的危险权限,例如读写短信权限,会在应用使用时,系统提示用户是否允许应用获得权限。a) After the application is installed, the various permissions applied for by the application (for example: permission to read storage directory, permission to read and write text messages, permission to open camera, etc.) will be divided into two parts, one part is not sensitive permission, when the application is installed, The system directly allows applications to obtain permissions; for some sensitive and dangerous permissions, such as the permission to read and write text messages, the system will prompt the user whether to allow the application to obtain permissions when the application is in use.
b)系统在不同的用户,对同一个应用的权限是独立且隔离的,一个应用获得的基本不敏感权限,在安装后,在每个用户中都是直接获得的,而部分比较敏感的危险权限,是独立的。例如:在用户0打开微信时,如果获取了读写短信权限,切换到用户10时,第一次打开微信时,系统还是会提示用户是否允许,不会因为微信在用户0获得了权限而不提醒。同理,在其它用户也一样。b) Different users of the system have independent and isolated permissions for the same application. The basic insensitive permissions obtained by an application are directly obtained by each user after installation, while some of the more sensitive permissions are dangerous. Permissions are independent. For example: when user 0 opens WeChat, if the permission to read and write text messages is obtained, when switching to user 10, when opening WeChat for the first time, the system will still prompt the user whether to allow it, and will not be rejected because WeChat has obtained permission from user 0. remind. The same is true for other users.
对于用户权限管理,某一用户下应用安装时,不敏感权限会直接获得允许,敏感权限需经使用者许可获得;在不同的用户下,对同一应用的权限配置互相独立且隔离,在用户切换时,对于初次使用的应用的敏感权限,均需提示使用者是否赋权。For user permission management, when an application is installed under a certain user, insensitive permissions will be directly allowed, and sensitive permissions need to be obtained with the user's permission; under different users, the permission configurations for the same application are independent and isolated from each other, and the user switching For the sensitive permissions of the first-time application, the user needs to be prompted whether to authorize.
本实施例中,多开应用集合基于多用户机制来实现的过程可描述如下:In this embodiment, the process of implementing the multi-open application set based on the multi-user mechanism can be described as follows:
假设智能终端的默认用户为主用户,用户在主用户下通过从应用商店下载或者从其他来源拷贝等方式将应用ABC的安装包(package,APK)文件例如ABC.apk存入智能终端中,系统在主用户下安装ABC.apk后,主用户桌面会生成一个主应用ABC的图标。当在主用户下检测到针对主应用ABC的分身创建请求时,在从用户(若当前不存在从用户,则可创建一个从用户,该创建过程是在用户无法察觉的情况下完成的,也无需用户设置账户和密码)下安装ABC.apk得到分身应用,为了对主应用和分身应用加以区分,可为新安装的分身应用添加一个标识(假设为*),分身应用可被记为ABC*。当ABC*安装成功后,可指定将“安装成功”的通知(在该通知中也添加标识*)发送给主用户,主用户下的桌面接收到该通知后,生成一个带有标识*的图标,以与主应用ABC的图标进行区分,该图标可作为主用户中对分身应用进行操作的接入口,当该图标被点击后,系统将指定ABC*在从用户下启动,与ABC*对应的相关进程也在从用户下运行,并将ABC*的人机交互界面(简称界面)显示于主用户下,此时ABC*的界面也可作为主用户中对分身应用进行操作的接入口。Assuming that the default user of the smart terminal is the main user, the user downloads the application ABC installation package (package, APK) file such as ABC.apk into the smart terminal by downloading from the application store or copying from other sources under the main user, and the system After installing ABC.apk under the main user, an icon of the main application ABC will be generated on the main user desktop. When an avatar creation request for the master application ABC is detected under the master user, a slave user can be created in the slave user (if there is no slave user currently, the creation process is completed without the user being aware of it, and Install ABC.apk without user setting account and password) to get the avatar application. In order to distinguish the main application from the avatar application, an identifier (assumed to be *) can be added to the newly installed avatar application, and the avatar application can be recorded as ABC* . When ABC* is successfully installed, you can specify to send the notification of "successful installation" (add the logo * to the notification) to the main user. After receiving the notification, the desktop under the main user will generate an icon with the logo * , to distinguish it from the icon of the main application ABC. This icon can be used as the access port for operating the avatar application in the main user. When the icon is clicked, the system will designate ABC* to start under the secondary user, and the corresponding ABC* Relevant processes are also running under the secondary user, and the human-computer interaction interface of ABC* (referred to as the interface) is displayed under the primary user. At this time, the interface of ABC* can also be used as the access port for operating the clone application in the primary user.
对于分身应用来说,其在主用户中的接入口的存在形式可以是多种多样的,本实施例不做具体限定,例如,可以是包含应用标识的桌面图标,该应用标识用以将当前分身应用与主应用以及其他分身应用区分开来;还可以是附加于主应用图标上的应用标识;还可以是以浮窗形式存在的包含应用标识的图标;还可以是存在于通知中心等位置的项目。For the avatar application, its access interface in the main user can exist in various forms, which are not specifically limited in this embodiment. For example, it can be a desktop icon containing an application identifier, which is used to connect the current The clone application is distinguished from the main application and other clone applications; it can also be an application logo attached to the main application icon; it can also be an icon containing the application logo in the form of a floating window; it can also exist in the notification center and other places s project.
智能终端用户在主用户中可实现对主应用的操作,同时还可在主用户中通过接入口对相应的分身应用进行操作。可以理解的是,同一个主应用可对应多个分身应用,每个分身应用均被安装于一个不同的从用户中,使各分身应用分别运行于不同的从用户中,在运行过程中互不干扰。Smart terminal users can operate the main application in the main user, and can also operate the corresponding avatar application through the access port in the main user. It is understandable that the same master application can correspond to multiple clone applications, and each clone application is installed in a different slave user, so that each clone application runs in a different slave user, and is independent from each other during the running process. interference.
基于多用户机制来实现多开应用的好处在于,相比于第三方多开助手软件来说,避免第三方软件推送广告以及窃取用户隐私数据等行为的发生,安全性更高;相比与主应用和分身应用均运行于同一用户下的方案来说,减少同一用户下不同分身应用或主应用之间的进程干扰,以及避免复杂运行环境所带来的功能缺失现象的发生。The advantage of implementing multi-opening applications based on the multi-user mechanism is that, compared with third-party multi-opening assistant software, it avoids behaviors such as pushing advertisements and stealing user privacy data by third-party software, and has higher security; For the solution where both the application and the clone application run under the same user, the process interference between different clone applications or the main application under the same user is reduced, and the occurrence of function loss caused by the complex operating environment is avoided.
示例性的,本实施例中可通过用户标识userid及应用标识Uid来区分主应用和分身应用。Exemplarily, in this embodiment, the main application and the secondary application can be distinguished by the user identifier userid and the application identifier Uid.
本实施例的技术方案,解决了目前当用户需要进行信息更改时,需要在各个应用之间频繁切换,当切换到对应的应用后再重复执行相同的操作来完成信息的同步,由此带来操作繁琐、效率低下,用户体验较差的问题,实现了多个相同应用之间的信息同步,极大的简化了用户的操作步骤,提高了执行效率。The technical solution of this embodiment solves the problem that when users need to change information, they need to frequently switch between various applications. After switching to the corresponding application, they repeat the same operation to complete the synchronization of information, which brings The problem of cumbersome operation, low efficiency, and poor user experience has realized information synchronization between multiple identical applications, which greatly simplifies the user's operation steps and improves execution efficiency.
图2为本发明实施例提供的另一种信息同步方法的流程图,本实施例在上述实施例的基础上,给出了一种具体的在各个相同应用之间进行信息同步的方法,包括如下步骤:Fig. 2 is a flow chart of another information synchronization method provided by the embodiment of the present invention. On the basis of the above embodiments, this embodiment provides a specific method for information synchronization between the same applications, including Follow the steps below:
步骤201、获取用户通过应用软件执行的操作指令,并对所述操作指令依次进行记录。Step 201: Acquire the operation instructions executed by the user through the application software, and record the operation instructions in sequence.
步骤202、对所述应用软件的身份类型进行识别,若所述应用软件的身份类型为主应用,则控制所述应用软件对应的分身应用同步执行所述操作指令。Step 202: Identify the identity type of the application software, and if the identity type of the application software is the main application, control the clone application corresponding to the application software to execute the operation instruction synchronously.
其中,所述主应用安装于主用户下,所述分身应用安装于从用户下,所述主用户中包含用于对所述分身应用进行操作的接入口。该从用户可以是实施例一中描述的新增的用户,通过该接入口主用户可以直接进行对分身应用的操作。示例性的,主应用为在默认用户下创建的应用,该默认的用户id可以是0。分身应用为在新增用户下创建的应用,新增的用户作为从用户,其id可以是01,每新增一个用户则相应的会赋予新增用户一个id,分身应用即在新增用户下创建的应用。若识别到用户操作的应用是主应用,则将对该主应用进行的操作指令同步到所有分身应用中,使得主应用和各个分身应用的信息同步。示例性的,当用户对微博主应用的头像进行设置后,相应的,微博分身应用的头像也会被自动设置为微博主应用所设置的头像。Wherein, the master application is installed under the master user, the clone application is installed under the slave user, and the master user includes an access port for operating the clone application. The secondary user may be the newly added user described in Embodiment 1, and the primary user may directly operate the clone application through the access port. Exemplarily, the main application is an application created under a default user, and the default user id may be 0. The avatar application is an application created under the newly added user. The newly added user is a secondary user, and its id can be 01. For each new user, an id will be assigned to the new user, and the avatar application is created under the newly added user. Created applications. If it is recognized that the application operated by the user is the main application, the operation instructions performed on the main application are synchronized to all the clone applications, so that the information of the main application and each clone application are synchronized. Exemplarily, after the user sets the avatar of the microblog main application, correspondingly, the avatar of the microblog avatar application will also be automatically set as the avatar set by the microblog main application.
示例性的,当用户在对应用进行操作时,可依据当前用户的id来确定是否为对主应用的操作。还可以是,通过操作的应用的进程号标识确定是否为对主应用的操作。Exemplarily, when the user is operating the application, it may be determined whether it is an operation on the main application according to the id of the current user. It may also be determined whether it is an operation on the main application by identifying the process number of the operating application.
可选的,用户在操作应用时可以选择是否需要进行信息同步,若需要,可通过点选信息同步的选项以使后续的操作可以同步到相同的应用中。还可以是,用户对需要进行信息同步的内容进行勾选,当对勾选的内容进行操作是相应的在相同的应用中进行信息同步。Optionally, the user can choose whether to perform information synchronization when operating the application. If necessary, the user can click the option of information synchronization so that subsequent operations can be synchronized to the same application. It is also possible that the user checks the content that needs to be synchronized, and when the checked content is operated, information synchronization is performed in the same application.
本实施例的技术方案,当识别到对主应用进行的操作时,可控制对应的分身应用同步执行操作指令以使得分身应用和主应用之间信息同步,解决了目前当用户需要进行信息更改时,需要在各个应用之间频繁切换,当切换到对应的应用后再重复执行相同的操作来完成信息的同步,由此带来操作繁琐、效率低下,用户体验较差的问题,实现了多个相同应用之间的信息同步,极大的简化了用户的操作步骤,提高了执行效率。According to the technical solution of this embodiment, when an operation on the main application is recognized, the corresponding avatar application can be controlled to execute the operation command synchronously so that the information between the avatar application and the main application can be synchronized, which solves the current problem when the user needs to change information. , it is necessary to switch between various applications frequently, and then repeat the same operation to complete the synchronization of information after switching to the corresponding application, which brings about cumbersome operations, low efficiency, and poor user experience. The information synchronization between the same applications greatly simplifies the user's operation steps and improves the execution efficiency.
在上述技术方案的基础上,步骤201还可以是:对所述应用软件的类型进行识别,若所述应用软件的身份类型为分身应用,则控制所述应用软件对应的主应用和同胞应用同步执行所述操作指令。其中,所述同胞应用为所述主应用的分身应用中除所述应用软件外的其他分身应用;所述应用软件和与其相同的应用分别安装于不同用户下,包括:所述主应用安装于主用户下,所述分身应用安装于从用户下,所述主用户中包含用于对所述分身应用进行操作的接入口。示例性的,再次新增一用户,该新增用户的id为02,则在id为02的用户下创建的微博应用和在id为01的用户下创建的微博的应用互为同胞应用。On the basis of the above technical solution, step 201 may also be: identify the type of the application software, and if the identity type of the application software is a clone application, control the synchronization between the main application corresponding to the application software and sibling applications Execute the operation instruction. Wherein, the sibling application is an avatar application other than the application software in the avatar application of the main application; the application software and the same application are respectively installed under different users, including: the main application is installed in Under the master user, the clone application is installed under the slave user, and the master user includes an access port for operating the clone application. Exemplarily, add a new user again, and the id of the added user is 02, then the microblog application created under the user with id 02 and the microblog application created under the user with id 01 are sibling applications .
在上述技术方案的基础上,控制和所述应用软件相同的应用同步执行所述操作指令包括:判断根据所述操作指令执行的操作是否为预设的同步操作,若是,则控制和所述应用软件相同的应用同步执行所述操作指令。其中,该预设的同步操作可以是头像的设定、数据的更改、更新升级等。示例性的,该预设的同步操作可以是系统默认设置的在多个相同的应用之间可进行信息同步的操作,以此使用户不必在各个相同的应用之间重复执行相同的操作。On the basis of the above technical solution, controlling the same application as the application software to execute the operation instruction synchronously includes: judging whether the operation executed according to the operation instruction is a preset synchronous operation, and if so, controlling and executing the operation instruction with the application software The applications of the same software execute the operation instructions synchronously. Wherein, the preset synchronous operation may be the setting of the avatar, the modification of the data, the updating and upgrading, and the like. Exemplarily, the preset synchronization operation may be an operation set by the system to perform information synchronization between multiple identical applications, so that the user does not need to repeatedly perform the same operation among the same applications.
图3所示为本发明实施例提供的另一种信息同步的流程图,本实施例在上述各实施例的基础上,给出了一种具体的针对操作指令进行同步的方式,包括如下步骤:Figure 3 is a flowchart of another information synchronization provided by the embodiment of the present invention. On the basis of the above-mentioned embodiments, this embodiment provides a specific method for synchronizing operation instructions, including the following steps :
步骤301、获取用户通过应用软件执行的对所述应用软件的数据信息进行的数据操作指令,并对所述数据操作指令依次进行记录。Step 301: Obtain data operation instructions executed by the user through the application software on the data information of the application software, and record the data operation instructions in sequence.
示例性的,通过Android系统的adb install默认安装的应用会安装到所有已创建的用户中,系统在/data/system/user/下创建有各个用户对应的id的文件夹,每个文件夹下存放了用户对应的各种系统数据,如:桌面widget列表、设置的数据库、默认应用启动策略等。相应的,不同用户id对应的文件夹也存放了在各个用户下创建有的软件应用。示例性的,当前系统中包含1个主用户(id为0)和2个创建的新增用户(id分别为01和02),相应的,系统文件的目录为/data/system/user/0、/data/system/user/01和/data/system/user/02,如3个用户分别安装有微信应用,则微信应用对应的目录可以是/data/system/user/0/weixin、/data/system/user/01/weixin和/data/system/user/02/weixin。Exemplarily, the application installed by default through the adb install of the Android system will be installed to all created users, and the system will create folders with IDs corresponding to each user under /data/system/user/, and each folder will be Various system data corresponding to the user are stored, such as: desktop widget list, set database, default application startup policy, etc. Correspondingly, folders corresponding to different user ids also store software applications created under each user. Exemplarily, the current system contains 1 main user (id is 0) and 2 newly created users (ids are 01 and 02 respectively), correspondingly, the directory of the system file is /data/system/user/0 , /data/system/user/01 and /data/system/user/02, if the three users have WeChat applications installed respectively, the corresponding directories of WeChat applications can be /data/system/user/0/weixin, /data /system/user/01/weixin and /data/system/user/02/weixin.
示例性的,若用户在用户0即主用户下新增了一张图片数据,保存在了/data/system/user/0/weixin文件夹中,相应的,本步骤对该新增图片数据的数据操作指令进行获取,以便于后续信息的同步。Exemplarily, if the user adds a piece of picture data under user 0, which is the main user, and saves it in the /data/system/user/0/weixin folder, correspondingly, this step will Data operation instructions are obtained to facilitate the synchronization of subsequent information.
步骤302、控制和所述应用软件相同的应用同步执行所述数据操作指令。Step 302, controlling the same application as the application software to execute the data operation instruction synchronously.
示例性的,该数据操作指令可以是对应用软件中涉及到的数据进行的添加、删除和更改,对应的,当/data/system/user/目录中,其中一个用户id的文件夹下应用的数据变动后,/data/system/user/目录下其他用户id文件夹中对应的相同应用的目录下文件进行同样的更改操作,由此保证了各个相同应用之间数据信息的同步。Exemplarily, the data operation instruction can be the addition, deletion and modification of the data involved in the application software. Correspondingly, when in the /data/system/user/ directory, one of the user id folders is applied After the data is changed, the files in the directory of the same application corresponding to the other user id folders in the /data/system/user/ directory perform the same modification operation, thus ensuring the synchronization of data information between the same applications.
本实施例的技术方案,通过对一个应用进行的数据操作同步到其它相同的应用中,解决了目前当用户需要进行数据信息更改时,需要在各个应用之间频繁切换,当切换到对应的应用后再重复执行相同的数据操作来完成信息的同步,由此带来操作繁琐、效率低下,用户体验较差的问题,实现了多个相同应用之间的数据信息同步,极大的简化了用户的操作步骤,提高了执行效率。The technical solution of this embodiment solves the problem of frequently switching between applications when users need to change data information by synchronizing the data operations performed on one application to other same applications. Then repeat the same data operation to complete the synchronization of information, resulting in cumbersome operations, low efficiency, and poor user experience. It realizes the synchronization of data information between multiple identical applications, which greatly simplifies the user experience. The operation steps improve the execution efficiency.
图4所示为本发明实施例提供的另一种信息同步的流程图,本实施例在上述各实施例的基础上,给出了一种具体的针对操作指令进行同步的方式,包括如下步骤:Figure 4 is a flowchart of another information synchronization provided by the embodiment of the present invention. On the basis of the above-mentioned embodiments, this embodiment provides a specific method for synchronizing operation instructions, including the following steps :
步骤401、获取用户通过应用软件执行的对所述应用软件的配置信息进行的配置操作指令,并对所述配置操作指令依次进行记录。Step 401: Obtain configuration operation instructions executed by the user through the application software on the configuration information of the application software, and record the configuration operation instructions in sequence.
示例性的,该配置操作指令可以是对应用软件的功能的配置,如对自动定时清理垃圾数据的配置、不进行自动升级的配置以及当应用开启时自动开启GPS定位的配置等。还可以是对应用软件自身的系统设置,如头像的更换、身份信息的设置等。本步骤中,获取用户通过应用软件执行的对应用软件的配置信息进行的配置操作指令,并对所述配置操作指令依次进行记录以用于后续及时的进行配置信息的同步操作。Exemplarily, the configuration operation instruction may be the configuration of the function of the application software, such as the configuration of automatically cleaning junk data at regular intervals, the configuration of not performing automatic upgrade, and the configuration of automatically enabling GPS positioning when the application is started. It can also be the system setting of the application software itself, such as changing the avatar, setting the identity information, and the like. In this step, the configuration operation instructions executed by the user on the configuration information of the application software through the application software are acquired, and the configuration operation instructions are recorded sequentially for subsequent and timely synchronization of configuration information.
步骤402、控制和所述应用软件相同的应用同步执行所述配置操作指令。Step 402, controlling the same application as the application software to execute the configuration operation instruction synchronously.
本步骤中,将步骤401获取到的配置操作指令在其他相同的应用中进行同步操作。示例性的,当用户在一个应用中进行身份信息(如出生日期、性别、城市等)的设置时,将会被同步到其它相同的应用中。具体的,就修改身份信息而言,可通过获取到的配置操作指令确定软件应用中的具体修改的项目,将多个相同应用中数据库里对应该项目的内容值进行一致性修改。In this step, the configuration operation instruction obtained in step 401 is synchronized in other identical applications. Exemplarily, when a user sets identity information (such as date of birth, gender, city, etc.) in an application, it will be synchronized to other identical applications. Specifically, as far as modifying identity information is concerned, the specific modification item in the software application can be determined through the obtained configuration operation instruction, and the content value corresponding to the item in the database in multiple identical applications can be modified consistently.
本实施例的技术方案,通过对一个应用进行的配置操作同步到其它相同的应用中,解决了目前当用户需要进行配置信息更改时,需要在各个应用之间频繁切换,当切换到对应的应用后再重复执行相同的操作来完成配置信息的同步,由此带来操作繁琐、效率低下,用户体验较差的问题,实现了多个相同应用之间的配置信息同步,极大的简化了用户的操作步骤,提高了执行效率。The technical solution of this embodiment, by synchronizing the configuration operation performed on one application to other same applications, solves the problem that when users need to change configuration information, they need to frequently switch between applications. Then repeat the same operation to complete the synchronization of configuration information, resulting in cumbersome operations, low efficiency, and poor user experience. It realizes the synchronization of configuration information between multiple identical applications, which greatly simplifies the user experience. The operation steps improve the execution efficiency.
图5为本发明实施例提供的一种信息同步装置的结构图,具体包括:FIG. 5 is a structural diagram of an information synchronization device provided by an embodiment of the present invention, specifically including:
指令确定模块1,用于获取用户通过应用软件执行的操作指令,并对所述操作指令依次进行记录;An instruction determination module 1, configured to obtain the operation instructions executed by the user through the application software, and record the operation instructions in sequence;
信息同步模块2,用于控制和所述应用软件相同的应用同步执行所述操作指令,以完成各个相同应用之间的信息同步;An information synchronization module 2, configured to control the same applications as the application software to execute the operation instructions synchronously, so as to complete the information synchronization between the same applications;
其中,所述应用软件和与其相同的应用分别安装于不同用户下。Wherein, the application software and the same application are installed under different users.
本实施例的技术方案,通过获取用户通过应用软件执行的操作指令;控制和所述应用软件相同的应用同步执行所述操作指令,以完成各个相同应用之间的信息同步;其中,所述应用软件和与其相同的应用分别安装于不同用户下,解决了目前当用户需要进行信息更改时,需要在各个应用之间频繁切换,当切换到对应的应用后再重复执行相同的操作来完成信息的同步,由此带来操作繁琐、效率低下,用户体验较差的问题,实现了多个相同应用之间的信息同步,极大的简化了用户的操作步骤,提高了执行效率。In the technical solution of this embodiment, by obtaining the operation instruction executed by the user through the application software; controlling the same application as the application software to execute the operation instruction synchronously, so as to complete the information synchronization among the same applications; wherein, the application The software and the same application are installed under different users, which solves the problem that when users need to change information, they need to switch frequently between applications, and then repeat the same operation to complete the information after switching to the corresponding application. Synchronization, which brings about cumbersome operations, low efficiency, and poor user experience, realizes information synchronization between multiple identical applications, greatly simplifies the user's operation steps, and improves execution efficiency.
在上述技术方案的基础上,所述信息同步模块2具体用于:On the basis of the above technical solution, the information synchronization module 2 is specifically used for:
对所述应用软件的身份类型进行识别,若所述应用软件的身份类型为主应用,则控制所述应用软件对应的分身应用同步执行所述操作指令,其中,所述主应用安装于主用户下,所述分身应用安装于从用户下,所述主用户中包含用于对所述分身应用进行操作的接入口。Identifying the identity type of the application software, if the identity type of the application software is the main application, then controlling the avatar application corresponding to the application software to execute the operation instruction synchronously, wherein the main application is installed on the main user Next, the avatar application is installed under the secondary user, and the master user includes an access port for operating the avatar application.
在上述技术方案的基础上,所述信息同步模块2具体用于:On the basis of the above technical solution, the information synchronization module 2 is specifically used for:
对所述应用软件的身份类型进行识别,若所述应用软件的身份类型为分身应用,则控制所述应用软件对应的主应用和同胞应用同步执行所述操作指令,其中,所述同胞应用为所述主应用的分身应用中除所述应用软件外的其他分身应用,所述主应用安装于主用户下,所述分身应用安装于从用户下,所述主用户中包含用于对所述分身应用进行操作的接入口。Identifying the identity type of the application software, if the identity type of the application software is a clone application, controlling the main application and sibling applications corresponding to the application software to execute the operation instruction synchronously, wherein the sibling application is In the clone applications of the main application except the application software, the master application is installed under the master user, the clone application is installed under the slave user, and the master user includes the The access port for the clone application to operate.
在上述技术方案的基础上,所述信息同步模块2具体用于:On the basis of the above technical solution, the information synchronization module 2 is specifically used for:
判断根据所述操作指令执行的操作是否为预设的同步操作,若是,则控制和所述应用软件相同的应用同步执行所述操作指令。Judging whether the operation performed according to the operation instruction is a preset synchronous operation, and if so, controlling the same application as the application software to execute the operation instruction synchronously.
在上述技术方案的基础上,所述指令确定模块1具体用于:On the basis of the above technical solution, the instruction determination module 1 is specifically used for:
获取用户通过应用软件执行的对所述应用软件的数据信息进行的数据操作指令;Acquiring data operation instructions executed by the user through the application software on the data information of the application software;
所述信息同步模块2具体用于:The information synchronization module 2 is specifically used for:
控制和所述应用软件相同的应用同步执行所述数据操作指令。The same application as the application software is controlled to execute the data operation instruction synchronously.
在上述技术方案的基础上,所述指令确定模块1具体用于:On the basis of the above technical solution, the instruction determination module 1 is specifically used for:
获取用户通过应用软件执行的对所述应用软件的配置信息进行的配置操作指令;Obtaining configuration operation instructions executed by the user through the application software on the configuration information of the application software;
所述信息同步模块2具体用于:The information synchronization module 2 is specifically used for:
控制和所述应用软件相同的应用同步执行所述配置操作指令。The same application as the application software is controlled to execute the configuration operation instruction synchronously.
上述产品可执行本发明任意实施例所提供的方法,具备执行方法相应的功能模块和有益效果。The above-mentioned product can execute the method provided by any embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method.
本实施例在上述各实施例的基础上提供了一种终端设备,该终端设备可以包括本发明任意实施例提供的信息同步装置。图6为本发明实施例提供的一种终端设备的结构示意图,如图6所示,该终端设备可以包括:存储器601、中央处理器(Central ProcessingUnit,CPU)602、外设接口603、RF(Radio Frequency,射频)电路605、音频电路606、扬声器611、电源管理芯片608、输入/输出(I/O)子系统609、触摸屏612、其他输入/控制设备610以及外部端口604,这些部件通过一个或多个通信总线或信号线607来通信。This embodiment provides a terminal device on the basis of the foregoing embodiments, and the terminal device may include the information synchronization apparatus provided in any embodiment of the present invention. 6 is a schematic structural diagram of a terminal device provided by an embodiment of the present invention. As shown in FIG. 6, the terminal device may include: a memory 601, a central processing unit (Central Processing Unit, CPU) 602, a peripheral interface 603, an RF Radio Frequency, radio frequency) circuit 605, audio circuit 606, loudspeaker 611, power management chip 608, input/output (I/O) subsystem 609, touch screen 612, other input/control equipment 610 and external port 604, these components pass a or multiple communication buses or signal lines 607 for communication.
应该理解的是,图示终端设备600仅仅是终端设备的一个范例,并且终端设备600可以具有比图中所示出的更多的或者更少的部件,可以组合两个或更多的部件,或者可以具有不同的部件配置。图中所示出的各种部件可以在包括一个或多个信号处理和/或专用集成电路在内的硬件、软件、或硬件和软件的组合中实现。It should be understood that the illustrated terminal device 600 is only an example of a terminal device, and the terminal device 600 may have more or fewer components than those shown in the figure, and two or more components may be combined, Or can have a different component configuration. The various components shown in the figures may be implemented in hardware, software, or a combination of hardware and software including one or more signal processing and/or application specific integrated circuits.
下面就本实施例提供的用于多开应用的权限管理的终端设备进行详细的描述,该终端设备以智能手机为例。The following describes in detail the terminal device used for the permission management of multiple applications provided by this embodiment, and the terminal device takes a smart phone as an example.
存储器601,所述存储器601可以被CPU602、外设接口603等访问,所述存储器601可以包括高速随机存取存储器,还可以包括非易失性存储器,例如一个或多个磁盘存储器件、闪存器件、或其他易失性固态存储器件。Memory 601, the memory 601 can be accessed by the CPU 602, the peripheral interface 603, etc., the memory 601 can include a high-speed random access memory, and can also include a non-volatile memory, such as one or more disk storage devices, flash memory devices , or other volatile solid-state storage devices.
外设接口603,所述外设接口603可以将设备的输入和输出外设连接到CPU602和存储器601。Peripheral interface 603 , which can connect the input and output peripherals of the device to CPU 602 and memory 601 .
I/O子系统609,所述I/O子系统609可以将设备上的输入输出外设,例如触摸屏612和其他输入/控制设备610,连接到外设接口603。I/O子系统609可以包括显示控制器6091和用于控制其他输入/控制设备610的一个或多个输入控制器6092。其中,一个或多个输入控制器6092从其他输入/控制设备610接收电信号或者向其他输入/控制设备610发送电信号,其他输入/控制设备610可以包括物理按钮(按压按钮、摇臂按钮等)、拨号盘、滑动开关、操纵杆、点击滚轮。值得说明的是,输入控制器6092可以与以下任一个连接:键盘、红外端口、USB接口以及诸如鼠标的指示设备。The I/O subsystem 609 , the I/O subsystem 609 can connect input and output peripherals on the device, such as a touch screen 612 and other input/control devices 610 , to the peripheral interface 603 . I/O subsystem 609 may include a display controller 6091 and one or more input controllers 6092 for controlling other input/control devices 610 . Among them, one or more input controllers 6092 receive electrical signals from or send electrical signals to other input/control devices 610, which may include physical buttons (push buttons, rocker buttons, etc.) ), dials, slide switches, joysticks, click wheels. It is worth noting that the input controller 6092 can be connected to any of the following: a keyboard, an infrared port, a USB interface, and a pointing device such as a mouse.
触摸屏612,所述触摸屏612是用户终端与用户之间的输入接口和输出接口,将可视输出显示给用户,可视输出可以包括图形、文本、图标、视频等。A touch screen 612, the touch screen 612 is an input interface and an output interface between the user terminal and the user, and displays visual output to the user. The visual output may include graphics, text, icons, videos, and the like.
I/O子系统609中的显示控制器6091从触摸屏612接收电信号或者向触摸屏612发送电信号。触摸屏612检测触摸屏上的接触,显示控制器6091将检测到的接触转换为与显示在触摸屏612上的用户界面对象的交互,即实现人机交互,显示在触摸屏612上的用户界面对象可以是运行游戏的图标、联网到相应网络的图标等。值得说明的是,设备还可以包括光鼠,光鼠是不显示可视输出的触摸敏感表面,或者是由触摸屏形成的触摸敏感表面的延伸。The display controller 6091 in the I/O subsystem 609 receives electrical signals from the touch screen 612 or sends electrical signals to the touch screen 612 . The touch screen 612 detects the contact on the touch screen, and the display controller 6091 converts the detected contact into an interaction with the user interface object displayed on the touch screen 612, that is, realizes human-computer interaction, and the user interface object displayed on the touch screen 612 can be a running Icons for games, icons for networking to appropriate networks, etc. It is worth noting that the device may also include an optical mouse, which is a touch-sensitive surface that does not display visual output, or that is an extension of a touch-sensitive surface formed by a touchscreen.
RF电路605,主要用于建立手机与无线网络(即网络侧)的通信,实现手机与无线网络的数据接收和发送。例如收发短信息、电子邮件等。具体地,RF电路605接收并发送RF信号,RF信号也称为电磁信号,RF电路605将电信号转换为电磁信号或将电磁信号转换为电信号,并且通过该电磁信号与通信网络以及其他设备进行通信。RF电路605可以包括用于执行这些功能的已知电路,其包括但不限于天线系统、RF收发机、一个或多个放大器、调谐器、一个或多个振荡器、数字信号处理器、CODEC(COder-DECoder,编译码器)芯片组、用户标识模块(Subscriber Identity Module,SIM)等等。The RF circuit 605 is mainly used to establish communication between the mobile phone and the wireless network (that is, the network side), and realize data reception and transmission between the mobile phone and the wireless network. Such as sending and receiving short messages, e-mails, etc. Specifically, the RF circuit 605 receives and sends RF signals, which are also called electromagnetic signals, and the RF circuit 605 converts electrical signals into electromagnetic signals or converts electromagnetic signals into electrical signals, and communicates with communication networks and other devices through the electromagnetic signals to communicate. RF circuitry 605 may include known circuitry for performing these functions including, but not limited to, an antenna system, an RF transceiver, one or more amplifiers, a tuner, one or more oscillators, a digital signal processor, a CODEC ( COder-DECoder, Codec) Chipset, Subscriber Identity Module (Subscriber Identity Module, SIM) and so on.
音频电路606,主要用于从外设接口603接收音频数据,将该音频数据转换为电信号,并且将该电信号发送给扬声器611。The audio circuit 606 is mainly used to receive audio data from the peripheral interface 603 , convert the audio data into electrical signals, and send the electrical signals to the speaker 611 .
扬声器611,用于将手机通过RF电路605从无线网络接收的语音信号,还原为声音并向用户播放该声音。The speaker 611 is used to restore the voice signal received by the mobile phone from the wireless network through the RF circuit 605 into sound and play the sound to the user.
电源管理芯片608,用于为CPU602、I/O子系统及外设接口所连接的硬件进行供电及电源管理。The power management chip 608 is used for power supply and power management for the hardware connected to the CPU 602 , the I/O subsystem and the peripheral interface.
本发明实施例提供的CPU602可执行如下操作:The CPU602 provided by the embodiment of the present invention can perform the following operations:
获取用户通过应用软件执行的操作指令;Obtain the operation instructions executed by the user through the application software;
控制和所述应用软件相同的应用同步执行所述操作指令,以完成各个相同应用之间的信息同步;其中,所述应用软件和与其相同的应用分别安装于不同用户下。Control the same application as the application software to execute the operation instruction synchronously, so as to complete the information synchronization among the same applications; wherein, the application software and the same application are installed under different users respectively.
注意,上述仅为本发明的较佳实施例及所运用技术原理。本领域技术人员会理解,本发明不限于这里所述的特定实施例,对本领域技术人员来说能够进行各种明显的变化、重新调整和替代而不会脱离本发明的保护范围。因此,虽然通过以上实施例对本发明进行了较为详细的说明,但是本发明不仅仅限于以上实施例,在不脱离本发明构思的情况下,还可以包括更多其他等效实施例,而本发明的范围由所附的权利要求范围决定。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.
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610885250.7ACN106445693B (en) | 2016-10-10 | 2016-10-10 | Information synchronization method and device and terminal equipment |
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610885250.7ACN106445693B (en) | 2016-10-10 | 2016-10-10 | Information synchronization method and device and terminal equipment |
| Publication Number | Publication Date |
|---|---|
| CN106445693Atrue CN106445693A (en) | 2017-02-22 |
| CN106445693B CN106445693B (en) | 2020-01-14 |
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201610885250.7AExpired - Fee RelatedCN106445693B (en) | 2016-10-10 | 2016-10-10 | Information synchronization method and device and terminal equipment |
| Country | Link |
|---|---|
| CN (1) | CN106445693B (en) |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108197273A (en)* | 2018-01-08 | 2018-06-22 | 青岛海信移动通信技术股份有限公司 | The method and device that a kind of multi-user data synchronizes |
| CN113128236A (en)* | 2019-12-31 | 2021-07-16 | 广州慧睿思通科技股份有限公司 | Voice control method and device |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103135969A (en)* | 2011-11-26 | 2013-06-05 | 华为技术有限公司 | Method and device for operating, generating, and starting application program |
| CN104142793A (en)* | 2014-07-26 | 2014-11-12 | 珠海市君天电子科技有限公司 | Method and device for simulating click on terminal control |
| CN105574403A (en)* | 2015-12-14 | 2016-05-11 | 魅族科技(中国)有限公司 | Application control method and terminal |
| CN105827438A (en)* | 2016-03-11 | 2016-08-03 | 广东亿迅科技有限公司 | Method for setting APN automatically |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103135969A (en)* | 2011-11-26 | 2013-06-05 | 华为技术有限公司 | Method and device for operating, generating, and starting application program |
| CN104142793A (en)* | 2014-07-26 | 2014-11-12 | 珠海市君天电子科技有限公司 | Method and device for simulating click on terminal control |
| CN105574403A (en)* | 2015-12-14 | 2016-05-11 | 魅族科技(中国)有限公司 | Application control method and terminal |
| CN105827438A (en)* | 2016-03-11 | 2016-08-03 | 广东亿迅科技有限公司 | Method for setting APN automatically |
| Title |
|---|
| SMALL_ROLE: ""android 5.0 创建多用户 双开多开应用(2)"CSDN博客 https://blog.csdn.net/small_role/article/details/51745307,", 《ANDROID 5.0 创建多用户 双开多开应用(2)》* |
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108197273A (en)* | 2018-01-08 | 2018-06-22 | 青岛海信移动通信技术股份有限公司 | The method and device that a kind of multi-user data synchronizes |
| CN108197273B (en)* | 2018-01-08 | 2022-04-22 | 青岛海信移动通信技术股份有限公司 | Method and device for multi-user data synchronization |
| CN113128236A (en)* | 2019-12-31 | 2021-07-16 | 广州慧睿思通科技股份有限公司 | Voice control method and device |
| Publication number | Publication date |
|---|---|
| CN106445693B (en) | 2020-01-14 |
| Publication | Publication Date | Title |
|---|---|---|
| CN106357921B (en) | Application data sharing method and device and mobile terminal | |
| CN106484547B (en) | A management method, device and terminal for multi-opening applications | |
| CN106445647B (en) | Multi-open application data operation method and device and mobile terminal | |
| CN106657589A (en) | Method, device and mobile terminal for message reminder in multi-open application | |
| CN106484479B (en) | Multi-open application management method and device and intelligent terminal | |
| CN106650324A (en) | Application rights management method, device and mobile terminal | |
| CN107026933A (en) | A message management method, device and intelligent terminal for multiple applications | |
| CN106445671B (en) | Application program management method and device and terminal | |
| CN106648736B (en) | Application control method and device and mobile terminal | |
| CN106445706B (en) | Multi-open application data transmission method and device and mobile terminal | |
| CN106648738B (en) | A separate application management method, device and terminal | |
| CN106484517A (en) | A method, device and intelligent terminal for switching multiple applications | |
| CN106484419A (en) | Method, device and mobile terminal for searching information in application programs | |
| CN106648459B (en) | Application data management method and device and mobile terminal | |
| CN106502730B (en) | Multi-open application association management method and device and terminal | |
| CN106485111B (en) | Method, device and terminal for hiding self-service application | |
| CN106383672B (en) | Data deleting method and device for multi-open application and mobile terminal | |
| CN106650403B (en) | Multi-open application permission management method and device and intelligent terminal | |
| CN106648962B (en) | A management method, device and intelligent terminal for multi-opening applications | |
| CN106445670B (en) | Multi-open application data management method and device and mobile terminal | |
| CN106488020B (en) | Multi-open application operation management method and device and intelligent terminal | |
| CN106445693B (en) | Information synchronization method and device and terminal equipment | |
| CN106648908A (en) | Application process control method, device and mobile terminal | |
| CN106648298B (en) | Application control method and device and mobile terminal | |
| CN106484516B (en) | Method, device and terminal for deleting multi-open application reference relationship |
| 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:Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Applicant after:GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before:Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 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:20200114 |