CN105630438B - Processing method, processing unit, terminal and the optical projection system of data for projection - Google Patents
Processing method, processing unit, terminal and the optical projection system of data for projection Download PDFInfo
- Publication number
- CN105630438B CN105630438B CN201510417470.2A CN201510417470A CN105630438B CN 105630438 B CN105630438 B CN 105630438B CN 201510417470 A CN201510417470 A CN 201510417470A CN 105630438 B CN105630438 B CN 105630438B
- Authority
- CN
- China
- Prior art keywords
- data
- projection
- projected
- hardware
- terminal
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
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)
- Controls And Circuits For Display Device (AREA)
- Projection Apparatus (AREA)
- Transforming Electric Information Into Light Information (AREA)
Abstract
The present invention proposes a kind of processing method of data for projection, processing unit, terminal and optical projection system, wherein the treating method comprises:The first hardware parameter information of the terminal is obtained, and obtains the second hardware parameter information of the projection device being connected with the terminal;Judge whether that treating data for projection is decoded according to the first hardware parameter information and the second hardware parameter information;When the determination result is yes, the data to be projected are decoded;Otherwise, solution code instruction is sent to the projection device, so that the projection device is decoded the data to be projected.Technical solution through the invention can improve the decoding efficiency for treating data for projection, and improve fluency of the data to be projected in projection, to promote user experience.
Description
Technical field
The present invention relates to projection arts, in particular to a kind of processing method of data for projection, a kind of projection number
According to processing unit, a kind of terminal and a kind of optical projection system.
Background technology
In the related art, when projection device is treated data for projection and projected, first by being connected with projection device
Terminal-pair data to be projected are decoded, and data to be projected are converted to corresponding projection information and are sent to projection device,
Projection device is treated data for projection according to the projection signal for carrying out self terminal and is projected.Alternatively, it is also possible to straight by projection device
It connects to treat data for projection and be decoded and be projected with treating data for projection.
But projection scheme in the related technology is single utilization terminal or projection device treat data for projection into
Row decoding, and the decoding capability etc. of terminal and projection device is not fully considered, it is carried out for example, treating data for projection in projection device
When decoding, but the decoding capability of projection device is relatively low, and the decoding capability of terminal is relatively high, and which results in cannot be abundant
Using the stronger decoding capability of terminal, while being decoded and being also reduced by the projection device with lower decoding capability
Decoding efficiency, also have led to treating data for projection projected it is not smooth.
Therefore, the decoding efficiency for treating data for projection how is improved, and improves smoothness of the data to be projected in projection
Property become urgent problem to be solved.
Invention content
The present invention is based on the above problem, it is proposed that a kind of new technical solution can improve and treat data for projection
Decoding efficiency, and fluency of the data to be projected in projection is improved, to promote user experience.
In view of this, the first aspect of the present invention proposes a kind of processing method of data for projection, it is used for terminal, including:
The first hardware parameter information of the terminal is obtained, and obtains the second hardware parameter of the projection device being connected with the terminal
Information;Judge whether that treating data for projection is solved according to the first hardware parameter information and the second hardware parameter information
Code;When the determination result is yes, the data to be projected are decoded;Otherwise, solution code instruction is sent to the projection device,
So that the projection device is decoded the data to be projected.
In the technical scheme, pass through the second hardware parameter information of the first hardware parameter information of terminal and projection device
Come determine terminal and projection device decoding capability power, if the decoding capability of terminal by force if determine terminal-pair number to be projected
It according to being decoded, is decoded otherwise, it determines treating data for projection by projection device, to adequately take into account terminal and throwing
The decoding capability of shadow equipment determines that treating data for projection by terminal or projection device is decoded, and not only improves as a result,
The decoding efficiency for treating data for projection also improves the fluency of data to be projected in projection, and then promotes user experience.
It is of course also possible to obtain the second hardware parameter information of the projection device by projection device, and obtain terminal
The first hardware parameter information, make projection device to the first hardware parameter information of terminal and the second hardware parameter of projection device
Information is handled the power of the decoding capability to determine terminal and projection device.
In the above-mentioned technical solutions, it is preferable that described to be joined according to the first hardware parameter information and second hardware
Number information judges whether the terminal treats the step of data for projection is decoded, and specifically includes:Joined according to first hardware
Number information and the second hardware parameter information calculate the terminal the first hardware weighted value and the projection device second
Hardware weighted value;When the first hardware weighted value is greater than or equal to the second hardware weighted value, then execute described to institute
State the step of data to be projected are decoded;When the first hardware weighted value is less than the second hardware weighted value, then hold
The step of row transmission solves code instruction to the projection device.
In the technical scheme, according to the second hardware parameter information of the first hardware parameter information of terminal and projection device
First hardware weighted value of computing terminal and the second hardware weighted value for calculating projection device, so as to relatively accurately true
Determine the power of the decoding capability of terminal and projection device, and then determination is by terminal or by projection device to number to be projected
According to being decoded.For example, the first hardware parameter information of terminal includes:The working frequency of the central processing unit of terminal is x1, end
The buffer memory capacity of the central processing unit at end is y1, the working frequency of the graphics processor of terminal is z1 and projection device
Two hardware parameter information include:The working frequency of the central processing unit of projection device is the central processing unit of x2, projection device
Buffer memory capacity is y2, the working frequency of the graphics processor of projection device is z2, then can use respectively following formula y1=a ×
F (x1, x2)+b × f (y1, y2)+c × f (z1, z2) and y2=a × f (x1, x2)+b × f (y1, y2)+c × f (z1, z2)
The first hardware weighted value and the second hardware weighted value is calculated, wherein y1 indicates that the first hardware weighted value of terminal, y2 indicate
Second hardware weighted value of projection device, a, b, c indicate the first parameter, the second parameter and third parameter respectively, and work as x1>x2
When, f (x1, x2)=1, otherwise f (x1, x2)=0;Work as y1>When y2, f (y1, y2)=1, otherwise f (y1, y2)=0;Work as z1>z2
When, f (z1, z2)=1, otherwise f (z1, z2)=0, is calculated the first hardware weighted value by above-mentioned formula and the second hardware adds
After weights, if the first hardware weighted value is more than the second hardware weighted value, it is determined that the decoding capability of terminal is stronger, otherwise determines
The decoding capability of projection device is stronger.In addition, when the first hardware weighted value is equal to the second hardware weighted value, treated by terminal
Data for projection is decoded, and is decoded it is of course also possible to treat data for projection by projection device.
In the above-mentioned technical solutions, it is preferable that it is described when the determination result is yes, the data to be projected are decoded
The step of, it specifically includes:The data to be projected are obtained, and decode the data to be projected to obtain the data to be projected
Projection signal;The projection signal of the data to be projected is sent to the projection device, for the projection device pair
The data to be projected are projected.
In the technical scheme, however, it is determined that the decoding capability of terminal is higher than the decoding capability of projection device, then by terminal solution
The projection signal of the data to be projected obtained after code is sent to projection device, so that data for projection carries out treating data for projection progress
Projection, the then advantage for making full use of the decoding capability of terminal strong, to be decoded raising by the stronger terminal of decoding capability
Decoding efficiency, so that projection device is more smooth when being projected.
In the above-mentioned technical solutions, it is preferable that the transmission solves code instruction to the projection device, so that the projection is set
It the standby the step of data to be projected are decoded, specifically includes:When the data to be projected store in the terminal,
The data to be projected are sent to the projection device, and send the solution code instruction to the projection device, for the throwing
Shadow equipment is decoded the data to be projected to project the data to be projected.
In the technical scheme, however, it is determined that the decoding capability of projection device is higher than the decoding capability of terminal, then sends decoding
Instruction obtains the projection signal of data to be projected to projection device, so that projection device decodes data to be projected, to treat
Data for projection is projected, and is avoided and is decoded using the low terminal-pair of decoding capability data to be projected, to improve pair
The decoding efficiency of data to be projected, so that projection device is more smooth when being projected.
In the above-mentioned technical solutions, it is preferable that the first hardware parameter information and the second hardware parameter packet
It includes:The parameter information of central processing unit and/or the parameter information of graphics processor.
In the technical scheme, the first hardware parameter information and the second hardware parameter information include but not limited to following one
Or combinations thereof:The parameter information of central processing unit (CPU, Central Processing Unit), graphics processor (GPU,
Graphics Processing Unit) parameter information, so as to according to the first hardware parameter information and the second hardware ginseng
Number information accurately determines the decoding capability of terminal and projection device.Wherein, the parameter information of central processing unit includes but unlimited
In:The parameter information of the dominant frequency size and/or cache size of central processing unit, graphics processor includes but not limited to following one
Or combinations thereof:The tinter frequency of graphics processor, the video memory bit wide of graphics processor, working frequency of graphics processor etc..
The second aspect of the present invention proposes a kind of processing unit of data for projection, is used for terminal, including:Acquiring unit,
The first hardware parameter information for obtaining the terminal, and obtain the second hardware of the projection device being connected with the terminal
Parameter information;Judging unit, for being judged whether according to the first hardware parameter information and the second hardware parameter information
Data for projection is treated to be decoded;Execution unit, for when the determination result is yes, being decoded to the data to be projected;
Otherwise, solution code instruction is sent to the projection device, so that the projection device is decoded the data to be projected.
In the technical scheme, pass through the second hardware parameter information of the first hardware parameter information of terminal and projection device
Come determine terminal and projection device decoding capability power, if the decoding capability of terminal by force if determine terminal-pair number to be projected
It according to being decoded, is decoded otherwise, it determines treating data for projection by projection device, to adequately take into account terminal and throwing
The decoding capability of shadow equipment determines that treating data for projection by terminal or projection device is decoded, and not only improves as a result,
The decoding efficiency for treating data for projection also improves the fluency of data to be projected in projection, and then promotes user experience.
It is of course also possible to obtain the second hardware parameter information of the projection device by projection device, and obtain terminal
The first hardware parameter information, make projection device to the first hardware parameter information of terminal and the second hardware parameter of projection device
Information is handled the power of the decoding capability to determine terminal and projection device.
In the above-mentioned technical solutions, it is preferable that the judging unit includes:Computing unit, for hard according to described first
Part parameter information and the second hardware parameter information calculate the first hardware weighted value of the terminal and the projection device
Second hardware weighted value;The judging unit is specifically used for, when the first hardware weighted value is greater than or equal to described second firmly
When part weighted value, then described the step of being decoded to the data to be projected is executed, when the first hardware weighted value is less than
When the second hardware weighted value, then the step of transmission solves code instruction to the projection device is executed.
In the technical scheme, according to the second hardware parameter information of the first hardware parameter information of terminal and projection device
First hardware weighted value of computing terminal and the second hardware weighted value for calculating projection device, so as to relatively accurately true
Determine the power of the decoding capability of terminal and projection device, and then can be to determine according to the decoding capability of terminal and projection device
Still data for projection is treated by terminal by projection device to be decoded.For example, the first hardware parameter information of terminal includes:
The working frequency of the central processing unit of terminal is x1, the buffer memory capacity of the central processing unit of terminal is y1, the graphics process of terminal
The working frequency of device is z1 and the second hardware parameter information of projection device includes:The work of the central processing unit of projection device
Working frequency is x2, the buffer memory capacity of the central processing unit of projection device is y2, the working frequency of the graphics processor of projection device
For z2, then following formula y1=a × f (x1, x2)+b × f (y1, y2)+c × f (z1, z2) and y2=a can be used respectively
The first hardware weighted value and the second hardware weighted value is calculated in × f (x1, x2)+b × f (y1, y2)+c × f (z1, z2),
In, y1 indicates that the first hardware weighted value of terminal, y2 indicate that the second hardware weighted value of projection device, a, b, c indicate the respectively
One parameter, the second parameter and third parameter, and work as x1>When x2, f (x1, x2)=1, otherwise f (x1, x2)=0;Work as y1>When y2, f
(y1, y2)=1, otherwise f (y1, y2)=0;Work as z1>When z2, f (z1, z2)=1, otherwise f (z1, z2)=0, passes through above-mentioned formula
After the first hardware weighted value and the second hardware weighted value is calculated, if the first hardware weighted value is more than the second hardware weighted value,
It then determines that the decoding capability of terminal is stronger, otherwise determines that the decoding capability of projection device is stronger.In addition, when the first hardware weights
When value is equal to the second hardware weighted value, it is decoded by terminal-pair data to be projected, it is of course also possible to pass through projection device pair
Data to be projected are decoded.
In the above-mentioned technical solutions, it is preferable that the execution unit includes:Decoding unit, it is described to be projected for obtaining
Data, and the data to be projected are decoded to obtain the projection signal of the data to be projected;First transmission unit is used for institute
The projection signal for stating data to be projected is sent to the projection device, so that the projection device is to the data to be projected
It is projected.
In the technical scheme, however, it is determined that the decoding capability of terminal is higher than the decoding capability of projection device, then by terminal solution
The projection signal of the data to be projected obtained after code is sent to projection device, so that data for projection carries out treating data for projection progress
Projection, the then advantage for making full use of the decoding capability of terminal strong, to be decoded raising by the stronger terminal of decoding capability
Decoding efficiency, so that projection device is more smooth when being projected.
In the above-mentioned technical solutions, it is preferable that the execution unit includes:Second transmission unit, for waiting throwing when described
When shadow data are stored in the terminal, the data to be projected are sent to the projection device, and send the solution code instruction
To the projection device, the data to be projected are carried out so that the projection device is decoded the data to be projected
Projection.
In the technical scheme, however, it is determined that the decoding capability of projection device is higher than the decoding capability of terminal, then sends decoding
Instruction obtains the projection signal of data to be projected to projection device, so that projection device decodes data to be projected, to treat
Data for projection is projected, and is avoided and is decoded using the low terminal-pair of decoding capability data to be projected, to improve pair
The decoding efficiency of data to be projected, so that projection device is more smooth when being projected.
In the above-mentioned technical solutions, it is preferable that the first hardware parameter information and the second hardware parameter packet
It includes:The parameter information of central processing unit and/or the parameter information of graphics processor.
In the technical scheme, the first hardware parameter information and the second hardware parameter information include but not limited to following one
Or combinations thereof:The parameter information of central processing unit (CPU, Central Processing Unit), graphics processor (GPU,
Graphics Processing Unit) parameter information, so as to according to the first hardware parameter information and the second hardware ginseng
Number information accurately determines the decoding capability of terminal and projection device.Wherein, the parameter information of central processing unit includes but unlimited
In:The parameter information of the dominant frequency size and/or cache size of central processing unit, graphics processor includes but not limited to following one
Or combinations thereof:The tinter frequency of graphics processor, the video memory bit wide of graphics processor, working frequency of graphics processor etc..
The third aspect of the present invention proposes the data for projection described in any one of a kind of terminal, including above-mentioned technical proposal
Processing unit, therefore, which has identical with the processing unit of data for projection described in any one of above-mentioned technical proposal
Technique effect, details are not described herein.
The fourth aspect of the present invention proposes the end described in any one of a kind of optical projection system, including above-mentioned technical proposal
End;And the projection device, it is connected to the terminal, therefore, which has and any one of above-mentioned technical proposal
The identical technique effect of the terminal, details are not described herein.
Technical solution through the invention can improve the decoding efficiency for treating data for projection, and improve number to be projected
According to the fluency in projection, to promote user experience.
Description of the drawings
Fig. 1 shows the process flow schematic diagram of data for projection according to an embodiment of the invention;
Fig. 2 shows the flow diagrams of the processing method of data for projection according to another embodiment of the invention;
Fig. 3 shows the structural schematic diagram of the processing unit of data for projection according to an embodiment of the invention;
Fig. 4 shows the structural schematic diagram of terminal according to an embodiment of the invention;
Fig. 5 shows the structural schematic diagram of optical projection system according to an embodiment of the invention;
Fig. 6 shows the structural schematic diagram of optical projection system according to another embodiment of the invention.
Specific implementation mode
It is below in conjunction with the accompanying drawings and specific real in order to be more clearly understood that the above objects, features and advantages of the present invention
Mode is applied the present invention is further described in detail.It should be noted that in the absence of conflict, the implementation of the application
Feature in example and embodiment can be combined with each other.
Many details are elaborated in the following description to facilitate a thorough understanding of the present invention, still, the present invention may be used also
To be implemented different from other modes described here using other, therefore, protection scope of the present invention is not by described below
Specific embodiment limitation.
Fig. 1 shows the process flow schematic diagram of data for projection according to an embodiment of the invention.
As shown in Figure 1, the processing method of data for projection according to an embodiment of the invention, is used for terminal, including:
Step 102, the first hardware parameter information of the terminal is obtained, and obtains the projection being connected with the terminal and sets
The second standby hardware parameter information;
Step 104, judge whether to treat throwing according to the first hardware parameter information and the second hardware parameter information
Shadow data are decoded;
Step 106, when the determination result is yes, the data to be projected are decoded;Otherwise, solution code instruction is sent extremely
The projection device, so that the projection device is decoded the data to be projected.
In the technical scheme, pass through the second hardware parameter information of the first hardware parameter information of terminal and projection device
Come determine terminal and projection device decoding capability power, if the decoding capability of terminal by force if determine terminal-pair number to be projected
It according to being decoded, is decoded otherwise, it determines treating data for projection by projection device, to adequately take into account terminal and throwing
The decoding capability of shadow equipment determines that treating data for projection by terminal or projection device is decoded, and not only improves as a result,
The decoding efficiency for treating data for projection also improves the fluency of data to be projected in projection, and then promotes user experience.
It is of course also possible to obtain the second hardware parameter information of the projection device by projection device, and obtain terminal
The first hardware parameter information, make projection device to the first hardware parameter information of terminal and the second hardware parameter of projection device
Information is handled the power of the decoding capability to determine terminal and projection device.
In the above-mentioned technical solutions, it is preferable that step 104, specifically include:According to the first hardware parameter information and institute
It states the second hardware parameter information and calculates the first hardware weighted value of the terminal and the second hardware weighted value of the projection device;
When the first hardware weighted value is greater than or equal to the second hardware weighted value, then execute described to the data to be projected
The step of being decoded;When the first hardware weighted value is less than the second hardware weighted value, then the transmission solution is executed
The step of code instruction to projection device.
In the technical scheme, according to the second hardware parameter information of the first hardware parameter information of terminal and projection device
First hardware weighted value of computing terminal and the second hardware weighted value for calculating projection device, so as to relatively accurately true
Determine the power of the decoding capability of terminal and projection device, and then determination is by terminal or by projection device to number to be projected
According to being decoded.For example, the first hardware parameter information of terminal includes:The working frequency of the central processing unit of terminal is x1, end
The buffer memory capacity of the central processing unit at end is y1, the working frequency of the graphics processor of terminal is z1 and projection device
Two hardware parameter information include:The working frequency of the central processing unit of projection device is the central processing unit of x2, projection device
Buffer memory capacity is y2, the working frequency of the graphics processor of projection device is z2, then can use respectively following formula y1=a ×
F (x1, x2)+b × f (y1, y2)+c × f (z1, z2) and y2=a × f (x1, x2)+b × f (y1, y2)+c × f (z1, z2)
The first hardware weighted value and the second hardware weighted value is calculated, wherein y1 indicates that the first hardware weighted value of terminal, y2 indicate
Second hardware weighted value of projection device, a, b, c indicate the first parameter, the second parameter and third parameter respectively, and work as x1>x2
When, f (x1, x2)=1, otherwise f (x1, x2)=0;Work as y1>When y2, f (y1, y2)=1, otherwise f (y1, y2)=0;Work as z1>z2
When, f (z1, z2)=1, otherwise f (z1, z2)=0, is calculated the first hardware weighted value by above-mentioned formula and the second hardware adds
After weights, if the first hardware weighted value is more than the second hardware weighted value, it is determined that the decoding capability of terminal is stronger, otherwise determines
The decoding capability of projection device is stronger.In addition, when the first hardware weighted value is equal to the second hardware weighted value, treated by terminal
Data for projection is decoded, and is decoded it is of course also possible to treat data for projection by projection device.
In the above-mentioned technical solutions, it is preferable that it is described when the determination result is yes, the data to be projected are decoded
The step of, it specifically includes:The data to be projected are obtained, and decode the data to be projected to obtain the data to be projected
Projection signal;The projection signal of the data to be projected is sent to the projection device, for the projection device pair
The data to be projected are projected.
In the technical scheme, however, it is determined that the decoding capability of terminal is higher than the decoding capability of projection device, then by terminal solution
The projection signal of the data to be projected obtained after code is sent to projection device, so that data for projection carries out treating data for projection progress
Projection, the then advantage for making full use of the decoding capability of terminal strong, to be decoded raising by the stronger terminal of decoding capability
Decoding efficiency, so that projection device is more smooth when being projected.
In the above-mentioned technical solutions, it is preferable that the transmission solves code instruction to the projection device, so that the projection is set
It the standby the step of data to be projected are decoded, specifically includes:When the data to be projected store in the terminal,
The data to be projected are sent to the projection device, and send the solution code instruction to the projection device, for the throwing
Shadow equipment is decoded the data to be projected to project the data to be projected.
In the technical scheme, however, it is determined that the decoding capability of projection device is higher than the decoding capability of terminal, then sends decoding
Instruction obtains the projection signal of data to be projected to projection device, so that projection device decodes data to be projected, to treat
Data for projection is projected, and is avoided and is decoded using the low terminal-pair of decoding capability data to be projected, to improve pair
The decoding efficiency of data to be projected, so that projection device is more smooth when being projected.
In the above-mentioned technical solutions, it is preferable that the first hardware parameter information and the second hardware parameter packet
It includes:The parameter information of central processing unit and/or the parameter information of graphics processor.
In the technical scheme, the first hardware parameter information and the second hardware parameter information include but not limited to following one
Or combinations thereof:The parameter information of central processing unit (CPU, Central Processing Unit), graphics processor (GPU,
Graphics Processing Unit) parameter information, so as to according to the first hardware parameter information and the second hardware ginseng
Number information accurately determines the decoding capability of terminal and projection device.Wherein, the parameter information of central processing unit includes but unlimited
In:The parameter information of the dominant frequency size and/or cache size of central processing unit, graphics processor includes but not limited to following one
Or combinations thereof:The tinter frequency of graphics processor, the video memory bit wide of graphics processor, working frequency of graphics processor etc..
Fig. 2 shows the flow diagrams of the processing method of data for projection according to another embodiment of the invention.
As shown in Fig. 2, the processing method of data for projection according to another embodiment of the invention, is used for terminal, including:
Step 202, terminal is connected with projection device.
Step 204, the first hardware parameter information of terminal is obtained, and obtains the second hardware information of projection device.
Step 206, throwing is treated according to the distribution of the second hardware information of the first hardware parameter information of terminal and projection device
The decoded task that shadow data carry out determines the decoding capability of terminal and projection device, thrown when the decoding capability of terminal is more than
It when the decoding capability of shadow equipment, determines that terminal-pair data to be projected are decoded, otherwise determines that projection device treats data for projection
It is decoded.
Step 208, judge whether that treating data for projection is decodedJudge whether by terminal-pair data to be projected into
Row decoding, judging result are when being, to enter step 210, otherwise enter step 214.
Step 210, however, it is determined that when being decoded by terminal-pair data to be projected, that is, determine that the decoding capability of terminal is more than
The decoding capability of projection device is treated data for projection and is decoded, to obtain the projection signal of data to be projected.
Step 212, the projection signal for the data to be projected that decoding obtains is sent to projection device, for projection device root
It is projected according to the projection signal for carrying out self terminal.
Step 214, however, it is determined that when treating data for projection by projection device and being decoded, that is, determine the decoding of projection device
Ability be more than terminal decoding capability, data to be projected are sent to projection device, for projection device treat data for projection into
Row decoding is to realize the projection for treating data for projection.
Fig. 3 shows the structural schematic diagram of the processing unit of data for projection according to an embodiment of the invention.
As shown in figure 3, the processing unit 300 of data for projection according to an embodiment of the invention, is used for terminal, packet
It includes:Acquiring unit 302, the first hardware parameter information for obtaining the terminal, and obtain the throwing being connected with the terminal
Second hardware parameter information of shadow equipment;Judging unit 304 is used for according to the first hardware parameter information and described second firmly
Part parameter information judges whether that treating data for projection is decoded;Execution unit 306 is used for when the determination result is yes, to institute
Data to be projected are stated to be decoded;Otherwise, solution code instruction is sent to the projection device, so that the projection device is waited for described
Data for projection is decoded.
In the technical scheme, pass through the second hardware parameter information of the first hardware parameter information of terminal and projection device
Come determine terminal and projection device decoding capability power, if the decoding capability of terminal by force if determine terminal-pair number to be projected
It according to being decoded, is decoded otherwise, it determines treating data for projection by projection device, to adequately take into account terminal and throwing
The decoding capability of shadow equipment determines that treating data for projection by terminal or projection device is decoded, and not only improves as a result,
The decoding efficiency for treating data for projection also improves the fluency of data to be projected in projection, and then promotes user experience.
It is of course also possible to obtain the second hardware parameter information of the projection device by projection device, and obtain terminal
The first hardware parameter information, make projection device to the first hardware parameter information of terminal and the second hardware parameter of projection device
Information is handled the power of the decoding capability to determine terminal and projection device.
In the above-mentioned technical solutions, it is preferable that the judging unit 304 includes:Computing unit 3042, for according to
First hardware parameter information and the second hardware parameter information calculate the first hardware weighted value of the terminal and the projection
Second hardware weighted value of equipment;The judging unit 304 is specifically used for, when the first hardware weighted value is greater than or equal to institute
When stating the second hardware weighted value, then described the step of being decoded to the data to be projected is executed, when first hardware adds
When weights are less than the second hardware weighted value, then the step of transmission solves code instruction to the projection device is executed.
In the technical scheme, according to the second hardware parameter information of the first hardware parameter information of terminal and projection device
First hardware weighted value of computing terminal and the second hardware weighted value for calculating projection device, so as to relatively accurately true
Determine the power of the decoding capability of terminal and projection device, and then can be to determine according to the decoding capability of terminal and projection device
Still data for projection is treated by terminal by projection device to be decoded.For example, the first hardware parameter information of terminal includes:
The working frequency of the central processing unit of terminal is x1, the buffer memory capacity of the central processing unit of terminal is y1, the graphics process of terminal
The working frequency of device is z1 and the second hardware parameter information of projection device includes:The work of the central processing unit of projection device
Working frequency is x2, the buffer memory capacity of the central processing unit of projection device is y2, the working frequency of the graphics processor of projection device
For z2, then following formula y1=a × f (x1, x2)+b × f (y1, y2)+c × f (z1, z2) and y2=a can be used respectively
The first hardware weighted value and the second hardware weighted value is calculated in × f (x1, x2)+b × f (y1, y2)+c × f (z1, z2),
In, y1 indicates that the first hardware weighted value of terminal, y2 indicate that the second hardware weighted value of projection device, a, b, c indicate the respectively
One parameter, the second parameter and third parameter, and work as x1>When x2, f (x1, x2)=1, otherwise f (x1, x2)=0;Work as y1>When y2, f
(y1, y2)=1, otherwise f (y1, y2)=0;Work as z1>When z2, f (z1, z2)=1, otherwise f (z1, z2)=0, passes through above-mentioned formula
After the first hardware weighted value and the second hardware weighted value is calculated, if the first hardware weighted value is more than the second hardware weighted value,
It then determines that the decoding capability of terminal is stronger, otherwise determines that the decoding capability of projection device is stronger.In addition, when the first hardware weights
When value is equal to the second hardware weighted value, it is decoded by terminal-pair data to be projected, it is of course also possible to pass through projection device pair
Data to be projected are decoded.
In the above-mentioned technical solutions, it is preferable that the execution unit 306 includes:Decoding unit 3062, it is described for obtaining
Data to be projected, and the data to be projected are decoded to obtain the projection signal of the data to be projected;First transmission unit
3064, for the projection signal of the data to be projected to be sent to the projection device, for the projection device pair
The data to be projected are projected.
In the technical scheme, however, it is determined that the decoding capability of terminal is higher than the decoding capability of projection device, then by terminal solution
The projection signal of the data to be projected obtained after code is sent to projection device, so that data for projection carries out treating data for projection progress
Projection, the then advantage for making full use of the decoding capability of terminal strong, to be decoded raising by the stronger terminal of decoding capability
Decoding efficiency, so that projection device is more smooth when being projected.
In the above-mentioned technical solutions, it is preferable that the execution unit 306 includes:Second transmission unit 3066, for working as institute
When stating data to be projected and storing in the terminal, the data to be projected are sent to the projection device, and send the solution
Code instruction is to the projection device, so that the projection device is decoded to the number to be projected the data to be projected
According to being projected.
In the technical scheme, however, it is determined that the decoding capability of projection device is higher than the decoding capability of terminal, then sends decoding
Instruction obtains the projection signal of data to be projected to projection device, so that projection device decodes data to be projected, to treat
Data for projection is projected, and is avoided and is decoded using the low terminal-pair of decoding capability data to be projected, to improve pair
The decoding efficiency of data to be projected, so that projection device is more smooth when being projected.
In the above-mentioned technical solutions, it is preferable that the first hardware parameter information and the second hardware parameter packet
It includes:The parameter information of central processing unit and/or the parameter information of graphics processor.
In the technical scheme, the first hardware parameter information and the second hardware parameter information include but not limited to following one
Or combinations thereof:The parameter information of central processing unit (CPU, Central Processing Unit), graphics processor (GPU,
Graphics Processing Unit) parameter information, so as to according to the first hardware parameter information and the second hardware ginseng
Number information accurately determines the decoding capability of terminal and projection device.Wherein, the parameter information of central processing unit includes but unlimited
In:The parameter information of the dominant frequency size and/or cache size of central processing unit, graphics processor includes but not limited to following one
Or combinations thereof:The tinter frequency of graphics processor, the video memory bit wide of graphics processor, working frequency of graphics processor etc..
Fig. 4 shows the structural schematic diagram of terminal according to an embodiment of the invention.
As shown in figure 4, terminal 400 according to an embodiment of the invention, including any one of above-mentioned technical proposal institute
The processing unit 300 for the data for projection stated, therefore, the terminal 400 have and any one of above-mentioned technical proposal described in projection
The 300 identical technique effect of processing unit of data, details are not described herein.
Fig. 5 shows the structural schematic diagram of optical projection system according to an embodiment of the invention.
As shown in figure 5, optical projection system 500 according to an embodiment of the invention, including in above-mentioned technical proposal it is any
Terminal 400 (such as mobile phone) described in;And the projection device 502 (such as projecting apparatus), it is connected to the terminal 400,
Therefore, the optical projection system 500 have and any one of above-mentioned technical proposal described in 400 identical technique effect of terminal, herein
It repeats no more.
Fig. 6 shows the structural schematic diagram of optical projection system according to another embodiment of the invention.
As shown in fig. 6, optical projection system 600 according to another embodiment of the invention, the optical projection system 600 include:Eventually
End 602 and projection device 604, wherein terminal 602 includes:Performance evaluation module 6022, decoding handover module 6024, resource are distinguished
Know module 6026, performance evaluation module 6022 further includes:It collects information unit 60222, analyze and determine unit 60224, at distribution
Manage unit 60226.When terminal 602 is connected with projection device 604, the collection information unit in performance evaluation module 6022
60222 the first hardware parameter information for obtaining terminal 602, and the second hardware parameter information of projection device 604 is obtained,
Analyze and determine that unit 60224 is used to join according to the first hardware parameter information of terminal 602 and the second hardware of projection device 604
Second hardware weighted value of the first hardware weighted value and projection device 604 of number information computing terminal 602, and the first hardware is added
Weights are compared with the second hardware weighted value, and allocation processing unit 60226 for determining 602 He of terminal according to the result of the comparison
The power of the decoding capability of projection device 604.Resource identification module 6026 treats throwing for detecting data to be projected when detecting
When shadow data are projected, solution code instruction is sent to decoding handover module 6024, decoding handover module 6024 is for receiving
When to the solution code instruction for recognizing module 6026 from resource, really according to the power of the decoding capability of terminal 602 and projection device 604
It is fixed whether the data to be projected in terminal 602 to be sent to projection device 604, specifically, when the decoding capability for determining terminal 602
Qiang Shi, terminal-pair data to be projected are decoded, when determining that the decoding capability of projection device 604 is strong, by waiting in terminal 602
Data for projection is sent to projection device 604, and treating data for projection for projection device 604 is decoded.
Technical scheme of the present invention is described in detail above in association with attached drawing, the decoding effect for treating data for projection can be improved
Rate, and fluency of the data to be projected in projection is improved, to promote user experience.
In the present invention, term " first ", " second " are only used for the purpose described, are not understood to indicate or imply phase
To importance;Term " multiple " indicates two or more;Term " connected " etc. shall be understood in a broad sense, for example, it may be
It is connected directly, it can also be indirectly connected through an intermediary.It for the ordinary skill in the art, can be according to specific
Situation understands the concrete meaning of above-mentioned term in the present invention.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, any made by repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.
Claims (10)
1. a kind of processing method of data for projection is used for terminal, which is characterized in that including:
The first hardware parameter information of the terminal is obtained, and obtains the second hardware of the projection device being connected with the terminal
Parameter information;
Judge whether that treating data for projection is solved according to the first hardware parameter information and the second hardware parameter information
Code;
When the determination result is yes, the data to be projected are decoded;Otherwise, solution code instruction to the projection is sent to set
It is standby, so that the projection device is decoded the data to be projected;
Wherein, the first hardware parameter information and the second hardware parameter information include:The parameter information of central processing unit
And/or the parameter information of graphics processor.
2. the processing method of data for projection according to claim 1, which is characterized in that described to be joined according to first hardware
Number information and the second hardware parameter information judge whether the terminal treats the step of data for projection is decoded, specific to wrap
It includes:
The first hardware weighting of the terminal is calculated according to the first hardware parameter information and the second hardware parameter information
Second hardware weighted value of value and the projection device;
When the first hardware weighted value is greater than or equal to the second hardware weighted value, then execute described to described to be projected
The step of data are decoded;
When the first hardware weighted value is less than the second hardware weighted value, then transmissions solution code instruction is executed to described
The step of projection device.
3. the processing method of data for projection according to claim 2, which is characterized in that it is described when the determination result is yes,
The step of being decoded to the data to be projected, specifically includes:
The data to be projected are obtained, and decode the data to be projected to obtain the projection signal of the data to be projected;
The projection signal of the data to be projected is sent to the projection device, so that the projection device is waited for described
Data for projection is projected.
4. the processing method of data for projection according to claim 2, which is characterized in that the transmission solves code instruction to described
Projection device specifically includes the step of being decoded to the data to be projected for the projection device:
When the data to be projected store in the terminal, the data to be projected are sent to the projection device, concurrently
Send the solution code instruction to the projection device, so that the projection device is decoded to described the data to be projected
Data to be projected are projected.
5. a kind of processing unit of data for projection is used for terminal, which is characterized in that including:
Acquiring unit, the first hardware parameter information for obtaining the terminal, and obtain the projection being connected with the terminal
Second hardware parameter information of equipment;
Judging unit, for judging whether to treat throwing according to the first hardware parameter information and the second hardware parameter information
Shadow data are decoded;
Execution unit, for when the determination result is yes, being decoded to the data to be projected;Otherwise, solution code instruction is sent
To the projection device, so that the projection device is decoded the data to be projected;
Wherein, the first hardware parameter information and the second hardware parameter information include:The parameter information of central processing unit
And/or the parameter information of graphics processor.
6. the processing unit of data for projection according to claim 5, which is characterized in that the judging unit includes:
Computing unit, for calculating the terminal according to the first hardware parameter information and the second hardware parameter information
Second hardware weighted value of the first hardware weighted value and the projection device;
The judging unit is specifically used for, when the first hardware weighted value is greater than or equal to the second hardware weighted value,
Described the step of being decoded to the data to be projected is then executed,
When the first hardware weighted value is less than the second hardware weighted value, then transmissions solution code instruction is executed to described
The step of projection device.
7. the processing unit of data for projection according to claim 6, which is characterized in that the execution unit includes:
Decoding unit for obtaining the data to be projected, and decodes the data to be projected to obtain the data to be projected
Projection signal;
First transmission unit, for the projection signal of the data to be projected to be sent to the projection device, for institute
Projection device is stated to project the data to be projected.
8. the processing unit of data for projection according to claim 6, which is characterized in that the execution unit includes:
Second transmission unit, for when the data to be projected store in the terminal, sending the data to be projected extremely
The projection device, and the solution code instruction is sent to the projection device, so that the projection device is to the number to be projected
The data to be projected are projected according to being decoded.
9. a kind of terminal, which is characterized in that including:The processing of data for projection as described in any one of claim 5 to 8 fills
It sets.
10. a kind of optical projection system, which is characterized in that including:
Terminal as claimed in claim 9;And
The projection device is connected to the terminal.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510417470.2A CN105630438B (en) | 2015-07-15 | 2015-07-15 | Processing method, processing unit, terminal and the optical projection system of data for projection |
PCT/CN2015/100209 WO2017008457A1 (en) | 2015-07-15 | 2015-12-31 | Projection data processing method and processing device, terminal, and projection system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510417470.2A CN105630438B (en) | 2015-07-15 | 2015-07-15 | Processing method, processing unit, terminal and the optical projection system of data for projection |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105630438A CN105630438A (en) | 2016-06-01 |
CN105630438B true CN105630438B (en) | 2018-10-26 |
Family
ID=56045434
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510417470.2A Active CN105630438B (en) | 2015-07-15 | 2015-07-15 | Processing method, processing unit, terminal and the optical projection system of data for projection |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105630438B (en) |
WO (1) | WO2017008457A1 (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101470336A (en) * | 2007-12-25 | 2009-07-01 | 上海晨兴电子科技有限公司 | Projection display apparatus and its projection method |
CN102833519A (en) * | 2011-06-14 | 2012-12-19 | 华为终端有限公司 | Method, device and system for adaption processing on video image |
JP5178549B2 (en) * | 2009-01-21 | 2013-04-10 | キヤノン株式会社 | Information notification method and program |
CN103338221A (en) * | 2013-05-20 | 2013-10-02 | 珠海市魅族科技有限公司 | Data transmission method, data reception method, and terminal |
CN104038741A (en) * | 2014-06-17 | 2014-09-10 | 南京物联传感技术有限公司 | Projection method for video data |
CN104184983A (en) * | 2013-05-21 | 2014-12-03 | 中兴通讯股份有限公司 | Conference terminal and service processing method thereof |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
GB0027285D0 (en) * | 2000-11-08 | 2000-12-27 | Ocellar Ltd | Image display apparatus |
CN103248758A (en) * | 2013-04-03 | 2013-08-14 | 广东欧珀移动通信有限公司 | Mobile phone provided with projection equipment control function and projection equipment control method thereof |
CN203225813U (en) * | 2013-05-08 | 2013-10-02 | 惠州市米琦通信设备有限公司 | Portable projection mobile phone |
CN203482315U (en) * | 2013-06-21 | 2014-03-12 | 东莞市金唐电子科技有限公司 | Mobile phone projector |
-
2015
- 2015-07-15 CN CN201510417470.2A patent/CN105630438B/en active Active
- 2015-12-31 WO PCT/CN2015/100209 patent/WO2017008457A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101470336A (en) * | 2007-12-25 | 2009-07-01 | 上海晨兴电子科技有限公司 | Projection display apparatus and its projection method |
JP5178549B2 (en) * | 2009-01-21 | 2013-04-10 | キヤノン株式会社 | Information notification method and program |
CN102833519A (en) * | 2011-06-14 | 2012-12-19 | 华为终端有限公司 | Method, device and system for adaption processing on video image |
CN103338221A (en) * | 2013-05-20 | 2013-10-02 | 珠海市魅族科技有限公司 | Data transmission method, data reception method, and terminal |
CN104184983A (en) * | 2013-05-21 | 2014-12-03 | 中兴通讯股份有限公司 | Conference terminal and service processing method thereof |
CN104038741A (en) * | 2014-06-17 | 2014-09-10 | 南京物联传感技术有限公司 | Projection method for video data |
Also Published As
Publication number | Publication date |
---|---|
CN105630438A (en) | 2016-06-01 |
WO2017008457A1 (en) | 2017-01-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11071116B2 (en) | Coding/decoding method, apparatus, and device | |
Mukherjee et al. | A power and latency aware cloudlet selection strategy for multi-cloudlet environment | |
CN104335497B (en) | Method and device for automatic connection of bluetooth human interface devices | |
TWI662850B (en) | Device-to-device (d2d) transmit behavior | |
Ragona et al. | Energy-efficient computation offloading for wearable devices and smartphones in mobile cloud computing | |
CN105072670B (en) | WiFi hotspot sharing method and electronic equipment | |
RU2012151940A (en) | METHOD AND DEVICE FOR DETERMINING OPPORTUNITIES OF PROVIDING SERVICES BY ACCESS POINT | |
CN109495880A (en) | Data transmission method and relevant apparatus | |
CN110351007A (en) | A kind of ascending control information method of sending and receiving and device | |
CN106658756A (en) | Method and device for recognizing connection between terminal device and hotspot | |
Tianze et al. | Consumption considered optimal scheme for task offloading in mobile edge computing | |
WO2019051798A1 (en) | Resource allocation method and apparatus, and computer storage medium | |
CN108965112A (en) | The method and device of file transmission is carried out using instant message applications | |
CN106375382B (en) | Method, system, control server and the node client of data distribution | |
CN105630438B (en) | Processing method, processing unit, terminal and the optical projection system of data for projection | |
US20220150816A1 (en) | Upf positioning for mobile edge computing services | |
CN108521446B (en) | Scheduling method, device and equipment of cloud computing resources and storage medium | |
US20220382821A1 (en) | Method for recommending social user, electronic device and non-transitory computer-readable storage medium | |
TW201413580A (en) | Computer system and data processing method using random number generator | |
CN109661008A (en) | Cloud data center high efficiency data capture method and computer readable storage medium | |
US10237005B2 (en) | Apparatus and method in radio communications system | |
Kristiansen et al. | On the forwarding capability of mobile handhelds for video streaming over manets | |
KR101785873B1 (en) | Method and apparatus for handover in mobile communication system | |
WO2012023005A1 (en) | Method and apparatus for providing for multiplexed use of a resource on a transmission medium | |
CN109729558A (en) | Residence reselecting, system and terminal in multifrequency networking |
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 |