Movatterモバイル変換


[0]ホーム

URL:


CN110647235A - Data processing method and device based on terminal equipment and terminal equipment - Google Patents

Data processing method and device based on terminal equipment and terminal equipment
Download PDF

Info

Publication number
CN110647235A
CN110647235ACN201910842361.3ACN201910842361ACN110647235ACN 110647235 ACN110647235 ACN 110647235ACN 201910842361 ACN201910842361 ACN 201910842361ACN 110647235 ACN110647235 ACN 110647235A
Authority
CN
China
Prior art keywords
data
processed
target
processing chip
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.)
Granted
Application number
CN201910842361.3A
Other languages
Chinese (zh)
Other versions
CN110647235B (en
Inventor
薛江
陈岩
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Software Technology Guangdong Co ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp LtdfiledCriticalGuangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910842361.3ApriorityCriticalpatent/CN110647235B/en
Publication of CN110647235ApublicationCriticalpatent/CN110647235A/en
Application grantedgrantedCritical
Publication of CN110647235BpublicationCriticalpatent/CN110647235B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Images

Classifications

Landscapes

Abstract

Translated fromChinese

本申请提出一种基于终端设备的数据处理方法、装置及终端设备。其中,终端设备包括协处理芯片和应用处理芯片,应用处理芯片的运行功耗大于协处理芯片的运行功耗,应用于集成电路侧的方法包括:监测针对第一目标待处理数据的数据处理请求;当监测到数据处理请求时,根据数据请求获取并处理第一目标待处理数据。由此,通过功耗较低的协处理芯片处理第一目标待处理数据,降低了应用处理芯片的运行时长,从而降低了终端设备的功耗,提升了终端设备的续航性能。

Figure 201910842361

The present application provides a data processing method, device and terminal device based on a terminal device. The terminal device includes a co-processing chip and an application processing chip, the operating power consumption of the application processing chip is greater than the operating power consumption of the co-processing chip, and the method applied to the integrated circuit side includes: monitoring a data processing request for the data to be processed for the first target ; When a data processing request is detected, obtain and process the data to be processed of the first target according to the data request. Therefore, the data to be processed of the first target is processed by the co-processing chip with lower power consumption, which reduces the running time of the application processing chip, thereby reducing the power consumption of the terminal device and improving the endurance performance of the terminal device.

Figure 201910842361

Description

Translated fromChinese
基于终端设备的数据处理方法、装置及终端设备Terminal equipment-based data processing method, device and terminal equipment

技术领域technical field

本申请涉及电子技术领域,尤其涉及一种基于终端设备的数据处理方法、装置及终端设备。The present application relates to the field of electronic technologies, and in particular, to a terminal device-based data processing method, apparatus, and terminal device.

背景技术Background technique

随着科技的不断发展,各种移动设备不断推陈出新,适应着人们的各种需求,为人们的生活带来了极大的便利。With the continuous development of science and technology, various mobile devices are constantly innovating, adapting to people's various needs and bringing great convenience to people's lives.

相关技术中,终端设备的功能服务是由应用处理芯片进行处理的,但是由于应用处理芯片启动后运行功耗比较高,从而导致终端设备的功耗较高,降低了终端设备的续航时间。In the related art, the function service of the terminal device is processed by the application processing chip, but the running power consumption of the application processing chip is relatively high after startup, which leads to high power consumption of the terminal device and reduces the battery life of the terminal device.

发明内容SUMMARY OF THE INVENTION

本申请提出的基于终端设备的数据处理方法、装置及终端设备,用于解决相关技术中,终端设备运行功耗较高的技术问题。The terminal device-based data processing method, device, and terminal device proposed in the present application are used to solve the technical problem of relatively high running power consumption of the terminal device in the related art.

本申请一方面实施例提出的基于终端设备的数据处理方法,所述终端设备包括协处理芯片和应用处理芯片,其中,所述应用处理芯片的运行功耗大于所述协处理芯片的运行功耗,所述方法应用于协处理芯片侧,包括:监测针对第一目标待处理数据的数据处理请求;当监测到所述数据处理请求时,根据所述数据请求获取并处理所述第一目标待处理数据。A terminal device-based data processing method proposed by an embodiment of the present application, the terminal device includes a co-processing chip and an application processing chip, wherein the operating power consumption of the application processing chip is greater than the operating power consumption of the co-processing chip , the method is applied to the co-processing chip side, including: monitoring a data processing request for the data to be processed of the first target; when monitoring the data processing request, obtaining and processing the first target pending data according to the data request Data processing.

本申请另一方面实施例提出的基于终端设备的数据处理方法,所述终端设备包括协处理芯片和应用处理芯片,其中,所述应用处理芯片的运行功耗大于所述协处理芯片的运行功耗,所述方法应用于所述应用处理芯片侧,包括:监测针对第二目标待处理数据的数据处理请求;当监测到所述数据处理请求时,获取并开始处理所述第二目标待处理数据;在处理所述第二目标待处理数据时,判断当前待处理数据是否为第一目标待处理数据;若所述当前待处理数据是所述第一目标待处理数据,则向所述协处理芯片发送携带所述第一目标待处理数据的数据处理请求,以便于所述协处理芯片处理所述第一目标待处理数据。Another aspect of the present application provides a data processing method based on a terminal device, wherein the terminal device includes a co-processing chip and an application processing chip, wherein the operating power consumption of the application processing chip is greater than that of the co-processing chip. The method is applied to the application processing chip side, including: monitoring a data processing request for the data to be processed of the second target; when the data processing request is monitored, acquiring and starting to process the second target to be processed When processing the data to be processed of the second target, determine whether the current data to be processed is the data to be processed of the first target; if the current data to be processed is the data to be processed of the first target, then to the cooperative The processing chip sends a data processing request carrying the data to be processed of the first target, so that the co-processing chip can process the data to be processed of the first target.

本申请再一方面实施例提出的基于终端设备的数据处理装置,所述终端设备包括协处理芯片和应用处理芯片,其中,所述应用处理芯片的运行功耗大于所述协处理芯片的运行功耗,所述装置应用于所述协处理芯片侧,包括:第一监测模块,用于监测针对第一目标待处理数据的数据处理请求;处理模块,用于当监测到所述数据处理请求时,根据所述数据请求获取并处理所述第一目标待处理数据。In yet another embodiment of the present application, a data processing apparatus based on a terminal device is proposed. The terminal device includes a co-processing chip and an application processing chip, wherein the operating power consumption of the application processing chip is greater than that of the co-processing chip. The device is applied to the side of the co-processing chip, and includes: a first monitoring module for monitoring a data processing request for the data to be processed for the first target; a processing module for monitoring the data processing request when the data processing request is detected , obtain and process the data to be processed of the first target according to the data request.

本申请又一方面实施例提出的基于终端设备的数据处理装置,所述终端设备包括协处理芯片和应用处理芯片,其中,所述应用处理芯片的运行功耗大于所述协处理芯片的运行功耗,所述装置应用于所述应用处理芯片侧,包括:第二监测模块,用于监测针对第二目标待处理数据的数据处理请求;获取模块,用于当监测到所述数据处理请求时,获取并开始处理所述第二目标待处理数据;判断模块,用于在处理所述第二目标待处理数据时,判断当前待处理数据是否为第一目标待处理数据;发送模块,用于若所述当前待处理数据是所述第一目标待处理数据,则向所述协处理芯片发送携带所述第一目标待处理数据的数据处理请求,以便于所述协处理芯片处理所述第一目标待处理数据。Another aspect of the present application provides a data processing apparatus based on a terminal device, the terminal device includes a co-processing chip and an application processing chip, wherein the operating power consumption of the application processing chip is greater than that of the co-processing chip. The device is applied to the application processing chip side, and includes: a second monitoring module for monitoring a data processing request for the data to be processed of the second target; an acquisition module for monitoring the data processing request when the data processing request is detected , acquire and start processing the second target data to be processed; the judgment module is used to judge whether the current to-be-processed data is the first target to-be-processed data when processing the second target to-be-processed data; the sending module is used to If the current data to be processed is the data to be processed of the first target, a data processing request carrying the data to be processed of the first target is sent to the co-processing chip, so that the co-processing chip can process the data to be processed on the first target. A target pending data.

本申请又一方面实施例提出的终端设备,其包括:存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如前所述的基于终端设备的数据处理方法。A terminal device proposed by an embodiment of another aspect of the present application includes: a memory, a processor, and a computer program stored in the memory and running on the processor, where the processor implements the above-mentioned program when the processor executes the program Data processing method based on terminal equipment.

本申请又一方面实施例提出的非临时性计算机可读存储介质,其上存储有计算机程序,所述程序被处理器执行时实现如前所述的基于终端设备的数据处理方法。The non-transitory computer-readable storage medium provided by the embodiments of another aspect of the present application stores a computer program thereon, and when the program is executed by a processor, implements the aforementioned terminal device-based data processing method.

本申请提供的技术方案,至少包括如下技术效果:The technical solution provided by this application at least includes the following technical effects:

通过协处理芯片获取针对第一目标待处理数据的数据处理请求,其中,终端设备包括协处理芯片和应用处理芯片,应用处理芯片的运行功耗大于协处理芯片的运行功耗,进而当获取到数据处理请求时,根据数据请求获取并处理第一目标待处理数据。由此,通过功耗较低的协处理芯片处理第一目标待处理数据,降低了应用处理芯片的运行时长,从而降低了终端设备的功耗,提升了终端设备的续航性能。The data processing request for the data to be processed of the first target is obtained through the co-processing chip, wherein the terminal device includes a co-processing chip and an application processing chip, and the operating power consumption of the application processing chip is greater than that of the co-processing chip, and further when the obtained When a data processing request is made, the first target to-be-processed data is acquired and processed according to the data request. Therefore, the data to be processed of the first target is processed by the co-processing chip with lower power consumption, which reduces the running time of the application processing chip, thereby reducing the power consumption of the terminal device and improving the endurance performance of the terminal device.

本申请附加的方面和优点将在下面的描述中部分给出,部分将从下面的描述中变得明显,或通过本申请的实践了解到。Additional aspects and advantages of the present application will be set forth, in part, in the following description, and in part will be apparent from the following description, or learned by practice of the present application.

附图说明Description of drawings

本申请上述的和/或附加的方面和优点从下面结合附图对实施例的描述中将变得明显和容易理解,其中:The above and/or additional aspects and advantages of the present application will become apparent and readily understood from the following description of embodiments taken in conjunction with the accompanying drawings, wherein:

图1为本申请实施例所提供的一种基于终端设备的数据处理方法的流程示意图;FIG. 1 is a schematic flowchart of a data processing method based on a terminal device provided by an embodiment of the present application;

图2为本申请实施例所提供的一种协处理芯片与应用处理芯片的连接示意图;FIG. 2 is a schematic diagram of a connection between a co-processing chip and an application processing chip according to an embodiment of the present application;

图3为本申请实施例所提供的另一种基于终端设备的数据处理方法的流程示意图;3 is a schematic flowchart of another data processing method based on a terminal device provided by an embodiment of the present application;

图4为本申请实施例所提供的一种基于终端设备的数据处理装置的结构示意图;4 is a schematic structural diagram of a terminal device-based data processing apparatus provided by an embodiment of the present application;

图5为本申请实施例所提供的另一种基于终端设备的数据处理装置的结构示意图;FIG. 5 is a schematic structural diagram of another terminal device-based data processing apparatus provided by an embodiment of the present application;

图6为本申请实施例所提供的终端设备的结构示意图。FIG. 6 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.

具体实施方式Detailed ways

下面详细描述本申请的实施例,所述实施例的示例在附图中示出,其中自始至终相同或类似的标号表示相同或类似的要素。下面通过参考附图描述的实施例是示例性的,旨在用于解释本申请,而不能理解为对本申请的限制。The following describes in detail the embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals refer to the same or similar elements throughout. The embodiments described below with reference to the accompanying drawings are exemplary, and are intended to be used to explain the present application, but should not be construed as a limitation to the present application.

正如上述背景技术中提到的,依赖于应用处理芯片支持终端设备的功能服务,而由于应用处理芯片运行功耗比较高,从而导致终端设备的功耗较高,降低了终端设备的续航时间。As mentioned in the above background art, the application processing chip is used to support the functional services of the terminal device, and the application processing chip has relatively high running power consumption, which leads to high power consumption of the terminal device and reduces the battery life of the terminal device.

为了解决上述技术问题,本申请在终端设备中引入了协处理芯片,由此,终端设备包括协处理芯片和应用处理芯片,其中,应用处理芯片可以理解为在终端设备中的数据处理能力较大且运行功耗较大的芯片,例如是应用处理器,协处理芯片可以理解为基于低功耗电路设计的运行功耗较低、具有一定数据处理能力的芯片,应用处理芯片的运行功耗大于协处理芯片的运行功耗,进而将一部分数据处理由协处理芯片来承担,降低了应用处理芯片的运行时长,从而降低了终端设备的功耗,提升了终端设备的续航性能。In order to solve the above technical problems, the present application introduces a co-processing chip into the terminal device. Therefore, the terminal device includes a co-processing chip and an application processing chip. The application processing chip can be understood as having a relatively large data processing capability in the terminal device. And chips with high operating power consumption, such as application processors, co-processing chips can be understood as chips with low operating power consumption and certain data processing capabilities based on low-power circuit design. The operating power consumption of application processing chips is greater than The operation power consumption of the co-processing chip, and then part of the data processing is borne by the co-processing chip, which reduces the running time of the application processing chip, thereby reducing the power consumption of the terminal device and improving the endurance performance of the terminal device.

下面参考附图对本申请提供的基于终端设备的数据处理方法、装置及终端设备进行详细描述。The terminal device-based data processing method, apparatus and terminal device provided by the present application will be described in detail below with reference to the accompanying drawings.

为了更加全面的说明上述基于终端设备的数据处理方法,下面分别集中在协处理芯片侧和应用处理芯片侧进行说明。In order to more comprehensively describe the above-mentioned data processing method based on a terminal device, the following description will focus on the side of the co-processing chip and the side of the application processing chip respectively.

首先以协处理芯片侧进行说明,说明如下:First, the co-processing chip side is explained, as follows:

图1为本申请实施例所提供的一种基于终端设备的数据处理方法的流程示意图。FIG. 1 is a schematic flowchart of a data processing method based on a terminal device provided by an embodiment of the present application.

如图1所示,该基于终端设备的数据处理方法,包括以下步骤:As shown in Figure 1, the terminal device-based data processing method includes the following steps:

步骤101,监测针对第一目标待处理数据的数据处理请求。Step 101: Monitor a data processing request for the data to be processed for the first target.

可以理解,第一目标待处理数据,是指协处理芯片可以处理的数据处理量较小的待处理数据。其中,第一目标待处理数据可以是某个事件的完整待处理数据,也可以是某个事件中的部分待处理数据,其中,上述事件包括硬件的处理事件(比如LED等的开关控制事件、传感器的开关控制事件等),也可以包括应用程序的处理事件(比如日历应用的查询事件等),该第一目标待处理数据可以是预先主动设置的,也可以是根据协处理芯片的计算容量预先划分的。It can be understood that the first target data to be processed refers to the data to be processed with a small amount of data processing that can be processed by the co-processing chip. Wherein, the first target data to be processed may be the complete data to be processed of an event, or may be part of the data to be processed in an event, wherein the above-mentioned events include hardware processing events (such as switch control events such as LEDs, Sensor switch control events, etc.), and can also include application processing events (such as calendar application query events, etc.), the first target data to be processed can be actively set in advance, or can be based on the computing capacity of the co-processing chip. pre-divided.

需要说明的是,第一目标待处理数据的类型可以包括但不限于以上列举的情形,实际使用时,可以根据具体的应用场景确定,本申请实施例对此不做限定。It should be noted that the type of the first target data to be processed may include, but not limited to, the above-listed situations. In actual use, it may be determined according to a specific application scenario, which is not limited in this embodiment of the present application.

具体的,协处理芯片作为一个单独的处理芯片运行,实时监测针对第一目标待处理数据的数据处理请求,以便于对第一目标待处理数据的数据处理请求进行处理,从而,应用处理芯片无需处理该第一目标待处理数据的数据处理请求,运行协处理芯片显示比运行应用处理芯片的功耗低,以此来降低终端设备的运行功耗。Specifically, the co-processing chip operates as a separate processing chip, and monitors the data processing request for the data to be processed by the first target in real time, so as to process the data processing request of the data to be processed by the first target. Therefore, the application processing chip does not need to The data processing request of the data to be processed of the first target is processed, and the power consumption of running the co-processing chip is lower than that of running the application processing chip, thereby reducing the running power consumption of the terminal device.

为了使得本领域的技术人员更加清楚,如何获取针对第一目标待处理数据的数据处理请求,下面结合具体的实施例进行举例说明,说明如下:In order to make it clearer to those skilled in the art, how to obtain the data processing request for the data to be processed for the first target is illustrated below with reference to specific embodiments, and the description is as follows:

作为一种可能的实现方式,第一目标待处理数据对应的处理事件是目标对对象的整个处理事件对应的待处理数据,该目标对象包括上述实施例提到的硬件对应的处理事件,以及应用程序对应的处理事件。As a possible implementation manner, the processing event corresponding to the data to be processed of the first target is the data to be processed corresponding to the entire processing event of the target object, and the target object includes the processing event corresponding to the hardware mentioned in the above embodiment, and the application The corresponding processing event of the program.

因而,在本实施中,获取针对目标对象的开启请求,当获取到开启请求时,则对应的协处理芯片直接处理对应的第一目标待处理数据。Therefore, in this implementation, an open request for the target object is obtained, and when the open request is obtained, the corresponding co-processing chip directly processes the corresponding first target data to be processed.

应当理解的是,本实施例中的开启请求可以是用户主动触发的,其中,用户可以通过双击对应的应用程序等来主动触发开启请求,或者,通过语音、手势操作等方式来发送打开目标对象的开启请求。It should be understood that the opening request in this embodiment may be actively triggered by the user, wherein the user may actively trigger the opening request by double-clicking the corresponding application program, etc., or send the opening target object by means of voice, gesture operation, etc. open request.

在本实施例中,当目标对象是目标硬件设备(比如LED灯、传感器)时,可以获取终端设备的环境参数,判断环境参数是否满足针对目标硬件设备的预设开启条件,即根据终端设备所处的环境参数去主动确定需要的目标硬件设备,进而,如果环境参数满足预设开启条件,则监测到针对第一目标待处理数据的数据处理请求。In this embodiment, when the target object is a target hardware device (such as an LED light, a sensor), the environmental parameters of the terminal device can be obtained, and it can be determined whether the environmental parameters meet the preset enabling conditions for the target hardware device, that is, according to the The environment parameters at the location are used to actively determine the required target hardware devices, and further, if the environment parameters meet the preset enabling conditions, a data processing request for the data to be processed of the first target is monitored.

上述终端设备的环境参数可以是通过预设的传感器采集得到的,即直接动预设的传感器获取传感器采集的终端设备的环境参数。其中,预设的传感器与协处理芯片需要获取的终端设备的环境参数有关。比如,若终端设备的环境参数中包括亮度,则预设的传感器包括光线传感器;若终端设备的环境参数中包括温度,则预设的传感器包括温度传感器;若终端设备的环境参数中包括是否为手握,则预设的传感器包括压力传感器、温度传感器,等等。The environmental parameters of the above-mentioned terminal equipment may be acquired through preset sensors, that is, the environmental parameters of the terminal equipment collected by the sensors are directly obtained by moving the preset sensors. The preset sensor is related to the environmental parameters of the terminal device that the co-processing chip needs to acquire. For example, if the environmental parameter of the terminal device includes brightness, the preset sensor includes a light sensor; if the environmental parameter of the terminal device includes temperature, the preset sensor includes a temperature sensor; if the environmental parameter of the terminal device includes whether the If it is held by hand, the preset sensors include pressure sensors, temperature sensors, and so on.

举例而言,当目标硬件设备是终端设备的LED灯时,协处理芯片可以根据光线传感器的输出值,确定终端设备的环境参数是否为黑暗;可以根据压力传感器的输出值与温度传感器的输出值,确定终端设备是否被手握等。当根据传感器检测到的环境参数判定“终端设备的环境参数为手握且黑暗”时,则获取到对目标硬件设备LED灯的开启请求,此处该开启请求可以理解为对第一目标待处理数据的数据处理请求。For example, when the target hardware device is the LED light of the terminal device, the co-processing chip can determine whether the environmental parameter of the terminal device is dark according to the output value of the light sensor; it can be based on the output value of the pressure sensor and the output value of the temperature sensor. , to determine whether the terminal device is held by hand, etc. When it is determined according to the environmental parameters detected by the sensor that "the environmental parameters of the terminal device are hand-held and dark", a request to turn on the LED light of the target hardware device is obtained, and the turn-on request can be understood as the first target to be processed. Data processing request for data.

在本实施例中,若协处理芯片确定终端设备的环境参数不满足目标硬件设备的预设开启条件,则可以确定未获取到针对第一目标待处理数据的数据处理请求,即无需对目标硬件设备进行开启。In this embodiment, if the co-processing chip determines that the environmental parameters of the terminal device do not meet the preset enabling conditions of the target hardware device, it can be determined that the data processing request for the data to be processed by the first target has not been obtained, that is, the target hardware does not need to be processed. The device is turned on.

其中,参照图2,协处理芯片可以包括数据信号处理器和内存、寄存器模块、GPIO接口几个模块,数字信号处理器负责计算传感器采集的数据,并且控制传感器;内存、寄存器模块负责数据存储,GPIO负责中断控制。由此,显而易见的是,协处理芯片可以根据与传感器的直接交互,对数据处理请求进行单独处理。2, the co-processing chip may include a data signal processor and several modules of a memory, a register module, and a GPIO interface. The digital signal processor is responsible for calculating the data collected by the sensor and controlling the sensor; the memory and register modules are responsible for data storage, GPIO is responsible for interrupt control. From this, it is obvious that the co-processing chip can process data processing requests individually based on the direct interaction with the sensor.

作为另一种可能的实现方式,第一目标待处理数据的数据处理请求为应用处理芯片发送的。As another possible implementation manner, the data processing request of the first target data to be processed is sent by the application processing chip.

即在本实施例中,监测应用处理芯片发送的携带第一目标待处理数据的数据处理请求,也就是说,应用处理芯片可以根据应用处理芯片的请求,分担针对第一目标待处理数据的数据处理请求,以减少应用处理芯片的运行时长,从而降低终端设备的运行功耗。That is, in this embodiment, the data processing request that carries the data to be processed of the first target sent by the application processing chip is monitored, that is, the application processing chip can share the data for the data to be processed of the first target according to the request of the application processing chip Process the request to reduce the running time of the application processing chip, thereby reducing the running power consumption of the terminal device.

继续参照图2,应用处理芯片的与协处理芯片的有关模块直接通信,从而,协处理芯片可以接收应用处理芯片的数据处理请求以及第一目标待处理数据,实现了应用处理芯片与协处理芯片的协同工作,增加了终端设备的运行稳定性。Continuing to refer to FIG. 2, the application processing chip directly communicates with the relevant modules of the co-processing chip, so that the co-processing chip can receive the data processing request of the application processing chip and the data to be processed of the first target, thereby realizing the application processing chip and the co-processing chip. The collaborative work increases the stability of the terminal equipment.

举例而言,当待处理事件为“根据WiFi传感器检测的WiFi号码对家中的电灯进行控制”时,由于终端设备的WiFi传感器检测到的WiFi号码通常记录在应用处理芯片中,因此该事件的处理首先由应用处理芯片执行,在获取到WiFi号码后,应用处理芯片可以直接将携带WiFi号码的电灯控制请求发送给协处理芯片,从而,协处理芯片执行后续的数据处理过程,降低了应用处理芯片的运行功耗。For example, when the event to be processed is "controlling the lights in the home according to the WiFi number detected by the WiFi sensor", since the WiFi number detected by the WiFi sensor of the terminal device is usually recorded in the application processing chip, the processing of this event First, it is executed by the application processing chip. After obtaining the WiFi number, the application processing chip can directly send the light control request carrying the WiFi number to the co-processing chip, so that the co-processing chip performs the subsequent data processing process, reducing the application processing chip. operating power consumption.

步骤102,当监测到数据处理请求时,根据数据处理请求获取并处理第一目标待处理数据。Step 102, when a data processing request is detected, acquire and process the first target data to be processed according to the data processing request.

在本申请实施例中,协处理芯片在获取到针对第一目标待处理数据的数据请求后,即可以根据数据处理请求获取对应的第一目标待处理数据,并对第一目标待处理数据处理。由此,将相关技术中全部依赖于应用处理芯片完成的数据,由协处理芯片分担部分,降低了应用处理芯片的工作时间,从而,降低了整个终端设备的运行功耗。In the embodiment of the present application, after obtaining the data request for the data to be processed of the first target, the co-processing chip can obtain the corresponding data to be processed of the first target according to the data processing request, and process the data to be processed of the first target . As a result, all the data in the related art that is completed by the application processing chip is shared by the co-processing chip, which reduces the working time of the application processing chip, thereby reducing the running power consumption of the entire terminal device.

需要说明的是,获取数据处理请求对应的第一目标待处理数据的方式在不同的场景下,可以有不同的实现方式,当第一目标待处理数据为目标硬件设备开启时,则该第一目标待处理数据为针对目标硬件设备的开启指令的执行数据,当第一目标待处理数据为有关关键信息时,则第一目标待处理数据为对应的关键信息的提取。It should be noted that the method of obtaining the first target data to be processed corresponding to the data processing request may have different implementations in different scenarios. When the first target data to be processed is enabled by the target hardware device, the first target The target data to be processed is the execution data of the opening instruction for the target hardware device. When the first target data to be processed is related key information, the first target data to be processed is the extraction of corresponding key information.

继续以上述实施例为例进行说明,在接收到包含WiFi号码的电灯控制请求后,可以根据获取到的WiFi号码,判断获取到的WiFi号码是否包含家庭环境的WiFi号码,并在获取到的WiFi号码包含家庭环境的WiFi号码时,控制家中的电灯开启。Continuing to illustrate by taking the above embodiment as an example, after receiving a light control request including a WiFi number, it can be determined whether the obtained WiFi number includes the WiFi number of the home environment according to the obtained WiFi number, and the obtained WiFi When the number contains the WiFi number of the home environment, control the lights in the home to turn on.

综上,本申请实施例提供的基于终端设备的数据处理方法,可以通过协处理芯片获取针对第一目标待处理数据的数据处理请求,其中,终端设备包括协处理芯片和应用处理芯片,应用处理芯片的运行功耗大于协处理芯片的运行功耗,进而当获取到所述数据处理请求时,根据数据请求获取并处理第一目标待处理数据。由此,通过功耗较低的协处理芯片处理第一目标待处理数据,降低了应用处理芯片的运行负担,从而降低了终端设备的功耗,提升了终端设备的续航性能。To sum up, the terminal device-based data processing method provided by the embodiments of the present application can obtain a data processing request for the data to be processed of the first target through a co-processing chip, wherein the terminal device includes a co-processing chip and an application processing chip, and the application processing The operating power consumption of the chip is greater than the operating power consumption of the co-processing chip, and further, when the data processing request is acquired, the data to be processed of the first target is acquired and processed according to the data request. Therefore, the data to be processed of the first target is processed by the co-processing chip with lower power consumption, which reduces the operation burden of the application processing chip, thereby reducing the power consumption of the terminal device and improving the endurance performance of the terminal device.

下面以应用处理芯片侧为例进行说明,说明如下:The following takes the application processing chip side as an example for description, and the description is as follows:

图3为本申请实施例所提供的另一种基于终端设备的数据处理方法的流程示意图。FIG. 3 is a schematic flowchart of another data processing method based on a terminal device provided by an embodiment of the present application.

如图3所示,该基于终端设备的数据处理方法,包括以下步骤:As shown in Figure 3, the terminal device-based data processing method includes the following steps:

步骤201,监测针对第二目标待处理数据的数据处理请求。Step 201: Monitor a data processing request for the data to be processed of the second target.

其中,第二目标待处理数据可以是全部由应用处理芯片处理,或者,可以将部分交由协处理芯片配合处理的待处理数据。The second target data to be processed may be entirely processed by the application processing chip, or part of the data to be processed may be handed over to the co-processing chip for cooperative processing.

在本申请实施例中,监测针对第二目标待处理数据的数据处理请求,以便于在针对第二目标待处理数据处理时,及时发现分配给协处理芯片的交接时机。In the embodiment of the present application, the data processing request for the data to be processed for the second target is monitored, so as to timely discover the handover timing allocated to the co-processing chip when the data to be processed for the second target is processed.

需要说明的是,上述监测针对第二目标待处理数据的数据处理请求的方式在不同的应用场景中,可以有不同的实现方式:It should be noted that the above method of monitoring the data processing request for the data to be processed for the second target can be implemented in different ways in different application scenarios:

作为一种可能的实现方式,当第二目标待处理数据的数据处理请求是由传感器检测到的数据触发的,则继续参照图2,应用处理芯片的传感器集提供与传感器的连接接口,实现应用处理芯片和传感器的直接通信连接。As a possible implementation manner, when the data processing request for the data to be processed of the second target is triggered by the data detected by the sensor, continue referring to FIG. 2 , the sensor set of the application processing chip provides a connection interface with the sensor to realize the application Direct communication connection between processing chip and sensor.

作为另一种可能的实现方式,当第二目标待处理数据的数据处理请求是用户触发有关应用的某些功能实现的,则可以在检测到用户触发对应应用的某些功能菜单时,获取到针对第二目标待处理数据的数据处理请求。As another possible implementation manner, when the data processing request for the data to be processed of the second target is realized by the user triggering some functions of the relevant application, it is possible to obtain the data when it is detected that the user triggers some function menus of the corresponding application. A data processing request for the data to be processed for the second target.

步骤202,当监测到数据处理请求时,获取并开始处理第二目标待处理数据。Step 202, when a data processing request is monitored, acquire and start processing the second target data to be processed.

在本申请实施例中,应用处理芯片在监测到第二目标待处理数据的数据处理请求时,则可以根据监测到的数据处理请求,获取第二目标待处理数据并对第二目标待处理数据进行处理。In the embodiment of the present application, when the application processing chip monitors the data processing request of the data to be processed of the second target, it can obtain the data to be processed of the second target according to the monitored data processing request and process the data of the second target to be processed. to be processed.

举例而言,针对上述示例中的事件“根据WiFi传感器检测的WiFi号码对家中的电灯进行控制”,可以在获取到该事件的处理请求时,首先与WiFi传感器通信获取传感器检测的WiFi号码。For example, for the event "controlling the lights in the home according to the WiFi number detected by the WiFi sensor" in the above example, when the processing request of the event is obtained, the WiFi sensor can be communicated with the WiFi sensor first to obtain the WiFi number detected by the sensor.

步骤203,在处理第二目标待处理数据时,判断当前待处理数据是否为第一目标待处理数据。Step 203, when processing the data to be processed of the second target, determine whether the data to be processed currently is the data to be processed of the first target.

步骤204,若当前待处理数据是第一目标待处理数据,则向协处理芯片发送携带第一目标待处理数据的数据处理请求,以便于协处理芯片处理第一目标待处理数据。Step 204 , if the current data to be processed is the data to be processed of the first target, a data processing request carrying the data to be processed of the first target is sent to the co-processing chip, so that the co-processing chip can process the data to be processed of the first target.

其中,当前待处理数据,是指应用处理芯片当前处理到的数据,可以理解为处理第二目标待处理数据过程中下一步需要处理的待处理数据,若该待处理数据是需要由协处理芯片处理的数据,则认为该待处理数据是第一目标待处理数据,该第二目标待处理数据可以是在处理第二目标待处理数据后所产生的中间数据等。Among them, the current data to be processed refers to the data currently processed by the application processing chip, which can be understood as the data to be processed in the next step in the process of processing the data to be processed by the second target. If the data to be processed needs to be processed by the co-processing chip If the data to be processed is the data to be processed, it is considered that the data to be processed is the data to be processed of the first target, and the data to be processed of the second target may be intermediate data generated after processing the data to be processed of the second target.

需要说明的是,在不同的应用场景中,判断当前待处理数据是否为第一目标待处理数据的方式不同,示例如下:It should be noted that, in different application scenarios, the ways of judging whether the current data to be processed is the data to be processed of the first target are different. Examples are as follows:

作为一种可能的实现方式,第二目标待处理数据中包括需要协处理芯片参与处理的第一目标待处理数据,则可以基于数据标识确定当前待处理数据是否为第一目标待处理数据。数据标识可以是预先规定的代表待处理数据需要转接至协处理芯片处理的任意编码、文字等。As a possible implementation manner, the data to be processed of the second target includes data to be processed of the first target that needs to be processed by the co-processing chip, and whether the current data to be processed is the data to be processed of the first target can be determined based on the data identifier. The data identifier can be any code, text, etc. that is predetermined and represents that the data to be processed needs to be transferred to the co-processing chip for processing.

在本实施中,获取当前待处理数据的数据标识,该数据标识用于标识当前待处理数据属于可转接到协处理芯片处理的数据,判断数据标识与第一目标待处理数据的数据标识是否匹配,若是匹配,则认为后续的待处理数据可以由协处理芯片完成。In this implementation, the data identifier of the current data to be processed is obtained, and the data identifier is used to identify that the current data to be processed belongs to the data that can be transferred to the co-processing chip for processing, and it is judged whether the data identifier and the data identifier of the first target data to be processed are not. If there is a match, it is considered that the subsequent data to be processed can be completed by the co-processing chip.

继续参考上述实施例,当获取到待处理数据对应的数据标识为根据WiFi号码控制电灯开启时,则认为当前待处理数据是第一目标待处理数据,从而,可以将在根据WiFi号码控制电灯开启的待处理数据经由协处理芯片处理,当然,待处理数据中必然包含前续在应用处理芯片获取到的WiFi号码。Continuing to refer to the above embodiment, when the data identification corresponding to the data to be processed is obtained to control the light to be turned on according to the WiFi number, it is considered that the current data to be processed is the first target data to be processed, so that the light can be controlled to be turned on according to the WiFi number. The data to be processed is processed by the co-processing chip. Of course, the data to be processed must contain the WiFi number previously obtained by the application processing chip.

作为另一种可能的实现方式,基于待处理数据的数据量来主动识别当前待处理数据是否是可以由协处理芯片来处理。As another possible implementation manner, whether the current to-be-processed data can be processed by the co-processing chip is actively identified based on the data volume of the to-be-processed data.

在本实施例中,确定当前待处理数据的数据量,判断数据量是否小于等于预设阈值,其中,当数据量小于等于预设阈值时,确定当前待处理数据是第一目标待处理数据。也就是说,在本实施例中,当待处理数据的数据量可以由协处理芯片承担时,选择功耗较小的协处理芯片来处理。In this embodiment, the data volume of the current data to be processed is determined, and it is determined whether the data volume is less than or equal to a preset threshold, wherein when the data volume is less than or equal to the preset threshold, it is determined that the current to-be-processed data is the first target to-be-processed data. That is to say, in this embodiment, when the amount of data to be processed can be borne by the co-processing chip, the co-processing chip with lower power consumption is selected for processing.

需要说明的是,实际使用时,可以根据具体应用场景及协处理芯片的数据处理能力,确定预设阈值的具体取值,本申请实施例对此不做限定。It should be noted that, in actual use, the specific value of the preset threshold may be determined according to the specific application scenario and the data processing capability of the co-processing chip, which is not limited in this embodiment of the present application.

进一步的,应用处理芯片在确定当前待处理数据为第一目标待处理数据时,则可以将携带第一目标待处理数据(即当前待处理数据)的数据处理请求发送至协处理芯片,以使协处理芯片对第一目标待处理数据进行处理。Further, when the application processing chip determines that the current data to be processed is the data to be processed of the first target, it can send a data processing request carrying the data to be processed of the first target (that is, the current data to be processed) to the co-processing chip, so that The co-processing chip processes the to-be-processed data of the first target.

在本发明的一个实施例中,为了确保应用处理芯片的功耗得到降低,在应用处理芯片将携带第一目标待处理数据的数据处理请求发送至协处理芯片之后,还可以进一步确定应用处理芯片当前的工作状态,以判断是否可以控制应用处理芯片进入睡眠模式等低功耗模式。即判断应用处理芯片是否处于空闲状态,若应用处理芯片处于空闲状态,则控制应用处理芯片进入功耗较低的睡眠模式。In an embodiment of the present invention, in order to ensure that the power consumption of the application processing chip is reduced, after the application processing chip sends the data processing request carrying the first target data to be processed to the co-processing chip, the application processing chip may be further determined. The current working state to determine whether the application processing chip can be controlled to enter a low power consumption mode such as sleep mode. That is, it is determined whether the application processing chip is in an idle state, and if the application processing chip is in an idle state, the application processing chip is controlled to enter a sleep mode with low power consumption.

比如,在应用处理芯片将携带第一目标待处理数据的数据处理请求发送至协处理芯片之后,若确定当前没有其他需要应用处理芯片处理的任务,则可以确定应用处理芯片处于空闲状态,即可以控制应用处理芯片进入低功耗模式,即可以控制应用处理芯片进入睡眠模式,以进一步降低终端设备的功耗,若确定当前有其他需要应用处理芯片处理的任务,则可以确定应用处理芯片未处于空闲状态,即可以保持应用处理芯片继续处于正常工作状态。For example, after the application processing chip sends the data processing request carrying the data to be processed of the first target to the co-processing chip, if it is determined that there are no other tasks that need to be processed by the application processing chip, it can be determined that the application processing chip is in an idle state, that is, it can be determined that the application processing chip is in an idle state. Control the application processing chip to enter the low power consumption mode, that is, you can control the application processing chip to enter the sleep mode to further reduce the power consumption of the terminal device. If it is determined that there are other tasks that the application processing chip needs to process, it can be determined that the application processing chip is not in the In an idle state, the application processing chip can be kept in a normal working state.

举例而言,若终端设备中当前正在运行某大型游戏,而当前待处理数据是由于该大型游戏的运行产生的,并且该大型游戏的运行需要应用处理芯片的支持,即使将第一目标待处理数据发送至协处理芯片,由于该大型游戏需要应用处理芯片支持,因而,可以确定应用处理芯片当前未处于空闲状态,即需要保持应用处理芯片处于正常工作模式,以避免影响终端设备的正常功能服务。For example, if a large-scale game is currently running in the terminal device, and the current data to be processed is generated by the operation of the large-scale game, and the operation of the large-scale game requires the support of the application processing chip, even if the first target is to be processed The data is sent to the co-processing chip. Since this large game requires the support of the application processing chip, it can be determined that the application processing chip is not currently in an idle state, that is, it is necessary to keep the application processing chip in the normal working mode to avoid affecting the normal function and service of the terminal device. .

综上,本申请实施例提供的基于终端设备的数据处理方法,可以监测针对第二目标待处理数据的数据处理请求,当监测到数据处理请求时,获取并开始处理第二目标待处理数据,以及在处理第二目标待处理数据时,判断当前待处理数据是否为第一目标待处理数据,若当前待处理数据是第一目标待处理数据,则向协处理芯片发送携带第一目标待处理数据的数据处理请求,以便于协处理芯片处理第一目标待处理数据。由此,通过在应用处理芯片的当前待处理数据为第一目标待处理数据时,切换至运行功耗较低的协处理芯片处理当前待处理数据,从而降低了终端设备的功耗,提升了终端设备的续航性能。To sum up, the terminal device-based data processing method provided by the embodiments of the present application can monitor the data processing request for the second target data to be processed, and when the data processing request is monitored, obtain and start processing the second target data to be processed, And when processing the data to be processed of the second target, determine whether the current data to be processed is the data to be processed of the first target, and if the data to be processed currently is the data to be processed of the first target, send the data to the co-processing chip with the data to be processed of the first target A data processing request for data, so that the co-processing chip can process the data to be processed by the first target. Therefore, when the current data to be processed of the application processing chip is the data to be processed of the first target, by switching to the co-processing chip with lower operating power consumption to process the current data to be processed, the power consumption of the terminal device is reduced and the power consumption of the terminal device is improved. Endurance performance of terminal equipment.

为了实现上述实施例,本申请还提出一种基于终端设备的数据处理装置。In order to implement the above embodiments, the present application also proposes a data processing apparatus based on a terminal device.

图4为本申请实施例提供的一种基于终端设备的数据处理装置的结构示意图,应用于协处理芯片。FIG. 4 is a schematic structural diagram of a terminal device-based data processing apparatus according to an embodiment of the present application, which is applied to a co-processing chip.

如图4所示,该基于终端设备的数据处理装置30,包括:As shown in FIG. 4 , the terminal device-baseddata processing apparatus 30 includes:

第一监测模块31,用于检测针对第一目标待处理数据的数据处理请求;The first monitoring module 31 is used to detect a data processing request for the data to be processed for the first target;

处理模块32,用于当监测到数据处理请求时,根据数据请求获取并处理第一目标待处理数据。The processing module 32 is configured to acquire and process the data to be processed of the first target according to the data request when the data processing request is monitored.

其中,终端设备包括协处理芯片和应用处理芯片,其中,应用处理芯片的运行功耗大于协处理芯片的运行功耗。The terminal device includes a co-processing chip and an application processing chip, wherein the running power consumption of the application processing chip is greater than the running power consumption of the co-processing chip.

在实际使用时,本申请实施例提供的基于终端设备的数据处理装置,可以被配置在任意终端设备中,以执行前述基于终端设备的数据处理方法。In actual use, the terminal device-based data processing apparatus provided in the embodiments of the present application may be configured in any terminal device to execute the foregoing terminal device-based data processing method.

在本申请一种可能的实现形式中,上述第一监测模块31,具体用于:In a possible implementation form of the present application, the above-mentioned first monitoring module 31 is specifically used for:

获取针对目标对象的开启请求。Get the open request for the target object.

进一步的,在本申请另一种可能的实现形式中,上述第一监测模块31,还用于:Further, in another possible implementation form of the present application, the above-mentioned first monitoring module 31 is also used for:

获取终端设备的环境参数;Obtain the environmental parameters of the terminal device;

判断环境参数是否满足针对目标硬件设备的预设开启条件;Determine whether the environmental parameters meet the preset enabling conditions for the target hardware device;

若环境参数满足预设开启条件,则获取针对第一目标待处理数据的数据处理请求。If the environment parameter satisfies the preset enabling condition, a data processing request for the data to be processed for the first target is acquired.

进一步的,在本申请再一种可能的实现形式中,上述第一监测模块31,还用于:Further, in yet another possible implementation form of the present application, the above-mentioned first monitoring module 31 is also used for:

获取预设的传感器采集的终端设备的环境参数。Obtain the environmental parameters of the terminal device collected by the preset sensor.

进一步的,在本申请又一种可能的实现形式中,上述第一监测模块31,还用于:Further, in another possible implementation form of the present application, the above-mentioned first monitoring module 31 is also used for:

获取应用处理芯片发送的携带第一目标待处理数据的数据处理请求。Acquire a data processing request that is sent by the application processing chip and carries the data to be processed of the first target.

需要说明的是,前述对基于终端设备的数据处理方法实施例的解释说明也适用于该实施例的基于终端设备的数据处理装置30,此处不再赘述。It should be noted that the foregoing explanations on the embodiment of the terminal device-based data processing method are also applicable to the terminal device-baseddata processing apparatus 30 of this embodiment, and are not repeated here.

综上,本申请实施例提供的基于终端设备的数据处理装置,可以通过协处理芯片获取针对第一目标待处理数据的数据处理请求,其中,终端设备包括协处理芯片和应用处理芯片,应用处理芯片的运行功耗大于协处理芯片的运行功耗,进而当获取到数据处理请求时,根据数据请求获取并处理第一目标待处理数据。由此,通过功耗较低的协处理芯片处理第一目标待处理数据,降低了应用处理芯片的运行负担,从而降低了终端设备的功耗,提升了终端设备的续航性能。To sum up, the terminal device-based data processing apparatus provided by the embodiments of the present application can obtain a data processing request for the data to be processed of the first target through a co-processing chip, wherein the terminal device includes a co-processing chip and an application processing chip, and the application processing The operating power consumption of the chip is greater than the operating power consumption of the co-processing chip, and further when a data processing request is acquired, the first target to-be-processed data is acquired and processed according to the data request. Therefore, the data to be processed of the first target is processed by the co-processing chip with lower power consumption, which reduces the operation burden of the application processing chip, thereby reduces the power consumption of the terminal device, and improves the endurance performance of the terminal device.

为了实现上述实施例,本申请还提出另一种基于终端设备的数据处理装置。In order to implement the above embodiments, the present application also proposes another data processing apparatus based on a terminal device.

图5为本申请实施例提供的另一种基于终端设备的数据处理装置的结构示意图,应用于应用处理芯片。FIG. 5 is a schematic structural diagram of another terminal device-based data processing apparatus provided by an embodiment of the present application, which is applied to an application processing chip.

如图5所示,该基于终端设备的数据处理装置40,包括:As shown in FIG. 5 , the terminal device-baseddata processing apparatus 40 includes:

第二监测模块41,用于监测针对第二目标待处理数据的数据处理请求;The second monitoring module 41 is configured to monitor the data processing request for the data to be processed for the second target;

获取模块42,用于当监测到数据处理请求时,获取并开始处理第二目标待处理数据;an acquisition module 42, configured to acquire and start processing the second target data to be processed when the data processing request is monitored;

第一判断模块43,用于在处理第二目标待处理数据时,判断当前待处理数据是否为第一目标待处理数据;The first judgment module 43 is used for judging whether the current data to be processed is the data to be processed of the first target when processing the data to be processed of the second target;

发送模块44,用于若当前待处理数据是第一目标待处理数据,则向协处理芯片发送携带第一目标待处理数据的数据处理请求,以便于协处理芯片处理第一目标待处理数据。The sending module 44 is configured to send a data processing request carrying the first target data to be processed to the co-processing chip if the current data to be processed is the data to be processed of the first target, so that the co-processing chip can process the data to be processed of the first target.

在实际使用时,本申请实施例提供的基于终端设备的数据处理装置,可以被配置在任意终端设备中,以执行前述基于终端设备的数据处理方法。In actual use, the terminal device-based data processing apparatus provided in the embodiments of the present application may be configured in any terminal device to execute the foregoing terminal device-based data processing method.

在本申请一种可能的实现形式中,上述第一判断模块43,具体用于:In a possible implementation form of the present application, the above-mentioned first judgment module 43 is specifically used for:

获取当前待处理数据的数据标识;Get the data identifier of the current data to be processed;

判断数据标识与第一目标待处理数据的数据标识是否匹配。Determine whether the data identifier matches the data identifier of the first target data to be processed.

进一步的,在本申请另一种可能的实现形式中,上述第一判断模块43,还用于:Further, in another possible implementation form of the present application, the above-mentioned first judgment module 43 is also used for:

确定当前待处理数据的数据量;Determine the data volume of the current data to be processed;

判断数据量是否小于等于预设阈值,其中,当数据量小于等于预设阈值时,确定当前待处理数据是第一目标待处理数据。It is determined whether the amount of data is less than or equal to a preset threshold, wherein when the amount of data is less than or equal to the preset threshold, it is determined that the current data to be processed is the first target to be processed.

进一步的,在本申请再一种可能的实现形式中,上述基于终端设备的数据处理装置40,还包括:Further, in yet another possible implementation form of the present application, the above-mentioned terminal device-baseddata processing apparatus 40 further includes:

第二判断模块,用于判断应用处理芯片是否处于空闲状态;The second judgment module is used for judging whether the application processing chip is in an idle state;

控制模块,用于若应用处理芯片处于空闲状态,则控制应用处理芯片进入低功耗模式。The control module is configured to control the application processing chip to enter a low power consumption mode if the application processing chip is in an idle state.

需要说明的是,前述对基于终端设备的数据处理方法实施例的解释说明也适用于该实施例的基于终端设备的数据处理装置40,此处不再赘述。It should be noted that, the foregoing explanation of the embodiment of the terminal device-based data processing method is also applicable to the terminal device-baseddata processing apparatus 40 of this embodiment, and details are not repeated here.

综上,本申请实施例提供的基于终端设备的数据处理装置,可以监测针对第二目标待处理数据的数据处理请求,当监测到数据处理请求时,获取并开始处理第二目标待处理数据,以及在处理第二目标待处理数据时,判断当前待处理数据是否为第一目标待处理数据,若当前待处理数据是第一目标待处理数据,则向协处理芯片发送携带第一目标待处理数据的数据处理请求,以便于协处理芯片处理第一目标待处理数据。由此,通过在应用处理芯片的当前待处理数据为第一目标待处理数据时,切换至运行功耗较低的协处理芯片处理当前待处理数据,从而降低了终端设备的功耗,提升了终端设备的续航性能。To sum up, the terminal device-based data processing apparatus provided in the embodiments of the present application can monitor the data processing request for the data to be processed of the second target, and when the data processing request is monitored, obtain and start processing the data to be processed of the second target, And when processing the data to be processed of the second target, determine whether the current data to be processed is the data to be processed of the first target, and if the data to be processed currently is the data to be processed of the first target, send the data to the co-processing chip with the data to be processed of the first target A data processing request for data, so that the co-processing chip can process the data to be processed by the first target. Therefore, when the current data to be processed of the application processing chip is the data to be processed of the first target, by switching to the co-processing chip with lower operating power consumption to process the current data to be processed, the power consumption of the terminal device is reduced and the power consumption of the terminal device is improved. Endurance performance of the terminal device.

为了实现上述实施例,本申请还提出一种终端设备。In order to implement the above embodiments, the present application also proposes a terminal device.

图6为本申请实施例提供的终端设备的结构示意图。FIG. 6 is a schematic structural diagram of a terminal device provided by an embodiment of the present application.

如图6所示,上述终端设备200包括:As shown in FIG. 6, the above-mentionedterminal device 200 includes:

存储器210及处理器220,连接不同组件(包括存储器210和处理器220)的总线230,存储器210存储有计算机程序,当处理器220执行程序时实现本申请实施例的基于终端设备的数据处理方法。Thememory 210 and theprocessor 220 are connected to thebus 230 of different components (including thememory 210 and the processor 220). Thememory 210 stores a computer program. When theprocessor 220 executes the program, the terminal device-based data processing method of the embodiment of the present application is implemented .

总线230表示几类总线结构中的一种或多种,包括存储器总线或者存储器控制器,外围总线,图形加速端口,处理器或者使用多种总线结构中的任意总线结构的局域总线。举例来说,这些体系结构包括但不限于工业标准体系结构(ISA)总线,微通道体系结构(MAC)总线,增强型ISA总线、视频电子标准协会(VESA)局域总线以及外围组件互连(PCI)总线。Bus 230 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures. By way of example, these architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect ( PCI) bus.

终端设备200典型地包括多种终端设备可读介质。这些介质可以是任何能够被终端设备200访问的可用介质,包括易失性和非易失性介质,可移动的和不可移动的介质。Terminal device 200 typically includes a variety of terminal device-readable media. These media can be any available media that can be accessed by theterminal device 200, including volatile and non-volatile media, removable and non-removable media.

存储器210还可以包括易失性存储器形式的计算机系统可读介质,例如随机存取存储器(RAM)240和/或高速缓存存储器250。终端设备200可以进一步包括其它可移动/不可移动的、易失性/非易失性计算机系统存储介质。仅作为举例,存储系统260可以用于读写不可移动的、非易失性磁介质(图6未显示,通常称为“硬盘驱动器”)。尽管图6中未示出,可以提供用于对可移动非易失性磁盘(例如“软盘”)读写的磁盘驱动器,以及对可移动非易失性光盘(例如CD-ROM,DVD-ROM或者其它光介质)读写的光盘驱动器。在这些情况下,每个驱动器可以通过一个或者多个数据介质接口与总线230相连。存储器210可以包括至少一个程序产品,该程序产品具有一组(例如至少一个)程序模块,这些程序模块被配置以执行本申请各实施例的功能。Memory 210 may also include computer system readable media in the form of volatile memory, such as random access memory (RAM) 240 and/orcache memory 250 .Terminal device 200 may further include other removable/non-removable, volatile/non-volatile computer system storage media. For example only,storage system 260 may be used to read and write to non-removable, non-volatile magnetic media (not shown in Figure 6, commonly referred to as "hard drives"). Although not shown in Figure 6, a disk drive may be provided for reading and writing to removable non-volatile magnetic disks (eg "floppy disks"), as well as removable non-volatile optical disks (eg CD-ROM, DVD-ROM) or other optical media) to read and write optical drives. In these cases, each drive may be connected tobus 230 through one or more data media interfaces. Thememory 210 may include at least one program product having a set (eg, at least one) of program modules configured to perform the functions of various embodiments of the present application.

具有一组(至少一个)程序模块270的程序/实用工具280,可以存储在例如存储器210中,这样的程序模块270包括——但不限于——操作系统、一个或者多个应用程序、其它程序模块以及程序数据,这些示例中的每一个或某种组合中可能包括网络环境的实现。程序模块270通常执行本申请所描述的实施例中的功能和/或方法。A program/utility 280 having a set (at least one) ofprogram modules 270, which may be stored, for example, inmemory 210,such program modules 270 including, but not limited to, an operating system, one or more application programs, other programs Modules and program data, each or some combination of these examples may include an implementation of a network environment.Program modules 270 generally perform the functions and/or methods of the embodiments described herein.

终端设备200也可以与一个或多个外部设备290(例如键盘、指向设备、显示器291等)通信,还可与一个或者多个使得用户能与该终端设备200交互的设备通信,和/或与使得该终端设备200能与一个或多个其它计算设备进行通信的任何设备(例如网卡,调制解调器等等)通信。这种通信可以通过输入/输出(I/O)接口292进行。并且,终端设备200还可以通过网络适配器293与一个或者多个网络(例如局域网(LAN),广域网(WAN)和/或公共网络,例如因特网)通信。如图所示,网络适配器293通过总线230与终端设备200的其它模块通信。应当明白,尽管图中未示出,可以结合终端设备200使用其它硬件和/或软件模块,包括但不限于:微代码、设备驱动器、冗余处理单元、外部磁盘驱动阵列、RAID系统、磁带驱动器以及数据备份存储系统等。Terminal device 200 may also communicate with one or more external devices 290 (eg, keyboards, pointing devices,display 291, etc.), may also communicate with one or more devices that enable a user to interact with theterminal device 200, and/or communicate with Any device (eg, network card, modem, etc.) that enables theterminal device 200 to communicate with one or more other computing devices. Such communication may take place through input/output (I/O)interface 292 . Also, theterminal device 200 may communicate with one or more networks (eg, a local area network (LAN), a wide area network (WAN), and/or a public network such as the Internet) through anetwork adapter 293 . As shown,network adapter 293 communicates with other modules ofend device 200 viabus 230 . It should be understood that, although not shown, other hardware and/or software modules may be used in conjunction withend device 200, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives and data backup storage systems.

处理器220通过运行存储在存储器210中的程序,从而执行各种功能应用以及数据处理。Theprocessor 220 executes various functional applications and data processing by executing programs stored in thememory 210 .

需要说明的是,本实施例的终端设备的实施过程和技术原理参见前述对本申请实施例的基于终端设备的数据处理方法的解释说明,此处不再赘述。It should be noted that, for the implementation process and technical principle of the terminal device in this embodiment, reference may be made to the foregoing explanation of the terminal device-based data processing method in this embodiment of the present application, and details are not repeated here.

本申请实施例提供的终端设备,可以执行如前所述的基于终端设备的数据处理方法,通过协处理芯片获取针对第一目标待处理数据的数据处理请求,其中,终端设备包括协处理芯片和应用处理芯片,应用处理芯片的运行功耗大于协处理芯片的运行功耗,进而当获取到所述数据处理请求时,根据数据请求获取并处理第一目标待处理数据。由此,通过功耗较低的协处理芯片处理第一目标待处理数据,降低了应用处理芯片的运行负担,从而降低了终端设备的功耗,提升了终端设备的续航性能。The terminal device provided by the embodiment of the present application can execute the aforementioned data processing method based on the terminal device, and obtain a data processing request for the data to be processed of the first target through a co-processing chip, wherein the terminal device includes a co-processing chip and An application processing chip, the operating power consumption of the application processing chip is greater than the operating power consumption of the co-processing chip, and further, when the data processing request is acquired, the first target to-be-processed data is acquired and processed according to the data request. Therefore, the data to be processed of the first target is processed by the co-processing chip with lower power consumption, which reduces the operation burden of the application processing chip, thereby reducing the power consumption of the terminal device and improving the endurance performance of the terminal device.

为了实现上述实施例,本申请还提出一种非临时性计算机可读存储介质。In order to implement the above embodiments, the present application also proposes a non-transitory computer-readable storage medium.

其中,该非临时性计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时,以实现本申请实施例所述的基于终端设备的数据处理方法。The non-transitory computer-readable storage medium stores a computer program thereon, and when the program is executed by the processor, implements the terminal device-based data processing method described in the embodiments of the present application.

一种可选实现形式中,本实施例可以采用一个或多个计算机可读的介质的任意组合。计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子(非穷举的列表)包括:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本文件中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。In an optional implementation form, this embodiment may adopt any combination of one or more computer-readable media. The computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples (a non-exhaustive list) of computer readable storage media include: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), Erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing. In this document, a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括——但不限于——电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。A computer-readable signal medium may include a propagated data signal in baseband or as part of a carrier wave, with computer-readable program code embodied thereon. Such propagated data signals may take a variety of forms including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .

计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括——但不限于——无线、电线、光缆、RF等等,或者上述的任意合适的组合。Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

可以以一种或多种程序设计语言或其组合来编写用于执行本发明操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户终端设备上执行、部分地在用户终端设备上执行、作为一个独立的软件包执行、部分在用户终端设备上部分在远程终端设备上执行、或者完全在远程终端设备或服务器上执行。在涉及远程终端设备的情形中,远程终端设备可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户终端设备,或者,可以连接到外部终端设备(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out operations of the present invention may be written in one or more programming languages, including object-oriented programming languages—such as Java, Smalltalk, C++, but also conventional Procedural programming language - such as the "C" language or similar programming language. The program code may execute entirely on the user terminal device, partly on the user terminal device, as a stand-alone software package, partly on the user terminal device and partly on the remote terminal device, or entirely on the remote terminal device or execute on the server. In the case of remote terminal equipment, the remote terminal equipment may be connected to the user terminal equipment through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to external terminal equipment (eg, using Internet services provider to connect via the Internet).

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

应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求来限制。It is to be understood that the present application is not limited to the precise structures described above and illustrated in the accompanying drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (13)

CN201910842361.3A2019-09-062019-09-06Data processing method and device based on terminal equipment and terminal equipmentActiveCN110647235B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201910842361.3ACN110647235B (en)2019-09-062019-09-06Data processing method and device based on terminal equipment and terminal equipment

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201910842361.3ACN110647235B (en)2019-09-062019-09-06Data processing method and device based on terminal equipment and terminal equipment

Publications (2)

Publication NumberPublication Date
CN110647235Atrue CN110647235A (en)2020-01-03
CN110647235B CN110647235B (en)2022-07-08

Family

ID=68991667

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201910842361.3AActiveCN110647235B (en)2019-09-062019-09-06Data processing method and device based on terminal equipment and terminal equipment

Country Status (1)

CountryLink
CN (1)CN110647235B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN116017168A (en)*2022-12-272023-04-25苏州视印智能系统有限公司Machine vision system with synchronous exposure and illumination and control method thereof

Citations (17)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2002041191A (en)*2000-07-262002-02-08Canon Inc Data processing terminal
CN102495756A (en)*2011-11-072012-06-13北京中星微电子有限公司Method and system for switching operating system between different central processing units
CN103646006A (en)*2013-11-262014-03-19乐视致新电子科技(天津)有限公司Scheduling method, device and system for processor
EP2861812A1 (en)*2012-06-152015-04-22Spinnaker International LimitedApparatus for transporting or storing valuable items
US20160049106A1 (en)*2014-08-152016-02-18Google Technology Holdings LLCDisplaying always on display-related content
CN105759935A (en)*2016-01-292016-07-13华为技术有限公司Terminal control method and terminal
CN105786148A (en)*2014-12-192016-07-20中兴通讯股份有限公司Method and device for controlling power consumption of terminal, and terminal
CN106406494A (en)*2016-08-292017-02-15深圳市金立通信设备有限公司Method for scheduling processor and terminal
US20180088961A1 (en)*2016-09-232018-03-29Apple Inc.Booting and Power Management
CN108052272A (en)*2012-10-302018-05-18谷歌技术控股有限责任公司The electronic equipment of Notification Method is shown with enhancing
CN108108007A (en)*2017-12-212018-06-01维沃移动通信有限公司A kind of processing method and mobile terminal for reducing power consumption
CN108200635A (en)*2017-11-292018-06-22维沃移动通信有限公司The progress control method and mobile terminal of a kind of application program
CN108234749A (en)*2017-11-302018-06-29努比亚技术有限公司Application affairs processing method, terminal and computer readable storage medium
CN208314214U (en)*2018-06-042019-01-01上海悦骑智能科技有限公司Low-power consumption Internet of Things positioning device
CN109298772A (en)*2017-07-242019-02-01中兴通讯股份有限公司Electricity-saving control method, device and mobile terminal and computer readable storage medium
CN109298775A (en)*2018-08-172019-02-01珠海格力电器股份有限公司Terminal device and task processing method
WO2019071615A1 (en)*2017-10-132019-04-18华为技术有限公司Method for reducing power consumption of terminal, and terminal

Patent Citations (17)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
JP2002041191A (en)*2000-07-262002-02-08Canon Inc Data processing terminal
CN102495756A (en)*2011-11-072012-06-13北京中星微电子有限公司Method and system for switching operating system between different central processing units
EP2861812A1 (en)*2012-06-152015-04-22Spinnaker International LimitedApparatus for transporting or storing valuable items
CN108052272A (en)*2012-10-302018-05-18谷歌技术控股有限责任公司The electronic equipment of Notification Method is shown with enhancing
CN103646006A (en)*2013-11-262014-03-19乐视致新电子科技(天津)有限公司Scheduling method, device and system for processor
US20160049106A1 (en)*2014-08-152016-02-18Google Technology Holdings LLCDisplaying always on display-related content
CN105786148A (en)*2014-12-192016-07-20中兴通讯股份有限公司Method and device for controlling power consumption of terminal, and terminal
CN105759935A (en)*2016-01-292016-07-13华为技术有限公司Terminal control method and terminal
CN106406494A (en)*2016-08-292017-02-15深圳市金立通信设备有限公司Method for scheduling processor and terminal
US20180088961A1 (en)*2016-09-232018-03-29Apple Inc.Booting and Power Management
CN109298772A (en)*2017-07-242019-02-01中兴通讯股份有限公司Electricity-saving control method, device and mobile terminal and computer readable storage medium
WO2019071615A1 (en)*2017-10-132019-04-18华为技术有限公司Method for reducing power consumption of terminal, and terminal
CN108200635A (en)*2017-11-292018-06-22维沃移动通信有限公司The progress control method and mobile terminal of a kind of application program
CN108234749A (en)*2017-11-302018-06-29努比亚技术有限公司Application affairs processing method, terminal and computer readable storage medium
CN108108007A (en)*2017-12-212018-06-01维沃移动通信有限公司A kind of processing method and mobile terminal for reducing power consumption
CN208314214U (en)*2018-06-042019-01-01上海悦骑智能科技有限公司Low-power consumption Internet of Things positioning device
CN109298775A (en)*2018-08-172019-02-01珠海格力电器股份有限公司Terminal device and task processing method

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
ANTONIO DE LA PIEDRA: "Leveraging the DSP48E1 block in lightweight cryptographic implementations", 《2013 IEEE 15TH INTERNATIONAL CONFERENCE ON E-HEALTH NETWORKING, APPLICATIONS AND SERVICES (HEALTHCOM 2013)》*
新品发布: "集成电路", 《新品发布》*

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN116017168A (en)*2022-12-272023-04-25苏州视印智能系统有限公司Machine vision system with synchronous exposure and illumination and control method thereof

Also Published As

Publication numberPublication date
CN110647235B (en)2022-07-08

Similar Documents

PublicationPublication DateTitle
WO2020078314A1 (en)Method and apparatus for accelerating cold-starting of application, and terminal
CN109992438A (en) Information processing method, apparatus, computer device, and computer-readable storage medium
CN108541013B (en) Information processing method, device, mobile terminal, and computer-readable storage medium
CN107544842A (en) Application program processing method and device, computer equipment, storage medium
CN107368400A (en) CPU monitoring method, device, computer readable storage medium and mobile terminal
CN107590057B (en)Screen freezing monitoring and solving method, mobile terminal and computer readable storage medium
CN107545067B (en)Log information reporting method and device, storage medium, ADSP and terminal
CN107577508B (en) Application processing method, device, readable storage medium and mobile terminal
CN110032266B (en) Information processing method, apparatus, computer device, and computer-readable storage medium
CN110413497B (en) Abnormal monitoring method, device, terminal equipment and computer-readable storage medium
CN106775685B (en) Wake lock release method and device, and mobile terminal
CN110032267A (en)Information processing method, device, mobile terminal and computer readable storage medium
CN109992376B (en) Application freezing method, device, terminal and computer-readable storage medium
CN107609120B (en)Log information reporting method and device, storage medium, ADSP and terminal
US9778724B2 (en)Power-saving computer system with a watchdog computer and method for controlling power saving of computer system with a watchdog computer
CN110018905B (en) Information processing method, device, computer device, and computer-readable storage medium
CN108647047A (en)A kind of awakening method and system based on mobile terminal
CN110032429A (en)Information processing method, device, mobile terminal and computer readable storage medium
CN111078523A (en)Log obtaining method and device, storage medium and electronic equipment
CN109992397A (en)Process processing method and device, electronic equipment and computer readable storage medium
CN109992323B (en)Process processing method and device, electronic equipment and computer readable storage medium
WO2019128573A1 (en)Information processing method, apparatus, computer device and computer-readable storage medium
CN110647235B (en)Data processing method and device based on terminal equipment and terminal equipment
CN109992369A (en) Application processing method and apparatus, electronic device, and computer-readable storage medium
CN107562602B (en)Log information reporting method and device, storage medium, ADSP and terminal

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
TR01Transfer of patent right
TR01Transfer of patent right

Effective date of registration:20240426

Address after:Room A039, Room 801, No. 190 Kaitai Avenue, Huangpu District, Guangzhou City, Guangdong Province, 510700

Patentee after:Guangzhou Xinguang Enterprise Management Consulting Co.,Ltd.

Country or region after:China

Address before:Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before:GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Country or region before:China

TR01Transfer of patent right
TR01Transfer of patent right

Effective date of registration:20241107

Address after:Room 3803, Unit 1, Building 9, Huanyu Huijin Center, No. 428, Nancheng Section, Dongguan Avenue, Nancheng Street, Dongguan City, Guangdong Province 523000

Patentee after:Huawei Software Technology (Guangdong) Co.,Ltd.

Country or region after:China

Address before:Room A039, Room 801, No. 190 Kaitai Avenue, Huangpu District, Guangzhou City, Guangdong Province, 510700

Patentee before:Guangzhou Xinguang Enterprise Management Consulting Co.,Ltd.

Country or region before:China


[8]ページ先頭

©2009-2025 Movatter.jp