CN106937100A - A kind of video image projecting method and system based on Miracast - Google Patents
A kind of video image projecting method and system based on Miracast Download PDFInfo
- Publication number
- CN106937100A CN106937100A CN201710058037.3A CN201710058037A CN106937100A CN 106937100 A CN106937100 A CN 106937100A CN 201710058037 A CN201710058037 A CN 201710058037A CN 106937100 A CN106937100 A CN 106937100A
- Authority
- CN
- China
- Prior art keywords
- miracast
- screen
- image data
- receiving terminals
- effective coverage
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/12—Picture reproducers
- H04N9/31—Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
-
- 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
- G06F3/1454—Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N9/00—Details of colour television systems
- H04N9/12—Picture reproducers
- H04N9/31—Projection devices for colour picture display, e.g. using electronic spatial light modulators [ESLM]
- H04N9/3179—Video signal processing therefor
- H04N9/3188—Scale or resolution adjustment
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (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)
Abstract
The present invention relates to multimedia overhead projector technical field, more particularly to a kind of video image projecting method and system based on Miracast.The video image projecting method based on Miracast, including step:Miracast transmitting terminals send screen parameter and image data and include to Miracast receiving terminals, the screen parameter:Screen orientation and screen resolution;Miracast receiving terminals judge whether the screen orientation of Miracast transmitting terminals is vertically with the screen orientation of Miracast receiving terminals, if being vertical, then Miracast receiving terminals intercept the effective coverage of the image data, and screen parameter and the screen parameter of Miracast receiving terminals according to Miracast transmitting terminals amplifies and move the effective coverage of the image data.The screen orientation for solving Miracast transmitting terminals is vertical, it is impossible to which vertical image data is projected into vertical Miracast receiving terminals and full screen display, it is impossible to the projection screen on normal viewing Miracast receiving terminals, it is impossible to meet the problem of projection requirement.
Description
Technical field
The present invention relates to multimedia overhead projector technical field, more particularly to a kind of video image projecting method based on Miracast and
System.
Background technology
As shadow casting technique develops, mirror image technology is also increasingly popularized, and mirror image technology is that DLNA is released
Technical scheme or virtual network computing obscure.Technology related to mirror image technology at present mainly has apple (Apple)
AirPlay Mirroring, the WiGig of AWD3.0, WiGig alliance of WiDi, AMD of Intel (Intel), brilliant picture
UltraGig (Wireless HD), the wireless digital home interface (WHDI) of WHDI alliances, the online alliance of automobile
MirrorLink, and Miracast.
Wherein Miracast is one of current technology being most expected, by Wi-Fi CERTIFIED Wi-Fi
DirectTMConnection is formed, without accessing any Wi-Fi network.In Miracast specifications, equipment is divided into two classes, a class claims
It is Miracast transmitting terminals, another kind of is Miracast receiving terminals.Miracast transmitting terminals (such as smart mobile phone, panel computer) can
So that screen wirelessly to be projected Miracast receiving terminals.At present, because no matter the screen orientation of Miracast transmitting terminals is for laterally
Or vertical, after its projection conversion is all lateral resolution image, therefore it can normally project horizontal screen
Miracast receiving terminals, such as smart mobile phone, panel computer equipment.But, when the screen orientation of Miracast transmitting terminals is perpendicular
Xiang Shi, it is impossible to which vertical image data is projected into vertical Miracast receiving terminals and full screen display, leads to not normal viewing
Projection screen on Miracast receiving terminals, it is impossible to meet projection requirement.
The content of the invention
For this reason, it may be necessary to provide a kind of video image projecting method based on Miracast and system, it is used to solve Miracast hairs
Sending end and Miracast receiving terminals are vertically, the vertical image of Miracast transmitting terminals cannot project Miracast receiving terminals and
The problem of full screen display.
To achieve the above object, a kind of video image projecting method based on Miracast, particular technique side are inventor provided
Case is as follows:
A kind of video image projecting method based on Miracast, including step:Miracast transmitting terminals send screen parameter and
Image data includes to Miracast receiving terminals, the screen parameter:Screen orientation and screen resolution;Miracast receiving terminals
Judge whether the screen orientation of Miracast transmitting terminals is vertically with the screen orientation of Miracast receiving terminals, if being perpendicular
To, then Miracast receiving terminals intercept the effective coverage of the image data, and according to the screen parameter of Miracast transmitting terminals
Amplify and move the effective coverage of the image data with the screen parameter of Miracast receiving terminals.
Further, described " then Miracast receiving terminals intercept the effective coverage of the image data ", including step:Root
The height of the effective coverage of the image data is calculated according to the screen resolution of Miracast receiving terminals, the Miracast is received
The screen resolution at end is w*h, then the height of the effective coverage is h2=h* (h/w);According to the effective of the image data
The ratio of width to height of the height in region and the image data calculates the width of the effective coverage of the image data, described
The screen resolution of Miracast transmitting terminals is w1*h1, then the width of the effective coverage is w2=h2* (h1/w1);
Miracast receiving terminals intercept having for the image data according to the height of the effective coverage and the width of the effective coverage
Effect region.
Further, described " and screen parameter and the screen ginseng of Miracast receiving terminals according to Miracast transmitting terminals
Number amplification and the effective coverage of the movement image data ", including step:The display of Miracast receiving terminals is configured to image drawing
Full screen display is stretched, the effective coverage of the image data is amplified to the screen resolution size of Miracast receiving terminals, and mobile
The effective coverage central point of the image data is to Miracast receiving terminal center positions.
Further, described " and screen parameter and the screen ginseng of Miracast receiving terminals according to Miracast transmitting terminals
Number amplification and the effective coverage of the movement image data ", including step:The display of Miracast receiving terminals is configured to image not
Deformation full screen display, the height of the effective coverage that the screen resolution according to Miracast receiving terminals calculates the image data is put
Big coefficient and width amplification coefficient;Take less coefficient in the highly enlarged coefficient and the width amplification coefficient, and according to
The less coefficient amplifies the height and width of the effective coverage of the image data, and the movement image data with multiple
Effective coverage central point to Miracast receiving terminal center positions.
Further, whether Miracast transmitting terminals real-time detection screen orientation changes, if changing, sends screen
Miracast receiving terminals are given in curtain direction;Miracast receiving terminals show according to the screen orientation adjustment image after change.
To achieve the above object, inventor additionally provides a kind of image projection system based on Miracast, particular technique
Scheme is as follows:
A kind of image projection system based on Miracast, including Miracast transmitting terminals and Miracast receiving terminals;Institute
Stating Miracast transmitting terminals is used for:Sending screen parameter and image data includes to Miracast receiving terminals, the screen parameter:
Screen orientation and screen resolution;The Miracast receiving terminals are used for:Judge the screen orientation of Miracast transmitting terminals with
Whether the screen orientation of Miracast receiving terminals is vertically, if being vertical, the Miracast receiving terminals interception image
The effective coverage of data, and the screen parameter of screen parameter according to Miracast transmitting terminals and Miracast receiving terminals amplifies simultaneously
The effective coverage of the movement image data.
Further, the Miracast receiving terminals are used for:Screen resolution according to Miracast receiving terminals calculates institute
The height of the effective coverage of image data is stated, the screen resolution of the Miracast receiving terminals is w*h, then the effective coverage
Height be h2=h* (h/w);The Miracast receiving terminals are additionally operable to:The height of the effective coverage according to the image data
With the width of the effective coverage that the ratio of width to height of the image data calculates the image data, the Miracast transmitting terminals
Screen resolution is w1*h1, then the width of the effective coverage is w2=h2* (h1/w1);The Miracast receiving terminals are also used
In:The width of height and the effective coverage according to the effective coverage intercepts the effective coverage of the image data.
Further, the Miracast receiving terminals are additionally operable to:The display of Miracast receiving terminals is configured to image stretching
Full screen display, the effective coverage of the image data is amplified to the screen resolution size of Miracast receiving terminals, and mobile institute
State the effective coverage central point of image data to Miracast receiving terminal center positions.
Further, the Miracast receiving terminals are additionally operable to:It is constant that the display of Miracast receiving terminals is configured to image
Shape is displayed in full screen, and the screen resolution according to Miracast receiving terminals calculates the highly enlarged of the effective coverage of the image data
Coefficient and width amplification coefficient;Less coefficient in the highly enlarged coefficient and the width amplification coefficient is taken, and according to institute
Height and width that less coefficient amplifies the effective coverage of the image data with multiple are stated, and moves the image data
Effective coverage central point is to Miracast receiving terminal center positions.
Further, Miracast transmitting terminals are additionally operable to:Whether real-time detection screen orientation changes, if becoming
Change, send screen orientation and give Miracast receiving terminals;Miracast receiving terminals are used for:Shadow is adjusted according to the screen orientation after change
As display.
The beneficial effects of the invention are as follows:Miracast receiving terminals according to the screen resolution of Miracast transmitting terminals and
The screen resolution of Miracast receiving terminals, calculates the effective coverage of the image data, and intercepts the image data
Effective coverage, and screen parameter and the screen parameter of Miracast receiving terminals according to Miracast transmitting terminals amplify and move institute
The effective coverage of image data is stated, the vertical screen of Miracast transmitting terminals is wirelessly projected vertical Miracast and connect by realization
Receiving end, and image stretching full screen display and the indeformable full screen display of image can be realized, meet different projection requirements, together
When Miracast receiving terminals can show according to Miracast transmitting terminals screen orientation change adjustment image, it is ensured that normally project.
Brief description of the drawings
Fig. 1 is a kind of flow chart of the video image projecting method based on Miracast described in specific embodiment;
Fig. 2 be specific embodiment described in a kind of video image projecting method based on Miracast in intercept the image number
According to effective coverage flow chart;
Fig. 3 in a kind of video image projecting method based on Miracast described in specific embodiment to move and amplifies described
The flow chart of the effective coverage of image data;
Fig. 4 in a kind of video image projecting method based on Miracast described in specific embodiment to move and amplifies described
The flow chart of the effective coverage of image data;
Fig. 5 is a kind of flow chart of the video image projecting method based on Miracast described in specific embodiment;
Fig. 6 is a kind of schematic diagram of the video image projecting method based on Miracast described in specific embodiment;
Fig. 7 is a kind of module map of the image projection system based on Miracast described in specific embodiment.
Description of reference numerals:
701st, Miracast transmitting terminals,
702nd, Miracast receiving terminals.
Specific embodiment
To describe technology contents, structural feature, the objects and the effects of technical scheme in detail, below in conjunction with specific reality
Apply example and coordinate accompanying drawing to be explained in detail.
Fig. 1 is referred to, in the present embodiment, a kind of video image projecting method based on Miracast comprises the following steps:
Step S101:Miracast transmitting terminals send screen parameter and image data gives Miracast receiving terminals, the screen
Curtain parameter includes:Screen orientation and screen resolution.In the present embodiment, before image projection, Miracast transmitting terminals start
Miracast functions, the Miracast receiving terminals around the scanning of Miracast transmitting terminals, connect certain Miracast for specifying and connect
Receiving end, judges whether successful connection, if being not connected with successfully, repeating attended operation, if successful connection, send the image data and
The screen parameter gives Miracast receiving terminals;Wherein, Miracast receiving terminals start Miracast receive capabilities, and receive
The connection of Miracast transmitting terminals, judges whether successful connection, if being not connected with successfully, repeating to receive the company of Miracast transmitting terminals
Operation is connect, if successful connection, the image data and the screen parameter sent from Miracast transmitting terminals is received.
Step S102:Miracast receiving terminals judge the screen orientation and Miracast receiving terminals of Miracast transmitting terminals
Whether screen orientation is vertically;If not being vertical, the image number that Miracast receiving terminals send to Miracast transmitting terminals
According to image processing is not done, directly display.
If being vertical, execution step S103:Then Miracast receiving terminals intercept the effective coverage of the image data.
Step S104:The screen parameter of screen parameter and Miracast receiving terminals according to Miracast transmitting terminals amplifies simultaneously
The effective coverage of the movement image data.In the present embodiment, Miracast receiving terminals show that configuration can be:Image is stretched
Full screen display and the indeformable full screen display of image, preset different display configurations, and Miracast receiving terminals amplify and move described
The operation of the effective coverage of image data is different, and concrete operation step refers to Fig. 3 and Fig. 4.
In the present embodiment, by the effective coverage of the Miracast receiving terminals interception image data, and according to
The screen parameter of Miracast transmitting terminals and the screen parameter of Miracast receiving terminals amplify and move having for the image data
Effect region, the screen orientation for solving Miracast transmitting terminals is vertical, it is impossible to project vertically vertical image data
Miracast receiving terminals and full screen display, it is impossible to the projection screen on normal viewing Miracast receiving terminals, it is impossible to meet projection
The problem of effect requirements.
Fig. 2 is referred to, in the present embodiment, the screen resolution of the Miracast transmitting terminals is w1*h1, described
The screen resolution of Miracast receiving terminals is w*h, further, in order to intercept the effective coverage of the image data, i.e. institute
State step S103 to implement step as follows:
Step S201:Screen resolution according to Miracast receiving terminals calculates the height of the effective coverage of the image data
Degree:H2=h* (h/w).Connect as width, and according to Miracast using the h in the screen resolution of the Miracast receiving terminals
Screen resolution original the ratio of width to height of receiving end, obtains h2/h=h/w, the h2=h* (h/w) of calculating.
Step S202:The ratio of width to height of the height of the effective coverage according to the image data and the image data is calculated
The width of the effective coverage of the image data:W2=h2* (h1/w1), i.e. w2=h* (h/w) * (h1/w1).
Step S203:Intercept the effective coverage of the image data.Institute is calculated according to the step S201 and step S202
The height and width that obtain intercept the effective coverage of the image data.
It is the above-mentioned algorithm of more visual interpretation, refers to Fig. 6, in the present embodiment, the screen of the Miracast transmitting terminals
Curtain resolution ratio is 1280*720, and the screen resolution of the Miracast receiving terminals is 1920*1080, is calculated according to algorithm above
:
The height of the effective coverage of the image data:H2=1080* (1080/1920)=608 pixel;
The width of the effective coverage of the image data:W2=608* (720/1080)=341 pixel;
According to the height and width of the effective coverage obtained by calculating, as described in Figure 6, interception obtains resolution ratio for 608*341
Image data effective coverage.
Fig. 3 is referred to, in the present embodiment, the screen resolution of the Miracast transmitting terminals is w1*h1, described
The screen resolution of Miracast receiving terminals is w*h, and the highly enlarged coefficient of the effective coverage of the image data is a, described
The width amplification coefficient of the effective coverage of image data is b, further, in order to realize image stretching full screen display (i.e. step
The display settings of Miracast receiving terminals described in S104 are preset as image stretching full screen display), specific implementation step is as follows:
Step S301:Whether the display configuration of Miracast receiving terminals is image stretching full screen display;
If image stretching full screen display, performs step S302:The effective coverage of the image data is amplified to
The screen resolution size of Miracast receiving terminals;Specific highly enlarged coefficient:A=w/h2, width amplification coefficient:B=h/w2.
Step S303:The effective coverage central point of the movement image data is to Miracast receiving terminal center positions;
Specifically to amplification after the effective coverage of the image data move laterally left length:Dw=(h-w2)/2, moves longitudinally upward
Dynamic length dh=(w-h2)/2.
In the present embodiment, in no particular order, step S303 can be in step for the implementation order of step S302 and step S303
Implement before rapid S302, acquired effect is the same, can reach image stretching full-screen effect.
Refering to Fig. 6, algorithm above is embodied as follows in figure 6:
Highly enlarged coefficient:A=1920/608=3.16;
Width amplification coefficient:B=1080/341=3.16;
Move laterally left length:Dw=(1080-341)/2=370 pixels;
Movable length dh=(1920-608)/2=656 pixels longitudinally upward.
Fig. 4 is referred to, in the present embodiment, the screen resolution of the Miracast transmitting terminals is w1*h1, described
The screen resolution of Miracast receiving terminals is w*h, and the highly enlarged coefficient of the effective coverage of the image data is a, described
The width amplification coefficient of the effective coverage of image data is b, further, in order to realize that the indeformable full screen display of image (is walked
Miracast receiving terminals display setting described in rapid S104 is preset as the indeformable full screen display of image), specific implementation step is as follows:
Step S401:Whether the display configuration of Miracast receiving terminals is the indeformable full screen display of image;
If the indeformable full screen display of image, step S402 is performed:Screen resolution meter according to Miracast receiving terminals
Calculate the highly enlarged coefficient a and width amplification coefficient b of the effective coverage of the image data;Specific highly enlarged coefficient:A=w/
H2, width amplification coefficient:B=h/w2;
Step S403:a>b;
If a>B, then perform step S404:The height and width of the effective coverage of the image data amplify b times;
Step S406:The effective coverage central point of the movement image data is to Miracast receiving terminal center positions;
Specifically to amplification after the effective coverage of the image data move laterally left length:Dw=(h-w2)/2, moves longitudinally upward
Dynamic length dh=(b*h2-h2)/2.
If a>B is invalid, then perform step S405:The height and width of the effective coverage of the image data amplify a
Times;
Step S406:The effective coverage central point of the movement image data is to Miracast receiving terminal center positions;
Specifically to amplification after the effective coverage of the image data move laterally left length:Dw=(a*w2-w2)/2, longitudinally upward
Movable length dh=(w-h2)/2.
In the present embodiment, in no particular order, step S406 can be in step for the implementation order of step S404 and step S406
Implement before rapid S404, acquired effect is the same, can reach the indeformable full-screen effect of image;Equally, step
In no particular order, step S406 can be implemented the implementation order of S405 and step S406 before step S405, and acquired effect is
The same, can reach the indeformable full-screen effect of image.
Fig. 5 is referred to, in the present embodiment, further, in order to the screen orientation for realizing Miracast transmitting terminals is sent out
During changing, Miracast receiving terminals meeting adjustment display effect lifts Consumer's Experience, and specific implementation step is as follows:
Step S501:Whether Miracast transmitting terminal real-time detection screen orientations change;
If changing, step S502 is performed:Send screen orientation and give Miracast receiving terminals;
Step S503:Miracast receiving terminals show according to the screen orientation adjustment image after change.
Specifically there are following several situations in the present embodiment:1), the screen orientation of Miracast transmitting terminals becomes from vertical
It is transverse direction, no matter the screen orientation of Miracast receiving terminals is vertical or is transverse direction, and Miracast receiving terminals without locate in addition
Reason image data, directly displays;2), the screen orientation of Miracast transmitting terminals is changed into vertical from horizontal, Miracast receiving terminals
Screen orientation for laterally, Miracast receiving terminals are directly displayed without other process image data;3), Miracast sends
From being laterally changed into vertical, the screen orientation of Miracast receiving terminals is vertical, Miracast receiving terminals interception to the screen orientation at end
The effective coverage of the image data, and screen parameter and the screen ginseng of Miracast receiving terminals according to Miracast transmitting terminals
Number amplification and the effective coverage of the movement image data.
Fig. 7 is referred to, is a kind of module map of the image projection system based on Miracast of the present invention;In present embodiment
In, Miracast transmitting terminals 701 can be smart mobile phone, panel computer, Desktop PC, notebook computer, PDA, intelligent watch, millet
The electronic equipment that TV etc. passes through Miracast certifications, Miracast receiving terminals 702 can for television set, projecting apparatus, display,
Panel computer etc. supports in the reception device of Miracast technologies that user can be the content of Miracast transmitting terminals 701 with nothing
Line mode is projected on Miracast receiving terminals 702.
In the present embodiment, specific technical scheme is realized as follows:
A kind of image projection system based on Miracast, including Miracast transmitting terminals 701 and Miracast receiving terminals
702;
The Miracast transmitting terminals 701 are used for:Screen parameter and image data are sent to Miracast receiving terminals 702,
The screen parameter includes:Screen orientation and screen resolution;
The Miracast receiving terminals 702 are used for:The screen orientation and Miracast for judging Miracast transmitting terminals 701 connect
Whether the screen orientation of receiving end 702 is vertically, if being vertically, Miracast receiving terminals 702 intercept the image data
Effective coverage, and the screen parameter of screen parameter according to Miracast transmitting terminals 701 and Miracast receiving terminals 702 amplifies
And the effective coverage of the movement image data.
In the present embodiment, the effective coverage of the image data is intercepted by Miracast receiving terminals 702, and according to
The screen parameter of Miracast transmitting terminals 701 and the screen parameter of Miracast receiving terminals 702 amplify and move the image number
According to effective coverage, the screen orientation for solving Miracast transmitting terminals 701 is vertical, it is impossible to project vertical image data
Vertical Miracast receiving terminals 702 and full screen display, it is impossible to the projection screen on normal viewing Miracast receiving terminals 702, nothing
Method meets the problem of projection requirement.
Further, in order to intercept the effective coverage of the image data, the Miracast receiving terminals 702 are used for:Root
The height of the effective coverage of the image data, the Miracast are calculated according to the screen resolution of Miracast receiving terminals 702
The screen resolution of receiving terminal 702 is w*h, then the height of the effective coverage is h2=h* (h/w);
The Miracast receiving terminals 702 are additionally operable to:The height of the effective coverage according to the image data and the shadow
The width of the effective coverage of the image data, the screen of the Miracast transmitting terminals 701 are calculated as the ratio of width to height of data
Resolution ratio is w1*h1, then the width of the effective coverage is w2=h2* (h1/w1);
The Miracast receiving terminals 702 are additionally operable to:The width of height and the effective coverage according to the effective coverage
The effective coverage of the degree interception image data.
Further, in order to realize image stretching full screen display, the Miracast receiving terminals 702 are additionally operable to:
The display of Miracast receiving terminals 702 is configured to image stretching full screen display, and the effective coverage of the image data is amplified to
The screen resolution size of Miracast receiving terminals 702, and move the effective coverage central point of the image data extremely
The center position of Miracast receiving terminals 702.
Further, in order to realize the indeformable full screen display of image, the Miracast receiving terminals 702 are additionally operable to:
The display of Miracast receiving terminals 702 is configured to the indeformable full screen display of image, the screen according to Miracast receiving terminals 702 point
Resolution calculates the highly enlarged coefficient and width amplification coefficient of the effective coverage of the image data;
Less coefficient in the highly enlarged coefficient and the width amplification coefficient is taken, and according to the less coefficient
Amplify the height and width of the effective coverage of the image data with multiple, and move the effective coverage center of the image data
Put to the center position of Miracast receiving terminals 702.
When further, in order to realize that the screen orientation of Miracast transmitting terminals 701 changes, Miracast receiving terminals
702 meeting adjustment display effects, lift Consumer's Experience, and Miracast transmitting terminals 701 are additionally operable to:Real-time detection screen orientation is
It is no to change, if changing, screen orientation is sent to Miracast receiving terminals 702;Miracast receiving terminals 702 are used for:
Shown according to the screen orientation adjustment image after change.
It should be noted that herein, such as first and second or the like relational terms are used merely to a reality
Body or operation make a distinction with another entity or operation, and not necessarily require or imply these entities or deposited between operating
In any this actual relation or order.And, term " including ", "comprising" or its any other variant be intended to
Nonexcludability is included, so that process, method, article or terminal device including a series of key elements not only include those
Key element, but also other key elements including being not expressly set out, or also include being this process, method, article or end
The intrinsic key element of end equipment.In the absence of more restrictions, limited by sentence " including ... " or " including ... "
Key element, it is not excluded that also there is other key element in the process including the key element, method, article or terminal device.This
Outward, herein, " it is more than ", " being less than ", " exceeding " etc. are interpreted as not including this number;" more than ", " below ", " within " etc. understand
It is to include this number.
It should be understood by those skilled in the art that, the various embodiments described above can be provided as method, device or computer program producing
Product.These embodiments can be using the embodiment in terms of complete hardware embodiment, complete software embodiment or combination software and hardware
Form.All or part of step in the method that the various embodiments described above are related to can be instructed by program correlation hardware come
Complete, described program can be stored in the storage medium that computer equipment can read, for performing the various embodiments described above side
All or part of step described in method.The computer equipment, including but not limited to:Personal computer, server, general-purpose computations
Machine, special-purpose computer, the network equipment, embedded device, programmable device, intelligent mobile terminal, intelligent home device, Wearable
Smart machine, vehicle intelligent equipment etc.;Described storage medium, including but not limited to:RAM, ROM, magnetic disc, tape, CD, sudden strain of a muscle
Deposit, USB flash disk, mobile hard disk, storage card, memory stick, webserver storage, network cloud storage etc..
The various embodiments described above are with reference to the method according to embodiment, equipment (system) and computer program product
Flow chart and/or block diagram are described.It should be understood that every during flow chart and/or block diagram can be realized by computer program instructions
The combination of flow and/or square frame in one flow and/or square frame and flow chart and/or block diagram.These computers can be provided
Programmed instruction is to the processor of computer equipment producing a machine so that by the finger of the computing device of computer equipment
Order is produced for realizing what is specified in one flow of flow chart or multiple one square frame of flow and/or block diagram or multiple square frames
The device of function.
These computer program instructions may be alternatively stored in the computer that computer equipment can be guided to work in a specific way and set
In standby readable memory so that instruction of the storage in the computer equipment readable memory is produced and include the manufacture of command device
Product, the command device is realized in one flow of flow chart or multiple one square frame of flow and/or block diagram or multiple square frame middle fingers
Fixed function.
These computer program instructions can be also loaded on computer equipment so that performed on a computing device a series of
Operating procedure is to produce computer implemented treatment, so that the instruction for performing on a computing device is provided for realizing in flow
The step of function of being specified in one flow of figure or multiple one square frame of flow and/or block diagram or multiple square frames.
Although being described to the various embodiments described above, those skilled in the art once know basic wound
The property made concept, then can make other change and modification to these embodiments, so embodiments of the invention are the foregoing is only,
Not thereby scope of patent protection of the invention, the equivalent structure that every utilization description of the invention and accompanying drawing content are made are limited
Or equivalent flow conversion, or other related technical fields are directly or indirectly used in, similarly it is included in patent of the invention
Within protection domain.
Claims (10)
1. a kind of video image projecting method based on Miracast, it is characterised in that including step:
Miracast transmitting terminals send screen parameter and image data and include to Miracast receiving terminals, the screen parameter:Screen
Curtain direction and screen resolution;
Miracast receiving terminals judge the screen orientation of Miracast transmitting terminals and Miracast receiving terminals screen orientation whether
It is vertically, if vertical, the effective coverage of the Miracast receiving terminals interception image data is, and according to Miracast
The screen parameter of transmitting terminal and the screen parameter of Miracast receiving terminals amplify and move the effective coverage of the image data.
2. a kind of video image projecting method based on Miracast according to claim 1, it is characterised in that it is described " then
Miracast receiving terminals intercept the effective coverage of the image data ", including step:
Screen resolution according to Miracast receiving terminals calculates the height of the effective coverage of the image data, described
The screen resolution of Miracast receiving terminals is w*h, then the height of the effective coverage is h2=h* (h/w);
The ratio of width to height of the height of the effective coverage according to the image data and the image data calculates the image data
Effective coverage width, the screen resolution of the Miracast transmitting terminals is w1*h1, then the width of the effective coverage is
W2=h2* (h1/w1);
Miracast receiving terminals intercept the image data according to the height of the effective coverage and the width of the effective coverage
Effective coverage.
3. a kind of video image projecting method based on Miracast according to claim 1, it is characterised in that described " and root
Amplify according to the screen parameter of Miracast transmitting terminals and the screen parameter of Miracast receiving terminals and move the image data
Effective coverage ", including step:
The display of Miracast receiving terminals is configured to image stretching full screen display, and the effective coverage of the image data is amplified to
The screen resolution size of Miracast receiving terminals, and the effective coverage central point of the movement image data connect to Miracast
Receiving end center position.
4. a kind of video image projecting method based on Miracast according to claim 1, it is characterised in that described " and root
Amplify according to the screen parameter of Miracast transmitting terminals and the screen parameter of Miracast receiving terminals and move the image data
Effective coverage ", including step:
The display of Miracast receiving terminals is configured to the indeformable full screen display of image, and the screen according to Miracast receiving terminals is differentiated
Rate calculates the highly enlarged coefficient and width amplification coefficient of the effective coverage of the image data;
Less coefficient in the highly enlarged coefficient and the width amplification coefficient is taken, and according to the less coefficient with again
The height and width of several effective coverages for amplifying the image data, and move the effective coverage central point of the image data extremely
Miracast receiving terminal center positions.
5. a kind of video image projecting method based on Miracast according to claim 1, it is characterised in that also including step
Suddenly:
Whether Miracast transmitting terminal real-time detection screen orientations change, if changing, send screen orientation to
Miracast receiving terminals;
Miracast receiving terminals show according to the screen orientation adjustment image after change.
6. a kind of image projection system based on Miracast, it is characterised in that including Miracast transmitting terminals and Miracast
Receiving terminal;
The Miracast transmitting terminals are used for:Send screen parameter and image data gives Miracast receiving terminals, the screen ginseng
Number includes:Screen orientation and screen resolution;
The Miracast receiving terminals are used for:Judge the screen orientation of Miracast transmitting terminals and the screen of Miracast receiving terminals
Whether direction is vertically, if vertical, the effective coverage of the Miracast receiving terminals interception image data is, and according to
The screen parameter of Miracast transmitting terminals and the screen parameter of Miracast receiving terminals amplify and move having for the image data
Effect region.
7. a kind of image projection system based on Miracast according to claim 6, it is characterised in that
The Miracast receiving terminals are used for:Screen resolution according to Miracast receiving terminals calculates having for the image data
The height in region is imitated, the screen resolution of the Miracast receiving terminals is w*h, then the height of the effective coverage is h2=h*
(h/w);
The Miracast receiving terminals are additionally operable to:The height of the effective coverage according to the image data and the image data
The ratio of width to height calculates the width of the effective coverage of the image data, and the screen resolution of the Miracast transmitting terminals is w1*
H1, then the width of the effective coverage is w2=h2* (h1/w1);
The Miracast receiving terminals are additionally operable to:The width interception institute of height and the effective coverage according to the effective coverage
State the effective coverage of image data.
8. a kind of image projection system based on Miracast according to claim 6, it is characterised in that
The Miracast receiving terminals are additionally operable to:The display of Miracast receiving terminals is configured to image stretching full screen display, described
The effective coverage of image data is amplified to the screen resolution size of Miracast receiving terminals, and moves having for the image data
Imitate regional center point to Miracast receiving terminal center positions.
9. a kind of image projection system based on Miracast according to claim 6, it is characterised in that
The Miracast receiving terminals are additionally operable to:The display of Miracast receiving terminals is configured to the indeformable full screen display of image, root
The highly enlarged coefficient and width that the effective coverage of the image data is calculated according to the screen resolution of Miracast receiving terminals are put
Big coefficient;
Less coefficient in the highly enlarged coefficient and the width amplification coefficient is taken, and according to the less coefficient with again
The height and width of several effective coverages for amplifying the image data, and move the effective coverage central point of the image data extremely
Miracast receiving terminal center positions.
10. a kind of image projection system based on Miracast according to claim 6, it is characterised in that
Miracast transmitting terminals are additionally operable to:Whether real-time detection screen orientation changes, if changing, sends screen orientation
Give Miracast receiving terminals;
Miracast receiving terminals are used for:Shown according to the screen orientation adjustment image after change.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710058037.3A CN106937100B (en) | 2017-01-23 | 2017-01-23 | A kind of video image projecting method and system based on Miracast |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710058037.3A CN106937100B (en) | 2017-01-23 | 2017-01-23 | A kind of video image projecting method and system based on Miracast |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106937100A true CN106937100A (en) | 2017-07-07 |
CN106937100B CN106937100B (en) | 2019-10-18 |
Family
ID=59422902
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710058037.3A Active CN106937100B (en) | 2017-01-23 | 2017-01-23 | A kind of video image projecting method and system based on Miracast |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106937100B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020253123A1 (en) * | 2019-06-17 | 2020-12-24 | 深圳市炬力北方微电子有限公司 | Upright image full-screen display method, related device and system |
CN112449165A (en) * | 2020-11-10 | 2021-03-05 | 维沃移动通信有限公司 | Projection method and device and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2336995A2 (en) * | 2009-12-18 | 2011-06-22 | Samsung Electronics Co., Ltd. | RUI server, RUI client and control method thereof |
CN104219276A (en) * | 2013-05-29 | 2014-12-17 | 索尼公司 | Information processing device,and information processing system |
CN105068750A (en) * | 2015-08-13 | 2015-11-18 | 北京传送科技有限公司 | Control method and electronic equipment |
CN105068774A (en) * | 2015-07-24 | 2015-11-18 | 福州瑞芯微电子股份有限公司 | WFD (Wifi Display) based video sharing method and system |
CN205789050U (en) * | 2016-07-05 | 2016-12-07 | 田江华 | A kind of screen of being thrown by mobile phone plane plate is to the perpendicular system shielding advertisement machine |
-
2017
- 2017-01-23 CN CN201710058037.3A patent/CN106937100B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2336995A2 (en) * | 2009-12-18 | 2011-06-22 | Samsung Electronics Co., Ltd. | RUI server, RUI client and control method thereof |
CN104219276A (en) * | 2013-05-29 | 2014-12-17 | 索尼公司 | Information processing device,and information processing system |
CN105068774A (en) * | 2015-07-24 | 2015-11-18 | 福州瑞芯微电子股份有限公司 | WFD (Wifi Display) based video sharing method and system |
CN105068750A (en) * | 2015-08-13 | 2015-11-18 | 北京传送科技有限公司 | Control method and electronic equipment |
CN205789050U (en) * | 2016-07-05 | 2016-12-07 | 田江华 | A kind of screen of being thrown by mobile phone plane plate is to the perpendicular system shielding advertisement machine |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020253123A1 (en) * | 2019-06-17 | 2020-12-24 | 深圳市炬力北方微电子有限公司 | Upright image full-screen display method, related device and system |
US11442681B2 (en) | 2019-06-17 | 2022-09-13 | Actions Microelectronics Co., Ltd. | Full-screen display method, related devices, and systems for upright image |
CN112449165A (en) * | 2020-11-10 | 2021-03-05 | 维沃移动通信有限公司 | Projection method and device and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106937100B (en) | 2019-10-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109508162B (en) | Screen projection display method, system and storage medium | |
WO2016202238A1 (en) | Wireless screen-transmission method, extension device, and wireless screen-transmission system | |
WO2017063324A1 (en) | Window displaying method and mobile terminal | |
CN107977141B (en) | Interaction control method and device, electronic equipment and storage medium | |
WO2019052524A1 (en) | View rendering method and apparatus, medium, and intelligent terminal | |
US10044979B2 (en) | Acquiring regions of remote shared content with high resolution | |
US20150121301A1 (en) | Information processing method and electronic device | |
WO2014161357A1 (en) | Method and device for displaying browser resources and computer readable storage medium | |
CN106843794B (en) | Split screen display method and system based on android | |
CN104813393A (en) | Displaying applications on a fixed orientation display | |
CN111432261A (en) | Video window picture display method and device | |
CN106937100A (en) | A kind of video image projecting method and system based on Miracast | |
CN104635755A (en) | Display adjustment method and device | |
US20170269895A1 (en) | Efficient communication interface for casting interactively controlled visual content | |
CN111710047A (en) | Information display method and device and electronic equipment | |
EP3203465A1 (en) | Image display method, user terminal and video receiving equipment | |
CN114428597A (en) | Multi-channel terminal screen projection control method and device, screen projector and storage medium | |
CN103164142B (en) | The method of adjustment of a kind of screen touch point position of picture-in-picture interface and electronic equipment | |
WO2024045770A1 (en) | Content control method and apparatus, storage medium and electronic device | |
WO2019020112A1 (en) | Terminal display method, terminal and computer-readable storage medium | |
US10645144B2 (en) | Computer-implemented method for controlling a remote device with a local device | |
CN103596025B (en) | Picture adjusting method, device and the corresponding video terminal of Video chat | |
CN112905132A (en) | Screen projection method and equipment | |
CN111726666A (en) | Video display control method and device | |
JP6034709B2 (en) | Terminal device, external display device, and information system including terminal device and external display device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |