CN104965732A - Desktop startup method and apparatus - Google Patents

Desktop startup method and apparatus Download PDF

Info

Publication number
CN104965732A
CN104965732A CN 201510307434 CN201510307434A CN104965732A CN 104965732 A CN104965732 A CN 104965732A CN 201510307434 CN201510307434 CN 201510307434 CN 201510307434 A CN201510307434 A CN 201510307434A CN 104965732 A CN104965732 A CN 104965732A
Authority
CN
Grant status
Application
Patent type
Prior art keywords
desktop
startup
program
data
method
Prior art date
Application number
CN 201510307434
Other languages
Chinese (zh)
Inventor
张霄
史博琼
朱立元
Original Assignee
小米科技有限责任公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date

Links

Abstract

The present invention relates to a desktop startup method and apparatus and belongs to the technical field of a terminal. The method comprises: when receiving a start instruction of a first desktop startup program, suspending a second desktop startup program, wherein the first desktop startup program and the second desktop startup program correspond to different databases; starting up the first desktop startup program; acquiring desktop display data of the first desktop startup program from a first database, wherein the first database is a database corresponding to the first desktop startup program; and based on the desktop display data of the first desktop startup program, loading a first desktop. According to the embodiment of the present invention, by the first desktop startup program, separate management of personal data and impersonal data can be realized.

Description

桌面启动方法及装置 Method and apparatus for starting the desktop

技术领域 FIELD

[0001] 本公开设及终端技术领域,尤其设及一种桌面启动方法及装置。 [0001] The present disclosure is provided and terminal technologies, design, and one particular method and apparatus for starting the desktop.

背景技术 Background technique

[0002] 随着技术的快速发展,出现了多种不同型号的移动终端,并且每种移动终端都自带一个桌面启动程序,比如,Launcher、homescreen。 [0002] With the rapid development of technology, a variety of different types of mobile terminals, mobile terminals and each comes with a desktop launcher, for example, Launcher, homescreen. 该桌面启动程序用于显示该移动终端已安装的每个应用程序的图标,W及该桌面启动程序还用于删除应用程序、移动应用程序图标的位置等等。 The desktop icon to start the program for each application has been installed in the mobile terminal, W and start the program for the desktop display is also used to position delete an application, mobile application icons and so on. 因此,当启动移动终端时,还需要启动该移动终端的桌面启动程序,并在该桌面启动程序启动完成之后,用户可W基于该桌面启动程序,对该移动终端进行操作,从而使移动终端基于用户的操作,对移动终端中的数据进行处理。 Thus, when starting the mobile terminal, need to start the program launch the desktop of the mobile terminal, and after the startup is completed to start the desktop, the user can start the program table based on the W, operates the mobile terminal, thereby enabling the mobile terminal based on a user's operation, the data processed in the mobile terminal.

[0003] 而目前,移动终端不仅可W对个人数据进行处理,比如家人或亲戚的联系方式、短信等,还可W对非个人数据进行处理,比如工作数据,并且对个人数据和非个人数据进行处理之后,还可W将处理后的个人数据和非个人数据存储在该终端的数据库中。 [0003] At present, the mobile terminal not only can W to processing of personal data, such as family members or relatives contact information, text messages, but also for non-W processing of personal data, such as work data and personal data and non-personal data after processing, the further processing of personal data and the W non-personal data stored in a database in the terminal.

发明内容 SUMMARY

[0004] 为克服相关技术中存在的问题,本公开提供一种桌面启动方法及装置。 [0004] In order to overcome the problems in the related art, the present disclosure provides a method and apparatus for starting the desktop.

[0005] 根据本公开实施例的第一方面,提供一种桌面启动方法,所述方法包括: [0005] According to a first aspect of the disclosed embodiment of the present embodiment, there is provided a method of starting the desktop, the method comprising:

[0006] 当接收到第一桌面启动程序的启动指令时,挂起第二桌面启动程序,所述第一桌面启动程序和所述第二桌面启动程序对应不同的数据库; [0006] When a start command is received first desktop to start the program, start a program hangs second table, said first table and said second table launcher launcher correspond to different databases;

[0007] 启动所述第一桌面启动程序; [0007] Start the first desktop launcher;

