CN109343925A - User interface self-adapting regulation method and device, industry control display terminal - Google Patents

User interface self-adapting regulation method and device, industry control display terminal Download PDF

Info

Publication number
CN109343925A
CN109343925A CN201811112716.5A CN201811112716A CN109343925A CN 109343925 A CN109343925 A CN 109343925A CN 201811112716 A CN201811112716 A CN 201811112716A CN 109343925 A CN109343925 A CN 109343925A
Authority
CN
China
Prior art keywords
region
user interface
screen size
current screen
size
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811112716.5A
Other languages
Chinese (zh)
Other versions
CN109343925B (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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201811112716.5A priority Critical patent/CN109343925B/en
Publication of CN109343925A publication Critical patent/CN109343925A/en
Application granted granted Critical
Publication of CN109343925B publication Critical patent/CN109343925B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention discloses a kind of user interface self-adapting regulation method and device, industry control display terminal.The user interface self-adapting regulation method includes: to obtain current screen resolution ratio and screen size in the case where screen size switching;The division region and corresponding type attribute that recognition user interface is included;It is adaptively adjusted according to corresponding Adaptive adjusting algorithm and according to current screen resolution ratio and screen size to region is divided for the division region of each type attribute.The present invention is by identifying that the interface for enabling divide early period adapts to various sizes of screen automatically, it is possible thereby to reach better interaction effect to division area attribute and corresponding algorithm in advance when switching screen size.

Description

User interface self-adapting regulation method and device, industry control display terminal
Technical field
The present invention relates to industry control display field, in particular to a kind of user interface self-adapting regulation method and device, industry control Display terminal.
Background technique
In the display terminal product of the relevant technologies, specific product need to correspond to specific application program, the boundary of every money program Face is unique for exploitation, can not be suitable for the display product of other sizes.Such as under identical background of hardware, if by 12 The burning program of very little display screen then has that part picture can not be shown to 7 cun of display screens.It is such as burnt to larger sized Display screen, the then picture shown can not cover whole screens.
Summary of the invention
It is found by the applicant that: vector quantization display mode used by the relevant technologies industrial control field, it can be according to the size of display screen It is automatic to show picture and font etc. information to adjust, it is allowed to realize various sizes of display screen in the case where not adjusting software Program can be general.
Though related art scheme has the advantages that program is unitized, when being configured between different sizes, sometimes up to not To good interactive experience.Such as: certain program has obtained good display effect on 12 cun of display screens, but is such as burnt to On 7 cun of display screens, then font and picture will lead to distortion after reducing, be difficult to the problems such as manipulating.
In view of the above technical problem, the present invention provides a kind of user interface self-adapting regulation methods and device, industry control to show Show terminal, various sizes of screen can be adapted to automatically.
According to an aspect of the present invention, a kind of user interface self-adapting regulation method is provided, comprising:
In the case where screen size switching, current screen resolution ratio and screen size are obtained;
The division region and corresponding type attribute that recognition user interface is included;
For the division region of each type attribute, differentiated according to corresponding Adaptive adjusting algorithm and according to current screen Rate and screen size are adaptively adjusted to region is divided.
In some embodiments of the invention, the user interface self-adapting regulation method further include:
User interface is divided at least one in advance and divides region;
For each division region, corresponding type attribute is set;
For the division region of each type attribute, corresponding Adaptive adjusting algorithm is set.
In some embodiments of the invention, it is described divide region type attribute include display interface master map, operation box, At least one of text importing region and character graph block diagram.
In some embodiments of the invention, in the case where dividing region is display interface master map, the adaptive tune Whole algorithm is according to vector quantization principle automatically according to the size of current screen resolution adjustment display interface master map.
It in some embodiments of the invention, is operation box, text importing region or character graph frame dividing region In the case where figure, the Adaptive adjusting algorithm includes:
Judge whether current screen size is less than or equal to predetermined minimum value;
If current screen size is less than or equal to predetermined minimum value, divides region and no longer reduced with screen size;
If current screen size is greater than predetermined minimum value, according to vector quantization principle automatically according to current screen resolution ratio tune Section divides the size in region.
In some embodiments of the invention, the case where region is text importing region or character graph block diagram is being divided Under, the Adaptive adjusting algorithm further include:
Judge whether current screen size is more than or equal to predetermined maximum, wherein predetermined maximum is greater than predetermined minimum value;
If current screen size is more than or equal to predetermined maximum, divides region and no longer amplified with screen size;
If current screen size be less than predetermined maximum and be less than predetermined minimum value, according to vector quantization principle automatically according to The size in current screen resolution adjustment division region.
In some embodiments of the invention, the case where region is text importing region or character graph block diagram is being divided Under, the Adaptive adjusting algorithm includes:
Judge whether current screen size is more than or equal to predetermined maximum;
If current screen size is more than or equal to predetermined maximum, divides region and no longer amplified with screen size;
If current screen size is less than predetermined maximum, according to vector quantization principle automatically according to current screen resolution ratio tune Section divides the size in region.
According to another aspect of the present invention, a kind of user interface self-adapting adjusting apparatus is provided, comprising:
Screen parameter obtains module, for obtaining current screen resolution ratio and screen in the case where screen size switching Size;
Divide region identification module, the division region and corresponding type attribute that user interface is included for identification;
Interface adjusts module, for being directed to the division region of each type attribute, according to corresponding Adaptive adjusting algorithm And according to current screen resolution ratio and screen size, adaptively adjusted to region is divided.
In some embodiments of the invention, the user interface self-adapting adjusting apparatus realizes such as above-mentioned for executing The operation of user interface self-adapting regulation method described in one embodiment.
According to another aspect of the present invention, a kind of user interface self-adapting adjusting apparatus is provided, comprising:
Memory, for storing instruction;
Processor is realized so that the user interface self-adapting adjusting apparatus executes as above-mentioned for executing described instruction The operation of user interface self-adapting regulation method described in any embodiment.
According to another aspect of the present invention, a kind of industry control display terminal is provided, including as described in above-mentioned any embodiment User interface self-adapting adjusting apparatus.
According to another aspect of the present invention, a kind of computer readable storage medium, the computer-readable storage medium are provided Matter is stored with computer instruction, realized when described instruction is executed by processor user interface as described in above-mentioned any embodiment oneself Adapt to method of adjustment.
The present invention is by advance identifying division area attribute and corresponding algorithm when switching screen size, so that preceding The interface that phase divides can adapt to various sizes of screen automatically, it is possible thereby to reach better interaction effect.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the schematic diagram of some embodiments of user interface self-adapting regulation method of the present invention.
Fig. 2 is the schematic diagram of other embodiments of user interface self-adapting regulation method of the present invention.
Fig. 3 is the schematic diagram of some embodiments of user interface self-adapting adjusting apparatus of the present invention.
Fig. 4 is the schematic diagram of other embodiments of user interface self-adapting adjusting apparatus of the present invention.
Fig. 5 is the schematic diagram of the other embodiment of user interface self-adapting adjusting apparatus of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Below Description only actually at least one exemplary embodiment be it is illustrative, never as to the present invention and its application or make Any restrictions.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise Under every other embodiment obtained, shall fall within the protection scope of the present invention.
Unless specifically stated otherwise, positioned opposite, the digital table of the component and step that otherwise illustrate in these embodiments It is not limited the scope of the invention up to formula and numerical value.
Simultaneously, it should be appreciated that for ease of description, the size of various pieces shown in attached drawing is not according to reality Proportionate relationship draw.
Technology, method and apparatus known to person of ordinary skill in the relevant may be not discussed in detail, but suitable In the case of, the technology, method and apparatus should be considered as authorizing part of specification.
It is shown here and discuss all examples in, any occurrence should be construed as merely illustratively, without It is as limitation.Therefore, the other examples of exemplary embodiment can have different values.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined in a attached drawing, then in subsequent attached drawing does not need that it is further discussed.
Fig. 1 is the schematic diagram of some embodiments of user interface self-adapting regulation method of the present invention.Preferably, the present embodiment can It is executed by user interface self-adapting adjusting apparatus of the present invention.Method includes the following steps:
Step 11, in the case where screen size switches, current screen resolution ratio and screen size are obtained.
In some embodiments of the invention, the screen can be the terminal devices such as industrial control terminal, industry control display terminal Screen.
In other embodiments of the invention, the screen can be the screen of the user terminals such as mobile phone, computer.
Step 12, the division region and corresponding type attribute that recognition user interface is included.
In some embodiments of the invention, the type attribute for dividing region may include display interface master map, behaviour Make frame, text importing region, character graph block diagram etc. and divides at least one of area type.
Step 13, for the division region of each type attribute, according to corresponding Adaptive adjusting algorithm and according to current Screen resolution and screen size are adaptively adjusted to region is divided.
It is a kind of industry control display terminal production based on the user interface self-adapting regulation method that the above embodiment of the present invention provides The self-reacting method of the picture of product, can by when switching screen size in advance to divide area attribute and corresponding algorithm into Row identification, the interface that early period is divided adapt to various sizes of screen automatically, it is possible thereby to reach preferably interaction effect Fruit.
The picture that the above embodiment of the present invention industry control display terminal product is shown can not cover whole screens.The present invention is above-mentioned The industry control display terminal product of embodiment show after font and picture in picture zoom in or out can or can not occur distortion, It is difficult to the problem of manipulating.
Fig. 2 is the schematic diagram of other embodiments of user interface self-adapting regulation method of the present invention.Preferably, the present embodiment It can be executed by user interface self-adapting adjusting apparatus of the present invention.Method includes the following steps:
Step 21, user interface is divided at least one in advance and divides region;And it is corresponded to for the setting of each division region Type attribute.
In some embodiments of the invention, the type attribute for dividing region may include display interface master map, behaviour Make frame, text importing region, character graph block diagram etc. and divides at least one of area type.
In some embodiments of the invention, the case where only one divides region for user interface, then by user circle Face is divided into a division region;And a kind of corresponding type attribute is set for the division region.
In other embodiments of the invention, there are multiple division regions for user interface but be that same type divides User interface is then divided into multiple division regions by the case where region;And it is arranged for multiple division region corresponding same Type attribute.
In other embodiments of the invention, there are multiple division regions for user interface and divide the type in region not User interface is then divided at least two division regions by identical situation;And it is arranged for each division region corresponding Type attribute.
In some embodiments of the invention, step 21 may include: before applied software development according to UI (User Interface, user interface) interaction effect, user interface is divided.Division principle are as follows: 1, graphic software platform and text Word display is rationally arranged, and patterned display effect is realized by the mode of polar plot.Text effects then have according to resolution The self-reacting ability of rate.2, the display area of the display product whole need to be covered by dividing region, be drawn according to screen proportion Point.
Such as: in some embodiments of the invention, the size of display screen is 12 cun, resolution ratio 1024*768. Then step 21 may include: that display screen is divided into 4 plates: 1, display interface master map according to current UI scheme;2, it operates Frame;3, text importing region;4, character graph block diagram.
In other specific embodiments of the invention, as shown in Fig. 2, display screen is divided into 4 or more columns, except upper It states outside four columns, can also include that other divide region.
In some embodiments of the invention, display interface master map refers generally to the figure of starting-up interface screen main interface in other words Piece is the picture for embodying this products application scene.Character area refers to that the region only has text importing.Text and figure The block diagram of shape refers to that some patterned display boxes, prompting frame etc., such as some parameters need on the boundary that some is fixed It is shown under the background of face, it also includes text in the display box, prompting frame that this background, which may be a box or other shapes, Word.
Step 22, corresponding Adaptive adjusting algorithm is set for the division region of each type attribute.
In some embodiments of the invention, when step 22 may include: application development, respectively to different demarcation area Domain carries out attribute configuration, the feature for having different is allowed to, for switching basis of characterization when screen.Program configures each division When region, specific algorithm process need to be increased, to realize the different automatic adaptation schemes of different zones.
It in some embodiments of the invention, can be with for the corresponding Adaptive adjusting algorithm of different demarcation region setting It is obtained according to user operation habits and big data analysis.
In some embodiments of the invention, described adaptive in the case where dividing region is display interface master map Answering adjustment algorithm may include: according to vector quantization principle automatically according to the big of current screen resolution adjustment display interface master map It is small.That is, in the case where identifying current region attribute is display interface master map, then according to vector quantization principle automatically according to current screen Curtain resolution ratio number and the corresponding Zoom display interface master map of ratio size.Thus the above embodiment of the present invention may be implemented more Kind divides the adaptive adjustment according to screen size of display interface master map in region.
It in some embodiments of the invention, is operation box, text importing region or character graph frame dividing region In figure in the case where any kind region, the Adaptive adjusting algorithm may include:
Step 221, judge whether current screen size is less than or equal to predetermined minimum value.
It in some embodiments of the invention, is operation box, text importing region or character graph for dividing region Three kinds of different situations of block diagram, the predetermined minimum value can be identical, or three different predetermined minimum values.
Step 222, it if current screen size is less than or equal to predetermined minimum value, divides region and is no longer carried out with screen size It reduces.
Step 223, if current screen size is greater than predetermined minimum value, according to vector quantization principle automatically according to current screen Resolution ratio number and ratio accordingly scale divide region size.
Such as: the case where region is operation box is divided for identification, need specially treated: the above embodiment of the present invention is in screen After size reduction to predetermined minimum value, operation box no longer reduces therewith, to avoid asking for operation box too small caused operating difficulties Topic.
The above embodiment of the present invention is after screen size is reduced to predetermined minimum value, text importing region or character graph Block diagram also no longer reduces therewith, can not clearly recognize to avoid text or character graph block diagram.
In other embodiments of the invention, the feelings that region is text importing region or character graph block diagram are being divided Under condition, the Adaptive adjusting algorithm may include:
Step 221, judge whether current screen size is less than or equal to predetermined minimum value.
It in some embodiments of the invention, is the two of text importing region or character graph block diagram for division region Kind different situations, the predetermined minimum value can be identical, or two different predetermined minimum values.
Step 222, it if current screen size is less than or equal to predetermined minimum value, divides region and is no longer carried out with screen size It reduces.
Step 223, if current screen size is greater than predetermined minimum value, according to vector quantization principle automatically according to current screen The size in resolution adjustment division region.
Step 224, judge whether current screen size is more than or equal to predetermined maximum, wherein predetermined maximum is greater than pre- Determine minimum value.
It in some embodiments of the invention, is the two of text importing region or character graph block diagram for division region Kind different situations, the predetermined maximum can be identical, or two different predetermined maximums.
Step 225, it if current screen size is more than or equal to predetermined maximum, divides region and is no longer carried out with screen size Amplification.
Step 226, if current screen size is less than predetermined maximum and is less than predetermined minimum value, according to vector quantization principle Automatic screen resolution ratio number and ratio accordingly scale divide region size.
Such as: in some specific embodiments of this law, dividing region in identification is text importing region, needs specially treated: After screen size is reduced to predetermined minimum value, no longer decrease font size.After screen size increases to predetermined maximum, text no longer increases Greatly.
The above embodiment of the present invention is after screen size is reduced to predetermined minimum value, text importing region or character graph Block diagram also no longer reduces therewith, can not clearly recognize to avoid text or character graph block diagram.The above embodiment of the present invention exists After screen size increases to predetermined maximum, text importing region or character graph block diagram are also no longer increased with it.
In other embodiment of the invention, the feelings that region is text importing region or character graph block diagram are being divided Under condition, the Adaptive adjusting algorithm may include:
Step 22a, judges whether current screen size is more than or equal to predetermined maximum.
Step 22b divides region and no longer carries out with screen size if current screen size is more than or equal to predetermined maximum Amplification.
Step 22c, if current screen size is less than predetermined maximum, according to vector quantization principle automatically according to current screen The size in resolution adjustment division region.
The above embodiment of the present invention is provided with the upper limit for text importing region or character graph block diagram.The present invention is above-mentioned After screen size increases to predetermined maximum, text importing region or character graph block diagram also no longer increase embodiment therewith Greatly.
It is operation box, text importing region or character graph block diagram for dividing region in the above embodiment of the present invention Three kinds of situations, upper and lower bound can be respectively provided with, can also be performed corresponding processing according to actual use situation, such as basis At least one of actual needs setting upper and lower limit.
Step 23, in the case where screen size switches, current screen resolution ratio and screen size are obtained.
In some embodiments of the invention, the screen can be the screen of the terminal devices such as industrial control terminal.
In other embodiments of the invention, the screen can be the screen of the user terminals such as mobile phone, computer.
Step 24, the division region (such as pre-set division region in step 21) that recognition user interface is included; For the division region of each type attribute, according to corresponding Adaptive adjusting algorithm (such as in step 22 it is pre-set from Adapt to adjustment algorithm) and according to current screen resolution ratio and screen size, it is adaptively adjusted to region is divided.
Step 25, after the division region that user interface is included all identifies successfully, lighting screen, (i.e. progress screen is aobvious Show), the industrial control terminal that brings into operation program.
A kind of picture automatic placement of industry control display terminal product of the above embodiment of the present invention and the side of effective demarcation interval It is bad and the technical problems such as be difficult to manipulate to solve distortion present in the relevant technologies, interaction effect for formula.
The above embodiment of the present invention combination the relevant technologies industry control shows that the hardware generalization of product, interface vector quantization are shown Development plan effectively divides display interface and attribute configuration for preconfigured user interface effect before developing, and Division area attribute and corresponding algorithm are identified in advance when switching screen size, the interface that early period is divided is certainly It is dynamic to adapt to various sizes of screen, to reach better interaction effect.
Fig. 3 is the schematic diagram of some embodiments of user interface self-adapting adjusting apparatus of the present invention.As shown in figure 3, the use Interface adaptation adjustment device in family may include that screen parameter obtains module 31, divides region identification module 32 and interface adjustment mould Block 33, in which:
Screen parameter obtains module 31, for obtaining current screen resolution ratio and screen in the case where screen size switching Curtain size.
Divide region identification module 32, the division region and corresponding type attribute that user interface is included for identification.
In some embodiments of the invention, the type attribute for dividing region may include display interface master map, behaviour Make frame, text importing region, character graph block diagram etc. and divides at least one of area type.
Interface adjusts module 33, for being directed to the division region of each type attribute, calculates according to corresponding adaptive adjustment Method and according to current screen resolution ratio and screen size, is adaptively adjusted to region is divided.
In some embodiments of the invention, the user interface self-adapting adjusting apparatus realizes such as above-mentioned for executing The operation of user interface self-adapting regulation method described in one embodiment (such as Fig. 1 or Fig. 2 embodiment).
It, can be by switching screen ruler based on the user interface self-adapting adjusting apparatus that the above embodiment of the present invention provides The interface that early period is divided adapts to different rulers automatically to be identified to division area attribute and corresponding algorithm in advance when very little Very little screen, it is possible thereby to reach better interaction effect.
Fig. 4 is the schematic diagram of other embodiments of user interface self-adapting adjusting apparatus of the present invention.With embodiment illustrated in fig. 3 It compares, in the embodiment shown in fig. 4, the user interface self-adapting adjusting apparatus can also include region division module 34, adjust Whole algorithm setup module 35 and display module 36, in which:
Region division module 34 divides region for user interface to be divided at least one in advance;It and is each division Corresponding type attribute is arranged in region.
In some embodiments of the invention, the type attribute for dividing region may include display interface master map, behaviour Make frame, text importing region, character graph block diagram etc. and divides at least one of area type.
In some embodiments of the invention, the case where only one divides region for user interface, then region division Module 34 is used to user interface being divided into a division region;And a kind of corresponding type attribute is set for the division region.
In other embodiments of the invention, there are multiple division regions for user interface but be that same type divides The case where region, then region division module 34 is used to user interface being divided into multiple division regions;It and is multiple dividing regions Corresponding same type attribute is arranged in domain.
In other embodiments of the invention, there are multiple division regions for user interface and divide the type in region not Identical situation, then region division module 34 is used to user interface being divided at least two division regions;It and is each It divides region and corresponding type attribute is set.
In some embodiments of the invention, region division module 34 can be used for before applied software development being handed over according to UI Mutual effect, divides user interface.Division principle are as follows: 1, graphic software platform and text importing are rationally arranged, figure The display effect of shape is realized by the mode of polar plot.Text effects then have according to the self-reacting ability of resolution ratio.2, it draws Subregion need to cover the display area of the display product whole, be divided according to screen proportion.
In some embodiments of the invention, the size of display screen is 12 cun, resolution ratio 1024*768.Then region Division module 34 can be used for according to current UI scheme, and display screen is divided into 4 plates: 1, display interface master map;2, it operates Frame;3, text importing region;4, character graph block diagram.
In other specific embodiments of the invention, as shown in Fig. 2, display screen is divided into 4 or more columns, that is, It can also include that other divide region in addition to aforementioned four column.
In some embodiments of the invention, display interface master map refers generally to the figure of starting-up interface screen main interface in other words Piece is the picture for embodying this products application scene.Character area refers to that the region only has text importing.Text and figure The block diagram of shape refers to that some patterned display boxes, prompting frame etc., such as some parameters need on the boundary that some is fixed It is shown under the background of face, it also includes text in the display box, prompting frame that this background, which may be a box or other shapes, Word.
Adjustment algorithm setup module 35 is calculated for the corresponding adaptive adjustment of division region setting for each type attribute Method.
In some embodiments of the invention, adjustment algorithm setup module 35 can be used in application development, point It is other that attribute configuration is carried out to different demarcation region, it is allowed to the feature for having different, for switching basis of characterization when screen.Program When configuring the region of each division, specific algorithm process need to be increased, to realize the different automatic adaptation schemes of different zones.
In some embodiments of the invention, can be used for can be according to user operation habits for adjustment algorithm setup module 35 And big data analysis obtains, for the corresponding Adaptive adjusting algorithm of different demarcation region setting.
In some embodiments of the invention, adjustment algorithm setup module 35 can be used for dividing region being display interface In the case where master map, it may include: according to vector quantization principle automatically according to current screen point that the Adaptive adjusting algorithm, which is arranged, The size of resolution adjusting display interface master map.
In other embodiments of the invention, adjustment algorithm setup module 35 can be used for dividing region as operation In frame, text importing region or character graph block diagram in the case where any kind region, the Adaptive adjusting algorithm is set It may include: to judge whether current screen size is less than or equal to predetermined minimum value;If current screen size is less than or equal to make a reservation for most Small value then divides region and is no longer reduced with screen size;If current screen size is greater than predetermined minimum value, according to vector Change principle automatically according to current screen resolution ratio number and ratio accordingly scale division region size.
In other embodiments of the invention, adjustment algorithm setup module 35 can be used for dividing region as operation In frame, text importing region or character graph block diagram in the case where any kind region, the Adaptive adjusting algorithm is set It can also include: to judge whether current screen size is more than or equal to predetermined maximum, wherein predetermined maximum is greater than predetermined minimum Value;If current screen size is more than or equal to predetermined maximum, divides region and no longer amplified with screen size;If current screen Curtain size be less than predetermined maximum and be less than predetermined minimum value, then according to vector quantization principle automatic screen resolution ratio number and ratio The corresponding scaling of example divides the size in region.
In other embodiments of the invention, adjustment algorithm setup module 35 can be used for aobvious for text in division region In the case where showing region or character graph block diagram, it may include: to judge current screen ruler that the Adaptive adjusting algorithm, which is arranged, It is very little whether to be more than or equal to predetermined maximum;If current screen size is more than or equal to predetermined maximum, region is divided no longer with screen Curtain size amplifies;If current screen size is less than predetermined maximum, according to vector quantization principle automatically according to current screen The size in resolution adjustment division region.
In other embodiments of the invention, adjustment algorithm setup module 35 can be used for for dividing region as operation Three kinds of situations of frame, text importing region or character graph block diagram, can be respectively provided with upper and lower bound, can also be according to reality Service condition performs corresponding processing, such as at least one of upper and lower limit is arranged according to actual needs.
Screen parameter obtains module 31, for obtaining current screen resolution ratio and screen in the case where screen size switching Curtain size.
Divide region identification module 32, the division region and corresponding type attribute that user interface is included for identification (such as the pre-set division region of region division module 34 and corresponding types attribute).
Interface adjusts module 33, for being directed to the division region of each type attribute, calculates according to corresponding adaptive adjustment Method (such as the pre-set Adaptive adjusting algorithm of adjustment algorithm setup module 35) and according to current screen resolution ratio and screen Size is adaptively adjusted to region is divided.
Display module 36, for after division region that user interface is included all identifies successfully, light screen (i.e. into Row screen is shown), the industrial control terminal that brings into operation program.
A kind of picture automatic placement of industry control display terminal product of the above embodiment of the present invention and the side of effective demarcation interval It is bad and the technical problems such as be difficult to manipulate to solve distortion present in the relevant technologies, interaction effect for formula.
The above embodiment of the present invention combination the relevant technologies industry control shows that the hardware generalization of product, interface vector quantization are shown Development plan effectively divides display interface and attribute configuration for preconfigured user interface effect before developing, and Division area attribute and corresponding algorithm are identified in advance when switching screen size, the interface that early period is divided is certainly It is dynamic to adapt to various sizes of screen, to reach better interaction effect.
Fig. 5 is the schematic diagram of the other embodiment of user interface self-adapting adjusting apparatus of the present invention.As shown in figure 5, described User interface self-adapting adjusting apparatus may include memory 51 and processor 52, in which:
Memory 51, for storing instruction.
Processor 52 is realized as above for executing described instruction so that the user interface self-adapting adjusting apparatus executes State the operation of user interface self-adapting regulation method described in any embodiment (such as Fig. 1 or Fig. 2 embodiment).
The above embodiment of the present invention combination the relevant technologies industry control shows that the hardware generalization of product, interface vector quantization are shown Development plan effectively divides display interface and attribute configuration for preconfigured user interface effect before developing, and Division area attribute and corresponding algorithm are identified in advance when switching screen size, the interface that early period is divided is certainly It is dynamic to adapt to various sizes of screen, to reach better interaction effect.
The picture that the above embodiment of the present invention industry control display terminal product is shown can not cover whole screens.The present invention is above-mentioned The industry control display terminal product of embodiment show after font and picture in picture zoom in or out can or can not occur distortion, It is difficult to the problem of manipulating.
According to another aspect of the present invention, a kind of industry control display terminal is provided, including as above-mentioned any embodiment (such as is schemed 3- Fig. 5 any embodiment) described in user interface self-adapting adjusting apparatus.
Based on the industry control display terminal that the above embodiment of the present invention provides, the hardware of product is shown in conjunction with the relevant technologies industry control The development plan that generalization, interface vector quantization are shown, for develop before preconfigured user interface effect, to display interface into Row effectively divides and attribute configuration, and identifies in advance to division area attribute and corresponding algorithm when switching screen size, The interface that early period is divided adapts to various sizes of screen automatically, to reach better interaction effect.
The picture that the above embodiment of the present invention industry control display terminal product is shown can not cover whole screens.The present invention is above-mentioned The industry control display terminal product of embodiment show after font and picture in picture zoom in or out can or can not occur distortion, It is difficult to the problem of manipulating.
According to another aspect of the present invention, a kind of computer readable storage medium, the computer-readable storage medium are provided Matter is stored with computer instruction, is realized when described instruction is executed by processor as (such as Fig. 1 or Fig. 2 are real for above-mentioned any embodiment Apply example) described in user interface self-adapting regulation method.
Based on the computer readable storage medium that the above embodiment of the present invention provides, product is shown in conjunction with the relevant technologies industry control Hardware generalization, the development plan that shows of interface vector quantization, for preconfigured user interface effect before developing, to display Interface is effectively divided and attribute configuration, and carries out in advance to division area attribute and corresponding algorithm when switching screen size Identification, the interface that early period is divided adapts to various sizes of screen automatically, to reach better interaction effect.
User interface self-adapting adjusting apparatus described above can be implemented as executing function described herein Can general processor, programmable logic controller (PLC) (PLC), digital signal processor (DSP), specific integrated circuit (ASIC), Field programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor logic, discrete hard Part component or it is any appropriately combined.
So far, the present invention is described in detail.In order to avoid covering design of the invention, it is public that this field institute is not described The some details known.Those skilled in the art as described above, completely it can be appreciated how implementing technology disclosed herein Scheme.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
Description of the invention is given for the purpose of illustration and description, and is not exhaustively or will be of the invention It is limited to disclosed form.Many modifications and variations are obvious for the ordinary skill in the art.It selects and retouches It states embodiment and is to more preferably illustrate the principle of the present invention and practical application, and those skilled in the art is enable to manage The solution present invention is to design various embodiments suitable for specific applications with various modifications.

Claims (12)

1. a kind of user interface self-adapting regulation method characterized by comprising
In the case where screen size switching, current screen resolution ratio and screen size are obtained;
The division region and corresponding type attribute that recognition user interface is included;
For the division region of each type attribute, according to corresponding Adaptive adjusting algorithm and according to current screen resolution ratio and Screen size is adaptively adjusted to region is divided.
2. user interface self-adapting regulation method according to claim 1, which is characterized in that further include:
User interface is divided at least one in advance and divides region;
For each division region, corresponding type attribute is set;
For the division region of each type attribute, corresponding Adaptive adjusting algorithm is set.
3. user interface self-adapting regulation method according to claim 2, which is characterized in that
The type attribute for dividing region includes display interface master map, operation box, text importing region and character graph frame At least one of figure.
4. user interface self-adapting regulation method according to claim 2 or 3, which is characterized in that
In the case where dividing region is display interface master map, the Adaptive adjusting algorithm is according to the automatic root of vector quantization principle According to the size of current screen resolution adjustment display interface master map.
5. user interface self-adapting regulation method according to claim 2 or 3, which is characterized in that dividing region as behaviour In the case where making frame, text importing region or character graph block diagram, the Adaptive adjusting algorithm includes:
Judge whether current screen size is less than or equal to predetermined minimum value;
If current screen size is less than or equal to predetermined minimum value, divides region and no longer reduced with screen size;
If current screen size is greater than predetermined minimum value, drawn according to vector quantization principle automatically according to current screen resolution adjustment Subregional size.
6. user interface self-adapting regulation method according to claim 5, which is characterized in that aobvious for text dividing region In the case where showing region or character graph block diagram, the Adaptive adjusting algorithm further include:
Judge whether current screen size is more than or equal to predetermined maximum, wherein predetermined maximum is greater than predetermined minimum value;
If current screen size is more than or equal to predetermined maximum, divides region and no longer amplified with screen size;
If current screen size is less than predetermined maximum and is less than predetermined minimum value, according to vector quantization principle automatically according to current Screen resolution adjusts the size for dividing region.
7. user interface self-adapting regulation method according to claim 2 or 3, which is characterized in that dividing region as text In the case where word display area or character graph block diagram, the Adaptive adjusting algorithm includes:
Judge whether current screen size is more than or equal to predetermined maximum;
If current screen size is more than or equal to predetermined maximum, divides region and no longer amplified with screen size;
If current screen size is less than predetermined maximum, drawn according to vector quantization principle automatically according to current screen resolution adjustment Subregional size.
8. a kind of user interface self-adapting adjusting apparatus characterized by comprising
Screen parameter obtains module, for obtaining current screen resolution ratio and screen size in the case where screen size switching;
Divide region identification module, the division region and corresponding type attribute that user interface is included for identification;
Interface adjusts module, for being directed to the division region of each type attribute, according to corresponding Adaptive adjusting algorithm and root According to current screen resolution ratio and screen size, adaptively adjusted to region is divided.
9. user interface self-adapting adjusting apparatus according to claim 8, which is characterized in that the user interface is adaptive Adjustment device is used to execute the operation realized such as user interface self-adapting regulation method of any of claims 1-7.
10. a kind of user interface self-adapting adjusting apparatus characterized by comprising
Memory, for storing instruction;
Processor, for executing described instruction, so that the user interface self-adapting adjusting apparatus, which executes, realizes such as claim The operation of user interface self-adapting regulation method described in any one of 1-7.
11. a kind of industry control display terminal, which is characterized in that certainly including the user interface as described in any one of claim 8-10 Adapt to adjustment device.
12. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer to refer to It enables, realizes when described instruction is executed by processor such as the adaptive side of adjustment of user interface of any of claims 1-7 Method.
CN201811112716.5A 2018-09-25 2018-09-25 User interface self-adaptive adjusting method and device and industrial control display terminal Active CN109343925B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811112716.5A CN109343925B (en) 2018-09-25 2018-09-25 User interface self-adaptive adjusting method and device and industrial control display terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811112716.5A CN109343925B (en) 2018-09-25 2018-09-25 User interface self-adaptive adjusting method and device and industrial control display terminal

Publications (2)

Publication Number Publication Date
CN109343925A true CN109343925A (en) 2019-02-15
CN109343925B CN109343925B (en) 2020-02-14

Family

ID=65306616

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811112716.5A Active CN109343925B (en) 2018-09-25 2018-09-25 User interface self-adaptive adjusting method and device and industrial control display terminal

Country Status (1)

Country Link
CN (1) CN109343925B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110162367A (en) * 2019-05-10 2019-08-23 上海莉莉丝科技股份有限公司 Method, system, equipment and the medium of user interface adaptive configuration
CN112511880A (en) * 2021-02-04 2021-03-16 南京极域信息科技有限公司 Content transmission and control system among multiple screens
CN112539794A (en) * 2020-12-17 2021-03-23 中环天仪股份有限公司 Wireless remote transmission system implementation method based on electromagnetic water meter
US11137887B1 (en) 2020-01-15 2021-10-05 Navvis & Company, LLC Unified ecosystem experience for managing multiple healthcare applications from a common interface

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662616A (en) * 2012-03-28 2012-09-12 北京邮电大学 Screen graphics self-adaption method and system used for mobile terminal
CN105718594A (en) * 2016-01-29 2016-06-29 四川长虹电器股份有限公司 Self-adaptive interface display method for intelligent terminal
CN105988654A (en) * 2015-01-28 2016-10-05 阿里巴巴集团控股有限公司 Application program interface adjustment method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102662616A (en) * 2012-03-28 2012-09-12 北京邮电大学 Screen graphics self-adaption method and system used for mobile terminal
CN105988654A (en) * 2015-01-28 2016-10-05 阿里巴巴集团控股有限公司 Application program interface adjustment method and device
CN105718594A (en) * 2016-01-29 2016-06-29 四川长虹电器股份有限公司 Self-adaptive interface display method for intelligent terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110162367A (en) * 2019-05-10 2019-08-23 上海莉莉丝科技股份有限公司 Method, system, equipment and the medium of user interface adaptive configuration
CN110162367B (en) * 2019-05-10 2020-11-24 上海莉莉丝科技股份有限公司 Method, system, device and medium for user interface adaptive configuration
US11137887B1 (en) 2020-01-15 2021-10-05 Navvis & Company, LLC Unified ecosystem experience for managing multiple healthcare applications from a common interface
US11150791B1 (en) 2020-01-15 2021-10-19 Navvis & Company, LLC Unified ecosystem experience for managing multiple healthcare applications from a common interface with trigger-based layout control
US11848099B1 (en) 2020-01-15 2023-12-19 Navvis & Company, LLC Unified ecosystem experience for managing multiple healthcare applications from a common interface with context passing between applications
CN112539794A (en) * 2020-12-17 2021-03-23 中环天仪股份有限公司 Wireless remote transmission system implementation method based on electromagnetic water meter
CN112511880A (en) * 2021-02-04 2021-03-16 南京极域信息科技有限公司 Content transmission and control system among multiple screens

Also Published As

Publication number Publication date
CN109343925B (en) 2020-02-14

Similar Documents

Publication Publication Date Title
CN109343925A (en) User interface self-adapting regulation method and device, industry control display terminal
CN103634650B (en) A kind of image processing method and system based on intelligent television platform
CN107204034B (en) A kind of image processing method and terminal
CN103631958B (en) A kind of page automatic adaptation realizes the method that content multi-screen is shown
CN109074276A (en) Tabs in system task switch
CN104503655A (en) Application program interface display control method and device
CN106201212B (en) A kind of generation method of application icon, device and mobile terminal
CN106155692A (en) A kind of terminal brightness control method and terminal
CN109766949A (en) Convolutional neural networks light weight method, device and electronic equipment
CN104808959B (en) Information processing method and electronic equipment
CN105468617B (en) Adjust the method and device of web page contents color
CN105701165B (en) Browser model switching method and switching device
US20160352971A1 (en) Electronic device and image processing method
CN104978186A (en) Interface skin rendering method and apparatus
CN105335939A (en) Image processing method and apparatus
CN105224187A (en) Menu execution control method and terminal equipment
CN105763768A (en) Image processing method, device and system
CN108153454B (en) Multi-touch switching method and device, storage medium and terminal equipment
CN105224538B (en) The dithering process method and apparatus of image
CN106648335A (en) Secondary-linkage menu building method and apparatus
KR20110057599A (en) Method and apparatus for filtering vector object's control points
CN104407773A (en) Page display method and device
CN109509237B (en) Filter processing method and device and electronic equipment
CN107102832B (en) The display methods and device of figure in chart
CN107113430B (en) Method, computer system and the device of code rate control

Legal Events

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