CN114115732A - Data processing method, device and system - Google Patents

Data processing method, device and system Download PDF

Info

Publication number
CN114115732A
CN114115732A CN202111328477.9A CN202111328477A CN114115732A CN 114115732 A CN114115732 A CN 114115732A CN 202111328477 A CN202111328477 A CN 202111328477A CN 114115732 A CN114115732 A CN 114115732A
Authority
CN
China
Prior art keywords
data
storage module
processed
equipment
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111328477.9A
Other languages
Chinese (zh)
Inventor
张艳苹
伍洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202111328477.9A priority Critical patent/CN114115732A/en
Publication of CN114115732A publication Critical patent/CN114115732A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0638Organizing or formatting or addressing of data
    • G06F3/064Management of blocks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/061Improving I/O performance
    • G06F3/0611Improving I/O performance in relation to response time

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Storage Device Security (AREA)

Abstract

The embodiment of the application provides a data processing method, a device and a system, comprising the following steps: the data processing method comprises the steps of firstly receiving data to be processed, including a plurality of data units, sent by data request equipment in the same data request, wherein the data request equipment is provided with a first storage module and a second storage module, then calling processing parameters corresponding to the data units to process the data units one by one, writing the processed data units into the first storage module for storage when one data unit is processed, and updating write-in information corresponding to the processed data units in the second storage module so that the data request equipment can acquire the processed data units according to the write-in information. The data request equipment can directly acquire the processed data unit through the write-in information in the second storage module, and the process does not need to wait for interface return or copy process, so that the time consumed by data processing is shortened, and the condition of time consumption of current data processing is relieved.

Description

Data processing method, device and system
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a data processing method, apparatus, and system.
Background
With the development of science and technology, data processing technology is widely applied in many fields.
In the data interaction process between a TEE (Trusted Execution Environment) system and an REE (Rich Execution Environment) system, the REE system needs to acquire data (scrambling data) through a server firstly, then sends the data to the TEE system through a TEE interface, the TEE system then descrambles the received data of each part in sequence, after all the data are descrambled, the TEE interface returns the acquired descrambled data to the REE system, and the REE system copies the received descrambled data to a storage area of a decoder by using the decoder interface to decode so as to acquire the decoded data.
In addition, the decoder interface needs to copy the received descrambled data to a storage area of the decoder for decoding, so that the situation of long time consumption of data processing is further aggravated.
Disclosure of Invention
The embodiment of the application provides a data processing method, device and system, which can relieve the condition of long time consumption of current data processing.
An embodiment of the present application provides a data processing method, which is applicable to a data response device, and includes:
receiving data to be processed sent by data request equipment in the same data request, wherein the data to be processed comprises a plurality of data units, and the data request equipment is provided with a first storage module and a second storage module;
calling processing parameters corresponding to the data units to process the data units one by one;
and when one data unit is processed, writing the processed data unit into the first storage module for storage, and updating write-in information corresponding to the processed data unit in the second storage module, so that the data request equipment acquires the processed data unit according to the write-in information.
Before the step of receiving the data to be processed sent by the data request device in the same data request, the method further includes:
receiving a data processing request sent by the data request equipment;
sending a data processing instruction to the data request equipment according to the data processing request;
and receiving the data to be processed sent by the data request equipment according to the data processing instruction.
The data unit includes scrambled data, and the invoking of the processing parameter corresponding to each data unit to process the data units one by one includes:
and calling a processing parameter corresponding to each scrambled data to descramble the scrambled data one by one.
When one of the data units is processed, writing the processed data unit into the first storage module for storage, and updating write-in information corresponding to the data unit in the second storage module, so that the data request device obtains the processed data unit according to the write-in information, including:
when one scrambled data finishes descrambling processing, descrambling data is obtained;
and writing the descrambling data into the first storage module for storage, and updating the writing information corresponding to the descrambling data in the second storage module, so that the data request equipment acquires the processed descrambling data according to the writing information.
The writing information includes a writing address of the data unit in the first storage module and an offset value of the writing address, the writing the descrambling data in the first storage module for storage, and updating the writing information corresponding to the descrambling data in the second storage module, so that the data request device obtains the processed descrambling data according to the writing information, including:
and writing the descrambling data into the first storage module for storage, and updating the write address of the descrambling data stored in the second storage module in the first storage module and the offset value of the write address so that the data request equipment acquires the descrambling data according to the write address and the offset value of the write address.
The embodiment of the present application further provides another data processing method, which is applicable to a data request device, and includes:
configuring a first storage module and a second storage module, and registering the second storage module in data response equipment;
sending data to be processed to the data response equipment in the same data request, wherein the data to be processed comprises a plurality of data units;
inquiring the written information in the second storage module, and acquiring the processed data unit which is written in the first storage module by the data response equipment and corresponds to the written information according to the written information;
and decoding the processed data unit to obtain a decoded data unit.
The configuring a first storage module and a second storage module and registering the second storage module in a data response device includes:
configuring a first storage module and a second storage module, and performing virtual address mapping on a physical address of the second storage module in a data response device, so that the second storage module is registered in the data response device.
The embodiment of the present application further provides another data processing method, which is applied to a data processing system, where the data processing system includes a data request device and a data response device, and the data processing method includes:
the data request equipment configures a first storage module and a second storage module, and registers the second storage module in the data response equipment;
the data request equipment sends data to be processed to the data response equipment in the same data request, wherein the data to be processed comprises a plurality of data units;
the data response equipment receives the data to be processed and calls processing parameters corresponding to the data units to process the data units one by one;
when one data unit is processed, the data response equipment writes the processed data unit into the first storage module for storage, and updates the write-in information corresponding to the processed data unit in the second storage module;
the data request equipment inquires the written information in the second storage module and acquires the processed data unit which is written in the first storage module by the data response equipment and corresponds to the written information according to the written information;
and the data request equipment decodes the processed data unit to obtain a decoded data unit.
An embodiment of the present application further provides a data processing apparatus, which is adapted to a data response device, and includes:
the data processing device comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving to-be-processed data sent by data request equipment in the same data request, the to-be-processed data comprises a plurality of data units, and the data request equipment is provided with a first storage module and a second storage module;
the processing module is used for calling the processing parameters corresponding to the data units so as to process the data units one by one;
and the writing module is used for writing the processed data unit into the first storage module for storage when the processing of one data unit is finished, and updating the writing information corresponding to the processed data unit in the second storage module so that the data request equipment acquires the processed data unit according to the writing information.
An embodiment of the present application further provides another data processing apparatus, which is adapted to a data request device, and includes:
the configuration module is used for configuring the first storage module and the second storage module and registering the second storage module in the data response equipment;
the sending module is used for sending data to be processed to the data response equipment in the same data request, and the data to be processed comprises a plurality of data units;
the query module is used for querying the written information in the second storage module and acquiring the processed data unit which is written in the first storage module by the data response equipment and corresponds to the written information according to the written information;
and the decoding module is used for decoding the processed data unit to obtain a decoded data unit.
An embodiment of the present application further provides a data processing system, where the data processing system includes a data request device and a data response device, and the data processing system is configured to:
the data request equipment configures a first storage module and a second storage module, and registers the second storage module in the data response equipment;
the data request equipment sends data to be processed to the data response equipment in the same data request, wherein the data to be processed comprises a plurality of data units;
the data response equipment receives the data to be processed and calls processing parameters corresponding to the data units to process the data units one by one;
when one data unit is processed, the data response equipment writes the processed data unit into the first storage module for storage, and updates the write-in information corresponding to the processed data unit in the second storage module;
the data request equipment inquires the written information in the second storage module and acquires the processed data unit which is written in the first storage module by the data response equipment and corresponds to the written information according to the written information;
and the data request equipment decodes the processed data unit to obtain a decoded data unit.
The embodiment of the application provides a data processing method, a device and a system, firstly, to-be-processed data sent by a data request device in the same data request is received, the to-be-processed data comprises a plurality of data units, the data request device is provided with a first storage module and a second storage module, then processing parameters corresponding to the data units are called to process the data units one by one, when one data unit is processed, the processed data unit is written into the first storage module to be stored, and written information corresponding to the processed data unit in the second storage module is updated, so that the data request device can obtain the processed data unit according to the written information. The data request equipment can directly acquire the processed data unit through the write-in information in the second storage module, and the process does not need to wait for interface return or copy process, so that the time consumed by data processing is shortened, and the condition of time consumption of current data processing is relieved.
Drawings
The technical solution and other advantages of the present application will become apparent from the detailed description of the embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a schematic flow chart of a data processing method according to an embodiment of the present application.
Fig. 2 is another schematic flow chart of the data processing method according to the embodiment of the present application.
Fig. 3 is a schematic flowchart of a data processing method according to an embodiment of the present application.
Fig. 4 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application.
Fig. 5 is another schematic structural diagram of a data processing apparatus according to an embodiment of the present application.
FIG. 6 is a diagram of a prior art data processing system according to an embodiment of the present application.
Fig. 7 is a schematic diagram of a data processing system according to an embodiment of the present application.
Fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Fig. 9 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The embodiment of the application provides a data processing method, device and system.
As shown in fig. 1, fig. 1 is a schematic flow chart of a data processing method provided in the embodiment of the present application, and a specific flow may be as follows:
s101, receiving to-be-processed data sent by data request equipment in the same data request, wherein the to-be-processed data comprises a plurality of data units, and the data request equipment is provided with a first storage module and a second storage module.
The data request device is a device (e.g., an REE device) in a data request environment, and is configured to perform data processing with a data response device (e.g., a device in a data response environment, e.g., a TEE device), where the to-be-processed data includes a plurality of data units (e.g., data units processed in a scrambling or encryption manner) that cannot be directly read by the data request device, the processing manner of the to-be-processed data includes descrambling, and the first storage module and the second storage module are buffer areas for writing/reading data. In an actual application process, the data request device needs to send a to-be-processed data acquisition request to the server, the server receives the to-be-processed data acquisition request and then sends the to-be-processed data to the data request device, and the data request device sends the to-be-processed data to the data response device.
In the embodiment of the application, the REE device is a data request device, the TEE device is a data response device, and the data to be processed is a plurality of scrambled audio/video data. The REE equipment sends a data acquisition request to the server, after the server receives the data acquisition request, the scrambled audio and video data are sent to the REE equipment, and because the REE equipment can only read the descrambled audio and video data and the descrambling key is stored in the TEE equipment, the REE equipment sends the scrambled audio and video data to the TEE equipment for corresponding processing in the same data request.
Further, before the step S101, the method further includes:
receiving a data processing request sent by data request equipment;
sending a data processing instruction to data request equipment according to the data processing request;
and receiving at least one piece of data to be processed sent by the data request equipment according to the data processing instruction.
The data processing request and the data processing instruction are messages or signaling used for transmitting information. In this embodiment, after acquiring a plurality of scrambled audio and video data from the server, the REE device first sends a data processing request to the TEE device to request the TEE device to receive the scrambled audio and video data, and after acquiring the data processing request, the TEE system returns a data processing instruction to the REE device to indicate that the TEE system currently has a condition for receiving the scrambled audio and video data, and then the REE device can send the scrambled audio and video data to the TEE device at one time.
And S102, calling processing parameters corresponding to the data units to process the data units one by one.
Wherein, the processing mode comprises descrambling processing. In this embodiment, after the TEE device receives a plurality of scrambled audio/video data, a processing parameter corresponding to each scrambled audio/video data is called to descramble the plurality of scrambled audio/video data one by one, so as to obtain the descrambled audio/video data one by one.
And S103, when one data unit is processed, writing the processed data unit into the first storage module for storage, and updating the write-in information corresponding to the processed data unit in the second storage module, so that the data request equipment acquires the processed data unit according to the write-in information.
The storage information comprises a writing position address of the processed data unit in the first storage module and an offset value of the writing position address.
In this embodiment, each time a scrambled audio/video data is descrambled, a descrambled audio/video data is obtained, the TEE system writes the descrambled audio/video data into the first storage module for storage, and updates the write address of the descrambled audio/video data stored in the second storage module in the first storage module and the offset value of the write address, so that the REE system obtains the descrambled audio/video data according to the write address and the offset value of the write address.
As shown in fig. 2, fig. 2 is another schematic flow chart of the data processing method provided in the embodiment of the present application, and the specific flow may be as follows:
s201, configuring a first storage module and a second storage module, and registering the second storage module in the data response equipment.
The data response equipment acquires the write/read permission of the second storage module by registering the second storage module in the data response equipment.
In this embodiment, the REE device configures the first storage module and the second storage module in advance, and performs virtual address mapping on a physical address of the second storage module in the TEE device, so that the second storage module is registered in the TEE device.
S202, sending data to be processed to the data response equipment in the same data request, wherein the data to be processed comprises a plurality of data units.
The data response equipment is used for receiving the data units to be processed, and sending the data units to be processed to the data request equipment.
In this embodiment, since the REE device can only read the descrambled audio/video data and the descrambling key is stored in the TEE device, the REE device sends a plurality of scrambled audio/video data to the TEE device in the same data request for descrambling.
S203, inquiring the written information in the second storage module, and acquiring the processed data unit which is written in the first storage module by the data response device and corresponds to the written information according to the written information.
After the data request equipment sends the data unit to the data response equipment, the data request equipment can inquire the write-in information in the second storage module in a mode of creating a read thread, and acquire the corresponding data unit processed by the data response equipment according to the write-in information. Optionally, the write information includes a write address of the data unit in the first storage module and an offset value of the write address.
In this embodiment, the REE device reads the write-in location address of the descrambled audio/video data stored in the second storage module and the offset value of the write-in location address of the descrambled audio/video data in a manner of creating a read thread, and performs calculation according to the write-in location address and the offset value of the write-in location to obtain the descrambled audio/video data.
And S204, decoding the processed data unit to obtain a decoded data unit.
And after the data request equipment acquires a processed data unit, decoding the processed data unit by the decoding device to obtain a decoded data unit.
In this embodiment, after the REE device obtains one piece of descrambled audio/video data, the decoding device reads the descrambled audio/video data and decodes the descrambled audio/video data, so that the REE device obtains one piece of decoded audio/video data, and at this time, the REE device can smoothly play the audio/video.
As shown in fig. 3, fig. 3 is another schematic flow chart of the data processing method provided in the embodiment of the present application, and the specific flow may be as follows:
s301, the data request device configures a first storage module and a second storage module, and registers the second storage module in the data response device.
For example, the REE device configures a first storage module and a second storage module in advance, and performs virtual address mapping on a physical address of the second storage module in the TEE device, so that the second storage module is registered in the TEE device.
S302, the data request device sends data to be processed to the data response device in the same data request, wherein the data to be processed comprises a plurality of data units.
For example, the REE device sends a plurality of scrambled audio and video data to the TEE device for descrambling in the same data request.
And S303, the data response equipment receives the data to be processed and calls the processing parameters corresponding to the data units to process the data units one by one.
For example, the TEE device invokes a processing parameter corresponding to each scrambled audio/video data to descramble the plurality of scrambled audio/video data one by one.
S304, when one data unit is processed, the data response device writes the processed data unit into the first storage module for storage, and updates the write-in information corresponding to the processed data unit in the second storage module.
For example, after descrambling a scrambled audio/video data, a TEE device obtains a descrambled audio/video data, and the TEE system writes the descrambled audio/video data into the first storage module for storage, and updates the write address of the descrambled audio/video data stored in the second storage module in the first storage module and the offset value of the write address.
S305, the data request equipment inquires the written information in the second storage module and obtains the processed data unit which is written in the first storage module by the data response equipment and corresponds to the written information according to the written information.
For example, the REE device reads the write-in location address of the descrambled audio/video data stored in the second storage module and the offset value of the write-in location address of the descrambled audio/video data in a manner of creating a read thread, and performs calculation according to the write-in location address and the offset value of the write-in location to obtain the descrambled audio/video data.
S306, the data request equipment decodes the processed data unit to obtain a decoded data unit.
For example, a decoding device in the REE device reads the descrambled audio/video data and decodes the descrambled audio/video data, so that the REE device obtains one decoded audio/video data.
It can be seen from the above description that, in the data processing method provided in the present application, to-be-processed data sent by a data request device in the same data request is received, where the to-be-processed data includes a plurality of data units, the data request device is provided with a first storage module and a second storage module, then processing parameters corresponding to the data units are called to process the data units one by one, and when processing of one data unit is completed, the processed data unit is written into the first storage module for storage, and write-in information corresponding to the processed data unit in the second storage module is updated, so that the data request device obtains the processed data unit according to the write-in information. The data request equipment can directly acquire the processed data unit through the write-in information in the second storage module, and the process does not need to wait for interface return or copy process, so that the time consumed by data processing is shortened, and the condition of time consumption of current data processing is relieved.
The present embodiment will be further described from the perspective of the data processing apparatus according to the method described in the above embodiment.
Referring to fig. 4, fig. 4 specifically describes a data processing apparatus provided in an embodiment of the present application, where the data processing apparatus may include: a receiving module 10, a processing module 20 and a writing module 30, wherein:
(1) receiving module 10
The receiving module 10 is configured to receive to-be-processed data sent by a data requesting device in the same data request, where the to-be-processed data includes a plurality of data units, and the data requesting device is provided with a first storage module and a second storage module.
(2) Processing module 20
The processing module 20 is configured to invoke a processing parameter corresponding to each data unit, so as to process the plurality of data units one by one.
(3) Write module 30
And the writing module 30 is configured to, when processing of one data unit is completed, write the processed data unit into the first storage module for storage, and update the writing information corresponding to the processed data unit in the second storage module, so that the data request device obtains the processed data unit according to the writing information.
As can be seen from the above description, in the data processing apparatus provided in the present application, first, the receiving module 10 receives to-be-processed data sent by a data requesting device in the same data request, where the to-be-processed data includes a plurality of data units, the data requesting device is provided with a first storage module and a second storage module, then the processing module 20 calls processing parameters corresponding to the data units to process the data units one by one, and when one data unit is processed, the writing module 30 writes the processed data unit into the first storage module for storage, and updates writing information corresponding to the processed data unit in the second storage module, so that the data requesting device obtains the processed data unit according to the writing information. The data request equipment can directly acquire the processed data unit through the write-in information in the second storage module, and the process does not need to wait for interface return or copy process, so that the time consumed by data processing is shortened, and the condition of time consumption of current data processing is relieved.
Fig. 5 is another schematic structural diagram of a data processing apparatus according to an embodiment of the present application, where the data processing apparatus may include: a configuration module 40, a sending module 50, a query module 60 and a decoding module 70, wherein:
(1) configuration module 40
And the configuration module is used for configuring the first storage module and the second storage module and registering the second storage module in the data response equipment.
(2) Transmission module 50
A sending module 50, configured to send to-be-processed data to the data response device in the same data request, where the to-be-processed data includes multiple data units.
(3) Query module 60
And the query module 60 is configured to query the written information in the second storage module, and obtain, according to the written information, a processed data unit corresponding to the written information, which is written in the first storage module by the data response device.
(4) Decoding module 70
And a decoding module 70, configured to perform decoding processing on the processed data unit to obtain a decoded data unit.
As can be seen from the above, in the data processing apparatus provided in the present application, first, the configuration module 40 configures the first storage module and the second storage module, and registers the second storage module in the data response device, then the sending module 50 sends the data to be processed (including a plurality of data units) to the data response device in the same data request, then the querying module 60 queries the written information in the second storage module, obtains the processed data unit corresponding to the written information, written in the first storage module by the data response device according to the written information, and finally, the decoding module 70 decodes the processed data unit to obtain the decoded data unit. The processed data unit can be directly obtained by inquiring the written information in the second storage module, and the processed data unit is directly decoded, so that the process does not need to wait for interface return and copy process, thereby shortening the time consumed by data processing and relieving the condition of time consumption of current data processing.
In a specific implementation, the above units may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and the specific implementation of the above units may refer to the foregoing method embodiments, which are not described herein again.
Correspondingly, the embodiment of the invention also provides a data processing system which comprises the data request equipment and the data response equipment provided by the embodiment of the invention.
Fig. 6 is a schematic diagram of a data processing system in the prior art according to an embodiment of the present application, as shown in fig. 6. In the prior art, the REE device 2001 needs to perform step S61: sending the scrambled audio and video data to the TEE device 2002 through the TEE interface, and executing, by the TEE device 2002, the step S62: descrambling processing is carried out on the scrambled audio and video data in sequence to obtain descrambled audio and video data, and after all the scrambled audio and video data are descrambled, the step S63 is executed: all descrambled audio/video data are sent to the REE device 2001 through the TEE interface, and after the REE device 2001 receives all descrambled audio/video data, the step S64 is executed: and copying the descrambled audio/video data to a storage area of a decoder through a decoder interface for decoding to obtain decoded audio/video data.
In the existing data processing process, because the TEE interface is a thread blocking access interface, the TEE interface needs to wait for all parts of data to be descrambled and then return to the REE device once again, which results in long time consumption for data processing, and thus, the TEE interface needs to wait for a long time when playing audio and video in the environment of the REE device.
As shown in fig. 7, fig. 7 is a schematic diagram of a data processing system according to an embodiment of the present application. In the embodiment of the present application, the REE device 2001 executes step S71: the first storage module and the second storage module are configured, and then step S72 is executed: the second storage module is registered in the TEE device 2002, and step S73 is executed: a plurality of scrambled data audio/video data are sent to the TEE device 2002 in the same data request, and after the TEE device 2002 receives the scrambled data audio/video data, the step S74 is executed: calling a processing parameter corresponding to each scrambled audio/video data to descramble the plurality of scrambled audio/video data one by one, and after one scrambled audio/video data is descrambled to obtain a descrambled audio/video data, executing, by the TEE device 2002, step S75: writing the descrambled audio/video data into the first storage module for storage, and updating the write address and the offset value of the write address of the descrambled audio/video data stored in the second storage module in the first storage module, and the REE device 2001 executes step S76: inquiring the write-in location address of the descrambled audio/video data stored in the second storage module and the offset value of the write-in location address to obtain the descrambled audio/video data, and finally, the REE device 2001 executes step S77: and the decoding device reads the descrambled audio-video data and decodes the descrambled audio-video data to obtain decoded audio-video data. The process does not need to wait for the return of the TEE interface and the copying time of the decoder, thereby shortening the time consumed by data processing and relieving the condition of time consumption of current data processing.
In addition, the embodiment of the application also provides electronic equipment. As shown in fig. 8, the electronic device 800 includes a processor 801, a memory 802. The processor 801 is electrically connected to the memory 802.
The processor 801 is a control center of the electronic device 800, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or loading an application program stored in the memory 802 and calling data stored in the memory 802, thereby performing overall monitoring of the electronic device.
In this embodiment, the processor 801 in the electronic device 800 loads instructions corresponding to processes of one or more application programs into the memory 802, and the processor 801 executes the application programs stored in the memory 802, thereby performing the steps of the data processing method.
Fig. 9 is a specific block diagram of an electronic device according to an embodiment of the present invention, where the electronic device may be used to implement the data processing method provided in the foregoing embodiment.
The RF circuit 910 is used for receiving and transmitting electromagnetic waves, and interconverting the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. RF circuit 910 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The RF circuit 910 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols, and technologies, including, but not limited to, Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wi-Fi) (e.g., IEEE802.11a, IEEE802.11 b, IEEE 802.2.access, and/or IEEE802.11 n), Voice over Internet Protocol (VoIP), world wide Internet Microwave Access (Microwave for Wireless Communication), other suitable protocols for short message service (Max), and any other suitable protocols, and may even include those protocols that have not yet been developed.
The memory 920 may be used to store software programs and modules, such as program instructions/modules for converting the detection signal into the target character in the above-described embodiments, and the processor 980 may execute various functional applications and data processing, i.e., implement the function of storing the 5G capability information, by running the software programs and modules stored in the memory 920. The memory 920 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 920 may further include memory located remotely from the processor 980, which may be connected to the electronic device 900 over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input unit 930 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 930 may include a touch-sensitive surface 931 as well as other input devices 932. The touch-sensitive surface 931, also referred to as a touch screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 931 (e.g., operations by a user on or near the touch-sensitive surface 931 using a finger, a stylus, or any other suitable object or attachment) and drive the corresponding connecting device according to a predetermined program. Alternatively, the touch sensitive surface 931 may include both a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 980, and can receive and execute commands sent by the processor 980. In addition, the touch sensitive surface 931 may be implemented in various types, such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 930 may also include other input devices 932 in addition to the touch-sensitive surface 931. In particular, other input devices 932 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 940 may be used to display information input by or provided to the user and various graphical user interfaces of the electronic device 900, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 940 may include a Display panel 941, and optionally, the Display panel 941 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 931 may overlay the display panel 941, and when a touch operation is detected on or near the touch-sensitive surface 931, the touch operation is transmitted to the processor 980 to determine the type of touch event, and the processor 980 then provides a corresponding visual output on the display panel 941 according to the type of touch event. Although in FIG. 9 the touch-sensitive surface 931 and the display panel 941 are implemented as two separate components, in some embodiments the touch-sensitive surface 931 and the display panel 941 may be integrated to implement input and output functions.
The electronic device 900 may also include at least one sensor 950, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 941 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 941 and/or a backlight when the electronic device 900 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured to the electronic device 900, detailed descriptions thereof are omitted.
The audio circuitry 960, speaker 961, microphone 962 may provide an audio interface between a user and the electronic device 900. The audio circuit 960 may transmit the electrical signal converted from the received audio data to the speaker 961, and convert the electrical signal into a sound signal for output by the speaker 961; on the other hand, the microphone 962 converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 960, and outputs the audio data to the processor 980 for processing, and then transmits the audio data to another terminal via the RF circuit 910, or outputs the audio data to the memory 920 for further processing. The audio circuit 960 may also include an earbud jack to provide communication of a peripheral headset with the electronic device 900.
The electronic device 900, via the transport module 970 (e.g., Wi-Fi module), may assist the user in sending and receiving e-mail, browsing web pages, accessing streaming media, etc., which provides wireless broadband internet access to the user. Although fig. 9 shows the transmission module 970, it is understood that it does not belong to the essential constitution of the electronic device 900 and may be omitted entirely within the scope not changing the essence of the invention as needed.
The processor 980 is a control center of the electronic device 900, connects various parts of the entire cellular phone using various interfaces and lines, and performs various functions of the electronic device 900 and processes data by operating or executing software programs and/or modules stored in the memory 920 and calling data stored in the memory 920. Optionally, processor 980 may include one or more processing cores; in some embodiments, the processor 980 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 980.
The electronic device 900 also includes a power supply 990 (e.g., a battery) that provides power to the various components and, in some embodiments, may be logically coupled to the processor 980 via a power management system that provides management of charging, discharging, and power consumption. Power supply 990 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuits, power converters or inverters, power status indicators, and the like.
Although not shown, the electronic device 900 may further include a camera (e.g., a front camera, a rear camera), a bluetooth module, etc., which are not described in detail herein. Specifically, in this embodiment, the display unit of the electronic device is a touch screen display, the electronic device further includes a memory, and one or more programs, where the one or more programs are stored in the memory, and the one or more programs configured to be executed by the one or more processors include steps for executing the data processing method.
In specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and specific implementation of the above modules may refer to the foregoing method embodiments, which are not described herein again.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by associated hardware controlled by the instructions, which may be stored in a computer readable storage medium and loaded and executed by a processor. To this end, the present invention provides a storage medium, in which a plurality of instructions are stored, and the instructions can be loaded by a processor to execute the steps in any one of the data processing methods provided by the embodiments of the present invention.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any data processing method provided in the embodiment of the present invention, the beneficial effects that can be achieved by any data processing method provided in the embodiment of the present invention can be achieved, which are detailed in the foregoing embodiments and will not be described herein again.
The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
In summary, although the present application has been described with reference to the preferred embodiments, the above-described preferred embodiments are not intended to limit the present application, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present application, so that the scope of the present application shall be determined by the appended claims.

Claims (11)

1. A data processing method, adapted to a data response apparatus, comprising:
receiving data to be processed sent by data request equipment in the same data request, wherein the data to be processed comprises a plurality of data units, and the data request equipment is provided with a first storage module and a second storage module;
calling processing parameters corresponding to the data units to process the data units one by one;
and when one data unit is processed, writing the processed data unit into the first storage module for storage, and updating write-in information corresponding to the processed data unit in the second storage module, so that the data request equipment acquires the processed data unit according to the write-in information.
2. The data processing method according to claim 1, wherein before the step of receiving the data to be processed sent by the data requesting device in the same data request, the method further comprises:
receiving a data processing request sent by the data request equipment;
sending a data processing instruction to the data request equipment according to the data processing request;
and receiving the data to be processed sent by the data request equipment according to the data processing instruction.
3. The data processing method according to claim 1, wherein the data unit includes scrambled data, and the invoking of the processing parameter corresponding to each data unit to process the plurality of data units one by one includes:
and calling a processing parameter corresponding to each scrambled data to descramble the scrambled data one by one.
4. The data processing method according to claim 3, wherein when the processing of one of the data units is completed, writing the processed data unit into the first storage module for storage, and updating write information corresponding to the data unit in the second storage module, so that the data request device obtains the processed data unit according to the write information, includes:
when one scrambled data finishes descrambling processing, descrambling data is obtained;
and writing the descrambling data into the first storage module for storage, and updating the writing information corresponding to the descrambling data in the second storage module, so that the data request equipment acquires the processed descrambling data according to the writing information.
5. The data processing method according to claim 4, wherein the write information includes a write address of the data unit in the first storage module and an offset value of the write address, and the writing the descrambled data in the first storage module for storage and updating the write information corresponding to the descrambled data in the second storage module so that the data request device obtains the processed descrambled data according to the write information includes:
and writing the descrambling data into the first storage module for storage, and updating the write address of the descrambling data stored in the second storage module in the first storage module and the offset value of the write address so that the data request equipment acquires the descrambling data according to the write address and the offset value of the write address.
6. A data processing method, adapted to a data requesting device, comprising:
configuring a first storage module and a second storage module, and registering the second storage module in data response equipment;
sending data to be processed to the data response equipment in the same data request, wherein the data to be processed comprises a plurality of data units;
inquiring the written information in the second storage module, and acquiring the processed data unit which is written in the first storage module by the data response equipment and corresponds to the written information according to the written information;
and decoding the processed data unit to obtain a decoded data unit.
7. The data processing method of claim 6, wherein the configuring the first storage module and the second storage module and registering the second storage module with the data response device comprises:
configuring a first storage module and a second storage module, and performing virtual address mapping on a physical address of the second storage module in a data response device, so that the second storage module is registered in the data response device.
8. A data processing method, adapted to a data processing system, said data processing system including a data request device and a data response device, said data processing method comprising:
the data request equipment configures a first storage module and a second storage module, and registers the second storage module in the data response equipment;
the data request equipment sends data to be processed to the data response equipment in the same data request, wherein the data to be processed comprises a plurality of data units;
the data response equipment receives the data to be processed and calls processing parameters corresponding to the data units to process the data units one by one;
when one data unit is processed, the data response equipment writes the processed data unit into the first storage module for storage, and updates the write-in information corresponding to the processed data unit in the second storage module;
the data request equipment inquires the written information in the second storage module and acquires the processed data unit which is written in the first storage module by the data response equipment and corresponds to the written information according to the written information;
and the data request equipment decodes the processed data unit to obtain a decoded data unit.
9. A data processing apparatus adapted to a data response device, comprising:
the data processing device comprises a receiving module, a processing module and a processing module, wherein the receiving module is used for receiving to-be-processed data sent by data request equipment in the same data request, the to-be-processed data comprises a plurality of data units, and the data request equipment is provided with a first storage module and a second storage module;
the processing module is used for calling the processing parameters corresponding to the data units so as to process the data units one by one;
and the writing module is used for writing the processed data unit into the first storage module for storage when the processing of one data unit is finished, and updating the writing information corresponding to the processed data unit in the second storage module so that the data request equipment acquires the processed data unit according to the writing information.
10. A data processing apparatus adapted to a data request device, comprising:
the configuration module is used for configuring the first storage module and the second storage module and registering the second storage module in the data response equipment;
the sending module is used for sending data to be processed to the data response equipment in the same data request, and the data to be processed comprises a plurality of data units;
the query module is used for querying the written information in the second storage module and acquiring the processed data unit which is written in the first storage module by the data response equipment and corresponds to the written information according to the written information;
and the decoding module is used for decoding the processed data unit to obtain a decoded data unit.
11. A data processing system, comprising a data requesting device and a data responding device, the data processing system being configured to:
the data request equipment configures a first storage module and a second storage module, and registers the second storage module in the data response equipment;
the data request equipment sends data to be processed to the data response equipment in the same data request, wherein the data to be processed comprises a plurality of data units;
the data response equipment receives the data to be processed and calls processing parameters corresponding to the data units to process the data units one by one;
when one data unit is processed, the data response equipment writes the processed data unit into the first storage module for storage, and updates the write-in information corresponding to the processed data unit in the second storage module;
the data request equipment inquires the written information in the second storage module and acquires the processed data unit which is written in the first storage module by the data response equipment and corresponds to the written information according to the written information;
and the data request equipment decodes the processed data unit to obtain a decoded data unit.
CN202111328477.9A 2021-11-10 2021-11-10 Data processing method, device and system Pending CN114115732A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111328477.9A CN114115732A (en) 2021-11-10 2021-11-10 Data processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111328477.9A CN114115732A (en) 2021-11-10 2021-11-10 Data processing method, device and system

Publications (1)

Publication Number Publication Date
CN114115732A true CN114115732A (en) 2022-03-01

Family

ID=80378371

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111328477.9A Pending CN114115732A (en) 2021-11-10 2021-11-10 Data processing method, device and system

Country Status (1)

Country Link
CN (1) CN114115732A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015041291A (en) * 2013-08-22 2015-03-02 株式会社東芝 Storage device
US20160125186A1 (en) * 2014-11-05 2016-05-05 Oberthur Technologies Method of loading files into random access memory in an electronic device and associated electronic device
US20170277869A1 (en) * 2016-03-25 2017-09-28 Mstar Semiconductor, Inc. Computing device and data processing method
CN108288004A (en) * 2017-12-07 2018-07-17 深圳市中易通安全芯科技有限公司 A kind of encryption chip is in REE and TEE environmental coexistence system and methods
CN109857573A (en) * 2018-12-29 2019-06-07 深圳云天励飞技术有限公司 A kind of data sharing method, device, equipment and system
CN111459671A (en) * 2020-03-30 2020-07-28 深圳市英威腾电源有限公司 Data processing method and device, data exchange server and storage medium
CN111857602A (en) * 2020-07-31 2020-10-30 重庆紫光华山智安科技有限公司 Data processing method, data processing device, data node and storage medium
CN112231124A (en) * 2020-12-14 2021-01-15 支付宝(杭州)信息技术有限公司 Inter-application communication method and device based on privacy protection
CN112825041A (en) * 2019-11-21 2021-05-21 上海海思技术有限公司 Memory isolation device, memory isolation method and related equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2015041291A (en) * 2013-08-22 2015-03-02 株式会社東芝 Storage device
US20160125186A1 (en) * 2014-11-05 2016-05-05 Oberthur Technologies Method of loading files into random access memory in an electronic device and associated electronic device
US20170277869A1 (en) * 2016-03-25 2017-09-28 Mstar Semiconductor, Inc. Computing device and data processing method
CN108288004A (en) * 2017-12-07 2018-07-17 深圳市中易通安全芯科技有限公司 A kind of encryption chip is in REE and TEE environmental coexistence system and methods
CN109857573A (en) * 2018-12-29 2019-06-07 深圳云天励飞技术有限公司 A kind of data sharing method, device, equipment and system
CN112825041A (en) * 2019-11-21 2021-05-21 上海海思技术有限公司 Memory isolation device, memory isolation method and related equipment
CN111459671A (en) * 2020-03-30 2020-07-28 深圳市英威腾电源有限公司 Data processing method and device, data exchange server and storage medium
CN111857602A (en) * 2020-07-31 2020-10-30 重庆紫光华山智安科技有限公司 Data processing method, data processing device, data node and storage medium
CN112231124A (en) * 2020-12-14 2021-01-15 支付宝(杭州)信息技术有限公司 Inter-application communication method and device based on privacy protection

Similar Documents

Publication Publication Date Title
WO2017198161A1 (en) Network connection method, apparatus, storage medium, and terminal
WO2015090248A1 (en) Server overload protection method and device
WO2018120905A1 (en) Message reminding method for terminal, and terminal
CN113986167A (en) Screen projection control method and device, storage medium and display equipment
CN105491135B (en) Establish the method and device of data connection
WO2018006841A1 (en) Qr code information transmission method, device and apparatus
CN107219951B (en) Touch screen control method and device, storage medium and terminal equipment
CN113613064B (en) Video processing method, device, storage medium and terminal
CN109714476B (en) Data processing method and device, mobile terminal and storage medium
CN108832297B (en) Antenna working method and mobile terminal
CN111273955B (en) Thermal restoration plug-in optimization method and device, storage medium and electronic equipment
CN110830127B (en) Radio frequency parameter processing method and device, mobile terminal and storage medium
KR101876394B1 (en) Method and device for playing media data on a terminal
CN111026457B (en) Hardware configuration method and device, storage medium and terminal equipment
CN110032422B (en) Application management method, terminal equipment and computer readable storage medium
US20150070360A1 (en) Method and mobile terminal for drawing sliding trace
CN111045737A (en) Equipment identifier acquisition method and device, terminal equipment and storage medium
CN103336677A (en) Method, device and system for outputting images to display equipment
CN112559532B (en) Data insertion method and device based on red and black trees and electronic equipment
CN105282628A (en) Video playing method and device
CN111355991B (en) Video playing method and device, storage medium and mobile terminal
CN114115732A (en) Data processing method, device and system
CN112199050A (en) Storage method, device, storage medium and terminal equipment
CN111615101A (en) IMS registration method, device, storage medium and electronic terminal
CN106681845B (en) Method and device for managing communication messages

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination