CN103402016B - Terminal and data processing method - Google Patents
Terminal and data processing method Download PDFInfo
- Publication number
- CN103402016B CN103402016B CN201310326687.3A CN201310326687A CN103402016B CN 103402016 B CN103402016 B CN 103402016B CN 201310326687 A CN201310326687 A CN 201310326687A CN 103402016 B CN103402016 B CN 103402016B
- Authority
- CN
- China
- Prior art keywords
- processing unit
- voice service
- data
- service data
- processing
- 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
Landscapes
- Telephonic Communication Services (AREA)
Abstract
本发明提供了一种终端和一种数据处理方法,其中终端包括:第一处理单元,用于处理语音业务数据,并基于所述语音业务数据与所述终端的外部设备进行数据交互;第二处理单元,用于处理非语音业务数据,并基于所述非语音业务数据与所述外部设备进行数据交互。本发明的终端具有多处理器,将语音业务和非语音业务分别由不同的处理器处理,从根本上解决数据安全性问题。
The present invention provides a terminal and a data processing method, wherein the terminal comprises: a first processing unit for processing voice service data and performing data interaction with an external device of the terminal based on the voice service data; a second processing unit for processing non-voice service data and performing data interaction with the external device based on the non-voice service data. The terminal of the present invention has multiple processors, and the voice service and the non-voice service are processed by different processors respectively, thereby fundamentally solving the problem of data security.
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
目前的终端不管是单待机,还是双待机,所有业务包括语音业务、数据业务和其他业务并且这些业务都通过一个CPU处理,数据业务混乱,语音业务中的联系人应用数据、短信应用数据的安全性和私密性得不到有效保障,严重威胁客户私密数据的安全性。Regardless of whether the current terminal is single-standby or dual-standby, all services include voice services, data services and other services, and these services are processed by one CPU. Data services are chaotic, and the security of contact application data and SMS application data in voice services Sex and privacy are not effectively guaranteed, which seriously threatens the security of customers' private data.
传统的双待机架构如图1所示,有两个Modem(Modem1和Modem2),这两个Modem都能和一个CPU交互语音业务和数据业务等数据。即两个Modem共用一个CPU(手机处理器),通过CPU处理手机内存(RAM)和手机存储器(EMMC)中的数据,从而与外部设备交互数据,达到控制外设(外部设备)的目的。The traditional dual-standby architecture is shown in Figure 1. There are two Modems (Modem1 and Modem2). These two Modems can exchange data such as voice services and data services with a CPU. That is, two Modems share a CPU (mobile phone processor), and process the data in the mobile phone memory (RAM) and mobile phone memory (EMMC) through the CPU, so as to exchange data with external devices and achieve the purpose of controlling peripherals (external devices).
由于传统的双待机架构两个Modem共用一个CPU,所有的数据包括语音业务数据、数据业务数据和其它数据都通过CPU处理,因此,随着智能机的飞速发展,智能机中的数据量非常庞大,一个CPU的处理机制会导致数据处理速度明显减慢,影响用户体验,并且由于所有数据都通过一个CPU处理,数据极易混乱,通讯录、短信、安全密码、银行账户等重要数据的安全性得不到有效保障,严重影响用户的数据安全。Because the two Modems of the traditional dual-standby architecture share one CPU, all data including voice service data, data service data and other data are processed by the CPU. Therefore, with the rapid development of smart phones, the amount of data in smart phones is very large , the processing mechanism of one CPU will cause the speed of data processing to slow down significantly, which will affect the user experience, and because all data is processed by one CPU, the data is easily confused, and the security of important data such as address book, SMS, security password, bank account, etc. If it is not effectively guaranteed, it will seriously affect the data security of users.
目前的技术方案存在数据通过各种破解方式被非法获取的可能,无法从根本上解决所面临的安全问题。The current technical solution has the possibility of data being illegally obtained through various cracking methods, and cannot fundamentally solve the security problems faced.
发明内容Contents of the invention
本发明正是基于上述问题,提出了一种新的数据处理机制,可以从根本上保障数据安全。Based on the above problems, the present invention proposes a new data processing mechanism, which can fundamentally guarantee data security.
有鉴于此,本发明提出了一种终端,包括:第一处理单元,用于处理语音业务数据,并基于所述语音业务数据与所述终端的外部设备进行数据交互;第二处理单元,用于处理非语音业务数据,并基于所述非语音业务数据与所述外部设备进行数据交互。In view of this, the present invention proposes a terminal, including: a first processing unit, configured to process voice service data, and perform data interaction with external devices of the terminal based on the voice service data; a second processing unit, using It is used to process non-voice service data, and perform data interaction with the external device based on the non-voice service data.
第一通信单元,与所述第一处理单元和/所述第二处理单元连接,接收来自外部的所述语音业务数据并将所述语音业务数据传输至所述第一处理单元进行处理;第二通信单元,与所述第一处理单元和/或所述第二处理单元连接,接收来自外部的所述非语音业务数据并将所述非语音业务数据传输至所述第二处理单元进行处理。The first communication unit is connected to the first processing unit and/or the second processing unit, receives the voice service data from the outside and transmits the voice service data to the first processing unit for processing; Two communication units, connected to the first processing unit and/or the second processing unit, receive the non-voice service data from the outside and transmit the non-voice service data to the second processing unit for processing .
为了提高数据安全性,终端被配置了多个处理器,指定其中一部分处理器用于处理用户的隐私数据,其余处理器用于处理用户非语音业务数据,从而能够使众多的数据被分成多类分别进行处理,不仅可以加快响应速度,还可以从根本上保证数据的安全性,提高系统稳定性。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-voice service data, so that many data can be divided into multiple categories for processing. Processing can not only speed up the response speed, but also fundamentally ensure data security and improve system stability.
该终端为多待终端,多个通信单元均可与不同的处理器连接,可根据通信单元的负载状态来选择相应的通信单元进行语音业务数据或非语音业务数据的交互。The terminal is a multi-standby terminal, and multiple communication units can be connected to different processors, and the corresponding communication unit can be selected according to the load status of the communication unit for the interaction of voice service data or non-voice service data.
外部设备是指终端除处理器、通信单元之外的其他相关器件,例如屏幕、传感器、蓝牙、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, the second processing unit is further configured to send the voice service data to the first processing unit if the non-voice service involves voice service data when processing the non-voice service unit, and after transmitting the voice service data to the first processing unit, suspend the non-voice service, and continue to process all the services when receiving the notification of the end of service processing from the first processing unit Describe non-voice services.
为了保障数据安全,因此在物理架构上将数据按照安全等级进行分别处理,但在处理非语音业务时,往往会涉及到语音业务数据,例如在上网时会拨打电话,在第二处理单元处理上网业务时,若用户需要拨打电话,由于语音业务涉及核心业务数据,因此将该语音业务交由第一处理单元处理,并在第一处理单元对该语音业务处理结束时,第二处理单元继续处理非语音业务,因此,通过两个处理单元的配合处理,在保证业务能够顺利完成的同时,也能够保证数据的安全性。In order to ensure data security, the data is processed separately according to the security level in the physical structure. However, when processing non-voice services, voice service data is often involved. During service, if the user needs to make a call, since the voice service involves core business data, the voice service is handed over to the first processing unit for processing, and when the first processing unit finishes processing the voice service, the second processing unit continues to process For non-speech services, therefore, through the cooperative processing of the two processing units, while ensuring the smooth completion of services, data security can also be guaranteed.
在上述技术方案中,优选的,所述第一处理单元还用于在处理所述语音业务时,若所述语音业务涉及非语音业务数据,则将所述非语音业务数据发送至所述第二处理单元,以及在将所述非语音业务数据传输至所述第二处理单元后,所述语音业务处于挂起状态,以及在接收到来自所述第二处理单元的业务处理结束通知时,继续处理所述语音业务。In the above technical solution, preferably, the first processing unit is further configured to send the non-voice service data to the second voice service if the voice service involves non-voice service data when processing the voice service. Two processing units, and after transmitting the non-voice service data to the second processing unit, the voice service is in a suspended state, and when receiving a service processing end notification from the second processing unit, Continue to process the voice service.
同理,第一处理单元在处理语音业务时,若该语音业务涉及非语音业务数据,也可以将该非语音业务数据交由第二处理单元处理,这样,可以减轻第一处理单元的负担。Similarly, when the first processing unit processes voice services, if the voice services involve non-voice service data, the non-voice service data can also be handed over to the second processing unit for processing, thus reducing the burden on the first processing unit.
在上述任一技术方案中,优选的,所述第一处理单元包括第一控制子单元,用于在所述第一处理单元需根据所述语音业务数据与所述终端的外部设备进行交互时,向所述第二处理单元发送中断信号,中断所述第二处理单元与所述外部设备之间进行的数据交互,以及在所述第一处理单元完成与所述外部设备进行的交互时,向所述第二处理单元发送反馈信号,通知所述第二处理单元继续进行与所述外部设备之间的数据交互。In any of the above technical solutions, preferably, the first processing unit includes a first control subunit, configured to interact with the external device of the terminal when the first processing unit needs to interact with the external device of the terminal according to the voice service data , sending an interrupt signal to the second processing unit, interrupting the data interaction between the second processing unit and the external device, and when the first processing unit completes the interaction with the external device, Sending a feedback signal to the second processing unit to notify the second processing unit to continue data interaction with the external device.
正是由于终端被配置了多个处理器,因此处理器与外部设备的交互变得相对复杂,为了协调多个处理器与外部设备的交互过程和顺序,在该技术方案中提供了当用于处理语音业务数据的第一处理单元需紧急处理刚刚发生的业务数据时,控制用于处理非语音业务数据的第二处理单元中断正在处理的业务数据,并处于等待状态,在第一处理单元完成与外部设备的交互时,通知第二处理单元继续未完成的数据交互,通过这样的处理机制,能够保证用户相对重要、紧急的业务数据被优先处理,并且也不会影响其他业务数据的处理。It is precisely because the terminal is equipped with multiple processors that 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 used When the first processing unit processing voice business data needs to urgently process the business data that has just occurred, control the second processing unit used to process non-voice business data to interrupt the business data being processed and stay in a waiting state. When interacting with external devices, the second processing unit is notified to continue the unfinished data interaction. Through such a processing mechanism, it can ensure that relatively important and urgent business data of the user are processed first, and will not affect the processing of other business data.
在上述任一技术方案中,优选的,所述第二处理单元包括第二控制子单元,在所述第二处理单元需根据所述非语音业务数据与所述外部设备进行交互时,向所述第一处理单元发送中断信号,中断所述第一处理单元与所述外部设备之间进行的数据交互,以及在所述第二处理单元完成与所述外部设备进行的数据交互时,向所述第一处理单元发送反馈信号,通知所述第一处理单元继续进行与所述外部设备之间的数据交互。In any of the above technical solutions, preferably, the second processing unit includes a second control subunit, and when the second processing unit needs to interact with the external device according to the non-voice service data, The first processing unit sends an interrupt signal to interrupt the data interaction between the first processing unit and the external device, and when the second processing unit completes the data interaction with the external device, sends an interrupt signal to the The first processing unit sends a feedback signal to notify the first processing unit to continue data interaction with the external device.
同理,第二处理单元在需与外部设备进行交互时,也需向第一处理单元发送中断信号,保证最紧急、最近的业务数据能够被优先处理。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 provided. The terminal adopting the data processing method includes a first processing unit and a second processing unit, including: processing voice service data by the first processing unit, and performing data interaction with the external device of the terminal based on the voice service data; processing non-voice service data by the second processing unit, and performing data interaction with the external device based on the non-voice service data.
通过与所述第一处理单元连接的第一通信单元和/或第二通信单元接收来自外部的所述语音业务数据,通过与所述第二处理单元连接的第一通信单元和/或第二通信单元接收来自外部的所述非语音业务数据。The voice service data from the outside is received through the first communication unit and/or the second communication unit connected to the first processing unit, and the first communication unit and/or the second communication unit connected to the second processing unit The communication unit receives the non-voice service data from 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-voice service data, so that many data can be divided into multiple categories for processing. Processing can not only speed up the response speed, but also fundamentally ensure data security and improve system stability.
外部设备是指终端除处理器、通信单元之外的其他相关器件,例如屏幕、传感器、蓝牙、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, when the second processing unit processes the non-voice service, if the non-voice service involves voice service data, the voice service data is sent to the first processing unit ; After the second processing unit transmits the voice service data to the first processing unit, the non-voice service is suspended; the second processing unit receives the message from the first processing unit When the notification of the end of service processing, continue to process the non-voice service of the second processing unit.
为了保障数据安全,因此在物理架构上将数据按照安全等级进行分别处理,但在处理非语音业务时,往往会涉及到语音业务数据,例如在上网时会拨打电话,在第二处理单元处理上网业务时,若用户需要拨打电话,由于语音业务涉及核心业务数据,因此将该语音业务交由第一处理单元处理,并在第一处理单元对该语音业务处理结束时,第二处理单元继续处理非语音业务,因此,通过两个处理单元的配合处理,在保证业务能够顺利完成的同时,也能够保证数据的安全性In order to ensure data security, the data is processed separately according to the security level in the physical structure. However, when processing non-voice services, voice service data is often involved. During service, if the user needs to make a call, since the voice service involves core business data, the voice service is handed over to the first processing unit for processing, and when the first processing unit finishes processing the voice service, the second processing unit continues to process Non-voice services, therefore, through the cooperative processing of the two processing units, while ensuring the smooth completion of services, data security can also be guaranteed
在上述任一技术方案中,优选的,在所述第一处理单元处理所述语音业务时,若所述语音业务涉及非语音业务数据,则将所述非语音业务数据发送至所述第二处理单元;所述第一处理单元在将所述非语音业务数据传输至所述第二处理单元后,所述非语音业务被挂起;所述第一处理单元在接收到来自所述第二处理单元的业务处理结束通知时,继续处理所述第一处理单元的语音业务。同理,第一处理单元在处理语音业务时,若该语音业务涉及非语音业务数据,也可以将该非语音业务数据交由第二处理单元处理,这样,可以减轻第一处理单元的负担。In any of the above technical solutions, preferably, when the first processing unit processes the voice service, if the voice service involves non-voice service data, the non-voice service data is sent to the second processing unit; after the first processing unit transmits the non-voice service data to the second processing unit, the non-voice service is suspended; the first processing unit receives the data from the second processing unit When the processing unit is notified of the end of service processing, continue to process the voice service of the first processing unit. Similarly, when the first processing unit processes voice services, if the voice services involve non-voice service data, the non-voice service data can also be handed over to the second processing unit for processing, thus reducing the burden on the first processing unit.
在上述任一技术方案中,优选的,还可以包括:在所述第二处理单元需根据所述非语音业务数据与所述外部设备进行交互时,向所述第一处理单元发送中断信号,中断所述第一处理单元与所述外部设备之间进行的数据交互,以及在所述第二处理单元完成与所述外部设备进行的数据交互时,向所述第一处理单元发送反馈信号,通知所述第一处理单元继续进行与所述外部设备之间的数据交互。In any of the above technical solutions, preferably, it may further include: when the second processing unit needs to interact with the external device according to the non-voice service data, sending an interrupt signal to the first processing unit, interrupting the data interaction between the first processing unit and the external device, and sending a feedback signal to the first processing unit when the second processing unit completes the data interaction with the external device, Informing the first processing unit to continue data interaction with the external device.
正是由于终端被配置了多个处理器,因此处理器与外部设备的交互变得相对复杂,为了协调多个处理器与外部设备的交互过程和顺序,在该技术方案中提供了当用于处理语音业务数据的第一处理单元需紧急处理刚刚发生的业务数据时,控制用于处理非语音业务数据的第二处理单元中断正在处理的业务数据,并处于等待状态,在第一处理单元完成与外部设备的交互时,通知第二处理单元继续未完成的数据交互,通过这样的处理机制,能够保证用户相对重要、紧急的业务数据被优先处理,并且也不会影响其他业务数据的处理。It is precisely because the terminal is equipped with multiple processors that 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 used When the first processing unit processing voice business data needs to urgently process the business data that has just occurred, control the second processing unit used to process non-voice business data to interrupt the business data being processed and stay in a waiting state. When interacting with external devices, the second processing unit is notified to continue the unfinished data interaction. Through such a processing mechanism, it can ensure that relatively important and urgent business data of the user are processed first, and will not affect the processing of other business data.
在上述任一技术方案中,优选的,还可以包括:在所述第一处理单元需根据所述语音业务数据与所述终端的外部设备进行交互时,向所述第二处理单元发送中断信号,中断所述第二处理单元与所述外部设备之间进行的数据交互;在所述第一处理单元完成与所述外部设备进行的交互时,向所述第二处理单元发送反馈信号,通知所述第二处理单元继续进行与所述外部设备之间的数据交互。In any of the above technical solutions, preferably, it may further include: when the first processing unit needs to interact with the external device of the terminal according to the voice service data, sending an interrupt signal to the second processing unit , interrupt the data interaction between the second processing unit and the external device; when the first processing unit completes the interaction with the external device, send a feedback signal to the second processing unit to notify The second processing unit continues to perform data interaction with the external device.
同理,第二处理单元在需与外部设备进行交互时,也需向第一处理单元发送中断信号,保证最紧急、最近的业务数据能够被优先处理。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.
附图说明Description of drawings
图1示出了相关技术中的双待终端的框图;FIG. 1 shows a block diagram of a dual-standby terminal in the related art;
图2示出了根据本发明的实施例的终端的示意图;Fig. 2 shows a schematic diagram of a terminal according to an embodiment of the present invention;
图3A示出了根据本发明一个实施例的第一处理单元的数据处理方法的流程图;FIG. 3A shows a flowchart of a data processing method of a first processing unit according to an embodiment of the present invention;
图3B示出了根据本发明一个实施例的第二处理单元的数据处理方法的流程图;FIG. 3B shows a flowchart of a data processing method of a second processing unit according to an embodiment of the present invention;
图4示出了根据本发明另一实施例的第一处理单元与第二处理单元之间进行数据交互的流程图;Fig. 4 shows a flow chart of data interaction between a first processing unit and a second processing unit according to another embodiment of the present invention;
图5示出了根据本发明另一实施例的第一处理单元与第二处理单元之间进行数据交互的流程图;Fig. 5 shows a flowchart of data interaction between a first processing unit and a second processing unit according to another embodiment of the present invention;
图6示出了根据本发明实施例的数据处理方法的流程图。Fig. 6 shows a flowchart of a data processing method according to an 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 schematic diagram of a terminal according to an embodiment of the present invention.
如图2所示,根据本发明的实施例的终端包括:第一处理单元202,用于处理语音业务数据,并基于所述语音业务数据与所述终端的外部设备210进行数据交互;第二处理单元204,用于处理非语音业务数据,并基于所述非语音业务数据与所述终端的外部设备210进行数据交互。As shown in FIG. 2, the terminal according to the embodiment of the present invention includes: a first processing unit 202, configured to process voice service data, and perform data interaction with an external device 210 of the terminal based on the voice service data; The processing unit 204 is configured to process non-voice service data, and perform data interaction with the external device 210 of the terminal based on the non-voice service data.
外部设备210是指终端除处理器、通信单元之外的其他相关器件,例如屏幕、传感器、蓝牙、WIFI、照相机等。The external device 210 refers to other related devices of the terminal other than the processor and the communication unit, 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 .
在上述技术方案中,优选的,所述第二处理单元204还用于在处理非语音业务时,若所述非语音业务涉及语音业务数据,则将所述语音业务数据发送至所述第一处理单元202,以及在将所述语音业务数据传输至所述第一处理单元202后,将所述非语音业务挂起,以及在接收到来自所述第一处理单元202的业务处理结束通知时,继续处理所述非语音业务。In the above technical solution, preferably, the second processing unit 204 is further configured to send the voice service data to the first The processing unit 202, and after transmitting the voice service data to the first processing unit 202, suspend the non-voice service, and when receiving the notification of the end of service processing from the first processing unit 202 , continue to process the non-voice service.
为了保障数据安全,因此在物理架构上将数据按照安全等级进行分别处理,但在处理非语音业务时,往往会涉及到核心数据,例如在上网时会拨打电话,在第二处理单元204处理上网业务时,若用户需要拨打电话,由于语音业务涉及核心业务数据,因此将该语音业务交由第一处理单元202处理,并在第一处理单元202对该语音业务处理结束时,第二处理单元204继续处理非语音业务,因此,通过两个处理单元的配合处理,在保证业务能够顺利完成的同时,也能够保证数据的安全性。In order to ensure data security, the data is processed separately according to the security level in the physical structure, but when processing non-voice services, core data is often involved, such as making a phone call when surfing the Internet, and processing the Internet access in the second processing unit 204 During service, if the user needs to make a call, since the voice service involves core service data, the voice service is handed over to the first processing unit 202 for processing, and when the first processing unit 202 finishes processing the voice service, the second processing unit 204 continues to process non-voice services. Therefore, through the cooperative processing of the two processing units, while ensuring the smooth completion of services, data security can also be guaranteed.
在上述技术方案中,优选的,所述第一处理单元202还用于在处理所述语音业务时,若所述语音业务涉及非语音业务数据,则将所述非语音业务数据发送至所述第二处理单元204,以及在将所述非语音业务数据传输至所述第二处理单元204后,所述语音业务处于挂起状态,以及在接收到来自所述第二处理单元204的业务处理结束通知时,继续处理所述语音业务。In the above technical solution, preferably, the first processing unit 202 is further configured to send the non-voice service data to the The second processing unit 204, and after the non-voice service data is transmitted to the second processing unit 204, the voice service is in a suspended state, and after receiving the service processing from the second processing unit 204 When the notification ends, continue to process the voice service.
同理,第一处理单元202在处理语音业务时,若该语音业务涉及非语音业务数据,也可以将该非语音业务数据交由第二处理单元204处理,这样,可以减轻第一处理单元202的负担。Similarly, when the first processing unit 202 processes the voice service, if the voice service involves non-voice service data, the non-voice service data can also be handed over to the second processing unit 204 for processing, thus reducing the burden on the first processing unit 202. burden.
在上述任一技术方案中,优选的,所述第一处理单元202包括第一控制子单元,用于在所述第一处理单元202需根据所述语音业务数据与所述终端的外部设备210进行交互时,向所述第二处理单元204发送中断信号,中断所述第二处理单元204与所述外部设备210之间进行的数据交互,以及在所述第一处理单元202完成与所述外部设备210进行的交互时,向所述第二处理单元204发送反馈信号,通知所述第二处理单元204继续进行与所述外部设备210之间的数据交互。In any of the above-mentioned technical solutions, preferably, the first processing unit 202 includes a first control subunit, which is used for the first processing unit 202 to communicate with the external device 210 of the terminal according to the voice service data and the external device 210 of the terminal. When interacting, send an interrupt signal to the second processing unit 204, interrupt the data interaction between the second processing unit 204 and the external device 210, and when the first processing unit 202 completes the communication with the During the interaction performed by the external device 210 , a feedback signal is sent to the second processing unit 204 to notify the second processing unit 204 to continue data interaction with the external device 210 .
正是由于终端被配置了多个处理器,因此处理器与外部设备210的交互变得相对复杂,为了协调多个处理器与外部设备210的交互过程和顺序,在该技术方案中提供了当用于处理语音业务数据的第一处理单元202需紧急处理刚刚发生的业务数据时,控制用于处理非语音业务数据的第二处理单元204中断正在处理的业务数据,并处于等待状态,在第一处理单元202完成与外部设备210的交互时,通知第二处理单元204继续未完成的数据交互,通过这样的处理机制,能够保证用户相对重要、紧急的业务数据被优先处理,并且也不会影响其他业务数据的处理。Just because the terminal is configured with multiple processors, the interaction between the processors and the external device 210 becomes relatively complicated. In order to coordinate the interaction process and sequence between multiple processors and the external device 210, the technical solution provides when When the first processing unit 202 for processing voice service data needs to urgently process the service data that has just occurred, control the second processing unit 204 for processing non-voice service data to interrupt the service data being processed and stay in a waiting state. When the first processing unit 202 completes the interaction with the external device 210, it notifies the second processing unit 204 to continue the unfinished data interaction. Through such a processing mechanism, it can ensure that relatively important and urgent business data of the user are processed first, and will not Affect the processing of other business data.
在上述任一技术方案中,优选的,所述第二处理单元204包括第二控制子单元,在所述第二处理单元204需根据所述非语音业务数据与所述外部设备210进行交互时,向所述第一处理单元202发送中断信号,中断所述第一处理单元202与所述外部设备210之间进行的数据交互,以及在所述第二处理单元204完成与所述外部设备210进行的数据交互时,向所述第一处理单元202发送反馈信号,通知所述第一处理单元202继续进行与所述外部设备210之间的数据交互。In any of the above technical solutions, preferably, the second processing unit 204 includes a second control subunit, when the second processing unit 204 needs to interact with the external device 210 according to the non-voice service data , sending an interrupt signal to the first processing unit 202, interrupting the data interaction between the first processing unit 202 and the external device 210, and completing the communication with the external device 210 after the second processing unit 204 During data interaction, a feedback signal is sent to the first processing unit 202 to notify the first processing unit 202 to continue data interaction with the external device 210 .
同理,第二处理单元204在需与外部设备210进行交互时,也需向第一处理单元202发送中断信号,保证最紧急、最近的业务数据能够被优先处理。Similarly, when the second processing unit 204 needs to interact with the external device 210, it also needs to send an interrupt signal to the first processing unit 202 to ensure that the most urgent and recent business data can be processed first.
在上述任一技术方案中,优选的,所述语音业务数据是语音业务数据,所述非语音业务数据是除所述语音业务数据之外的业务数据。In any of the above technical solutions, preferably, the voice service data is voice service data, and the non-voice service data is service data other than the voice service data.
在上述任一技术方案中,优选的,还可以包括:第一通信单元206,与所述第一处理单元202和/所述第二处理单元204连接,接收来自外部的所述语音业务数据并将所述语音业务数据传输至所述第一处理单元202进行处理;第二通信单元208,与所述第一处理单元202和/或所述第二处理单元204连接,接收来自外部的所述非语音业务数据并将所述非语音业务数据传输至所述第二处理单元204进行处理。In any of the above technical solutions, preferably, it may also include: a first communication unit 206, connected to the first processing unit 202 and/or the second processing unit 204, receiving the voice service data from the outside and The voice service data is transmitted to the first processing unit 202 for processing; the second communication unit 208 is connected to the first processing unit 202 and/or the second processing unit 204, and receives the external non-voice service data and transmit the non-voice service data to the second processing unit 204 for processing.
该终端为多待终端,多个通信单元均可与不同的处理器连接,可根据通信单元的负载状态来选择相应的通信单元进行语音业务数据或非语音业务数据的交互。The terminal is a multi-standby terminal, and multiple communication units can be connected to different processors, and the corresponding communication unit can be selected according to the load status of the communication unit for the interaction of voice service data or non-voice service data.
因此,继续参考图2,在本实施例中,为Modem1(第一通信单元206)配备了CPU1(第一处理单元202)、RAM1、EMMC1,为Modem2(第二通信单元208)配备了一个CPU2(第二处理单元204),RAM2和EMMC2,并定义语音业务数据全是安全业务数据,如联系人、通话记录、短信等。这些数据由专用CPU1、RAM1、EMMC1处理和存储,并且这些业务数据只能通过CPU1与外部设备交互,从而保障用户个人数据的安全;定义数据业务数据是非安全数据,如浏览网页、观看网上视频等,这些数据由CPU2、RAM2和EMMC2处理和存储,并且这些数据一般通过CPU2与外部设备交互。CPU1、CPU2都有自己专有的RAM和EMMC,数据完全分开存储和处理,从而保障核心业务数据的安全。Therefore, continuing to refer to FIG. 2, in this embodiment, Modem1 (first communication unit 206) is equipped with CPU1 (first processing unit 202), RAM1, and EMMC1, and Modem2 (second communication unit 208) is equipped with a CPU2 (the second processing unit 204 ), RAM2 and EMMC2, and define that all voice service data are secure service data, such as contacts, call records, short messages, and so on. These data are processed and stored by dedicated CPU1, RAM1, and EMMC1, and these business data can only interact with external devices through CPU1, so as to ensure the security of users' personal data; define data business data as non-safe data, such as browsing web pages, watching online videos, etc. , these data are processed and stored by CPU2, RAM2 and EMMC2, and these data generally interact with external devices through CPU2. Both CPU1 and CPU2 have their own proprietary RAM and EMMC, and the data is stored and processed completely separately, thus ensuring the security of core business data.
由于CPU1、RAM1和EMMC1专门处理联系人电话、短信等语音业务数据,形成物理安全的安全模式,保障客户的业务数据的安全,另外,单独的CPU和存储器也会加快数据的处理速度,提升用户体验;CPU2、RAM2和EMMC2专门处理上网、观看网上视频等数据业务数据,不与语音业务数据混杂,并由单独的存储器存储,另外,单独的CPU和存储器也会加快数据的处理速度,提升用户体验。Since CPU1, RAM1, and EMMC1 specialize in processing voice business data such as phone calls and text messages of contacts, a physical security mode is formed to ensure the security of customer business data. In addition, a separate CPU and memory will also speed up data processing and improve user experience; CPU2, RAM2 and EMMC2 are dedicated to processing data service data such as surfing the Internet and watching online videos, and are not mixed with voice service data, and are stored by a separate memory. In addition, a separate CPU and memory will also speed up data processing and 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.
应了解,上述实施例中的第一处理单元和第二处理单元既可以是整个处理器(该处理器可以是单核处理器或多核处理器),也可以是多核处理器中的一个核心处理单元。It should be understood that the first processing unit and the second processing unit in the above embodiment may be the entire processor (the processor may be a single-core processor or a multi-core processor), or a core processing unit in a multi-core processor. unit.
下面结合图3A和图3B进一步说明根据本发明的技术方案。The technical solution according to the present invention will be further described below with reference to FIG. 3A and FIG. 3B .
如图3A所示,步骤302,判断当前业务是否需要CPU1与终端的外部设备进行交互,假设当前用户终端接收来一个来电,来电属于用户的语音业务数据,因此交由CPU1处理,确定CPU1在处理该来电数据时需要与音频处理设备例如喇叭进行交互。如果当前业务不需要CPU1与终端的外部设备进行交互,则结束该流程。As shown in Figure 3A, in step 302, it is judged whether the current service requires CPU1 to interact with the external equipment of the terminal. Assuming that the current user terminal receives an incoming call, the incoming call belongs to the user's voice service data, so it is handed over to CPU1 for processing, and it is determined that CPU1 is processing The incoming call data needs to interact with an audio processing device such as a speaker. If the current service does not require the CPU1 to interact with the external device of the terminal, the process ends.
步骤304,判断CPU1当前是否与该音频处理设备连接,若没有与音频处理设备连接(说明该音频处理设备当前与CPU2连接),则进入步骤306,否则,结束该流程。Step 304, 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 306, otherwise, end the process.
步骤306,CPU1向CPU2发送中断信号,以使CPU2断开与音频处理设备的连接。Step 306, CPU1 sends an interrupt signal to CPU2, so that CPU2 disconnects from the audio processing device.
步骤308,CPU1与音频处理设备进行连接。Step 308, CPU1 connects with the audio processing device.
因此在CPU2正在处理播放器应用数据该非语音业务数据并与音频处理设备连接时,若此时接收到来电,则可以中断CPU2与音频处理设备的连接,使CPU1能够与该音频处理设备连接,即便被CPU2占用音频处理设备,也能够及时接收到来电。Therefore, when CPU2 is processing the non-voice service 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.
如图3B所示,示出了CPU2相对于图3A所示的CPU1的处理流程图。As shown in FIG. 3B , there is shown a processing flow chart of CPU2 with respect to CPU1 shown in FIG. 3A .
步骤310,判断CPU2是否接收到来自CPU1发来的中断信号,若是,则进入步骤312,否则进入步骤314。Step 310 , judging whether CPU2 has received an interrupt signal from CPU1 , if yes, go to step 312 , otherwise go to step 314 .
步骤312,CPU2断开与外设的连接,若CPU2正在处理播放器应用数据,则断开与音频处理设备的连接。Step 312, CPU2 disconnects the connection with the peripheral device, if CPU2 is processing the player application data, disconnects the connection with the audio processing device.
步骤314,判断CPU2将要处理的当前业务是否需要使用外设,例如需将图片通过蓝牙发送至另一终端,若是,则进入步骤316,否则结束该流程。Step 314, determine 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 so, go to step 316, otherwise end the process.
步骤316,CPU2与蓝牙连接。Step 316, CPU2 connects with Bluetooth.
上述步骤312还包括在接收到CPU1已完成业务处理的通知时,继续与音频设备连接,继续播放音乐。The above step 312 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 processing the new business can control other processors processing other business to interrupt the connection with the corresponding external device. When the processing of the new service is completed, the other processor can be notified that it can continue to connect with the corresponding external device and continue to perform the unfinished service.
图4示出了根据本发明另一实施例的第一处理单元与第二处理单元之间进行数据交互的流程图。Fig. 4 shows a flowchart of data interaction between a first processing unit and a second processing unit according to another embodiment of the present invention.
如图4所示,步骤402,CPU2(即图2中的第一处理单元)处理当前非语音业务。As shown in FIG. 4, in step 402, CPU2 (that is, the first processing unit in FIG. 2) processes the current non-voice service.
步骤404,CPU2在处理一些非语音业务时,往往会使用语音业务数据;或者CPU2在处理一些非语音业务时,有语音业务突发产生,典型场景之一如用户使用新浪微博上网,需要拨打电话,从而使用语音业务数据;另一典型场景如用户在上网时,手机突然来电,故会判断当前非语音业务是否涉及使用语音业务数据或突发产生语音业务。Step 404, when CPU2 is processing some non-voice services, it often uses voice service data; or when CPU2 is processing some non-voice services, a burst of voice services occurs. One of the typical scenarios is that the user uses Sina Weibo to surf the Internet and needs to dial In another typical scenario, for example, when the user is surfing the Internet, the mobile phone suddenly receives a call, so it will judge whether the current non-voice service involves the use of voice service data or sudden generation of voice service.
步骤406,CPU2将涉及的语音业务数据给CPU1,将对业务的控制交给CPU1处理,当前非语音业务被挂起。In step 406, CPU2 sends the related voice service data to CPU1, and hands over the control of the service to CPU1 for processing, and the current non-voice service is suspended.
步骤408,CPU1处理CPU2发送过来的语音业务数据。Step 408, CPU1 processes the voice service data sent by CPU2.
步骤410,判断语音业务是否处理完毕,在处理完毕时,进入步骤412,CPU1向CPU2反馈结束通知。In step 410, it is judged whether the processing of the voice service is completed, and when the processing is completed, the process proceeds to step 412, and CPU1 feeds back a notification of completion to CPU2.
步骤412,CPU2在接收到该通知时,继续处理当前非语音业务。Step 412, when CPU2 receives the notification, it continues to process the current non-voice service.
图5示出了根据本发明另一实施例的第一处理单元与第二处理单元之间进行数据交互的流程图。Fig. 5 shows a flowchart of data interaction between a first processing unit and a second processing unit according to another embodiment of the present invention.
如图5所示,步骤502,CPU1(即图2中的第一处理单元)处理当前非语音业务。As shown in FIG. 5 , in step 502, CPU1 (that is, the first processing unit in FIG. 2 ) processes the current non-voice service.
步骤504,CPU1在处理一些语音业务时,往往会使用非语音业务数据;或者CPU1在处理一些语音业务时,有非语音业务突发产生,典型场景之一如用户使用QQ聊天,使用浏览器打开网页链接,从而使用非语音业务数据。Step 504, when CPU1 is processing some voice services, it often uses non-voice service data; or when CPU1 is processing some voice services, non-voice service bursts occur. One of the typical scenarios is that the user uses QQ to chat and uses a browser to open Links to web pages to use non-voice traffic data.
步骤506,CPU1将涉及的非语音业务数据给CPU2,将对业务的控制交给CPU1处理,当前语音业务被挂起。In step 506, CPU1 sends the involved non-voice service data to CPU2, hands over the control of the service to CPU1 for processing, and the current voice service is suspended.
步骤508,CPU2处理CPU1发送过来的非语音业务数据。Step 508, CPU2 processes the non-voice service data sent by CPU1.
步骤510,判断非语音业务是否处理完毕,在处理完毕时,进入步骤512,CPU2向CPU1反馈结束通知。In step 510, it is judged whether the processing of the non-voice service is completed, and when the processing is completed, the process proceeds to step 512, and CPU2 feeds back a notification of completion to CPU1.
步骤512,CPU1在接收到该通知时,继续处理当前语音业务。Step 512, when CPU1 receives the notification, it continues to process the current voice service.
图6示出了根据本发明实施例的数据处理方法的流程图Figure 6 shows a flow chart of a data processing method according to an embodiment of the present invention
如图6所示,根据本发明的实施例的数据处理方法,采用所述数据处理方法的终端包括第一处理单元和第二处理单元,可以包括以下步骤:步骤602,通过所述第一处理单元处理语音业务数据,并基于所述语音业务数据与所述终端的外部设备进行数据交互;步骤604,通过第二处理单元处理非语音业务数据,并基于非语音业务数据与外部设备进行数据交互。As shown in FIG. 6, according to the data processing method of the embodiment of the present invention, the terminal adopting the data processing method includes a first processing unit and a second processing unit, which may include the following steps: Step 602, through the first processing The unit processes voice service data, and performs data interaction with the external device of the terminal based on the voice service data; step 604, processes non-voice service data through the second processing unit, and performs data interaction with the external device based on the non-voice service data .
为了提高数据安全性,终端被配置了多个处理器,指定其中一部分处理器用于处理用户的隐私数据,其余处理器用于处理用户非语音业务数据,从而能够使众多的数据被分成多类分别进行处理,不仅可以加快响应速度,还可以从根本上保证数据的安全性,提高系统稳定性。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-voice service data, so that many data can be divided into multiple categories for processing. Processing can not only speed up the response speed, but also fundamentally ensure data security and improve system stability.
外部设备是指终端除处理器、通信单元之外的其他相关器件,例如屏幕、传感器、蓝牙、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, when the second processing unit processes the non-voice service, if the non-voice service involves voice service data, the voice service data is sent to the first processing unit ; After the second processing unit transmits the voice service data to the first processing unit, the non-voice service is suspended; the second processing unit receives the message from the first processing unit When the notification of the end of service processing, continue to process the non-voice service of the second processing unit.
为了保障数据安全,因此在物理架构上将数据按照安全等级进行分别处理,但在处理非语音业务时,往往会涉及到核心数据,例如在上网时会拨打电话,在第二处理单元处理上网业务时,若用户需要拨打电话,由于语音业务涉及核心业务数据,因此将该语音业务交由第一处理单元处理,并在第一处理单元对该语音业务处理结束时,第二处理单元继续处理非语音业务,因此,通过两个处理单元的配合处理,在保证业务能够顺利完成的同时,也能够保证数据的安全性。In order to ensure data security, the data is processed separately according to the security level in the physical structure, but core data is often involved when processing non-voice services, such as making calls when surfing the Internet, and processing Internet services in the second processing unit At this time, if the user needs to make a call, since the voice service involves core business data, the voice service is handed over to the first processing unit for processing, and when the first processing unit finishes processing the voice service, the second processing unit continues to process non- Voice service, therefore, through the cooperative processing of the two processing units, while ensuring the smooth completion of the service, data security can also be guaranteed.
在上述任一技术方案中,优选的,在所述第一处理单元处理所述语音业务时,若所述语音业务涉及非语音业务数据,则将所述非语音业务数据发送至所述第二处理单元;所述第一处理单元在将所述非语音业务数据传输至所述第二处理单元后,所述非语音业务被挂起;所述第一处理单元在接收到来自所述第二处理单元的业务处理结束通知时,继续处理所述第一处理单元的语音业务。In any of the above technical solutions, preferably, when the first processing unit processes the voice service, if the voice service involves non-voice service data, the non-voice service data is sent to the second processing unit; after the first processing unit transmits the non-voice service data to the second processing unit, the non-voice service is suspended; the first processing unit receives the data from the second processing unit When the processing unit is notified of the end of service processing, continue to process the voice service of the first processing unit.
同理,第一处理单元在处理语音业务时,若该语音业务涉及非语音业务数据,也可以将该非语音业务数据交由第二处理单元处理,这样,可以减轻第一处理单元的负担。Similarly, when the first processing unit processes voice services, if the voice services involve non-voice service data, the non-voice service data can also be handed over to the second processing unit for processing, thus reducing the burden on the first processing unit.
在上述任一技术方案中,优选的,还可以包括:在所述第二处理单元需根据所述非语音业务数据与所述外部设备进行交互时,向所述第一处理单元发送中断信号,中断所述第一处理单元与所述外部设备之间进行的数据交互,以及在所述第二处理单元完成与所述外部设备进行的数据交互时,向所述第一处理单元发送反馈信号,通知所述第一处理单元继续进行与所述外部设备之间的数据交互。In any of the above technical solutions, preferably, it may further include: when the second processing unit needs to interact with the external device according to the non-voice service data, sending an interrupt signal to the first processing unit, interrupting the data interaction between the first processing unit and the external device, and sending a feedback signal to the first processing unit when the second processing unit completes the data interaction with the external device, Informing the first processing unit to continue data interaction with the external device.
正是由于终端被配置了多个处理器,因此处理器与外部设备的交互变得相对复杂,为了协调多个处理器与外部设备的交互过程和顺序,在该技术方案中提供了当用于处理语音业务数据的第一处理单元需紧急处理刚刚发生的业务数据时,控制用于处理非语音业务数据的第二处理单元中断正在处理的业务数据,并处于等待状态,在第一处理单元完成与外部设备的交互时,通知第二处理单元继续未完成的数据交互,通过这样的处理机制,能够保证用户相对重要、紧急的业务数据被优先处理,并且也不会影响其他业务数据的处理。It is precisely because the terminal is equipped with multiple processors that 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 used When the first processing unit processing voice business data needs to urgently process the business data that has just occurred, control the second processing unit used to process non-voice business data to interrupt the business data being processed and stay in a waiting state. When interacting with external devices, the second processing unit is notified to continue the unfinished data interaction. Through such a processing mechanism, it can ensure that relatively important and urgent business data of the user are processed first, and will not affect the processing of other business data.
在上述任一技术方案中,优选的,还可以包括:在所述第一处理单元需根据所述语音业务数据与所述终端的外部设备进行交互时,向所述第二处理单元发送中断信号,中断所述第二处理单元与所述外部设备之间进行的数据交互;在所述第一处理单元完成与所述外部设备进行的交互时,向所述第二处理单元发送反馈信号,通知所述第二处理单元继续进行与所述外部设备之间的数据交互。In any of the above technical solutions, preferably, it may further include: when the first processing unit needs to interact with the external device of the terminal according to the voice service data, sending an interrupt signal to the second processing unit , interrupt the data interaction between the second processing unit and the external device; when the first processing unit completes the interaction with the external device, send a feedback signal to the second processing unit to notify The second processing unit continues to perform data interaction with the external device.
同理,第二处理单元在需与外部设备进行交互时,也需向第一处理单元发送中断信号,保证最紧急、最近的业务数据能够被优先处理。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.
在上述任一技术方案中,优选的,所述语音业务数据是语音业务数据,所述非语音业务数据是除所述语音业务数据之外的业务数据。In any of the above technical solutions, preferably, the voice service data is voice service data, and the non-voice service data is service data other than the voice service data.
在上述任一技术方案中,优选的,通过与所述第一处理单元连接的第一通信单元和/或第二通信单元接收来自外部的所述语音业务数据,通过与所述第二处理单元连接的第一通信单元和/或第二通信单元接收来自外部的所述非语音业务数据。In any of the above technical solutions, preferably, the voice service data from the outside is received through the first communication unit and/or the second communication unit connected to the first processing unit, and through communication with the second processing unit The connected first communication unit and/or the second communication unit receives the non-voice service data from outside.
以上结合附图详细说明了本发明的技术方案,本发明的技术方案,采用多个处理器来分别处理不同的业务数据,不仅保证了数据安全,也提高了数据处理速度,并且提供了在多个处理器下各处理器与终端的外部设备进行交互的协调处理机制,在保证数据安全的同时,能够实现数据的顺利处理,进而提高用户体验。The technical solution of the present invention has been described in detail above in conjunction with the accompanying drawings. The technical solution of the present invention uses multiple processors to process different business data, which not only ensures data security, but also improves data processing speed, and provides multiple The coordination processing mechanism for each processor under each processor to interact with the external devices of the terminal can realize the smooth processing of data while ensuring data security, thereby improving 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 (6)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310326687.3A CN103402016B (en) | 2013-07-30 | 2013-07-30 | Terminal and data processing method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201310326687.3A CN103402016B (en) | 2013-07-30 | 2013-07-30 | Terminal and data processing method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN103402016A CN103402016A (en) | 2013-11-20 |
| CN103402016B true CN103402016B (en) | 2018-01-09 |
Family
ID=49565537
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201310326687.3A Expired - Fee Related CN103402016B (en) | 2013-07-30 | 2013-07-30 | Terminal and data processing method |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN103402016B (en) |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2002261679A (en) * | 2001-02-28 | 2002-09-13 | Sharp Corp | Mobile communication equipment |
| KR100608914B1 (en) * | 2004-11-11 | 2006-08-09 | 한국전자통신연구원 | Device for controlling access to media in wireless LAN for WiFi |
| US9014175B2 (en) * | 2006-12-29 | 2015-04-21 | Intel Corporation | Routing of voice internet protocol packets to a selected processor |
| US8781437B2 (en) * | 2011-03-04 | 2014-07-15 | Qualcomm Incorporated | Systems and methods for dynamic transmission power limit back-off for specific absorption rate compliance |
-
2013
- 2013-07-30 CN CN201310326687.3A patent/CN103402016B/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| CN103402016A (en) | 2013-11-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP6915079B2 (en) | Communication methods and terminals that implement dual card, dual standby, and dual path | |
| CN106331372B (en) | Data transmission method and mobile terminal | |
| EP3537734A1 (en) | Method, apparatus, system, and device for connecting bluetooth device | |
| US20140012943A1 (en) | Method and storage apparatus for switching data transmission path to transmit data | |
| WO2014019364A1 (en) | Privacy protection device and privacy protection method for mobile terminal | |
| CN105450857A (en) | Data network-based situation pattern realization method and device for preventing interruption of incoming voice call | |
| CN111328061B (en) | Audio resource control method, vehicle-mounted terminal and system | |
| CN104618894B (en) | Data processing equipment and data processing method | |
| CN106060825B (en) | Client identification card copying reminding method and server | |
| US20140297719A1 (en) | Receiving a communication event | |
| CN105959952A (en) | Network security access method and device | |
| CN108429854A (en) | Communication control method and related products | |
| CN103368724A (en) | Terminal and data processing method | |
| CN103716910A (en) | System, intelligent terminal, mobile terminal and method for achieving mobile communication | |
| CN103402016A (en) | Terminal and data processing method | |
| CN103369724B (en) | Terminal and data processing method | |
| CN103354495B (en) | Terminal and data processing method | |
| CN103402019A (en) | Terminal and data processing method | |
| WO2016173284A1 (en) | Communication method of mobile terminal and mobile terminal | |
| CN103391189A (en) | Terminal and data processing method | |
| CN103402013A (en) | Terminal and data processing method | |
| CN103402014B (en) | Terminal and data processing method | |
| CN103402017A (en) | Terminal and data processing method | |
| CN115987950A (en) | Communication method, device and equipment | |
| CN102970426A (en) | A mobile terminal communication control method and 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 | ||
| GR01 | Patent grant | ||
| 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: 20180109 Termination date: 20210730 |