CN106339192A - Area sharing method and device as well as system - Google Patents
Area sharing method and device as well as system Download PDFInfo
- Publication number
- CN106339192A CN106339192A CN201610716979.1A CN201610716979A CN106339192A CN 106339192 A CN106339192 A CN 106339192A CN 201610716979 A CN201610716979 A CN 201610716979A CN 106339192 A CN106339192 A CN 106339192A
- Authority
- CN
- China
- Prior art keywords
- ratio
- equipment
- threshold value
- predetermined threshold
- length
- 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
-
- 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
-
- 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/0486—Drag-and-drop
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09B—EDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
- G09B5/00—Electrically-operated educational appliances
- G09B5/08—Electrically-operated educational appliances providing for individual presentation of information to a plurality of student stations
- G09B5/14—Electrically-operated educational appliances providing for individual presentation of information to a plurality of student stations with provision for individual teacher-student communication
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Business, Economics & Management (AREA)
- Educational Administration (AREA)
- Educational Technology (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses an area sharing method and device as well as a system. The area sharing method comprises the following steps: acquiring an area to be shared to a piece of second equipment from the screen of a piece of first equipment; confirming a target display ratio of the area according to a ratio of the length to the width of the area, wherein the target display ratio is used for indicating a picture ratio of the area displayed on the screen of the second equipment; displaying the target display ratio on the screen of the first equipment; judging whether a sharing instruction is received or not; after the sharing instruction is received, sharing the area to the second equipment according to the target display ratio. By adopting the area sharing method, the technical problem that in the prior art, the experience of a receiver of screen area sharing is poor can be solved.
Description
Technical field
The present invention relates to computer realm, in particular to a kind of district-share method, apparatus and system.
Background technology
For the application that can share screen, for example: the application of online education class, it is frequently necessary to when teacher gives lessons oneself screen
The picture of curtain is shared with student and is explained, but the screen area that teacher shares is self-defining, and teacher is on sharing screen
Region when there is no the prompting of any picture size sharing region, or, the region on screen that only display teacher shares is drawn
The resolution in face is it is impossible to allow teacher's simple, intuitive knows the experience of picture that student sees that teacher shares how.If teacher
When the aspect ratio shared and the screen aspect ratio difference of student terminal are larger, the experience of student side can be deteriorated.Therefore old
The picture of teacher's suitable length-width ratio of selection is shared and is seemed critically important.
For above-mentioned problem, effective solution is not yet proposed at present.
Content of the invention
Embodiments provide a kind of district-share method, apparatus and system, at least to solve screen in prior art
The technical problem of the Experience Degree difference of the recipient of curtain district-share.
One side according to embodiments of the present invention, there is provided a kind of district-share method, comprising: obtain the first equipment
Region to the second equipment to be shared on screen;Length according to described region and wide ratio determine that the target in described region shows
Ratio, wherein, described target displaying ratio is used for picture when indicating that described region shows on the screen of described second equipment
Ratio;Described target displaying ratio is shown on the screen of described first equipment;Judge whether to receive shared instruction;Receiving
To after described shared instruction, according to described target displaying ratio, described district-share is given described second equipment.
Another aspect according to embodiments of the present invention, additionally provides a kind of district-share device, comprising: the first acquisition mould
Block, for obtaining the region to the second equipment to be shared on the screen of the first equipment;First determining module, for according to described area
The length in domain and wide ratio determine the target displaying ratio in described region, and wherein, described target displaying ratio is used for indicating described
Aspect ratio when region shows on the screen of described second equipment;First display module, in described first equipment
Described target displaying ratio is shown on screen;Judge module, is used for judging whether to receive shared instruction;Sharing module, is used for
After receiving described shared instruction, according to described target displaying ratio, described district-share is given described second equipment.
In embodiments of the present invention, obtain the region to the second equipment to be shared on the screen of the first equipment;According to region
Length and wide ratio determine the target displaying ratio in region, wherein, target displaying ratio is used for indicating area in the second equipment
Screen on aspect ratio when showing;Display target displaying ratio on the screen of the first equipment;Judge whether to receive altogether
Enjoy instruction;After receiving shared instruction, according to target displaying ratio, district-share is given the second equipment.That is,
After region to the second equipment to be shared is got on the screen of the first equipment, true according to the length and width in this region obtaining
The target displaying ratio in this region fixed, and show that this target displaying ratio is shared it is achieved that treating on the screen of the first equipment
The proportional sizes in region automatic display it is possible to treating the region shared and adjusted according to the target displaying ratio of display
Whole, then after receiving shared instruction, give the second equipment so that sharing according to current target displaying ratio this district-share
Shared region on the second equipment disclosure satisfy that the display of the second equipment requires, and improves the recipient's that screen area is shared
Experience Degree, and then overcome the problem of the Experience Degree difference of the recipient that screen area is shared in prior art.
Brief description
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this
Bright schematic description and description is used for explaining the present invention, does not constitute inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the applied environment schematic diagram of a kind of optional district-share method according to embodiments of the present invention;
Fig. 2 is the schematic diagram of a kind of optional district-share method according to embodiments of the present invention;
Fig. 3 is the target display ratio in region to be shared in a kind of optional district-share method according to embodiments of the present invention
The schematic diagram of example;
Fig. 4 is that the target in region to be shared in another kind of optional district-share method according to embodiments of the present invention shows
The schematic diagram of ratio;
Fig. 5 is acquisition target ratio interval mode in a kind of optional district-share method according to embodiments of the present invention
Schematic diagram;
Fig. 6 is the schematic diagram of a kind of optional district-share device according to embodiments of the present invention;And
Fig. 7 is the schematic diagram of a kind of optional district-share equipment according to embodiments of the present invention.
Specific embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention
Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention it is clear that described embodiment is only
The embodiment of a present invention part, rather than whole embodiments.Based on the embodiment in the present invention, ordinary skill people
The every other embodiment that member is obtained under the premise of not making creative work, all should belong to the model of present invention protection
Enclose.
It should be noted that term " first " in description and claims of this specification and above-mentioned accompanying drawing, "
Two " it is etc. for distinguishing similar object, without for describing specific order or precedence.It should be appreciated that such use
Data can exchange in the appropriate case so that embodiments of the invention described herein can with except here diagram or
Order beyond those of description is implemented.Additionally, term " comprising " and " having " and their any deformation are it is intended that cover
Cover non-exclusive comprising, for example, contain series of steps or process, method, system, product or the equipment of unit are not necessarily limited to
Those steps clearly listed or unit, but may include clearly not listing or for these processes, method, product
Or the intrinsic other steps of equipment or unit.
Embodiment 1
In embodiments of the present invention, there is provided a kind of embodiment of above-mentioned data push method.Optionally real as one kind
Apply mode, this data push method can be, but not limited to be applied in applied environment as shown in Figure 1, the first equipment is with first eventually
End 102 as a example, the second equipment taking second terminal 104 as a example, first terminal 102 obtain on its screen to be shared to second terminal
104 region, the length according to this region and wide ratio determine for indicating that this region shows on the screen of second terminal 104
When aspect ratio target displaying ratio, and this target displaying ratio is shown on the screen of first terminal 102, first eventually
End 102 judges to whether receiving shared instruction, and after receiving shared instruction, according to above-mentioned target displaying ratio
This region is shared to second terminal 104 by network 106.
In the present embodiment, after the screen of first terminal 102 getting the region to second terminal 104 to be shared,
Determine the target displaying ratio in this region according to the length and width in this region obtaining, and on the screen of first terminal 102
Show this target displaying ratio it is achieved that treat the automatic display of the proportional sizes in the region shared it is possible to according to display
Target displaying ratio is treated the region shared and is adjusted, then after first terminal 102 receives shared instruction, according to current
Target displaying ratio can be expired this district-share so that sharing to the shared region in second terminal 104 to second terminal 104
The display of sufficient second terminal 104 requires, and improves the Experience Degree of the recipient that screen area is shared, and then overcomes in prior art
The problem of the Experience Degree difference of the recipient that screen area is shared.
Alternatively, in the present embodiment, above-mentioned first terminal or second terminal can include but is not limited to below at least
One of: mobile phone, panel computer, notebook computer, desk-top pc machine, DTV and other carry out the hardware device of district-share.
Above-mentioned network can include but is not limited at least one of: wide area network, Metropolitan Area Network (MAN), LAN.A kind of above-mentioned simply example, this
Embodiment does not do any restriction to this.
According to embodiments of the present invention, there is provided a kind of district-share method, as shown in Fig. 2 the method includes:
S202, obtains the region to the second equipment to be shared on the screen of the first equipment;
S204, the length according to region and wide ratio determine the target displaying ratio in region, and wherein, target displaying ratio is used
Aspect ratio when showing on the screen of the second equipment in indicating area;
S206, the length according to region and wide ratio determine the target displaying ratio in region, and wherein, target displaying ratio is used
Aspect ratio when showing on the screen of the second equipment in indicating area;
S208, judges whether to receive shared instruction;
District-share, after receiving shared instruction, is given the second equipment according to target displaying ratio by s210.
Alternatively, in the present embodiment, above-mentioned zone sharing method can be, but not limited to be applied to be provided with carry out region
In first equipment of shared applications client.Wherein, above-mentioned applications client can be, but not limited to as various types of applications,
For example, online education application, remote control application, instant messaging application, community space application, game application etc..Specifically, may be used
With but be not limited to be applied in above-mentioned applications client pass through obtain the first device screen on region to be shared set to second
In the scene of standby shared screen area, or can also but be not limited to be applied to send out by community space in above-mentioned applications client
In the scene of cloth screen area to be shared, to realize the shared of screen area.Above-mentioned is only a kind of example, in the present embodiment
This is not done with any restriction.
It should be noted that in the present embodiment, the screen of the first equipment gets to be shared to the second equipment
The target displaying ratio in this region behind region, is determined according to the length and width in this region obtaining, and the screen in the first equipment
This target displaying ratio is shown on curtain it is achieved that treating the automatic display of the proportional sizes in the region shared it is possible to according to aobvious
The target displaying ratio showing is treated the region shared and is adjusted, then after receiving shared instruction, shows according to current target
Show ratio this district-share give the second equipment so that the shared region sharing on the second equipment disclosure satisfy that the second equipment
Display requires, and improves the Experience Degree of the recipient that screen area is shared, and then overcomes screen area in prior art to share
The problem of the Experience Degree difference of recipient.
Alternatively, in the present embodiment, obtain the mode in the region to the second equipment to be shared on the screen of the first equipment
Can be, but not limited to the drag operation of shared region execution is treated including detection on the screen of the first equipment.For example: as Fig. 3 institute
Show, detect and shared region is treated on the screen of the first equipment perform first time drag operation, obtaining this first time pulls
As first area, the length according to first area and wide ratio, the region that operation is formed determines that the target of this first area shows
Ratio is 16.0:11.0, shows this target displaying ratio 16.0:11.0 on screen.
Alternatively, in the present embodiment, if first area being got by first time drag operation and determining and show
It is not received by shared instruction, then can be, but not limited to continuation acquisition first and set after the target displaying ratio having shown first area
Region to the second equipment to be shared on standby screen.For example: as shown in figure 4, detect treating on the screen of the first equipment
Shared region performs second drag operation, obtains the region that this second drag operation formed as second area, according to
The length of second area and wide ratio determine that the target displaying ratio of this second area is 16.0:9.0, show this on screen
Target displaying ratio 16.0:9.0.
Alternatively, in the present embodiment, it can be determined that whether after showing above-mentioned target displaying ratio 16.0:9.0
Receive shared instruction.For example: as shown in Figure 4 it can be determined that whether click behaviour is detected on the option of " beginning real-time sharing "
Make, if clicking operation has been detected, that is, receive shared instruction, then by the target currently chosen displaying ratio be 16.0:
9.0 second area shares to described second equipment.
It can be seen that, by above-mentioned steps, the target displaying ratio in region to be shared is most clearly shown in the first equipment
So that user can decide whether current areas share to the second equipment according to this target displaying ratio on screen, thus
Improve the Experience Degree that district-share sends end subscriber.Further, district-share transmission end subscriber is currently to be shared by observing
The target displaying ratio in region region to be shared is adjusted to suitable ratio, and district-share is given the second equipment.Make
The shared region that second equipment of obtaining receives is more suitable for the display of the second equipment, thus improve the recipient that screen area is shared
Experience Degree.
Alternatively, in the present embodiment, target displaying ratio can be, but not limited to be that stepping determines and shows, for mesh
Mark displaying ratio can be, but not limited to for target displaying ratio to be divided into different ratios intervals, and different ratio intervals is also just right
Answer different gears, different gears be can be, but not limited to be represented with different ratio.For example: can be according to be shared
Region length-width ratio by target displaying ratio correspond to three ratio intervals, if the length-width ratio in region to be shared be x, first
Ratio is interval to be x > 1.44, and the interval corresponding target displaying ratio of the first ratio isSecond ratio is interval to be 1.44 > x >
1.2, the interval corresponding target displaying ratio of the second ratio is3rd ratio is interval to be 1.2 > x > 0, and the 3rd ratio interval is right
The target displaying ratio answered is
It should be noted that above value is a kind of example, the present embodiment does not limit to this.Above-mentioned value can but
It is not limited to be configured according to actual needs or select.
Alternatively, in the present embodiment, target displaying ratio can be, but not limited to be the length-width ratio institute by obtaining region
Target ratio interval determine, by pre-setting the corresponding relation between the interval and multiple displaying ratio of multiple ratios, root
Obtain target ratio interval according to the length-width ratio in region, thus obtaining the interval corresponding target displaying ratio of this target ratio.Enter one
Step, can be, but not limited to carry out interval for target ratio corresponding target displaying ratio according to the display aspect ratio of current main flow
Dividing, enabling the region to be shared obtaining on the first device more to adapt to the screen of the second equipment, thus improving screen
The Experience Degree of the recipient of curtain district-share.
As a kind of optional scheme, determine that the target displaying ratio in region includes:
S1, the length-width ratio of zoning, wherein, length-width ratio is used for the length of indicating area and the ratio of width;
S2, obtains the target ratio interval that length-width ratio is located, wherein, pre-sets the interval and multiple display of multiple ratios
Corresponding relation between ratio, the interval corresponding displaying ratio of each ratio, the interval target ratio that includes of multiple ratios is interval,
Multiple displaying ratios include target displaying ratio;
S3, obtains corresponding target displaying ratio interval with target ratio.
Alternatively, in the present embodiment, so that the teacher's client in online education application carries out district-share as a example, due to
The screen area needs that teacher's client is shared are shown on the equipment of different installation student clients, the mobile phone of current main flow
Ratio is 16:9, or 16:10, and the screen proportion of panel computer (such as ipad) is 4:3, it may also be desirable to point in some scenes
Enjoy foursquare region content, therefore, interval for different ratios corresponding displaying ratio is divided into third gear to show: 16.0:xxx;
4.0:xxx;1.0:xxx, wherein, the different value that " xxx " expression obtains according to the length-width ratio in different regions.
As a kind of optional scheme, the target ratio interval obtaining length-width ratio place includes:
S1, judges whether length-width ratio is more than the first predetermined threshold value;
S2, in the case of judging that length-width ratio is more than the first predetermined threshold value, corresponding for the first predetermined threshold value first is compared
The interval target ratio interval being located as length-width ratio of value, wherein, the first ratio interval is more than the first predetermined threshold value;
S3, in the case of judging that length-width ratio is not more than the first predetermined threshold value, judges whether length-width ratio is pre- more than second
If threshold value, wherein, the second predetermined threshold value is less than the first predetermined threshold value;
S4, in the case of judging that length-width ratio is more than the second predetermined threshold value, corresponding for the second predetermined threshold value second is compared
The interval target ratio being located as length-width ratio of value is interval, wherein, the second ratio interval be less than or equal to the first predetermined threshold value and
More than the second predetermined threshold value;
S5, in the case of judging that length-width ratio is not more than the second predetermined threshold value, judges whether length-width ratio is pre- more than the 3rd
If threshold value, wherein, the 3rd predetermined threshold value is less than the second predetermined threshold value;
S6, in the case of judging that length-width ratio is more than the 3rd predetermined threshold value, the corresponding for the 3rd predetermined threshold value the 3rd is compared
The interval target ratio being located as length-width ratio of value is interval, wherein, the 3rd ratio interval be less than or equal to the second predetermined threshold value and
More than the 3rd predetermined threshold value;
S7, in the case of judging that length-width ratio is not more than the 3rd predetermined threshold value, determines that length-width ratio is illegal.
Alternatively, in the present embodiment, the interval corresponding displaying ratio of the first ratio, the interval corresponding display of the second ratio
Ratio and the interval corresponding displaying ratio of the 3rd ratio can be, but not limited to be determined according to below equation:
Wherein, d1 is the interval corresponding displaying ratio of the first ratio, and d2 is the interval corresponding displaying ratio of the second ratio, d3
For the interval corresponding displaying ratio of the 3rd ratio, x is length-width ratio.
Specifically illustrate with reference to Fig. 5, in the present embodiment, the first predetermined threshold value taking 1.44 as a example, the second predetermined threshold value
Taking 1.2 as a example, the 3rd predetermined threshold value is taking 0 as a example, as shown in figure 5, obtaining the mode bag in the target ratio interval that length-width ratio is located
Include following steps:
Step s502, the length-width ratio of zoning, length-width ratio is expressed as x.
Step s504, judges whether length-width ratio x is more than the first predetermined threshold value, that is, determine whether x > 1.44, if it is determined that
Result is yes, then execution step s506, otherwise, execution step s508.
Step s506, on the screen of the first equipment, display target displaying ratio is
Step s508, judges whether length-width ratio x is more than the second predetermined threshold value, that is, determine whether 1.44 > x > 1.2, if
Judged result is yes, then execution step s510, otherwise, execution step s512.
Step s510, on the screen of the first equipment, display target displaying ratio is
Step s512, judges whether length-width ratio x is more than the 3rd predetermined threshold value, that is, determine whether 1.2 > x > 0, if it is determined that
Result is yes, then execution step s514, otherwise, execution step s516.
Step s514, on the screen of the first equipment, display target displaying ratio is
Step s516, determines that length-width ratio x is illegal, display reminding information on the screen of the first equipment.
It can be seen that, by above-mentioned steps, the length-width ratio treating the region shared divides ratio interval, and each ratio interval is right
Answer displaying ratio so that target displaying ratio can be shown with stepping, the current choosing so that user can visually see
In region to be shared whether suitable, be adjusted or shared thus treating and sharing region.Further so that sharing to the
The region of two equipment can be more suitable for the screen of the second equipment, thus improve the Experience Degree of the recipient that screen area is shared.
As a kind of optional scheme, the second equipment includes: multiple equipment, wherein, is determining the target display ratio in region
Before example, also include:
S1, the device type of the multiple equipment that second equipment of acquisition includes;
S2, determines the average screen ratio of multiple equipment according to device type, and wherein, average screen ratio is used for indicating many
The meansigma methodss of the screen proportion of individual equipment;
S3, shows average screen ratio on the screen of the first equipment, and wherein, average screen ratio is used for determining region
Target displaying ratio.
Alternatively, in the present embodiment, the device type of the multiple equipment being included according to the second equipment, determines multiple equipment
Average screen ratio, and this average screen ratio is shown on the screen of the first equipment, thus providing the user sharing area
The reference of the ratio in domain, user can adjust region to be shared according to this average screen ratio.For example: the average screen of determination
Ratio is 16:7.8, then this average screen ratio 16:7.8 is shown on the screen of the first equipment, user can basis
The target displaying ratio of this ratio and display easily adjusts the target displaying ratio in region to being more suitable for the second equipment
Display and very common ratio 16:9.
The embodiment being provided by the application, determines the average screen ratio of the multiple equipment that the second equipment includes, and will
It is shown on the screen of the first equipment so that user can adjust target displaying ratio according to this ratio and share region, from
And improve the Experience Degree of the recipient that screen area is shared.
As a kind of optional scheme, included according to the average screen ratio that device type determines multiple equipment:
S1, determines the quantity of the equipment of every kind of device type in multiple equipment;
S2, determines average screen ratio according to quantity and the corresponding screen proportion of every kind of device type.
Alternatively, in the present embodiment, can be, but not limited to the device type of multiple equipment including according to the second equipment
And the corresponding screen proportion of every kind of device type is determined to above-mentioned average screen ratio.For example: multiple equipment includes
70% mobile phone terminal, 20% panel computer and 10% pc end, the corresponding screen proportion of mobile phone terminal be 16:9, flat board
The corresponding screen proportion of computer is 4:3, and the corresponding screen proportion in pc end is 16:10, because the quantity of mobile phone terminal is more, then
The average screen ratio determining can be relatively close to the corresponding screen proportion of mobile phone terminal, or, using 16:9 as average screen
Ratio.
As a kind of optional scheme, before the region to the second equipment to be shared on the screen of first equipment of acquisition,
Also include:
S1, receives region adjust instruction;
S2, responds described region adjust instruction and adjusts described region from first area on the screen of described first equipment
To second area.
Alternatively, in the present embodiment, can be, but not limited to treat, by adjust instruction, the region shared and be adjusted, adjust
The edge that whole mode can be, but not limited to treat the region shared carries out pulling, inputs size in region to be shared etc..
It should be noted that for aforesaid each method embodiment, in order to be briefly described, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention is not limited by described sequence of movement because
According to the present invention, some steps can be carried out using other orders or simultaneously.Secondly, those skilled in the art also should know
Know, embodiment described in this description belongs to preferred embodiment, involved action and the module not necessarily present invention
Necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned enforcement
The method of example can be realized by the mode of software plus necessary general hardware platform naturally it is also possible to pass through hardware, but a lot
In the case of the former is more preferably embodiment.Based on such understanding, technical scheme is substantially in other words to existing
What technology contributed partly can be embodied in the form of software product, and this computer software product is stored in a storage
In medium (as rom/ram, magnetic disc, CD), including some instructions with so that a station terminal equipment (can be mobile phone, calculate
Machine, server, or network equipment etc.) execution each embodiment of the present invention described in method.
Embodiment 2
According to embodiments of the present invention, additionally provide a kind of district-share device for implementing above-mentioned zone sharing method,
As shown in fig. 6, this device includes:
1) the first acquisition module 602, for obtaining the region to the second equipment to be shared on the screen of the first equipment;
2) the first determining module 604, determines the target displaying ratio in region for the length according to region and wide ratio, its
In, aspect ratio when target displaying ratio shows on the screen of the second equipment for indicating area;
3) the first display module 606, for display target displaying ratio on the screen of the first equipment;
4) judge module 608, are used for judging whether to receive shared instruction;
5) district-share for after receiving shared instruction, is given the according to target displaying ratio by sharing module 610
Two equipment.
Alternatively, in the present embodiment, above-mentioned zone sharing means can be, but not limited to be applied to be provided with carry out region
In first equipment of shared applications client.Wherein, above-mentioned applications client can be, but not limited to as various types of applications,
For example, online education application, remote control application, instant messaging application, community space application, game application etc..Specifically, may be used
With but be not limited to be applied in above-mentioned applications client pass through obtain the first device screen on region to be shared set to second
In the scene of standby shared screen area, or can also but be not limited to be applied to send out by community space in above-mentioned applications client
In the scene of cloth screen area to be shared, to realize the shared of screen area.Above-mentioned is only a kind of example, in the present embodiment
This is not done with any restriction.
It should be noted that in the present embodiment, the first acquisition module gets to be shared on the screen of the first equipment
To after the region of the second equipment, the first determining module shows according to the target that the length and width in this region obtaining determines this region
Show ratio, and this target displaying ratio is shown on the screen of the first equipment by the first display module and share it is achieved that treating
The automatic display of the proportional sizes in region is adjusted it is possible to treat, according to the target displaying ratio of display, the region shared,
Again after judge module is judged to receive shared instruction, sharing module is according to current target displaying ratio this district-share
To the second equipment so that the shared region sharing on the second equipment disclosure satisfy that the display of the second equipment requires, improve screen
The Experience Degree of the recipient of curtain district-share, and then overcome the Experience Degree difference of the recipient that screen area is shared in prior art
Problem.
Alternatively, in the present embodiment, first acquisition module obtain the first equipment screen on to be shared to the second equipment
Region mode can be, but not limited to including detection treat on the screen of the first equipment shared region execution drag operation.
For example: perform first time drag operation as shown in figure 3, detecting and shared region being treated on the screen of the first equipment, obtain
The region that this first time drag operation is formed determines this firstth area as first area, the length according to first area and wide ratio
The target displaying ratio in domain is 16.0:11.0, shows this target displaying ratio 16.0:11.0 on screen.
Alternatively, in the present embodiment, if first area being got by first time drag operation and determining and show
It is not received by shared instruction, then can be, but not limited to continuation acquisition first and set after the target displaying ratio having shown first area
Region to the second equipment to be shared on standby screen.For example: as shown in figure 4, detect treating on the screen of the first equipment
Shared region performs second drag operation, obtains the region that this second drag operation formed as second area, according to
The length of second area and wide ratio determine that the target displaying ratio of this second area is 16.0:9.0, show this on screen
Target displaying ratio 16.0:9.0.
Alternatively, in the present embodiment, after showing above-mentioned target displaying ratio 16.0:9.0, can be by judging mould
Block judges whether to receive shared instruction.For example: as shown in Figure 4 it can be determined that whether examining on the option of " beginning real-time sharing "
Measuring clicking operation, if clicking operation has been detected, that is, receiving shared instruction, then the target currently chosen is shown ratio
The second area for 16.0:9.0 for the example shares to described second equipment.
It can be seen that, by said apparatus, the target displaying ratio in region to be shared is most clearly shown in the first equipment
So that user can decide whether current areas share to the second equipment according to this target displaying ratio on screen, thus
Improve the Experience Degree that district-share sends end subscriber.Further, district-share transmission end subscriber is currently to be shared by observing
The target displaying ratio in region region to be shared is adjusted to suitable ratio, and district-share is given the second equipment.Make
The shared region that second equipment of obtaining receives is more suitable for the display of the second equipment, thus improve the recipient that screen area is shared
Experience Degree.
Alternatively, in the present embodiment, target displaying ratio can be, but not limited to be that stepping determines and shows, for mesh
Mark displaying ratio can be, but not limited to for target displaying ratio to be divided into different ratios intervals, and different ratio intervals is also just right
Answer different gears, different gears be can be, but not limited to be represented with different ratio.For example: can be according to be shared
Region length-width ratio by target displaying ratio correspond to three ratio intervals, if the length-width ratio in region to be shared be x, first
Ratio is interval to be x > 1.44, and the interval corresponding target displaying ratio of the first ratio isSecond ratio is interval to be 1.44 > x >
1.2, the interval corresponding target displaying ratio of the second ratio is3rd ratio is interval to be 1.2 > x > 0, and the 3rd ratio interval is right
The target displaying ratio answered is
It should be noted that above value is a kind of example, the present embodiment does not limit to this.Above-mentioned value can but
It is not limited to be configured according to actual needs or select.
Alternatively, in the present embodiment, target displaying ratio can be, but not limited to be the length-width ratio institute by obtaining region
Target ratio interval determine, by pre-setting the corresponding relation between the interval and multiple displaying ratio of multiple ratios, root
Obtain target ratio interval according to the length-width ratio in region, thus obtaining the interval corresponding target displaying ratio of this target ratio.Enter one
Step, can be, but not limited to carry out interval for target ratio corresponding target displaying ratio according to the display aspect ratio of current main flow
Dividing, enabling the region to be shared obtaining on the first device more to adapt to the screen of the second equipment, thus improving screen
The Experience Degree of the recipient of curtain district-share.
As a kind of optional scheme, the first determining module includes:
1) computing unit, for the length-width ratio of zoning, wherein, length-width ratio is used for length and the width of indicating area
Ratio;
2) first acquisition unit, the target ratio for obtaining length-width ratio place is interval, wherein, pre-sets multiple ratios
It is worth the corresponding relation between interval and multiple displaying ratio, the interval corresponding displaying ratio of each ratio, multiple ratios are interval
Interval including target ratio, multiple displaying ratios include target displaying ratio;
3) second acquisition unit, for obtaining corresponding target displaying ratio interval with target ratio.
Alternatively, in the present embodiment, so that the teacher's client in online education application carries out district-share as a example, due to
The screen area needs that teacher's client is shared are shown on the equipment of different installation student clients, the mobile phone of current main flow
Ratio is 16:9, or 16:10, and the screen proportion of panel computer (such as ipad) is 4:3, it may also be desirable to point in some scenes
Enjoy foursquare region content, therefore, interval for different ratios corresponding displaying ratio is divided into third gear to show: 16.0:xxx;
4.0:xxx;1.0:xxx, wherein, the different value that " xxx " expression obtains according to the length-width ratio in different regions.
As a kind of optional scheme, first acquisition unit includes:
1) the first judgment sub-unit, for judging whether length-width ratio is more than the first predetermined threshold value;
2) the first process subelement, in the case of judging that length-width ratio is more than the first predetermined threshold value, pre- by first
If the interval target ratio being located as length-width ratio of corresponding first ratio of threshold value is interval, wherein, the first ratio interval be more than
First predetermined threshold value;
3) the second judgment sub-unit, for, in the case of judging that length-width ratio is not more than the first predetermined threshold value, judging length
Whether wide ratio is more than the second predetermined threshold value, and wherein, the second predetermined threshold value is less than the first predetermined threshold value;
4) second processing subelement, in the case of judging that length-width ratio is more than the second predetermined threshold value, pre- by second
If the interval target ratio being located as length-width ratio of corresponding second ratio of threshold value is interval, wherein, the second ratio interval be less than
Equal to the first predetermined threshold value and more than the second predetermined threshold value;
5) the 3rd judgment sub-unit, for, in the case of judging that length-width ratio is not more than the second predetermined threshold value, judging length
Whether wide ratio is more than the 3rd predetermined threshold value, and wherein, the 3rd predetermined threshold value is less than the second predetermined threshold value;
6) the 3rd process subelement, in the case of judging that length-width ratio is more than the 3rd predetermined threshold value, pre- by the 3rd
If the interval target ratio being located as length-width ratio of corresponding 3rd ratio of threshold value is interval, wherein, the 3rd ratio interval be less than
Equal to the second predetermined threshold value and more than the 3rd predetermined threshold value;
7) determination subelement, for, in the case of judging that length-width ratio is not more than the 3rd predetermined threshold value, determining length-width ratio
Illegal.
Alternatively, in the present embodiment, the interval corresponding displaying ratio of the first ratio, the interval corresponding display of the second ratio
Ratio and the interval corresponding displaying ratio of the 3rd ratio can be, but not limited to be determined according to below equation:
Wherein, d1 is the interval corresponding displaying ratio of the first ratio, and d2 is the interval corresponding displaying ratio of the second ratio, d3
For the interval corresponding displaying ratio of the 3rd ratio, x is length-width ratio.
Specifically illustrate with reference to Fig. 5, in the present embodiment, the first predetermined threshold value taking 1.44 as a example, the second predetermined threshold value
Taking 1.2 as a example, the 3rd predetermined threshold value is taking 0 as a example, as shown in figure 5, obtaining the mode bag in the target ratio interval that length-width ratio is located
Include following steps:
Step s502, the length-width ratio of zoning, length-width ratio is expressed as x.
Step s504, judges whether length-width ratio x is more than the first predetermined threshold value, that is, determine whether x > 1.44, if it is determined that
Result is yes, then execution step s506, otherwise, execution step s508.
Step s506, on the screen of the first equipment, display target displaying ratio is
Step s508, judges whether length-width ratio x is more than the second predetermined threshold value, that is, determine whether 1.44 > x > 1.2, if
Judged result is yes, then execution step s510, otherwise, execution step s512.
Step s510, on the screen of the first equipment, display target displaying ratio is
Step s512, judges whether length-width ratio x is more than the 3rd predetermined threshold value, that is, determine whether 1.2 > x > 0, if it is determined that
Result is yes, then execution step s514, otherwise, execution step s516.
Step s514, on the screen of the first equipment, display target displaying ratio is
Step s516, determines that length-width ratio x is illegal, display reminding information on the screen of the first equipment.
It can be seen that, by above-mentioned steps, the length-width ratio treating the region shared divides ratio interval, and each ratio interval is right
Answer displaying ratio so that target displaying ratio can be shown with stepping, the current choosing so that user can visually see
In region to be shared whether suitable, be adjusted or shared thus treating and sharing region.Further so that sharing to the
The region of two equipment can be more suitable for the screen of the second equipment, thus improve the Experience Degree of the recipient that screen area is shared.
As a kind of optional scheme, the second equipment includes: multiple equipment, also includes:
1) the second acquisition module, for obtaining the device type of the multiple equipment that the second equipment includes;
2) the second determining module, for determining the average screen ratio of multiple equipment according to device type, wherein, average screen
Curtain ratio is used for indicating the meansigma methodss of the screen proportion of multiple equipment;
3) the second display module, for average screen ratio is shown on the screen of the first equipment, wherein, average screen ratio
Example is for determining the target displaying ratio in region.
Alternatively, in the present embodiment, the device type of the multiple equipment being included according to the second equipment, determines multiple equipment
Average screen ratio, and this average screen ratio is shown on the screen of the first equipment, thus providing the user sharing area
The reference of the ratio in domain, user can adjust region to be shared according to this average screen ratio.For example: the average screen of determination
Ratio is 16:7.8, then this average screen ratio 16:7.8 is shown on the screen of the first equipment, user can basis
The target displaying ratio of this ratio and display easily adjusts the target displaying ratio in region to being more suitable for the second equipment
Display and very common ratio 16:9.
The embodiment being provided by the application, determines the average screen ratio of the multiple equipment that the second equipment includes, and will
It is shown on the screen of the first equipment so that user can adjust target displaying ratio according to this ratio and share region, from
And improve the Experience Degree of the recipient that screen area is shared.
As a kind of optional scheme, the second determining module includes:
1) the first determining unit, for determining the quantity of the equipment of every kind of device type in multiple equipment;
2) the second determining unit, for determining average screen according to quantity and the corresponding screen proportion of every kind of device type
Ratio.
Alternatively, in the present embodiment, can be, but not limited to the device type of multiple equipment including according to the second equipment
And the corresponding screen proportion of every kind of device type is determined to above-mentioned average screen ratio.For example: multiple equipment includes
70% mobile phone terminal, 20% panel computer and 10% pc end, the corresponding screen proportion of mobile phone terminal be 16:9, flat board
The corresponding screen proportion of computer is 4:3, and the corresponding screen proportion in pc end is 16:10, because the quantity of mobile phone terminal is more, then
The average screen ratio determining can be relatively close to the corresponding screen proportion of mobile phone terminal, or, using 16:9 as average screen
Ratio.
As a kind of optional scheme, also include:
1) receiver module, is used for receiving region adjust instruction;
2) region is adjusted from first area on the screen of the first equipment by adjusting module for response region adjust instruction
To second area.
Alternatively, in the present embodiment, can be, but not limited to treat, by adjust instruction, the region shared and be adjusted, adjust
The edge that whole mode can be, but not limited to treat the region shared carries out pulling, inputs size in region to be shared etc..
Embodiment 3
The applied environment of the embodiment of the present invention can be, but not limited to reference to the applied environment in embodiment 1, in the present embodiment
This is repeated no more.Embodiments provide and show for a kind of optional concrete application implementing above-mentioned zone sharing method
Example.
As a kind of optional embodiment, above-mentioned zone sharing method can be, but not limited to be applied to online education application
In.First equipment is mounted with teacher's client of online education application, and the second equipment is mounted with the student visitor of online education application
Family end.Teacher using the first equipment chooses the region of student to be shared with the screen of the first equipment, and teacher's client obtains
Take this region, and the length according to this region and wide ratio determine the target displaying ratio in this region, this target determining is shown
Show that ratio shows on the first device.
Teacher's client can be, but not limited to receive the adjustment instruction that teacher users treat the region shared, and according to adjustment
The target displaying ratio in the region after the length in region afterwards and the determination adjustment of wide ratio.
Teacher's client judges whether receive shared instruction after showing target displaying ratio, and is judging to receive
To in the case of shared instruction, the screen area under current target displaying ratio is shared to the second equipment.
The student client of the second equipment receives the region that teacher's client of the first equipment is shared, in the second equipment
The region of the first collaborative share is adaptively shown on screen.
In the present embodiment, determine and show the target in this region by the length according to region to be shared and wide ratio
Displaying ratio, facilitates the sender of shared region that region to be shared is adjusted.Further, according to shared instruction according to work as
This district-share is given the second equipment by front target displaying ratio.So that the shared region sharing on the second equipment disclosure satisfy that
The display of the second equipment requires, and improves the Experience Degree of the recipient that screen area is shared, and then overcomes screen in prior art
The problem of the Experience Degree difference of the recipient of district-share.
Embodiment 4
According to embodiments of the present invention, additionally provide a kind of district-share equipment for implementing above-mentioned zone sharing method,
As shown in fig. 7, this equipment includes:
1) communication interface 702, the region to the second equipment to be shared on the screen being set to obtain the first equipment;Also set up
It is display target displaying ratio on the screen of the first equipment;
2) processor 704, are connected with communication interface 702, be set to the length according to region and wide ratio determines region
Target displaying ratio, wherein, aspect ratio when target displaying ratio shows on the screen of the second equipment for indicating area;
It is also configured to judge whether to receive shared instruction;And after receiving shared instruction, according to target displaying ratio by region
Share to the second equipment
3) memorizer 706, are connected with communication interface 702 and processor 704, are set to store the length of above-mentioned zone and wide
Ratio and above-mentioned target displaying ratio.
Alternatively, the specific example in the present embodiment may be referred to showing described in above-described embodiment 1 and embodiment 2
Example, the present embodiment will not be described here.
Embodiment 5
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, above-mentioned storage medium can
With at least one of the multiple network equipments in the network network equipment.
Alternatively, in the present embodiment, storage medium is arranged to store for executing the program code of following steps:
S1, obtains the region to the second equipment to be shared on the screen of the first equipment;
S2, the length according to region and wide ratio determine the target displaying ratio in region, and wherein, target displaying ratio is used for
Aspect ratio when indicating area shows on the screen of the second equipment;
S3, display target displaying ratio on the screen of the first equipment;
S4, judges whether to receive shared instruction;
District-share, after receiving shared instruction, is given the second equipment according to target displaying ratio by s5.
Alternatively, storage medium is also configured to store for executing the program code of following steps:
S1, the length-width ratio of zoning, wherein, length-width ratio is used for the length of indicating area and the ratio of width;
S2, obtains the target ratio interval that length-width ratio is located, wherein, pre-sets the interval and multiple display of multiple ratios
Corresponding relation between ratio, the interval corresponding displaying ratio of each ratio, the interval target ratio that includes of multiple ratios is interval,
Multiple displaying ratios include target displaying ratio;
S3, obtains corresponding target displaying ratio interval with target ratio.
Alternatively, storage medium is also configured to store the program code for executing following steps: judges that length-width ratio is
No it is more than the first predetermined threshold value;
In the case of judging that length-width ratio is more than the first predetermined threshold value, by corresponding for the first predetermined threshold value the first ratio area
Between the target ratio that is located as length-width ratio interval, wherein, the first ratio interval is more than the first predetermined threshold value;
In the case of judging that length-width ratio is not more than the first predetermined threshold value, judge whether length-width ratio is more than the second default threshold
Value, wherein, the second predetermined threshold value is less than the first predetermined threshold value;In the case of judging that length-width ratio is more than the second predetermined threshold value,
Using interval for corresponding for the second predetermined threshold value the second ratio target ratio interval being located as length-width ratio, wherein, the second ratio area
Between be less than or equal to the first predetermined threshold value and be more than the second predetermined threshold value;Judging length-width ratio no more than the second predetermined threshold value
In the case of, judge whether length-width ratio is more than the 3rd predetermined threshold value, wherein, the 3rd predetermined threshold value is less than the second predetermined threshold value;?
In the case of judging that length-width ratio is more than the 3rd predetermined threshold value, using interval for corresponding for the 3rd predetermined threshold value the 3rd ratio as length and width
More interval than the target ratio being located, wherein, the 3rd ratio interval is less than or equal to the second predetermined threshold value and to be more than the 3rd default threshold
Value;In the case of judging that length-width ratio is not more than the 3rd predetermined threshold value, determine that length-width ratio is illegal.
Alternatively, storage medium is also configured to store the program code for executing following steps: obtains the second equipment
Including multiple equipment device type;Determine the average screen ratio of multiple equipment, wherein, average screen according to device type
Ratio is used for indicating the meansigma methodss of the screen proportion of multiple equipment;Average screen ratio is shown on the screen of the first equipment, its
In, average screen ratio is used for determining the target displaying ratio in region.
Alternatively, storage medium is also configured to store the program code for executing following steps: determines multiple equipment
In every kind of device type equipment quantity;Average screen is determined according to quantity and the corresponding screen proportion of every kind of device type
Ratio.
Alternatively, storage medium is also configured to store the program code for executing following steps: receives region and adjusts
Whole instruction;Region is adjusted to second area from first area on the screen of the first equipment by response region adjust instruction.
Alternatively, in the present embodiment, above-mentioned storage medium can include but is not limited to: u disk, read only memory (rom,
Read-only memory), random access memory (ram, random access memory), portable hard drive, magnetic disc or
CD etc. is various can be with the medium of store program codes.
Alternatively, the specific example in the present embodiment may be referred to showing described in above-described embodiment 1 and embodiment 2
Example, the present embodiment will not be described here.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
If the integrated unit in above-described embodiment is realized and as independent product using in the form of SFU software functional unit
When selling or using, can be stored in the storage medium that above computer can read.Based on such understanding, the skill of the present invention
The part that art scheme substantially contributes to prior art in other words or all or part of this technical scheme can be with soft
The form of part product embodies, and this computer software product is stored in storage medium, including some instructions with so that one
Platform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) execution each embodiment institute of the present invention
State all or part of step of method.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not have in certain embodiment
The part describing in detail, may refer to the associated description of other embodiment.
It should be understood that disclosed client in several embodiments provided herein, other sides can be passed through
Formula is realized.Wherein, device embodiment described above is only the schematically division of for example described unit, and only one
Kind of division of logic function, actual can have other dividing mode when realizing, for example multiple units or assembly can in conjunction with or
It is desirably integrated into another system, or some features can be ignored, or do not execute.Another, shown or discussed mutual it
Between coupling or direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING of unit or module or communication link
Connect, can be electrical or other form.
The described unit illustrating as separating component can be or may not be physically separate, show as unit
The part showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
On NE.The mesh to realize this embodiment scheme for some or all of unit therein can be selected according to the actual needs
's.
In addition, can be integrated in a processing unit in each functional unit in each embodiment of the present invention it is also possible to
It is that unit is individually physically present it is also possible to two or more units are integrated in a unit.Above-mentioned integrated list
Unit both can be to be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
The above is only the preferred embodiment of the present invention it is noted that ordinary skill people for the art
For member, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should
It is considered as protection scope of the present invention.
Claims (12)
1. a kind of district-share method is it is characterised in that include:
Obtain the region to the second equipment to be shared on the screen of the first equipment;
Length according to described region and wide ratio determine the target displaying ratio in described region, wherein, described target display ratio
Example is for aspect ratio when indicating that described region shows on the screen of described second equipment;
Described target displaying ratio is shown on the screen of described first equipment;
Judge whether to receive shared instruction;
After receiving described shared instruction, according to described target displaying ratio, described district-share is set to described second
Standby.
2. method according to claim 1 is it is characterised in that the target displaying ratio in the described region of determination includes:
Calculate the length-width ratio in described region, wherein, described length-width ratio is used for indicating the length in described region and the ratio of width;
Obtain the target ratio interval that described length-width ratio is located, wherein, pre-set the interval and multiple display ratio of multiple ratios
Corresponding relation between example, the interval corresponding described displaying ratio of each described ratio, the plurality of ratio is interval to include institute
State target ratio interval, the plurality of displaying ratio includes described target displaying ratio;
Obtain corresponding described target displaying ratio interval with described target ratio.
3. method according to claim 2 is it is characterised in that the target ratio at described acquisition described length-width ratio place is interval
Including:
Judge whether described length-width ratio is more than the first predetermined threshold value;
In the case of judging that described length-width ratio is more than described first predetermined threshold value, by corresponding for described first predetermined threshold value the
The interval described target ratio interval being located as described length-width ratio of one ratio, wherein, described first ratio interval is more than institute
State the first predetermined threshold value;
In the case of judging that described length-width ratio is not more than described first predetermined threshold value, judge that whether described length-width ratio is more than the
Two predetermined threshold value, wherein, described second predetermined threshold value is less than described first predetermined threshold value;
In the case of judging that described length-width ratio is more than described second predetermined threshold value, by corresponding for described second predetermined threshold value the
The interval described target ratio being located as described length-width ratio of two ratios is interval, wherein, described second ratio interval be less than etc.
In described first predetermined threshold value and more than described second predetermined threshold value;
In the case of judging that described length-width ratio is not more than described second predetermined threshold value, judge that whether described length-width ratio is more than the
Three predetermined threshold value, wherein, described 3rd predetermined threshold value is less than described second predetermined threshold value;
In the case of judging that described length-width ratio is more than described 3rd predetermined threshold value, by corresponding for described 3rd predetermined threshold value the
The interval described target ratio being located as described length-width ratio of three ratios is interval, wherein, described 3rd ratio interval be less than etc.
In described second predetermined threshold value and more than described 3rd predetermined threshold value;
In the case of judging that described length-width ratio is not more than described 3rd predetermined threshold value, determine that described length-width ratio is illegal.
4. method according to claim 1 is it is characterised in that described second equipment includes: multiple equipment, wherein, true
Before the described target displaying ratio in fixed described region, methods described also includes:
Obtain the device type of the plurality of equipment that described second equipment includes;
Determine the average screen ratio of the plurality of equipment according to described device type, wherein, described average screen ratio is used for
Indicate the meansigma methodss of the screen proportion of the plurality of equipment;
Described average screen ratio is shown on the screen of described first equipment, wherein, described average screen ratio is used for determining
The described target displaying ratio in described region.
5. method according to claim 4 is it is characterised in that determine the flat of the plurality of equipment according to described device type
All screen proportions include:
Determine the quantity of the equipment of every kind of device type in the plurality of equipment;
Described average screen ratio is determined according to described quantity and the corresponding screen proportion of every kind of device type.
6. method according to claim 1 is it is characterised in that to be shared on the screen of first equipment of acquisition set to second
Before standby region, methods described also includes:
Receive region adjust instruction;
Respond described region adjust instruction, on the screen of described first equipment, described region is adjusted to second from first area
Region.
7. a kind of district-share device is it is characterised in that include:
First acquisition module, for obtaining the region to the second equipment to be shared on the screen of the first equipment;
First determining module, determines the target displaying ratio in described region for the length according to described region and wide ratio, its
In, described target displaying ratio is used for aspect ratio when indicating that described region shows on the screen of described second equipment;
First display module, for showing described target displaying ratio on the screen of described first equipment;
Judge module, is used for judging whether to receive shared instruction;
Sharing module, for after receiving described shared instruction, according to described target displaying ratio by described district-share
To described second equipment.
8. device according to claim 7 is it is characterised in that described first determining module includes:
Computing unit, for calculating the length-width ratio in described region, wherein, described length-width ratio be used for indicating the length in described region with
The ratio of width;
First acquisition unit, for obtaining the target ratio interval that described length-width ratio is located, wherein, pre-sets multiple ratios
Corresponding relation between interval and multiple displaying ratio, the interval corresponding described displaying ratio of each described ratio is described many
Individual ratio is interval to include described target ratio interval, and the plurality of displaying ratio includes described target displaying ratio;
Second acquisition unit, for obtaining corresponding described target displaying ratio interval with described target ratio.
9. device according to claim 8 is it is characterised in that described first acquisition unit includes:
First judgment sub-unit, for judging whether described length-width ratio is more than the first predetermined threshold value;
First process subelement, for judge described length-width ratio be more than described first predetermined threshold value in the case of, will be described
The interval described target ratio interval being located as described length-width ratio of corresponding first ratio of first predetermined threshold value, wherein, described
First ratio interval is more than described first predetermined threshold value;
Second judgment sub-unit, for, in the case of judging that described length-width ratio is not more than described first predetermined threshold value, judging
Whether described length-width ratio is more than the second predetermined threshold value, and wherein, described second predetermined threshold value is less than described first predetermined threshold value;
Second processing subelement, for judge described length-width ratio be more than described second predetermined threshold value in the case of, will be described
The interval described target ratio interval being located as described length-width ratio of corresponding second ratio of second predetermined threshold value, wherein, described
Second ratio interval is less than or equal to described first predetermined threshold value and to be more than described second predetermined threshold value;
3rd judgment sub-unit, for, in the case of judging that described length-width ratio is not more than described second predetermined threshold value, judging
Whether described length-width ratio is more than the 3rd predetermined threshold value, and wherein, described 3rd predetermined threshold value is less than described second predetermined threshold value;
3rd process subelement, for judge described length-width ratio be more than described 3rd predetermined threshold value in the case of, will be described
The interval described target ratio interval being located as described length-width ratio of corresponding 3rd ratio of 3rd predetermined threshold value, wherein, described
3rd ratio interval is less than or equal to described second predetermined threshold value and to be more than described 3rd predetermined threshold value;
Determination subelement, for, in the case of judging that described length-width ratio is not more than described 3rd predetermined threshold value, determining described
Length-width ratio is illegal.
10. device according to claim 7 is it is characterised in that described second equipment includes: multiple equipment, described device
Also include:
Second acquisition module, for obtaining the device type of the plurality of equipment that described second equipment includes;
Second determining module, for determining the average screen ratio of the plurality of equipment according to described device type, wherein, described
Average screen ratio is used for indicating the meansigma methodss of the screen proportion of the plurality of equipment;
Second display module, for described average screen ratio is shown on the screen of described first equipment, wherein, described average
Screen proportion is used for determining the described target displaying ratio in described region.
11. devices according to claim 10 are it is characterised in that described second determining module includes:
First determining unit, for determining the quantity of the equipment of every kind of device type in the plurality of equipment;
Second determining unit, for determining described average screen according to described quantity and the corresponding screen proportion of every kind of device type
Curtain ratio.
12. devices according to claim 7 are it is characterised in that described device also includes:
Receiver module, is used for receiving region adjust instruction;
Adjusting module, for respond described region adjust instruction on the screen of described first equipment by described region from the firstth area
Domain is adjusted to second area.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610716979.1A CN106339192B (en) | 2016-08-24 | 2016-08-24 | Region sharing method, device and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610716979.1A CN106339192B (en) | 2016-08-24 | 2016-08-24 | Region sharing method, device and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106339192A true CN106339192A (en) | 2017-01-18 |
CN106339192B CN106339192B (en) | 2019-12-06 |
Family
ID=57825707
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610716979.1A Active CN106339192B (en) | 2016-08-24 | 2016-08-24 | Region sharing method, device and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106339192B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108462729A (en) * | 2017-02-17 | 2018-08-28 | 北京三星通信技术研究有限公司 | Realize method and apparatus, terminal device and the server of terminal device interaction |
CN110178111A (en) * | 2017-11-13 | 2019-08-27 | 华为技术有限公司 | A kind of image processing method and device of terminal |
CN110475135A (en) * | 2018-05-11 | 2019-11-19 | 阿里巴巴集团控股有限公司 | Video broadcasting method, device, equipment, medium, system and smart television |
CN110806846A (en) * | 2019-10-11 | 2020-02-18 | 北京字节跳动网络技术有限公司 | Screen sharing method, screen sharing device, mobile terminal and storage medium |
CN111338590A (en) * | 2020-02-19 | 2020-06-26 | 北京翼鸥教育科技有限公司 | Screen sharing initiating and responding method and interaction system |
CN111352603A (en) * | 2020-03-11 | 2020-06-30 | 北京文香信息技术有限公司 | Split screen display method and device, terminal and storage medium |
CN111796787A (en) * | 2020-06-30 | 2020-10-20 | 联想(北京)有限公司 | Display method and display device |
CN111930330A (en) * | 2020-09-17 | 2020-11-13 | 北京联想协同科技有限公司 | Method, device and system for synchronizing shared views |
WO2022116936A1 (en) * | 2020-12-02 | 2022-06-09 | 华为技术有限公司 | Interface layout method, electronic device, and computer-readable storage medium. |
CN114647390A (en) * | 2020-12-21 | 2022-06-21 | 华为技术有限公司 | Enhanced screen sharing method and system and electronic equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104090735A (en) * | 2014-06-30 | 2014-10-08 | 小米科技有限责任公司 | Picture projection method and device |
CN104238863A (en) * | 2014-08-29 | 2014-12-24 | 广州视睿电子科技有限公司 | Android-based enclosing zooming method and system |
CN105630436A (en) * | 2014-10-28 | 2016-06-01 | Tcl集团股份有限公司 | Data sharing method and apparatus for desktop layout in multi-screen sharing |
US20160232646A1 (en) * | 2015-02-09 | 2016-08-11 | Prysm, Inc. | Content sharing with consistent aspect ratios |
-
2016
- 2016-08-24 CN CN201610716979.1A patent/CN106339192B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104090735A (en) * | 2014-06-30 | 2014-10-08 | 小米科技有限责任公司 | Picture projection method and device |
CN104238863A (en) * | 2014-08-29 | 2014-12-24 | 广州视睿电子科技有限公司 | Android-based enclosing zooming method and system |
CN105630436A (en) * | 2014-10-28 | 2016-06-01 | Tcl集团股份有限公司 | Data sharing method and apparatus for desktop layout in multi-screen sharing |
US20160232646A1 (en) * | 2015-02-09 | 2016-08-11 | Prysm, Inc. | Content sharing with consistent aspect ratios |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108462729B (en) * | 2017-02-17 | 2023-01-10 | 北京三星通信技术研究有限公司 | Method and device for realizing interaction of terminal equipment, terminal equipment and server |
CN108462729A (en) * | 2017-02-17 | 2018-08-28 | 北京三星通信技术研究有限公司 | Realize method and apparatus, terminal device and the server of terminal device interaction |
CN110178111A (en) * | 2017-11-13 | 2019-08-27 | 华为技术有限公司 | A kind of image processing method and device of terminal |
CN110475135A (en) * | 2018-05-11 | 2019-11-19 | 阿里巴巴集团控股有限公司 | Video broadcasting method, device, equipment, medium, system and smart television |
CN110806846A (en) * | 2019-10-11 | 2020-02-18 | 北京字节跳动网络技术有限公司 | Screen sharing method, screen sharing device, mobile terminal and storage medium |
CN111338590A (en) * | 2020-02-19 | 2020-06-26 | 北京翼鸥教育科技有限公司 | Screen sharing initiating and responding method and interaction system |
CN111352603A (en) * | 2020-03-11 | 2020-06-30 | 北京文香信息技术有限公司 | Split screen display method and device, terminal and storage medium |
CN111796787A (en) * | 2020-06-30 | 2020-10-20 | 联想(北京)有限公司 | Display method and display device |
CN111930330B (en) * | 2020-09-17 | 2021-02-09 | 北京联想协同科技有限公司 | Method, device and system for synchronizing shared views |
CN111930330A (en) * | 2020-09-17 | 2020-11-13 | 北京联想协同科技有限公司 | Method, device and system for synchronizing shared views |
WO2022116936A1 (en) * | 2020-12-02 | 2022-06-09 | 华为技术有限公司 | Interface layout method, electronic device, and computer-readable storage medium. |
CN114647390A (en) * | 2020-12-21 | 2022-06-21 | 华为技术有限公司 | Enhanced screen sharing method and system and electronic equipment |
CN114647390B (en) * | 2020-12-21 | 2024-03-26 | 华为技术有限公司 | Enhanced screen sharing method and system and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN106339192B (en) | 2019-12-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106339192A (en) | Area sharing method and device as well as system | |
CN104811816B (en) | A kind of is the method, apparatus and system that the object in video pictures plays barrage label | |
CN106303731A (en) | The display packing of barrage and device | |
CN105119809A (en) | Dynamic information display method and device | |
CN107045508A (en) | The treating method and apparatus of application program | |
CN109086742A (en) | scene recognition method, scene recognition device and mobile terminal | |
CN106911943A (en) | A kind of video display method and its device | |
CN110502974A (en) | A kind of methods of exhibiting of video image, device, equipment and readable storage medium storing program for executing | |
CN108475200A (en) | System and method for belonging to rolling event in infinite scroll graphic user interface | |
CN109413363A (en) | A kind of conference reservation method and apparatus and storage medium | |
Engelke et al. | Framework for optimal region of interest–based quality assessment in wireless imaging | |
CN103955846B (en) | The control method and device of multiple terminal intelligent feedbacks are controlled in information processing system | |
CN109089144A (en) | A kind of method, apparatus, electronic equipment and storage medium sending paster present | |
CN104378406A (en) | Information push method and device | |
CN108111897A (en) | A kind of method and device for showing displaying information in video | |
CN104540109A (en) | Method and device for pushing information during call | |
CN109660508A (en) | Data visualization method, electronic device, computer equipment and storage medium | |
CN104571830A (en) | Method and device for displaying chat content | |
CN105610698B (en) | The treating method and apparatus of event result | |
CN107085521A (en) | A kind of icon display method and device | |
KR102445530B1 (en) | Method and apparatus for visualization of public welfare activities | |
KR102071133B1 (en) | Method for and management server implementing the same | |
CN104320691A (en) | Recommendation method for television channel and playing terminal for television program | |
CN113946221A (en) | Eye driving control method and device, storage medium and electronic equipment | |
CN105373308B (en) | A kind of image processing method and carry equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |