CN103354495B - Terminal and data processing method - Google Patents
Terminal and data processing method Download PDFInfo
- Publication number
- CN103354495B CN103354495B CN201310325608.7A CN201310325608A CN103354495B CN 103354495 B CN103354495 B CN 103354495B CN 201310325608 A CN201310325608 A CN 201310325608A CN 103354495 B CN103354495 B CN 103354495B
- Authority
- CN
- China
- Prior art keywords
- data
- processing unit
- private data
- unit
- 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.)
- Expired - Fee Related
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 21
- 238000012545 processing Methods 0.000 claims abstract description 319
- 238000004891 communication Methods 0.000 claims abstract description 77
- 238000012544 monitoring process Methods 0.000 claims abstract description 73
- 230000003993 interaction Effects 0.000 claims description 66
- 238000001914 filtration Methods 0.000 claims description 7
- 238000004148 unit process Methods 0.000 claims description 6
- 230000002452 interceptive effect Effects 0.000 abstract description 14
- 238000000034 method Methods 0.000 description 44
- 230000008569 process Effects 0.000 description 39
- 238000012216 screening Methods 0.000 description 14
- 230000007246 mechanism Effects 0.000 description 6
- 230000005540 biological transmission Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 230000002093 peripheral effect Effects 0.000 description 4
- 230000004044 response Effects 0.000 description 4
- 101100325756 Arabidopsis thaliana BAM5 gene Proteins 0.000 description 3
- 102100031584 Cell division cycle-associated 7-like protein Human genes 0.000 description 3
- 101000777638 Homo sapiens Cell division cycle-associated 7-like protein Proteins 0.000 description 3
- 101150046378 RAM1 gene Proteins 0.000 description 3
- 101100476489 Rattus norvegicus Slc20a2 gene Proteins 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 1
- 230000009977 dual effect Effects 0.000 description 1
Landscapes
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
技术领域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所示,外部设备的所有数据都由一个CPU处理,两个Modem(Modem1和Modem2)都能和一个CPU交互语音业务和数据业务等数据,且所有数据都存储在一个手机内存(RAM)和手机存储器(EMMC)中。The traditional dual-standby architecture is shown in Figure 1. All data of external devices is processed by one CPU, and two Modems (Modem1 and Modem2) can exchange data such as voice services and data services with one CPU, and all data are stored in the One phone memory (RAM) and one phone memory (EMMC).
由于传统的双待机架构,一个CPU处理所有外部设备的数据,将会导致数据处理速度的减慢。所有的数据包括语音业务数据、数据业务数据和其它数据都通过CPU处理,因此,数据极易混乱,通讯录、短信、安全密码、银行账户等重要数据的安全性和私密性得不到有效保障,严重影响用户的数据安全。而且所有的数据都只有一个RAM和EMMC保存,数据量的增加影响RAM和EMMC的稳定性而造成终端死机。Due to the traditional dual standby architecture, one CPU handles the data of all external devices, which will slow down the data processing speed. All data, including voice service data, data service data and other data, are processed by the CPU. Therefore, the data is easily confused, and the security and privacy of important data such as address books, SMS, security passwords, and bank accounts cannot be effectively guaranteed. , Seriously affecting the user's data security. And all the data are only saved by one RAM and EMMC, the increase of the amount of data will affect the stability of RAM and EMMC and cause the terminal to crash.
目前还没有相应技术来解决相关技术所面临的问题。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 technical problems, the present invention proposes a new technical solution, which can filter private data and non-private data in external devices interacting with the terminal and process them respectively by different processors, avoiding It eliminates data confusion, ensures the security of private data in the terminal, and improves user experience.
有鉴于此,本发明提出了一种终端,包括:监视单元,用于接收来自所述终端的外部设备的数据,并对所述数据进行判断,在判定所述数据为私密数据时,将所述私密数据发送至所述第一处理单元,在判定所述数据为非私密数据时,将所述非私密数据发送至所述第二处理单元;所述第一处理单元,对所述私密数据进行处理后,将所述私密数据中的交互数据发送至第一通信单元和/或第二通信单元;所述第二处理单元,对所述非私密数据进行处理后,将所述非私密数据中的交互数据发送至所述第一通信单元和/或所述第二通信单元;所述第一通信单元,连接至所述第一处理单元和所述第二处理单元,将所述私密数据中的交互数据和/或所述非私密数据中的交互数据发送至外部;所述第二通信单元,连接至所述第一处理单元和所述第二处理单元,将所述私密数据中的交互数据和/或所述非私密数据中的交互数据发送至外部。In view of this, the present invention proposes a terminal, including: a monitoring unit, 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, the The private data is sent to the first processing unit, and when the data is determined to be non-private data, the non-private data is sent to the second processing unit; the first processing unit, for the private data After processing, the interaction data in the private data is sent to the first communication unit and/or the second communication unit; after the second processing unit processes the non-private data, the non-private data is The interaction data in the transmission is sent to the first communication unit and/or the second communication unit; the first communication unit is connected to the first processing unit and the second processing unit, and the private data The interaction data in the non-private data and/or the interaction data in the non-private data are sent to the outside; the second communication unit is connected to the first processing unit and the second processing unit, and the interaction data in the private data The interaction data and/or the interaction data in the non-private data are sent 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 both the first processing unit and the second processing unit can be connected to the external device, 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 processed separately Therefore, a monitoring unit is set between the external device and the processing unit to judge the data type, 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 the Different processing units ensure the security of data processing.
第一通信单元和第二通信单元都可以将第一处理单元和第二处理单元中处理过的交互数据发送至外部,即第一通信单元和第二通信单元都可以对处理后的私密数据和非私密数据进行转发。具体地,可以根据通信单元的工作状态选择发送交互数据的通信单元,比如可以优先选择处于闲暇状态的通信单元对实时交互数据的发送,以缩短数据发送等待的时间,优化系统的性能。Both the first communication unit and the second communication unit can send the interaction data processed in the first processing unit and the second processing unit to the outside, that is, the first communication unit and the second communication unit can both process the private data and Non-private data is forwarded. Specifically, the communication unit that sends the interactive data can be selected according to the working state of the communication unit, for example, the communication unit in the idle state can be preferentially selected to send the real-time interactive data, so as to shorten the waiting time for data transmission and optimize the performance of the system.
私密数据是指对于用户来讲该数据属于个人隐私的数据,例如密码、账号、短信内容、邮件内容、财务数据等,而非私密数据是指对于用户来讲该数据不属于个人隐私的数据,例如下载的音乐、电子书、收音机数据、网页新闻等。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, 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 unit 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 unit 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 unit is further configured to send an interrupt signal to the second processing unit when the first processing unit needs to interact with the external device according to the private data, and interrupt 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 unit is also configured to interact with the external device according to the non-private data when the second processing unit needs to interact with the external device , sending an interrupt signal to the first processing unit, interrupting 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 unit sends an interrupt signal to the second processing unit for processing non-private data 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 unit notifies the second processing unit to continue the unfinished data interaction. Through such a processing mechanism, it can ensure that the user's relatively important and urgent business data is prioritized. And it will not affect the processing of other business data. Specifically, a flag can be set in the monitoring unit. 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 external device speaker and is processed by the second processing unit), and the mobile phone calls suddenly (it belongs to private data, which should be processed by the first processing unit and also needs to use the external device speaker), then the monitoring unit 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 has processed the incoming call, the monitoring unit will set the flag position to high level, and the second processing unit will continue 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 an interrupt signal 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: receiving data from an external device of the terminal through a monitoring unit, and judging the data, and when judging that the data is private data, the The private data is sent to the first processing unit, and when it is determined that the data is non-private data, the non-private data is sent to the second processing unit; the first processing unit processes the private data After processing, the interactive data in the private data is sent to the outside of the terminal via the first communication unit and/or the second communication unit; after the second processing unit processes the non-private data, the The interaction data in the non-private data is sent to the outside of the terminal via the first communication unit and/or the second communication 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 corresponds to the first processing unit and the second 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 handed over to different processors Therefore, a monitoring unit is set between the external device and the processing unit to judge the data type, 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 The processing unit ensures the security of data processing.
第一通信单元和第二通信单元都可以将第一处理单元和第二处理单元中处理过的交互数据发送至外部,即第一通信单元和第二通信单元都可以对处理后的私密数据和非私密数据进行转发。具体地,可以根据通信单元的工作状态选择发送交互数据的通信单元,比如可以优先选择处于闲暇状态的通信单元对实时交互数据的发送,以缩短数据发送等待的时间,优化系统的性能。Both the first communication unit and the second communication unit can send the interaction data processed in the first processing unit and the second processing unit to the outside, that is, the first communication unit and the second communication unit can both process the private data and Non-private data is forwarded. Specifically, the communication unit that sends the interactive data can be selected according to the working state of the communication unit, for example, the communication unit in the idle state can be preferentially selected to send the real-time interactive data, so as to shorten the waiting time for data transmission and optimize the performance of the system.
私密数据是指对于用户来讲该数据属于个人隐私的数据,例如密码、账号、短信内容、邮件内容、财务数据等,而非私密数据是指对于用户来讲该数据不属于个人隐私的数据,例如下载的音乐、电子书、收音机数据、网页新闻等。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 solution, 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, further comprising: according to the received update instruction, updating the judging conditions for filtering the data, so that the monitoring unit 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 unit 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, further comprising: when the first processing unit needs to interact with the external device according to the private data, the monitoring unit sends an interrupt signal to the second processing unit, interrupting 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, the monitoring unit sends 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 The monitoring unit sends an interrupt signal to the first processing unit, interrupting the non-private data interaction between the first processing unit and the external device, and completing the processing of the private data at the second processing unit , sending a feedback signal to the first processing unit 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 unit sends an interrupt signal to the second processing unit for processing non-private data 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 unit notifies the second processing unit to continue the unfinished data interaction. Through such a processing mechanism, it can ensure that the user's relatively important and urgent business data is prioritized. And it will not affect the processing of other business data. Specifically, a flag can be set in the monitoring unit. 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 external device speaker and is processed by the second processing unit), and the mobile phone calls suddenly (it belongs to private data, which should be processed by the first processing unit and also needs to use the external device speaker), then the monitoring unit 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 has processed the incoming call, the monitoring unit will set the flag position to high level, and the second processing unit will continue 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 an interrupt signal to the first processing unit to ensure that the most urgent and recent business data can be processed first.
通过以上技术方案,可以对与终端交互的外部设备中的私密数据以及非私密数据进行筛选并分别由不同的处理器进行处理,避免了数据的混乱,确保终端中私密数据的安全性,提升用户的使用体验。Through the above technical solutions, the private data and non-private data in the external devices interacting with the terminal can be screened and processed by different processors, avoiding data confusion, ensuring the security of private data in the terminal, and improving user use 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 unit 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 description
为了能够更清楚地理解本发明的上述目的、特征和优点,下面结合附图和具体实施方式对本发明进行进一步的详细描述。需要说明的是,在不冲突的情况下,本申请的实施例及实施例中的特征可以相互组合。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,在判定所述数据为非私密数据时,将所述非私密数据发送至所述第二处理单元208;所述第一处理单元206,对所述私密数据进行处理后,将所述私密数据中的交互数据发送至第一通信单元210和/或第二通信单元212;所述第二处理单元208,对所述非私密数据进行处理后,将所述非私密数据中的交互数据发送至所述第一通信单元210和/或所述第二通信单元212;所述第一通信单元210,连接至所述第一处理单元206和所述第二处理单元208,将所述私密数据中的交互数据和/或所述非私密数据中的交互数据发送至外部;所述第二通信单元212,连接至所述第一处理单元206和所述第二处理单元208,将所述私密数据中的交互数据和/或所述非私密数据中的交互数据发送至外部。As shown in Figure 2, according to the terminal of the embodiment of the present invention, the monitoring unit 202 is used to receive data from the external device 204 of the terminal, and judge the data, when it is determined that the data is private data , sending the private data to the first processing unit 206, and sending the non-private data to the second processing unit 208 when determining that the data is non-private data; the first processing unit 206 , after processing the private data, send the interactive data in the private data to the first communication unit 210 and/or the second communication unit 212; the second processing unit 208 performs processing on the non-private data After processing, the interaction data in the non-private data is sent to the first communication unit 210 and/or the second communication unit 212; the first communication unit 210 is connected to the first processing unit 206 and the second processing unit 208, for sending the interaction data in the private data and/or the interaction data in the non-private data to the outside; the second communication unit 212, connected to the first processing unit 206 and the second processing unit 208, sending the interaction data in the private data and/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.
由于外部设备204对应于第一处理单元206和第二处理单元208,而来自外部设备204的数据包括私密数据和非私密数据,因此为了确保来自外部设备204的私密数据与非私密数据分别交由不同的处理器进行处理,因此在外部设备204与处理单元之间设置监视单元202,以对数据类型进行判断,即分为私密数据和非私密数据,保证数据分类的准确性,而将不同类型的数据分别发送至不同的处理单元,确保了数据处理的安全性。Since the external device 204 corresponds to the first processing unit 206 and the second processing unit 208, and the data from the external device 204 includes private data and non-private data, in order to ensure that the private data and non-private data from the external device 204 are handed over to Different processors process, so a monitoring unit 202 is set between the external device 204 and the processing unit to judge the type of data, that is, it is divided into private data and non-private data, to ensure the accuracy of data classification, and different types The data are sent to different processing units to ensure the security of data processing.
第一通信单元210和第二通信单元212都可以将第一处理单元206和第二处理单元208中处理过的交互数据发送至外部,即第一通信单元210和第二通信单元212都可以对处理后的私密数据和非私密数据进行转发。具体地,可以根据通信单元的工作状态选择发送交互数据的通信单元,比如可以优先选择处于闲暇状态的通信单元对实时交互数据的发送,以缩短数据发送等待的时间,优化系统的性能。Both the first communication unit 210 and the second communication unit 212 can send the interaction data processed in the first processing unit 206 and the second processing unit 208 to the outside, that is, both the first communication unit 210 and the second communication unit 212 can The processed private data and non-private data are forwarded. Specifically, the communication unit that sends the interactive data can be selected according to the working state of the communication unit, for example, the communication unit in the idle state can be preferentially selected to send the real-time interactive data, so as to shorten the waiting time for data transmission and optimize the performance of the system.
私密数据是指对于用户来讲该数据属于个人隐私的数据,例如密码、账号、短信内容、邮件内容、财务数据等,而非私密数据是指对于用户来讲该数据不属于个人隐私的数据,例如下载的音乐、电子书、收音机数据、网页新闻等。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.
外部设备204是指终端除处理器、通信单元之外的其他相关器件,例如屏幕、传感器、蓝牙、WIFI、照相机等。应理解,除了按照用户隐私角度来对数据进行分类之外,还可以采用其他的分类方法,例如与联系人相关的数据给第一处理单元206处理,其他数据给第二处理单元208处理。The external device 204 refers to other related devices of the terminal except the processor and the communication unit, such as a screen, a sensor, Bluetooth, WIFI, a camera, and the like. 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 206 , and other data is processed by the second processing unit 208 .
在上述技术方案中,优选地,还包括:第一存储单元,连接至所述第一处理单元206,对所述第一处理单元206处理后的所述私密数据进行存储;第二存储单元,连接至所述第二处理单元208,对所述第二处理单元208处理后的所述非私密数据进行存储。In the above technical solution, preferably, further comprising: a first storage unit, connected to the first processing unit 206, for storing the private data processed by the first processing unit 206; a second storage unit, connected to the second processing unit 208, and store the non-private data processed by the second processing unit 208.
在该技术方案中,通过不同的存储单元对私密数据和非私密数据进行存储,避免了私密数据与非私密数据之间存储的混乱,确保了私密数据的安全性,第一存储单元和第二存储单元可以是存储器和/或内存器。另一方面,由于私密数据与非私密数据存储在不同的空间中,并由不同的处理器进行处理,因此提高了数据的处理速度。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.
在上述技术方案中,优选地,还包括:更新单元214,根据接收到的更新指令,更新对所述数据进行筛选的判定条件,以使所述监视单元202根据更新后的判定条件进行私密数据和非私密数据的判断。在该技术方案中,随着终端业务的增多,用户的私密数据的种类也将发生变化,比如在通信业务中,短信、通信录等属于用户的私密数据;在终端系统中,开关机密码、应用保护密码、终端防盗密码以及屏幕解锁密码等也属于用户的私密数据,通过对数据筛选的判断条件的更新,使得对数据的筛选更加准确,从而确保用户私密数据的安全性。In the above technical solution, preferably, it further includes: an update unit 214, which updates the judgment conditions for filtering the data according to the received update instruction, so that the monitoring unit 202 performs private data screening according to the updated judgment conditions. and non-private data judgments. 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.
在该技术方案中,用户或厂商可以设置对数据的类型进行判定的条件,具体的,可以将终端内的所有应用分为受保护应用和不受保护应用,这样监视单元202在接收到数据时,通过判断该数据所属的应用的类型判断数据的属性,如果该数据属于受保护应用,则该数据为私密数据,反之,则为非私密数据。比如可以将聊天工具作为受保护的应用,而将音乐播放器作为不受保护的应用,进而可以判断聊天工具产生的数据属于私密数据,而音乐播放器产生的数据属于非私密数据。当然,用户或厂商还可以根据需要设置其他的判定条件,如与联系人相关的数据为私密数据,其他数据为非私密数据等。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 unit 202 receives the 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.
在上述技术方案中,优选地,所述监视单元202还用于在所述第一处理单元206需根据所述私密数据与所述外部设备204进行交互时,向所述第二处理单元208发送中断信号,中断所述第二处理单元208与所述外部设备204之间进行的非私密数据交互,以及在所述第一处理单元206完成对所述私密数据的处理时,向所述第二处理单元208发送反馈信号,通知所述第二处理单元208继续进行与所述外部设备204之间的非私密数据交互;所述监视单元202还用于在所述第二处理单元208需根据所述非私密数据与所述外部设备204进行交互时,向所述第一处理单元206发送中断信号,中断所述第一处理单元206与所述外部设备204之间进行的私密数据交互,以及在所述第二处理单元208完成对所述非私密数据的处理时,向所述第一处理单元206发送反馈信号,通知所述第一处理单元206继续进行与所述外部设备204之间的私密数据交互。In the above technical solution, preferably, the monitoring unit 202 is further configured to send a message to the second processing unit 208 when the first processing unit 206 needs to interact with the external device 204 according to the private data an interrupt signal, interrupting the non-private data interaction between the second processing unit 208 and the external device 204, and when the first processing unit 206 finishes processing the private data, send The processing unit 208 sends a feedback signal, notifying the second processing unit 208 to continue the non-private data interaction with the external device 204; When the non-private data interacts with the external device 204, send an interrupt signal to the first processing unit 206, interrupt the private data interaction between the first processing unit 206 and the external device 204, and When the second processing unit 208 finishes processing the non-private data, it sends a feedback signal to the first processing unit 206 to notify the first processing unit 206 to continue the private processing with the external device 204 Data interaction.
由于终端被配置了多个处理器,因此处理器与外部设备204的交互变得相对复杂,为了协调多个处理器与外部设备204的交互过程和顺序,在该技术方案中提供了当用于处理私密数据的第一处理单元206需紧急处理实时发生的业务数据时,由监视单元202向用于处理非私密数据的第二处理单元208发送中断信号,以中断第二处理单元208正在处理的业务数据,并处于等待状态,在第一处理单元206完成与外部设备204的交互时,由监视单元202通知第二处理单元208继续未完成的数据交互,通过这样的处理机制,能够保证用户相对重要、紧急的业务数据被优先处理,并且也不会影响其他业务数据的处理。具体地,可以在监视单元202中设置标志位,当标志位置为低电平时,由第一处理单元206工作,当标志位为高电平时,由第二处理单元208工作,比如,用户在听音乐时(属于非私密数据,使用了外部设备204喇叭,且由第二处理单元208进行处理),手机突然来电(属于私密数据,应由第一处理单元206进行处理,也需使用外部设备204喇叭),则监视单元202将标志位置为低电平,将来电数据交由第一处理单元206进行处理,在第一处理单元206处理完来电后,监视单元202将标志位置为高电平,继续由第二处理单元208控制外部设备204喇叭播放音乐。Since the terminal is equipped with multiple processors, the interaction between the processors and the external device 204 becomes relatively complicated. In order to coordinate the interaction process and sequence between the multiple processors and the external device 204, this technical solution provides When the first processing unit 206 processing private data needs to urgently process business data that occurs in real time, the monitoring unit 202 sends an interrupt signal to the second processing unit 208 for processing non-private data to interrupt the second processing unit 208. business data, and is in a waiting state. When the first processing unit 206 completes the interaction with the external device 204, the monitoring unit 202 notifies the second processing unit 208 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 can be set in the monitoring unit 202. When the flag is at a low level, the first processing unit 206 works, and when the flag is at a high level, the second processing unit 208 works. For example, the user is listening to During music (belonging to non-private data, the speaker of the external device 204 is used, and processed by the second processing unit 208), a sudden call from the mobile phone (belonging to private data, which should be processed by the first processing unit 206, also needs to use the external device 204 speaker), the monitoring unit 202 sets the flag position to low level, and the incoming call data is processed by the first processing unit 206. After the first processing unit 206 processes the incoming call, the monitoring unit 202 sets the flag position to high level, The second processing unit 208 continues to control the speaker of the external device 204 to play music.
同理,第二处理单元208在需与外部设备204进行交互时,也需向第一处理单元206发送中断信号,保证最紧急、最近的业务数据能够被优先处理。Similarly, when the second processing unit 208 needs to interact with the external device 204, it also needs to send an interrupt signal to the first processing unit 206 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 Figure 3, the data processing method according to the embodiment of the present invention includes: step 302, receiving data from the external device of the terminal through the monitoring unit, and judging the data, and determining that the data is private data , sending the private data to the first processing unit, and sending the non-private data to the second processing unit when it is determined that the data is non-private data; step 304, the first processing After processing the private data, the interaction data in the private data is sent to the outside of the terminal via the first communication unit and/or the second communication unit; step 306, the second processing unit After processing the non-private data, the interaction data in the non-private data is sent to the outside of the terminal via the first communication unit and/or the second communication 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 corresponds to the first processing unit and the second 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 handed over to different processors Therefore, a monitoring unit is set between the external device and the processing unit to judge the data type, 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 The processing unit ensures the security of data processing.
第一通信单元和第二通信单元都可以将第一处理单元和第二处理单元中处理过的交互数据发送至外部,即第一通信单元和第二通信单元都可以对处理后的私密数据和非私密数据进行转发。具体地,可以根据通信单元的工作状态选择发送交互数据的通信单元,比如可以优先选择处于闲暇状态的通信单元对实时交互数据的发送,以缩短数据发送等待的时间,优化系统的性能。Both the first communication unit and the second communication unit can send the interaction data processed in the first processing unit and the second processing unit to the outside, that is, the first communication unit and the second communication unit can both process the private data and Non-private data is forwarded. Specifically, the communication unit that sends the interactive data can be selected according to the working state of the communication unit, for example, the communication unit in the idle state can be preferentially selected to send the real-time interactive data, so as to shorten the waiting time for data transmission and optimize the performance of the system.
私密数据是指对于用户来讲该数据属于个人隐私的数据,例如密码、账号、短信内容、邮件内容、财务数据等,而非私密数据是指对于用户来讲该数据不属于个人隐私的数据,例如下载的音乐、电子书、收音机数据、网页新闻等。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, further comprising: according to the received update instruction, updating the judging conditions for filtering the data, so that the monitoring unit 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 unit 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, further comprising: when the first processing unit needs to interact with the external device according to the private data, the monitoring unit sends an interrupt signal to the second processing unit, interrupting 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, the monitoring unit sends 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 The monitoring unit sends an interrupt signal to the first processing unit, interrupting the non-private data interaction between the first processing unit and the external device, and completing the processing of the private data at the second processing unit , sending a feedback signal to the first processing unit 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 unit sends an interrupt signal to the second processing unit for processing non-private data 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 unit notifies the second processing unit to continue the unfinished data interaction. Through such a processing mechanism, it can ensure that the user's relatively important and urgent business data is prioritized. And it will not affect the processing of other business data. Specifically, a flag can be set in the monitoring unit. 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 external device speaker and is processed by the second processing unit), and the mobile phone calls suddenly (it belongs to private data, which should be processed by the first processing unit and also needs to use the external device speaker), then the monitoring unit 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 has processed the incoming call, the monitoring unit will set the flag position to high level, and the second processing unit will continue 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 an interrupt signal 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处理,并存储在专用存储器RAM1和EMMC1中,从而保障用户个人私有信息数据的安全;定义CPU2只处理面向社会的公开信息数据(不受保护应用的数据),通过设置监视单元筛选出不受保护应用的数据(其中,不受保护应用包括浏览器、显示、拍照、单纯的音乐播放和视频播、收音机等),由专用CPU2处理,并存储在专用存储器RAM2和EMMC2中。这样,将受保护应用的数据和不受保护应用的数据分开处理和存储,避免不同安全等级的数据混杂在一起,可以保证用户的私密数据的安全,同时可以极大地提高不同数据的处理时间,提升用户的使用体验。For example, it is defined that CPU1 only processes personal private information data (data of protected applications), and the data of protected applications is screened out by setting the monitoring unit (wherein, protected applications include contacts, information, password protection, etc.), and processed by dedicated CPU1 , and stored in the dedicated memory RAM1 and EMMC1, so as to ensure the security of the user's personal private information data; define CPU2 to only process public information data facing the society (data of unprotected applications), and filter out unprotected applications by setting the monitoring unit The data (wherein, unprotected applications include browser, display, camera, simple music and video broadcast, radio, etc.) are processed by dedicated CPU2 and stored in dedicated memory 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之外,还可以是nand flash等存储介质。The memory corresponding to each processing unit may not only be EMMC, but also may be a storage medium such as nand flash.
图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处理由监视单元筛选出的来自外部设备的私密信息。定义第一处理单元只处理个人私有信息数据,将联系人、信息、密码保护等应用设置为受保护应用,第一处理单元只处理受保护应用的数据。Step 502, the first processing unit CPU1 processes the private information from the external device screened out by the monitoring unit. 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.
步骤504,将私密信息存储在第一存储单元(RAM1和EMMC1)上,其中第一存储单元包括内存器和存储器。受保护应用的数据全部存储在第一存储单元中。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,第二处理单元处理由监视单元筛选出的来自外部设备的非私密信息。定义第二处理单元只处理非私密信息数据(即面向社会的公开信息数据),将拍照、显示、浏览网页等应用设置为不受保护应用,第二处理单元只处理不受保护应用的数据。Step 602, the second processing unit processes the non-private information from the external device filtered by the monitoring unit. 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 unit according to an embodiment of the present invention.
如图7所示,根据本发明的实施例的监视单元的处理方法的流程如下:As shown in FIG. 7, the process of the processing method of the monitoring unit according to the embodiment of the present invention is as follows:
步骤702,监视单元筛选来自外部设备的数据。在外部设备与用户进行交互时,不仅会产生用户私人信息数据,比如无线网络密码等数据,而且还会产生可以公开的数据,如播放音乐等数据。因此在外部设备与终端处理单元之间设置一个监视单元,由监视单元筛选出来自一个或多个外部设备的受保护数据和不受保护数据。Step 702, the monitoring unit 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 public data, such as playing music and other data, will be generated. Therefore, a monitoring unit is set between the external device and the terminal processing unit, and the monitoring unit screens out protected data and unprotected data from one or more external devices.
步骤704,监视单元判断来自外部设备的数据是私密数据还是非私密数据。Step 704, the monitoring unit 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 unit 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 unit determines that the data from the external device is non-private data, hand over the non-private data to CPU2, RAM2 and EMMC2 for processing and storage.
因此,在本实施例中,在监视单元中预置了数据的筛选规则,对所有应用数据进行分类,分为核心应用和非核心应用,核心应用即受保护的应用,非核心应用即不受保护的应用,核心应用可以为包含有用户隐私数据的应用,例如语音业务数据(通信录、通话记录、信息)、数据业务数据中电子邮件、保存账号信息、多媒体应用中的录音、通过支付下载音视频、系统中的开关机密码、手机防盗密码、屏幕解锁密码、文件管理器中数据信息加密、备份应用、记事本,非核心应用则为不涉及用户隐私数据的应用,例如数据业务数据中的浏览器、摄像头、单纯的显示应用、收音机。监视单元根据预置的筛选规则对外部设备中的数据进行判断,判断该数据是否是私密数据,若该数据是私密数据,则将该私密数据发送给专用于处理私密数据的处理器进行处理。Therefore, in this embodiment, data screening rules are preset in the monitoring unit, and all application data are classified into core applications and non-core applications. Core applications are protected applications, and non-core applications are protected applications. 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 unit 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 unit is also used to send an interrupt signal to the CPU2 used to process non-private data, to interrupt the CPU2 processing The business data is in a waiting state. When CPU1 completes the interaction with external devices, the monitoring unit 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 unit. 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 .
如图8A所示,步骤802,判断当前业务是否需要CPU1与终端的外部设备进行交互,假设当前用户终端接收来一个来电,来电属于用户的私密数据,因此交由CPU1处理,确定CPU1在处理该来电数据时需要与音频处理设备例如喇叭进行交互。如果当前业务不需要CPU1与终端的外部设备进行交互,则结束该流程。As shown in Figure 8A, in step 802, it is judged whether the current service requires CPU1 to interact with the external equipment of the terminal. Suppose the current user terminal receives an incoming call, which belongs to the user's private data, so it is handed over to CPU1 for processing, and it is determined that CPU1 is processing the call. Incoming data needs to interact with audio processing equipment 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 an interrupt signal 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 an interrupt signal 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 interrupt signal, 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 above describes the technical solution of the present invention in detail in conjunction with the accompanying drawings. In the related art, the two communication units of the dual-standby architecture share one processor, and confusion between data is likely to occur, and the private information of the user cannot be effectively obtained. Assure. Therefore, the present invention proposes a new data processing scheme, which can filter private data and non-private data in external devices interacting with the terminal and process them respectively by different processors, avoiding data confusion and ensuring The security of private data improves the 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 (4)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310325608.7A CN103354495B (en) | 2013-07-30 | 2013-07-30 | Terminal and data processing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310325608.7A CN103354495B (en) | 2013-07-30 | 2013-07-30 | Terminal and data processing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103354495A CN103354495A (en) | 2013-10-16 |
| CN103354495B true CN103354495B (en) | 2016-12-28 |
Family
ID=49310811
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310325608.7A Expired - Fee Related CN103354495B (en) | 2013-07-30 | 2013-07-30 | Terminal and data processing method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103354495B (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104618894B (en) * | 2015-01-22 | 2018-05-15 | 宇龙计算机通信科技(深圳)有限公司 | Data processing equipment and data processing method |
Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101379804A (en) * | 2006-03-06 | 2009-03-04 | 高通股份有限公司 | Method and apparatus for communicating with a wireless network using a single address for multiple processors |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| DE102004062203B4 (en) * | 2004-12-23 | 2007-03-08 | Infineon Technologies Ag | Data processing device, telecommunication terminal and method for data processing by means of a data processing device |
| JP5494255B2 (en) * | 2010-06-07 | 2014-05-14 | 富士電機株式会社 | Safety control system |
| CN103052059B (en) * | 2011-10-17 | 2017-03-22 | 中国移动通信集团公司 | Intelligent terminal and data processing method in intelligent terminal |
| DE202013007536U1 (en) * | 2013-08-20 | 2013-10-11 | opTricon Entwicklungsgesellschaft für Optische Technologien mbH | Device for digital reading for rapid tests |
-
2013
- 2013-07-30 CN CN201310325608.7A patent/CN103354495B/en not_active Expired - Fee Related
Patent Citations (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101379804A (en) * | 2006-03-06 | 2009-03-04 | 高通股份有限公司 | Method and apparatus for communicating with a wireless network using a single address for multiple processors |
Also Published As
| Publication number | Publication date |
|---|---|
| CN103354495A (en) | 2013-10-16 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8588849B2 (en) | System and method for resuming media | |
| CN104618560B (en) | Incoming call prompt processing method and device for mobile terminal | |
| US9807218B2 (en) | Method for filtering spam in electronic device and the electronic device | |
| EP2649859B1 (en) | Automatically enabling wireless communication | |
| WO2018049897A1 (en) | Data backup method and device | |
| CN104253899A (en) | Method and device for controlling communication terminals | |
| CN109376062B (en) | Network state prompting method and related device | |
| CN107484190A (en) | Network connection method, mobile terminal, and computer-readable storage medium | |
| CN106792892B (en) | Access control method and device for application program | |
| CN107621981A (en) | Resource allocation method and related products | |
| JP2003199170A (en) | Function control method of information communication terminal, terminal control device, and information communication terminal | |
| CN110035167B (en) | Recording method and related device | |
| CN103354495B (en) | Terminal and data processing method | |
| CN111328061A (en) | A kind of audio resource control method, vehicle terminal and system | |
| CN103402013A (en) | Terminal and data processing method | |
| CN103391189A (en) | Terminal and data processing method | |
| CN103402014B (en) | Terminal and data processing method | |
| CN110768900B (en) | A data transmission method and electronic device | |
| WO2019037620A1 (en) | Method for automatic classification of bill, storage medium, and mobile terminal | |
| CN104618894B (en) | Data processing equipment and data processing method | |
| CN103391190A (en) | Terminal and data processing method | |
| CN103369525A (en) | Terminal and data processing method | |
| CN106899733B (en) | Intelligent terminal and system address book phone number processing method and device | |
| CN103368724A (en) | Terminal and data processing method | |
| WO2020113390A1 (en) | Alarm clock playback method and apparatus, and electronic device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant | ||
| CF01 | Termination of patent right due to non-payment of annual fee | ||
| CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20161228 Termination date: 20210730 |