[go: up one dir, main page]

CN104991649B - Screen composition method and device - Google Patents

Screen composition method and device Download PDF

Info

Publication number
CN104991649B
CN104991649B CN201510432235.2A CN201510432235A CN104991649B CN 104991649 B CN104991649 B CN 104991649B CN 201510432235 A CN201510432235 A CN 201510432235A CN 104991649 B CN104991649 B CN 104991649B
Authority
CN
China
Prior art keywords
screen
shelter
user
occlusion region
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510432235.2A
Other languages
Chinese (zh)
Other versions
CN104991649A (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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510432235.2A priority Critical patent/CN104991649B/en
Publication of CN104991649A publication Critical patent/CN104991649A/en
Application granted granted Critical
Publication of CN104991649B publication Critical patent/CN104991649B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The disclosure is directed to screen composition method and devices.This method comprises: with the presence or absence of the shelter for blocking user's sight before judging the screen of terminal;When blocking the shelter of user's sight described in existing before the screen of the terminal, the de-occlusion region that do not blocked by the shelter on the screen is determined;Again typesetting is carried out to display content on the screen, so that the display content after typesetting is shown in the de-occlusion region again.The technical solution can be in the case where there is shelter to block screen, to the typesetting again automatically of the content on screen, so that the content on screen is all shown in de-occlusion region, thus make user also can be interference-free when there is shelter, it is complete to watch the content shown on screen.

Description

Screen composition method and device
Technical field
This disclosure relates to video technique field more particularly to screen composition method and device.
Background technique
Currently, with the development of technology, the screen of TV or computer is increasing, computer monitor is from 17 inches originally Also become 23 inches to 19,21.5 present mainstreams, and video screen also has 32 inches, 34 inches, 46 inches, 55 inches, 70 The various sizes such as inch.TV or computer are absolutely displays strictly according to the facts at present, and while watching tv, screen size is bigger by people When, the distance of people's off screen curtain is remoter, and at this moment, if there is object blocks the sight that user watches screen, user can not just be seen The complete content shown on to screen.
Summary of the invention
The embodiment of the present disclosure provides screen composition method and device.The technical solution is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of screen composition method is provided, comprising:
It whether there is the shelter for blocking user's sight before judging the screen of terminal;
When blocking the shelter of user's sight described in existing before the screen of the terminal, determine on the screen not by institute State the de-occlusion region that shelter blocks;
Again typesetting is carried out to display content on the screen, so that the display content after typesetting is shown again In the de-occlusion region.
In one embodiment, it can be wrapped before the screen of the judgement terminal with the presence or absence of the shelter for blocking user's sight It includes:
It whether there is object within the scope of first area before judging the screen;
When there are when object, determine before the screen of terminal to exist to block user's view within the scope of the first area before the screen The shelter of line.
In one embodiment, it can be wrapped before the screen of the judgement terminal with the presence or absence of the shelter for blocking user's sight It includes:
It whether there is user within the scope of second area before judging the screen;
When there are when user, determine that the user watches the sight of the screen within the scope of the second area before the screen Range;
Judge in the range of visibility with the presence or absence of object;
When there are there is the shelter for blocking user's sight before when object, determining the screen of terminal in the range of visibility.
In one embodiment, the de-occlusion region that do not blocked by the shelter on the determination screen, can wrap It includes:
The distance between physical attribute information and the screen of shelter are obtained, the physical attribute information includes the screening At least one of the position of block material, size, area, profile;
It is determined on the screen according to the distance between the physical attribute information of the shelter and screen not by the screening The de-occlusion region that block material blocks.
In one embodiment, the distance between the attribute information for obtaining shelter and screen, it may include:
Presumptive area in front of screen is scanned;
The distance between physical attribute information and the screen of the shelter are determined according to scanning result.
In one embodiment, the distance between the attribute information for obtaining shelter and screen, it may include:
Obtain the image data obtained after shooting with video-corder to the presumptive area in front of screen;
The distance between physical attribute information and the screen of the shelter are determined according to described image data.
In one embodiment, the physical attribute information for obtaining shelter, it may include:
The position of shelter is induced by the capacitive sensing screen on screen.
In one embodiment, described that typesetting again is carried out to display content on the screen, so that typesetting again The display content afterwards is shown in the de-occlusion region, it may include:
Determine the size of de-occlusion region;
In de-occlusion region after the display content compression on the screen is handled according to the size of de-occlusion region It is shown.
In one embodiment, described that typesetting again is carried out to display content on the screen, so that typesetting again The display content afterwards is shown in the de-occlusion region, it may include:
Judge whether the height of de-occlusion region is less than the height of the screen;
It is when the height of the de-occlusion region is less than the height of the screen, the display content on the screen is vertical Compression, so that the height of the compressed display content is equal to or less than the height of the de-occlusion region;
Judge whether the width of de-occlusion region is less than the width of the screen;
When the width of the de-occlusion region is less than the width of the screen, the display content level is compressed, is made The width for obtaining the compressed display content is equal to or less than the width of the de-occlusion region.
According to the second aspect of an embodiment of the present disclosure, a kind of screen composing device is provided, comprising:
Judgment module, with the presence or absence of the shelter for blocking user's sight before the screen for judging terminal;
Determining module determines institute when for blocking the shelter of user's sight in the presence of described in front of the screen of the terminal State the de-occlusion region that do not blocked by the shelter on screen;
Type-setting module, for carrying out typesetting again to display content on the screen, so that the institute after typesetting again Display content is stated to be shown in the de-occlusion region.
In one embodiment, the judgment module, it may include:
First judging submodule, for judging within the scope of the first area before the screen with the presence or absence of object;
First determines submodule, for, there are when object, determining terminal within the scope of the first area before the screen There is the shelter for blocking user's sight before screen.
In one embodiment, the judgment module, may also include that
Second judgment submodule, for judging within the scope of the second area before the screen with the presence or absence of user;
Second determines submodule, for, there are when user, determining the use within the scope of the second area before the screen The range of visibility of the screen is watched at family;
Third judging submodule, for judging in the range of visibility with the presence or absence of object;
Third determines submodule, for when there are there is screening before when object, determining the screen of terminal in the range of visibility Keep off the shelter of user's sight.
In one embodiment, the determining module, it may include:
Acquisition submodule, the distance between physical attribute information and screen for obtaining shelter, the physical attribute Information includes at least one of the position of the shelter, size, area, profile;
4th determines submodule, for being determined according to the distance between the physical attribute information of the shelter and screen The de-occlusion region that do not blocked by the shelter on the screen.
In one embodiment, the acquisition submodule can also be used in:
Presumptive area in front of screen is scanned;
The distance between physical attribute information and the screen of the shelter are determined according to scanning result.
In one embodiment, the acquisition submodule can also be used in:
Obtain the image data obtained after shooting with video-corder to the presumptive area in front of screen;
The distance between physical attribute information and the screen of the shelter are determined according to described image data.
In one embodiment, the acquisition submodule can also be used in:
The position of shelter is induced by the capacitive sensing screen on screen.
In one embodiment, the type-setting module, it may include:
5th determines submodule, for determining the size of de-occlusion region;
First compression submodule, for according to the size of de-occlusion region by the display content compression on the screen It is shown after processing in de-occlusion region.
In one embodiment, the type-setting module, further includes:
4th judging submodule, for judging whether the height of de-occlusion region is less than the height of the screen;
Second compression submodule will be described when for being less than the height of the screen when the height of the de-occlusion region Display content vertical compression on screen, so that the height of the compressed display content is equal to or less than the unshielding area The height in domain;
5th judging submodule, for judging whether the width of de-occlusion region is less than the width of the screen;
Third compresses submodule, will be described when for being less than the width of the screen when the width of the de-occlusion region Content level compression is shown, so that the width of the compressed display content is equal to or less than the width of the de-occlusion region Degree.
According to the third aspect of an embodiment of the present disclosure, a kind of screen composing device is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
It whether there is the shelter for blocking user's sight before judging the screen of terminal;
When blocking the shelter of user's sight described in existing before the screen of the terminal, determine on the screen not by institute State the de-occlusion region that shelter blocks;
Again typesetting is carried out to display content on the screen, so that the display content after typesetting is shown again In the de-occlusion region.
The technical scheme provided by this disclosed embodiment can include the following benefits:
Above-mentioned technical proposal whether there is the shelter for blocking user's sight before judging the screen of terminal;When the screen of terminal When there is the shelter for blocking user's sight before curtain, the de-occlusion region not being blocked by obstructions on screen is determined;To in screen On display content carry out typesetting again so that the display content after typesetting is shown in de-occlusion region again.Therefore this public affairs Opening can be in the case where there is shelter to block screen, to the typesetting again automatically of the content on screen, so that the content on screen It is all shown in de-occlusion region, to make user also can be interference-free when there is shelter, complete watch on screen be shown The content shown.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is the flow chart of screen composition method shown according to an exemplary embodiment.
Fig. 2 is the flow chart of step S101 in screen composition method shown according to an exemplary embodiment.
Fig. 3 is another flow chart of step S101 in screen composition method shown according to an exemplary embodiment.
Fig. 4 is the flow chart of step S102 in screen composition method shown according to an exemplary embodiment.
Fig. 5 is the flow chart of step S103 in screen composition method shown according to an exemplary embodiment.
Fig. 6 is another flow chart of step S103 in screen composition method shown according to an exemplary embodiment.
Fig. 7 is the block diagram of screen composing device shown according to an exemplary embodiment.
Fig. 8 is the block diagram of judgment module 71 in screen composing device shown according to an exemplary embodiment.
Fig. 9 is another block diagram of judgment module 71 in screen composing device shown according to an exemplary embodiment.
Figure 10 is the block diagram of determining module 72 in screen composing device shown according to an exemplary embodiment.
Figure 11 is the block diagram of type-setting module 73 in screen composing device shown according to an exemplary embodiment.
Figure 12 is another block diagram of type-setting module 73 in screen composing device shown according to an exemplary embodiment.
Figure 13 is the block diagram shown according to an exemplary embodiment suitable for screen composing device.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended The example of device and method being described in detail in claims, some aspects of the invention are consistent.
Fig. 1 is a kind of flow chart of screen composition method shown according to an exemplary embodiment, as shown in Figure 1, above-mentioned Method is used in the terminal with display screen, and terminal for example can be TV, apparatus such as computer.As shown in Figure 1, method includes Following steps S101-S103,
In step s101, it whether there is the shelter for blocking user's sight before judging the screen of terminal.
In step s 102, when there is the shelter for blocking user's sight before the screen of terminal, determine on screen not by The de-occlusion region that shelter blocks;
In step s 103, typesetting again is carried out to display content on the screen, so that again in the display after typesetting Appearance is shown in de-occlusion region.
User is in the content shown on the screen of viewing terminal, if thering is shelter to block in front of screen, nothing if user Method sees the complete content on screen.For example, user is seeing TV or when cinema watches movie, the front of screen occurs two Individual is talking, and has blocked the sight of user, and at this moment user can not see the complete content played on screen.In above-mentioned steps, Before screen there are when shelter, determining the de-occlusion region not being blocked by obstructions on screen, and will be shown on screen Full content is shown in de-occlusion region, when the position of shelter or size change, redefines unshielding area Domain, and automatic typesetting again is carried out to the display content on screen, the content shown on screen is shown non-what is redefined In occlusion area.
The above method of the present embodiment, can be automatic to the content on screen in the case where there is shelter to block screen Again typesetting, so that the content on screen is all shown in de-occlusion region, so that user be made also when there is shelter It is disturbed, it is complete to watch the content shown on screen.
In the above method, again after typesetting, whole display contents on screen are shown in de-occlusion region, on the screen Region in addition to de-occlusion region can no longer show any content, can also display reminding information in this area, prompt User shows that content is shown in de-occlusion region, and it is again shown interior before typesetting can also to continue display in this area Hold.
In one embodiment, as shown in Fig. 2, step S101 is implementable for following steps S201-S202:
In step s 201, it whether there is object within the scope of the first area before judging screen;
In step S202, when, there are when object, existing before determining the screen of terminal within the scope of the first area before screen Block the shelter of user's sight.
In one embodiment, first area range is the range of visibility that user can watch any point on screen, In the range if there is object, then the sight of user can be blocked, therefore, existence within the scope of the first area before screen When body, it is determined that there is the shelter for blocking user's sight before the screen of terminal.First area range can also be with screen just The distance in front is less than or equal to the region immediately ahead of the screen of pre-determined distance, for example, in the front of screen, with screen Within the scope of whole region of the distance less than 10cm, if there is object, it is determined that exist before the screen of terminal and block user's sight Shelter.
Since not all object can block the sight that user watches screen, it is only in certain regional scope Interior object can just block the sight of user.Therefore, in the present embodiment, there are objects within the scope of the first area before screen When, there is the shelter for blocking user's sight, and then automatic typesetting again before just determining the screen of terminal, to ensure that again The accuracy of typesetting, avoids and misprints version.
In one embodiment, as shown in figure 3, step S101 is also implementable for following steps S301-S304:
In step S301, it whether there is user within the scope of the second area before judging screen;
In step s 302, when there are the views for when user, determining user's viewing screen within the scope of the second area before screen Line range;
In step S303, judge in range of visibility with the presence or absence of object;
In step s 304, when there are when object, determine to exist before the screen of terminal to block user's sight in range of visibility Shelter.
In one embodiment, second area range can be the regional scope immediately ahead of screen, further, the secondth area Domain range, which can also be, is greater than the regional scope that first distance is less than second distance immediately ahead of screen.Second area before screen There are when user, determining the distance between user and screen in range, and determine to use according to the distance between user and screen The entire range of visibility of any point on screen is watched at family, if illustrating that object hides there are object in the range of visibility of user The sight that user watches screen is kept off, it is determined that there is the shelter for blocking user's sight before the screen of terminal.
For example, first distance is 0.5 meter, second distance is 3.5 meters, in step S301, is judged immediately ahead of screen Greater than 0.5 meter, less than 3.5 meters in the range of whether there is user, when there are user, determine between user and screen away from From, determine that user watches the range of visibility of screen according to distance between the two, and judge to whether there is object in range of visibility, When there are object, illustrate that user's sight is blocked, i.e., there is the shelter for blocking user's sight before the screen of terminal.
In the present embodiment, it is first determined a certain range whether there is user before screen, when there are user, determine that user sees The range of visibility for seeing screen, when there are there is the screening for blocking user's sight before when object, determining the screen of terminal in range of visibility Block material, so as to it is convenient, accurately determine screen before there is the shelter for blocking user's sight.
In one embodiment, as shown in figure 4, the unshielding not being blocked by obstructions on determination screen in step S102 Region, implementable is following steps S401-S402:
In step S401, the distance between physical attribute information and screen of shelter, physical attribute information packet are obtained Include at least one of the position of shelter, size, area, profile.
In step S402, according to the physical attribute information of shelter, with the distance between screen determine on screen not by The de-occlusion region that shelter blocks.
There are when shelter before screen, according to the physical attribute informations such as the size of shelter, position, area, profile with And the distance between shelter and screen, the de-occlusion region not being blocked by obstructions on screen is determined, to will be blocked The content in region and the content of de-occlusion region do adjust automatically, get around the region that is blocked, the full content that will be shown on screen It is shown in de-occlusion region.
Since the profile of shelter is often less regular, when determining de-occlusion region, should not hidden on the screen The region of selected shape rule is as de-occlusion region in the region that block material blocks, for example, the shape of de-occlusion region can be The shape of the regular shapes such as square, circle, rectangle, trapezoidal or polygon.
In this implementation, according to the physical attribute information of shelter, determines with the distance between screen and be not blocked on screen The de-occlusion region that object blocks, so as to accurately determine de-occlusion region.
In one embodiment, step S401 is implementable for such as under type one:
Mode one is scanned the presumptive area in front of screen;The physical attribute of shelter is determined according to scanning result The distance between information and screen.
In this mode, using the mode of ultrasonic distance measurement, multiple ultrasounds are embedded in four surface frame of screen of terminal Distance meter scans terminal front end, collects imaging and sends terminal to, the shelter and end that terminal is measured according to ultrasonic range finder The information such as distance, the position at end determine that terminal is blocked by obstructions the region that is blocked, and are determined according to the region that is blocked non- Occlusion area.
In one embodiment, step S401 is also implementable for such as under type two:
Mode two obtains the image data obtained after shooting with video-corder to the presumptive area in front of screen;According to image data Determine the distance between physical attribute information and the screen of shelter.
In this mode, picture pick-up device is installed in the frame portion of terminal such as TV, or camera shooting is installed other than terminal Equipment, this is mounted on the picture pick-up device except terminal can connect transmission data with terminal, for example, installing in terminal frame small Type image pick-up device shoots with video-corder simultaneously if quadrangle installs four, image data is transmitted to terminal and is synthesized, use distance in image Analysis and imaging algorithm, obtain the area and the distance between shelter and screen of shelter, calculate the region that is blocked, according to De-occlusion region is determined in the region that is blocked, and then TV is notified to do dynamic typesetting, the content on screen is all shown in non- Occlusion area.Picture pick-up device also can be directly mounted at outside terminal, picture pick-up device is connected with terminal by data line, by picture number It is synthesized according to terminal is transmitted to.
In one embodiment, step S401 is also implementable for such as under type three:
Mode three induces the position of shelter by the capacitive sensing screen on screen.
The objects such as capacitor incude screen, and ultrasonic distance measurement etc. can perceive the area that is blocked, so that TV be notified to do dynamic and arrange Version
In this mode, the integrated capacitance induction screen on terminal display screen, but it is different from handset touch panel, and terminal is such as electric The ability of capacitive sensing screen perception object depending on is larger, can also perceive in the case where object not contact screen, in shelter When close to video screen, the different data of induction is collected the face for calculating shelter by intensive induction point on capacitive sensing screen The information such as product, position send TV to, and determine de-occlusion region according to above- mentioned information, so as to will be automatically again after typesetting Display content be shown in de-occlusion region.
In above-mentioned three kinds of modes, since the profile of shelter is often irregular, if display content removed All areas except the region that shelter blocks are shown, when shelter profile is irregular, the content shown can become Shape cannot be met the needs of users, and therefore, de-occlusion region is to select in the region in addition to the region that shelter blocks The region of rule meets the need of user so that the display content on screen can be shown in the de-occlusion region of the rule It asks.
In one embodiment, as shown in figure 5, step S103 is implementable for following steps S501-S502:
In step S501, the size of de-occlusion region is determined;
In step S502, non-after the display content compression on screen is handled according to the size of de-occlusion region Occlusion area is shown.
In the present embodiment, determine the size of de-occlusion region, size can be de-occlusion region length and width, The parameters such as area, catercorner length, diameter, and display content compression to the size for being no more than de-occlusion region is shown Show.So as to easily and efficiently carry out typesetting again, allow users to completely watch display content.
In one embodiment, as shown in fig. 6, step S103 is also implementable for following steps S601-S604:
In step s 601, judge whether the height of de-occlusion region is less than the height of screen;
In step S602, when the height of de-occlusion region is less than the height of screen, the display content on screen is hung down Vertical compression contracting, so that the height of compressed display content is equal to or less than the height of de-occlusion region;
In step S603, judge whether the width of de-occlusion region is less than the width of screen;
In step s 604, when the width of de-occlusion region is less than the width of screen, display content level compression makes The width for obtaining compressed display content is equal to or less than the width of de-occlusion region.
In the present embodiment, the height for showing content is equal to or less than the height of de-occlusion region, width is equal to or less than The width of de-occlusion region, to allow to show that content is completely shown in de-occlusion region.
Following is embodiment of the present disclosure, can be used for executing embodiments of the present disclosure.
Fig. 7 is a kind of block diagram of screen composing device shown according to an exemplary embodiment, which can be by soft Part, hardware or both are implemented in combination with as some or all of of electronic equipment.As shown in fig. 7, the screen composing device Include:
Judgment module 71 is configured as before the screen for judging terminal with the presence or absence of the shelter for blocking user's sight;
Determining module 72 determines screen when being configured as having the shelter for blocking user's sight before the screen of terminal On the de-occlusion region that is not blocked by obstructions;
Type-setting module 73 is configured as carrying out typesetting again to display content on the screen, so that again after typesetting Display content is shown in de-occlusion region.
In one embodiment, as shown in figure 8, judgment module 71, it may include:
First judging submodule 81, with the presence or absence of object within the scope of the first area before being configured as judging screen;
First determines submodule 82, is configured as when, there are when object, determining terminal within the scope of the first area before screen Screen before exist and block the shelter of user's sight.
In one embodiment, as shown in figure 9, judgment module 71, may also include that
Second judgment submodule 91, with the presence or absence of user within the scope of the second area before being configured as judging screen;
Second determines submodule 92, is configured as when, there are when user, determining user within the scope of the second area before screen Watch the range of visibility of screen;
Third judging submodule 93 is configured as judging in range of visibility with the presence or absence of object;
Third determines submodule 94, is configured as when, there are when object, existing before determining the screen of terminal in range of visibility Block the shelter of user's sight.
In one embodiment, as shown in Figure 10, determining module 72, it may include:
Acquisition submodule 101 is configured as obtaining the distance between the physical attribute information of shelter and screen, physics Attribute information includes at least one of the position of shelter, size, area, profile;
4th determines submodule 102, is configured as the distance between the physical attribute information according to shelter and screen really Determine the de-occlusion region not being blocked by obstructions on screen.
In one embodiment, acquisition submodule 101 is also configured to:
Presumptive area in front of screen is scanned;
The distance between physical attribute information and the screen of shelter are determined according to scanning result.
In one embodiment, acquisition submodule 101 is also configured to:
Obtain the image data obtained after shooting with video-corder to the presumptive area in front of screen;
The distance between physical attribute information and the screen of shelter are determined according to image data.
In one embodiment, acquisition submodule 101 is also configured to:
The position of shelter is induced by the capacitive sensing screen on screen.
In one embodiment, as shown in figure 11, type-setting module 73, it may include:
5th determines submodule 111, is configured to determine that the size of de-occlusion region;
First compression submodule 112 is configured as the display content on screen according to the size of de-occlusion region It is shown after compression processing in de-occlusion region.
In one embodiment, as shown in figure 12, type-setting module 73 may also include that
4th judging submodule 121 is configured as judging the height whether height of de-occlusion region is less than screen;
Second compression submodule 122 is configured as when the height of de-occlusion region is less than the height of screen, will be on screen Display content vertical compression so that it is compressed display content height be equal to or less than de-occlusion region height;
5th judging submodule 123 is configured as judging the width whether width of de-occlusion region is less than screen;
Third compresses submodule 124, is configured as when the width of de-occlusion region is less than the width of screen, will be in display Hold horizontal compression, so that the width of compressed display content is equal to or less than the width of de-occlusion region.
The above-mentioned apparatus of the present embodiment determines screen when there is the shelter for blocking user's sight before the screen of terminal On the de-occlusion region that is not blocked by obstructions;Again typesetting is carried out to display content on the screen, so that again after typesetting Display content be shown in de-occlusion region.Therefore the disclosure can be in the case where there is shelter to block screen, to screen On content typesetting again automatically so that the content on screen is all shown in de-occlusion region, so that user be made to have screening Also can be interference-free when block material, it is complete to watch the content shown on screen.
According to the third aspect of an embodiment of the present disclosure, a kind of screen composing device is provided, comprising:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
It whether there is the shelter for blocking user's sight before judging the screen of terminal;
When blocking the shelter of user's sight described in existing before the screen of the terminal, determine on the screen not by institute State the de-occlusion region that shelter blocks;
Again typesetting is carried out to display content on the screen, so that the display content after typesetting is shown again In the de-occlusion region.
In one embodiment, it can be wrapped before the screen of the judgement terminal with the presence or absence of the shelter for blocking user's sight It includes:
It whether there is object within the scope of first area before judging the screen;
When there are when object, determine before the screen of terminal to exist to block user's view within the scope of the first area before the screen The shelter of line.
In one embodiment, it can be wrapped before the screen of the judgement terminal with the presence or absence of the shelter for blocking user's sight It includes:
It whether there is user within the scope of second area before judging the screen;
When there are when user, determine that the user watches the sight of the screen within the scope of the second area before the screen Range;
Judge in the range of visibility with the presence or absence of object;
When there are there is the shelter for blocking user's sight before when object, determining the screen of terminal in the range of visibility.
In one embodiment, the de-occlusion region that do not blocked by the shelter on the determination screen, can wrap It includes:
The distance between physical attribute information and the screen of shelter are obtained, the physical attribute information includes the screening At least one of the position of block material, size, area, profile;
It is determined on the screen according to the distance between the physical attribute information of the shelter and screen not by the screening The de-occlusion region that block material blocks.
In one embodiment, the distance between the attribute information for obtaining shelter and screen, it may include:
Presumptive area in front of screen is scanned;
The distance between physical attribute information and the screen of the shelter are determined according to scanning result.
In one embodiment, the distance between the attribute information for obtaining shelter and screen, it may include:
Obtain the image data obtained after shooting with video-corder to the presumptive area in front of screen;
The distance between physical attribute information and the screen of the shelter are determined according to described image data.
In one embodiment, the physical attribute information for obtaining shelter, it may include:
The position of shelter is induced by the capacitive sensing screen on screen.
In one embodiment, described that typesetting again is carried out to display content on the screen, so that typesetting again The display content afterwards is shown in the de-occlusion region, it may include:
Determine the size of de-occlusion region;
In de-occlusion region after the display content compression on the screen is handled according to the size of de-occlusion region It is shown.
In one embodiment, described that typesetting again is carried out to display content on the screen, so that typesetting again The display content afterwards is shown in the de-occlusion region, it may include:
Judge whether the height of de-occlusion region is less than the height of the screen;
It is when the height of the de-occlusion region is less than the height of the screen, the display content on the screen is vertical Compression, so that the height of the compressed display content is equal to or less than the height of the de-occlusion region;
Judge whether the width of de-occlusion region is less than the width of the screen;
When the width of the de-occlusion region is less than the width of the screen, the display content level is compressed, is made The width for obtaining the compressed display content is equal to or less than the width of the de-occlusion region.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
Figure 13 is a kind of block diagram for screen composing device shown according to an exemplary embodiment, which is suitable for Terminal device.For example, device 1200 can be mobile phone, computer, digital broadcasting terminal, messaging device, game control Platform processed, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Device 1200 may include following one or more components: processing component 1202, memory 1204, power supply module 1206, multimedia component 1208, audio component 1210, the interface 1212 of input/output (I/O), sensor module 1214, and Communication component 1216.
The integrated operation of the usual control device 1200 of processing component 1202, such as with display, telephone call, data communication, Camera operation and record operate associated operation.Processing element 1202 may include one or more processors 1220 to execute Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1202 may include one or more moulds Block, convenient for the interaction between processing component 1202 and other assemblies.For example, processing component 1202 may include multi-media module, To facilitate the interaction between multimedia component 1208 and processing component 1202.
Memory 1204 is configured as storing various types of data to support the operation in equipment 1200.These data Example includes the instruction of any application or method for operating on device 1200, contact data, telephone book data, Message, picture, video etc..Memory 1204 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory Reservoir, disk or CD.
Electric power assembly 1206 provides electric power for the various assemblies of device 1200.Electric power assembly 1206 may include power management System, one or more power supplys and other with for device 1200 generate, manage, and distribute the associated component of electric power.
Multimedia component 1208 includes the screen of one output interface of offer between described device 1200 and user.? In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, Screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes that one or more touch passes Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding is dynamic The boundary of work, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more Media component 1208 includes a front camera and/or rear camera.When equipment 1200 is in operation mode, as shot mould When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 1210 is configured as output and/or input audio signal.For example, audio component 1210 includes a wheat Gram wind (MIC), when device 1200 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone quilt It is configured to receive external audio signal.The received audio signal can be further stored in memory 1204 or via communication Component 1216 is sent.In some embodiments, audio component 1210 further includes a loudspeaker, is used for output audio signal.
I/O interface 1212 provides interface, above-mentioned peripheral interface module between processing component 1202 and peripheral interface module It can be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and Locking press button.
Sensor module 1214 includes one or more sensors, and the state for providing various aspects for device 1200 is commented Estimate.For example, sensor module 1214 can detecte the state that opens/closes of equipment 1200, the relative positioning of component, such as institute The display and keypad that component is device 1200 are stated, sensor module 1214 can be with detection device 1200 or device 1,200 1 The position change of a component, the existence or non-existence that user contacts with device 1200,1200 orientation of device or acceleration/deceleration and dress Set 1200 temperature change.Sensor module 1214 may include proximity sensor, be configured in not any physics It is detected the presence of nearby objects when contact.Sensor module 1214 can also include optical sensor, as CMOS or ccd image are sensed Device, for being used in imaging applications.In some embodiments, which can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1216 is configured to facilitate the communication of wired or wireless way between device 1200 and other equipment.Dress The wireless network based on communication standard, such as WiFi can be accessed by setting 1200,2G or 3G or their combination.It is exemplary at one In embodiment, communication component 1216 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, the communication component 1216 further includes near-field communication (NFC) module, to promote short distance Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1200 can be by one or more application specific integrated circuit (ASIC), number Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 1204 of instruction, above-metioned instruction can be executed by the processor 820 of device 1200 to complete the above method.Example Such as, the non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of device 1200 When device executes, so that device 1200 is able to carry out above-mentioned screen composition method, which comprises
It whether there is the shelter for blocking user's sight before judging the screen of terminal;
When blocking the shelter of user's sight described in existing before the screen of the terminal, determine on the screen not by institute State the de-occlusion region that shelter blocks;
Again typesetting is carried out to display content on the screen, so that the display content after typesetting is shown again In the de-occlusion region.
In one embodiment, it can be wrapped before the screen of the judgement terminal with the presence or absence of the shelter for blocking user's sight It includes:
It whether there is object within the scope of first area before judging the screen;
When there are when object, determine before the screen of terminal to exist to block user's view within the scope of the first area before the screen The shelter of line.
In one embodiment, it can be wrapped before the screen of the judgement terminal with the presence or absence of the shelter for blocking user's sight It includes:
It whether there is user within the scope of second area before judging the screen;
When there are when user, determine that the user watches the sight of the screen within the scope of the second area before the screen Range;
Judge in the range of visibility with the presence or absence of object;
When there are there is the shelter for blocking user's sight before when object, determining the screen of terminal in the range of visibility.
In one embodiment, the de-occlusion region that do not blocked by the shelter on the determination screen, can wrap It includes:
The distance between physical attribute information and the screen of shelter are obtained, the physical attribute information includes the screening At least one of the position of block material, size, area, profile;
It is determined on the screen according to the distance between the physical attribute information of the shelter and screen not by the screening The de-occlusion region that block material blocks.
In one embodiment, the distance between the attribute information for obtaining shelter and screen, it may include:
Presumptive area in front of screen is scanned;
The distance between physical attribute information and the screen of the shelter are determined according to scanning result.
In one embodiment, the distance between the attribute information for obtaining shelter and screen, it may include:
Obtain the image data obtained after shooting with video-corder to the presumptive area in front of screen;
The distance between physical attribute information and the screen of the shelter are determined according to described image data.
In one embodiment, the physical attribute information for obtaining shelter, it may include:
The position of shelter is induced by the capacitive sensing screen on screen.
In one embodiment, described that typesetting again is carried out to display content on the screen, so that typesetting again The display content afterwards is shown in the de-occlusion region, it may include:
Determine the size of de-occlusion region;
In de-occlusion region after the display content compression on the screen is handled according to the size of de-occlusion region It is shown.
In one embodiment, described that typesetting again is carried out to display content on the screen, so that typesetting again The display content afterwards is shown in the de-occlusion region, it may include:
Judge whether the height of de-occlusion region is less than the height of the screen;
It is when the height of the de-occlusion region is less than the height of the screen, the display content on the screen is vertical Compression, so that the height of the compressed display content is equal to or less than the height of the de-occlusion region;
Judge whether the width of de-occlusion region is less than the width of the screen;
When the width of the de-occlusion region is less than the width of the screen, the display content level is compressed, is made The width for obtaining the compressed display content is equal to or less than the width of the de-occlusion region.
Those skilled in the art will readily occur to its of the disclosure after considering specification and practicing disclosure disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (17)

1. a kind of screen composition method characterized by comprising
It whether there is the shelter for blocking user's sight before judging the screen of terminal;
When blocking the shelter of user's sight described in existing before the screen of the terminal, determine on the screen not by the screening All de-occlusion regions that block material blocks;
Again typesetting is carried out to all display contents on the screen, so that all display contents after typesetting are whole again It is shown in all de-occlusion regions;
It is described that typesetting again is carried out to all display contents on the screen, so that all display contents after typesetting again All it is shown in all de-occlusion regions, comprising:
Determine the size of de-occlusion region;
In all unshieldings after all display content compressions on the screen are handled according to the size of de-occlusion region Region is shown.
2. the method as described in claim 1, which is characterized in that whether there is before the screen of the judgement terminal and block user's view The shelter of line, comprising:
It whether there is object within the scope of first area before judging the screen;
When there are when object, determine to exist before the screen of terminal to block user's sight within the scope of the first area before the screen Shelter.
3. the method as described in claim 1, which is characterized in that whether there is before the screen of the judgement terminal and block user's view The shelter of line, comprising:
It whether there is user within the scope of second area before judging the screen;
When there are when user, determine that the user watches the sight model of the screen within the scope of the second area before the screen It encloses;
Judge in the range of visibility with the presence or absence of object;
When there are there is the shelter for blocking user's sight before when object, determining the screen of terminal in the range of visibility.
4. the method as described in claim 1, which is characterized in that do not blocked by the shelter on the determination screen De-occlusion region, comprising:
The distance between physical attribute information and the screen of shelter are obtained, the physical attribute information includes the shelter Position, size, area, at least one of profile;
It is determined on the screen according to the distance between the physical attribute information of the shelter and screen not by the shelter The de-occlusion region blocked.
5. method as claimed in claim 4, which is characterized in that between the attribute information and screen for obtaining shelter Distance, comprising:
Presumptive area in front of screen is scanned;
The distance between physical attribute information and the screen of the shelter are determined according to scanning result.
6. method as claimed in claim 4, which is characterized in that between the attribute information and screen for obtaining shelter Distance, comprising:
Obtain the image data obtained after shooting with video-corder to the presumptive area in front of screen;
The distance between physical attribute information and the screen of the shelter are determined according to described image data.
7. method as claimed in claim 4, which is characterized in that the physical attribute information for obtaining shelter, comprising:
The position of shelter is induced by the capacitive sensing screen on screen.
8. the method as described in claim 1, which is characterized in that described to carry out weight to all display contents on the screen New typesetting, so that all display contents after typesetting are all shown in all de-occlusion regions again, comprising:
Judge whether the height of de-occlusion region is less than the height of the screen;
It is when the height of the de-occlusion region is less than the height of the screen, all display contents on the screen are vertical Compression, so that the height of compressed all display contents is equal to or less than the height of the de-occlusion region;
Judge whether the width of de-occlusion region is less than the width of the screen;
When the width of the de-occlusion region is less than the width of the screen, all display content levels are compressed, are made The width for obtaining compressed all display contents are equal to or less than the width of the de-occlusion region.
9. a kind of screen composing device characterized by comprising
Judgment module, with the presence or absence of the shelter for blocking user's sight before the screen for judging terminal;
Determining module determines the screen when for blocking the shelter of user's sight in the presence of described in front of the screen of the terminal All de-occlusion regions that do not blocked by the shelter on curtain;
Type-setting module, for carrying out typesetting again to all display contents on the screen, so that the institute after typesetting again There is display content to be all shown in all de-occlusion regions;
The type-setting module, comprising:
5th determines submodule, for determining the size of de-occlusion region;
First compression submodule, for according to the size of de-occlusion region by all display content compressions on the screen It is shown after processing in all de-occlusion regions.
10. device as claimed in claim 9, which is characterized in that the judgment module, comprising:
First judging submodule, for judging within the scope of the first area before the screen with the presence or absence of object;
First determines submodule, for, there are when object, determining the screen of terminal within the scope of the first area before the screen It is preceding to there is the shelter for blocking user's sight.
11. device as claimed in claim 9, which is characterized in that the judgment module, further includes:
Second judgment submodule, for judging within the scope of the second area before the screen with the presence or absence of user;
Second determines submodule, for there are when user, determine user's sight within the scope of the second area before the screen See the range of visibility of the screen;
Third judging submodule, for judging in the range of visibility with the presence or absence of object;
Third determines submodule, for when there are when object, determine to exist before the screen of terminal to block use in the range of visibility The shelter of family sight.
12. device as claimed in claim 9, which is characterized in that the determining module, comprising:
Acquisition submodule, the distance between physical attribute information and screen for obtaining shelter, the physical attribute information At least one of position, size, area, profile including the shelter;
4th determination submodule, for according to the determination of the distance between the physical attribute information of the shelter and screen The de-occlusion region that do not blocked by the shelter on screen.
13. device as claimed in claim 12, which is characterized in that the acquisition submodule is also used to:
Presumptive area in front of screen is scanned;
The distance between physical attribute information and the screen of the shelter are determined according to scanning result.
14. device as claimed in claim 12, which is characterized in that the acquisition submodule is also used to:
Obtain the image data obtained after shooting with video-corder to the presumptive area in front of screen;
The distance between physical attribute information and the screen of the shelter are determined according to described image data.
15. device as claimed in claim 12, which is characterized in that the acquisition submodule is also used to:
The position of shelter is induced by the capacitive sensing screen on screen.
16. device as claimed in claim 10, which is characterized in that the type-setting module, further includes:
4th judging submodule, for judging whether the height of de-occlusion region is less than the height of the screen;
Second compression submodule, when for being less than the height of the screen when the height of the de-occlusion region, by the screen On all display content vertical compressions so that it is compressed it is all display content height be equal to or less than the unshielding area The height in domain;
5th judging submodule, for judging whether the width of de-occlusion region is less than the width of the screen;
Third compresses submodule, will be described all when for being less than the width of the screen when the width of the de-occlusion region Content level compression is shown, so that the width of compressed all display contents is equal to or less than the width of the de-occlusion region Degree.
17. a kind of screen composing device characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to:
It whether there is the shelter for blocking user's sight before judging the screen of terminal;
When blocking the shelter of user's sight described in existing before the screen of the terminal, determine on the screen not by the screening All de-occlusion regions that block material blocks;
Again typesetting is carried out to all display contents on the screen, so that all display contents after typesetting are whole again It is shown in all de-occlusion regions;
It is described that typesetting again is carried out to all display contents on the screen, so that all display contents after typesetting again All it is shown in all de-occlusion regions, comprising:
Determine the size of de-occlusion region;
In all unshieldings after all display content compressions on the screen are handled according to the size of de-occlusion region Region is shown.
CN201510432235.2A 2015-07-21 2015-07-21 Screen composition method and device Active CN104991649B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510432235.2A CN104991649B (en) 2015-07-21 2015-07-21 Screen composition method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510432235.2A CN104991649B (en) 2015-07-21 2015-07-21 Screen composition method and device

Publications (2)

Publication Number Publication Date
CN104991649A CN104991649A (en) 2015-10-21
CN104991649B true CN104991649B (en) 2019-01-11

Family

ID=54303465

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510432235.2A Active CN104991649B (en) 2015-07-21 2015-07-21 Screen composition method and device

Country Status (1)

Country Link
CN (1) CN104991649B (en)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106055233B (en) * 2016-05-26 2019-04-16 深圳市国华光电研究院 A kind of desktop and its display control method
CN106506797B (en) * 2016-09-13 2019-07-09 努比亚技术有限公司 A kind of interface adaptation display device and method
CN107908338B (en) * 2017-11-13 2018-11-20 掌阅科技股份有限公司 Hide text rearrangement method, terminal and the medium of finger pressing position
CN107861935A (en) * 2017-11-13 2018-03-30 掌阅科技股份有限公司 Hide word rearrangement method, terminal and the storage medium of finger pressing position
CN108512997B (en) * 2018-03-02 2020-01-14 Oppo广东移动通信有限公司 Display method, display device, mobile terminal and storage medium
CN109550247B (en) * 2019-01-09 2022-04-08 网易(杭州)网络有限公司 Method and device for adjusting virtual scene in game, electronic equipment and storage medium
CN109947381B (en) * 2019-02-28 2023-08-25 佛山星乔电子科技有限公司 Multi-line linkage control method and control system for subway semitransparent display device group
CN110704915B (en) * 2019-09-20 2023-07-07 同济大学建筑设计研究院(集团)有限公司 Sight line analysis method, device, computer equipment and storage medium
CN112004124A (en) * 2020-08-17 2020-11-27 深圳创维-Rgb电子有限公司 Television, television control method, and storage medium
CN113741760A (en) * 2021-08-19 2021-12-03 江苏欧帝电子科技有限公司 Intelligent blackboard menu bar control processing method and device
CN116152069A (en) * 2023-02-20 2023-05-23 北京有竹居网络技术有限公司 Image display method and device, electronic device, readable storage medium and chip
JP7570475B1 (en) 2023-08-23 2024-10-21 レノボ・シンガポール・プライベート・リミテッド Information processing device, display control method, and display control program

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102257485A (en) * 2008-12-16 2011-11-23 富媒体俱乐部有限责任公司 Content presentation control system and method
CN103052937A (en) * 2010-08-08 2013-04-17 高通股份有限公司 Method and system for adjusting display content
CN104054044A (en) * 2011-11-21 2014-09-17 株式会社尼康 Display device and display control program

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20130071059A (en) * 2011-12-20 2013-06-28 엘지전자 주식회사 Mobile terminal and method for controlling thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102257485A (en) * 2008-12-16 2011-11-23 富媒体俱乐部有限责任公司 Content presentation control system and method
CN103052937A (en) * 2010-08-08 2013-04-17 高通股份有限公司 Method and system for adjusting display content
CN104054044A (en) * 2011-11-21 2014-09-17 株式会社尼康 Display device and display control program

Also Published As

Publication number Publication date
CN104991649A (en) 2015-10-21

Similar Documents

Publication Publication Date Title
CN104991649B (en) Screen composition method and device
US10706173B2 (en) Method and device for displaying notification information
EP3179711B1 (en) Method and apparatus for preventing photograph from being shielded
EP3041206B1 (en) Method and device for displaying notification information
EP3154270B1 (en) Method and device for adjusting and displaying an image
CN104469437B (en) Advertisement sending method and device
CN104850229B (en) Identify the method and device of object
US20170178289A1 (en) Method, device and computer-readable storage medium for video display
JP6029797B2 (en) Angle measuring method, apparatus, terminal, program, and recording medium
CN106231419A (en) Operation performs method and device
CN105260732A (en) Image processing method and device
US20170032725A1 (en) Method, device, and computer-readable medium for setting color gamut mode
CN103916711A (en) Method and device for playing video signals
KR20170020736A (en) Method, apparatus and terminal device for determining spatial parameters by image
EP3796317A1 (en) Video processing method, video playing method, devices and storage medium
CN103945275B (en) Picture recording control method and device and mobile terminal
KR20160048710A (en) Method and device for controlling display of video
CN105516586A (en) Picture shooting method, device and system
US9897439B2 (en) Method and terminal for measuring angle
CN104243829A (en) Self-shooting method and self-shooting device
CN104035674A (en) Picture displaying method and device
KR101701814B1 (en) Method and apparatus for displaying framing information
CN103997686A (en) Play management method and device based on intelligent television
CN107590481A (en) Pier glass, data processing method and device
CN105577917B (en) Photo display methods and device, intelligent terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant