CN106775270B - A kind of display methods and device of on-screen menu - Google Patents
A kind of display methods and device of on-screen menu Download PDFInfo
- Publication number
- CN106775270B CN106775270B CN201611074068.XA CN201611074068A CN106775270B CN 106775270 B CN106775270 B CN 106775270B CN 201611074068 A CN201611074068 A CN 201611074068A CN 106775270 B CN106775270 B CN 106775270B
- Authority
- CN
- China
- Prior art keywords
- menu
- display
- screen
- drawing field
- field domain
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/0482—Interaction with lists of selectable items, e.g. menus
Abstract
The present invention provides the display methods and device of a kind of on-screen menu, and method includes: that the display position of target menu to be shown is determined according to the on-screen menu idsplay order received;The area of display on-screen menu display area is determined according to the display area of all types of on-screen menus;The position of menu drawing field domain on a display screen is determined according to the area of the display position of target menu and menu drawing field domain;The displaying target menu in menu drawing field domain.With the area in menu drawing field domain in the prior art it is larger cause to occupy display memory is more, free area utilization rate is lower and data transmission in compared with bandwidth waste, the present invention is by reducing the area in menu drawing field domain and according to the position in the mobile menu drawing field domain in the display position of target menu, so that while not influencing any kind on-screen menu and being shown in menu drawing field domain, bandwidth needed for display memory needed for reducing display screen menu and data transmission.
Description
Technical field
The present invention relates to the display field of electronic equipment more particularly to the display methods and device of a kind of on-screen menu.
Background technique
On-screen menu (OSD, full name in English: on-screen display) be usually be shown in terminal device (such as TV,
Computer and smart phone etc.) special font or figure on display screen, be a kind of common user interface (UI, full name in English:
User Interface).On-screen menu may include a variety of Menu Types (such as channel number, setting menu and volume bar), for
Family provides required a variety of adjusting information.User can be realized by operating the above on-screen menu to functional unit each in terminal device
Control, to reach satisfied use state.
Under normal conditions, different types of on-screen menu is previously provided with fixed display size and display position, and terminal is set
The standby menu drawing field domain that the region comprising all kinds of on-screen menu display positions can be set as to on-screen menu, and then according to menu
Display memory needed for the area of display area allocates display screen menu in advance.Display memory is during on-screen menu is shown
To be occupied always, be recovered in the system again after menu drawing field domain is shown completely, so that it is guaranteed that each in menu drawing field domain
The normal display of class on-screen menu.Menu drawing field domain is usually set as the full frame of display screen or display by common terminal device
Certain fixed area on screen.Referring to FIG. 1, showing the display schematic diagram of common on-screen menu.As seen from Figure 1, screen dish
Single includes setting menu, volume bar and channel number three types, and three has fixed display position.The upper edge of menu is set
Vertical range with volume bar lower edge is 800 pixels, the horizontal distance on edge on the right of setting menu left margin and channel number
For 1600 pixels.It therefore, is the normal display for ensuring channel number, setting menu and volume bar, it is preset on display screen
The area in menu drawing field domain was at least for 1600 × 800 (as shown in figure 1 shown in dotted line frame).
But the user of terminal device usually only operates some on-screen menu within certain period, and therefore, each screen dish
Single-pass Chang Buhui is simultaneously displayed in menu drawing field domain, so that menu drawing field domain exists during on-screen menu is shown
The unused free area of large area causes part display memory corresponding with free area in menu drawing field domain in screen dish
It is also occupied always during single display, to reduce the utilization efficiency of memory, in turn result in terminal device in the data transmission
The waste of bandwidth influences the normal operation of other modules (such as video channel).
Summary of the invention
The present invention provides the display methods and device of a kind of on-screen menu, to solve display memory and bandwidth in the prior art
The low technical problem of utilization rate.
The present invention provides a kind of display methods of on-screen menu, which comprises
The display position of target menu to be shown is determined according to the on-screen menu idsplay order received;
The area in menu drawing field domain is determined according to the display area of all types of on-screen menus, the menu drawing field domain
Area is more than or equal to the maximum value of all types of on-screen menu display areas, also, is less than covering all types on-screen menu
The minimum area of display position;
Determine that the menu is shown according to the area of the display position of the target menu and the menu drawing field domain
The position of region on a display screen;
The target menu is shown in the menu drawing field domain.
The present invention also provides a kind of display devices of on-screen menu, comprising: processor, memory and communication interface, it is described
Processor, the memory are connected with the communication interface communication bus;
The communication interface, for sending and receiving signal;
The memory, for storing program code;
The processor for reading the program code stored in the memory, and executes screen provided by the invention
The display methods of menu.
The present invention also provides a kind of display devices of on-screen menu, comprising:
First determining module, for determining the aobvious of target menu to be shown according to the on-screen menu idsplay order received
Show position;
Second determining module, for determining the area in menu drawing field domain according to the display area of all types of on-screen menus,
The area in the menu drawing field domain is more than or equal to the maximum value of all types of on-screen menu display areas, also, is less than and covers
The minimum area of lid all types on-screen menu display position;
Third determining module, for according to the display position of the target menu and the area in the menu drawing field domain
Determine the position of the menu drawing field domain on a display screen;
Display module, for showing the target menu in the menu drawing field domain.
The technical solution that the embodiment of the present invention provides can include the following benefits:
The present invention provides the display methods and device of a kind of on-screen menu, and method includes: according to the on-screen menu received
Idsplay order determines the display position of target menu to be shown;Display screen is determined according to the display area of all types of on-screen menus
The area of the area of upper menu display area, the menu drawing field domain is more than or equal to all types of on-screen menu display areas
Maximum value, also, be less than covering all types on-screen menu display position minimum area;According to the display position of target menu
It sets and the area in menu drawing field domain determines the position of menu drawing field domain on a display screen;It is shown in menu drawing field domain
Target menu.With the area in menu drawing field domain in the prior art is larger leads to occupy that display memory is more, free area utilizes
Rate is lower and data transmission in bandwidth waste compare, the present invention is by reducing the area in menu drawing field domain and according to target
The position in the mobile menu drawing field domain in the display position of menu, so that not influencing any kind on-screen menu in menu drawing field
While display in domain, bandwidth needed for display memory needed for reducing display screen menu and data transmission.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
It can the limitation present invention.
Detailed description of the invention
Fig. 1 is the display schematic diagram of common on-screen menu;
Fig. 2 is a kind of method flow diagram of the on-screen menu display methods provided in the embodiment of the present invention;
Fig. 3 is the method flow diagram of the step S202 provided in the embodiment of the present invention a kind of;
Fig. 4 is a kind of display schematic diagram of the on-screen menu provided in the embodiment of the present invention;
Fig. 5 is the method flow diagram of another step S202 provided in the embodiment of the present invention;
Fig. 6 is the display schematic diagram of another on-screen menu provided in the embodiment of the present invention;
Fig. 7 is the method flow diagram of the step S203 provided in the embodiment of the present invention a kind of;
Fig. 8 is the display schematic diagram of the third on-screen menu provided in the embodiment of the present invention;
Fig. 9 is the method flow diagram of another on-screen menu display methods provided in the embodiment of the present invention;
Figure 10 is a kind of structural schematic diagram of the on-screen menu display device provided in the embodiment of the present invention;
Figure 11 is the structural schematic diagram of another on-screen menu display device provided in the embodiment of the present invention;
Figure 12 is the structural schematic diagram of the second determining module of one kind 200 provided in the embodiment of the present invention;
Figure 13 is the structural schematic diagram of the second determining module of another kind 200 provided in the embodiment of the present invention;
Figure 14 is a kind of structural schematic diagram of the display module 400 provided in the embodiment of the present invention;
Figure 15 is a kind of structural schematic diagram of the third determining module 300 provided in the embodiment of the present invention.
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 being described in detail in claims, some aspects of the invention are consistent.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and the highlights of each of the examples are differences from other embodiments.
Referring to FIG. 2, showing a kind of display methods of the on-screen menu provided in the embodiment of the present invention one.
As shown in Figure 2, which comprises
Step S201: the display position of target menu to be shown is determined according to the on-screen menu idsplay order received.
It can determine target menu to be shown according to the command information in on-screen menu idsplay order, and then obtain preset
The associated display informations such as the display position of target menu and display area.
Step S202: the face of display on-screen menu display area is determined according to the display area of all types of on-screen menus
Product.
The area in the menu drawing field domain is more than or equal to the maximum value of all types of on-screen menu display areas, and
And less than the minimum area of covering all types on-screen menu display position.It has usually been previously provided in operating system all types of
The display area of on-screen menu (such as channel number, setting menu and volume bar) and display position on a display screen.At end
In end equipment operational process, the preset display area of all types of on-screen menus and display position immobilize.Menu drawing field domain
Area be greater than the display areas of all types of on-screen menus, or equal to the maximum value of all types of on-screen menu display areas, with
Just all types of on-screen menus can normally be shown in menu drawing field domain;Meanwhile the area in menu drawing field domain be less than cover
Minimum area (the face in menu drawing field domain determined by i.e. existing common method of lid all types on-screen menu display position
Product, the area of example dotted line frame as shown in figure 1).This menu drawing field domain can guarantee what all types of on-screen menus were normally shown as a result,
On the basis of, reduce the area in menu drawing field domain, and then display memory needed for reduction display screen menu.
Step S203: according to the determination of the area in the display position of the target menu and the menu drawing field domain
The position of menu drawing field domain on a display screen.
Step S204: the target menu is shown in the menu drawing field domain.
Common terminal device usually by menu drawing field domain be set as certain on the full frame or display screen of display screen fix
Region, in terminal device operational process, the position in menu drawing field domain be cannot be adjusted, and is be easy to cause in menu drawing field domain and is deposited
In the free area of larger area.On-screen menu display methods provided in an embodiment of the present invention, shows with menu in the prior art
The area in region is larger cause to occupy display memory is more, free area utilization rate is lower and data transmission in bandwidth waste phase
Than the present invention is by reducing the area in menu drawing field domain and according to the mobile menu drawing field domain in the display position of target menu
Position so that reducing display screen while not influencing any kind on-screen menu and showing in menu drawing field domain
Bandwidth needed for display memory needed for menu and data transmission.
Referring to FIG. 3, showing the method flow diagram of the step S202 provided in the embodiment of the present invention a kind of.
As shown in Figure 3, in certain embodiments of the present invention, step S202 can comprise the following steps that
Step S20211: the horizontal length and vertical length of all types of on-screen menus are obtained.
Step S20212: the maximum value in the maximum value and vertical length in all types of on-screen menu horizontal lengths is distinguished
It is determined as the horizontal length and vertical length in the menu drawing field domain.
Step S20213: the menu drawing field is determined according to the horizontal length in the menu drawing field domain and vertical length
The area in domain.
All types of on-screen menus and menu drawing field domain are common rectangle menu, therefore, screen in the present embodiment
Menu and the area in menu drawing field domain, that is, corresponding horizontal length and vertical length product.Therefore, according to all types of screens
The area in the menu drawing field domain that the maximum value in maximum value and vertical length in curtain menu horizontal length determines respectively is greater than
The display area of any type on-screen menu.Since the position in menu drawing field domain can be adjusted with target menu display position, because
This, the area in menu drawing field domain can guarantee the normal display of all types of on-screen menus in the present embodiment.
All types of on-screen menus and menu drawing field domain may be other common displays in other embodiments of the invention
Menu shape (such as round, square).It is adapted with all types of on-screen menu shapes, it can be according to the half of all types of on-screen menus
Diameter or side length determine the area in menu drawing field domain, such as determine the maximum value in all types of on-screen menu radiuses (or side length)
For the radius (or side length) in the menu drawing field domain, so that it is determined that the area in menu drawing field domain.Certain menu drawing field domain
Shape can also be inconsistent with the shape of all types of on-screen menus, only need to meet the area in menu drawing field domain and be greater than or wait
In the maximum value of all types of on-screen menu display areas, also, it is less than the minimum of covering all types on-screen menu display position
Area.If the shape of on-screen menu is circle, then the maximum value in all types of on-screen menu radiuses can be determined as described
The side length in square menu drawing field domain.
Referring to FIG. 4, showing a kind of display schematic diagram of on-screen menu provided in an embodiment of the present invention.
From fig. 4, it can be seen that on-screen menu includes setting menu, volume bar and channel number three types, three has fixed
Display area and display position.Specifically, the display area of setting menu is 400 × 600, the display area of channel number is
300 × 150, the display area of volume bar is 1200 × 180.Since the horizontal length and vertical length in menu drawing field domain are distinguished
For the maximum value in the maximum value and vertical length in all types of on-screen menu horizontal lengths, therefore, the face in menu drawing field domain
Product should be 1200 × 600 (as shown in dotted line frames in Fig. 4), be all larger than the display area of setting menu, volume bar and channel number.By
It can be adjusted with target menu display position in the position in menu drawing field domain, thus the present embodiment menu drawing field domain can cover and appoint
The on-screen menu of one type, so that it is guaranteed that being enough normally to show any screen according to the display memory of menu drawing field domain area distributions
Curtain menu.
The display methods of common on-screen menu needs the area in preset menu drawing field domain to be at least 1600 × 800,
And the area in menu drawing field domain provided in this embodiment is only 1200 × 600, if the format of on-screen menu is that ARGB is (transparent
Degree, red, green, blue, full name in English are as follows: Alpha, Red, Green, Blue) format, then corresponding display memory be respectively
5120Kbyte and 2880Kbyte;It is 30hz calculating according to output frequency, then corresponding occupied bandwidth is respectively 153Mbyte/s
And 86Mbyte/s.It can be seen that the present embodiment can save the memory headroom and bandwidth of nearly half compared with the prior art.
Referring to FIG. 5, showing the method flow diagram of another step S202 provided in the embodiment of the present invention.
As shown in Figure 5, in certain embodiments of the present invention, step S202 can comprise the following steps that
Step S20221: the horizontal length and vertical length of all types of on-screen menus are obtained.
Step S20222: the horizontal length is determined as the menu with the maximum value in corresponding vertical length product
The area of display area.
In the embodiment above, step S204 should also include:
Step S2041: according to the area in the menu drawing field domain and the horizontal length or vertical length of target menu
Determine the horizontal length and vertical length of display on-screen menu display area.
Step S2042: the target menu is shown in the menu drawing field domain.
The area in menu drawing field domain is all types of on-screen menu horizontal lengths and corresponding vertical length in the present embodiment
Maximum value in product, i.e., the maximum value of display area in all types of on-screen menus.Although the area in menu drawing field domain is greater than
Or the display area equal to each on-screen menu, but do not ensure that the horizontal length in menu drawing field domain and vertical length are big
In the corresponding horizontal length and vertical length of each on-screen menu, i.e., it cannot be guaranteed that each on-screen menu is included in menu drawing field
In domain, so that the on-screen menu beyond menu drawing field domain horizontal length or vertical length can not normally be shown.Therefore, in determination
It, need to be long according to the area in the menu drawing field domain and the level of target menu when the position on a display screen of menu drawing field domain
Degree or vertical length determine the horizontal length and vertical length of display on-screen menu display area.For example, by display area maximum
The corresponding horizontal length of on-screen menu (vertical length) be adjusted to the horizontal length (vertical length) of target menu, then after adjusting
The vertical length (horizontal length) in menu drawing field domain is greater than the vertical length (horizontal length) of target menu, to ensure target dish
Singly in the normal display in menu drawing field domain.
Similar to the above embodiments, the display shape in all types of on-screen menus and menu drawing field domain is not yet in the present embodiment
It is limited to rectangle, menu drawing field domain area need to be only determined as to the maximum value of the display area in all types of on-screen menus.
Referring to FIG. 6, showing a kind of display schematic diagram of on-screen menu provided in an embodiment of the present invention.
As seen from Figure 6, on-screen menu includes setting menu, volume bar and channel number three types, and three has fixed
Display area and display position.Specifically, the display area of setting menu is 400 × 600, the display area of channel number is
300 × 150, the display area of volume bar is 1200 × 180.Since the area in menu drawing field domain is all types of on-screen menu water
Flat length and the maximum value in corresponding vertical length product, therefore, the area in menu drawing field domain should be the aobvious of setting menu
Show area, i.e., 400 × 600.As it can be seen that the horizontal length in menu drawing field domain is less than volume bar if volume bar is target menu
Horizontal length therefore, the horizontal length in menu drawing field domain can be adjusted to 1200 so that volume bar can not normally be shown
(corresponding vertical length is 200, as shown in dotted line frame in Fig. 6), or the vertical length in menu drawing field domain is adjusted to 180
(corresponding vertical length is 1333), at this point, the horizontal length and vertical length in menu drawing field domain are corresponding greater than volume bar
Horizontal length and vertical length, therefore, volume bar can normally be shown in menu drawing field domain.
The display methods of common on-screen menu needs the area in preset menu drawing field domain to be at least 1600 × 800,
And the area in menu drawing field domain provided in this embodiment is only 400 × 600, if the format of on-screen menu is ARGB format, then
Corresponding display memory is respectively 5120Kbyte and 960Kbyte;It is 30hz calculating according to output frequency, then occupies band accordingly
Width is respectively 153Mbyte/s and 28.8Mbyte/s.It can be seen that the present embodiment is compared with prior art, can be greatly reduced aobvious
Memory headroom needed for showing on-screen menu and bandwidth.
Referring to FIG. 7, showing the method flow diagram of the step S203 provided in the embodiment of the present invention a kind of.
As shown in Figure 7, in certain embodiments of the present invention, step S203 can comprise the following steps that
Step S2031: the origin in the target menu position coordinates is obtained.The origin of the target menu is mesh
Mark the point on menu near the display screen upper left corner.
Step S2032: the origin of the target menu is determined as to the origin in the menu drawing field domain.Institute
The origin in menu drawing field domain is stated as the point on menu drawing field domain near the display screen upper left corner.
Step S2033: it is determined according to the origin in the menu drawing field domain and the area in the menu drawing field domain
The position of the menu drawing field domain on a display screen.
It the position of menu drawing field domain on a display screen can be jointly true according to the origin and area in menu drawing field domain
It is fixed.The origin in menu drawing field domain is overlapped with the origin of target menu position coordinates in the present embodiment.Due to this reality
Applying on-screen menu and menu drawing field domain in example is rectangle frame, and therefore, in menu drawing field domain two sides corresponding with origin
Side is also overlapped (as shown in figs. 4 and 6) with the respective side of target menu, is conducive to improve menu drawing field domain to greatest extent
Utilization rate.
Referring to FIG. 8, showing the display schematic diagram of the third on-screen menu provided in an embodiment of the present invention.
As seen from Figure 8, the origin in menu drawing field domain is not overlapped with the origin of target on-screen menu.Target dish
Single (channel number) is round display menu, and menu drawing field domain is square.The present embodiment can sit the origin of target menu
The midpoint coordinates on side where mark is determined as menu drawing field domain origin, and then determine the origin and dish in menu drawing field domain
The position of single display area (as shown in dotted line frame in Fig. 8).Certainly, in other embodiments of the invention, the original in menu drawing field domain
Point coordinate can also suitably deviate the origin of target menu according to the shape of target on-screen menu, or according to menu drawing field
The corresponding relationship of the origin of the origin and target menu in domain determines the origin in menu drawing field domain, it is only necessary to protect
Demonstrate,proving target menu can normally show in menu drawing field domain.
Referring to FIG. 9, showing the method flow of another on-screen menu display methods provided in the embodiment of the present invention
Figure.
As shown in Figure 9, which comprises
Step S901: the display position of target menu to be shown is determined according to the on-screen menu idsplay order received.
Step S902: the area of display on-screen menu display area is determined according to the display area of all types of on-screen menus.
The area in the menu drawing field domain is more than or equal to the maximum value of all types of on-screen menu display areas, also, is less than and covers
The minimum area of lid all types on-screen menu display position.
Step S903: according to the determination of the area in the display position of the target menu and the menu drawing field domain
The position of menu drawing field domain on a display screen.
Step S904: the display memory of display screen menu is used for according to the area distributions in the menu drawing field domain.
I.e. according in the area distributions display buffer in the menu drawing field domain be used for display screen menu display in
It deposits, the display memory is equipped with corresponding memory address.
Step S905: the target for obtaining target menu corresponding with on-screen menu idsplay order shows data.
After terminal device receives on-screen menu idsplay order, extract picture, the related materials such as text, using decoding,
The relevant treatments such as parsing, the target that related materials can be converted to displayable ARGB format show data.
Step S906: the target is shown that data are stored in the display memory.
The target is shown that data are stored in display memory according to corresponding destination address in the memory address.
Step S907: the target menu is shown in the menu drawing field domain.
The present embodiment can control direct memory access dma controller to read internal storage data corresponding with memory address to aobvious
The menu drawing field domain of display screen.
If the area in menu drawing field domain is greater than the display area of target menu, according to the Line Integral in menu drawing field domain
It further include do not correspond to any display information non-targeted in the display memory matched in addition to target shows the corresponding destination address of data
Address.In display displaying target menu, operating system need to control DMA (direct memory access, full name in English: Direct
Memory Access) controller, it will internal storage data whole corresponding with memory address (including destination address and non-targeted address)
It reads to the menu drawing field domain of display screen, i.e., the corresponding data of memory address are carried to menu drawing field by dma controller
The position of domain on a display screen, is finally completed the display of target menu.Dma controller is direct memory access, is a kind of quick
The method of moving data, it is only necessary to CPU sends operational order, and the process that dma controller accesses data is participated in without CPU, thus
Further increase the utilization rate of memory and bandwidth.
Figure 10 is a kind of structural schematic diagram of the display device of on-screen menu provided in an embodiment of the present invention.Such as Figure 10 institute
Show, the display device 1000, structure can include: at least one processor (processor) 1001, memory (memory)
1002, peripheral device interface (peripheral interface) 1003, input/output subsystem (I/O subsystem)
1004, power circuit 1005 and communication line 1006.
In Figure 10, arrow indicates can be carried out the communication and data transmission between the constituent element of computer system, and it can
Utilize high-speed serial bus (high-speed serial bus), parallel bus (parallel bus), storage area network
(SAN, Storage Area Network) and/or other communication technologys appropriate and realize.
Memory 1002 may include operating system 1012 and indication example 1022.For example, memory 1002 may include that high speed is random
It accesses memory (high-speed random access memory), disk, static random access memory (SPAM), move
State random access memory (DRAM), read-only memory (ROM), flash memory or non-voltile memory.Memory 1002 can be stored and is used for
The program coding of operating system 1012 and indication example 1022, that is to say, that may include soft needed for the movement of display device 1000
Part module, instruction set architecture or a variety of data except it.At this point, other controls such as processor 1001 or peripheral device interface 1006
The access of device processed and memory 1002 can be controlled by processor 1001.
Peripheral device interface 1003 can by the input and/or output peripheral equipment of display device 1000 and processor 1001 and
Memory 1002 combines.Also, input/output subsystem 1004 can connect a variety of input/output peripheral equipments with peripheral equipment
Mouth 1006 combines.For example, input/output subsystem 1004 may include display, keyboard, mouse, printer or as needed
Controller for combining the peripheral equipments such as camera, various sensors with peripheral device interface 1003.Specifically, defeated
Enter/output subsystem 1004 in include controller for combining display circuit with peripheral device interface 1003.According to another
One side, input/output periphery can also be combined without input/output subsystem 1004 with peripheral device interface 1003,
I.e. display circuit can also be combined without input/output subsystem 1004 with peripheral device interface 1003.
Power circuit 1005 can be supplied electric power to all or part of the circuit element of terminal device.For example, power circuit
1005 may include more than one power supply, charging system, the power failure monitor such as electric power management system, battery or exchange (AC)
Circuit (power failure detection circuit), power converter or inverter, power state marker character are used for
Other any circuit elements that electric power is generated, manages, distributed.
Communication line 1006 can be communicated using at least one interface with other computer systems, such as with remote control system
System is communicated.
Processor 1001 is by implementing the software module being stored in memory 1002 or the executable display dress of instruction set architecture
Set 1000 multiple functions and processing data.That is, processor 1001 is by executing basic arithmetic, logic and calculating
The input/output of machine system is calculated, and may be configured as the order of processing computer program.I.e. the executable present invention of processor 1001 with
The display methods for the on-screen menu that upper embodiment provides.
Figure 11 is please referred to, the structure for showing the display device of another on-screen menu provided in the embodiment of the present invention is shown
It is intended to.
As shown in Figure 11, described device includes:
First determining module 100, first determining module 100 are used for true according to the on-screen menu idsplay order received
The display position of fixed target menu to be shown.
Second determining module 200, second determining module 200 are used for true according to the display area of all types of on-screen menus
Determine the area in menu drawing field domain, the area in the menu drawing field domain is more than or equal to all types of on-screen menu display areas
Maximum value, also, be less than covering all types on-screen menu display position minimum area.
Third determining module 300, the third determining module 300 be used for according to the display position of the target menu and
The area in the menu drawing field domain determines the position of the menu drawing field domain on a display screen.
Display module 400, the display module 400 is for showing the target menu in the menu drawing field domain.
Figure 12 is please referred to, the structural schematic diagram of the second determining module of one kind 200 provided in the embodiment of the present invention is provided;
As shown in Figure 12, second determining module 200 includes:
First acquisition submodule 211, the level that first acquisition submodule 211 is used to obtain all types of on-screen menus are long
Degree and vertical length;
First determines submodule 212, and the described first determining submodule 212 is used for will be in all types of on-screen menu horizontal lengths
Maximum value and vertical length in maximum value be identified as the horizontal length and vertical length in the menu drawing field domain;
Second determines submodule 213, and described second determines that submodule 213 is used for the level according to the menu drawing field domain
Length and vertical length determine the area in the menu drawing field domain.
Figure 13 is please referred to, the structural representation of the second determining module of another kind 200 provided in the embodiment of the present invention is provided
Figure.
As shown in Figure 13, second determining module 200 includes:
Second acquisition submodule 221, second acquisition submodule are used to obtain the horizontal length of all types of on-screen menus
And vertical length.
Third determines submodule 222, the third determine submodule 222 for by the horizontal length with it is corresponding vertical
Maximum value in length product is determined as the area in the menu drawing field domain.
Figure 14 is please referred to, a kind of structural schematic diagram of the display module 400 provided in the embodiment of the present invention is provided.
As shown in Figure 14, the display module 400 includes:
4th determines submodule 401, and the described 4th determines that submodule 401 is used for the area according to the menu drawing field domain
And the horizontal length or vertical length of the target menu determine the horizontal length of display on-screen menu display area and vertical
Length.
Display sub-module 402, the display sub-module 402 in the menu drawing field domain for showing the target dish
It is single.
Figure 15 is please referred to, a kind of structural schematic diagram of the third determining module 300 provided in the embodiment of the present invention is provided.
As shown in Figure 15, the third determining module 300 includes:
Third acquisition submodule 301, the third acquisition submodule 301 is for obtaining in the target menu position coordinates
Origin, the origin of the target menu is the point on target menu near the display screen upper left corner.
5th determines submodule 302, and the described 5th determines submodule 302 for the origin of the target menu is true
It is set to the origin in the menu drawing field domain, the origin in the menu drawing field domain is on menu drawing field domain near aobvious
The point in the display screen upper left corner.
6th determines submodule 303, and the described 6th determines that submodule 303 is used for the origin according to the menu drawing field domain
Coordinate and the area in the menu drawing field domain determine the position of the menu drawing field domain on a display screen.
For convenience of description, it is divided into various units when description apparatus above with function to describe respectively.Certainly, implementing this
The function of each unit can be realized in the same or multiple software and or hardware when invention.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device or
For system embodiment, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to method
The part of embodiment illustrates.Apparatus and system embodiment described above is only schematical, wherein as separation
The unit of part description may or may not be physically separated, component shown as a unit can be or
It can not be physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to reality
Border needs to select some or all of the modules therein to achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art
It can understand and implement without creative efforts.
The above is only a specific embodiment of the invention, it is noted that those skilled in the art are come
It says, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications also should be regarded as
Protection scope of the present invention.
Claims (10)
1. a kind of display methods of on-screen menu, which is characterized in that the described method includes:
The display position of target menu to be shown is determined according to the on-screen menu idsplay order received;
The area in menu drawing field domain, the area in the menu drawing field domain are determined according to the display area of all types of on-screen menus
More than or equal to the maximum value of all types of on-screen menu display areas, also, it is less than covering all types on-screen menu and shows
The minimum area of position;
The menu drawing field domain is determined according to the area of the display position of the target menu and the menu drawing field domain
Position on a display screen;
The target menu is shown in the menu drawing field domain.
2. the display methods of on-screen menu according to claim 1, which is characterized in that described according to all types of on-screen menus
Display area determine display on-screen menu display area area include:
Obtain the horizontal length and vertical length of all types of on-screen menus;
Maximum value in maximum value and vertical length in all types of on-screen menu horizontal lengths is identified as the menu
The horizontal length and vertical length of display area;
The area in the menu drawing field domain is determined according to the horizontal length in the menu drawing field domain and vertical length.
3. the display methods of on-screen menu according to claim 1, which is characterized in that described according to all types of on-screen menus
Display area determine display on-screen menu display area area include:
Obtain the horizontal length and vertical length of all types of on-screen menus;
The horizontal length is determined as to the area in the menu drawing field domain with the maximum value in corresponding vertical length product;
It is described to show that the target menu includes: in the menu drawing field domain
Display screen is determined according to the horizontal length or vertical length of the area in the menu drawing field domain and the target menu
The horizontal length and vertical length of upper menu display area;
The target menu is shown in the menu drawing field domain.
4. the display methods of on-screen menu according to claim 1, which is characterized in that according to the display of the target menu
The area in position and the menu drawing field domain determines that the position of the menu drawing field domain on a display screen includes:
Obtain the origin in the target menu position coordinates, the origin of the target menu be on target menu near
The point in the display screen upper left corner;
The origin of the target menu is determined as to the origin in the menu drawing field domain, the menu drawing field domain
Origin be menu drawing field domain near the display screen upper left corner point;
The menu drawing field is determined according to the area of the origin in the menu drawing field domain and the menu drawing field domain
The position of domain on a display screen.
5. the display methods of on-screen menu according to any one of claims 1-4, which is characterized in that aobvious in the menu
Show in region before displaying target menu, the method also includes:
The display memory of display screen menu is used for according to the area distributions in the menu drawing field domain;
The target for obtaining target menu corresponding with on-screen menu idsplay order shows data;
The target is shown that data are stored in the display memory.
6. a kind of display device of on-screen menu characterized by comprising processor, memory and communication interface, the processing
Device, the memory are connected with the communication interface communication bus;
The communication interface, for sending and receiving signal;
The memory, for storing program code;
The processor for reading the program code stored in the memory, and is executed as any in claim 1 to 5
Method described in.
7. a kind of display device of on-screen menu characterized by comprising
First determining module, for determining the display position of target menu to be shown according to the on-screen menu idsplay order received
It sets;
Second determining module, it is described for determining the area in menu drawing field domain according to the display area of all types of on-screen menus
The area in menu drawing field domain is more than or equal to the maximum value of all types of on-screen menu display areas, also, is less than covering institute
There is the minimum area of type on-screen menu display position;
Third determining module, for being determined according to the display position of the target menu and the area in the menu drawing field domain
The position of the menu drawing field domain on a display screen;
Display module, for showing the target menu in the menu drawing field domain.
8. the display device of on-screen menu according to claim 7, which is characterized in that second determining module includes:
First acquisition submodule, for obtaining the horizontal length and vertical length of all types of on-screen menus;
First determines submodule, for by the maximum value in the maximum value and vertical length in all types of on-screen menu horizontal lengths
It is identified as the horizontal length and vertical length in the menu drawing field domain;
Second determines submodule, determines that the menu is aobvious for the horizontal length and vertical length according to the menu drawing field domain
Show the area in region.
9. the display device of on-screen menu according to claim 7, which is characterized in that second determining module includes:
Second acquisition submodule, for obtaining the horizontal length and vertical length of all types of on-screen menus;
Third determines submodule, described for the horizontal length to be determined as with the maximum value in corresponding vertical length product
The area in menu drawing field domain;
The display module includes:
4th determines submodule, for according to the area in the menu drawing field domain and the horizontal length of the target menu or
Vertical length determines the horizontal length and vertical length of display on-screen menu display area;
Display sub-module, for showing the target menu in the menu drawing field domain.
10. the display device of on-screen menu according to claim 7, which is characterized in that the third determining module includes:
Third acquisition submodule, for obtaining the origin in the target menu position coordinates, the original of the target menu
Point is the point on target menu near the display screen upper left corner;
5th determines submodule, and the origin for the origin of the target menu to be determined as to the menu drawing field domain is sat
Mark, the origin in the menu drawing field domain are the point on menu drawing field domain near the display screen upper left corner;
6th determines submodule, for according to the origin in the menu drawing field domain and the area in the menu drawing field domain
Determine the position of the menu drawing field domain on a display screen.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611074068.XA CN106775270B (en) | 2016-11-29 | 2016-11-29 | A kind of display methods and device of on-screen menu |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611074068.XA CN106775270B (en) | 2016-11-29 | 2016-11-29 | A kind of display methods and device of on-screen menu |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106775270A CN106775270A (en) | 2017-05-31 |
CN106775270B true CN106775270B (en) | 2019-09-17 |
Family
ID=58898591
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611074068.XA Active CN106775270B (en) | 2016-11-29 | 2016-11-29 | A kind of display methods and device of on-screen menu |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106775270B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107566765B (en) * | 2017-08-21 | 2019-11-08 | 康佳集团股份有限公司 | A kind of on-screen menu display control method, storage medium and 8K TV |
CN112748834B (en) | 2019-10-31 | 2022-11-01 | 京东方科技集团股份有限公司 | Display method, display device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101719997A (en) * | 2009-12-17 | 2010-06-02 | 深圳创维-Rgb电子有限公司 | Method, device and electronic equipment for user interface display control |
CN102486918A (en) * | 2010-12-02 | 2012-06-06 | 鸿富锦精密工业(深圳)有限公司 | Adjusting system and method of display device |
CN104133614A (en) * | 2014-07-30 | 2014-11-05 | 广东威创视讯科技股份有限公司 | Screen menu display method and system |
CN104820544A (en) * | 2015-04-15 | 2015-08-05 | 深信服网络科技(深圳)有限公司 | Method and device for amplifying menu display |
CN106028101A (en) * | 2016-05-19 | 2016-10-12 | 广州视源电子科技股份有限公司 | Screen display method and system for key function icon |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101409787B (en) * | 2007-10-11 | 2010-08-25 | 佛山普立华科技有限公司 | System and method for self-defining screen display interface |
-
2016
- 2016-11-29 CN CN201611074068.XA patent/CN106775270B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101719997A (en) * | 2009-12-17 | 2010-06-02 | 深圳创维-Rgb电子有限公司 | Method, device and electronic equipment for user interface display control |
CN102486918A (en) * | 2010-12-02 | 2012-06-06 | 鸿富锦精密工业(深圳)有限公司 | Adjusting system and method of display device |
CN104133614A (en) * | 2014-07-30 | 2014-11-05 | 广东威创视讯科技股份有限公司 | Screen menu display method and system |
CN104820544A (en) * | 2015-04-15 | 2015-08-05 | 深信服网络科技(深圳)有限公司 | Method and device for amplifying menu display |
CN106028101A (en) * | 2016-05-19 | 2016-10-12 | 广州视源电子科技股份有限公司 | Screen display method and system for key function icon |
Also Published As
Publication number | Publication date |
---|---|
CN106775270A (en) | 2017-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11467715B2 (en) | User interface display method, terminal and non-transitory computer-readable storage medium for splitting a display using a multi-finger swipe | |
WO2019174469A1 (en) | Message notification method, apparatus, device and storage medium | |
WO2019174466A1 (en) | Message prompting method and apparatus, device, and storage medium | |
US9996220B2 (en) | Multi-zone interface switching method and device | |
EP3680764A1 (en) | Icon moving method and device | |
US10901553B2 (en) | Method for responding to touch operation and electronic device | |
CN103777850A (en) | Menu display method, device and terminal | |
WO2019233307A1 (en) | User interface display method and apparatus, and terminal and storage medium | |
US20170293421A1 (en) | Interface Display Method and Apparatus | |
KR102266882B1 (en) | Method and apparatus for displaying screen on electronic devices | |
CN107943363B (en) | Background image configuration method and device, interactive intelligent panel and storage medium | |
US10628034B2 (en) | User terminal device and method for controlling user terminal device thereof | |
US20170053622A1 (en) | Method and apparatus for setting transparency of screen menu, and audio and video playing device | |
US20140092143A1 (en) | Content bound graphic | |
WO2020147677A1 (en) | Method and apparatus for displaying content, and terminal and storage medium | |
US11194425B2 (en) | Method for responding to touch operation, mobile terminal, and storage medium | |
CN110134237B (en) | Interface control method and related equipment | |
CN112199029B (en) | Dual-system device, writing method thereof and interactive intelligent panel | |
WO2015096588A1 (en) | Method and device for switching display pages | |
CN106775270B (en) | A kind of display methods and device of on-screen menu | |
CN110177295A (en) | Processing method, device and the electronic equipment that subtitle crosses the border | |
CN107122104B (en) | Data display method and device | |
CN111104077B (en) | Multi-screen display control method, device and equipment and readable storage medium | |
CN113129417A (en) | Image rendering method in panoramic application and terminal equipment | |
CN104077102A (en) | Image display device and method supporting interactive display with intelligent terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No. Patentee after: Hisense Video Technology Co.,Ltd. Address before: 266100 Zhuzhou Road, Laoshan District, Shandong, No. 151, No. Patentee before: HISENSE ELECTRIC Co.,Ltd. |
|
CP01 | Change in the name or title of a patent holder |