[000引从第一数据库中,获取所述第一桌面启动程序的桌面显示数据,所述第一数据库为所述第一桌面启动程序对应的数据库; [000 leading from the first database, obtaining the first desktop table launcher display data, the first database of the first database table corresponding boot program;

[0009] 基于所述第一桌面启动程序的桌面显示数据,加载第一桌面。 [0009] Display data table based on the first table of the boot program, loading first desktop.

[0010] 结合第一方面,在上述第一方面的第一种可能的实现方式中,所述基于所述第一桌面启动程序的显示数据,加载第一桌面之后,还包括: After the [0010] connection with the first aspect, in the first possible implementation of the first aspect, the data of the first table based on the display of the boot program, loading first desktop, further comprising:

[0011] 当接收到所述第二桌面启动程序的启动指令时,挂起所述第一桌面启动程序; [0011] Upon receiving a start command to start the second program table, the first table hangs boot program;

[0012] 基于所述第一桌面启动程序对应的指定访问密码,对所述第一数据库进行加密。 [0012] Based on the first table specified access password corresponding boot program, the first database is encrypted.

[0013] 结合第一方面,在上述第一方面的第二种可能的实现方式中,所述从第一数据库中,获取所述第一桌面启动程序的桌面显示数据,包括: [0013] with the first aspect, in the first aspect a second possible implementation, the acquired from the first database table first desktop launcher display data, comprising:

[0014] 当接收到所述第一数据库的打开指令时,显示密码输入界面; [0014] When receiving an opening command to the first database, the password entry screen;

[0015] 当接收到基于所述密码输入界面输入的访问密码时,将接收的访问密码与所述第一桌面启动程序对应的指定访问密码进行比较; [0015] Upon receiving the access password input on the password input screen, the received password to access the first table corresponding to the boot program comparing the specified access password;

[0016] 当所述接收的访问密码与所述指定访问密码相同时,打开所述第一数据库; [0016] When the received access code to the designated access codes are the same, opening the first database;

[0017] 从所述第一数据库中,获取所述第一桌面启动程序的桌面显示数据。 [0017] from the first database, obtaining the first desktop table launcher display data.

[0018] 结合第一方面或者第一方面的第二种可能的实现方式,在上述第一方面的第=种可能的实现方式中,所述挂起第二桌面启动程序之前,还包括: Before [0018] with the first aspect or the second possible implementation of the first aspect, in the first = possible implementation of the first aspect, the second desktop launcher pending, further comprising:

[0019] 当首次接收到所述第一桌面启动程序的启动指令时,创建所述第一数据库; [0019] When the first start command is received to start the first program table to create the first database;

[0020] 设置所述第一数据库的访问权限,W及所述第一桌面启动程序的指定访问密码。 Specifies the access password access to the [0020] set up the first database, W and the first desktop to start the program.

[0021] 结合第一方面的第=种可能的实现方式,在上述第一方面的第四种可能的实现方式中,所述设置所述第一数据库的访问权限,包括: [0021] Combination = possible implementation of the first aspect, in the first aspect of the fourth possible implementation manner, the access authority is provided to the first database, comprising:

[0022] 获取已安装的应用程序的应用标识,得到多个应用标识; [0022] Get the application identifier of the application installed, to obtain a plurality of application identification;

[0023] 当接收到对所述多个应用标识中的至少一个应用标识的选择指令时,将所述至少一个应用标识存储在白名单中; [0023] Upon receiving an instruction for selecting at least one application identified by application identification of said plurality of said at least one application identifier stored in the whitelist;

[0024] 设置所述至少一个应用标识对所述第一数据库的访问权限; [0024] provided at least one application identifier of the access to the first database;

[0025] 将所述第一数据库的标识、所述至少一个应用标识和所述至少一个应用标识对所述第一数据库的访问权限,存储在数据库标识、应用标识与访问权限之间的对应关系中。 [0025] The identity of the first database, at least one application identifier and said application identifying at least one access to the first database, the corresponding relation between the database stored in the identifier, the application identifier and access rights in.

[0026] 结合第一方面,在上述第一方面的第五种可能的实现方式中,所述方法还包括: [0026] with the first aspect, fifth possible implementation manner of the first aspect, the method further comprising:

[0027] 接收对目标数据库的数据访问指令,所述数据访问指令携带应用标识和所述目标数据库的标识,所述目标数据库为第一数据库或者第二数据库,所述第二数据库为所述第二桌面启动程序对应的数据库; [0027] received data to the target database access instruction, the data access instruction identifier and the application identifier carried in the target database, the first database to the target database or the second database, the second database to the first two desktop to start the program corresponding database;

[002引判断存储的白名单中是否包括所述应用标识,所述白名单中存储多个对所述目标数据库具有访问权限的应用标识; [002 stored in the whitelist is determined whether the primer includes an application identifier identifying the application, storing a plurality of the white list has access to the target database;

[0029] 如果所述白名单中包括所述应用标识,则基于所述目标数据库的标识和所述应用标识,从存储的数据库标识、应用标识与访问权限之间的对应关系中,获取对应的访问权限; [0029] If the white list comprises the application identifier is based on the identification of the target database and the application identifier, the correspondence between the database identifier, the application identifier stored in the access authority, acquire a corresponding access permission;

[0030] 基于获取的访问权限,对所述目标数据库进行数据访问。 [0030] Based on the acquired access, the data access target database.

[0031] 根据本公开实施例的第二方面,提供一种桌面启动装置,所述装置包括: [0031] According to a second aspect of the disclosed embodiment of the present embodiment, there is provided a starting device table, the device comprising:

[0032] 第一挂起模块,用于当接收到第一桌面启动程序的启动指令时,挂起第二桌面启动程序,所述第一桌面启动程序和所述第二桌面启动程序对应不同的数据库; [0032] The first module is suspended, when receiving a start command to start the program first desktop, hangs second desktop launcher, the launcher first table and said second table corresponding to different boot program database;

[0033] 启动模块,用于启动所述第一桌面启动程序; [0033] The starting module for starting the first start program table;

[0034] 第一获取模块,用于从第一数据库中,获取所述第一桌面启动程序的桌面显示数据,所述第一数据库为所述第一桌面启动程序对应的数据库; [0034] The first acquisition module, from a first database, obtaining the first desktop table launcher display data, the first database of the first database table corresponding boot program;

[0035] 加载模块,用于基于所述第一桌面启动程序的桌面显示数据,加载第一桌面。 [0035] The loading module for displaying the desktop data based on the first table of the boot program, loading first desktop.

[0036] 结合第二方面,在上述第二方面的第一种可能的实现方式中,所述装置还包括: [0036] combination with the second aspect, in the first possible implementation of the second aspect, said apparatus further comprising:

[0037] 第二挂起模块,用于当接收到所述第二桌面启动程序的启动指令时,挂起所述第一桌面启动程序; When the [0037] pending a second module, when receiving a start command to start the second program table, the first table hangs boot program;

[003引加密模块,用于基于所述第一桌面启动程序对应的指定访问密码,对所述第一数据库进行加密。 [Cited encryption module 003, based on the first table specifies an access code corresponding boot program, the first database is encrypted.

[0039] 结合第二方面,在上述第二方面的第二种可能的实现方式中,所述第一获取模块包括: [0039] combination with the second aspect, in the second aspect of a second possible implementation manner, the first acquisition module comprises:

[0040] 显示单元,用于当接收到所述第一数据库的打开指令时,显示密码输入界面; [0040] a display unit for, when receiving an instruction to open the first database, the password input screen display;

[0041] 比较单元,用于当接收到基于所述密码输入界面输入的访问密码时,将接收的访问密码与所述第一桌面启动程序对应的指定访问密码进行比较; [0041] The comparing unit for, when receiving an access password input on the password input screen, the received password to access the first table corresponding to the boot program comparing the specified access password;

[0042] 打开单元,用于当所述接收的访问密码与所述指定访问密码相同时,打开所述第一数据库; [0042] Open unit for, when the received access code to the designated access codes are the same, opening the first database;

[0043] 第一获取单元,用于从所述第一数据库中,获取所述第一桌面启动程序的桌面显示数据。 [0043] a first obtaining unit, from the first database for obtaining the first desktop launcher Desktop display data.

[0044] 结合第二方面或者第二方面的第二种可能的实现方式,在上述第二方面的第=种可能的实现方式中,所述装置还包括: [0044] combination with the second aspect or the second possible implementation of the second aspect, in the first = possible implementation of the second aspect, the apparatus further comprising:

[0045] 创建模块,用于当首次接收到所述第一桌面启动程序的启动指令时,创建所述第一数据库; [0045] The creation module, for the first time when the start command is received to start the first program table to create the first database;

[0046] 设置模块,用于设置所述第一数据库的访问权限,W及所述第一桌面启动程序的指定访问密码。 [0046] The setting module configured to set access permissions to the first database, and specify the access password of the first desktop W startup procedure.

[0047] 结合第二方面的第=种可能的实现方式,在上述第二方面的第四种可能的实现方式中,所述设置模块包括: [0047] Combination = possible implementation of the second aspect, a fourth possible implementation manner in the second aspect, the setting module comprises:

[0048] 第二获取单元,用于获取已安装的应用程序的应用标识,得到多个应用标识; [0048] a second obtaining unit, configured to obtain application identifying an application program installed to give the plurality of application identification;

[0049] 第一存储单元,用于当接收到对所述多个应用标识中的至少一个应用标识的选择指令时,将所述至少一个应用标识存储在白名单中; [0049] The first storage unit, when receiving the instruction for selecting the at least one application identified by application identification of said plurality of said at least one application identifier stored in the whitelist;

[0化0] 设置单元,用于设置所述至少一个应用标识对所述第一数据库的访问权限; [0 of 0] setting unit for setting at least one application identifier of the first access to the database;

[0化1] 第二存储单元,用于将所述第一数据库的标识、所述至少一个应用标识和所述至少一个应用标识对所述第一数据库的访问权限,存储在数据库标识、应用标识与访问权限之间的对应关系中。 [0 of 1] a second storage unit for identifying the first database, at least one application identifier and said application identifying at least one access to the first database stored in the database identifier, the application correspondence between the identity and access permissions.

[0化2] 结合第二方面,在上述第二方面的第五种可能的实现方式中,所述装置还包括: [0 of 2] in conjunction with a second aspect, in the fifth possible implementation of the second aspect, said apparatus further comprising:

[0化3] 接收模块,用于接收对目标数据库的数据访问指令,所述数据访问指令携带应用标识和所述目标数据库的标识,所述目标数据库为第一数据库或者第二数据库,所述第二数据库为所述第二桌面启动程序对应的数据库; [0 of 3] a receiving module for receiving data to the target database access instruction, the data access instruction identifier and the application identifier carried in the target database, the first database to the target database or the second database, the a second database to the second database table corresponding to the launcher;

[0054] 判断模块,用于判断存储的白名单中是否包括所述应用标识,所述白名单中存储多个对所述目标数据库具有访问权限的应用标识; [0054] The determining module, for determining whether the stored white list includes the application identifier, stored in the white list identifying a plurality of applications having access to the target database;

[0055] 第二获取模块,用于在所述白名单中包括所述应用标识时,基于所述目标数据库的标识和所述应用标识,从存储的数据库标识、应用标识与访问权限之间的对应关系中,获取对应的访问权限; [0055] obtaining module, when used in the white list includes the application identifier, based on the identification of the target database and the application identification, between the second identification from a database stored application identifier and access rights correspondence relationship, to gain access to the corresponding;

[0化6] 数据访问模块,用于基于获取的访问权限,对所述目标数据库进行数据访问。 [0 of 6] data access module, based on the acquired access, the data access target database.

[0057] 根据本公开实施例的第=方面,提供了一种桌面启动装置,所述装置包括: [0057] According to a first aspect of the disclosed embodiment = of the present embodiment, there is provided a starting device table, the device comprising:

[005引处理器; [Cited processor 005;

[0化9] 用于存储处理器可执行指令的存储器; [Formula 9 0] for a memory storing processor-executable instructions;

[0060] 其中,所述处理器被配置为: [0060] wherein the processor is configured to:

[0061] 当接收到第一桌面启动程序的启动指令时,挂起第二桌面启动程序,所述第一桌面启动程序和所述第二桌面启动程序对应不同的数据库; [0061] When a start command is received first desktop to start the program, start a program hangs second table, said first table and said second table launcher launcher correspond to different databases;

[0062] 启动所述第一桌面启动程序; [0062] The boot program activates the first table;

[0063] 从第一数据库中,获取所述第一桌面启动程序的桌面显示数据,所述第一数据库为所述第一桌面启动程序对应的数据库; [0063] from the first database, obtaining the first desktop table launcher display data, the first database of the first database table corresponding boot program;

[0064] 基于所述第一桌面启动程序的桌面显示数据,加载第一桌面。 [0064] Display data table based on the first table of the boot program, loading first desktop.

[0065] 本公开的实施例提供的技术方案可W包括W下有益效果;在本公开实施例中,移动终端包括第一桌面启动程序和第二桌面启动程序,第一桌面启动程序和第二桌面启动程序对应不同的数据库,第一桌面启动程序可w基于用户的操作,对非个人数据进行处理,第二桌面启动程序可W基于用户的操作,对个人数据进行处理。 [0065] Example embodiments of the present disclosure may provide a technical solution comprising the beneficial effect that W W; embodiments disclosed in the present embodiment, the mobile terminal comprising a first table and a second table launcher launcher, a first table and a second program starting Desktop launcher correspond to different databases, the program may start first desktop w based on the user's operation, the personal data of the non-processed second desktop launcher W may be based on a user's operation, personal data is processed. 而当接收到第一桌面启动程序的启动指令时,可W挂起第二桌面启动程序,再启动第二桌面启动程序,使第一桌面启动程序和第二桌面启动程序进行切换,之后,终端可W从第一桌面启动程序对应的第一数据库中,获取第一桌面启动程序的桌面显示数据,进而加载第一桌面,保证个人数据和非个人数据分开管理。 And when the start command is received first desktop launcher can suspend a second table W launcher, then start the second program starting the desktop, the desktop of the first program and the second start switch desktop launcher program, then the terminal W may be a first database from a first desktop to start the program corresponding to the acquired first desktop launcher Desktop display data, and then loading the first table, to ensure non-personal data and the personal data managed separately.

[0066] 应当理解的是,W上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。 [0066] It should be appreciated that the general description hereinafter of the details described and W are merely exemplary and explanatory and are not intended to limit the present disclosure.

附图说明 BRIEF DESCRIPTION

[0067] 此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。 [0067] The accompanying drawings, which are incorporated herein and constitute a part of this specification, illustrate embodiments consistent with the present invention, and together with the description serve to explain the principles of the invention.

[0068] 图1是根据一不例性实施例不出的一种桌面启动方法的流程图。 [0068] FIG. 1 is a flowchart illustrating a method of starting the desktop in accordance with one exemplary embodiment does not of embodiment.

[0069] 图2是根据一示例性实施例示出的另一种桌面启动方法的流程图。 [0069] FIG. 2 is another flowchart illustrating a method of starting the desktop according to an exemplary embodiment.

[0070] 图3是根据一不例性实施例不出的一种密码输入界面不意图。 [0070] FIG. 3 is not intended to be a password input interface according to an exemplary embodiment does not of the embodiment.

[0071] 图4是根据一示例性实施例示出的一种第一桌面的示意图。 [0071] FIG. 4 is a schematic diagram of a first embodiment shown in table according to an exemplary embodiment.

[0072] 图5是根据一示例性实施例示出的一种桌面启动装置的框图。 [0072] FIG. 5 is a block diagram of a starting device according to an exemplary table illustrating an exemplary embodiment.

[0073] 图6是根据一示例性实施例示出的另一种桌面启动装置的框图。 [0073] FIG. 6 is a block diagram of a desktop to start another illustrated embodiment in accordance with an exemplary embodiment.

[0074] 图7是根据一示例性实施例示出的又一种桌面启动装置的框图。 [0074] FIG. 7 is a block diagram illustrating yet another desktop device according to an exemplary embodiment starts embodiment.

具体实施方式 detailed description

[0075] 该里将详细地对示例性实施例进行说明,其示例表示在附图中。 [0075] in the exemplary embodiment will be described in detail, which are illustrated in the accompanying drawings. 下面的描述设及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。 When the following description and drawings provided, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. W下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。 W Under an exemplary embodiment described in the embodiments do not represent consistent with all embodiments of the present invention. 相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。 Instead, they are only in the book as detailed in the appended claims, some aspects of the present invention, examples of methods and apparatus consistent phase.

[0076] 对本公开实施例进行详细地解释说明之前,先对本公开实施例的应用场景予W介绍。 [0076] Before embodiments of the present disclosure described embodiment will be explained in detail, the first application scenario of an embodiment of the present disclosure to W introduced. 由于移动终端自带一个桌面启动程序,为了便于描述,在本公开实施例中,将移动终端自带的桌面启动程序称为第二桌面启动程序。 Since the mobile terminal comes to start a desktop application, for convenience of description, in the disclosed embodiment of the present embodiment, the mobile terminal comes desktop launcher called second desktop launcher. 而目前,第二桌面启动程序不仅可W基于用户的操作,对个人数据进行处理,还可W对非个人数据进行处理,之后,还将处理后的个人数据和非个人数据存储在该终端的数据库中,也即是,将个人数据和非个人数据存储在同一个数据库中,导致个人数据和非个人数据的管理较混乱;另外,当非个人数据比较重要时,还容易导致非个人数据的泄密,因此,在本公开实施例中,移动终端上还可W安装第= 方桌面启动程序,为了便于描述,将移动终端上安装的第=方桌面启动程序称为第一桌面启动程序,第一桌面启动程序可W基于用户的操作,对非个人数据进行处理,第二桌面启动程序可W基于用户的操作,对个人数据进行处理,且第一桌面启动程序和第二桌面启动程序对应不同的数据库,使个人数据和非个人数据分开管理,并且避免了非个人数据的泄密。 At present, only the second initiator may be a desktop W based on a user's operation, personal data is processed, W may be non-personal data is processed after the non-personal data and the personal data stored in the terminal is also treated database, that is, the personal data and non-personal data stored in the same database, resulting in personal data and management of non-personal data of more confusion; in addition, when non-personal data is important, but also easily lead to non-personal data leak, therefore, the present disclosure in embodiments, W may be installed on the desktop launcher = party mobile terminal, for convenience of description, the mobile terminal will be installed on the desktop of Party = launcher called first desktop launcher, the W may be a desktop launcher program based on user's operation of the non-personal data is processed, the second initiator may be a desktop W based on a user's operation, personal data is processed, and the first table and the second table top launcher launcher correspond to different database, the personal data and non-personal data managed separately, and to avoid the leak of non-personal data.

[0077] 图1是根据一示例性实施例示出的一种桌面启动方法的流程图,如图1所示,该桌面启动方法用于终端中,包括W下步骤。 [0077] FIG. 1 is a flow chart of a table illustrating a method of starting according to an exemplary embodiment shown in Figure 1, the starting method for the desktop terminal, comprising the steps of W.

[007引在步骤101中,当接收到第一桌面启动程序的启动指令时,挂起第二桌面启动程序,第一桌面启动程序和第二桌面启动程序对应不同的数据库。 [007 cited at step 101, when a start command is received first desktop to start the program, start a program hangs second table, the first table and the second table top launcher launcher correspond to different databases.

[0079] 在步骤102中,启动第一桌面启动程序。 [0079] In step 102, start the first desktop launcher.

[0080] 在步骤103中,从第一数据库中,获取第一桌面启动程序的桌面显示数据,第一数据库为第一桌面启动程序对应的数据库。 [0080] In step 103, from the first database, the first desktop launcher Desktop obtaining display data, a first database a first table corresponding to the program to start the database.

[0081] 在步骤104中,基于第一桌面启动程序的桌面显示数据,加载第一桌面。 [0081] In step 104, the display data based on the desktop of the first desktop boot program loaded first desktop.

[0082] 在本公开实施例中,移动终端包括第一桌面启动程序和第二桌面启动程序,第一桌面启动程序和第二桌面启动程序对应不同的数据库,第一桌面启动程序可W基于用户的操作,对非个人数据进行处理,第二桌面启动程序可W基于用户的操作,对个人数据进行处理。 [0082] In the embodiments disclosed in the present embodiment, the mobile terminal comprising a first table and a second table launcher launcher, a first table and a second table launcher launcher correspond to different databases, the program may start first desktop user based W the operation of the non-personal data is processed, the second initiator may be a desktop W based on a user's operation, personal data is processed. 而当接收到第一桌面启动程序的启动指令时,可W挂起第二桌面启动程序,再启动第二桌面启动程序,使第一桌面启动程序和第二桌面启动程序进行切换,之后,终端可W从第一桌面启动程序对应的第一数据库中,获取第一桌面启动程序的桌面显示数据,进而加载第一桌面,保证个人数据和非个人数据分开管理。 And when the start command is received first desktop launcher can suspend a second table W launcher, then start the second program starting the desktop, the desktop of the first program and the second start switch desktop launcher program, then the terminal W may be a first database from a first desktop to start the program corresponding to the acquired first desktop launcher Desktop display data, and then loading the first table, to ensure non-personal data and the personal data managed separately.

[0083] 在本公开的另一实施例中,基于第一桌面启动程序的显示数据,加载第一桌面之后,还包括: [0083] In another embodiment of the present disclosure, the first desktop to start based on the display data of the program, after the first desktop is loaded, further comprising:

[0084] 当接收到第二桌面启动程序的启动指令时,挂起第一桌面启动程序; [0084] Upon receiving a start command to start the second program table, the first table hangs launcher;

[0085] 基于第一桌面启动程序对应的指定访问密码,对第一数据库进行加密。 [0085] based on the specified password to access the desktop first start the program corresponding to the first database is encrypted.

[0086] 在本公开的另一实施例中,从第一数据库中,获取第一桌面启动程序的桌面显示数据,包括: [0086] In another embodiment of the present disclosure, from the first database, obtaining first desktop launcher desktop display data, comprising:

[0087] 当接收到第一数据库的打开指令时,显示密码输入界面; [0087] When the received command opens the first database, the password entry screen;

[008引当接收到基于该密码输入界面输入的访问密码时,将接收的访问密码与第一桌面启动程序对应的指定访问密码进行比较; [008 lead access password when receiving the password input screen based on the input received access password corresponding to the first desktop launcher designated access codes are compared;

[0089] 当接收的访问密码与第一桌面启动程序对应的指定访问密码相同时,打开第一数据库; [0089] When the received access start specified password first desktop access password corresponding to the same program, opening the first database;

[0090] 从第一数据库中,获取第一桌面启动程序的桌面显示数据。 [0090] from the first database, the first desktop launcher Desktop obtaining display data.

[0091] 在本公开的另一实施例中,挂起第二桌面启动程序之前,还包括: [0091] In another embodiment of the present disclosure, the second desktop launcher before suspending, further comprising:

[0092] 当首次接收到第一桌面启动程序的启动指令时,创建第一数据库; [0092] When first receiving the first start command to start the desktop program to create the first database;

[0093] 设置第一数据库的访问权限,W及第一桌面启动程序的指定访问密码。 Access [0093] providing a first database, W and specify a password to access the desktop first start the program.

[0094] 在本公开的另一实施例中,设置第一数据库的访问权限,包括: [0094] In another embodiment of the present disclosure, the access to the first database is provided, comprising:

[0095] 获取已安装的应用程序的应用标识,得到多个应用标识; [0095] Get the application identifier of the application installed, to obtain a plurality of application identification;

[0096] 当接收到对该多个应用标识中的至少一个应用标识的选择指令时,将该至少一个应用标识存储在白名单中; [0096] Upon receiving the selection instruction is identified when at least one application of the plurality of application identification, the at least one application identifier stored in the white list;

[0097] 设置该至少一个应用标识对第一数据库的访问权限; [0097] provided that at least one application identifier access to the first database;

[009引将第一数据库的标识、该至少一个应用标识和该至少一个应用标识对第一数据库的访问权限,存储在数据库标识、应用标识与访问权限之间的对应关系中。 [009 identifies the first database primers, the at least one application identifier and the at least one application access to the first database identifier, and a correspondence relationship between the database stored in the identifier, the application identifier and access permissions.

[0099] 在本公开的另一实施例中,该方法还包括: [0099] In another embodiment of the present disclosure, the method further comprising:

[0100] 接收对目标数据库的数据访问指令,该数据访问指令携带应用标识和目标数据库的标识,目标数据库为第一数据库或者第二数据库,第二数据库为第二桌面启动程序对应的数据库; [0100] receiving data to the target database access instruction, the data access instruction carrying the identifier and the application identifier of the target database, the first database to the target database or the second database, the second database to a second database corresponding to the desktop launcher;

[0101] 判断存储的白名单中是否包括该应用标识,白名单中存储多个对目标数据库具有访问权限的应用标识; Whitelist [0101] Analyzing the stored application identifier is included, whitelist stores a plurality of applications having access to the identified target database;

[0102] 如果白名单中包括该应用标识,则基于目标数据库的标识和该应用标识,从存储的数据库标识、应用标识与访问权限之间的对应关系中,获取对应的访问权限; [0102] If the white list comprises the application identifier is based on the identification of the target database and the application identifier, the correspondence between the identification database stored in the application identifier and access rights, corresponding to gain access;

[0103] 基于获取的访问权限,对目标数据库进行数据访问。 [0103] Based on the acquired access rights on the target database for data access.

[0104] 上述所有可选技术方案,均可按照任意结合形成本公开的可选实施例,本公开实施例对此不再一一寶述。 [0104] All of the above alternative aspect, binding can be formed in any optional embodiment of the present disclosure, this embodiment of the present disclosure not going to be described later Po.

[01化]图2是根据一示例性实施例示出的一种桌面启动方法的流程图。 [Of 01] FIG. 2 is a flow chart of a table illustrating a method of starting according to an exemplary embodiment. 参见图2,该方法用于移动终端中,包括W下步骤。 Referring to Figure 2, the method for a mobile terminal, comprising the steps of W.

[0106] 在步骤201中,当接收到第一桌面启动程序的启动指令时,挂起第二桌面启动程序,第一桌面启动程序和第二桌面启动程序对应不同的数据库。 [0106] In step 201, when the start command is received first desktop to start the program, start a program hangs second table, the first table and the second table top launcher launcher correspond to different databases.

[0107] 为了对个人数据和非个人数据进行分开管理,当移动终端接收到第一桌面启动程序的启动指令时,该移动终端可W挂起第二桌面启动程序,实现第一桌面和第二桌面的切换,从而使用户对第一桌面和第二桌面的操作可W分开。 [0107] For non-personal data and the personal data are managed separately, when the mobile terminal receives the start command to start the program first desktop, the mobile terminal may hang second desktop launcher W, and a second implementation of the first table Desktop handover, thereby enabling the user operation on the first table and the second table W can be separated. 而在本公开实施例中,挂起第二桌面启动程序的操作可W为将第二桌面启动程序暂时淘汰出移动终端内存的操作。 Embodiments disclosed in the present embodiment, second desktop launcher suspend operation may be W is temporarily out of second desktop launcher operation of the mobile terminal memory.

[0108] 其中,第一桌面启动程序用于加载第一桌面,且在第一桌面中可W显示第一图标集合、删除第一图标集合中的任一图标、移动第一图标集合中的任一图标等等,第一图标集合包括在该移动终端上已安装的多个应用程序的图标。 [0108] wherein the first desktop launcher for loading a first table, and may display a first icon W set in the first table, delete a first one of the icons in the icon set, any one of a first set of mobile icon an icon or the like, a first plurality of icons includes an icon set of applications on the mobile terminal installed. 第二桌面启动程序用于加载第二桌面,且在第二桌面中可W显示第二图标集合、删除第二图标集合中的任一图标、移动第二图标集合中的任一图标等等,第二图标集合包括在该移动终端上已安装的多个应用程序的图标,且第一图标集合和第二图标集合可W相同,也可W部分相同。 Second desktop launcher for loading a second table, and may display a second icon set W, any one of the second icon to delete a set of icons, moving a second set of icons in one of the icons, etc. In a second desktop, the second set of icons includes an icon of a plurality of applications on the mobile terminal has been installed, and the set of the first icon and the second icon may be set the same W, W may be the same portion.

[0109] 需要说明的是,由于第二桌面启动程序为移动终端自带的桌面启动程序,因此,当启动移动终端时,该移动终端可W默认地启动第二桌面启动程序,从而加载第二桌面。 [0109] Incidentally, since the second table carrying the mobile terminal launcher desktop launcher, therefore, when starting the mobile terminal, the mobile terminal may activate the second table W default boot program to load a second desktop. 当将第二桌面切换为第一桌面时,用户可W触发第一桌面启动程序的启动指令,而第一桌面启动程序的启动指令可W通过第一指定操作进行触发。 When the first desktop to a second desktop switch, the user can trigger the start command W first desktop to start the program, the boot program start command first desktop W may be triggered by a first specified action. 当第二桌面中包括切换按钮时,第一指定操作可W为点击切换按钮的操作,当第二桌面中包括第一桌面图标时,第一指定操作可W为点击第一桌面图标的操作,当然,第一指定操作还可W为其他的操作,比如,对第二桌面的滑动操作、语音操作等等,本公开实施例对此不做具体限定。 When the second switching button includes desktop, the first designation operation may be W is a tap operation switching button, when the second table comprises first desktop icon, W may be the first designation operation is a tap operation first desktop icon, of course, the first operation may also specify other operations W is, for example, a sliding operation on the second table, the voice operation, etc., the present embodiment of the present disclosure is not specifically limited.

[0110] 上述提到第二桌面启动程序为安装在该移动终端上的第=方桌面启动程序,且第一桌面启动程序和第二桌面启动程序对应不同的数据库,因此,挂起第二桌面启动程序之前,当移动终端首次接收到第一桌面启动程序的启动指令时,可W创建第一数据库;设置第一数据库的访问权限,W及第一桌面启动程序的指定访问密码,该指定访问密码可W对第一数据库进行加密。 [0110] the above-mentioned second desktop launcher mounted on the mobile terminal side of the desktop = start the program, and the first table and the second table launcher launcher correspond to different databases, therefore, the second table hangs before starting the program, when the first mobile terminal receives the first start command to start the desktop program, you can create the first database W; set access permissions first database, W and specify a password to access the desktop first start the program, the designated access The password can be the first W database is encrypted.

[0111] 由于第一桌面启动程序和第二桌面启动程序对应不同的数据库,为了便于操作, 移动终端的第一桌面中的一些应用需要访问第二数据库,或者,移动终端的第二桌面中的一些应用需要访问第一数据库,但是又为了避免数据的泄露,可W设置第一数据库的访问权限和第二数据库的访问权限。 [0111] Since the first and second desktops launcher desktop launcher program corresponding to the different databases, for ease of operation, the mobile terminal first desktop applications need access to some of the second database, or the second mobile terminal in the desktop Some applications need to access the first database, but it is in order to avoid leakage of data, you can set access permissions first W access to the database and the second database.

[0112] 而设置第一数据库的访问权限的操作可W为;获取移动终端上已安装的应用程序的应用标识,得到多个应用标识;当接收到对该多个应用标识中的至少一个应用标识的选择指令时,将该至少一个应用标识存储在白名单中;设置该至少一个应用标识对第一数据库的访问权限;将第一数据库的标识、该至少一个应用标识和该至少一个应用标识对第一数据库的访问权限,存储在数据库标识、应用标识与访问权限之间的对应关系中。 [0112] and provided access to the first database operation may be W is; acquiring the application identifier of the application installed on the mobile terminal, to obtain a plurality of application identification; when the plurality of receiving at least one application identifier of the application when the selection instruction, the application identifier stored in the at least one identified in the white list; provided that at least one application identifier access to the first database; identifying the first database, the at least one application identifier and the at least one application identifier access to the first database, stored in the correspondence relation between the identification database, the application identifies the access permissions.

[0113] 比如,获取移动终端上已安装的应用程序的应用标识,得到多个应用标识为标识1、标识2、标识3、标识4和标识5,当接收到对该多个应用标识中的标识1、标识3和标识4 的选择指令时,将标识1、标识3和标识4存储在如下表1所示的白名单中;并设置标识1、 标识3和标识4对第一数据库的访问权限为权限1、权限2和权限3 ;将第一数据库的标识ID1、该至少一个应用标识和该至少一个应用标识对第一数据库的访问权限,存储在如下表2所示的数据库标识、应用标识与访问权限之间的对应关系中。 [0113] For example, acquiring the application identifier of the application installed on the mobile terminal, to obtain a plurality of application identification to identify, identifier 2, 3 logo, and logo identification 5 4, when receiving the plurality of application identification 1 identifies, when identifying the identification and selection instruction 4, 3, 1 will be identified, and the identity identifier 3 in table 4 are stored in the whitelist as shown in table 1; and a setting identification, access identities 3 and 4 to the first database identifier permissions for permissions 1, rights and permissions 3 2; the first database identifier ID1, the at least one application identifier and the application identifier of the at least one access to the first database, stored in a database identifier as shown in table 2 below, the application correspondence between the identity and access permissions.

[0114] 表1 [0114] TABLE 1

[0115] [0115]

Figure CN104965732AD00111

[0118] 而设置第二数据库的访问权限的操作可W为;获取移动终端上已安装的应用程序的应用标识,得到多个应用标识;当接收到对该多个应用标识中的至少一个应用标识的选择指令时,将该至少一个应用标识存储在白名单中;设置该至少一个应用标识对第二数据库的访问权限;将第二数据库的标识、该至少一个应用标识和该至少一个应用标识对第二数据库的访问权限,存储在数据库标识、应用标识与访问权限之间的对应关系中。 [0118] provided access to the second database operation may be W is; acquiring the application identifier of the application installed on the mobile terminal, to obtain a plurality of application identification; when the plurality of receiving at least one application identifier of the application when the selection instruction, the application identifier stored in the at least one identified in the white list; provided that at least one application identifier access to the second database; identifying the second database, at least one of the at least one application identifier and the application identifier access to the second database, stored in the correspondence relation between the identification database, the application identifies the access permissions.

[0119] 需要说明的是,第一桌面启动程序的指定访问密码可W为数字密码、绘图密码、手势密码、指纹密码、虹膜密码等等,本公开实施例对此不做具体限定。 [0119] Incidentally, designated first desktop access password initiator may be a digital code W, password drawing, gesture password, fingerprint password, the password, etc. iris, embodiments of the present disclosure is not specifically limited. 另外,多个应用标识中的至少一个应用标识的选择指令可W由用户通过第二指定操作触发,第二指定操作可W 为单击操作、双击操作、滑动操作、语音操作等等,本公开实施例同样对此不做具体限定。 Further, the plurality of application identification of at least one application identifier selection instruction to specify a second operation may be W is triggered by the user, a second operation may be designated as a W-click operation, a double click operation, sliding operation, voice operation or the like, the present disclosure Example not specifically limited. 再者,第一数据库的访问权限和第二数据库的访问权限可w同时设置,也可w在移动终端显示第一桌面的情况下,设置第一数据库的访问权限,在移动终端显示第二桌面的情况下,设置第二数据库的访问权限。 Furthermore, access to the first database and the second database access can be provided simultaneously w, w may be a case where a first display table is provided access to the database in the first mobile terminal, the mobile terminal displays a second desktop under the circumstances, the second set access rights to the database.

[0120] 在步骤202中,启动第一桌面启动程序。 [0120] In step 202, start the first desktop launcher.

[0121] 当移动终端挂起第二桌面启动程序时,可W启动第一桌面启动程序,进而加载第桌面。 [0121] When the mobile terminal hangs on a second desktop launcher, W may be started first desktop launcher, and thus load the first desktop.

[0122] 在步骤203中,从第一数据库中,获取第一桌面启动程序的桌面显示数据,第一数据库为第一桌面启动程序对应的数据库。 [0122] In step 203, from the first database, obtaining first desktop launcher desktop display data, a first database a first table corresponding to the program to start the database.

[0123] 桌面显示数据用于加载桌面,且桌面显示数据可W为桌面上显示的图标、每个图标的名称、每个图标的显示位置等等,而对于第一桌面启动程序的桌面显示数据,该桌面显示数据可W为第一图标集合、第一图标集合中的每个图标的名称、每个图标的显示位置等等,对于第二桌面启动程序的桌面显示数据,该桌面显示数据可W为第二图标集合、第二图标集合中的每个图标的名称、每个图标的显示位置等等,并且第一桌面启动程序的桌面显示数据和第二桌面启动程序的桌面显示数据可能不同。 [0123] desktop displays for data loading table, and W is a desktop display data may be displayed on the desktop icon, the name of each icon, the display position of each icon and the like, and for the desktop launcher first desktop display data the desktop display icon data may be a first set of W, a first set of the name of each icon in the icon, the display position of each icon, etc., for the desktop second desktop launcher display data, the display data may be the desktop W is a set of the second icon, the second icon name of each icon in the set, the display position of each icon and the like, and the desktop launcher first desktop display desktop data and second display data table launcher may differ .

[0124] 因此,当移动终端接收到第一数据库的打开指令时,显示密码输入界面;当接收到基于该密码输入界面输入的访问密码时,将接收的访问密码与第一桌面启动程序对应的指定访问密码进行比较;当接收的访问密码与第一桌面启动程序对应的指定访问密码相同时,打开第一数据库;从第一数据库中,获取第一桌面启动程序的桌面显示数据。 [0124] Thus, when the mobile terminal receives the open command to the first database, the password entry screen; access password when receiving the password input screen based on input received access password corresponding to the first desktop launcher comparing the specified access password; if specified access password received access password corresponding to the first table are the same launcher, opening the first database; from the first database, the first desktop launcher Desktop obtaining display data.

[0125] 比如,当第一桌面启动程序对应的指定访问密码为数字密码时,且该指定访问密码为1568,当移动终端接收到第一数据库的打开指令时,显示如图3所示的密码输入界面,当移动终端接收到基于该密码输入界面输入的访问密码为1568时,将接收的访问密码1568与第一桌面启动程序对应的指定访问密码1568进行比较;确定接收的访问密码与第一桌面启动程序对应的指定访问密码相同,此时,可W打开第一数据库,并从第一数据库中,获取第一桌面启动程序的桌面显示数据。 [0125] For example, when the first desktop launcher designated access code corresponding to a digital code, and the designated access password 1568, when the mobile terminal receives the open command to the first database, the display shown in Figure 3 password input interface, when the mobile terminal 1568 is received, the received access code 1568 corresponding to the first desktop initiator specifies the access password 1568 based on comparing the access password inputted password input screen; determining a first access password is received Desktop startup program corresponding to the specified password to access the same, in this case, W may open the first database, the first database and the acquired first desktop launcher Desktop display data.

[01%] 需要说明的是,第一数据库的打开指令可W由移动终端触发,该移动终端可W在启动第一桌面启动程序之后触发,也可W在启动第一桌面启动程序的同时触发,本公开实施例对此不做具体限定。 [01%] Incidentally, the first database open command W may be triggered by the mobile terminal, the mobile terminal may trigger W after starting first desktop launcher, W may be started while the first desktop launcher trigger , embodiments of the present disclosure is not specifically limited.

[0127] 在步骤204中,基于第一桌面启动程序的桌面显示数据,加载第一桌面。 [0127] In step 204, the display data based on the desktop of the first desktop boot program loaded first desktop.

[0128] 由于桌面显示数据可W为桌面上显示的图标、每个图标的名称、每个图标的显示位置等等,因此,当获取到第一桌面启动程序的桌面显示数据时,可W基于第一图标集合、 每个图标的名称、每个图标的显示位置,在第一桌面上显示第一图标集合中的每个图标,完成第一桌面的加载。 [0128] Since W is a desktop display data may be displayed on the desktop icon, the name of each icon, the display position of each icon and the like, and therefore, when the acquired first desktop to the desktop launcher display data, may be based on W the first collection of icons, the name of each icon, the display position of each icon displayed on the desktop each icon of the first icon first set, the first complete desktop loaded.

[0129] 比如,第一桌面启动程序的桌面显示数据包括:通讯录图标、微信图标、邮件图标, 通讯录的图标、微信图标、邮件图标在第一桌面的第一行顺序显示,移动终端基于第一桌面启动程序的桌面显示数据,加载的第一桌面如图4所示。 [0129] For example, the first desktop launcher Desktop display data comprises: the address book icon, micro-channel icon, mail icon, the icon of Contacts, micro-channel icon, mail icon in the first row of the display order of the first table, based on the mobile terminal Desktop first desktop launcher display data, the first table shown in Figure 4 is loaded.

[0130] 当移动终端通过上述步骤加载第一桌面之后,用户可W基于第一桌面上显示的图标,对该移动终端进行操作,之后,移动终端可W基于用户的操作,对非个人数据进行处理, 并将处理之后的非个人数据存储在第一数据库中,如此,将个人数据和非个人数据分开管理,节省了重新购置一台移动终端的成本。 [0130] When the mobile terminal first desktop is loaded through the above steps, the user may be based on the W first icon displayed on the desktop, the operation of the mobile terminal, after the mobile terminal W may be based on a user operation performed on the non-personal data processing, in the first database and, thus, to separate the management of personal data and non-personal data stored in the non-personal data after treatment, saving the cost of re-purchase of a mobile terminal.

[0131] 需要说明的是,第一桌面上显示的图标可W包括通讯录图标、邮件图标、短信图标等,因此,第一数据库中不仅可W存储映射表,还可W存储下载的文件,该映射表可W为通讯录中的联系人名称与联系方式的映射表、邮件中的联系人名称与邮件内容的映射表、短信中的联系人名称与短信内容的映射表等,存储下载的文件可W为从邮件中下载该邮件包括的附件、通过即时通讯工具传输的文件等等。 [0131] It should be noted that the icon displayed on the desktop can be the first W include the address book icon, mail icon, SMS icon, etc. Therefore, the first database not only storage mapping table W, W can also store the downloaded file, W is the mapping table can map address book contact name and contact information, e-mail the map contact name and e-mail content, SMS contact name and map content such as text messages, storing downloaded W files to download attachments from the message included in the message, transfer files via instant messaging and so on. 而在本公开的另一实施例中,为了便于对映射表和下载的文件的管理,第一数据库可W包括第一子数据库和第二子数据库,第一子数据库用于存储映射表,第二子数据库用于存储下载的文件。 In another embodiment of the present disclosure, in order to facilitate the management of the mapping table and downloaded files, the first database may comprise a first sub W sub-database and the second database, a database for storing a first sub-mapping table, the first two sons database is used to store downloaded files.

[0132] 值得注意的是,本公开实施例是将非个人数据存储在第一数据库中,且当移动终端将第一桌面切换为第二桌面时,该第一数据库为加密状态。 [0132] Notably, embodiments of the present disclosure is non-personal data stored in the first database, and when the mobile terminal is switched to the first table a second table, the first database is encrypted. 也即是,当该移动终端处于第二桌面状态下,第一数据库为加密状态,并且当该移动终端通过数据线连接电脑等终端、或者将该移动终端中的存储介质取出并在其他终端进行读取时,第一数据库还为加密状态, 无法进行读取。 That is, when the mobile terminal is in a second state of the desktop, the first database in an encrypted state, and when the mobile terminal is connected via a data line terminal computer, etc., or taken out of the storage medium in the mobile terminal and the other terminal when reading, the first database further encrypted state can not be read.

[0133] 在步骤205中,当接收到第二桌面启动程序的启动指令时,挂起第一桌面启动程序。 [0133] In step 205, upon receiving a start command to start the second program table, the first table hangs launcher.

[0134] 当通过上述步骤201-204加载第一桌面之后,如果用户将第一桌面切换为第二桌面时,该用户可W触发第二桌面启动程序的启动指令。 [0134] After the step of loading the above-described first desktop 201-204, the first desktop if the user switched to the second table, the user can trigger the start instruction of the second table W initiator. 当移动终端接收到第二桌面启动程序的启动指令时,可W挂起第二桌面启动程序,实现第一桌面和第二桌面的切换。 When the mobile terminal receives the start command to start the second program table, the second table may suspend W launcher, to achieve switching of the first table and the second table. 而在本公开实施例中,挂起第一桌面启动程序的操作可W为将第一桌面启动程序暂时淘汰出移动终端内存的操作。 In the disclosed embodiment of the present embodiment, the first desktop suspend operation of the program may start W of the first desktop launcher temporarily out of operation of the mobile terminal memory.

[0135] 在步骤206中,基于第一桌面启动程序对应的指定访问密码,对第一数据库进行加密。 [0135] In step 206, based on the designated access codes corresponding to the first desktop launcher, the first database is encrypted.

[0136] 当挂起第一桌面启动程序时,为了避免第一数据库中存储的数据的泄密,可W基于第一桌面启动程序对应的指定访问密码,对第一数据库进行加密。 [0136] When the first desktop launcher suspended, in order to avoid leaks of the first data stored in the database, based on the designated access codes W can first desktop corresponding boot program, the first database is encrypted.

[0137] 进一步地,当移动终端的第一桌面中的一些应用访问第二数据库,或者,移动终端的第二桌面中的一些应用访问第一数据库时,需要对该些应用的访问权限进行验证,包括: 移动终端接收对目标数据库的数据访问指令,该数据访问指令携带应用标识和目标数据库的标识,目标数据库为第一数据库或者第二数据库,第二数据库为第二桌面启动程序对应的数据库;移动终端判断存储的白名单中是否包括该应用标识,白名单中存储多个对目标数据库具有访问权限的应用标识;如果白名单中包括该应用标识,则基于目标数据库的标识和该应用标识,从存储的数据库标识、应用标识与访问权限之间的对应关系中,获取对应的访问权限;并基于获取的访问权限,对目标数据库进行数据访问。 [0137] Further, when the second table in the first table of the mobile terminal accessing a second database some applications, or some of the mobile terminal to access a first application database, the authentication is required to access these applications , comprising: a mobile terminal receiving a data access instruction to the target database, the data access instruction carrying the identifier and the application identifier of the target database, the first database to the target database or the second database, the second database to a second database corresponding to the desktop launcher ; white list of the mobile terminal comprises determining whether the stored application identifier, whitelist stores a plurality of applications having access to the identified target database; if the whitelist includes the application identifier, the database based on the identification of the target, and the application identifier , from the correspondence between the database identifier, the application identifier stored in the access authority, corresponding to gain access; and based on the acquired access, data access on the target database.

[0138] 移动终端判断存储的白名单中是否包括该应用标识的操作可W为;该移动终端将该应用标识与白名单存储的应用标识进行比较,如果白名单存储的应用标识中包括该应用标识,则确定白名单中包括该应用标识,否则,确定白名单中不包括该应用标识。 [0138] Analyzing the white list of the mobile terminal stored in the operation of the application is included it can be identified as W; the mobile terminal identifying an application identifier and the application-stored white list, if the application identifier included in the white list of the stored application logo, it is determined that the white list includes the application identifier, otherwise, to determine the white list does not include the application identifier.

[0139] 比如,移动终端接收对目标数据库的数据访问指令,该数据访问指令携带应用标识为标识3和目标数据库的标识为ID1,该移动终端将标识3与如上表1所示白名单存储的应用标识进行比较,确定白名单中包括该应用标识,进而基于目标数据库的标识ID1和标识3,从如上表2所示的数据库标识、应用标识与访问权限之间的对应关系中,获取对应的访问权限为权限2 ;并基于获取的访问权限,对目标数据库进行数据访问。 [0139] For example, the mobile terminal receives data to the target database access instruction, the data access instruction carrying the identifier to identify the application and the identifier of the destination database 3 ID1, the mobile terminal identification whitelist stored as shown in the above Table 13 and application identification determined by comparing the whitelist includes the application identifier, and further based on the identification of the target database identifier ID1 and 3, from the above correspondence relationship between identification database shown in FIG. 2, the application identifier and access rights table, acquires the corresponding access permissions 2; and based on the access rights acquired to the target database for data access.

[0140] 值得注意的是,当移动终端当前显示第一桌面时,也即是,第二桌面启动程序被挂起时,如果该移动终端非正常关机,比如,卸下移动终端的电池,此时,该移动终端可W对第一数据库进行相应处理,比如,通过第一桌面启动程序的指定访问密码,对第一数据库进行加密,或者,直接将第一数据库进行锁定,下次需要通过解锁方式,对第一数据库进行解锁, 该解锁方式可W包括对一些问题的应答等,本公开实施例对此不做具体限定。 [0140] Notably, when the mobile terminal is currently displaying a first table, that is, when the second desktop launcher is suspended, if the mobile terminal is not shut down properly, for example, remove the battery of the mobile terminal, this when the mobile terminal may first database W to be processed, for example, on the first database is encrypted by assigning a password to access the first desktop launcher, or directly to the first database is locked, the next need to unlock embodiment, the first database unlocking the unlocking W may include a response to a number of issues, etc., the present disclosure is not limited in the embodiment.

[0141] 在本公开实施例中,移动终端包括第一桌面启动程序和第二桌面启动程序,第一桌面启动程序和第二桌面启动程序对应不同的数据库,第一桌面启动程序可W基于用户的操作,对非个人数据进行处理,第二桌面启动程序可W基于用户的操作,对个人数据进行处理。 [0141] In the embodiments disclosed in the present embodiment, the mobile terminal comprising a first table and a second table launcher launcher, a first table and a second table launcher launcher correspond to different databases, the program may start first desktop user based W the operation of the non-personal data is processed, the second initiator may be a desktop W based on a user's operation, personal data is processed. 而当接收到第一桌面启动程序的启动指令时,可W挂起第二桌面启动程序,再启动第二桌面启动程序,使第一桌面启动程序和第二桌面启动程序进行切换,之后,终端可W从第一桌面启动程序对应的第一数据库中,获取第一桌面启动程序的桌面显示数据,进而加载第一桌面,保证个人数据和非个人数据分开管理。 And when the start command is received first desktop launcher can suspend a second table W launcher, then start the second program starting the desktop, the desktop of the first program and the second start switch desktop launcher program, then the terminal W may be a first database from a first desktop to start the program corresponding to the acquired first desktop launcher Desktop display data, and then loading the first table, to ensure non-personal data and the personal data managed separately. 另外,当接收到第二桌面启动程序的启动指令时,可W挂起第一桌面启动程序,并基于第一桌面启动程序的指定访问密码,对第一数据库进行加密,使第一数据库在显示第二桌面时为加密状态,避免了非个人数据的泄密。 Further, when a start command is received to start the second program table, may be suspended first desktop launcher W, and based on the designated access password of the first desktop launcher, to encrypt the first database, the first database on display when the second desktop is encrypted, to avoid the leak of non-personal data.

[0142] 图5是根据一示例性实施例示出的一种桌面启动装置的框图。 [0142] FIG. 5 is a block diagram of a starting device according to an exemplary table illustrating an exemplary embodiment. 参照图5,该装置包括第一挂起模块501、启动模块502、第一获取模块503和加载模块504。 Referring to FIG. 5, the apparatus includes a first module 501 hangs, activation module 502, and a first acquisition module 503 module 504 loading.

[0143] 第一挂起模块501,用于当接收到第一桌面启动程序的启动指令时,挂起第二桌面启动程序,第一桌面启动程序和第二桌面启动程序对应不同的数据库; [0143] The first module 501 is suspended, when receiving a start command to start the program first desktop, hangs second desktop launcher, a first table and a second table launcher launcher correspond to different databases;

[0144] 启动模块502,用于启动第一桌面启动程序; [0144] initiation module 502, for starting the first desktop launcher;

[0145] 第一获取模块503,用于从第一数据库中,获取第一桌面启动程序的桌面显示数据,第一数据库为第一桌面启动程序对应的数据库; [0145] a first obtaining module 503 is configured from the first database, the first desktop launcher Desktop obtaining display data, a first database a first table corresponding to the program to start a database;

[0146] 加载模块504,用于基于第一桌面启动程序的桌面显示数据,加载第一桌面。 [0146] Load module 504, based on the first desktop launcher desktop display data, loading the first table.

[0147] 在本公开的另一实施例中,参见图6,该装置还包括: [0147] In another embodiment of the present disclosure, referring to FIG. 6, the apparatus further comprising:

[0148] 第二挂起模块505,用于当接收到第二桌面启动程序的启动指令时,挂起第一桌面启动程序; [0148] The second module 505 hangs, when receiving a start command to start the second program table, the first table hangs launcher;

[0149] 加密模块506,用于基于第一桌面启动程序对应的指定访问密码,对第一数据库进行加密。 [0149] The encryption module 506, based on an access code for designating a first table corresponding boot program, the first database is encrypted.

[0150] 在本公开的另一实施例中,第一获取模块503包括; [0150] In another embodiment of the present disclosure, the obtaining module 503 includes a first;

[0151] 显示单元,用于当接收到第一数据库的打开指令时,显示密码输入界面; [0151] a display unit for, when receiving an instruction to open the first database, the password entry screen;

[0152] 比较单元,用于当接收到基于该密码输入界面输入的访问密码时,将接收的访问密码与第一桌面启动程序对应的指定访问密码进行比较; [0152] comparing unit for, when receiving an access password to the password input screen based on input received access password corresponding to the first desktop launcher designated access codes are compared;

[0153] 打开单元,用于当接收的访问密码与第一桌面启动程序对应的指定访问密码相同时,打开第一数据库; [0153] opening unit, when the designated access password for access password corresponding to the received first desktop is the same launcher, opening the first database;

[0154] 第一获取单元,用于从第一数据库中,获取第一桌面启动程序的桌面显示数据。 [0154] a first obtaining unit, from a first database, obtaining first desktop launcher Desktop display data.

[0巧5] 在本公开的另一实施例中,该装置还包括: [Qiao 0 5] In another embodiment of the present disclosure, the apparatus further comprising:

[0156] 创建模块,用于当首次接收到第一桌面启动程序的启动指令时,创建第一数据库; [0156] creating module, configured to, when a first start command is received for the first time to start the desktop program, creating a first database;

[0157] 设置模块,用于设置第一数据库的访问权限,W及第一桌面启动程序的指定访问密码。 [0157] setting module configured to set access permissions first database, specify a password to access the desktop W and first start of the program.

[015引在本公开的另一实施例中,设置模块包括: [015 incorporated in another embodiment of the present disclosure, the setting module comprises:

[0159] 第二获取单元,用于获取已安装的应用程序的应用标识,得到多个应用标识; [0159] a second obtaining unit, configured to obtain application identifying an application program installed to give the plurality of application identification;

[0160] 第一存储单元,用于当接收到对该多个应用标识中的至少一个应用标识的选择指令时,将该至少一个应用标识存储在白名单中; [0160] The first storage unit, when receiving the selection instruction when the identifier of the at least one application of the plurality of application identification, the at least one application identifier stored in the white list;

[0161] 设置单元,用于设置该至少一个应用标识对第一数据库的访问权限; [0161] setting means for setting the at least one application identifier access to the first database;

[0162] 第二存储单元,用于将第一数据库的标识、该至少一个应用标识和该至少一个应用标识对第一数据库的访问权限,存储在数据库标识、应用标识与访问权限之间的对应关系中。 [0162] The second storage unit for identifying the first database, the at least one application identifier and the application identifier of the at least one access to the first database, the database stored in correspondence between identification, application identification and access relations.

[0163] 在本公开的另一实施例中,该装置还包括: [0163] In another embodiment of the present disclosure, the apparatus further comprising:

[0164] 接收模块,用于接收对目标数据库的数据访问指令,该数据访问指令携带应用标识和目标数据库的标识,目标数据库为第一数据库或者第二数据库,第二数据库为第二桌面启动程序对应的数据库; [0164] a receiving module for receiving data to the target database access instruction, the data access instruction carrying the identifier and the application identifier of the target database, the first database to the target database or the second database, the second database is a second desktop launcher corresponding database;

[01化]判断模块,用于判断存储的白名单中是否包括该应用标识,该白名单中存储多个对目标数据库具有访问权限的应用标识; [Of 01] determining module, for determining whether the stored white list includes the application identifier, the whitelist stores a plurality of applications having access to the identified target database;

[0166] 第二获取模块,用于在白名单中包括该应用标识时,基于目标数据库的标识和该应用标识,从存储的数据库标识、应用标识与访问权限之间的对应关系中,获取对应的访问权限; [0166] a second obtaining module, when used in the whitelist includes the application identifier, the application identifier and based on the identification of the target database, from the correspondence between the database identifier, the application identifier stored in the access authority, acquire a corresponding access;

[0167] 数据访问模块,用于基于获取的访问权限,对目标数据库进行数据访问。 [0167] data access module, based on access rights acquired to the target database for data access.

[0168] 在本公开实施例中,移动终端包括第一桌面启动程序和第二桌面启动程序,第一桌面启动程序和第二桌面启动程序对应不同的数据库,第一桌面启动程序可W基于用户的操作,对非个人数据进行处理,第二桌面启动程序可W基于用户的操作,对个人数据进行处理。 [0168] In the embodiments disclosed in the present embodiment, the mobile terminal comprising a first table and a second table launcher launcher, a first table and a second table launcher launcher correspond to different databases, the program may start first desktop user based W the operation of the non-personal data is processed, the second initiator may be a desktop W based on a user's operation, personal data is processed. 而当接收到第一桌面启动程序的启动指令时,可W挂起第二桌面启动程序,再启动第二桌面启动程序,使第一桌面启动程序和第二桌面启动程序进行切换,之后,终端可W从第一桌面启动程序对应的第一数据库中,获取第一桌面启动程序的桌面显示数据,进而加载第一桌面,保证个人数据和非个人数据分开管理。 And when the start command is received first desktop launcher can suspend a second table W launcher, then start the second program starting the desktop, the desktop of the first program and the second start switch desktop launcher program, then the terminal W may be a first database from a first desktop to start the program corresponding to the acquired first desktop launcher Desktop display data, and then loading the first table, to ensure non-personal data and the personal data managed separately.

[0169] 关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。 [0169] For the above-described embodiment apparatus, wherein each module performs a specific operation of the embodiment has been described in detail in an embodiment relating to the method, and will not be here described in detail.

[0170] 图7是根据一示例性实施例示出的一种用于桌面启动的装置700的框图。 [0170] FIG. 7 is an exemplary embodiment illustrates a block diagram of the desktop device 700 for starting. 例如, 装置700可W是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备, 医疗设备,健身设备,个人数字助理等。 For example, W device 700 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, medical equipment, fitness equipment, personal digital assistant.

[0171] 参照图7,装置700可W包括W下一个或多个组件;处理组件702,存储器704,电源组件706,多媒体组件708,音频组件710,输入/输出(I/O)的接口712,传感器组件714, W及通信组件716。 [0171] Referring to Figure 7, device 700 may include a lower W W one or more components; processing component 702, memory 704, power module 706, the multimedia component 708, audio components 710, input / output (I / O) interface 712 , the sensor assembly 714, W 716, and a communication component.

[0172] 处理组件702通常控制装置700的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。 [0172] Processing component 702 generally controls the overall operation of device 700, such as a display, a telephone call, a data communication operation, camera operations and recording operations associated. 处理元件702可W包括一个或多个处理器720来执行指令,W完成上述的方法的全部或部分步骤。 W processing element 702 may include one or more processors 720 to execute instructions, W complete all or part of steps of the methods described above. 此外,处理组件702可W包括一个或多个模块, 便于处理组件702和其他组件之间的交互。 Moreover, processing component 702 may include one or more modules W, facilitates the interaction between a component 702 and other components. 例如,处理部件702可W包括多媒体模块,W方便多媒体组件708和处理组件702之间的交互。 For example, processing component 702 may comprise W interaction between the multimedia module, and the W component 708 to facilitate media processing component 702.

[0173] 存储器704被配置为存储各种类型的数据W支持在设备700的操作。 [0173] The memory 704 is configured to store various types of data W device 700 of the support operation. 该些数据的示例包括用于在装置700上操作的任何应用程序或方法的指令,联系人数据,电话簿数据, 消息,图片,视频等。 These examples of the data include instructions or any application method on a device 700 for operation, contact data, phonebook data, messages, pictures, videos and the like. 存储器704可W由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器巧EPROM),可擦除可编程只读存储器巧PROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。 W memory 704 may be implemented by any type of volatile or non-volatile storage devices, or combinations thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory clever EPROM), erasable Qiao programmable Read Only memory PROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.

[0174] 电力组件706为装置700的各种组件提供电力。 [0174] Power unit assembly 706 to provide power to the various components 700. 电力组件706可W包括电源管理系统,一个或多个电源,及其他与为装置700生成、管理和分配电力相关联的组件。 W electrical component 706 may include a power management system, one or more power sources, and the other is generating apparatus 700, the management and distribution of power associated components.

[01巧]多媒体组件708包括在所述装置700和用户之间的提供一个输出接口的屏幕。 [Qiao 01] Display assembly 708 includes means 700 provided between the screen and a user interface output. 在一些实施例中,屏幕可W包括液晶显示器(LCD)和触摸面板(T巧。如果屏幕包括触摸面板, 屏幕可W被实现为触摸屏,W接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器W感测触摸、滑动和触摸面板上的手势。所述触摸传感器可W不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件708包括一个前置摄像头和/或后置摄像头。当设备700处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可W接收外部的多媒体数据。每个前置摄像头和后置摄像头可W是一个固定的光学透镜系统或具有焦距和光学变焦能力。 In some embodiments, screen W includes a liquid crystal display (LCD) and a touch panel (T Qiao. If the screen includes a touch panel, the screen may be W is implemented as a touch screen, W receives an input signal from a user. The touch panel includes one or more W touch sensor sensing a touch, and a sliding gesture on a touch panel. the touch sensor may sense not only a touched W or boundary sliding motion, but also detects the touch slide operation or the associated pressure and duration. in some embodiments, the multimedia component 708 includes a front camera and / or the rear camera when the device 700 is in operation mode, such as a shooting mode or video mode, front camera and / or the rear camera may be W receives an external multimedia data. each front camera and the rear camera may be W is a fixed optical system or a lens having a focal length and optical zoom capability.

[0176] 音频组件710被配置为输出和/或输入音频信号。 [0176] Audio component 710 is configured to output and / or input audio signal. 例如,音频组件710包括一个麦克风(MIC),当装置700处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。 For example, an audio component 710 comprises a microphone (the MIC), when the device 700 in the operation mode, such as a call mode, recording mode and voice recognition mode, the microphone configured to receive an external audio signal. 所接收的音频信号可W被进一步存储在存储器704或经由通信组件716发送。 Received audio signal W may further be transmitted or stored in the memory 704 via the communications component 716. 在一些实施例中,音频组件710还包括一个扬声器,用于输出音频信号。 In some embodiments, an audio component 710 further includes a speaker for outputting an audio signal.

[0177] I/O接口712为处理组件702和外围接口模块之间提供接口,上述外围接口模块可W是键盘,点击轮,按钮等。 [0177] I / O interface 712 provided between the processing component 702 and a peripheral interface module interface, said peripheral interface module W may be a keyboard, click wheels, and so the button is. 该些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。 The plurality of buttons can include, but are not limited to: a home button, a volume button, a start button and the lock button.

[0178] 传感器组件714包括一个或多个传感器,用于为装置700提供各个方面的状态评估。 [0178] The sensor assembly 714 includes one or more sensors for providing the status of various aspects of the evaluation device 700. 例如,传感器组件714可W检测到设备700的打开/关闭状态,组件的相对定位,例如所述组件为装置700的显示器和小键盘,传感器组件714还可W检测装置700或装置700 一个组件的位置改变,用户与装置700接触的存在或不存在,装置700方位或加速/减速和装置700的温度变化。 For example, the sensor assembly 714 may be W device 700 detects the open / closed state, the relative positioning of the components, for example, the assembly device 700 is a keypad and a display, the sensor assembly 714 may further detection means 700 W device 700 or a component there is a contact position changes, or the user of the device 700 is not present, a temperature change 700 orientation or acceleration / deceleration device 700 and the apparatus. 传感器组件714可W包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。 W sensor assembly 714 may include a proximity sensor, configured to in the absence of any physical contact detecting nearby objects. 传感器组件714还可W包括光传感器,如CMOS或CCD图像传感器,用于在成像应用中使用。 W sensor assembly 714 may further include a light sensor, such as CMOS or CCD image sensors, for use in imaging applications. 在一些实施例中,该传感器组件714还可W包括加速度传感器,巧螺仪传感器,磁传感器,压力传感器或温度传感器。 In some embodiments, the sensor assembly 714 may further include an acceleration sensor W, Qiao spiro gauge sensor, a magnetic sensor, a pressure sensor or a temperature sensor.

[0179] 通信组件716被配置为便于装置700和其他设备之间有线或无线方式的通信。 [0179] Communication component 716 is configured to communicate between the device 700 and other devices facilitate wired or wireless manner. 装置700可W接入基于通信标准的无线网络,如WiFi, 2G或3G,或它们的组合。 W device 700 can access the wireless network-based communications standards, such as WiFi, 2G or 3G, or a combination thereof. 在一个示例性实施例中,通信部件716经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。 In one exemplary embodiment, the communication section 716 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. 在一个示例性实施例中,所述通信部件716还包括近场通信(NFC)模块,W促进短程通信。 In one exemplary embodiment, the communication member 716 further includes a near field communication (NFC) module, W facilitate short-range communications. 例如,在NFC模块可基于射频识别脚ID)技术,红外数据协会化DA)技术,超宽带扣WB)技术,藍牙炬T)技术和其他技术来实现。 For example, the NFC module based on radio frequency identification pin ID) technology, Infrared Data Association of DA) technology, ultra-wideband buckle WB) technology, Bluetooth, torch T) technology and other technologies.

[0180] 在示例性实施例中,装置700可W被一个或多个应用专用集成电路(ASIC)、数字信号处理器值SP)、数字信号处理设备值SPD)、可编程逻辑器件(PLD)、现场可编程口阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。 [0180] In an exemplary embodiment, device 700 may be a W or more application specific integrated circuits (ASIC), a digital signal processor, the SP values), the value of the digital signal processing device a SPD), a programmable logic device (PLD) , a field programmable array port (the FPGA), a controller, a microcontroller, a microprocessor, or other electronic components to achieve, for performing the above method.

[0181] 在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器704,上述指令可由装置700的处理器720执行W完成上述方法。 [0181] In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium comprising instructions, the instructions including, for example, memory 704, device 700 by the command processor 720 performs the above method of W. 例如,所述非临时性计算机可读存储介质可W是ROM、随机存取存储器(RAM)、CD-ROM、磁带、 软盘和光数据存储设备等。 For example, the non-transitory computer-readable storage medium may be W is a ROM, a random access memory (RAM), CD-ROM, magnetic tapes, floppy disks, and optical data storage devices.

[0182] 一种非临时性计算机可读存储介质,当所述存储介质中的指令由移动终端的处理器执行时,使得移动终端能够执行一种桌面启动方法,所述方法包括: [0182] A non-transitory computer-readable storage medium, when the storage medium is executed by a processor of the mobile terminal, enables the mobile terminal to perform a desktop launcher, the method comprising:

[0183] 当接收到第一桌面启动程序的启动指令时,挂起第二桌面启动程序,第一桌面启动程序和第二桌面启动程序对应不同的数据库; [0183] When a start command is received first desktop to start the program, start a program hangs second table, the first table and the second table top launcher launcher correspond to different databases;

[0184] 启动第一桌面启动程序; [0184] Start first desktop launcher;

[0185] 从第一数据库中,获取第一桌面启动程序的桌面显示数据,第一数据库为第一桌面启动程序对应的数据库; [0185] from the first database, obtaining first desktop launcher desktop display data, a first database a first table corresponding to the program to start a database;

[0186] 基于第一桌面启动程序的桌面显示数据,加载第一桌面。 [0186] displaying the desktop data based on the first desktop boot program loaded first desktop.

[0187] 在本公开的另一实施例中,基于第一桌面启动程序的显示数据,加载第一桌面之后,还包括: [0187] In another embodiment of the present disclosure, the first desktop to start based on the display data of the program, after the first desktop is loaded, further comprising:

[018引当接收到第二桌面启动程序的启动指令时,挂起第一桌面启动程序; When [018 lead when the second start command is received to start the desktop program, start a program hangs first desktop;

[0189] 基于第一桌面启动程序对应的指定访问密码,对第一数据库进行加密。 [0189] based on the specified password to access the desktop first start the program corresponding to the first database is encrypted.

[0190] 在本公开的另一实施例中,从第一数据库中,获取第一桌面启动程序的桌面显示数据,包括: [0190] In another embodiment of the present disclosure, from the first database, obtaining first desktop launcher desktop display data, comprising:

[0191] 当接收到第一数据库的打开指令时,显示密码输入界面; [0191] When the received command opens the first database, the password entry screen;

[0192] 当接收到基于该密码输入界面输入的访问密码时,将接收的访问密码与第一桌面启动程序对应的指定访问密码进行比较; [0192] Upon receiving the access password to the password input screen based on input received access password corresponding to the first desktop launcher designated access codes are compared;

[0193] 当接收的访问密码与第一桌面启动程序对应的指定访问密码相同时,打开第一数据库; [0193] When the received access start specified password first desktop access password corresponding to the same program, opening the first database;

[0194] 从第一数据库中,获取第一桌面启动程序的桌面显示数据。 [0194] from the first database, the first desktop launcher Desktop obtaining display data.

[0195] 在本公开的另一实施例中,挂起第二桌面启动程序之前,还包括: [0195] In another embodiment of the present disclosure, the second desktop launcher before suspending, further comprising:

[0196] 当首次接收到第一桌面启动程序的启动指令时,创建第一数据库; [0196] When first receiving the first start command to start the desktop program to create the first database;

[0197] 设置第一数据库的访问权限,W及第一桌面启动程序的指定访问密码。 Access [0197] providing a first database, W and specify a password to access the desktop first start the program.

[019引在本公开的另一实施例中,设置第一数据库的访问权限,包括: [019 incorporated in another embodiment of the present disclosure, provided access to the first database, comprising:

[0199] 获取已安装的应用程序的应用标识,得到多个应用标识; [0199] Get the application identifier of the application installed, to obtain a plurality of application identification;

[0200] 当接收到对该多个应用标识中的至少一个应用标识的选择指令时,将该至少一个应用标识存储在白名单中; [0200] Upon receiving the selection instruction is identified when at least one application of the plurality of application identification, the at least one application identifier stored in the white list;

[0201] 设置该至少一个应用标识对第一数据库的访问权限; [0201] provided that at least one application identifier access to the first database;

[0202] 将第一数据库的标识、该至少一个应用标识和该至少一个应用标识对第一数据库的访问权限,存储在数据库标识、应用标识与访问权限之间的对应关系中。 [0202] The first database identifier, the application identifier and the at least one of the at least one application access to the first database identifier, the correspondence relationship between the database stored in the identifier, the application identifier and access permissions.

[0203] 在本公开的另一实施例中,该方法还包括: [0203] In another embodiment of the present disclosure, the method further comprising:

[0204] 接收对目标数据库的数据访问指令,该数据访问指令携带应用标识和目标数据库的标识,目标数据库为第一数据库或者第二数据库,第二数据库为第二桌面启动程序对应的数据库; [0204] receiving data to the target database access instruction, the data access instruction carrying the identifier and the application identifier of the target database, the first database to the target database or the second database, the second database to a second database corresponding to the desktop launcher;

[02化]判断存储的白名单中是否包括该应用标识,白名单中存储多个对目标数据库具有访问权限的应用标识; [Of 02] stored in the whitelist is determined whether the application identifier includes storing a plurality of the target has access to the database to the application identifier, whitelist;

[0206] 如果白名单中包括该应用标识,则基于目标数据库的标识和该应用标识,从存储的数据库标识、应用标识与访问权限之间的对应关系中,获取对应的访问权限; [0206] If the white list comprises the application identifier is based on the identification of the target database and the application identifier, the correspondence between the identification database stored in the application identifier and access rights, corresponding to gain access;

[0207] 基于获取的访问权限,对目标数据库进行数据访问。 [0207] Based on the acquired access rights on the target database for data access.

[0208] 在本公开实施例中,移动终端包括第一桌面启动程序和第二桌面启动程序,第一桌面启动程序和第二桌面启动程序对应不同的数据库,第一桌面启动程序可W基于用户的操作,对非个人数据进行处理,第二桌面启动程序可W基于用户的操作,对个人数据进行处理。 [0208] In the embodiments disclosed in the present embodiment, the mobile terminal comprising a first table and a second table launcher launcher, a first table and a second table launcher launcher correspond to different databases, the program may start first desktop user based W the operation of the non-personal data is processed, the second initiator may be a desktop W based on a user's operation, personal data is processed. 而当接收到第一桌面启动程序的启动指令时,可W挂起第二桌面启动程序,再启动第二桌面启动程序,使第一桌面启动程序和第二桌面启动程序进行切换,之后,终端可W从第一桌面启动程序对应的第一数据库中,获取第一桌面启动程序的桌面显示数据,进而加载第一桌面,保证个人数据和非个人数据分开管理。 And when the start command is received first desktop launcher can suspend a second table W launcher, then start the second program starting the desktop, the desktop of the first program and the second start switch desktop launcher program, then the terminal W may be a first database from a first desktop to start the program corresponding to the acquired first desktop launcher Desktop display data, and then loading the first table, to ensure non-personal data and the personal data managed separately.

[0209] 本领域技术人员在考虑说明书及实践该里公开的发明后,将容易想到本发明的其它实施方案。 [0209] Those skilled in the art upon consideration of the specification and practice of the invention disclosed in, will readily appreciate other embodiments of the present invention. 本申请旨在涵盖本发明的任何变型、用途或者适应性变化,该些变型、用途或者适应性变化遵循本发明的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。 This application is intended to cover any variations, uses, or adaptations of the invention encompasses that these variations, uses, or adaptations of the invention following the general principles of the common general knowledge and comprises in the art of the present disclosure is not disclosed in the conventional techniques or means. 说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权利要求指出。 The specification and examples be considered as exemplary only, with a true scope and spirit of the invention indicated by the following claims claim.

[0210] 应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可W在不脱离其范围进行各种修改和改变。 [0210] It should be appreciated that the present invention is not limited to the above has been described and illustrated in the drawings the precise structure, and W can be carried out without departing from the scope of the various modifications and changes. 本发明的范围仅由所附的权利要求来限制。 Scope of the invention be limited only by the appended claims.

Claims (13)

  1. 1. 一种桌面启动方法,其特征在于,所述方法包括: 当接收到第一桌面启动程序的启动指令时,挂起第二桌面启动程序,所述第一桌面启动程序和所述第二桌面启动程序对应不同的数据库; 启动所述第一桌面启动程序; 从第一数据库中,获取所述第一桌面启动程序的桌面显示数据,所述第一数据库为所述第一桌面启动程序对应的数据库; 基于所述第一桌面启动程序的桌面显示数据,加载第一桌面。 CLAIMS 1. A method for starting the desktop, characterized in that, the method comprising: upon receiving a start command to start the program first desktop, hangs second desktop launcher, said first table and said second program starting Desktop launcher correspond to different databases; boot program start the first desktop; from the first database, obtaining the first desktop table launcher display data, the first database corresponding to the first desktop launcher database; displaying the desktop data based on the first table of the boot program, loading first desktop.
  2. 2. 如权利要求1所述的方法,其特征在于,所述基于所述第一桌面启动程序的显示数据,加载第一桌面之后,还包括: 当接收到所述第二桌面启动程序的启动指令时,挂起所述第一桌面启动程序; 基于所述第一桌面启动程序对应的指定访问密码,对所述第一数据库进行加密。 After 2. The method according to claim 1, wherein said first table based on the display data of the startup procedure, the first table is loaded, further comprising: when receiving the second start program to start the desktop instruction, suspending the first desktop initiator; based on the designation of the first desktop access password corresponding boot program, the first database is encrypted.
  3. 3. 如权利要求1所述的方法,其特征在于,所述从第一数据库中,获取所述第一桌面启动程序的桌面显示数据,包括: 当接收到所述第一数据库的打开指令时,显示密码输入界面; 当接收到基于所述密码输入界面输入的访问密码时,将接收的访问密码与所述第一桌面启动程序对应的指定访问密码进行比较; 当所述接收的访问密码与所述指定访问密码相同时,打开所述第一数据库; 从所述第一数据库中,获取所述第一桌面启动程序的桌面显示数据。 3. The method according to claim 1, wherein said acquiring of said first table from the first table launcher display data in a database, comprising: when receiving an instruction to open the first database , password input screen display; upon receiving the access password input on the password input screen, the received password to access the first table corresponding to the boot program comparing the specified access password; if the received access code and the designated access codes are the same, opening the first database; from the first database, obtaining the first desktop table launcher display data.
  4. 4. 如权利要求1或3所述的方法,其特征在于,所述挂起第二桌面启动程序之前,还包括: 当首次接收到所述第一桌面启动程序的启动指令时,创建所述第一数据库; 设置所述第一数据库的访问权限,以及所述第一桌面启动程序的指定访问密码。 Before 4. The method according to claim 13, wherein said second table to start the program suspend, further comprising: when a first start command is received to start the first program table creating the the first database; access to the database of the first set, and specify a password to access the first desktop to start the program.
  5. 5. 如权利要求4所述的方法,其特征在于,所述设置所述第一数据库的访问权限,包括: 获取已安装的应用程序的应用标识,得到多个应用标识; 当接收到对所述多个应用标识中的至少一个应用标识的选择指令时,将所述至少一个应用标识存储在白名单中; 设置所述至少一个应用标识对所述第一数据库的访问权限; 将所述第一数据库的标识、所述至少一个应用标识和所述至少一个应用标识对所述第一数据库的访问权限,存储在数据库标识、应用标识与访问权限之间的对应关系中。 5. The method according to claim 4, wherein said first set access permissions of the database, comprising: acquiring the application identifier of the application installed, to obtain a plurality of application identification; Upon receiving the pair selecting at least one instruction of said plurality of applications identified by the application identifier of the at least one application identifier stored in the whitelist; provided at least one application identifier of the access to the first database; the first identifying a database, said at least one application identifier and said application identifying at least one access to the first database, the corresponding relation between the database stored in the identifier, the application identifier and access permissions.
  6. 6. 如权利要求1所述的方法,其特征在于,所述方法还包括: 接收对目标数据库的数据访问指令,所述数据访问指令携带应用标识和所述目标数据库的标识,所述目标数据库为第一数据库或者第二数据库,所述第二数据库为所述第二桌面启动程序对应的数据库; 判断存储的白名单中是否包括所述应用标识,所述白名单中存储多个对所述目标数据库具有访问权限的应用标识; 如果所述白名单中包括所述应用标识,则基于所述目标数据库的标识和所述应用标识,从存储的数据库标识、应用标识与访问权限之间的对应关系中,获取对应的访问权限; 基于获取的访问权限,对所述目标数据库进行数据访问。 6. The method according to claim 1, wherein said method further comprises: receiving a data access instruction to the target database, the data access instruction identifier and the application identifier carried in the target database, the target database a first database or the second database, the second database to the second database table corresponding boot program; white list comprises determining whether the stored application identifier, storing a plurality of the white list of the application identification of the target database has access; if the whitelist includes the application identifier, the application identifier and based on the identification of the target database, the correspondence between the identifier from the database, the application identifier stored in the access relationship, corresponding to gain access; based access privileges acquired, the target database for data access.
  7. 7. -种桌面启动装置,其特征在于,所述装置包括: 第一挂起模块,用于当接收到第一桌面启动程序的启动指令时,挂起第二桌面启动程序,所述第一桌面启动程序和所述第二桌面启动程序对应不同的数据库; 启动模块,用于启动所述第一桌面启动程序; 第一获取模块,用于从第一数据库中,获取所述第一桌面启动程序的桌面显示数据,所述第一数据库为所述第一桌面启动程序对应的数据库; 加载模块,用于基于所述第一桌面启动程序的桌面显示数据,加载第一桌面。 7. - Desktop species actuating means, characterized in that, said means comprising: a first module hangs, when receiving a start command to start first desktop program, start a program hangs second desktop, the first Desktop start program and said second start program table corresponding to different databases; activating means for activating the first desktop boot program; a first acquiring module, configured from a first database, obtaining the first desktop start desktop applications to display data, corresponding to the first database of the first database table boot program; loading module for displaying a desktop based on the first table data boot program loaded first desktop.
  8. 8. 如权利要求7所述的装置,其特征在于,所述装置还包括: 第二挂起模块,用于当接收到所述第二桌面启动程序的启动指令时,挂起所述第一桌面启动程序; 加密模块,用于基于所述第一桌面启动程序对应的指定访问密码,对所述第一数据库进行加密。 8. The apparatus according to claim 7, wherein said apparatus further comprises: a second module hangs, when receiving a start command to start the second program table, first suspending the Desktop launcher; encryption module, based on the first table specifies an access code corresponding boot program, the first database is encrypted.
  9. 9. 如权利要求7所述的装置,其特征在于,所述第一获取模块包括: 显示单元,用于当接收到所述第一数据库的打开指令时,显示密码输入界面; 比较单元,用于当接收到基于所述密码输入界面输入的访问密码时,将接收的访问密码与所述第一桌面启动程序对应的指定访问密码进行比较; 打开单元,用于当所述接收的访问密码与所述指定访问密码相同时,打开所述第一数据库; 第一获取单元,用于从所述第一数据库中,获取所述第一桌面启动程序的桌面显示数据。 9. The apparatus according to claim 7, wherein said first acquisition module comprising: a display unit for, when receiving an instruction to open the first database, the password input screen display; a comparison unit, with when receiving the access to the password input on the password input screen, the received password to access the first table corresponding to the boot program comparing the specified access password; opening unit, configured to, when the access code received and the designated access codes are the same, opening the first database; a first acquiring unit, from the first database for obtaining the first desktop launcher Desktop display data.
  10. 10. 如权利要求7或9所述的装置,其特征在于,所述装置还包括: 创建模块,用于当首次接收到所述第一桌面启动程序的启动指令时,创建所述第一数据库; 设置模块,用于设置所述第一数据库的访问权限,以及所述第一桌面启动程序的指定访问密码。 A first database creation module for the first time when the start command is received to start the first program table creating the: 7 or 10. The apparatus according to claim 9, characterized in that said apparatus further comprises ; setting means for setting the first access to the database, and specify a password to access the first desktop startup procedure.
  11. 11. 如权利要求10所述的装置,其特征在于,所述设置模块包括: 第二获取单元,用于获取已安装的应用程序的应用标识,得到多个应用标识; 第一存储单元,用于当接收到对所述多个应用标识中的至少一个应用标识的选择指令时,将所述至少一个应用标识存储在白名单中; 设置单元,用于设置所述至少一个应用标识对所述第一数据库的访问权限; 第二存储单元,用于将所述第一数据库的标识、所述至少一个应用标识和所述至少一个应用标识对所述第一数据库的访问权限,存储在数据库标识、应用标识与访问权限之间的对应关系中。 A first storage unit for; a second acquiring unit, configured to obtain application identifying an application program installed to give the plurality of application identification: 11. The apparatus of claim 10, wherein the setting module comprises upon receiving the at least one application selection instruction identifying a plurality of application identifier, the application identifier stored in the at least one white list; setting unit for setting at least one identification of the application access the first database; a second storage unit for identifying the first database, at least one application identifier and said application identifying at least one access to the first database, stored in a database identifier correspondence between the application identification and access permissions.
  12. 12. 如权利要求7所述的装置,其特征在于,所述装置还包括: 接收模块,用于接收对目标数据库的数据访问指令,所述数据访问指令携带应用标识和所述目标数据库的标识,所述目标数据库为第一数据库或者第二数据库,所述第二数据库为所述第二桌面启动程序对应的数据库; 判断模块,用于判断存储的白名单中是否包括所述应用标识,所述白名单中存储多个对所述目标数据库具有访问权限的应用标识; 第二获取模块,用于在所述白名单中包括所述应用标识时,基于所述目标数据库的标识和所述应用标识,从存储的数据库标识、应用标识与访问权限之间的对应关系中,获取对应的访问权限; 数据访问模块,用于基于获取的访问权限,对所述目标数据库进行数据访问。 12. The apparatus according to claim 7, wherein said apparatus further comprises: a receiving module for receiving data to the target database access instruction, the data access instruction identifier and the application identifier carried in the target database the target database of the first database or the second database, the second database to the second database table corresponding boot program; determining module, for determining whether the stored white list is included in the application identifier, the storing a plurality of application identification have access to the database of said target whitelist; a second acquiring module, for when the white list includes the application identifier, based on the identification of the target database and the application identification, from the correspondence between the database identifier, the application identifier stored in the access authority, corresponding to gain access; data access module, based on the acquired access, the data access target database.
  13. 13. -种桌面启动装置,其特征在于,所述装置包括: 处理器; 用于存储处理器可执行指令的存储器; 其中,所述处理器被配置为: 当接收到第一桌面启动程序的启动指令时,挂起第二桌面启动程序,所述第一桌面启动程序和所述第二桌面启动程序对应不同的数据库; 启动所述第一桌面启动程序; 从第一数据库中,获取所述第一桌面启动程序的桌面显示数据,所述第一数据库为所述第一桌面启动程序对应的数据库; 基于所述第一桌面启动程序的桌面显示数据,加载第一桌面。 13. - Desktop species actuating means, characterized in that said apparatus comprising: a processor; a memory storing processor-executable instructions; and wherein the processor is configured to: when receiving the first desktop launcher when the start command, the pending second desktop launcher, the launcher first table and the second table corresponding to different boot program database; boot program start the first desktop; from the first database, obtaining the Desktop first desktop launcher display data, corresponding to the first database of the first database table launcher; Desktop display data based on the first table of the boot program, loading first desktop.
CN 201510307434 2015-06-05 2015-06-05 Desktop startup method and apparatus CN104965732A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201510307434 CN104965732A (en) 2015-06-05 2015-06-05 Desktop startup method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201510307434 CN104965732A (en) 2015-06-05 2015-06-05 Desktop startup method and apparatus

Publications (1)

Publication Number Publication Date
CN104965732A true true CN104965732A (en) 2015-10-07

Family

ID=54219767

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201510307434 CN104965732A (en) 2015-06-05 2015-06-05 Desktop startup method and apparatus

Country Status (1)

Country Link
CN (1) CN104965732A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110167364A1 (en) * 2010-01-05 2011-07-07 Nokia Corporation Methods and apparatuses for improving application startup
US20140075422A1 (en) * 2010-11-16 2014-03-13 Syddansk Universitet Method for dynamically transforming the bytecode of java virtual machine bootstrap classes
CN103677587A (en) * 2013-12-11 2014-03-26 Tcl集团股份有限公司 Method and system for rapidly switching main interfaces in Android system
CN103713813A (en) * 2014-01-03 2014-04-09 三星电子(中国)研发中心 Method for controlling functions of intelligent handheld equipment
CN104063134A (en) * 2014-07-03 2014-09-24 上海斐讯数据通信技术有限公司 Method for managing Android Launcher desktop

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110167364A1 (en) * 2010-01-05 2011-07-07 Nokia Corporation Methods and apparatuses for improving application startup
US20140075422A1 (en) * 2010-11-16 2014-03-13 Syddansk Universitet Method for dynamically transforming the bytecode of java virtual machine bootstrap classes
CN103677587A (en) * 2013-12-11 2014-03-26 Tcl集团股份有限公司 Method and system for rapidly switching main interfaces in Android system
CN103713813A (en) * 2014-01-03 2014-04-09 三星电子(中国)研发中心 Method for controlling functions of intelligent handheld equipment
CN104063134A (en) * 2014-07-03 2014-09-24 上海斐讯数据通信技术有限公司 Method for managing Android Launcher desktop

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
KFADONG339: "小米盒子怎么修改默认桌面", 《HTTPS://JINGYAN.BAIDU.COM/ARTICLE/597A064363CA76312A524351.HTML》 *

Similar Documents

Publication Publication Date Title
CN104391635A (en) Device and method for unlocking screen
CN104008635A (en) Equipment control method and device
CN104008348A (en) Application program control method, application program control device and terminal
CN103914634A (en) Image encryption method, image encryption device and electronic device
CN104598093A (en) Method and device for prompting message during screen locking
CN104503688A (en) Intelligent hardware device control achieving method and device
CN104216742A (en) Upgrade control method and device based on password
CN104112091A (en) File locking method and device
CN104820675A (en) Photo album displaying method and device
CN104020628A (en) Flash lamp prompting method and device thereof
CN104104514A (en) Method and device for identifying by using verification code
CN104156071A (en) Method and device for setting screen password and unlocking screen
CN104808501A (en) Intelligent scene deleting method and device
CN104239094A (en) Method and device for controlling background application programs and terminal equipment
CN104133637A (en) Screen unlocking method and device
US20150271175A1 (en) Method for performing communication via fingerprint authentication and electronic device thereof
CN104866750A (en) Method and device for starting application
CN103916233A (en) Information encryption method and device
CN104376273A (en) Data access control method and device
CN104834665A (en) Target picture acquiring method and device
CN104036165A (en) Password processing method and device
CN103970544A (en) Access trace handling method and device
CN103970909A (en) Method and device for displaying tabs of browser
US20150207794A1 (en) Electronic device for controlling an external device using a number and method thereof
CN104951682A (en) Privacy protection method and device

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination