CN104347098B - A kind of method and device of data processing - Google Patents
A kind of method and device of data processing Download PDFInfo
- Publication number
- CN104347098B CN104347098B CN201310343770.1A CN201310343770A CN104347098B CN 104347098 B CN104347098 B CN 104347098B CN 201310343770 A CN201310343770 A CN 201310343770A CN 104347098 B CN104347098 B CN 104347098B
- Authority
- CN
- China
- Prior art keywords
- data
- played
- processing
- information
- instruction information
- 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.)
- Active
Links
Classifications
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/50—Controlling the output signals based on the game progress
- A63F13/54—Controlling the output signals based on the game progress involving acoustic signals, e.g. for simulating revolutions per minute [RPM] dependent engine sounds in a driving game or reverberation against a virtual wall
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/20—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterised by details of the game platform
- A63F2300/206—Game information storage, e.g. cartridges, CD ROM's, DVD's, smart cards
- A63F2300/207—Game information storage, e.g. cartridges, CD ROM's, DVD's, smart cards for accessing game resources from local storage, e.g. streaming content from DVD
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a kind of methods of data processing, including:Obtain the processing instruction information of data to be played and the preset data to be played;According to the preset processing scheme of the correspondence processing instruction information, the data to be played are handled;The data to be played after playback process.The method of the data processing provided in the embodiment of the present invention can indicate that information pre-processes data, so as to reduce the time delay of audio or video broadcasting according to pre-set processing.
Description
Technical field
The present invention relates to technical field of data processing, and in particular to a kind of method and device of data processing.
Background technology
The final broadcasting of audio file in the prior art, it is necessary to be reduced into binary stream in memory.When playing certain
When a audio file, first the audio file is copied into memory and is reduced into binary stream, is then played out.Work as audio file
For dynamic image expert's compression standard audio level 3(Moving Picture Experts Group Audio Layer III
, Mp3)Or(Ogg Vorbis, OGG)Etc. compressed formats, file size capacity is small, but could be solved after being decompressed
Code is binary stream.If it is unpacked format such as Wav or audio exchange file format(Audio Interchange File
Format, Aiff)Etc., then it only needs to be decoded as binary stream.
It is larger that the audio file of unpacked format occupies file size capacity, and temporary copy enters memory and may require that when broadcasting
The time of copy, the slight delay for causing audio to play.
The file size capacity that the audio file of compressed format occupies can reduce very much, but be needed when carrying out reduction decoding
The processing time of processor is consumed, increases program and runs burden.And it is completed into memory since it is desired that first decoding and copying again
It plays, more serious playout-delay can be caused.
In the research and practice process to the prior art, it was found by the inventors of the present invention that the either sound of compressed format
The audio file or video file of frequency file either video file or unpacked format can all cause audio or video to play
Time delay.
Invention content
The embodiment of the present invention provides a kind of method of data processing, it is possible to reduce the time delay that audio or video plays.
The embodiment of the present invention additionally provides corresponding data processing equipment.
First aspect present invention provides a kind of method of data processing, including:
Obtain the processing instruction information of data to be played and the preset data to be played;
According to the preset processing scheme of the correspondence processing instruction information, the data to be played are handled;
The data to be played after playback process.
With reference to first aspect, in the first possible implementation, when processing instruction information is that the first instruction is believed
When breath,
The preset processing scheme according to the correspondence processing instruction information handles the data to be played, including:
The instruction for indicating information according to described first, data to be played described in continued reduction, when the data to be played
When binary data stream reverts to preset buffering capacity, triggering plays the data to be played.
With reference to first aspect, in second of possible realization method, when processing instruction information is that the second instruction is believed
When breath,
The preset processing scheme according to the correspondence processing instruction information handles the data to be played, including:
The data to be played are sent into memory by the instruction for indicating information according to described second;
It is binary data stream by the data convert to be played, and trigger and waited for described in broadcasting after receiving play instruction
Played data.
With reference to first aspect, in the third possible realization method, when processing instruction information is third instruction letter
When breath,
The preset processing scheme according to the correspondence processing instruction information handles the data to be played, including:
The instruction that information is indicated according to the third is reduced directly to binary system after the data to be played are sent into memory
Data flow;
After receiving play instruction, triggering plays the data to be played.
With reference to first aspect, first aspect the first to any one in the third possible realization method, the 4th
In the possible realization method of kind, the processing instruction information for obtaining data to be played and the data to be played, including:
It obtains and includes the wrappers of data to be played, carried in the wrapper preset to the data to be played
Processing instruction information;
The processing instruction information is parsed from the wrapper.
Second aspect of the present invention provides a kind of device of data processing, including:
Acquiring unit, the processing for obtaining data to be played and the preset data to be played indicate information;
Processing unit, the preset processing scheme of the processing instruction information for being obtained according to the correspondence acquiring unit, place
Manage the data to be played;
Broadcast unit, for playing the data to be played after the processing unit processes.
In conjunction with second aspect, in the first possible implementation, when processing instruction information is that the first instruction is believed
When breath,
The processing unit includes:
First data convert subelement, it is to be played described in continued reduction for the instruction according to the first instruction information
Data;
First triggering subelement, for working as the first data convert subelement by the binary data stream of data to be played
When reverting to preset buffering capacity, triggering plays the data to be played.
In conjunction with second aspect, in second of possible realization method, when processing instruction information is that the second instruction is believed
When breath,
The processing unit includes:
First push subelement, the instruction for indicating information according to described second will be in the data feeding to be played
It deposits;
First receiving subelement, for receiving play instruction;
Second goes back atomic unit, will be described to be played for after first receiving subelement receives play instruction
Data convert is binary data stream;
Second triggering subelement goes back atomic unit and is reduced into binary data stream for trigger broadcasting described second and waits broadcasting
Put data.
In conjunction with second aspect, in the third possible realization method, when processing instruction information is third instruction letter
When breath,
The processing unit includes:
Second push subelement, the instruction for indicating information according to the third will be in the data feeding to be played
It deposits;
Third also atomic unit, for direct after the data to be played are sent into memory by the second push subelement
It is reduced to binary data stream;
Second receiving subelement, for receiving play instruction;
Third triggers subelement, described in after second receiving subelement receives play instruction, triggering plays
Data to be played.
In conjunction with second aspect, second aspect the first to any one in the third possible realization method, the 4th
In the possible realization method of kind, the acquiring unit includes:
Subelement is obtained, for obtaining the wrapper for including data to be played, is carried in the wrapper preset to institute
State the processing instruction information of data to be played;
Parsing subunit indicates information for parsing the processing from the wrapper that the acquisition subelement obtains.
The embodiment of the present invention indicates information using the processing for obtaining data to be played and the preset data to be played;It presses
According to the preset processing scheme of the correspondence processing instruction information, the data to be played are handled;It waits broadcasting described in after playback process
Put data.Compared with when audio or video file in the prior art plays there are larger time delay, in the embodiment of the present invention
The method of the data processing of offer can indicate that information pre-processes data, so as to subtract according to pre-set processing
The time delay that few audio or video plays.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is an embodiment schematic diagram of the method for data processing in the embodiment of the present invention;
Fig. 2 is another embodiment schematic diagram of the method for data processing in the embodiment of the present invention;
Fig. 3 is an embodiment schematic diagram of the device of data processing in the embodiment of the present invention;
Fig. 4 is another embodiment schematic diagram of the device of data processing in the embodiment of the present invention;
Fig. 5 is another embodiment schematic diagram of the device of data processing in the embodiment of the present invention;
Fig. 6 is another embodiment schematic diagram of the device of data processing in the embodiment of the present invention;
Fig. 7 is another embodiment schematic diagram of the device of data processing in the embodiment of the present invention;
Fig. 8 is another embodiment schematic diagram of the device of data processing in the embodiment of the present invention.
Specific implementation mode
The embodiment of the present invention provides a kind of method of data processing, it is possible to reduce the time delay that audio or video plays.
The embodiment of the present invention additionally provides corresponding data processing equipment.It is described in detail separately below.
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, the every other implementation that those skilled in the art are obtained without creative efforts
Example, shall fall within the protection scope of the present invention.
Refering to fig. 1, an embodiment of the method for data processing provided in an embodiment of the present invention includes:
101, the processing for obtaining data to be played and the preset data to be played indicates information.
In the embodiment of the present invention, data to be played can directly carry processing instruction information, can also be data to be played
It is encapsulated in a wrapper with other multiple data, which carries a processing instruction information, the institute in the wrapper
Need played data, indicates that the instruction of information is handled all in accordance with the processing.It is also possible that multiple data are encapsulated in an envelope
In dress packet, but there is different processing instruction information for each data.
102, according to the preset processing scheme of the correspondence processing instruction information, the data to be played are handled.
Because the form that data to be played must be converted to binary data stream in memory can just play out, and usually wait for
Played data is all to be in compression and encoding state, is decompressed and is decoded so usually first to treat played data, then
Triggering plays.
103, the data to be played after playback process.
The embodiment of the present invention indicates information using the processing for obtaining data to be played and the preset data to be played;It presses
According to the preset processing scheme of the correspondence processing instruction information, the data to be played are handled;It waits broadcasting described in after playback process
Put data.Compared with when audio or video file in the prior art plays there are larger time delay, in the embodiment of the present invention
The method of the data processing of offer can indicate that information pre-processes data, so as to subtract according to pre-set processing
The time delay that few audio or video plays.
Optionally, on the basis of above-mentioned Fig. 1 corresponding embodiments, the method for data processing provided in an embodiment of the present invention
An alternative embodiment in, when the processing instruction information be first instruction information when,
The preset processing scheme according to the correspondence processing instruction information handles the data to be played, can wrap
It includes:
The instruction for indicating information according to described first, data to be played described in continued reduction, when the data to be played
When binary data stream reverts to preset buffering capacity, triggering plays the data to be played.
In the embodiment of the present invention, the first instruction information can be that streaming media playing indicates information, or other types
Instruction information, only the function of the first instruction information is used to indicate to execute the data to be played plays in uncompressed encoding
Processing.
In the embodiment of the present invention, when the binary data stream of data convert to be played reverts to certain buffering capacity, so that it may
It is played with triggering, in this way, while broadcasting, then the remaining unreduced data of uncompressed encoding, in this way, reduce the stand-by period,
Improve the operational efficiency of audio and video file.
Optionally, on the basis of above-mentioned Fig. 1 corresponding embodiments, the method for data processing provided in an embodiment of the present invention
Another alternative embodiment in, when the processing instruction information be second instruction information when,
The preset processing scheme according to the correspondence processing instruction information handles the data to be played, including:
The data to be played are sent into memory by the instruction for indicating information according to described second;
It is binary data stream by the data convert to be played, and trigger and waited for described in broadcasting after receiving play instruction
Played data.
In the embodiment of the present invention, the second instruction information, which is used to indicate, first send data to be played into memory, receives later
After play instruction, then uncompressed encoding data to be played.In this way, data to be played are first sent into memory, so that it may received with saving
To after play instruction, data to be played are sent into the time of memory, to reduce the time delay for playing data to be played.
Optionally, on the basis of above-mentioned Fig. 1 corresponding embodiments, the method for data processing provided in an embodiment of the present invention
Another alternative embodiment in, when the processing instruction information be third indicate information when,
The preset processing scheme according to the correspondence processing instruction information handles the data to be played, including:
The instruction that information is indicated according to the third is reduced directly to binary system after the data to be played are sent into memory
Data flow;
After receiving play instruction, triggering plays the data to be played.
In the embodiment of the present invention, third instruction information is used to indicate direct uncompressed encoding after data to be played feeding memory
Data to be played can directly play the data to be played in this way, after receiving play instruction, to reduce broadcasting sound
The reproduction time of frequency video data postpones.
Optionally, on the basis of the corresponding embodiments of above-mentioned Fig. 1 and Fig. 1 corresponding any alternative embodiments, the present invention
In another alternative embodiment of the method for the data processing that embodiment provides, acquisition data to be played and the number to be played
According to processing indicate information, may include:
It obtains and includes the wrappers of data to be played, carried in the wrapper preset to the data to be played
Processing instruction information;
The processing instruction information is parsed from the wrapper.
In the embodiment of the present invention, data to be played are encapsulated in other multiple data in a wrapper, which takes
One processing of band indicates that information, all data to be played in the wrapper indicate that the instruction of information carries out all in accordance with the processing
Processing.It is also possible that multiple data are encapsulated in a wrapper, but there is different processing instruction letters for each data
Breath.
In order to make it easy to understand, below by taking an application scenarios as an example, illustrate the process of data processing in the embodiment of the present invention:
Referring to Fig.2, the process of data processing shown in Fig. 2 includes three wrappers, include audio file 1 in wrapper 1
Processing instruction information with audio file 2, audio file 1 and audio file 2 is the first instruction information, includes sound in wrapper 2
The processing instruction information of frequency file 3, audio file 3 is the second instruction information, includes audio file 4, audio file in wrapper 3
4 processing instruction information is that third indicates information.
When data to be played are audio file 1, according to the first instruction information to 1 uncompressed encoding of audio file, work as decompression
When decoded binary data flows to preset buffering capacity, start play audio file 1, then, play with uncompressed encoding simultaneously into
Row.
When data to be played are audio file 3, audio file 3 is sent by memory according to the second instruction information, is being received
To after play instruction, uncompressed encoding audio file 3 is opened after the whole uncompressed encodings of audio file 3 are converted to binary data stream
Begin to play audio file 3.
When data to be played are audio file 4, information is indicated by the feeding memory of audio file 4 according to third and is directly solved
Pressure decoding, is reduced to binary data stream, after receiving play instruction, directly plays the audio file 4.
Refering to Fig. 3, an embodiment of the device of data processing provided in an embodiment of the present invention includes:
Acquiring unit 201, the processing for obtaining data to be played and the preset data to be played indicate information;
Processing unit 202, the preset processing side of the processing instruction information for being obtained according to the correspondence acquiring unit 201
Case handles the data to be played;
Broadcast unit 203, the data to be played that treated for playing the processing unit 202.
In the embodiment of the present invention, acquiring unit 201 obtains the processing of data to be played and the preset data to be played
Indicate information;The preset processing scheme for the processing instruction information that processing unit 202 is obtained according to the correspondence acquiring unit 201,
Handle the data to be played;Broadcast unit 203 plays the processing unit 202 treated the data to be played.With it is existing
Larger time delay is compared when being played with the presence of technology sound intermediate frequency or video file, at the data provided in the embodiment of the present invention
The device of reason can indicate that information pre-processes data, so as to reduce audio or video according to pre-set processing
The time delay of broadcasting.
On the basis of above-mentioned Fig. 3 corresponding embodiments, refering to Fig. 4, the dress of data processing provided in an embodiment of the present invention
In another embodiment set, when processing instruction information is the first instruction information,
The processing unit 202 includes:
First data convert subelement 2021 is waited for for the instruction according to the first instruction information described in continued reduction
Played data;
First triggering subelement 2022, for when the first data convert subelement 2021 by the two of data to be played into
When data flow processed reverts to preset buffering capacity, triggering plays the data to be played.
On the basis of above-mentioned Fig. 3 corresponding embodiments, refering to Fig. 5, the dress of data processing provided in an embodiment of the present invention
In another embodiment set, when processing instruction information is the second instruction information,
The processing unit 202 includes:
The data to be played are sent in first push subelement 2023, the instruction for indicating information according to described second
Enter memory;
First receiving subelement 2024, for receiving play instruction;
Second goes back atomic unit 2025, for after first receiving subelement 2024 receives play instruction, by institute
It is binary data stream to state data convert to be played;
Second triggering subelement 2026 goes back atomic unit 2025 for triggering broadcasting described second and is reduced into binary data
The data to be played of stream.
On the basis of above-mentioned Fig. 3 corresponding embodiments, refering to Fig. 6, the dress of data processing provided in an embodiment of the present invention
In another embodiment set, when processing instruction information is that third indicates information,
The processing unit 202 includes:
The data to be played are sent in second push subelement 2027, the instruction for indicating information according to the third
Enter memory;
Third also atomic unit 2028, in being sent into the data to be played in the second push subelement 2027
Binary data stream is reduced directly to after depositing;
Second receiving subelement 2029, for receiving play instruction;
Third triggers subelement 2030, for after second receiving subelement 2029 receives play instruction, triggering
Play the data to be played.
On the basis of above-mentioned Fig. 3 corresponding embodiments, refering to Fig. 7, the dress of data processing provided in an embodiment of the present invention
In another embodiment set, the acquiring unit 201 includes:
Subelement 2011 is obtained, for obtaining the wrapper for including data to be played, is carried in the wrapper preset
Information is indicated to the processing of the data to be played;
Parsing subunit 2012 refers to for parsing the processing from the wrapper that the acquisition subelement 2011 obtains
Show information.
Referring to FIG. 8, it illustrates the apparatus structure schematic diagram of the data processing involved by the embodiment of the present invention, the data
The method for the data processing that the device of processing can be used for implementing to provide in above-described embodiment.Specifically:
The device 1200 of data processing may include RF(Radio Frequency, radio frequency)Circuit 110 including there are one
Or memory 120, input unit 130, display unit 140, sensor 150, the sound of more than one computer readable storage medium
Frequency circuit 160, WiFi (wireless fidelity, Wireless Fidelity) modules 170 including there are one or more than one processing
The components such as the processor 180 and power supply 190 of core.It will be understood by those skilled in the art that data processing shown in Fig. 8
The apparatus structure device of structure paired data processing restriction, may include than illustrating more or fewer components, or
Combine certain components or different components arrangement.Wherein:
RF circuits 110 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station
After downlink information receives, one or the processing of more than one processor 180 are transferred to;In addition, the data for being related to uplink are sent to
Base station.In general, RF circuits 110 include but not limited to antenna, at least one amplifier, tuner, one or more oscillators, use
Family identity module(SIM)Card, transceiver, coupler, LNA(Low Noise Amplifier, low-noise amplifier), duplex
Device etc..In addition, RF circuits 110 can also be communicated with network and other equipment by radio communication.The wireless communication can make
With any communication standard or agreement, and including but not limited to GSM (Global System of Mobile communication, entirely
Ball mobile communcations system), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code
Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple
Access, wideband code division multiple access), LTE (Long Term Evolution, long term evolution), Email, SMS (Short
Messaging Service, short message service) etc..
Memory 120 can be used for storing software program and module, and processor 180 is stored in memory 120 by operation
Software program and module, to perform various functions application and data processing.Memory 120 can include mainly storage journey
Sequence area and storage data field, wherein storing program area can storage program area, the application program needed at least one function(Than
Such as sound-playing function, image player function)Deng;Storage data field can store the use of the device 1200 according to data processing
The data created(Such as audio data, phone directory etc.)Deng.In addition, memory 120 may include high random access storage
Device, can also include nonvolatile memory, and a for example, at least disk memory, flush memory device or other volatibility are solid
State memory device.Correspondingly, memory 120 can also include Memory Controller, to provide processor 180 and input unit
The access of 130 pairs of memories 120.
Input unit 130 can be used for receiving the number or character information of input, and generate and user setting and function
Control related keyboard, mouse, operating lever, optics or the input of trace ball signal.Specifically, input unit 130 may include touching
Sensitive surfaces 131 and other input equipments 132.Touch sensitive surface 131, also referred to as touch display screen or Trackpad are collected and are used
Family is on it or neighbouring touch operation(For example user uses any suitable objects or attachment such as finger, stylus in touch-sensitive table
Operation on face 131 or near touch sensitive surface 131), and corresponding attachment device is driven according to preset formula.It is optional
, touch sensitive surface 131 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus detection is used
The touch orientation at family, and the signal that touch operation is brought is detected, transmit a signal to touch controller;Touch controller is from touch
Touch information is received in detection device, and is converted into contact coordinate, then gives processor 180, and can receive processor 180
The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves
Realize touch sensitive surface 131.In addition to touch sensitive surface 131, input unit 130 can also include other input equipments 132.Specifically,
Other input equipments 132 can include but is not limited to physical keyboard, function key(Such as volume control button, switch key etc.)、
It is one or more in trace ball, mouse, operating lever etc..
Display unit 140 can be used for showing information input by user or the information and the data processing that are supplied to user
The various graphical user interface of device 1200, these graphical user interface can be by figure, text, icon, videos and it is arbitrary
It combines to constitute.Display unit 140 may include display panel 141, optionally, LCD (Liquid Crystal may be used
Display, liquid crystal display), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) come
Configure display panel 141.Further, touch sensitive surface 131 can cover display panel 141, when touch sensitive surface 131 is detected at it
On or near touch operation after, send processor 180 to determine the type of touch event, be followed by subsequent processing device 180 according to touch
The type for touching event provides corresponding visual output on display panel 141.Although in fig. 8, touch sensitive surface 131 and display surface
Plate 141 is to realize input and input function as two independent components, but in some embodiments it is possible to by touch-sensitive table
Face 131 is integrated with display panel 141 and realizes and outputs and inputs function.
The device 1200 of data processing may also include at least one sensor 150, such as optical sensor, motion sensor with
And other sensors.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor
The brightness of display panel 141 can be adjusted according to the light and shade of ambient light, proximity sensor can be in the device 1200 of data processing
When being moved in one's ear, display panel 141 and/or backlight are closed.As a kind of motion sensor, gravity accelerometer can
It detects in all directions(Generally three axis)The size of acceleration can detect that size and the direction of gravity, can be used for when static
Identify the application of mobile phone posture(Such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function
(Such as pedometer, percussion)Deng;The gyroscope that can also configure as the device 1200 of data processing, barometer, hygrometer, temperature
The other sensors such as meter, infrared sensor, details are not described herein.
Voicefrequency circuit 160, loud speaker 161, microphone 162 can provide the sound between user and the device 1200 of data processing
Frequency interface.The transformed electric signal of the audio data received can be transferred to loud speaker 161, by loud speaker by voicefrequency circuit 160
161 are converted to voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 162, by audio-frequency electric
Road 160 is converted to audio data after receiving, then by after the processing of audio data output processor 180, through RF circuits 110 to be sent to
Such as the device of another data processing, or audio data is exported to memory 120 to be further processed.Voicefrequency circuit
160 are also possible that earphone jack, to provide the communication of the device 1200 of peripheral hardware earphone and data processing.
WiFi belongs to short range wireless transmission technology, and the device 1200 of data processing can be helped by WiFi module 170
User sends and receive e-mail, browses webpage and access streaming video etc., it has provided wireless broadband internet to the user and has accessed.
Although Fig. 8 shows WiFi module 170, but it is understood that, and be not belonging to data processing device 1200 it is necessary
It constitutes, can be omitted in the range for the essence for not changing invention as needed completely.
Processor 180 is the control centre of the device 1200 of data processing, utilizes various interfaces and the entire hand of connection
The various pieces of machine, by running or executing the software program and/or module that are stored in memory 120, and calling storage
Data in memory 120 execute the various functions and processing data of the device 1200 of data processing, to be carried out to mobile phone
Integral monitoring.Optionally, processor 180 may include one or more processing cores;Preferably, processor 180 can integrate application
Processor and modem processor, wherein the main processing operation system of application processor, user interface and application program etc.,
Modem processor mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into
In processor 180.
The device 1200 of data processing further includes the power supply 190 powered to all parts(Such as battery), it is preferred that power supply
Can be logically contiguous by power-supply management system and processor 180, to realize management charging by power-supply management system, put
The functions such as electricity and power managed.Power supply 190 can also include one or more direct current or AC power, recharge
The random components such as system, power failure detection circuit, power supply changeover device or inverter, power supply status indicator.
Although being not shown, the device 1200 of data processing can also include camera, bluetooth module etc., no longer go to live in the household of one's in-laws on getting married herein
It states.Specifically in the present embodiment, the display unit of the device of data processing is touch-screen display, and the device of data processing also wraps
Having included memory and one, either more than one program one of them or more than one program is stored in memory,
And it is configured to by one that either one or more than one program are stated in the execution of more than one processor includes following for carrying out
The instruction of operation:
Obtain the processing instruction information of data to be played and the preset data to be played;
According to the preset processing scheme of the correspondence processing instruction information, the data to be played are handled;
The data to be played after playback process.
Compared with when audio or video file in the prior art plays there are larger time delay, in the embodiment of the present invention
The device of the data processing of offer can indicate that information pre-processes data, so as to subtract according to pre-set processing
The time delay that few audio or video plays.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment
Second of possible embodiment in, in the memory of the terminal, also include instructions for performing the following operations:
When processing instruction information is the first instruction information,
The preset processing scheme according to the correspondence processing instruction information handles the data to be played, including:
The instruction for indicating information according to described first, data to be played described in continued reduction, when the data to be played
When binary data stream reverts to preset buffering capacity, triggering plays the data to be played.
In the third the possible embodiment provided based on the first possible embodiment, the terminal
Memory in, also include instructions for performing the following operations:
When processing instruction information is the second instruction information,
The preset processing scheme according to the correspondence processing instruction information handles the data to be played, including:
The data to be played are sent into memory by the instruction for indicating information according to described second;
It is binary data stream by the data convert to be played, and trigger and waited for described in broadcasting after receiving play instruction
Played data.
In the 4th kind of possible embodiment provided based on the first possible embodiment, the terminal
Memory in, also include instructions for performing the following operations:
When processing instruction information is that third indicates information,
The preset processing scheme according to the correspondence processing instruction information handles the data to be played, including:
The instruction that information is indicated according to the third is reduced directly to binary system after the data to be played are sent into memory
Data flow;
After receiving play instruction, triggering plays the data to be played.
The 5th kind of possible embodiment party provided based on the first is to the 4th kind of any possible embodiment
Also include instructions for performing the following operations in the memory of the terminal in formula:
It obtains and includes the wrappers of data to be played, carried in the wrapper preset to the data to be played
Processing instruction information;
The processing instruction information is parsed from the wrapper.
As on the other hand, yet another embodiment of the invention additionally provides a kind of computer readable storage medium, the computer
Readable storage medium storing program for executing can be computer readable storage medium included in memory in above-described embodiment;It can also be list
Solely exist, without the computer readable storage medium in supplying terminal.The computer-readable recording medium storage there are one or
More than one program of person, the one or more programs are used for executing one by one or more than one processor
The method of data processing, the method includes:
Obtain the processing instruction information of data to be played and the preset data to be played;
According to the preset processing scheme of the correspondence processing instruction information, the data to be played are handled;
The data to be played after playback process.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment
Second of possible embodiment in, when the processing instruction information be first instruction information when,
The preset processing scheme according to the correspondence processing instruction information handles the data to be played, including:
The instruction for indicating information according to described first, data to be played described in continued reduction, when the data to be played
When binary data stream reverts to preset buffering capacity, triggering plays the data to be played.
In the third the possible embodiment provided based on the first possible embodiment, when the place
When reason instruction information is the second instruction information,
The preset processing scheme according to the correspondence processing instruction information handles the data to be played, including:
The data to be played are sent into memory by the instruction for indicating information according to described second;
It is binary data stream by the data convert to be played, and trigger and waited for described in broadcasting after receiving play instruction
Played data.
In the 4th kind of possible embodiment provided based on the first possible embodiment, when the place
When reason instruction information is that third indicates information,
The preset processing scheme according to the correspondence processing instruction information handles the data to be played, including:
The instruction that information is indicated according to the third is reduced directly to binary system after the data to be played are sent into memory
Data flow;
After receiving play instruction, triggering plays the data to be played.
The 5th kind of possible embodiment party provided based on the first is to the 4th kind of any possible embodiment
In formula, the processing instruction information for obtaining data to be played and the data to be played, including:
It obtains and includes the wrappers of data to be played, carried in the wrapper preset to the data to be played
Processing instruction information;
The processing instruction information is parsed from the wrapper.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage
Medium may include:ROM, RAM, disk or CD etc..
The method and device for being provided for the embodiments of the invention data processing above are described in detail, herein
Applying specific case, principle and implementation of the present invention are described, and the explanation of above example is only intended to help
Understand the method and its core concept of the present invention;Meanwhile for those of ordinary skill in the art, according to the thought of the present invention,
There will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as to this
The limitation of invention.
Claims (8)
1. a kind of method of data processing, which is characterized in that including:
Obtain the processing instruction information of data to be played and the preset data to be played;
According to the preset processing scheme of the correspondence processing instruction information, the data to be played are handled;
The data to be played after playback process;
Wherein, the processing instruction information for obtaining data to be played and the data to be played, including:
The wrapper for including data to be played is obtained, the preset processing to the data to be played is carried in the wrapper
Indicate information;
The processing instruction information is parsed from the wrapper.
2. according to the method described in claim 1, it is characterized in that, when the processing instruction information be first instruction information when,
The preset processing scheme according to the correspondence processing instruction information handles the data to be played, including:
The instruction for indicating information according to described first, data to be played described in continued reduction, when the data to be played two into
When data flow processed reverts to preset buffering capacity, triggering plays the data to be played.
3. according to the method described in claim 1, it is characterized in that, when the processing instruction information be second instruction information when,
The preset processing scheme according to the correspondence processing instruction information handles the data to be played, including:
The data to be played are sent into memory by the instruction for indicating information according to described second;
It is binary data stream by the data convert to be played, and it is described to be played to trigger broadcasting after receiving play instruction
Data.
4. according to the method described in claim 1, it is characterized in that, when the processing instruction information be third indicate information when,
The preset processing scheme according to the correspondence processing instruction information handles the data to be played, including:
The instruction that information is indicated according to the third is reduced directly to binary data after the data to be played are sent into memory
Stream;
After receiving play instruction, triggering plays the data to be played.
5. a kind of device of data processing, which is characterized in that including:
Acquiring unit, the processing for obtaining data to be played and the preset data to be played indicate information;
Processing unit, the preset processing scheme of the processing instruction information for being obtained according to the correspondence acquiring unit, handles institute
State data to be played;
Broadcast unit, for playing the data to be played after the processing unit processes;
Wherein, the acquiring unit includes:
Subelement is obtained, for obtaining the wrapper for including data to be played, carries and preset waits for described in the wrapper
The processing of the data of broadcasting indicates information;
Parsing subunit indicates information for parsing the processing from the wrapper that the acquisition subelement obtains.
6. device according to claim 5, which is characterized in that when processing instruction information is the first instruction information,
The processing unit includes:
First data convert subelement, the instruction for indicating information according to described first, data to be played described in continued reduction;
First triggering subelement, for restoring the binary data stream of data to be played when the first data convert subelement
When to preset buffering capacity, triggering plays the data to be played.
7. device according to claim 5, which is characterized in that when processing instruction information is the second instruction information,
The processing unit includes:
The data to be played are sent into memory by the first push subelement, the instruction for indicating information according to described second;
First receiving subelement, for receiving play instruction;
Second goes back atomic unit, for after first receiving subelement receives play instruction, by the data to be played
It is reduced to binary data stream;
Second triggering subelement goes back the number to be played that atomic unit is reduced into binary data stream for triggering broadcasting described second
According to.
8. device according to claim 5, which is characterized in that when processing instruction information is that third indicates information,
The processing unit includes:
The data to be played are sent into memory by the second push subelement, the instruction for indicating information according to the third;
Third also atomic unit, for being reduced directly after the data to be played are sent into memory by the second push subelement
For binary data stream;
Second receiving subelement, for receiving play instruction;
Third triggers subelement, for after second receiving subelement receives play instruction, waiting broadcasting described in triggering broadcasting
Put data.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310343770.1A CN104347098B (en) | 2013-08-08 | 2013-08-08 | A kind of method and device of data processing |
PCT/CN2014/079327 WO2015018229A1 (en) | 2013-08-08 | 2014-06-06 | Data processing method and device employing the same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310343770.1A CN104347098B (en) | 2013-08-08 | 2013-08-08 | A kind of method and device of data processing |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104347098A CN104347098A (en) | 2015-02-11 |
CN104347098B true CN104347098B (en) | 2018-09-07 |
Family
ID=52460618
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310343770.1A Active CN104347098B (en) | 2013-08-08 | 2013-08-08 | A kind of method and device of data processing |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN104347098B (en) |
WO (1) | WO2015018229A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105786441B (en) | 2016-01-29 | 2019-01-25 | 腾讯科技(深圳)有限公司 | A kind of method of audio processing, server, user equipment and system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1816074A (en) * | 2005-02-04 | 2006-08-09 | 苏亮 | Method, system and apparatus for providing colour section business |
CN101201734A (en) * | 2006-12-13 | 2008-06-18 | 国际商业机器公司 | Method and device for predecoding executive instruction |
CN101267545A (en) * | 2008-04-30 | 2008-09-17 | 中兴通讯股份有限公司 | A program switching method and device |
CN101330340A (en) * | 2008-07-31 | 2008-12-24 | 中兴通讯股份有限公司 | Method for self-adaption adjusting receiving speed to buffer play by a mobile multimedia broadcast terminal |
CN102428485A (en) * | 2009-03-23 | 2012-04-25 | 生命力有限公司 | Temporary Decoder Apparatus and Method |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100511240C (en) * | 2007-12-28 | 2009-07-08 | 腾讯科技(深圳)有限公司 | Audio document calling method and system |
US20090271871A1 (en) * | 2008-04-23 | 2009-10-29 | Microsoft Corporation | Intelligent uploaded content placement |
JP5101668B2 (en) * | 2009-11-27 | 2012-12-19 | 株式会社東芝 | Digital video recording and playback device |
-
2013
- 2013-08-08 CN CN201310343770.1A patent/CN104347098B/en active Active
-
2014
- 2014-06-06 WO PCT/CN2014/079327 patent/WO2015018229A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1816074A (en) * | 2005-02-04 | 2006-08-09 | 苏亮 | Method, system and apparatus for providing colour section business |
CN101201734A (en) * | 2006-12-13 | 2008-06-18 | 国际商业机器公司 | Method and device for predecoding executive instruction |
CN101267545A (en) * | 2008-04-30 | 2008-09-17 | 中兴通讯股份有限公司 | A program switching method and device |
CN101330340A (en) * | 2008-07-31 | 2008-12-24 | 中兴通讯股份有限公司 | Method for self-adaption adjusting receiving speed to buffer play by a mobile multimedia broadcast terminal |
CN102428485A (en) * | 2009-03-23 | 2012-04-25 | 生命力有限公司 | Temporary Decoder Apparatus and Method |
Also Published As
Publication number | Publication date |
---|---|
WO2015018229A1 (en) | 2015-02-12 |
CN104347098A (en) | 2015-02-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103414982B (en) | A kind of method and apparatus that sound is provided | |
CN106254903B (en) | A kind of synchronous broadcast method of multi-medium data, apparatus and system | |
CN104978176B (en) | Application programming interfaces call method, device and computer readable storage medium | |
CN104238893B (en) | A kind of method and apparatus that video preview picture is shown | |
CN104142779B (en) | user interface control method, device and terminal | |
CN104036536B (en) | The generation method and device of a kind of stop-motion animation | |
CN105808060B (en) | A kind of method and apparatus of playing animation | |
CN103559731B (en) | Method and terminal for displaying lyrics under screen locking state | |
CN104602135B (en) | Control the method and device of played in full screen | |
CN107360458A (en) | Control method for playing back, device, storage medium and terminal | |
CN107168609A (en) | status bar display method, device and terminal | |
CN104618794A (en) | Method and device for playing video | |
CN105549740A (en) | Method and device for playing audio data | |
CN103631625B (en) | A kind of method of data acquisition, user terminal, server and system | |
CN103491240B (en) | A kind of alarm clock ringing method, device and mobile terminal | |
CN105185401B (en) | The method and device of synchronized multimedia listed files | |
CN106254924B (en) | A kind of player method of multi-medium data, system and relevant device | |
CN103491421B (en) | Content displaying method, device and intelligent television | |
CN105162930B (en) | The way of recording and device of mobile terminal | |
CN104731806B (en) | A kind of method and terminal for quickly searching user information in social networks | |
CN103677944A (en) | Method and device for manufacturing screen locking interface and terminal device | |
CN104254020B (en) | The player method of media data, device and terminal | |
CN105282628B (en) | A kind of method and apparatus of video playing | |
CN106228994A (en) | A kind of method and apparatus detecting tonequality | |
CN104347098B (en) | A kind of method and device of data processing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |