系统数据的设置方法、系统数据的设置装置和终端System data setting method, system data setting device and terminal
本申请要求于2015年01月14日提交中国专利局,申请号为CN 201510018550.0、发明名称为“系统数据的设置方法、系统数据的设置装置和终端”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on January 14, 2015, the Chinese Patent Office, the application number is CN 201510018550.0, and the invention name is "system data setting method, system data setting device and terminal". This is incorporated herein by reference.
技术领域Technical field
本发明涉及终端技术领域,具体而言,涉及一种系统数据的设置方法、一种系统数据的设置装置和一种终端。The present invention relates to the field of terminal technologies, and in particular, to a method for setting system data, a device for setting system data, and a terminal.
背景技术Background technique
目前,一些终端上安装有多个系统,但用户对某一系统进行普通设置,如设置进入系统需要进行密码验证等时,该设置只在该系统中起作用,而无法同步到其他系统中,但对于这些不同系统间共有的普通设置而言,用户的习惯往往一样的,因而,这就导致使用户需在不同的系统间进行重复的设置。At present, some systems are installed on some terminals, but the user performs common settings on a certain system. For example, when setting to enter the system requires password verification, the setting only works in the system, and cannot be synchronized to other systems. However, the user's habits are often the same for common settings common to these different systems, and as a result, users are required to make repeated settings between different systems.
另一方面,对于不同系统中的特有数据,用户往往希望对每个系统中的特有数据进行特殊处理,不希望这些特有数据的设置被同步至其他系统。On the other hand, for unique data in different systems, users often want to perform special processing on unique data in each system, and it is not desirable to synchronize the settings of these unique data to other systems.
因此,如何使用户对不同系统中的特有数据进行特殊设置,同时解决不同系统中数据不同而导致的公共设置项即公共数据不能完全同步的问题,成为亟待解决的问题。Therefore, how to make the user set special data in different systems, and solve the problem that the common setting items, that is, the public data cannot be completely synchronized, caused by different data in different systems, has become an urgent problem to be solved.
发明内容Summary of the invention
本发明正是基于上述问题,提出了一种新的技术方案,可以使用户对不同系统中的特有数据进行特殊设置,同时解决不同系统中数据不同而导致的公共设置项即公共数据不能完全同步的问题。The invention is based on the above problems, and proposes a new technical solution, which enables the user to specially set the unique data in different systems, and simultaneously solves the problem that the common setting items, ie the public data, cannot be completely synchronized due to different data in different systems. The problem.
有鉴于此,本发明的一方面提出了一种系统数据的设置方法,用于终端,所述终端上安装有多个系统,所述方法包括:当所述多个系统中的任一系统接收到设置命令时,判断所述设置命令是否为与所述任一系统中的指定数据相关
联的命令,在判断结果为否时,若所述设置命令与所述任一系统及其他系统中的公共数据相关联,则根据所述设置命令对所述任一系统和所述其他系统中的所述公共数据进行设置,其中,所述其他系统为所述多个系统中除所述任一系统之外的至少一个系统。In view of this, an aspect of the present invention provides a method for setting system data for a terminal, the terminal having a plurality of systems installed thereon, the method comprising: receiving when any one of the plurality of systems receives When the setting command is reached, determining whether the setting command is related to the specified data in any one of the systems
If the command is associated with the public data in any one of the systems and the other systems, the set command is used in the system and the other system according to the setting command. The common data is set, wherein the other system is at least one of the plurality of systems except the one of the systems.
在该技术方案中,当所述多个系统中的任一系统接收到设置命令时,若该设置命令为与任一系统中的指定数据不相关联的命令,则说明该设置命令是与该任一系统中的普通设置或多个系统间的公共数据相关的设置命令,则可以将该设置命令同步至公共数据所在的所有系统,以使用户避免在不同系统中进行重复设置,以解决不同系统中数据不同而导致的公共设置项即公共数据不能完全同步的问题。例如:当终端上安装有系统A、系统B和系统C时,若用户在系统A上进行字体大小的设置(三个系统之间的公共数据),则终端接收到该设置命令时,会判断该设置命令与系统A中的特有数据无关,而是一项普通设置命令,这时,终端就会将该字体大小设置同步至系统B和系统C,以使三个系统中的字体大小显示相同。In the technical solution, when any one of the plurality of systems receives the setting command, if the setting command is a command that is not associated with the specified data in any of the systems, the setting command is The common settings in any system or the common data related setting commands between multiple systems can synchronize the setting commands to all systems where the public data is located, so that users can avoid repeated settings in different systems to solve different The common setting items caused by different data in the system, that is, the problem that public data cannot be completely synchronized. For example, when System A, System B, and System C are installed on the terminal, if the user sets the font size (common data between the three systems) on System A, the terminal will judge when receiving the setting command. This setting command is independent of the unique data in System A, but a common setting command. At this time, the terminal will synchronize the font size setting to System B and System C so that the font sizes in the three systems display the same. .
在上述技术方案中,优选地,若所述判断结果为所述设置命令为与所述任一系统中的指定数据相关联的命令,则根据所述设置命令对所述指定数据进行设置。In the above technical solution, preferably, if the determination result is that the setting command is a command associated with the designated data in any one of the systems, the specified data is set according to the setting command.
在该技术方案中,若该设置命令为与该任一系统中的指定数据相关联的命令,则终端只会将该任一系统中的指定数据(例如,该任一系统下的联系人信息、通讯记录等独有数据)进行特殊设置,而不会将该设置命令同步应用至其他系统,以确保用户可以对任一系统中的指定数据进行特殊处理,满足用户对不同系统的不同使用需求。In the technical solution, if the setting command is a command associated with the specified data in the system, the terminal only specifies the data in any one of the systems (for example, the contact information in the system) Special data such as communication records) Special settings are not applied to other systems simultaneously to ensure that users can perform special processing on specified data in any system to meet different user needs for different systems. .
在上述技术方案中,优选地,所述判断所述设置命令是否为与所述任一系统中的指定数据相关联的命令,具体包括:根据所述设置命令中包含的标识信息来判断所述设置命令否为与所述任一系统中的指定数据相关联的命令。In the above technical solution, preferably, the determining whether the setting command is a command associated with the specified data in the any one of the systems includes: determining, according to the identification information included in the setting command, the The set command is a command associated with the specified data in any of the systems described.
在该技术方案中,通过根据该设置命令中包含的标识信息可以为准确地判断该设置命令否为与该任一系统中的指定数据相关联的命令提供必要的前提基础,进而为是否将该设置命令同步应用至其他系统奠定基础,其中,该标识信息可以是标识公有数据和指定数据的标志,也可以是标识数据所属系统的标
志,以表示设置命令的种类。In this technical solution, by using the identification information included in the setting command, it is possible to accurately determine whether the setting command is a necessary premise basis for a command associated with the specified data in the system, and whether or not to Setting the command synchronization application to other systems lays the foundation, wherein the identification information may be a flag identifying the public data and the specified data, or may be a label identifying the system to which the data belongs.
To indicate the type of setting command.
在上述技术方案中,优选地,在根据所述设置命令对所述多个系统中的每个系统进行设置时,判断所述任一系统的安全等级是否低于所述多个系统中的其他任一系统的安全等级,并在判断结果为是时,提示终端用户是否根据所述设置命令对所述其他任一系统进行设置。In the above technical solution, preferably, when setting each of the plurality of systems according to the setting command, determining whether a security level of the any system is lower than other ones of the plurality of systems The security level of any system, and when the judgment result is yes, prompt the terminal user whether to set the other system according to the setting command.
在该技术方案中,在根据该设置命令对每个系统进行设置时,若任一系统的安全等级低于其他任一系统的安全等级,则在将该设置命令应用至其他任一系统时,需向终端用户发出提示信号,以使用户再次确认是否将该设置命令应用至其他任一系统,以防止安全等级较低的系统中的设置被应用至安全等级较高的系统,而影响安全等级较高的系统的安全性。例如:当终端在任一系统中进行进入系统免密码设置时,终端会判断该设置命令是一项普通设置命令,与任一系统中的指定数据无关,终端会将该设置命令同步应用至其他系统,但是若其他任一系统的安全等级高于该任一系统,终端就会向用户发出提示信号,以使用户确认是否将该设置命令应用至该其他任一系统,以防止对该其他任一系统的安全性造成威胁。In this technical solution, when each system is set according to the setting command, if the security level of any system is lower than the security level of any other system, when the setting command is applied to any other system, A prompt signal is sent to the end user to allow the user to reconfirm whether to apply the setting command to any other system to prevent the setting in the system with lower security level from being applied to the system with higher security level, and affecting the security level. Higher system security. For example, when the terminal enters the system password-free setting in any system, the terminal determines that the setting command is a common setting command, and the terminal will apply the setting command to other systems independently regardless of the specified data in any system. However, if any other system has a higher security level than any of the systems, the terminal will send a prompt to the user to confirm whether the setting command is applied to any other system to prevent any other The security of the system poses a threat.
在上述技术方案中,优选地,根据接收到的更新命令,更新所述指定数据。In the above technical solution, preferably, the specified data is updated according to the received update command.
在该技术方案中,用户可以随时随地更新任一系统中的指定数据,这有利于提高用户的使用体验。In this technical solution, the user can update the designated data in any system anytime and anywhere, which is beneficial to improve the user experience.
本发明的另一方面提出了一种系统数据的设置装置,用于终端,所述终端上安装有多个系统,所述装置包括:判断单元,当所述多个系统中的任一系统接收到设置命令时,判断所述设置命令是否为与所述任一系统中的指定数据相关联的命令;设置单元,在判断结果为否时,若所述设置命令与所述任一系统及其他系统中的公共数据相关联,则根据所述设置命令对所述任一系统和所述其他系统中的所述公共数据进行设置,其中,所述其他系统为所述多个系统中除所述任一系统之外的至少一个系统。Another aspect of the present invention provides a device for setting system data for a terminal, the terminal having a plurality of systems installed thereon, the device comprising: a determining unit, when any one of the plurality of systems receives When the setting command is reached, determining whether the setting command is a command associated with the specified data in any one of the systems; and setting the unit, if the determining result is no, if the setting command is related to any one of the system and the other The public data in the system is associated, and the common data in the any system and the other system is set according to the setting command, wherein the other system is the At least one system outside of any system.
在该技术方案中,当所述多个系统中的任一系统接收到设置命令时,若该设置命令为与任一系统中的指定数据不相关联的命令,则说明该设置命令是与该任一系统中的普通设置或多个系统间的公共数据相关的设置命令,则可以将该设置命令同步至公共数据所在的所有系统,以使用户避免在不同系统中进行
重复设置,以解决不同系统中数据不同而导致的公共设置项即公共数据不能完全同步的问题。例如:当终端上安装有系统A、系统B和系统C时,若用户在系统A上进行字体大小的设置(三个系统之间的公共数据),则终端接收到该设置命令时,会判断该设置命令与系统A中的特有数据无关,而是一项普通设置命令,这时,终端就会将该字体大小设置同步至系统B和系统C,以使三个系统中的字体大小显示相同。In the technical solution, when any one of the plurality of systems receives the setting command, if the setting command is a command that is not associated with the specified data in any of the systems, the setting command is The common settings in any system or the common data related setting commands between multiple systems can synchronize the setting commands to all systems where the public data is located, so that users can avoid being operated in different systems.
Repeat the settings to solve the problem that the common setting items, that is, the public data cannot be completely synchronized, caused by different data in different systems. For example, when System A, System B, and System C are installed on the terminal, if the user sets the font size (common data between the three systems) on System A, the terminal will judge when receiving the setting command. This setting command is independent of the unique data in System A, but a common setting command. At this time, the terminal will synchronize the font size setting to System B and System C so that the font sizes in the three systems display the same. .
在上述技术方案中,优选地,所述设置单元还用于:若所述判断结果为所述设置命令为与所述任一系统中的指定数据相关联的命令,则根据所述设置命令对所述指定数据进行设置。In the above technical solution, preferably, the setting unit is further configured to: if the determination result is that the setting command is a command associated with the specified data in any one of the systems, according to the setting command The specified data is set.
在该技术方案中,若该设置命令为与该任一系统中的指定数据相关联的命令,则终端只会将该任一系统中的指定数据(例如,该任一系统下的联系人信息、通讯记录等独有数据)进行特殊设置,而不会将该设置命令同步应用至其他系统,以确保用户可以对任一系统中的指定数据进行特殊处理,满足用户对不同系统的不同使用需求。In the technical solution, if the setting command is a command associated with the specified data in the system, the terminal only specifies the data in any one of the systems (for example, the contact information in the system) Special data such as communication records) Special settings are not applied to other systems simultaneously to ensure that users can perform special processing on specified data in any system to meet different user needs for different systems. .
在上述技术方案中,优选地,所述判断单元具体用于:根据所述设置命令中包含的标识信息来判断所述设置命令否为与所述任一系统中的指定数据相关联的命令。In the above technical solution, preferably, the determining unit is configured to: determine, according to the identifier information included in the setting command, whether the setting command is a command associated with the specified data in any one of the systems.
在该技术方案中,通过根据该设置命令中包含的标识信息可以为准确地判断该设置命令否为与该任一系统中的指定数据相关联的命令提供必要的前提基础,进而为是否将该设置命令同步应用至其他系统奠定基础,其中,该标识信息可以是标识公有数据和指定数据的标志,也可以是标识数据所属系统的标志,以表示设置命令的种类。In this technical solution, by using the identification information included in the setting command, it is possible to accurately determine whether the setting command is a necessary premise basis for a command associated with the specified data in the system, and whether or not to Setting the command synchronization application to other systems lays the foundation, wherein the identification information may be a flag identifying the public data and the specified data, or a flag identifying the system to which the data belongs, to indicate the type of the setting command.
在上述技术方案中,优选地,所述判断单元还用于:在根据所述设置命令对所述多个系统中的每个系统进行设置时,判断所述任一系统的安全等级是否低于所述多个系统中的其他任一系统的安全等级;提示单元,在判断结果为是时,提示终端用户是否根据所述设置命令对所述其他任一系统进行设置。In the above technical solution, preferably, the determining unit is further configured to: when setting each of the plurality of systems according to the setting command, determining whether the security level of the any system is lower than a security level of any one of the plurality of systems; the prompting unit, when the determination result is yes, prompting the terminal user whether to set the other system according to the setting command.
在该技术方案中,在根据该设置命令对每个系统进行设置时,若任一系统的安全等级低于其他任一系统的安全等级,则在将该设置命令应用至其他任一系统时,需向终端用户发出提示信号,以使用户再次确认是否将该设置命令应
用至其他任一系统,以防止安全等级较低的系统中的设置被应用至安全等级较高的系统,而影响安全等级较高的系统的安全性。例如:当终端在任一系统中进行进入系统免密码设置时,终端会判断该设置命令是一项普通设置命令,与任一系统中的指定数据无关,终端会将该设置命令同步应用至其他系统,但是若其他任一系统的安全等级高于该任一系统,终端就会向用户发出提示信号,以使用户确认是否将该设置命令应用至该其他任一系统,以防止对该其他任一系统的安全性造成威胁。In this technical solution, when each system is set according to the setting command, if the security level of any system is lower than the security level of any other system, when the setting command is applied to any other system, A prompt signal is sent to the end user to allow the user to reconfirm whether the setting command should be
Use to any other system to prevent settings in systems with lower security levels from being applied to systems with higher security levels, and to affect the security of systems with higher security levels. For example, when the terminal enters the system password-free setting in any system, the terminal determines that the setting command is a common setting command, and the terminal will apply the setting command to other systems independently regardless of the specified data in any system. However, if any other system has a higher security level than any of the systems, the terminal will send a prompt to the user to confirm whether the setting command is applied to any other system to prevent any other The security of the system poses a threat.
在上述技术方案中,优选地,更新单元,根据接收到的更新命令,更新所述指定数据。In the above technical solution, preferably, the update unit updates the specified data according to the received update command.
在该技术方案中,用户可以随时随地更新任一系统中的指定数据,这有利于提高用户的使用体验。In this technical solution, the user can update the designated data in any system anytime and anywhere, which is beneficial to improve the user experience.
本发明的又一方面提出了一种终端,包括:如上述技术方案中任一项所述的系统数据的设置装置。A further aspect of the present invention provides a terminal comprising: the apparatus for setting system data according to any one of the above aspects.
在该技术方案中,通过使用该系统数据的设置装置,可以使用户对不同系统中的特有数据进行特殊设置,同时解决不同系统中数据不同而导致的公共设置项和数据不能完全同步的问题。In the technical solution, by using the setting device of the system data, the user can make special settings for the unique data in different systems, and at the same time solve the problem that the common setting items and data cannot be completely synchronized due to different data in different systems.
通过本发明的技术方案,可以使用户对不同系统中的特有数据进行特殊设置,同时解决不同系统中数据不同而导致的公共设置项即公共数据不能完全同步的问题。Through the technical solution of the present invention, the user can make special settings for the unique data in different systems, and at the same time solve the problem that the common setting items, that is, the public data, cannot be completely synchronized due to different data in different systems.
附图说明DRAWINGS
图1示出了根据本发明的一个实施例的系统数据的设置方法的流程示意图;1 is a flow chart showing a method of setting system data according to an embodiment of the present invention;
图2示出了根据本发明的另一个实施例的系统数据的设置方法的流程示意图;2 is a flow chart showing a method of setting system data according to another embodiment of the present invention;
图3示出了根据本发明的一个实施例的系统数据的设置装置的结构示意图;FIG. 3 is a block diagram showing the structure of apparatus for setting system data according to an embodiment of the present invention; FIG.
图4示出了根据本发明的一个实施例的终端的结构示意图。
FIG. 4 shows a schematic structural diagram of a terminal according to an embodiment of the present invention.
具体实施方式detailed description
为了可以更清楚地理解本发明的上述目的、特征和优点,下面结合附图和具体实施方式对本发明进行进一步的详细描述。需要说明的是,在不冲突的情况下,本申请的实施例及实施例中的特征可以相互组合。The above described objects, features and advantages of the present invention will become more apparent from the detailed description of the appended claims. It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict.
在下面的描述中阐述了很多具体细节以便于充分理解本发明,但是,本发明还可以采用其他不同于在此描述的其他方式来实施,因此,本发明的保护范围并不受下面公开的具体实施例的限制。In the following description, numerous specific details are set forth in order to provide a full understanding of the invention, but the invention may be practiced otherwise than as described herein. Limitations of the embodiments.
图1示出了根据本发明的一个实施例的系统数据的设置方法的流程示意图。FIG. 1 is a flow chart showing a method of setting system data according to an embodiment of the present invention.
如图1所示,根据本发明的一个实施例的系统数据的设置方法,包括:步骤102,当所述多个系统中的任一系统接收到设置命令时,判断所述设置命令是否为与所述任一系统中的指定数据相关联的命令,在判断结果为否时,若所述设置命令与所述任一系统及其他系统中的公共数据相关联,则根据所述设置命令对所述任一系统和所述其他系统中的所述公共数据进行设置,其中,所述其他系统为所述多个系统中除所述任一系统之外的至少一个系统。。As shown in FIG. 1, a method for setting system data according to an embodiment of the present invention includes: Step 102: When any one of the plurality of systems receives a setting command, determine whether the setting command is The command associated with the specified data in any one of the systems, if the determination result is no, if the setting command is associated with the public data in any of the systems and other systems, the setting command is The public data in any of the systems and the other systems is set, wherein the other system is at least one of the plurality of systems except the one of the systems. .
在该技术方案中,当所述多个系统中的任一系统接收到设置命令时,若该设置命令为与任一系统中的指定数据不相关联的命令,则说明该设置命令是与该任一系统中的普通设置或多个系统间的公共数据相关的设置命令,则可以将该设置命令同步至公共数据所在的所有系统,以使用户避免在不同系统中进行重复设置,以解决不同系统中数据不同而导致的公共设置项即公共数据不能完全同步的问题。例如:当终端上安装有系统A、系统B和系统C时,若用户在系统A上进行字体大小的设置(三个系统之间的公共数据),则终端接收到该设置命令时,会判断该设置命令与系统A中的特有数据无关,而是一项普通设置命令,这时,终端就会将该字体大小设置同步至系统B和系统C,以使三个系统中的字体大小显示相同。In the technical solution, when any one of the plurality of systems receives the setting command, if the setting command is a command that is not associated with the specified data in any of the systems, the setting command is The common settings in any system or the common data related setting commands between multiple systems can synchronize the setting commands to all systems where the public data is located, so that users can avoid repeated settings in different systems to solve different The common setting items caused by different data in the system, that is, the problem that public data cannot be completely synchronized. For example, when System A, System B, and System C are installed on the terminal, if the user sets the font size (common data between the three systems) on System A, the terminal will judge when receiving the setting command. This setting command is independent of the unique data in System A, but a common setting command. At this time, the terminal will synchronize the font size setting to System B and System C so that the font sizes in the three systems display the same. .
在上述技术方案中,优选地,若所述判断结果为所述设置命令为与所述任一系统中的指定数据相关联的命令,则根据所述设置命令对所述指定数据进行设置。In the above technical solution, preferably, if the determination result is that the setting command is a command associated with the designated data in any one of the systems, the specified data is set according to the setting command.
在该技术方案中,若该设置命令为与该任一系统中的指定数据相关联的命
令,则终端只会将该任一系统中的指定数据(例如,该任一系统下的联系人信息、通讯记录等独有数据)进行特殊设置,而不会将该设置命令同步应用至其他系统,以确保用户可以对任一系统中的指定数据进行特殊处理,满足用户对不同系统的不同使用需求。In the technical solution, if the setting command is a life associated with the specified data in any one of the systems
Otherwise, the terminal will only set the specified data in any system (for example, the unique information such as contact information and communication records under any system), and will not apply the setting command to other The system ensures that the user can perform special processing on the specified data in any system to meet the different usage requirements of the user for different systems.
在上述技术方案中,优选地,所述判断所述设置命令是否为与所述任一系统中的指定数据相关联的命令,具体包括:根据所述设置命令中包含的标识信息来判断所述设置命令否为与所述任一系统中的指定数据相关联的命令。In the above technical solution, preferably, the determining whether the setting command is a command associated with the specified data in the any one of the systems includes: determining, according to the identification information included in the setting command, The set command is a command associated with the specified data in any of the systems described.
在该技术方案中,通过根据该设置命令中包含的标识信息可以为准确地判断该设置命令否为与该任一系统中的指定数据相关联的命令提供必要的前提基础,进而为是否将该设置命令同步应用至其他系统奠定基础,其中,该标识信息可以是标识公有数据和指定数据的标志,也可以是标识数据所属系统的标志,以表示设置命令的种类。In this technical solution, by using the identification information included in the setting command, it is possible to accurately determine whether the setting command is a necessary premise basis for a command associated with the specified data in the system, and whether or not to Setting the command synchronization application to other systems lays the foundation, wherein the identification information may be a flag identifying the public data and the specified data, or a flag identifying the system to which the data belongs, to indicate the type of the setting command.
在上述技术方案中,优选地,在根据所述设置命令对所述多个系统中的每个系统进行设置时,判断所述任一系统的安全等级是否低于所述多个系统中的其他任一系统的安全等级,并在判断结果为是时,提示终端用户是否根据所述设置命令对所述其他任一系统进行设置。In the above technical solution, preferably, when setting each of the plurality of systems according to the setting command, determining whether a security level of the any system is lower than other ones of the plurality of systems The security level of any system, and when the judgment result is yes, prompt the terminal user whether to set the other system according to the setting command.
在该技术方案中,在根据该设置命令对每个系统进行设置时,若任一系统的安全等级低于其他任一系统的安全等级,则在将该设置命令应用至其他任一系统时,需向终端用户发出提示信号,以使用户再次确认是否将该设置命令应用至其他任一系统,以防止安全等级较低的系统中的设置被应用至安全等级较高的系统,而影响安全等级较高的系统的安全性。例如:当终端在任一系统中进行进入系统免密码设置时,终端会判断该设置命令是一项普通设置命令,与任一系统中的指定数据无关,终端会将该设置命令同步应用至其他系统,但是若其他任一系统的安全等级高于该任一系统,终端就会向用户发出提示信号,以使用户确认是否将该设置命令应用至该其他任一系统,以防止对该其他任一系统的安全性造成威胁。In this technical solution, when each system is set according to the setting command, if the security level of any system is lower than the security level of any other system, when the setting command is applied to any other system, A prompt signal is sent to the end user to allow the user to reconfirm whether to apply the setting command to any other system to prevent the setting in the system with lower security level from being applied to the system with higher security level, and affecting the security level. Higher system security. For example, when the terminal enters the system password-free setting in any system, the terminal determines that the setting command is a common setting command, and the terminal will apply the setting command to other systems independently regardless of the specified data in any system. However, if any other system has a higher security level than any of the systems, the terminal will send a prompt to the user to confirm whether the setting command is applied to any other system to prevent any other The security of the system poses a threat.
在上述技术方案中,优选地,根据接收到的更新命令,更新所述指定数据。In the above technical solution, preferably, the specified data is updated according to the received update command.
在该技术方案中,用户可以随时随地更新任一系统中的指定数据,这有利于提高用户的使用体验。
In this technical solution, the user can update the designated data in any system anytime and anywhere, which is beneficial to improve the user experience.
图2示出了根据本发明的另一个实施例的系统数据的设置方法的流程示意图。FIG. 2 is a flow chart showing a method of setting system data according to another embodiment of the present invention.
如图2所示,根据本发明的另一个实施例的系统数据的设置方法,包括:As shown in FIG. 2, a method for setting system data according to another embodiment of the present invention includes:
步骤202,用户在系统A中进行某个设置。In step 202, the user makes a certain setting in system A.
步骤204,判断该设置是否与系统A中的特有数据(指定数据)有关,并在判断结果为是时,执行步骤208;否则,执行步骤206。In step 204, it is determined whether the setting is related to the unique data (designated data) in the system A, and when the determination result is yes, step 208 is performed; otherwise, step 206 is performed.
步骤206,将系统A中的设置同步至其他系统。In step 206, the settings in system A are synchronized to other systems.
步骤208,其他系统不做任何处理。In step 208, the other systems do nothing.
例如:假定终端上安装有系统A(普通系统)和系统B(安全系统),由于安全联系人全部存储在安全系统中,普通联系人存储在普通系统中,而且相互之间不会有交叉,因此安全联系人便是安全系统中的特有数据,普通联系人便是普通系统中的特有数据,当用户在普通系统中添加一个普通联系人到白名单时,这个操作就是与普通系统的特有数据有关,因而添加完成后,只是普通系统的白名单数据发生变化,安全系统中的白名单数据无任何变化;但是当用户在普通系统中将防打扰的时间段(该时间段只接受白名单用户的电话或短信)由23:00—08:00修改为22:00—7:30时,安全系统中的防打扰的时间段也应该做相应变化。For example, suppose that the system A (general system) and system B (security system) are installed on the terminal. Since the security contacts are all stored in the security system, the ordinary contacts are stored in the ordinary system, and there is no cross between them. Therefore, the security contact is the unique data in the security system. The ordinary contact is the unique data in the ordinary system. When the user adds an ordinary contact to the white list in the ordinary system, this operation is the unique data with the ordinary system. Related, so after the addition is completed, only the whitelist data of the ordinary system changes, and the whitelist data in the security system does not change; but when the user is in the normal system, the anti-interference period (the time period only accepts the whitelisted user) The time of the anti-interference in the security system should also be changed accordingly when the phone or text message is changed from 23:00 to 08:00 to 22:00-7:30.
图3示出了根据本发明的一个实施例的系统数据的设置装置的结构示意图。FIG. 3 is a block diagram showing the arrangement of system data according to an embodiment of the present invention.
如图3所示,根据本发明的一个实施例的系统数据的设置装置300,包括:判断单元302,当所述多个系统中的任一系统接收到设置命令时,判断所述设置命令是否为与所述任一系统中的指定数据相关联的命令;设置单元304,在判断结果为否时,若所述设置命令与所述任一系统及其他系统中的公共数据相关联,则根据所述设置命令对所述任一系统和所述其他系统中的所述公共数据进行设置,其中,所述其他系统为所述多个系统中除所述任一系统之外的至少一个系统。As shown in FIG. 3, the system data setting apparatus 300 according to an embodiment of the present invention includes: a determining unit 302, when any one of the plurality of systems receives a setting command, determines whether the setting command is a command associated with the specified data in any of the systems; the setting unit 304, if the determination result is no, if the setting command is associated with the public data in any of the systems and other systems, The setting command sets the common data in any one of the systems and the other systems, wherein the other system is at least one of the plurality of systems except the one of the systems.
在该技术方案中,当所述多个系统中的任一系统接收到设置命令时,若该设置命令为与任一系统中的指定数据不相关联的命令,则说明该设置命令是与该任一系统中的普通设置或多个系统间的公共数据相关的设置命令,则可以将
该设置命令同步至公共数据所在的所有系统,以使用户避免在不同系统中进行重复设置,以解决不同系统中数据不同而导致的公共设置项即公共数据不能完全同步的问题。例如:当终端上安装有系统A、系统B和系统C时,若用户在系统A上进行字体大小的设置(三个系统之间的公共数据),则终端接收到该设置命令时,会判断该设置命令与系统A中的特有数据无关,而是一项普通设置命令,这时,终端就会将该字体大小设置同步至系统B和系统C,以使三个系统中的字体大小显示相同。In the technical solution, when any one of the plurality of systems receives the setting command, if the setting command is a command that is not associated with the specified data in any of the systems, the setting command is Common settings in any system or common data related setting commands between multiple systems, you can
This setting command is synchronized to all systems where public data is located, so that users can avoid repeated settings in different systems to solve the problem that common setting items, that is, public data cannot be completely synchronized, caused by different data in different systems. For example, when System A, System B, and System C are installed on the terminal, if the user sets the font size (common data between the three systems) on System A, the terminal will judge when receiving the setting command. This setting command is independent of the unique data in System A, but a common setting command. At this time, the terminal will synchronize the font size setting to System B and System C so that the font sizes in the three systems display the same. .
在上述技术方案中,优选地,所述设置单元304还用于:若所述判断结果为所述设置命令为与所述任一系统中的指定数据相关联的命令,则根据所述设置命令对所述指定数据进行设置。In the above technical solution, preferably, the setting unit 304 is further configured to: if the determination result is that the setting command is a command associated with the specified data in any one of the systems, according to the setting command The specified data is set.
在该技术方案中,若该设置命令为与该任一系统中的指定数据相关联的命令,则终端只会将该任一系统中的指定数据(例如,该任一系统下的联系人信息、通讯记录等独有数据)进行特殊设置,而不会将该设置命令同步应用至其他系统,以确保用户可以对任一系统中的指定数据进行特殊处理,满足用户对不同系统的不同使用需求。In the technical solution, if the setting command is a command associated with the specified data in the system, the terminal only specifies the data in any one of the systems (for example, the contact information in the system) Special data such as communication records) Special settings are not applied to other systems simultaneously to ensure that users can perform special processing on specified data in any system to meet different user needs for different systems. .
在上述技术方案中,优选地,所述判断单元302具体用于:根据所述设置命令中包含的标识信息来判断所述设置命令否为与所述任一系统中的指定数据相关联的命令。In the above technical solution, preferably, the determining unit 302 is configured to: determine, according to the identifier information included in the setting command, whether the setting command is a command associated with the specified data in any one of the systems. .
在该技术方案中,通过根据该设置命令中包含的标识信息可以为准确地判断该设置命令否为与该任一系统中的指定数据相关联的命令提供必要的前提基础,进而为是否将该设置命令同步应用至其他系统奠定基础,其中,该标识信息可以是标识公有数据和指定数据的标志,也可以是标识数据所属系统的标志,以表示设置命令的种类。In this technical solution, by using the identification information included in the setting command, it is possible to accurately determine whether the setting command is a necessary premise basis for a command associated with the specified data in the system, and whether or not to Setting the command synchronization application to other systems lays the foundation, wherein the identification information may be a flag identifying the public data and the specified data, or a flag identifying the system to which the data belongs, to indicate the type of the setting command.
在上述技术方案中,优选地,所述判断单元302还用于:在根据所述设置命令对所述多个系统中的每个系统进行设置时,判断所述任一系统的安全等级是否低于所述多个系统中的其他任一系统的安全等级;提示单元306,在判断结果为是时,提示终端用户是否根据所述设置命令对所述其他任一系统进行设置。In the above technical solution, preferably, the determining unit 302 is further configured to: determine whether the security level of the any system is low when setting each of the multiple systems according to the setting command The security level of any of the plurality of systems; the prompting unit 306, when the determination result is yes, prompting the terminal user whether to set the other system according to the setting command.
在该技术方案中,在根据该设置命令对每个系统进行设置时,若任一系统
的安全等级低于其他任一系统的安全等级,则在将该设置命令应用至其他任一系统时,需向终端用户发出提示信号,以使用户再次确认是否将该设置命令应用至其他任一系统,以防止安全等级较低的系统中的设置被应用至安全等级较高的系统,而影响安全等级较高的系统的安全性。例如:当终端在任一系统中进行进入系统免密码设置时,终端会判断该设置命令是一项普通设置命令,与任一系统中的指定数据无关,终端会将该设置命令同步应用至其他系统,但是若其他任一系统的安全等级高于该任一系统,终端就会向用户发出提示信号,以使用户确认是否将该设置命令应用至该其他任一系统,以防止对该其他任一系统的安全性造成威胁。In this technical solution, if each system is set according to the setting command, if any system
If the security level is lower than the security level of any other system, when applying the setting command to any other system, a prompt signal is sent to the end user, so that the user can confirm again whether to apply the setting command to any other one. The system is designed to prevent settings in systems with lower security levels from being applied to systems with higher security levels, and to affect the security of systems with higher security levels. For example, when the terminal enters the system password-free setting in any system, the terminal determines that the setting command is a common setting command, and the terminal will apply the setting command to other systems independently regardless of the specified data in any system. However, if any other system has a higher security level than any of the systems, the terminal will send a prompt to the user to confirm whether the setting command is applied to any other system to prevent any other The security of the system poses a threat.
在上述技术方案中,优选地,更新单元308,根据接收到的更新命令,更新所述指定数据。In the above technical solution, preferably, the updating unit 308 updates the specified data according to the received update command.
在该技术方案中,用户可以随时随地更新任一系统中的指定数据,这有利于提高用户的使用体验。In this technical solution, the user can update the designated data in any system anytime and anywhere, which is beneficial to improve the user experience.
图4示出了根据本发明的一个实施例的终端的结构示意图。FIG. 4 shows a schematic structural diagram of a terminal according to an embodiment of the present invention.
如图4所示,根据本发明的一个实施例的终端400,包括:如上述技术方案中任一项所述的系统数据的设置装置300。As shown in FIG. 4, a terminal 400 according to an embodiment of the present invention includes: a setting device 300 for system data according to any one of the above aspects.
在该技术方案中,通过使用该系统数据的设置装置300,可以使用户对不同系统中的特有数据进行特殊设置,同时解决不同系统中数据不同而导致的公共设置项和数据不能完全同步的问题。In the technical solution, by using the setting device 300 of the system data, the user can make special settings for the unique data in different systems, and at the same time solve the problem that the common setting items and data cannot be completely synchronized due to different data in different systems. .
以上结合附图详细说明了本发明的技术方案,可以使用户对不同系统中的特有数据进行特殊设置,同时解决不同系统中数据不同而导致的公共设置项和数据不能完全同步的问题。The technical solution of the present invention is described in detail above with reference to the accompanying drawings, which can enable the user to specially set the unique data in different systems, and solve the problem that the common setting items and data cannot be completely synchronized due to different data in different systems.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
The above description is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.