CN106954004A - Screen sharing method and device - Google Patents

Screen sharing method and device Download PDF

Info

Publication number
CN106954004A
CN106954004A CN201710162268.9A CN201710162268A CN106954004A CN 106954004 A CN106954004 A CN 106954004A CN 201710162268 A CN201710162268 A CN 201710162268A CN 106954004 A CN106954004 A CN 106954004A
Authority
CN
China
Prior art keywords
pixel
image
amount
change
detection point
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
Application number
CN201710162268.9A
Other languages
Chinese (zh)
Other versions
CN106954004B (en
Inventor
汤镇辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201710162268.9A priority Critical patent/CN106954004B/en
Publication of CN106954004A publication Critical patent/CN106954004A/en
Application granted granted Critical
Publication of CN106954004B publication Critical patent/CN106954004B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/14Picture signal circuitry for video frequency region
    • H04N5/144Movement detection

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The invention discloses a method and a device for screen sharing, relates to the technical field of communication, and aims to solve the problem that the real-time performance and the fluency of screen sharing cannot be guaranteed. The method comprises the following steps: dividing a current frame image and a next frame image into meta-images which are the same in number and are in one-to-one correspondence respectively, wherein the number of pixel points contained in each meta-image in the current frame image is the same as the number of pixel points contained in each meta-image in the next frame image and are in one-to-one correspondence; respectively selecting a second preset number of pixel detection points in each element image of the current frame image, wherein pixel points in the next frame image corresponding to the pixel detection points are target pixel points; calculating the pixel variation between each pixel detection point and the corresponding target pixel point; and if the pixel variation is larger than the threshold, sending the meta-image to which the target pixel point with the pixel variation larger than the threshold belongs to the data synchronization screen. The scheme provided by the invention is suitable for being adopted during screen sharing.

Description

A kind of method and device of Screen sharing
Technical field
The present invention relates to technical field of communication network, more particularly to a kind of method and device of Screen sharing.
Background technology
Utilize Screen sharing technology, it is possible to achieve the content such as digital multimedia (such as video content) is between multiple screens Transmission, and the display content of synchronous different screen.At present, the common scheme of Screen sharing is:Intercept terminal present frame and Next frame screen picture, each pixel of present frame screen picture and next frame screen picture is scanned (screen it is every One two field picture is made up of pixel), three primary colours (Red, Green, Blue, hereinafter referred to as RGB) value of each pixel is calculated, if The pixel of the relatively current frame screen picture of pixel of next frame screen picture there occurs that rgb value changes, then will occur rgb value The image that the pixel of change is constituted is sent to another screen of this terminal, or is sent to the screen of other-end, from And view data is by a Screen sharing to another screen.
However, in above-mentioned Screen sharing scheme, terminal need to calculate the rgb value of each pixel of screen picture, each Screen picture includes substantial amounts of pixel again, and therefore, amount of calculation is larger, greatly consumes the calculation resources of terminal, drags slowly The speed of service of terminal, so as to slow down the speed of terminal transmission view data, it is impossible to ensure the real-time and stream of Screen sharing Smooth property.
The content of the invention
The embodiment of the present invention provides a kind of method and device of Screen sharing, real-time and stream for ensureing Screen sharing Smooth property.
To reach above-mentioned purpose, the present invention is adopted the following technical scheme that:
A kind of method of Screen sharing, including:
Current frame image and next two field picture are respectively divided into identical quantity and one-to-one first image, wherein, institute State the picture that each first image is included in the pixel quantity and next two field picture that each member image is included in current frame image Vegetarian refreshments quantity is identical and corresponds, and each member image includes the pixel of the first predetermined number respectively;
The pixel detection point of the second predetermined number is selected respectively in each first image of the current frame image, with pixel Pixel in the corresponding next two field picture of test point is target pixel points, wherein, second predetermined number is less than institute State the first predetermined number;
Calculate the amount of pixel change between each pixel detection point and each self-corresponding target pixel points;
If the amount of pixel change is more than threshold value, amount of pixel change is more than to the member belonging to the target pixel points of threshold value and schemed As sending to data syn-chronization screen.
A kind of device of Screen sharing, including:
Division unit, for current frame image and next two field picture to be respectively divided into identical quantity and one-to-one member Image, wherein, each member in each member image is included in the current frame image pixel quantity and next two field picture The pixel quantity that image is included is identical and corresponds, and each member image includes the pixel of the first predetermined number respectively;
Select unit, for being selected respectively in each first image divided by the division unit of the current frame image It is target picture to select the pixel in the pixel detection point of the second predetermined number, next two field picture corresponding with pixel detection point Vegetarian refreshments, wherein, second predetermined number is less than first predetermined number;
Computing unit, each pixel detection point and each self-corresponding object pixel for calculating the select unit selection Amount of pixel change between point;
Transmitting element is big by amount of pixel change if being more than threshold value for the amount of pixel change that the computing unit is calculated First image belonging to target pixel points in threshold value is sent to data syn-chronization screen.
The method and device of Screen sharing provided in an embodiment of the present invention, current frame image and next two field picture are drawn respectively Be divided into identical quantity and one-to-one first image, wherein, each member image is included in current frame image pixel quantity and The pixel quantity that each member image is included in next two field picture is identical and corresponds, then further in current frame image In each member image, the pixel detection point of the second predetermined number is each selected, wherein, it is corresponding with selected pixel detection point Pixel in next two field picture is just as target pixel points, thus, it is possible to only calculate one part of pixel point in screen picture Amount of pixel change, just can determine that whether next two field picture is changed relative to current frame image, fallen into a trap with prior art The amount of pixel change for calculating whole pixels of screen picture is compared, and reduces operand, this improves the speed of terminal operating Degree, and then the speed of terminal transmission view data is accelerated, it ensure that the real-time and fluency of Screen sharing.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of flow chart of the method for Screen sharing provided in an embodiment of the present invention;
Fig. 2 a are the illustrative diagram of first image division in current frame image provided in an embodiment of the present invention;
Fig. 2 b are the illustrative diagram of first image division in next two field picture provided in an embodiment of the present invention;
Fig. 2 c are a kind of illustrative diagram of selected pixels test point provided in an embodiment of the present invention;
Fig. 3 is the flow chart of the method for another Screen sharing provided in an embodiment of the present invention;
Fig. 4 is the flow chart of the method for another Screen sharing provided in an embodiment of the present invention;
Fig. 5 is a kind of logical construction schematic diagram of the device of Screen sharing provided in an embodiment of the present invention;
Fig. 6 is a kind of logical construction schematic diagram of terminal provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
The problem of in order to solve real-time and the fluency that can not ensure Screen sharing, the embodiment of the present invention provides a kind of screen The shared method of curtain, as shown in figure 1, this method includes:
Step 101, current frame image and next two field picture are respectively divided into identical quantity and one-to-one first image, Wherein, the pixel that each first image is included in each member image is included in current frame image pixel quantity and next two field picture Point quantity is identical and corresponds, and each member image includes the pixel of the first predetermined number respectively.
For example, showing the first image divided in current frame image in Fig. 2 a, Fig. 2 b are shown in next two field picture Middle divided first image.Wherein, the part enclosed by dotted line frame represents a first image.It can be seen that by Fig. 2 a and Fig. 2 b, In current frame image and next two field picture, dividing has 9 first images, and each member image includes 9 pixels, and each pixel Point corresponds to a coordinate.
Step 102, the pixel detection point for selecting in each first image of current frame image the second predetermined number respectively, with Pixel in the corresponding next two field picture of pixel detection point is target pixel points, wherein, it is pre- that the second predetermined number is less than first If quantity.
It is emphasized that the second predetermined number selected in each first image can be with identical, can also be different.Example Such as, in current frame image as shown in Figure 2 a, according to order from left to right, from top to bottom, 2 are chosen from first first image Individual pixel detection point, 3 pixel detection points are chosen from second first image.
Step 102 is illustrated here in conjunction with Fig. 2 a, Fig. 2 b, it is notable that be designated as black in fig. 2 a Pixel is selected pixel detection point, and the pixel that black is designated as in figure 2b is the corresponding object pixel of pixel detection point Point.In fig. 2 a, according to order from left to right, from top to bottom, in first first image, terminal choose coordinate be (0,1), Two pixels of (2,0) are used as pixel detection point, then in next two field picture shown in Fig. 2 b, picture corresponding to pixel detection point The coordinate of vegetarian refreshments is (0,1), (2,0), and therefore, coordinate is (0,1), the pixel of (2,0) just as target pixel points.Fig. 2 a institutes In the first image of second of the current frame image shown, terminal chooses three pixel detection points, then in the next frame figure shown in Fig. 2 b In the first image of second of picture, pixel corresponding with three selected pixel detection points is just as target detection point.
It should be noted that in embodiments of the present invention, in order to improve the speed of detection pixel, in current frame image Per in unitary image, the quantity of the pixel detection point of selection should be less than the pixel quantity included per unitary image, i.e., second Predetermined number is less than the first predetermined number, for example, as shown in Figure 2 a, the first predetermined number is 9, therefore, in every unitary image The quantity of selected pixel detection point should be less than 9.
It should be noted that, in a step 102, the mode of selected pixels test point can be to randomly select, in addition, in order to Make selected pixel detection point more representative, in embodiments of the present invention, edge detection algorithm can also be used to carry The pixel of whole image elementary contour can be described by taking in current frame image, and regard the pixel extracted as pixel detection Point.For example, current frame image as shown in Figure 2 c is " day " word image, the pixel that dotted line frame is included it can be seen from Fig. 2 c Point can describe the elementary contour of whole " day " word image, therefore, in selected pixels point, preferential to choose what dotted line frame was included Pixel.For example, according to order from left to right, from top to bottom, in first first image, it is (2,2) to choose coordinate Pixel as pixel detection point, in second first image, it is that (2,3), the pixel of (2,5) are used as pixel to choose coordinate Test point, in the 6th first image, chooses coordinate and is used as pixel detection point for the pixel of (4,6).
Amount of pixel change between step 103, each pixel detection point of calculating and each self-corresponding target pixel points.
Wherein, amount of pixel change be used to describing the pixel of next two field picture relative to current frame image pixel whether Changed or described intensity of variation of the pixel relative to the pixel of current frame image of next two field picture.Tie below Close Fig. 2 a and Fig. 2 b to illustrate amount of pixel change, in the current frame image shown in Fig. 2 a, coordinate is the pixel of (0,0) A rgb value is #FF0021, in next two field picture shown in Fig. 2 b, and coordinate is # for the pixel A1 of (0,0) rgb value FF0000, then amount of pixel change can be used for describe pixel A1 relative to pixel A rgb value intensity of variation.
If step 104, amount of pixel change are more than threshold value, amount of pixel change is more than belonging to the target pixel points of threshold value First image is sent to data syn-chronization screen.
Wherein, data syn-chronization screen can be the screen in addition to main screen of this terminal, or data syn-chronization screen can Think the screen of other-end.
Step 104 is illustrated in conjunction with the citing in step 103, it is assumed that threshold value is #000010, if using pixel The difference of rgb value represents amount of pixel change, then the amount of pixel change between pixel A and pixel A1 is #FF0021-# FF0000, i.e. amount of pixel change are #000021, because amount of pixel change #000021 is more than threshold value #000010, by pixel First image belonging to point A1 is sent to data syn-chronization screen.
The method and device of Screen sharing provided in an embodiment of the present invention, current frame image and next two field picture are drawn respectively Be divided into identical quantity and one-to-one first image, wherein, each member image is included in current frame image pixel quantity and The pixel quantity that each member image is included in next two field picture is identical and corresponds, then further in current frame image In each member image, the pixel detection point of the second predetermined number is each selected, wherein, it is corresponding with selected pixel detection point Pixel in next two field picture is just as target pixel points, thus, it is possible to only calculate one part of pixel point in screen picture Amount of pixel change, just can determine that whether next two field picture is changed relative to current frame image, fallen into a trap with prior art The amount of pixel change for calculating whole pixels of screen picture is compared, and reduces operand, this improves the speed of terminal operating Degree, and then the speed of terminal transmission view data is accelerated, it ensure that the real-time and fluency of Screen sharing.
In another implementation provided in an embodiment of the present invention, the method for calculating amount of pixel change is said It is bright, as shown in figure 3, the amount of pixel change between step 301, each pixel detection point of calculating and each self-corresponding target pixel points Including:
Step 301, the pixel-parameters for calculating each pixel detection point, wherein, pixel-parameters include the three primary colours RGB of pixel Value.
For example, in fig. 2 a, the rgb value that terminal calculates the pixel detection point that coordinate is (0,1) is #FF0000.
Step 302, the pixel-parameters for calculating each target pixel points.
With reference to the citing in step 301, in figure 2b, it is computed, coordinate is # for the rgb value of the target pixel points of (0,1) FF3030。
Step 303, calculate pixel according to the pixel-parameters of each pixel detection point and each self-corresponding target pixel points and become Change amount.
Wherein, as a kind of implementation, each pixel detection point and each self-corresponding target pixel points can be calculated The difference of pixel-parameters, regard the difference of calculating as amount of pixel change.
With reference to the citing in step 301 and step 302, coordinate is the corresponding target of the pixel detection point of (0,1) The difference of the rgb value of pixel is #FF3030-#FF0000, i.e. #003030, then can regard #003030 as amount of pixel change.
The method of Screen sharing provided in an embodiment of the present invention, calculates each pixel detection point and each self-corresponding target picture The amount of pixel change of vegetarian refreshments, can only calculate the amount of pixel change of one part of pixel point in screen picture, just can determine that next Whether two field picture is changed relative to current frame image, therefore, reduces operand, improves the speed of terminal operating, And then the speed of terminal transmission view data is accelerated, it ensure that the real-time and fluency of Screen sharing.
It is emphasized that real-time and fluency in order to further improve transmission image in Screen sharing, need to be to institute The image of transmission is handled, based on this, in another implementation provided in an embodiment of the present invention, as shown in figure 4, in step If rapid 104, amount of pixel change is more than threshold value, amount of pixel change is more than to first image belonging to the target pixel points of threshold value and sent To before data syn-chronization screen, step 401 can also carry out.
Step 401, to amount of pixel change be more than threshold value target pixel points belonging to first image be compressed processing.
It is understood that when having two identical datas in first image, can only preserve and transmit one of them Data, remove repetition, the data of redundancy, to be compressed to first view data, based on this, in the embodiment of the present invention, to altogether Before the image enjoyed is transmitted, transmitted data can also be reduced by being compressed to the first image transmitted.
The method of Screen sharing provided in an embodiment of the present invention, can be compressed processing to the first image transmitted, because This, it is to avoid the transmission to redundant data, it can further improve the real-time and fluency of Screen sharing.
Corresponding to the method for flow shown in Fig. 1, Fig. 3 and Fig. 4, in order to solve to ensure the real-time of Screen sharing with The problem of fluency, the embodiment of the present invention proposes a kind of device of Screen sharing, as shown in figure 5, the device includes:Divide single Member 501, select unit 502, computing unit 503, transmitting element 505 and compression unit 504.Wherein, division unit 501, choosing Select unit 502, computing unit 503, compression unit 504 and transmitting element 505 to be sequentially connected, transmitting element 505 is single with calculating Member 503 is connected.
Division unit 501, for current frame image and next two field picture to be respectively divided into identical quantity and one-to-one corresponding First image, wherein, each first image in each member image is included in current frame image pixel quantity and next two field picture Comprising pixel quantity it is identical and correspond, each member image includes the pixel of the first predetermined number respectively;
Select unit 502, for being selected respectively in each first image divided by division unit 501 of current frame image Pixel in the pixel detection point of second predetermined number, next two field picture corresponding with pixel detection point is target pixel points, Wherein, the second predetermined number is less than the first predetermined number;
Computing unit 503, each pixel detection point and each self-corresponding target picture for calculating the selection of select unit 502 Amount of pixel change between vegetarian refreshments;
Transmitting element 505, if being more than threshold value for the amount of pixel change that computing unit 503 is calculated, by amount of pixel change Sent more than first image belonging to the target pixel points of threshold value to data syn-chronization screen.
The device of Screen sharing provided in an embodiment of the present invention, phase is respectively divided into by current frame image and next two field picture With quantity and one-to-one first image, wherein, each member image is included in current frame image pixel quantity and next frame The pixel quantity that each member image is included in image is identical, and first image is included in current frame image pixel and next The pixel that first image is included in two field picture is corresponded, then further in each first image of current frame image, each The pixel detection point of the second predetermined number is selected, wherein, the picture in next two field picture corresponding with selected pixel detection point Vegetarian refreshments is just as target pixel points, thus, it is possible to the amount of pixel change of part pixel in every two field picture is only calculated, just can be really Fix whether a two field picture is changed relative to current frame image, whole pixels with calculating screen picture in the prior art Amount of pixel change compare, reduce operand, this improves the speed of terminal operating, and then accelerate terminal transmission figure As the speed of data, the real-time and fluency of Screen sharing ensure that.
In another implementation that the embodiment of the present invention is proposed, computing unit 503 is additionally operable to calculate each pixel inspection The pixel-parameters of measuring point, pixel-parameters include the three primary colours rgb value of pixel;Calculate the pixel-parameters of each target pixel points;Root Amount of pixel change is calculated according to each pixel detection point and the pixel-parameters of each self-corresponding target pixel points.
The device of Screen sharing provided in an embodiment of the present invention, calculates each pixel detection point and each self-corresponding target picture The amount of pixel change of vegetarian refreshments, can only calculate the amount of pixel change of one part of pixel point in screen picture, just can determine that next Whether two field picture is changed relative to current frame image, therefore, reduces operand, improves the speed of terminal operating, And then the speed of terminal transmission view data is accelerated, it ensure that the real-time and fluency of Screen sharing.
In another implementation that the embodiment of the present invention is proposed, computing unit 503 is additionally operable to calculate each pixel inspection The difference of measuring point and the pixel-parameters of each self-corresponding target pixel points, regard the difference of calculating as amount of pixel change.
In another implementation that the embodiment of the present invention is proposed, compression unit 504, for being more than to amount of pixel change First image belonging to the target pixel points of threshold value is compressed processing.
The device of Screen sharing provided in an embodiment of the present invention, can be compressed processing to the first image transmitted, because This, it is to avoid the transmission to redundant data, it can further improve the real-time and fluency of Screen sharing.
The embodiment of the present invention also provides a kind of terminal, as shown in fig. 6, the device includes memory 601, processor 602 is received Send out device 603, bus 604.Wherein, bus 604 is connected with memory 601, processor 602 and transceiver 603 successively.
Memory 601 can be ROM (Read Only Memory, read-only storage) static storage device, and ROM is dynamically deposited Store up equipment or RAM (Random Access Memory, random access memory).Memory 601 can be with storage program area And other application programs.When by software or firmware to realize technical scheme provided in an embodiment of the present invention, for realizing The program code of technical scheme provided in an embodiment of the present invention is preserved in the memory 601, and is performed by processor 602.
Transceiver 603 is used to (be such as, but not limited to Ethernet, RAN Radio Access with other equipment or communication network Network, wireless access network), WLAN (Wireless Local Area Network, WLAN) etc.) between it is logical Letter.
Processor 602 can use general central processing unit (Central Process ing Uni t, CPU), micro- place Manage device, application specific integrated circuit (Appl icat ion Specific Integrated Circui t, ASIC), Huo Zheyi Individual or multiple integrated circuits, for performing relative program, to realize technical scheme that the embodiment of the present invention is provided.
Bus 604 may include a path, all parts (such as memory 601, the transmitting-receiving in the terminal of the embodiment of the present invention Device 603 and processor 602) between transmit information.
Although it should be noted that the hardware shown in Fig. 6 illustrate only memory 601, transceiver 603 and processor 602 and Bus 604, but during implementing, it should be apparent to a person skilled in the art that the terminal is also comprising the normal fortune of realization Other devices necessary to row.Meanwhile, according to specific needs, it is realized it should be apparent to a person skilled in the art that can also include The hardware device of his function.
Specifically, when the terminal shown in Fig. 6 is used to realize the device shown in Fig. 5 embodiments, the processor in the device 602, for current frame image and next two field picture to be respectively divided into identical quantity and one-to-one first image, wherein, when The pixel quantity that each first image is included in each member image is included in prior image frame pixel quantity and next two field picture Identical and one-to-one corresponding, each member image includes the pixel of the first predetermined number respectively;In each member figure of current frame image The pixel in the pixel detection point of the second predetermined number, next two field picture corresponding with pixel detection point is selected to be respectively as in Target pixel points, wherein, the second predetermined number is less than the first predetermined number;Calculate each pixel detection point and each self-corresponding mesh Mark the amount of pixel change between pixel;
Transceiver 603, if being more than threshold value for amount of pixel change, amount of pixel change is more than the target pixel points of threshold value Affiliated first image is sent to data syn-chronization screen.
Terminal provided in an embodiment of the present invention, identical quantity and one are respectively divided into by current frame image and next two field picture One corresponding yuan of image, wherein, it is each in each member image is included in current frame image pixel quantity and next two field picture The pixel quantity that first image is included is identical and corresponds, then further in each first image of current frame image, respectively From the pixel detection point of the second predetermined number of selection, wherein, in next two field picture corresponding with selected pixel detection point Pixel is just as target pixel points, thus, it is possible to only calculate the amount of pixel change of one part of pixel point in screen picture, just It can determine that whether next two field picture is changed relative to current frame image, the whole with calculating screen picture in the prior art The amount of pixel change of pixel is compared, and reduces operand, this improves the speed of terminal operating, and then accelerates terminal The speed of view data is transmitted, the real-time and fluency of Screen sharing is ensure that.
Processor 602, is additionally operable to calculate the pixel-parameters of each pixel detection point, and pixel-parameters include the three primary colours of pixel Rgb value;Calculate the pixel-parameters of each target pixel points;According to each pixel detection point and each self-corresponding target pixel points Pixel-parameters calculate amount of pixel change.
The terminal of Screen sharing provided in an embodiment of the present invention, calculates each pixel detection point and each self-corresponding target picture The amount of pixel change of vegetarian refreshments, can only calculate the amount of pixel change of one part of pixel point in screen picture, just can determine that next Whether two field picture is changed relative to current frame image, therefore, reduces operand, improves the speed of terminal operating, And then the speed of terminal transmission view data is accelerated, it ensure that the real-time and fluency of Screen sharing.
Processor 602, is additionally operable to calculate the pixel-parameters of each pixel detection point and each self-corresponding target pixel points Difference, regard the difference of calculating as amount of pixel change.
Processor 602, place is compressed for being more than first image belonging to the target pixel points of threshold value to amount of pixel change Reason.
The terminal of Screen sharing provided in an embodiment of the present invention, can be compressed processing to the first image transmitted, because This, it is to avoid the transmission to redundant data, it can further improve the real-time and fluency of Screen sharing.
Through the above description of the embodiments, it is apparent to those skilled in the art that the present invention can be borrowed Software is helped to add the mode of required common hardware to realize, naturally it is also possible to by hardware, but the former is more preferably in many cases Embodiment.Understood based on such, the portion that technical scheme substantially contributes to prior art in other words Dividing can be embodied in the form of software product, and the computer software product is stored in the storage medium that can be read, and such as be counted The floppy disk of calculation machine, hard disk or CD etc., including some instructions to cause a computer equipment (can be personal computer, Server, or the network equipment etc.) method that performs each embodiment of the invention.
More than, it is only the embodiment of the present invention, but protection scope of the present invention is not limited thereto, and it is any at this The change or replacement in the technical scope disclosed are invented, should be all included within the scope of the present invention.Therefore, it is of the invention Protection domain should be defined by scope of the claims.

Claims (10)

1. a kind of method of Screen sharing, it is characterised in that methods described includes:
Current frame image and next two field picture are respectively divided into identical quantity and one-to-one first image, wherein, it is described to work as The pixel that each first image is included in each member image is included in prior image frame pixel quantity and next two field picture Quantity is identical and corresponds, and each member image includes the pixel of the first predetermined number respectively;
The pixel detection point of the second predetermined number is selected respectively in each first image of the current frame image, with pixel detection Pixel in the corresponding next two field picture of point is target pixel points, wherein, second predetermined number is less than described the One predetermined number;
Calculate the amount of pixel change between each pixel detection point and each self-corresponding target pixel points;
If the amount of pixel change is more than threshold value, amount of pixel change is more than to first image belonging to the target pixel points of threshold value and sent out Deliver to data syn-chronization screen.
2. the method for Screen sharing according to claim 1, it is characterised in that calculate each pixel detection point with it is respective right Amount of pixel change between the target pixel points answered includes:
Calculate the pixel-parameters of each pixel detection point;
Calculate the pixel-parameters of each target pixel points;
Amount of pixel change is calculated according to each pixel detection point and the pixel-parameters of each self-corresponding target pixel points.
3. the method for Screen sharing according to claim 2, it is characterised in that the pixel-parameters include three bases of pixel Color rgb value.
4. the method for Screen sharing according to claim 2, it is characterised in that each pixel detection point of basis with it is each The pixel-parameters of self-corresponding target pixel points, which calculate amount of pixel change, to be included:
Calculate the difference of the pixel-parameters of each pixel detection point and each self-corresponding target pixel points, using the difference of calculating as Amount of pixel change.
5. the method for Screen sharing according to any one of claim 1 to 4, it is characterised in that if becoming in the pixel Change amount is more than threshold value, then amount of pixel change is more than to first image belonging to the target pixel points of threshold value and sent to the data syn-chronization Before screen, methods described also includes:
Processing is compressed to first image that amount of pixel change is more than belonging to the target pixel points of threshold value.
6. a kind of device of Screen sharing, it is characterised in that described device includes:
Division unit, for current frame image and next two field picture to be respectively divided into identical quantity and one-to-one member figure Picture, wherein, each member figure in each member image is included in the current frame image pixel quantity and next two field picture As comprising pixel quantity it is identical and correspond, each member image includes the pixel of the first predetermined number respectively;
Select unit, for selecting respectively in each first image divided by the division unit of the current frame image Pixel in the pixel detection point of two predetermined numbers, next two field picture corresponding with pixel detection point is object pixel Point, wherein, second predetermined number is less than first predetermined number;
Computing unit, for calculate select unit selection each pixel detection point and each self-corresponding target pixel points it Between amount of pixel change;
Transmitting element, if being more than threshold value for the amount of pixel change that the computing unit is calculated, is more than threshold by amount of pixel change First image belonging to the target pixel points of value is sent to data syn-chronization screen.
7. the device of Screen sharing according to claim 6, it is characterised in that
The computing unit, is additionally operable to calculate the pixel-parameters of each pixel detection point;Calculate the pixel of each target pixel points Parameter;Amount of pixel change is calculated according to each pixel detection point and the pixel-parameters of each self-corresponding target pixel points.
8. the device of Screen sharing according to claim 7, it is characterised in that the pixel-parameters include three bases of pixel Color rgb value.
9. the device of Screen sharing according to claim 7, it is characterised in that
The computing unit, is additionally operable to calculate the difference of the pixel-parameters of each pixel detection point and each self-corresponding target pixel points Value, regard the difference of calculating as amount of pixel change.
10. the device of the Screen sharing according to any one of claim 6 to 9, it is characterised in that described device is also wrapped Include:
Compression unit, processing is compressed for being more than first image belonging to the target pixel points of threshold value to amount of pixel change.
CN201710162268.9A 2017-03-17 2017-03-17 Screen sharing method and device Active CN106954004B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710162268.9A CN106954004B (en) 2017-03-17 2017-03-17 Screen sharing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710162268.9A CN106954004B (en) 2017-03-17 2017-03-17 Screen sharing method and device

Publications (2)

Publication Number Publication Date
CN106954004A true CN106954004A (en) 2017-07-14
CN106954004B CN106954004B (en) 2020-11-10

Family

ID=59473518

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710162268.9A Active CN106954004B (en) 2017-03-17 2017-03-17 Screen sharing method and device

Country Status (1)

Country Link
CN (1) CN106954004B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108419029A (en) * 2018-05-07 2018-08-17 威创集团股份有限公司 A kind of spelling wall image transfer method and device
CN109889697A (en) * 2017-12-06 2019-06-14 杭州海康威视数字技术股份有限公司 A kind of method and device of image detection, recorded broadcast equipment
CN112565766A (en) * 2020-11-11 2021-03-26 航天银山电气有限公司 Video transmission method, device and storage medium
CN112995776A (en) * 2021-01-26 2021-06-18 北京字跳网络技术有限公司 Method, device, equipment and storage medium for determining screen capture frame rate of shared screen content
WO2022135092A1 (en) * 2020-12-25 2022-06-30 北京字节跳动网络技术有限公司 Screen sharing display method and apparatus, device, and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100531427C (en) * 2007-04-24 2009-08-19 中兴通讯股份有限公司 Motion detection method and system applied at the mobile monitoring terminal
CN101820416A (en) * 2010-02-24 2010-09-01 上海引跑信息科技有限公司 Processing method of high-speed shared desktop in netmeeting system
JP2010258732A (en) * 2009-04-24 2010-11-11 Sony Corp Video processing device, video processing method and video processing program
KR20110077693A (en) * 2009-12-30 2011-07-07 주식회사 동부하이텍 Image processing method
CN102821278A (en) * 2012-07-27 2012-12-12 深信服网络科技(深圳)有限公司 Remote desktop image transmission method and remote desktop image transmission system
CN103327306A (en) * 2013-06-14 2013-09-25 广东威创视讯科技股份有限公司 Method and device for storing video surveillance image
CN103391442A (en) * 2013-07-24 2013-11-13 佳都新太科技股份有限公司 Rapid video image transmission compression algorithm based on regional division and difference comparison
CN103984511A (en) * 2013-02-07 2014-08-13 镇江为天下信息服务有限公司 Method for block transfer of screen during remote control
CN104735449A (en) * 2015-02-27 2015-06-24 成都信息工程学院 Image transmission method and system based on rectangular segmentation and interlaced scanning
CN104754336A (en) * 2015-04-13 2015-07-01 成都华迈通信技术有限公司 Coding method and coded stream control device on basis of image priority statistical analysis
CN104902202A (en) * 2015-05-15 2015-09-09 百度在线网络技术(北京)有限公司 Method and device for video storage

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100531427C (en) * 2007-04-24 2009-08-19 中兴通讯股份有限公司 Motion detection method and system applied at the mobile monitoring terminal
JP2010258732A (en) * 2009-04-24 2010-11-11 Sony Corp Video processing device, video processing method and video processing program
KR20110077693A (en) * 2009-12-30 2011-07-07 주식회사 동부하이텍 Image processing method
CN101820416A (en) * 2010-02-24 2010-09-01 上海引跑信息科技有限公司 Processing method of high-speed shared desktop in netmeeting system
CN102821278A (en) * 2012-07-27 2012-12-12 深信服网络科技(深圳)有限公司 Remote desktop image transmission method and remote desktop image transmission system
CN103984511A (en) * 2013-02-07 2014-08-13 镇江为天下信息服务有限公司 Method for block transfer of screen during remote control
CN103327306A (en) * 2013-06-14 2013-09-25 广东威创视讯科技股份有限公司 Method and device for storing video surveillance image
CN103391442A (en) * 2013-07-24 2013-11-13 佳都新太科技股份有限公司 Rapid video image transmission compression algorithm based on regional division and difference comparison
CN104735449A (en) * 2015-02-27 2015-06-24 成都信息工程学院 Image transmission method and system based on rectangular segmentation and interlaced scanning
CN104754336A (en) * 2015-04-13 2015-07-01 成都华迈通信技术有限公司 Coding method and coded stream control device on basis of image priority statistical analysis
CN104902202A (en) * 2015-05-15 2015-09-09 百度在线网络技术(北京)有限公司 Method and device for video storage

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109889697A (en) * 2017-12-06 2019-06-14 杭州海康威视数字技术股份有限公司 A kind of method and device of image detection, recorded broadcast equipment
CN108419029A (en) * 2018-05-07 2018-08-17 威创集团股份有限公司 A kind of spelling wall image transfer method and device
CN112565766A (en) * 2020-11-11 2021-03-26 航天银山电气有限公司 Video transmission method, device and storage medium
WO2022135092A1 (en) * 2020-12-25 2022-06-30 北京字节跳动网络技术有限公司 Screen sharing display method and apparatus, device, and storage medium
US12106008B2 (en) 2020-12-25 2024-10-01 Beijing Bytedance Network Technology Co., Ltd. Screen sharing display method and apparatus, device, and storage medium
CN112995776A (en) * 2021-01-26 2021-06-18 北京字跳网络技术有限公司 Method, device, equipment and storage medium for determining screen capture frame rate of shared screen content
CN112995776B (en) * 2021-01-26 2023-04-07 北京字跳网络技术有限公司 Method, device, equipment and storage medium for determining screen capture frame rate of shared screen content

Also Published As

Publication number Publication date
CN106954004B (en) 2020-11-10

Similar Documents

Publication Publication Date Title
CN106954004A (en) Screen sharing method and device
WO2021047429A1 (en) Image rendering method and device, apparatus, and storage medium
US20240139621A1 (en) Server and Data Processing Method, Apparatus, and System
US20190325630A1 (en) Image Synthesis Method, Image Chip, and Image Device
CN109640116B (en) Cloud mobile phone network video coding method and server
CN106507133B (en) Method, device and system for processing barrage message and equipment thereof
CN106412917A (en) Network expansion method and device
CN104301769B (en) Method, terminal device and the server of image is presented
US11233699B2 (en) Network slice creation method and management and orchestration system
CN108289246B (en) Data processing method, data processing apparatus, storage medium, and electronic apparatus
CN107104897A (en) Data transmission method and system based on path
CN109816757A (en) Play method and device, computer equipment, the computer storage medium of frame animation
CN112055213B (en) Method, system and medium for generating compressed image
CN107623643A (en) A kind of data packet forwarding method and device
CN106293953A (en) A kind of method and system accessing shared video data
CN108335260A (en) A kind of scene of game image processing method, device, storage medium and electronic device
CN112286637A (en) Method and device for adjusting computing resources
CN110784422A (en) Cloud mobile phone network data separation method, device, medium and terminal equipment
CN114816308B (en) Information partition display method and related equipment
CN107231693A (en) Sending, receiving method, the apparatus and system of uplink information
US11444877B2 (en) Packet flow identification with reduced decode operations
CN105578073B (en) A kind of video monitoring picture display process and device
US20240098316A1 (en) Video encoding method and apparatus, real-time communication method and apparatus, device, and storage medium
CN110941413B (en) Display screen generation method and related device
CN111389022B (en) Game video sharing method, system and mobile terminal

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
CP02 Change in the address of a patent holder

Address after: 518057, Nanshan District hi tech Industrial Park (North District), Guangdong, Shenzhen Province, No. 2, 1

Patentee after: YULONG COMPUTER TELECOMMUNICATION SCIENTIFIC (SHENZHEN) Co.,Ltd.

Address before: 518057, Nanshan District hi tech Industrial Park (North District), Guangdong, Guangzhou Province, No. 2, 1

Patentee before: YULONG COMPUTER TELECOMMUNICATION SCIENTIFIC (SHENZHEN) Co.,Ltd.

CP02 Change in the address of a patent holder