A kind of computing machine shows the method and apparatus of mobile device screen fast
Technical field
The present invention relates to field, especially computing machine that computing machine plays the mobile device screen fast the west that be the method and apparatus of mobile device screen.
Background technology
The development of mobile device will become a for a change basic trend of traditional calculations, and mobile device is not only smart mobile phone and traditional music player, the more important thing is panel computer and it seems some today still also not have so ambulant equipment.All desktop computer processors that the quantity of mobile device will be seen above us today, even surpass Internet Users.This is a new market opportunity, and minicomputer is replacing large scale computer, and the behind of chance is the accumulation raising of cpu performance and the high speed development of wireless Internet WIFI.In future, mobile phone will surmount PC, become our information processing centre, and other equipment may become the utility appliance outside the mobile phone.
Because the high speed development of mobile device, a lot of users are left data, entertainment applications etc. in the mobile device in.When computing machine is connected with mobile device, direct file reading from mobile device.But also must copying to file in the computer from mobile phone, an operation just can carry out.For example be placed on the video in the mobile device.Because Android system is not supported in the video of play-overing under the USB debugging mode in the mobile device, video file can only be copied in the computer could play.When more existing management softwares can support that computer is connected with mobile device, play-over video file.Its principle mobile phone playing video file, the picture that then intercepts video is sent in the computer, shows the picture that intercepts by computer, by continuous intercepting, realizes the broadcast of video.But this interception way is because the capacity of picture is larger, and mobile phone is sent to computer needs the time spent longer, and this has just caused the picture play in computer slow, and asynchronous, one by one discontinuous problem occurs.It is actual that the user sees in computer is a sheet by a sheet discontinuous picture.
Summary of the invention
Purpose of the present invention overcomes the deficiencies in the prior art exactly, the method and apparatus that provides a kind of computing machine to show fast the mobile device screen, and the present invention can realize that computing machine plays the screen content of mobile device fast.
In order to achieve the above object, adopt following technical scheme:
A kind of computing machine shows the method for mobile device screen fast, is used for the display page that computing machine is play the screen of mobile device, may further comprise the steps:
Step 1: the display page of the screen of intercepting mobile device;
Step 2: the display page of described screen is sent to computing machine, receives and play continuously by computing machine;
Between step 1 and step 2, also comprise pixel column and the pixel column of the display page of scanning screen; Pixel column and the pixel column of the display page of screen removed in interlacing.
Further, display page to a buffer of the described screen of storage sends the display page of described screen to computing machine by impact damper behind the pixel column of the display page of interlacing removal screen and the pixel column.
Further, described mobile device is the Android mobile device.
Further, described Android mobile device is the Android smart mobile phone.
A kind of computing machine shows the device of mobile device screen fast, is used for the display page that computing machine is play the screen of mobile device, comprises the screenshotss module, is used for the display page of the screen of intercepting mobile device; Sending module is used for the display page of described screen is sent to computing machine, is received and is play continuously by computing machine, also comprises scan module, is used for pixel column and the pixel column of the display page of scanning screen; Abstraction module is used for pixel column and pixel column that the display page of screen is removed in interlacing.
Further, also comprise an impact damper, for the pixel column of the display page of storing interlacing removal screen and the display page of the screen behind the pixel column.
Further, described mobile device is the Android mobile device.
Further, described mobile device is the Android smart mobile phone.
Compared with prior art, beneficial effect of the present invention is:
The present invention is by the processing to the screenshotss picture, reduce the size of screenshotss picture capacity, make the faster computing machine that from mobile device, is sent to of picture, realize the screen display page of the quick broadcast mobile device of computing machine, reduce the phenomenon of card frame, even arrive synchronously broadcast.
The present invention has good effect for operations such as the demonstration of mobile device, displaying videos, allows more users watch the content of mobile device at giant-screen.
Description of drawings
Fig. 1 is the flow chart of steps that computing machine of the present invention shows the method for mobile device screen fast.
Fig. 2 is the module frame figure of the computing machine of the present invention device that shows fast the mobile device screen.
Diagram: 1-screenshotss module; The 2-scan module; The 3-abstraction module; The 4-sending module; The 5-buffer.
Embodiment
Describe the present invention in detail below in conjunction with accompanying drawing and specific implementation method, be used for explaining the present invention in schematic enforcement of the present invention and explanation, but not as a limitation of the invention.
See also Fig. 1, it shows the flow chart of steps of the method for mobile device screen fast for computing machine of the present invention.It may further comprise the steps:
S10: the display page of the screen of intercepting Android mobile phone.
Particularly, special screen processing file is arranged in the Android system.Described file record the demonstration information of mobile phone screen.This file is the fbo file in the graphics file.By the screenshotss technology display interface of mobile phone screen is intercepted into picture, be recorded in the fbo file.
S20: pixel column and the pixel column of the display page of scanning screen.
Particularly, the display page of the screen of intercepting is actual is a sheet by a sheet picture.These pictures are comprised of pixel.Pixel column and the pixel column of the display page of each screen of scanning in the mobile device that root crosses.Record odd pixel row and the even pixel row of the display page of each screen, odd pixel column and even pixel row.
S30: pixel column and the pixel column of the display page of screen removed in interlacing.
Particularly, record the odd pixel row and column among the step S20, also recorded the even pixel row and column.Odd-numbered line and odd column are extracted, form the display page of a new screen.
As preferably, the display page of new screen is stored in the buffer.If the processing power of mobile phone is very fast, can be disposed the display page of all screens in advance is stored in the buffer, waits for being sent to computing machine.
S40: the display page that sends described screen is sent to computing machine, is received and is play continuously by computing machine.
Particularly, the display page of new screen is sent to computing machine, by computing machine the display page of this screen is changed, fill up even pixel row and even pixel row after, play the display page of this screen.Owing to reduced the capacity of the display page of screen in the step of front, reach the display page of quick transmission screen to the purpose of computing machine, computing machine can read and the continuous display page of view screen fast, thereby realizes the purpose of smooth playing mobile device display interface.
See also Fig. 2, it is the frame diagram that computing machine of the present invention shows the device of mobile device screen fast, and it comprises screenshotss module 1, scan module 2, abstraction module 3 and sending module 4.The screen display content of described screenshotss module 1 intercepting Android smart mobile phone, the picture of the display page of generation screen.If displaying video then according to default frequency intercepting video, forms continuous picture.
Pixel column and the pixel column of the display page of the screen of described scan module 2 scanning screenshotss modules 1 intercepting.Picture is comprised of pixel, and pixel consists of pixel column and pixel column.Comprise odd pixel row and even pixel row in the pixel column, pixel column comprises odd pixel column and even pixel row.
Pixel column and the pixel column of the display page of screen removed in described abstraction module 3 interlacing.Pixel column and the pixel column at interval have been formed.For example, extract odd pixel row and odd pixel column and form new picture, extract even pixel row and even pixel row and form new picture.
The described device of present embodiment also comprises buffer 5, is used for the storage interlacing and removes the new picture that forms behind the pixel column of display page of screen and the pixel column.If the processing speed of mobile phone is very fast, new picture-storage to buffer 5, is sent to computing machine again.
Described sending module 4 is sent to computing machine with the display page of described screen, is received and is play continuously by computing machine.Computing machine is processed the picture to computing machine that mobile phone sends according to existing picture Processing Technique, then plays continuously, has reached the purpose of Fast synchronization broadcast mobile phone screen contents displayed on interface.
More than technical scheme that the embodiment of the invention is provided be described in detail, used specific case herein principle and the embodiment of the embodiment of the invention are set forth, the explanation of above embodiment is only applicable to help to understand the principle of the embodiment of the invention; Simultaneously, for one of ordinary skill in the art, according to the embodiment of the invention, all will change on embodiment and range of application, in sum, this description should not be construed as limitation of the present invention.