CN103391189A - Terminal and data processing method - Google Patents

Terminal and data processing method Download PDF

Info

Publication number
CN103391189A
CN103391189A CN2013103267221A CN201310326722A CN103391189A CN 103391189 A CN103391189 A CN 103391189A CN 2013103267221 A CN2013103267221 A CN 2013103267221A CN 201310326722 A CN201310326722 A CN 201310326722A CN 103391189 A CN103391189 A CN 103391189A
Authority
CN
China
Prior art keywords
data
processing unit
private data
processing
private
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2013103267221A
Other languages
Chinese (zh)
Inventor
刘东海
祝芳浩
袁刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Dongguan Yulong Telecommunication Technology Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Dongguan Yulong Telecommunication Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd, Dongguan Yulong Telecommunication Technology Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN2013103267221A priority Critical patent/CN103391189A/en
Priority to PCT/CN2013/084356 priority patent/WO2015014015A1/en
Publication of CN103391189A publication Critical patent/CN103391189A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a terminal and a data processing method, wherein the terminal comprises: the terminal comprises a first processing unit, a second processing unit and a communication unit, wherein the first processing unit comprises a monitoring module, receives and judges data from external equipment of the terminal, sends private data to the first processing unit and sends non-private data to the second processing unit; the first processing unit is used for processing the non-private data or the private data from the second processing unit and then sending interactive data in the private data to the communication unit; the second processing unit is used for processing non-private data and sending interactive data in the non-private data to the first processing unit; and the communication unit is used for sending the interactive data in the private data or the interactive data in the non-private data to the outside. The invention can screen the private data and the non-private data from the external equipment, and respectively deliver the private data and the non-private data to different processors for processing, thereby ensuring the security of the private data in the terminal.

Description

终端和数据处理方法Terminal and data processing method

技术领域technical field

本发明涉及通信技术领域,具体而言,涉及一种终端和一种数据处理方法。The present invention relates to the technical field of communications, and in particular, to a terminal and a data processing method.

背景技术Background technique

传统的单待机架构如图1所示,只有一个手机基带芯片(Modem)、一个处理器(CPU)、一个内存器(RAM)和一个存储区(EMMC)。来自外部设备的所有数据都由一个CPU处理,且所有的数据都存储在一个RAM和EMMC中。The traditional single-standby architecture is shown in Figure 1. There is only one mobile phone baseband chip (Modem), one processor (CPU), one memory (RAM) and one storage area (EMMC). All data from external devices are processed by a CPU, and all data are stored in a RAM and EMMC.

现有方案的缺陷在于:The disadvantages of existing solutions are:

(1)传统的单待机架构中,CPU任务繁重,需要处理来自外部设备的所有数据,随着智能机的飞速发展,外部设备不断增多,智能机中的数据量非常庞大,单一CPU处理会导致数据处理速度明显减慢,影响用户体验。(1) In the traditional single-standby architecture, the CPU has a heavy task and needs to process all data from external devices. With the rapid development of smart phones, the number of external devices continues to increase, and the amount of data in smart phones is very large. Single CPU processing will lead to The data processing speed is significantly slowed down, affecting user experience.

(2)所有数据都通过单一CPU处理,数据混杂在一起,用户的联系人、信息、通话记录、安全密码等重要数据的安全性和私密性得不到有效保障,威胁用户重要数据的安全。(2) All data is processed by a single CPU, and the data is mixed together. The security and privacy of important data such as the user's contacts, information, call records, and security passwords cannot be effectively guaranteed, threatening the security of the user's important data.

(3)所有数据都由单一的RAM和EMMC存储,智能机数据量的急剧膨胀严重影响RAM和EMMC的稳定性,所有数据存储在同一个地方也严重影响个人私密信息数据的安全,很容易被第三方应用程序偷窥和窃取。另外,根据经验,RAM和EMMC中数据混乱极易引起手机死机,影响用户体验。(3) All data is stored by a single RAM and EMMC. The rapid expansion of smart machine data volume seriously affects the stability of RAM and EMMC. All data stored in the same place also seriously affects the security of personal private information data, which is easy to be stolen. Third-party apps peep and steal. In addition, according to experience, data confusion in RAM and EMMC can easily cause mobile phone crashes and affect user experience.

目前还没有相应技术来解决相关技术所面临的问题。At present, there is no corresponding technology to solve the problems faced by related technologies.

发明内容Contents of the invention

本发明正是基于上述技术问题至少之一,提出了一种新的技术方案,可以对来自外部设备的私密数据以及非私密数据进行筛选,并分别交由不同的处理器进行处理,避免了数据的混乱,确保终端中私密数据的安全性,提升用户的使用体验。Based on at least one of the above-mentioned technical problems, the present invention proposes a new technical solution, which can screen private data and non-private data from external devices and hand them over to different processors for processing, avoiding data chaos, ensure the security of private data in the terminal, and improve the user experience.

有鉴于此,本发明提出了一种终端,包括:第一处理单元、第二处理单元和通信单元,其中,所述第一处理单元包括监视模块,用于接收来自所述终端的外部设备的数据,并对所述数据进行判断,在判定所述数据为私密数据时,将所述私密数据发送至所述第一处理单元,在判定所述数据为非私密数据时,将所述非私密数据发送至所述第二处理单元;所述第一处理单元,将来自第二处理单元的非私密数据经由通信单元发送至所述终端的外部,或对所述私密数据进行处理后,将所述私密数据中的交互数据发送至通信单元;所述第二处理单元,用于对所述非私密数据进行处理后,将所述非私密数据中的交互数据发送至第一处理单元;所述通信单元,连接至所述第一处理单元,将所述私密数据中的交互数据或所述非私密数据中的交互数据发送至外部。In view of this, the present invention proposes a terminal, including: a first processing unit, a second processing unit, and a communication unit, wherein the first processing unit includes a monitoring module for receiving information from an external device of the terminal data, and judge the data, when it is judged that the data is private data, send the private data to the first processing unit, when it is judged that the data is non-private data, send the non-private data The data is sent to the second processing unit; the first processing unit sends the non-private data from the second processing unit to the outside of the terminal through the communication unit, or after processing the private data, sends the The interactive data in the private data is sent to the communication unit; the second processing unit is configured to send the interactive data in the non-private data to the first processing unit after processing the non-private data; A communication unit, connected to the first processing unit, and sending the interaction data in the private data or the interaction data in the non-private data to the outside.

为了提高数据的安全性,终端被配置了多个处理器,指定其中一部分处理器用于处理用户的隐私数据,其余处理器用于处理用户非私密数据,从而能够使众多的数据被分成多类分别进行处理,不仅可以加快响应速度,还可以保证数据的安全性,提高系统稳定性。In order to improve data security, the terminal is equipped with multiple processors, and some of the processors are designated to process the user's private data, and the rest of the processors are used to process the user's non-private data, so that many data can be divided into multiple categories. Processing can not only speed up the response speed, but also ensure data security and improve system stability.

由于外部设备连接至第一处理单元,而来自外部设备的数据包括私密数据和非私密数据,因此为了确保来自外部设备的私密数据与非私密数据分别交由不同的处理器进行处理,因此在第一处理单元中设置监视模块,以对来自外部设备的数据类型进行判断,即分为私密数据和非私密数据,保证数据分类的准确性,而将不同类型的数据分别发送至不同的处理单元,确保了数据处理的安全性。Since the external device is connected to the first processing unit, and the data from the external device includes private data and non-private data, in order to ensure that the private data and non-private data from the external device are respectively processed by different processors, the A monitoring module is set in the processing unit to judge the type of data from the external device, that is, it is divided into private data and non-private data to ensure the accuracy of data classification, and different types of data are sent to different processing units respectively. The security of data processing is ensured.

私密数据是指对于用户来讲该数据属于个人隐私的数据,例如密码、账号、短信内容、邮件内容、财务数据等,而非私密数据是指对于用户来讲该数据不属于个人隐私的数据,例如下载的音乐、电子书、收音机数据、网页新闻等。外部设备是指终端除处理器、通信单元之外的其他相关器件,例如屏幕、传感器、蓝牙、WIFI、照相机等。Private data refers to data that belongs to personal privacy for users, such as passwords, account numbers, SMS content, email content, financial data, etc., while non-private data refers to data that does not belong to personal privacy for users. Examples include downloaded music, e-books, radio data, web news, etc. External devices refer to other related devices of the terminal other than processors and communication units, such as screens, sensors, Bluetooth, WIFI, cameras, etc.

应理解,除了按照用户隐私角度来对数据进行分类之外,还可以采用其他的分类方法,例如与联系人相关的数据给第一处理单元处理,其他数据给第二处理单元处理。It should be understood that in addition to classifying data according to user privacy, other classification methods may also be used, for example, data related to contacts is processed by the first processing unit, and other data is processed by the second processing unit.

在上述技术方案中,优选地,还包括:第一存储单元,连接至所述第一处理单元,对所述第一处理单元处理后的所述私密数据进行存储;第二存储单元,连接至所述第二处理单元,对所述第二处理单元处理后的所述非私密数据进行存储。In the above technical solution, preferably, further comprising: a first storage unit, connected to the first processing unit, for storing the private data processed by the first processing unit; a second storage unit, connected to The second processing unit stores the non-private data processed by the second processing unit.

在该技术方案中,通过不同的存储单元对私密数据和非私密数据进行存储,避免了私密数据与非私密数据之间存储的混乱,确保了私密数据的安全性,第一存储单元和第二存储单元可以是存储器和/或内存器。另一方面,由于私密数据与非私密数据存储在不同的空间中,并由不同的处理器进行处理,因此提高了数据的处理速度。In this technical scheme, private data and non-private data are stored through different storage units, which avoids the confusion of storage between private data and non-private data and ensures the security of private data. The first storage unit and the second A storage unit may be a memory and/or a memory. On the other hand, since private data and non-private data are stored in different spaces and processed by different processors, the data processing speed is improved.

在上述技术方案中,优选地,还包括:更新单元,根据接收到的更新指令,更新对所述数据进行筛选的判定条件,以使所述监视模块根据更新后的判定条件进行私密数据和非私密数据的判断。In the above technical solution, preferably, it further includes: an update unit, which updates the judgment conditions for filtering the data according to the received update instruction, so that the monitoring module performs private data and non-private data according to the updated judgment conditions. Judgment on private data.

在该技术方案中,随着终端业务的增多,用户的私密数据的种类也将发生变化,比如在通信业务中,短信、通信录等属于用户的私密数据;在终端系统中,开关机密码、应用保护密码、终端防盗密码以及屏幕解锁密码等也属于用户的私密数据,通过对数据筛选的判断条件的更新,使得对数据的筛选更加准确,从而确保用户私密数据的安全性。In this technical solution, with the increase of terminal services, the types of user's private data will also change. For example, in communication services, SMS, address book, etc. belong to the user's private data; in the terminal system, the switch password, Application protection passwords, terminal anti-theft passwords, and screen unlock passwords also belong to the user's private data. By updating the judgment conditions for data screening, the data screening is made more accurate, thereby ensuring the security of the user's private data.

在上述技术方案中,优选地,所述判定条件包括将所述终端上的所有应用分为受保护应用和不受保护应用,所述私密数据属于所述受保护应用下的数据,所述非私密数据属于所述不受保护应用下的数据。In the above technical solution, preferably, the determination condition includes classifying all applications on the terminal into protected applications and unprotected applications, the private data belongs to the data under the protected applications, and the non-protected applications Private data belongs to the data under the unprotected application.

在该技术方案中,用户或厂商可以设置对数据的类型进行判定的条件,具体的,可以将终端内的所有应用分为受保护应用和不受保护应用,这样监视模块在接收到数据时,通过判断该数据所属的应用的类型判断数据的属性,如果该数据属于受保护应用,则该数据为私密数据,反之,则为非私密数据。比如可以将聊天工具作为受保护的应用,而将音乐播放器作为不受保护的应用,进而可以判断聊天工具产生的数据属于私密数据,而音乐播放器产生的数据属于非私密数据。当然,用户或厂商还可以根据需要设置其他的判定条件,如与联系人相关的数据为私密数据,其他数据为非私密数据等。In this technical solution, the user or manufacturer can set the conditions for determining the type of data. Specifically, all applications in the terminal can be divided into protected applications and unprotected applications, so that when the monitoring module receives data, The attribute of the data is judged by judging the type of the application to which the data belongs. If the data belongs to a protected application, the data is private data, otherwise, it is non-private data. For example, a chat tool can be regarded as a protected application, and a music player can be regarded as an unprotected application, and then it can be determined that the data generated by the chat tool belongs to private data, while the data generated by the music player belongs to non-private data. Certainly, the user or the manufacturer may also set other determination conditions as required, such as the data related to the contact is private data, other data is non-private data, and so on.

在上述技术方案中,优选地,所述监视模块还用于在所述第一处理单元需根据所述私密数据与所述外部设备进行交互时,向所述第二处理单元发送暂停通知,暂停所述第二处理单元与所述外部设备之间进行的非私密数据交互,以及在所述第一处理单元完成对所述私密数据的处理时,向所述第二处理单元发送反馈信号,通知所述第二处理单元继续进行与所述外部设备之间的非私密数据交互;所述监视模块还用于在所述第二处理单元需根据所述非私密数据与所述外部设备进行交互时,向所述第一处理单元发送暂停通知,暂停所述第一处理单元与所述外部设备之间进行的私密数据交互,以及在所述第二处理单元完成对所述非私密数据的处理时,向所述第一处理单元发送反馈信号,通知所述第一处理单元继续进行与所述外部设备之间的私密数据交互。In the above technical solution, preferably, the monitoring module is further configured to send a suspension notice to the second processing unit when the first processing unit needs to interact with the external device according to the private data, and suspend The non-private data interaction between the second processing unit and the external device, and when the first processing unit finishes processing the private data, send a feedback signal to the second processing unit to notify The second processing unit continues to interact with the external device with non-private data; the monitoring module is also configured to interact with the external device according to the non-private data when the second processing unit needs to , sending a suspension notification to the first processing unit, suspending the private data interaction between the first processing unit and the external device, and when the second processing unit finishes processing the non-private data , sending a feedback signal to the first processing unit, notifying the first processing unit to continue the private data interaction with the external device.

由于终端被配置了多个处理器,因此处理器与外部设备的交互变得相对复杂,为了协调多个处理器与外部设备的交互过程和顺序,在该技术方案中提供了当用于处理私密数据的第一处理单元需紧急处理实时发生的业务数据时,由监视模块向用于处理非私密数据的第二处理单元发送暂停通知,以暂停第二处理单元正在处理的业务数据,并处于等待状态,在第一处理单元完成与外部设备的交互时,由监视模块通知第二处理单元继续未完成的数据交互,通过这样的处理机制,能够保证用户相对重要、紧急的业务数据被优先处理,并且也不会影响其他业务数据的处理。具体地,可以在监视模块中设置标志位,当标志位置为低电平时,由第一处理单元工作,当标志位为高电平时,由第二处理单元工作,比如,用户在听音乐时(属于非私密数据,使用了外部设备喇叭,且由第二处理单元进行处理),手机突然来电(属于私密数据,应由第一处理单元进行处理,也需使用外部设备喇叭),则监视模块将标志位置为低电平,将来电数据交由第一处理单元进行处理,在第一处理单元处理完来电后,监视模块将标志位置为高电平,继续由第二处理单元控制外部设备喇叭播放音乐。Since the terminal is equipped with multiple processors, the interaction between the processors and external devices becomes relatively complicated. In order to coordinate the interaction process and sequence between multiple processors and external devices, this technical solution provides When the first data processing unit needs to urgently process real-time business data, the monitoring module sends a suspension notice to the second processing unit for processing non-private data, so as to suspend the business data being processed by the second processing unit and wait state, when the first processing unit completes the interaction with the external device, the monitoring module notifies the second processing unit to continue the unfinished data interaction. Through such a processing mechanism, it can ensure that the relatively important and urgent business data of the user is processed first. And it will not affect the processing of other business data. Specifically, a flag can be set in the monitoring module. When the flag is at a low level, the first processing unit works, and when the flag is at a high level, the second processing unit works. For example, when the user is listening to music ( It belongs to non-private data, which uses the speaker of the external device and is processed by the second processing unit), and a sudden call from the mobile phone (belongs to private data, which should be processed by the first processing unit and needs to use the speaker of the external device), then the monitoring module will The flag position is low level, and the incoming call data is handed over to the first processing unit for processing. After the first processing unit finishes processing the incoming call, the monitoring module sets the flag position as high level, and the second processing unit continues to control the external device speaker to play music.

同理,第二处理单元在需与外部设备进行交互时,也需向第一处理单元发送暂停通知,保证最紧急、最近的业务数据能够被优先处理。Similarly, when the second processing unit needs to interact with external devices, it also needs to send a suspension notification to the first processing unit to ensure that the most urgent and recent business data can be processed first.

根据本发明的另一方面,还提出了一种数据处理方法,包括:第一处理单元接收来自终端的外部设备的数据,并通过所述第一处理单元中的监视模块对所述数据进行判断,在判定所述数据为私密数据时,将所述私密数据发送至所述第一处理单元,在判定所述数据为非私密数据时,将所述非私密数据发送至所述第二处理单元;所述第一处理单元将来自第二处理单元的非私密数据经由通信单元发送至所述终端的外部,或对所述私密数据进行处理后,将所述私密数据中的交互数据经由通信单元发送至所述终端的外部;所述第二处理单元对所述非私密数据进行处理后,将所述非私密数据中的交互数据发送至第一处理率单元。According to another aspect of the present invention, a data processing method is also proposed, including: a first processing unit receives data from an external device of the terminal, and judges the data through a monitoring module in the first processing unit , when determining that the data is private data, sending the private data to the first processing unit, and when determining that the data is non-private data, sending the non-private data to the second processing unit ; The first processing unit sends the non-private data from the second processing unit to the outside of the terminal via the communication unit, or after processing the private data, sends the interactive data in the private data via the communication unit sent to the outside of the terminal; after the second processing unit processes the non-private data, it sends the interactive data in the non-private data to the first processing rate unit.

为了提高数据的安全性,终端被配置了多个处理器,指定其中一部分处理器用于处理用户的隐私数据,其余处理器用于处理用户非私密数据,从而能够使众多的数据被分成多类分别进行处理,不仅可以加快响应速度,还可以保证数据的安全性,提高系统稳定性。In order to improve data security, the terminal is equipped with multiple processors, and some of the processors are designated to process the user's private data, and the rest of the processors are used to process the user's non-private data, so that many data can be divided into multiple categories. Processing can not only speed up the response speed, but also ensure data security and improve system stability.

由于外部设备连接至第一处理单元,而来自外部设备的数据包括私密数据和非私密数据,因此为了确保来自外部设备的私密数据与非私密数据分别交由不同的处理器进行处理,因此在第一处理单元中设置监视模块,以对来自外部设备的数据类型进行判断,即分为私密数据和非私密数据,保证数据分类的准确性,而将不同类型的数据分别发送至不同的处理单元,确保了数据处理的安全性。Since the external device is connected to the first processing unit, and the data from the external device includes private data and non-private data, in order to ensure that the private data and non-private data from the external device are respectively processed by different processors, the A monitoring module is set in the processing unit to judge the type of data from the external device, that is, it is divided into private data and non-private data to ensure the accuracy of data classification, and different types of data are sent to different processing units respectively. The security of data processing is ensured.

私密数据是指对于用户来讲该数据属于个人隐私的数据,例如密码、账号、短信内容、邮件内容、财务数据等,而非私密数据是指对于用户来讲该数据不属于个人隐私的数据,例如下载的音乐、电子书、收音机数据、网页新闻等。Private data refers to data that belongs to personal privacy for users, such as passwords, account numbers, SMS content, email content, financial data, etc., while non-private data refers to data that does not belong to personal privacy for users. Examples include downloaded music, e-books, radio data, web news, etc.

外部设备是指终端除处理器、通信单元之外的其他相关器件,例如屏幕、传感器、蓝牙、WIFI、照相机等。External devices refer to other related devices of the terminal other than processors and communication units, such as screens, sensors, Bluetooth, WIFI, cameras, etc.

应理解,除了按照用户隐私角度来对数据进行分类之外,还可以采用其他的分类方法,例如与联系人相关的数据给第一处理单元处理,其他数据给第二处理单元处理。It should be understood that in addition to classifying data according to user privacy, other classification methods may also be used, for example, data related to contacts is processed by the first processing unit, and other data is processed by the second processing unit.

在上述技术方案中,优选地,还包括:通过第一存储单元对所述第一处理单元处理后的所述私密数据进行存储;通过第二存储单元对所述第二处理单元处理后的所述非私密数据进行存储。In the above technical solution, preferably, it further includes: using the first storage unit to store the private data processed by the first processing unit; using a second storage unit to store the private data processed by the second processing unit Store the above non-private data.

在该技术方案中,通过不同的存储单元对私密数据和非私密数据进行存储,避免了私密数据与非私密数据之间存储的混乱,确保了私密数据的安全性,第一存储单元和第二存储单元可以是存储器和/或内存器。另一方面,由于私密数据与非私密数据存储在不同的空间中,并由不同的处理器进行处理,因此提高了数据的处理速度。In this technical scheme, private data and non-private data are stored through different storage units, which avoids the confusion of storage between private data and non-private data and ensures the security of private data. The first storage unit and the second A storage unit may be a memory and/or a memory. On the other hand, since private data and non-private data are stored in different spaces and processed by different processors, the data processing speed is improved.

在上述技术方案中,优选地,还包括:根据接收到的更新指令,更新对所述数据进行筛选的判定条件,以使所述监视模块根据更新后的判定条件进行私密数据和非私密数据的判断。In the above technical solution, preferably, it further includes: according to the received update instruction, updating the judging conditions for filtering the data, so that the monitoring module performs screening of private data and non-private data according to the updated judging conditions. judge.

在该技术方案中,随着终端业务的增多,用户的私密数据的种类也将发生变化,比如在通信业务中,短信、通信录等属于用户的私密数据;在终端系统中,开关机密码、应用保护密码、终端防盗密码以及屏幕解锁密码等也属于用户的私密数据,通过对数据筛选的判断条件的更新,使得对数据的筛选更加准确,从而确保用户私密数据的安全性。In this technical solution, with the increase of terminal services, the types of user's private data will also change. For example, in communication services, SMS, address book, etc. belong to the user's private data; in the terminal system, the switch password, Application protection passwords, terminal anti-theft passwords, and screen unlock passwords also belong to the user's private data. By updating the judgment conditions for data screening, the data screening is made more accurate, thereby ensuring the security of the user's private data.

在上述技术方案中,优选地,所述判定条件包括将所述终端上的所有应用分为受保护应用和不受保护应用,所述私密数据属于所述受保护应用下的数据,所述非私密数据属于所述不受保护应用下的数据。In the above technical solution, preferably, the determination condition includes classifying all applications on the terminal into protected applications and unprotected applications, the private data belongs to the data under the protected applications, and the non-protected applications Private data belongs to the data under the unprotected application.

在该技术方案中,用户或厂商可以设置对数据的类型进行判定的条件,具体的,可以将终端内的所有应用分为受保护应用和不受保护应用,这样监视模块在接收到数据时,通过判断该数据所属的应用的类型判断数据的属性,如果该数据属于受保护应用,则该数据为私密数据,反之,则为非私密数据。比如可以将聊天工具作为受保护的应用,而将音乐播放器作为不受保护的应用,进而可以判断聊天工具产生的数据属于私密数据,而音乐播放器产生的数据属于非私密数据。当然,用户或厂商还可以根据需要设置其他的判定条件,如与联系人相关的数据为私密数据,其他数据为非私密数据等。In this technical solution, the user or manufacturer can set the conditions for determining the type of data. Specifically, all applications in the terminal can be divided into protected applications and unprotected applications, so that when the monitoring module receives data, The attribute of the data is judged by judging the type of the application to which the data belongs. If the data belongs to a protected application, the data is private data, otherwise, it is non-private data. For example, a chat tool can be regarded as a protected application, and a music player can be regarded as an unprotected application, and then it can be determined that the data generated by the chat tool belongs to private data, while the data generated by the music player belongs to non-private data. Certainly, the user or the manufacturer may also set other determination conditions as required, such as the data related to the contact is private data, other data is non-private data, and so on.

在上述技术方案中,优选地,在所述第一处理单元需根据所述私密数据与所述外部设备进行交互时,所述监视模块向所述第二处理单元发送暂停通知,暂停所述第二处理单元与所述外部设备之间进行的非私密数据交互,以及在所述第一处理单元完成对所述私密数据的处理时,向所述第二处理单元发送反馈信号,通知所述第二处理单元继续进行与所述外部设备之间的非私密数据交互;在所述第二处理单元需根据所述非私密数据与所述外部设备进行交互时,所述监视模块向所述第一处理单元发送暂停通知,暂停所述第一处理单元与所述外部设备之间进行的私密数据交互,以及在所述第二处理单元完成对所述非私密数据的处理时,向所述第一处理单元发送反馈信号,通知所述第一处理单元继续进行与所述外部设备之间的私密数据交互。In the above technical solution, preferably, when the first processing unit needs to interact with the external device according to the private data, the monitoring module sends a suspension notification to the second processing unit to suspend the second processing unit. The non-private data interaction between the second processing unit and the external device, and when the first processing unit finishes processing the private data, send a feedback signal to the second processing unit to notify the second processing unit The second processing unit continues to interact with the non-private data with the external device; when the second processing unit needs to interact with the external device according to the non-private data, the monitoring module sends a report to the first The processing unit sends a suspension notification to suspend the private data interaction between the first processing unit and the external device, and when the second processing unit completes the processing of the non-private data, sends a notification to the first processing unit. The processing unit sends a feedback signal to notify the first processing unit to continue the private data interaction with the external device.

由于终端被配置了多个处理器,因此处理器与外部设备的交互变得相对复杂,为了协调多个处理器与外部设备的交互过程和顺序,在该技术方案中提供了当用于处理私密数据的第一处理单元需紧急处理实时发生的业务数据时,由监视模块向用于处理非私密数据的第二处理单元发送暂停通知,以暂停第二处理单元正在处理的业务数据,并处于等待状态,在第一处理单元完成与外部设备的交互时,由监视模块通知第二处理单元继续未完成的数据交互,通过这样的处理机制,能够保证用户相对重要、紧急的业务数据被优先处理,并且也不会影响其他业务数据的处理。具体地,可以在监视模块中设置标志位,当标志位置为低电平时,由第一处理单元工作,当标志位为高电平时,由第二处理单元工作,比如,用户在听音乐时(属于非私密数据,使用了外部设备喇叭,且由第二处理单元进行处理),手机突然来电(属于私密数据,应由第一处理单元进行处理,也需使用外部设备喇叭),则监视模块将标志位置为低电平,将来电数据交由第一处理单元进行处理,在第一处理单元处理完来电后,监视模块将标志位置为高电平,继续由第二处理单元控制外部设备喇叭播放音乐。Since the terminal is equipped with multiple processors, the interaction between the processors and external devices becomes relatively complicated. In order to coordinate the interaction process and sequence between multiple processors and external devices, this technical solution provides When the first data processing unit needs to urgently process real-time business data, the monitoring module sends a suspension notice to the second processing unit for processing non-private data, so as to suspend the business data being processed by the second processing unit and wait state, when the first processing unit completes the interaction with the external device, the monitoring module notifies the second processing unit to continue the unfinished data interaction. Through such a processing mechanism, it can ensure that the relatively important and urgent business data of the user is processed first. And it will not affect the processing of other business data. Specifically, a flag can be set in the monitoring module. When the flag is at a low level, the first processing unit works, and when the flag is at a high level, the second processing unit works. For example, when the user is listening to music ( It belongs to non-private data, which uses the speaker of the external device and is processed by the second processing unit), and a sudden call from the mobile phone (belongs to private data, which should be processed by the first processing unit and needs to use the speaker of the external device), then the monitoring module will The flag position is low level, and the incoming call data is handed over to the first processing unit for processing. After the first processing unit finishes processing the incoming call, the monitoring module sets the flag position as high level, and the second processing unit continues to control the external device speaker to play music.

同理,第二处理单元在需与外部设备进行交互时,也需向第一处理单元发送暂停通知,保证最紧急、最近的业务数据能够被优先处理。Similarly, when the second processing unit needs to interact with external devices, it also needs to send a suspension notification to the first processing unit to ensure that the most urgent and recent business data can be processed first.

通过以上技术方案,可以对来自外部设备的私密数据以及非私密数据进行筛选,并分别交由不同的处理器进行处理,避免了数据的混乱,确保终端中私密数据的安全性,提升用户的使用体验。Through the above technical solutions, private data and non-private data from external devices can be screened and processed by different processors, avoiding data confusion, ensuring the security of private data in the terminal, and improving user experience experience.

附图说明Description of drawings

图1示出了相关技术中的终端的框图;FIG. 1 shows a block diagram of a terminal in the related art;

图2示出了根据本发明的实施例的终端的框图;Fig. 2 shows a block diagram of a terminal according to an embodiment of the present invention;

图3示出了根据本发明的实施例的数据处理方法的流程图;Fig. 3 shows the flowchart of the data processing method according to the embodiment of the present invention;

图4示出了根据本发明的实施例的终端的示意图;Fig. 4 shows a schematic diagram of a terminal according to an embodiment of the present invention;

图5示出了根据本发明的实施例的第一处理单元的处理方法的流程图;FIG. 5 shows a flowchart of a processing method of a first processing unit according to an embodiment of the present invention;

图6示出了根据本发明的实施例的第二处理单元的处理方法的流程图;FIG. 6 shows a flowchart of a processing method of a second processing unit according to an embodiment of the present invention;

图7示出了根据本发明的实施例的监视模块的处理方法的流程图;Fig. 7 shows a flowchart of a processing method of a monitoring module according to an embodiment of the present invention;

图8A示出了根据本发明的一个实施例的数据处理方法的流程图;FIG. 8A shows a flowchart of a data processing method according to an embodiment of the present invention;

图8B示出了根据本发明的另一个实施例的数据处理方法的流程图。Fig. 8B shows a flowchart of a data processing method according to another embodiment of the present invention.

具体实施方式Detailed ways

为了能够更清楚地理解本发明的上述目的、特征和优点,下面结合附图和具体实施方式对本发明进行进一步的详细描述。需要说明的是,在不冲突的情况下,本申请的实施例及实施例中的特征可以相互组合。In order to understand the above-mentioned purpose, features and advantages of the present invention more clearly, the present invention will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that, in the case of no conflict, the embodiments of the present application and the features in the embodiments can be combined with each other.

在下面的描述中阐述了很多具体细节以便于充分理解本发明,但是,本发明还可以采用其他不同于在此描述的其他方式来实施,因此,本发明的保护范围并不受下面公开的具体实施例的限制。In the following description, many specific details are set forth in order to fully understand the present invention. However, the present invention can also be implemented in other ways different from those described here. Therefore, the protection scope of the present invention is not limited by the specific details disclosed below. EXAMPLE LIMITATIONS.

图2示出了根据本发明的实施例的终端的框图。Fig. 2 shows a block diagram of a terminal according to an embodiment of the present invention.

如图2所示,根据本发明的实施例的终端,包括:第一处理单元202、第二处理单元204和通信单元206,其中,所述第一处理单元202包括监视模块210,用于接收来自所述终端的外部设备208的数据,并对所述数据进行判断,在判定所述数据为私密数据时,将所述私密数据发送至所述第一处理单元202,在判定所述数据为非私密数据时,将所述非私密数据发送至所述第二处理单元204;所述第一处理单元202,将来自第二处理单元的非私密数据经由通信单元发送至所述终端的外部,或对所述私密数据进行处理后,将所述私密数据中的交互数据发送至通信单元206;所述第二处理单元204,用于对所述非私密数据进行处理后,将非私密数据中的交互数据发送至第一处理单元202;所述通信单元206,连接至所述第一处理单元202,将所述私密数据中的交互数据或所述非私密数据中的交互数据发送至外部。As shown in FIG. 2, the terminal according to the embodiment of the present invention includes: a first processing unit 202, a second processing unit 204, and a communication unit 206, wherein the first processing unit 202 includes a monitoring module 210 for receiving data from the external device 208 of the terminal, and judge the data, and when it is judged that the data is private data, send the private data to the first processing unit 202, and when it is judged that the data is For non-private data, send the non-private data to the second processing unit 204; the first processing unit 202 sends the non-private data from the second processing unit to the outside of the terminal via the communication unit, Or after processing the private data, send the interaction data in the private data to the communication unit 206; the second processing unit 204 is configured to process the non-private data and send the interactive data in the non-private data The interaction data of the private data is sent to the first processing unit 202; the communication unit 206 is connected to the first processing unit 202 and sends the interaction data in the private data or the interaction data in the non-private data to the outside.

为了提高数据的安全性,终端被配置了多个处理器,指定其中一部分处理器用于处理用户的隐私数据,其余处理器用于处理用户非私密数据,从而能够使众多的数据被分成多类分别进行处理,不仅可以加快响应速度,还可以保证数据的安全性,提高系统稳定性。In order to improve data security, the terminal is equipped with multiple processors, and some of the processors are designated to process the user's private data, and the rest of the processors are used to process the user's non-private data, so that many data can be divided into multiple categories. Processing can not only speed up the response speed, but also ensure data security and improve system stability.

由于外部设备208连接至第一处理单元202,而来自外部设备208的数据包括私密数据和非私密数据,因此为了确保来自外部设备208的私密数据与非私密数据分别交由不同的处理器进行处理,因此在第一处理单元202中设置监视模块210,以对来自外部设备208的数据类型进行判断,即分为私密数据和非私密数据,保证数据分类的准确性,而将不同类型的数据分别发送至不同的处理单元,确保了数据处理的安全性。Since the external device 208 is connected to the first processing unit 202, and the data from the external device 208 includes private data and non-private data, in order to ensure that the private data and non-private data from the external device 208 are respectively processed by different processors , so the monitoring module 210 is set in the first processing unit 202 to judge the type of data from the external device 208, that is, to divide it into private data and non-private data, to ensure the accuracy of data classification, and to separate different types of data Sending to different processing units ensures the security of data processing.

私密数据是指对于用户来讲该数据属于个人隐私的数据,例如密码、账号、短信内容、邮件内容、财务数据等,而非私密数据是指对于用户来讲该数据不属于个人隐私的数据,例如下载的音乐、电子书、收音机数据、网页新闻等。Private data refers to data that belongs to personal privacy for users, such as passwords, account numbers, SMS content, email content, financial data, etc., while non-private data refers to data that does not belong to personal privacy for users. Examples include downloaded music, e-books, radio data, web news, etc.

外部设备208是指终端除处理器、通信单元206之外的其他相关器件,例如屏幕、传感器、蓝牙、WIFI、照相机等。The external device 208 refers to other related devices of the terminal except the processor and the communication unit 206, such as a screen, a sensor, Bluetooth, WIFI, a camera, and the like.

应理解,除了按照用户隐私角度来对数据进行分类之外,还可以采用其他的分类方法,例如与联系人相关的数据给第一处理单元202处理,其他数据给第二处理单元204处理。It should be understood that in addition to classifying data according to user privacy, other classification methods may also be used, for example, data related to contacts is processed by the first processing unit 202 , and other data is processed by the second processing unit 204 .

在上述技术方案中,优选地,还可以包括:第一存储单元,连接至所述第一处理单元202,对所述第一处理单元202处理后的所述私密数据进行存储;第二存储单元,连接至所述第二处理单元204,对所述第二处理单元204处理后的所述非私密数据进行存储。In the above technical solution, preferably, it may further include: a first storage unit, connected to the first processing unit 202, for storing the private data processed by the first processing unit 202; a second storage unit , connected to the second processing unit 204, and store the non-private data processed by the second processing unit 204.

在该技术方案中,通过不同的存储单元对私密数据和非私密数据进行存储,避免了私密数据与非私密数据之间存储的混乱,确保了私密数据的安全性,第一存储单元和第二存储单元可以是存储器和/或内存器。另一方面,由于私密数据与非私密数据存储在不同的空间中,并由不同的处理器进行处理,因此提高了数据的处理速度。In this technical scheme, private data and non-private data are stored through different storage units, which avoids the confusion of storage between private data and non-private data and ensures the security of private data. The first storage unit and the second A storage unit may be a memory and/or a memory. On the other hand, since private data and non-private data are stored in different spaces and processed by different processors, the data processing speed is improved.

在上述技术方案中,优选地,还包括:更新单元,根据接收到的更新指令,更新对所述数据进行筛选的判定条件,以使所述监视模块210根据更新后的判定条件进行私密数据和非私密数据的判断。In the above technical solution, preferably, it further includes: an update unit, which updates the judgment conditions for filtering the data according to the received update instruction, so that the monitoring module 210 performs private data and Judgment of non-private data.

在该技术方案中,随着终端业务的增多,用户的私密数据的种类也将发生变化,比如在通信业务中,短信、通信录等属于用户的私密数据;在终端系统中,开关机密码、应用保护密码、终端防盗密码以及屏幕解锁密码等也属于用户的私密数据,通过对数据筛选的判断条件的更新,使得对数据的筛选更加准确,从而确保用户私密数据的安全性。In this technical solution, with the increase of terminal services, the types of user's private data will also change. For example, in communication services, SMS, address book, etc. belong to the user's private data; in the terminal system, the switch password, Application protection passwords, terminal anti-theft passwords, and screen unlock passwords also belong to the user's private data. By updating the judgment conditions for data screening, the data screening is made more accurate, thereby ensuring the security of the user's private data.

在上述技术方案中,优选地,所述判定条件包括将所述终端上的所有应用分为受保护应用和不受保护应用,所述私密数据属于所述受保护应用下的数据,所述非私密数据属于所述不受保护应用下的数据。In the above technical solution, preferably, the determination condition includes classifying all applications on the terminal into protected applications and unprotected applications, the private data belongs to the data under the protected applications, and the non-protected applications Private data belongs to the data under the unprotected application.

在该技术方案中,用户或厂商可以设置对数据的类型进行判定的条件,具体的,可以将终端内的所有应用分为受保护应用和不受保护应用,这样监视模块210在接收到数据时,通过判断该数据所属的应用的类型判断数据的属性,如果该数据属于受保护应用,则该数据为私密数据,反之,则为非私密数据。比如可以将聊天工具作为受保护的应用,而将音乐播放器作为不受保护的应用,进而可以判断聊天工具产生的数据属于私密数据,而音乐播放器产生的数据属于非私密数据。当然,用户或厂商还可以根据需要设置其他的判定条件,如与联系人相关的数据为私密数据,其他数据为非私密数据等。In this technical solution, the user or manufacturer can set the conditions for judging the type of data. Specifically, all applications in the terminal can be divided into protected applications and unprotected applications, so that when the monitoring module 210 receives data , judge the attribute of the data by judging the type of the application to which the data belongs, if the data belongs to the protected application, then the data is private data, otherwise, it is non-private data. For example, a chat tool can be regarded as a protected application, and a music player can be regarded as an unprotected application, and then it can be determined that the data generated by the chat tool belongs to private data, while the data generated by the music player belongs to non-private data. Certainly, the user or the manufacturer may also set other determination conditions as required, such as the data related to the contact is private data, other data is non-private data, and so on.

在上述技术方案中,优选地,所述监视模块210还用于在所述第一处理单元202需根据所述私密数据与所述外部设备208进行交互时,向所述第二处理单元204发送暂停通知,暂停所述第二处理单元204与所述外部设备208之间进行的非私密数据交互,以及在所述第一处理单元202完成对所述私密数据的处理时,向所述第二处理单元204发送反馈信号,通知所述第二处理单元204继续进行与所述外部设备208之间的非私密数据交互;所述监视模块210还用于在所述第二处理单元204需根据所述非私密数据与所述外部设备208进行交互时,向所述第一处理单元202发送暂停通知,暂停所述第一处理单元202与所述外部设备208之间进行的私密数据交互,以及在所述第二处理单元204完成对所述非私密数据的处理时,向所述第一处理单元202发送反馈信号,通知所述第一处理单元202继续进行与所述外部设备208之间的私密数据交互。In the above technical solution, preferably, the monitoring module 210 is further configured to send a message to the second processing unit 204 when the first processing unit 202 needs to interact with the external device 208 according to the private data suspend notification, suspending the non-private data interaction between the second processing unit 204 and the external device 208, and when the first processing unit 202 completes the processing of the private data, notify the second The processing unit 204 sends a feedback signal to notify the second processing unit 204 to continue the non-private data interaction with the external device 208; When the non-private data is interacted with the external device 208, a suspension notification is sent to the first processing unit 202 to suspend the private data interaction between the first processing unit 202 and the external device 208, and When the second processing unit 204 finishes processing the non-private data, it sends a feedback signal to the first processing unit 202 to notify the first processing unit 202 to continue the private processing with the external device 208 Data interaction.

由于终端被配置了多个处理器,因此处理器与外部设备208的交互变得相对复杂,为了协调多个处理器与外部设备208的交互过程和顺序,在该技术方案中提供了当用于处理私密数据的第一处理单元202需紧急处理实时发生的业务数据时,由监视模块210向用于处理非私密数据的第二处理单元204发送暂停通知,以暂停第二处理单元204正在处理的业务数据,并处于等待状态,在第一处理单元202完成与外部设备208的交互时,由监视模块210通知第二处理单元204继续未完成的数据交互,通过这样的处理机制,能够保证用户相对重要、紧急的业务数据被优先处理,并且也不会影响其他业务数据的处理。具体地,可以在监视模块210中设置标志位,当标志位置为低电平时,由第一处理单元202工作,当标志位为高电平时,由第二处理单元204工作,比如,用户在听音乐时(属于非私密数据,使用了外部设备208喇叭,且由第二处理单元204进行处理),手机突然来电(属于私密数据,应由第一处理单元202进行处理,也需使用外部设备208喇叭),则监视模块210将标志位置为低电平,将来电数据交由第一处理单元202进行处理,在第一处理单元202处理完来电后,监视模块210将标志位置为高电平,继续由第二处理单元204控制外部设备208喇叭播放音乐。Since the terminal is equipped with multiple processors, the interaction between the processors and the external device 208 becomes relatively complicated. In order to coordinate the interaction process and sequence between multiple processors and the external device 208, this technical solution provides When the first processing unit 202 processing private data needs to urgently process real-time business data, the monitoring module 210 sends a suspension notification to the second processing unit 204 for processing non-private data, so as to suspend the processing of the second processing unit 204. business data, and is in a waiting state. When the first processing unit 202 completes the interaction with the external device 208, the monitoring module 210 notifies the second processing unit 204 to continue the unfinished data interaction. Through such a processing mechanism, it can ensure that the user is relatively Important and urgent business data are prioritized and will not affect the processing of other business data. Specifically, a flag bit can be set in the monitoring module 210. When the flag bit is at a low level, the first processing unit 202 works, and when the flag bit is at a high level, the second processing unit 204 works. For example, the user is listening to During music (belonging to non-private data, the speaker of the external device 208 is used, and processed by the second processing unit 204), a sudden call from the mobile phone (belonging to private data, which should be processed by the first processing unit 202, also needs to use the external device 208 speaker), then the monitoring module 210 sets the flag position to low level, and the incoming call data is processed by the first processing unit 202. After the first processing unit 202 processes the incoming call, the monitoring module 210 sets the flag position to high level, The second processing unit 204 continues to control the speaker of the external device 208 to play music.

同理,第二处理单元204在需与外部设备208进行交互时,也需向第一处理单元202发送暂停通知,保证最紧急、最近的业务数据能够被优先处理。Similarly, when the second processing unit 204 needs to interact with the external device 208, it also needs to send a suspension notification to the first processing unit 202 to ensure that the most urgent and recent business data can be processed first.

图3示出了根据本发明的实施例的数据处理方法的流程图。Fig. 3 shows a flowchart of a data processing method according to an embodiment of the present invention.

如图3所示,根据本发明的实施例的数据处理方法,包括:步骤302,第一处理单元接收来自终端的外部设备的数据,并通过第一处理单元中的监视模块对数据进行判断,在判定数据为私密数据时,将私密数据发送至第一处理单元,在判定数据为非私密数据时,将非私密数据发送至第二处理单元;步骤304,第一处理单元将来自第二处理单元的非私密数据经由通信单元发送至终端的外部,或对私密数据进行处理后,将私密数据中的交互数据经由通信单元发送至终端的外部;步骤306,通过第二处理单元对非私密数据进行处理,并将非私密数据中的交互数据发送至第一处理单元。As shown in FIG. 3, the data processing method according to the embodiment of the present invention includes: step 302, the first processing unit receives data from the external device of the terminal, and judges the data through the monitoring module in the first processing unit, When judging that the data is private data, send the private data to the first processing unit, and when judging that the data is non-private data, send the non-private data to the second processing unit; step 304, the first processing unit sends the The non-private data of the unit is sent to the outside of the terminal through the communication unit, or after the private data is processed, the interactive data in the private data is sent to the outside of the terminal through the communication unit; step 306, the non-private data is processed by the second processing unit processing, and sending the interaction data in the non-private data to the first processing unit.

为了提高数据的安全性,终端被配置了多个处理器,指定其中一部分处理器用于处理用户的隐私数据,其余处理器用于处理用户非私密数据,从而能够使众多的数据被分成多类分别进行处理,不仅可以加快响应速度,还可以保证数据的安全性,提高系统稳定性。In order to improve data security, the terminal is equipped with multiple processors, and some of the processors are designated to process the user's private data, and the rest of the processors are used to process the user's non-private data, so that many data can be divided into multiple categories. Processing can not only speed up the response speed, but also ensure data security and improve system stability.

由于外部设备连接至第一处理单元,而来自外部设备的数据包括私密数据和非私密数据,因此为了确保来自外部设备的私密数据与非私密数据分别交由不同的处理器进行处理,因此在第一处理单元中设置监视模块,以对来自外部设备的数据类型进行判断,即分为私密数据和非私密数据,保证数据分类的准确性,而将不同类型的数据分别发送至不同的处理单元,确保了数据处理的安全性。Since the external device is connected to the first processing unit, and the data from the external device includes private data and non-private data, in order to ensure that the private data and non-private data from the external device are respectively processed by different processors, the A monitoring module is set in the processing unit to judge the type of data from the external device, that is, it is divided into private data and non-private data to ensure the accuracy of data classification, and different types of data are sent to different processing units respectively. The security of data processing is ensured.

私密数据是指对于用户来讲该数据属于个人隐私的数据,例如密码、账号、短信内容、邮件内容、财务数据等,而非私密数据是指对于用户来讲该数据不属于个人隐私的数据,例如下载的音乐、电子书、收音机数据、网页新闻等。Private data refers to data that belongs to personal privacy for users, such as passwords, account numbers, SMS content, email content, financial data, etc., while non-private data refers to data that does not belong to personal privacy for users. Examples include downloaded music, e-books, radio data, web news, etc.

外部设备是指终端除处理器、通信单元之外的其他相关器件,例如屏幕、传感器、蓝牙、WIFI、照相机等。External devices refer to other related devices of the terminal other than processors and communication units, such as screens, sensors, Bluetooth, WIFI, cameras, etc.

应理解,除了按照用户隐私角度来对数据进行分类之外,还可以采用其他的分类方法,例如与联系人相关的数据给第一处理单元处理,其他数据给第二处理单元处理。It should be understood that in addition to classifying data according to user privacy, other classification methods may also be used, for example, data related to contacts is processed by the first processing unit, and other data is processed by the second processing unit.

在上述技术方案中,优选地,还可以包括:通过第一存储单元对第一处理单元处理后的所述私密数据进行存储;通过第二存储单元对所述第二处理单元处理后的所述非私密数据进行存储。In the above technical solution, preferably, it may further include: storing the private data processed by the first processing unit through the first storage unit; storing the private data processed by the second processing unit through the second storage unit; Store non-private data.

在该技术方案中,通过不同的存储单元对私密数据和非私密数据进行存储,避免了私密数据与非私密数据之间存储的混乱,确保了私密数据的安全性,第一存储单元和第二存储单元可以是存储器和/或内存器。另一方面,由于私密数据与非私密数据存储在不同的空间中,并由不同的处理器进行处理,因此提高了数据的处理速度。In this technical scheme, private data and non-private data are stored through different storage units, which avoids the confusion of storage between private data and non-private data and ensures the security of private data. The first storage unit and the second A storage unit may be a memory and/or a memory. On the other hand, since private data and non-private data are stored in different spaces and processed by different processors, the data processing speed is improved.

在上述技术方案中,优选地,还包括:根据接收到的更新指令,更新对所述数据进行筛选的判定条件,以使所述监视模块根据更新后的判定条件进行私密数据和非私密数据的判断。In the above technical solution, preferably, it further includes: according to the received update instruction, updating the judging conditions for filtering the data, so that the monitoring module performs screening of private data and non-private data according to the updated judging conditions. judge.

在该技术方案中,随着终端业务的增多,用户的私密数据的种类也将发生变化,比如在通信业务中,短信、通信录等属于用户的私密数据;在终端系统中,开关机密码、应用保护密码、终端防盗密码以及屏幕解锁密码等也属于用户的私密数据,通过对数据筛选的判断条件的更新,使得对数据的筛选更加准确,从而确保用户私密数据的安全性。In this technical solution, with the increase of terminal services, the types of user's private data will also change. For example, in communication services, SMS, address book, etc. belong to the user's private data; in the terminal system, the switch password, Application protection passwords, terminal anti-theft passwords, and screen unlock passwords also belong to the user's private data. By updating the judgment conditions for data screening, the data screening is made more accurate, thereby ensuring the security of the user's private data.

在上述技术方案中,优选地,所述判定条件包括将所述终端上的所有应用分为受保护应用和不受保护应用,所述私密数据属于所述受保护应用下的数据,所述非私密数据属于所述不受保护应用下的数据。In the above technical solution, preferably, the determination condition includes classifying all applications on the terminal into protected applications and unprotected applications, the private data belongs to the data under the protected applications, and the non-protected applications Private data belongs to the data under the unprotected application.

在该技术方案中,用户或厂商可以设置对数据的类型进行判定的条件,具体的,可以将终端内的所有应用分为受保护应用和不受保护应用,这样监视模块在接收到数据时,通过判断该数据所属的应用的类型判断数据的属性,如果该数据属于受保护应用,则该数据为私密数据,反之,则为非私密数据。比如可以将聊天工具作为受保护的应用,而将音乐播放器作为不受保护的应用,进而可以判断聊天工具产生的数据属于私密数据,而音乐播放器产生的数据属于非私密数据。当然,用户或厂商还可以根据需要设置其他的判定条件,如与联系人相关的数据为私密数据,其他数据为非私密数据等。In this technical solution, the user or manufacturer can set the conditions for determining the type of data. Specifically, all applications in the terminal can be divided into protected applications and unprotected applications, so that when the monitoring module receives data, The attribute of the data is judged by judging the type of the application to which the data belongs. If the data belongs to a protected application, the data is private data, otherwise, it is non-private data. For example, a chat tool can be regarded as a protected application, and a music player can be regarded as an unprotected application, and then it can be determined that the data generated by the chat tool belongs to private data, while the data generated by the music player belongs to non-private data. Certainly, the user or the manufacturer may also set other determination conditions as required, such as the data related to the contact is private data, other data is non-private data, and so on.

在上述技术方案中,优选地,在所述第一处理单元需根据所述私密数据与所述外部设备进行交互时,所述监视模块向所述第二处理单元发送暂停通知,中断所述第二处理单元与所述外部设备之间进行的非私密数据交互,以及在所述第一处理单元完成对所述私密数据的处理时,向所述第二处理单元发送反馈信号,通知所述第二处理单元继续进行与所述外部设备之间的非私密数据交互;在所述第二处理单元需根据所述非私密数据与所述外部设备进行交互时,所述监视模块向所述第一处理单元发送暂停通知,中断所述第一处理单元与所述外部设备之间进行的私密数据交互,以及在所述第二处理单元完成对所述非私密数据的处理时,向所述第一处理单元发送反馈信号,通知所述第一处理单元继续进行与所述外部设备之间的私密数据交互。In the above technical solution, preferably, when the first processing unit needs to interact with the external device according to the private data, the monitoring module sends a suspension notification to the second processing unit to interrupt the second processing unit. The non-private data interaction between the second processing unit and the external device, and when the first processing unit finishes processing the private data, send a feedback signal to the second processing unit to notify the second processing unit The second processing unit continues to interact with the non-private data with the external device; when the second processing unit needs to interact with the external device according to the non-private data, the monitoring module sends a report to the first The processing unit sends a suspension notification, interrupts the private data interaction between the first processing unit and the external device, and when the second processing unit finishes processing the non-private data, sends a notification to the first processing unit. The processing unit sends a feedback signal to notify the first processing unit to continue the private data interaction with the external device.

由于终端被配置了多个处理器,因此处理器与外部设备的交互变得相对复杂,为了协调多个处理器与外部设备的交互过程和顺序,在该技术方案中提供了当用于处理私密数据的第一处理单元需紧急处理实时发生的业务数据时,由监视模块向用于处理非私密数据的第二处理单元发送暂停通知,以中断第二处理单元正在处理的业务数据,并处于等待状态,在第一处理单元完成与外部设备的交互时,由监视模块通知第二处理单元继续未完成的数据交互,通过这样的处理机制,能够保证用户相对重要、紧急的业务数据被优先处理,并且也不会影响其他业务数据的处理。具体地,可以在监视模块中设置标志位,当标志位置为低电平时,由第一处理单元工作,当标志位为高电平时,由第二处理单元工作,比如,用户在听音乐时(属于非私密数据,使用了外部设备喇叭,且由第二处理单元进行处理),手机突然来电(属于私密数据,应由第一处理单元进行处理,也需使用外部设备喇叭),则监视模块将标志位置为低电平,将来电数据交由第一处理单元进行处理,在第一处理单元处理完来电后,监视模块将标志位置为高电平,继续由第二处理单元控制外部设备喇叭播放音乐。Since the terminal is equipped with multiple processors, the interaction between the processors and external devices becomes relatively complicated. In order to coordinate the interaction process and sequence between multiple processors and external devices, this technical solution provides When the first data processing unit needs to urgently process real-time business data, the monitoring module sends a suspension notice to the second processing unit for processing non-private data, so as to interrupt the business data being processed by the second processing unit and wait state, when the first processing unit completes the interaction with the external device, the monitoring module notifies the second processing unit to continue the unfinished data interaction. Through such a processing mechanism, it can ensure that the relatively important and urgent business data of the user is processed first. And it will not affect the processing of other business data. Specifically, a flag can be set in the monitoring module. When the flag is at a low level, the first processing unit works, and when the flag is at a high level, the second processing unit works. For example, when the user is listening to music ( It belongs to non-private data, which uses the speaker of the external device and is processed by the second processing unit), and a sudden call from the mobile phone (belongs to private data, which should be processed by the first processing unit and needs to use the speaker of the external device), then the monitoring module will The flag position is low level, and the incoming call data is handed over to the first processing unit for processing. After the first processing unit finishes processing the incoming call, the monitoring module sets the flag position as high level, and the second processing unit continues to control the external device speaker to play music.

同理,第二处理单元在需与外部设备进行交互时,也需向第一处理单元发送暂停通知,保证最紧急、最近的业务数据能够被优先处理。Similarly, when the second processing unit needs to interact with external devices, it also needs to send a suspension notification to the first processing unit to ensure that the most urgent and recent business data can be processed first.

图4示出了根据本发明的实施例的终端的示意图。Fig. 4 shows a schematic diagram of a terminal according to an embodiment of the present invention.

如图4所示,本发明在相关技术的基础上,增加了一个CPU、RAM和EMMC,这样通过不同的CPU处理不同的数据,不同的RAM和EMMC存储不同的数据。As shown in Figure 4, the present invention has increased a CPU, RAM and EMMC on the basis of related technology, processes different data by different CPU like this, and different RAM and EMMC store different data.

例如,定义CPU1只处理个人私有信息数据(受保护应用的数据),通过设置在CPU1中的监视模块,从来自外部设备的数据中筛选出受保护应用的数据(其中,受保护应用包括联系人、信息、密码保护等),由专用CPU1处理,并存储在专用存储器RAM1和EMMC1中,从而保障用户个人私有信息数据的安全;定义CPU2只处理面向社会的公开信息数据(不受保护应用的数据),通过设置在CPU1中的监视模块,对来自外部设备的数据筛选出不受保护应用的数据(其中,不受保护应用包括浏览器、显示、拍照、单纯的音乐播放和视频播、收音机等),由专用CPU2处理,并存储在专用存储器RAM2和EMMC2中。这样,将受保护应用的数据和不受保护应用的数据分开处理和存储,避免不同安全等级的数据混杂在一起,可以保证用户的私密数据的安全,同时可以极大地提高不同数据的处理时间,提升用户的使用体验。For example, it is defined that CPU1 only processes personal private information data (data of protected applications), and through the monitoring module set in CPU1, the data of protected applications is filtered out from the data from external devices (wherein, protected applications include contact , information, password protection, etc.), which are processed by the dedicated CPU1 and stored in the dedicated memory RAM1 and EMMC1, thereby ensuring the security of the user's personal private information data; defining that CPU2 only processes public information data facing the society (data of unprotected applications ), through the monitoring module set in CPU1, the data from external devices is screened out from the data of unprotected applications (wherein, unprotected applications include browser, display, photo taking, simple music playback and video playback, radio, etc. ), processed by the dedicated CPU2, and stored in the dedicated memories RAM2 and EMMC2. In this way, the data of the protected application and the data of the unprotected application are processed and stored separately, avoiding the mixing of data of different security levels, which can ensure the security of the user's private data, and can greatly improve the processing time of different data. Improve user experience.

与各处理单元对应的存储器除了可以是EMMC之外,还可以是nandflash等存储介质。The memory corresponding to each processing unit may be a storage medium such as nandflash in addition to EMMC.

图5示出了根据本发明的实施例的第一处理单元的处理方法的流程图。Fig. 5 shows a flowchart of a processing method of a first processing unit according to an embodiment of the present invention.

如图5所示,第一处理单元的处理方法的流程如下:As shown in Figure 5, the flow of the processing method of the first processing unit is as follows:

步骤502,第一处理单元CPU1处理由设置在CPU1中的监视模块筛选出的来自外部设备的私密信息。定义第一处理单元只处理个人私有信息数据,将联系人、信息、密码保护等应用设置为受保护应用,第一处理单元只处理受保护应用的数据。步骤504,将私密信息存储在第一存储单元(RAM1和EMMC1)上,其中第一存储单元包括内存器和存储器。受保护应用的数据全部存储在第一存储单元中。Step 502, the first processing unit CPU1 processes the private information from the external device screened out by the monitoring module set in the CPU1. It is defined that the first processing unit only processes personal private information data, and applications such as contacts, information, and password protection are set as protected applications, and the first processing unit only processes data of protected applications. Step 504, storing the private information in the first storage unit (RAM1 and EMMC1), wherein the first storage unit includes a memory and a memory. All data of the protected application is stored in the first storage unit.

步骤506,将私密信息交给受保护的应用处理。从而保障存储和处理个人私有信息的数据安全。Step 506, hand over the private information to the protected application for processing. Thereby ensuring the data security of storing and processing personal private information.

当然,也可以定义第二处理单元来处理私密信息。Of course, a second processing unit may also be defined to process private information.

图6示出了根据本发明的实施例的第二处理单元的处理方法的流程图。Fig. 6 shows a flowchart of a processing method of the second processing unit according to an embodiment of the present invention.

如图6所示,第二处理单元CPU2的处理方法的流程如下:As shown in Figure 6, the flow of the processing method of the second processing unit CPU2 is as follows:

步骤602,第二处理单元处理由设置在CPU1中的监视模块筛选出的来自外部设备的非私密信息。定义第二处理单元只处理非私密信息数据(即面向社会的公开信息数据),将拍照、显示、浏览网页等应用设置为不受保护应用,第二处理单元只处理不受保护应用的数据。Step 602, the second processing unit processes the non-private information from the external device screened out by the monitoring module set in the CPU1. It is defined that the second processing unit only processes non-private information data (that is, public information data facing the society), and applications such as taking photos, displaying, and browsing web pages are set as unprotected applications, and the second processing unit only processes data of unprotected applications.

步骤604,将非私密信息存储在第二存储单元(RAM2和EMMC2)上,其中第二存储单元包括内存器和存储器。不受保护应用的数据全部存储在第二存储单元中。Step 604, storing the non-private information on the second storage unit (RAM2 and EMMC2), wherein the second storage unit includes a memory and a memory. Data of unprotected applications are all stored in the second storage unit.

步骤606,将非私密信息交给非受保护的应用处理。从而保障存储和处理个人私有信息的数据安全。Step 606, hand over the non-private information to the non-protected application for processing. Thereby ensuring the data security of storing and processing personal private information.

图7示出了根据本发明的实施例的监视模块的处理方法的流程图。Fig. 7 shows a flowchart of a processing method of a monitoring module according to an embodiment of the present invention.

如图7所示,根据本发明的实施例的监视模块的处理方法的流程如下:As shown in FIG. 7, the process flow of the processing method of the monitoring module according to the embodiment of the present invention is as follows:

步骤702,设置在CPU1中的监视模块筛选来自外部设备的数据。在外部设备与用户交互时,不仅会产生用户私人信息数据,比如无线网络密码等数据,而且还会产生可以公开的数据,如播放音乐等数据。由于外部设备连接至CPU1,因此在CPU1中设置一个监视模块,由监视模块筛选出来自一个或多个外部设备的受保护数据和不受保护数据。Step 702, the monitoring module set in CPU1 screens the data from the external device. When the external device interacts with the user, not only the user's private information data, such as wireless network password and other data, but also data that can be made public, such as playing music and other data, will be generated. Since the external devices are connected to the CPU1, a monitoring module is set in the CPU1, and the protected data and unprotected data from one or more external devices are screened out by the monitoring module.

步骤704,监视模块判断来自外部设备的数据是私密数据还是非私密数据。Step 704, the monitoring module judges whether the data from the external device is private data or non-private data.

步骤706,在监视模块判定来自外部设备的数据是私密数据时,将私密数据交给CPU1、RAM1和EMMC1处理和存储,这些数据通过CPU1和外部设备交互。Step 706, when the monitoring module determines that the data from the external device is private data, the private data is handed over to CPU1, RAM1 and EMMC1 for processing and storage, and these data interact with the external device through CPU1.

步骤708,在监视模块判定上述数据是非私密数据时,将非私密数据交给CPU2、RAM2和EMMC2处理和存储。Step 708, when the monitoring module determines that the above data is non-private data, hand over the non-private data to CPU2, RAM2 and EMMC2 for processing and storage.

因此,在本实施例中,在监视模块中预置了数据的筛选规则,对所有应用数据进行分类,分为核心应用和非核心应用,核心应用即受保护的应用,非核心应用即不受保护的应用,核心应用可以为包含有用户隐私数据的应用,例如语音业务数据(通信录、通话记录、信息)、数据业务数据中电子邮件、保存账号信息、多媒体应用中的录音、通过支付下载音视频、系统中的开关机密码、手机防盗密码、屏幕解锁密码、文件管理器中数据信息加密、备份应用、记事本,非核心应用则为不涉及用户隐私数据的应用,例如数据业务数据中的浏览器、摄像头、单纯的显示应用、收音机。监视模块根据预置的筛选规则对外部设备中的数据进行判断,判断该数据是否是私密数据,若该数据是私密数据,则将该私密数据发送给专用于处理私密数据的处理器进行处理。Therefore, in this embodiment, data filtering rules are preset in the monitoring module, and all application data are classified into core applications and non-core applications. Core applications are protected applications, and non-core applications are not protected. Protected applications, core applications can be applications that contain user privacy data, such as voice service data (address book, call records, information), email in data service data, account information saved, recording in multimedia applications, downloading through payment Audio and video, power on and off passwords in the system, mobile phone anti-theft passwords, screen unlock passwords, data information encryption in file managers, backup applications, notepads, non-core applications are applications that do not involve user privacy data, such as data business data browsers, webcams, simple display applications, radios. The monitoring module judges the data in the external device according to the preset filtering rules, and judges whether the data is private data, and if the data is private data, sends the private data to a processor dedicated to processing private data for processing.

由于筛选规则是区分私密数据和非私密数据的依据,而该依据的准确性将影响数据的区分准确性,因此为了确保该依据能够根据应用程序和业务的发展进行更新,在发现有新应用程序或新业务时,可根据新应用和新业务是否涉及个人隐私来确定是否更新筛选规则,即将涉及私密数据的新应用和新业务被划分入涉及私密数据的数据分类中,将不涉及私密数据的新应用和新业务被划分入涉及非私密数据的数据分类中。例如,在终端新下载了一个心理FM的应用后,确定该应用不涉及隐私数据,那么可将该应用划分入非核心应用分类中,在划分时可以是用户手动进行选择,也可以依据其他终端对该应用的判断来自动确定该应用是否是不涉及隐私数据的应用。Since the screening rules are the basis for distinguishing private data from non-private data, and the accuracy of the basis will affect the accuracy of data distinction, in order to ensure that the basis can be updated according to the development of applications and businesses, when new applications are found, or new services, whether to update the screening rules can be determined according to whether the new applications and new services involve personal privacy, that is, new applications and new services that involve private data will be classified into data categories that involve private data, and those that do not involve private data New applications and new services are classified into data categories involving non-private data. For example, after the terminal newly downloads a psychological FM application, it is determined that the application does not involve private data, then the application can be classified into non-core application categories, and the division can be manually selected by the user, or it can be based on other terminal Judging the application to automatically determine whether the application is an application that does not involve private data.

此外,监视模块还用于,在监测到用于处理私密数据的CPU1需紧急处理实时发生的业务数据时,由监视模块向用于处理非私密数据的CPU2发送暂停通知,以中断CPU2正在处理的业务数据,并处于等待状态,在CPU1完成与外部设备的交互时,由监视模块通知CPU2继续未完成的数据交互,通过这样的处理机制,能够保证用户相对重要、紧急的业务数据被优先处理,并且也不会影响其他业务数据的处理。具体的,可以在监视模块中设置标志位,当标志位置为低电平时,由CPU1工作,当标志位为高电平时,由CPU2工作。In addition, the monitoring module is also used to send a suspension notification to the CPU2 used to process non-private data to interrupt the CPU2 being processed The business data is in a waiting state. When CPU1 completes the interaction with external devices, the monitoring module notifies CPU2 to continue the unfinished data interaction. Through such a processing mechanism, it can ensure that the relatively important and urgent business data of the user is processed first. And it will not affect the processing of other business data. Specifically, a flag bit can be set in the monitoring module. When the flag bit is low level, CPU1 works, and when the flag bit is high level, CPU2 works.

下面结合图8A和图8B进一步说明根据本发明的技术方案。The technical solution according to the present invention will be further described below with reference to FIG. 8A and FIG. 8B .

步骤802,判断当前业务是否需要CPU1与终端的外部设备进行交互,假设当前用户终端接收来一个来电,来电属于用户的私密数据,因此交由CPU1处理,确定CPU1在处理该来电数据时需要与音频处理设备例如喇叭进行交互。如果当前业务不需要CPU1与终端的外部设备进行交互,则结束该流程。Step 802, determine whether the current service requires CPU1 to interact with the external equipment of the terminal. Assume that the current user terminal receives an incoming call. The incoming call belongs to the user's private data, so it is handed over to CPU1 for processing, and it is determined that CPU1 needs to communicate with the audio when processing the incoming call data. Interact with processing devices such as speakers. If the current service does not require the CPU1 to interact with the external device of the terminal, the process ends.

步骤804,判断CPU1当前是否与该音频处理设备连接,若没有与音频处理设备连接(说明该音频处理设备当前与CPU2连接),则进入步骤806,否则,结束该流程。Step 804, judge whether CPU1 is currently connected to the audio processing device, if not connected to the audio processing device (indicating that the audio processing device is currently connected to CPU2), go to step 806, otherwise, end the process.

步骤806,CPU1向CPU2发送暂停通知,以使CPU2断开与音频处理设备的连接。Step 806, CPU1 sends a pause notification to CPU2, so that CPU2 disconnects from the audio processing device.

步骤808,CPU1与音频处理设备进行连接。Step 808, CPU1 connects with the audio processing device.

因此,在CPU2正在处理播放器应用数据该非私密数据并与音频处理设备连接时,若此时接收到来电,则可以中断CPU2与音频处理设备的连接,使CPU1能够与该音频处理设备连接,即便被CPU2占用音频处理设备,也能够及时接收到来电。Therefore, when CPU2 is processing the non-private data of the player application data and is connected with the audio processing device, if an incoming call is received at this time, the connection between CPU2 and the audio processing device can be interrupted, so that CPU1 can be connected with the audio processing device, Even if the audio processing device is occupied by CPU2, it can receive incoming calls in time.

在CPU1的业务处理结束后,可通知CPU2继续进行未完的业务,例如继续播放音乐。采用这样的处理机制,能够使在多个处理器共存的情况下可有条不紊的进行业务,不会影响用户的正常使用,且由于多个处理器分别用于处理不同的数据,不仅提高了数据处理速度,也进一步加强了数据安全性。After the service processing of CPU1 is finished, CPU2 may be notified to continue the unfinished business, for example, to continue playing music. With such a processing mechanism, the business can be carried out in an orderly manner under the coexistence of multiple processors, without affecting the normal use of users, and since multiple processors are used to process different data, it not only improves data processing Speed, but also further strengthened data security.

如图8B所示,示出了CPU2相对于图8A所示的CPU1的处理流程图。As shown in FIG. 8B , there is shown a flowchart of processing of the CPU2 with respect to the CPU1 shown in FIG. 8A .

步骤810,判断CPU2是否接收到来自CPU1发来的暂停通知,若是,则进入步骤812,否则进入步骤814。Step 810 , judging whether CPU2 has received a suspension notification from CPU1 , if yes, go to step 812 , otherwise go to step 814 .

步骤812,CPU2断开与外设的连接,若CPU2正在处理播放器应用数据,则断开与音频处理设备的连接。Step 812, CPU2 disconnects the connection with the peripheral device, if CPU2 is processing the player application data, disconnects the connection with the audio processing device.

步骤814,判断CPU2将要处理的当前业务是否需要使用外设,例如需将图片通过蓝牙发送至另一终端,若是,则进入步骤816,否则结束该流程。Step 814, judge whether the current business to be processed by CPU2 needs to use peripherals, for example, need to send pictures to another terminal via Bluetooth, if yes, go to step 816, otherwise end the process.

步骤816,CPU2与蓝牙连接。Step 816, CPU2 connects with Bluetooth.

上述步骤812还包括在接收到CPU1已完成业务处理的通知时,继续与音频设备连接,继续播放音乐。The above step 812 also includes continuing to connect to the audio device and continue playing music when receiving the notification that the CPU1 has completed the business processing.

又例如在显示屏正在显示视频A(CPU2与该显示屏连接)时,这时接收到一个视频通话(CPU1希望与该显示屏连接),为了保证用户能够及时处理该视频通话,CPU1向CPU2发送暂停通知,CPU2中断播放该视频A,在确定CPU2与显示屏断开连接时,CPU1与显示屏建立连接。在该视频通话结束后,CPU1通知CPU2可继续播放该视频A。CPU2在接收到该通知后,与显示屏建立连接,继续显示视频A;该实施例中仅以显示屏为例,但实际应用中,还涉及触摸屏、扬声器等外设的连接切换。For another example, when the display screen is displaying video A (CPU2 is connected to the display screen), a video call is received (CPU1 wants to connect to the display screen), in order to ensure that the user can process the video call in time, CPU1 sends to CPU2 Pause the notification, CPU2 interrupts playing the video A, and when it is determined that CPU2 is disconnected from the display screen, CPU1 establishes a connection with the display screen. After the video call ends, CPU1 notifies CPU2 that the video A can continue to be played. After receiving the notification, CPU2 establishes a connection with the display screen and continues to display video A; in this embodiment, only the display screen is taken as an example, but in practical applications, connection switching of peripheral devices such as touch screens and speakers is also involved.

因此在出现多个处理器都需与同一外设例如屏幕、照相机、喇叭、WIFI连接时,处理新业务的处理器可控制正在处理其他业务的其他处理器中断与相应外部设备的连接。在新业务被处理结束时,可通知该其他处理器可继续与该相应外部设备连接,继续进行未完成的业务。Therefore, when multiple processors all need to be connected to the same peripheral such as screen, camera, speaker, and WIFI, the processor handling new business can control other processors that are processing other business to interrupt the connection with the corresponding external device. When the processing of the new service is finished, the other processor can be notified that it can continue to connect with the corresponding external device to continue the unfinished service.

应理解,上述实施例中的处理单元既可以是一个完整的处理器,也可以是多核处理器中的一个核。It should be understood that the processing unit in the foregoing embodiment may be a complete processor, or a core of a multi-core processor.

以上结合附图详细说明了本发明的技术方案,提出了一种新的数据处理方案,可以对来自外部设备的私密数据以及非私密数据进行筛选,并分别交由不同的处理器进行处理,避免了数据的混乱,确保终端中私密数据的安全性,提升用户的使用体验。The technical scheme of the present invention has been described in detail above in conjunction with the accompanying drawings, and a new data processing scheme is proposed, which can screen private data and non-private data from external devices and hand them over to different processors for processing, avoiding It eliminates data confusion, ensures the security of private data in the terminal, and improves user experience.

以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims (10)

1.一种终端,其特征在于,包括:第一处理单元、第二处理单元和通信单元,其中,1. A terminal, characterized in that it comprises: a first processing unit, a second processing unit and a communication unit, wherein, 所述第一处理单元包括监视模块,用于接收来自所述终端的外部设备的数据,并对所述数据进行判断,在判定所述数据为私密数据时,将所述私密数据发送至所述第一处理单元,在判定所述数据为非私密数据时,将所述非私密数据发送至所述第二处理单元;The first processing unit includes a monitoring module, configured to receive data from an external device of the terminal, and judge the data, and when it is judged that the data is private data, send the private data to the The first processing unit, when determining that the data is non-private data, sends the non-private data to the second processing unit; 所述第一处理单元,将来自第二处理单元的非私密数据经由所述通信单元发送至所述终端的外部,或对所述私密数据进行处理后,将所述私密数据中的交互数据发送至所述通信单元;The first processing unit sends the non-private data from the second processing unit to the outside of the terminal via the communication unit, or sends the interactive data in the private data after processing the private data to said communication unit; 所述第二处理单元,用于对所述非私密数据进行处理后,将所述非私密数据中的交互数据发送至所述第一处理单元;The second processing unit is configured to send the interaction data in the non-private data to the first processing unit after processing the non-private data; 所述通信单元,连接至所述第一处理单元,将所述私密数据中的交互数据或所述非私密数据中的交互数据发送至外部。The communication unit is connected to the first processing unit, and sends the interaction data in the private data or the interaction data in the non-private data to the outside. 2.根据权利要求1所述的终端,其特征在于,还包括:2. The terminal according to claim 1, further comprising: 第一存储单元,连接至所述第一处理单元,对所述第一处理单元处理后的所述私密数据进行存储;a first storage unit, connected to the first processing unit, and storing the private data processed by the first processing unit; 第二存储单元,连接至所述第二处理单元,对所述第二处理单元处理后的所述非私密数据进行存储。The second storage unit is connected to the second processing unit, and stores the non-private data processed by the second processing unit. 3.根据权利要求1所述的终端,其特征在于,还包括:3. The terminal according to claim 1, further comprising: 更新单元,根据接收到的更新指令,更新对所述数据进行筛选的判定条件,以使所述监视模块根据更新后的判定条件进行私密数据和非私密数据的判断。The updating unit is configured to update the judgment condition for filtering the data according to the received update instruction, so that the monitoring module can judge private data and non-private data according to the updated judgment condition. 4.根据权利要求3所述的终端,其特征在于,所述判定条件包括将所述终端上的所有应用分为受保护应用和不受保护应用,所述私密数据属于所述受保护应用下的数据,所述非私密数据属于所述不受保护应用下的数据。4. The terminal according to claim 3, wherein the determination condition includes dividing all applications on the terminal into protected applications and unprotected applications, and the private data belongs to the protected applications. data, the non-private data belongs to the data under the unprotected application. 5.根据权利要求1至4中任一项所述的终端,其特征在于,所述监视模块还用于在所述第一处理单元需根据所述私密数据与所述外部设备进行交互时,向所述第二处理单元发送暂停通知,暂停所述第二处理单元与所述外部设备之间进行的非私密数据交互,以及在所述第一处理单元完成对所述私密数据的处理时,向所述第二处理单元发送反馈信号,通知所述第二处理单元继续进行与所述外部设备之间的非私密数据交互;5. The terminal according to any one of claims 1 to 4, wherein the monitoring module is further configured to, when the first processing unit needs to interact with the external device according to the private data, sending a suspension notification to the second processing unit, suspending the non-private data interaction between the second processing unit and the external device, and when the first processing unit finishes processing the private data, sending a feedback signal to the second processing unit, notifying the second processing unit to continue the non-private data interaction with the external device; 所述监视模块还用于在所述第二处理单元需根据所述非私密数据与所述外部设备进行交互时,向所述第一处理单元发送暂停通知,暂停所述第一处理单元与所述外部设备之间进行的私密数据交互,以及在所述第二处理单元完成对所述非私密数据的处理时,向所述第一处理单元发送反馈信号,通知所述第一处理单元继续进行与所述外部设备之间的私密数据交互。The monitoring module is further configured to send a suspension notice to the first processing unit when the second processing unit needs to interact with the external device according to the non-private data, and suspend the communication between the first processing unit and the external device. exchange of private data between the external devices, and when the second processing unit finishes processing the non-private data, send a feedback signal to the first processing unit to notify the first processing unit to continue Private data exchange with the external device. 6.一种数据处理方法,其特征在于,包括:6. A data processing method, characterized in that, comprising: 第一处理单元接收来自终端的外部设备的数据,并通过所述第一处理单元中的监视模块对所述数据进行判断,在判定所述数据为私密数据时,将所述私密数据发送至所述第一处理单元,在判定所述数据为非私密数据时,将所述非私密数据发送至所述第二处理单元;The first processing unit receives the data from the external device of the terminal, and judges the data through the monitoring module in the first processing unit, and sends the private data to the The first processing unit, when determining that the data is non-private data, sends the non-private data to the second processing unit; 所述第一处理单元将来自第二处理单元的非私密数据经由所述终端的通信单元发送至所述终端的外部,或对所述私密数据进行处理后,将所述私密数据中的交互数据经由所述通信单元发送至所述终端的外部;The first processing unit sends the non-private data from the second processing unit to the outside of the terminal via the communication unit of the terminal, or after processing the private data, sends the interactive data in the private data to sent to the outside of the terminal via the communication unit; 所述第二处理单元对所述非私密数据进行处理后,将所述非私密数据中的交互数据发送至所述第一处理单元。After processing the non-private data, the second processing unit sends the interaction data in the non-private data to the first processing unit. 7.根据权利要求6所述的数据处理方法,其特征在于,还包括:7. The data processing method according to claim 6, further comprising: 通过第一存储单元对所述第一处理单元处理后的所述私密数据进行存储;storing the private data processed by the first processing unit through a first storage unit; 通过第二存储单元对所述第二处理单元处理后的所述非私密数据进行存储。The non-private data processed by the second processing unit is stored by a second storage unit. 8.根据权利要求6所述的数据处理方法,其特征在于,还包括:8. The data processing method according to claim 6, further comprising: 根据接收到的更新指令,更新对所述数据进行筛选的判定条件,以使所述监视模块根据更新后的判定条件进行私密数据和非私密数据的判断。According to the received update instruction, update the determination condition for filtering the data, so that the monitoring module can determine private data and non-private data according to the updated determination condition. 9.根据权利要求8所述的数据处理方法,其特征在于,所述判定条件包括将所述终端上的所有应用分为受保护应用和不受保护应用,所述私密数据属于所述受保护应用下的数据,所述非私密数据属于所述不受保护应用下的数据。9. The data processing method according to claim 8, wherein the determination condition includes dividing all applications on the terminal into protected applications and unprotected applications, and the private data belongs to the protected application. For data under the application, the non-private data belongs to the data under the unprotected application. 10.根据权利要求6至9中任一项所述的数据处理方法,其特征在于,在所述第一处理单元需根据所述私密数据与所述外部设备进行交互时,所述监视模块向所述第二处理单元发送暂停通知,暂停所述第二处理单元与所述外部设备之间进行的非私密数据交互,以及在所述第一处理单元完成对所述私密数据的处理时,向所述第二处理单元发送反馈信号,通知所述第二处理单元继续进行与所述外部设备之间的非私密数据交互;10. The data processing method according to any one of claims 6 to 9, wherein when the first processing unit needs to interact with the external device according to the private data, the monitoring module sends The second processing unit sends a suspension notification, suspends the non-private data interaction between the second processing unit and the external device, and when the first processing unit finishes processing the private data, sends a notification to the The second processing unit sends a feedback signal to notify the second processing unit to continue the non-private data interaction with the external device; 在所述第二处理单元需根据所述非私密数据与所述外部设备进行交互时,所述监视模块向所述第一处理单元发送暂停通知,暂停所述第一处理单元与所述外部设备之间进行的私密数据交互,以及在所述第二处理单元完成对所述非私密数据的处理时,向所述第一处理单元发送反馈信号,通知所述第一处理单元继续进行与所述外部设备之间的私密数据交互。When the second processing unit needs to interact with the external device according to the non-private data, the monitoring module sends a suspension notification to the first processing unit, suspending the first processing unit and the external device The private data interaction between them, and when the second processing unit finishes processing the non-private data, send a feedback signal to the first processing unit to notify the first processing unit to continue with the Private data exchange between external devices.
CN2013103267221A 2013-07-30 2013-07-30 Terminal and data processing method Pending CN103391189A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2013103267221A CN103391189A (en) 2013-07-30 2013-07-30 Terminal and data processing method
PCT/CN2013/084356 WO2015014015A1 (en) 2013-07-30 2013-09-26 Terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013103267221A CN103391189A (en) 2013-07-30 2013-07-30 Terminal and data processing method

Publications (1)

Publication Number Publication Date
CN103391189A true CN103391189A (en) 2013-11-13

Family

ID=49535354

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013103267221A Pending CN103391189A (en) 2013-07-30 2013-07-30 Terminal and data processing method

Country Status (1)

Country Link
CN (1) CN103391189A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107430574A (en) * 2015-03-30 2017-12-01 艾迪悌科技有限公司 Method and apparatus for the optimization of the IO of analysis system, processing and bandwidth of memory
CN114840318A (en) * 2022-04-27 2022-08-02 中易通科技股份有限公司 A scheduling method for multiple processes to preempt hardware key encryption and decryption resources

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794256A (en) * 2004-12-23 2006-06-28 因芬尼昂技术股份公司 Data processing device, telecommunication terminal equipment and method for processing data by data processing equipment
CN101379804A (en) * 2006-03-06 2009-03-04 高通股份有限公司 Method and apparatus for communicating with a wireless network using a single address for multiple processors
CN102269970A (en) * 2010-06-07 2011-12-07 富士电机株式会社 Security control system
CN103052059A (en) * 2011-10-17 2013-04-17 中国移动通信集团公司 Intelligent terminal and data processing method in intelligent terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1794256A (en) * 2004-12-23 2006-06-28 因芬尼昂技术股份公司 Data processing device, telecommunication terminal equipment and method for processing data by data processing equipment
CN101379804A (en) * 2006-03-06 2009-03-04 高通股份有限公司 Method and apparatus for communicating with a wireless network using a single address for multiple processors
CN102269970A (en) * 2010-06-07 2011-12-07 富士电机株式会社 Security control system
CN103052059A (en) * 2011-10-17 2013-04-17 中国移动通信集团公司 Intelligent terminal and data processing method in intelligent terminal

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107430574A (en) * 2015-03-30 2017-12-01 艾迪悌科技有限公司 Method and apparatus for the optimization of the IO of analysis system, processing and bandwidth of memory
CN114840318A (en) * 2022-04-27 2022-08-02 中易通科技股份有限公司 A scheduling method for multiple processes to preempt hardware key encryption and decryption resources

Similar Documents

Publication Publication Date Title
CN104618560B (en) Incoming call prompt processing method and device for mobile terminal
US8892088B2 (en) Systems and methods for handling incoming calls on a media device
US20150156300A1 (en) Method for filtering spam in electronic device and the electronic device
CN107463437B (en) Application control method, device, storage medium and electronic device
WO2018049897A1 (en) Data backup method and device
CN109376062B (en) Network state prompting method and related device
CN107563187A (en) Access operation monitoring method, device, mobile terminal and readable storage medium
CN108196947A (en) Application running state control method and mobile terminal
CN106792892B (en) Access control method and device for application program
CN107621981A (en) Resource allocation method and related products
CN107145386A (en) Data migration method, terminal device and computer-readable recording medium
CA2894937C (en) Intercommunication methods and devices based on digital networks
CN106201682A (en) A kind of application controls method and device
CN111935849A (en) Information processing method, device and storage medium
CN103391189A (en) Terminal and data processing method
CN111328061A (en) A kind of audio resource control method, vehicle terminal and system
CN103354495B (en) Terminal and data processing method
WO2019037620A1 (en) Method for automatic classification of bill, storage medium, and mobile terminal
CN103402014B (en) Terminal and data processing method
CN103402013A (en) Terminal and data processing method
CN106022162B (en) A kind of private information guard method and system suitable for communication terminal
CN104618894B (en) Data processing equipment and data processing method
CN103391190A (en) Terminal and data processing method
CN106201223A (en) A kind of notification message display packing and device
CN103369525A (en) Terminal and data processing method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20131113