CN110795057A - Circular screen auxiliary information display method and circular screen equipment - Google Patents
Circular screen auxiliary information display method and circular screen equipment Download PDFInfo
- Publication number
- CN110795057A CN110795057A CN202010001967.7A CN202010001967A CN110795057A CN 110795057 A CN110795057 A CN 110795057A CN 202010001967 A CN202010001967 A CN 202010001967A CN 110795057 A CN110795057 A CN 110795057A
- Authority
- CN
- China
- Prior art keywords
- information
- screen
- square area
- circular screen
- display
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1423—Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09F—DISPLAYING; ADVERTISING; SIGNS; LABELS OR NAME-PLATES; SEALS
- G09F9/00—Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements
- G09F9/30—Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements in which the desired character or characters are formed by combining individual elements
- G09F9/301—Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements in which the desired character or characters are formed by combining individual elements flexible foldable or roll-able electronic displays, e.g. thin LCD, OLED
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09F—DISPLAYING; ADVERTISING; SIGNS; LABELS OR NAME-PLATES; SEALS
- G09F9/00—Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements
- G09F9/30—Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements in which the desired character or characters are formed by combining individual elements
- G09F9/33—Indicating arrangements for variable information in which the information is built-up on a support by selection or combination of individual elements in which the desired character or characters are formed by combining individual elements being semiconductor devices, e.g. diodes
Abstract
The invention relates to the field of display screen systems, and discloses a circular screen auxiliary information display method and circular screen equipment, which solve the problems that when a circular screen displays information, page information is lost due to shape limitation, so that the page display effect is relatively disordered and bad; judging whether the information pages to be displayed exceed the square area, and if not, directly displaying the information pages; if the information page exceeds the square area, judging whether the information page is a pure character, and if not, displaying in a paging way; if the content is pure text content, the content is scrolled and displayed from bottom to top, the effect of completely displaying information is achieved, and the comfort level of user experience is improved.
Description
Technical Field
The invention relates to the field of display screen systems, in particular to a circular screen auxiliary information display method and circular screen equipment.
Background
When information is displayed on a common circular screen, due to shape limitation, the problems of page information loss and the like can occur, so that the page display effect is relatively disordered and poor; especially, under the condition that the circular screen is not the touch screen, the user can not slide by oneself and interact to obtain the information that lacks, but some specific occasions can only adopt the circular screen to use, for example, children science and technology museum's taste scene, intelligent display wrist-watch etc. so the confusion, the disappearance problem that exists when overcoming the circular screen and showing information.
Disclosure of Invention
The invention aims to provide a circular screen auxiliary information display method and circular screen equipment, which can achieve the effect of completely displaying information and improve the comfort level of user experience.
The technical purpose of the invention is realized by the following technical scheme: a method of displaying a circular screen auxiliary information, the method comprising:
according to the size of a circular screen display area, a square area is defined for displaying information;
judging whether the information pages to be displayed exceed the square area, and if not, directly displaying the information pages;
if the information page exceeds the square area, judging whether the information page is a pure character, and if not, displaying in a paging way;
if the content is pure text content, the display is scrolled from bottom to top.
Preferably, the method for defining the square area is as follows: and calculating the length pixel value of the square area displayed by the content, and setting the parent layout margin according to the pixel value.
Preferably, the setting of the parent layout margin comprises the following steps: taking a maximum square area for display, then recording a as the side length of the square area, R as the diameter, which is the width or height value of the screen, and obtaining the value by the system api according to the Pythagorean theoremI.e. byAnd obtaining the side length of the square area, namely calculating the outer side distances between the four sides of the square area and the four sides of the edge of the screen by the screen resolution, namely:。
preferably, when the information page is directly displayed, the information page is displayed by using an android conventional layout;
preferably, the pagination display comprises using a viewport pagination display;
preferably, the method for scrolling the display from bottom to top is as follows: measuring the characters of each line of the content in the square area in the custom control, and putting the characters into a list; then calling canvas & drawtext () method, polling list, making line-by-line drawing to make the characters produce bottom-to-top rolling
Preferably, when scrolling from bottom to top, judging whether the content is centered in the middle of the screen, if so, adding an appropriate compensation value to the initial X coordinate, and calling the canvas. If not, directly call canvas () method to cause the text to scroll from bottom to top.
A circular screen device comprising a memory, a processor and a circular display, the memory having stored thereon executable code which, when executed by the processor, causes the processor to perform the method of any of claims 1-3.
Preferably, the circular display is a flexible screen or an LED screen.
Preferably, the processor comprises a central processing unit, a graphics processor and a digital signal processor; the memory includes a removable storage device that is readable and/or writable.
In conclusion, the invention has the following beneficial effects: the rectangle region is contained in the scope of the circular screen display region, and when information is displayed in the rectangle region, the screen edge can be avoided, so that the integrity of information display is ensured, the whole circular screen display region does not need to be adapted, the display of the information cannot be disordered, especially, the rectangle region can accord with the reading habit of people, the reading of an convenience user is facilitated, and the comfort level of user experience is improved.
Drawings
Fig. 1 is a flowchart of a method for displaying auxiliary information on a circular screen according to the present invention;
fig. 2 is a schematic structural diagram of a circular screen apparatus according to the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings.
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention will be described in further detail with reference to the accompanying drawings in conjunction with the following detailed description. It should be understood that the description is intended to be exemplary only, and is not intended to limit the scope of the present invention. Moreover, in the following description, descriptions of well-known structures and techniques are omitted so as to not unnecessarily obscure the concepts of the present invention.
As shown in fig. 1, according to the size of the circular screen display area, the square area is defined for displaying information;
judging whether the information pages to be displayed exceed the square area, and if not, directly displaying the information pages;
if the information page exceeds the square area, judging whether the information page is a pure character, and if not, displaying in a paging way;
if the content is pure text content, the display is scrolled from bottom to top.
In this embodiment, it should be noted that the method for defining the square area is as follows: and calculating the length pixel value of the square area displayed by the content, and setting the parent layout margin according to the pixel value.
In this embodiment, it is worth to be noted that the setting of the parent layout margin includes the following method: taking a maximum square area for display, then recording a as the side length of the square area, R as the diameter, which is the width or height value of the screen, and obtaining the value by the system api according to the Pythagorean theoremI.e. byAnd obtaining the side length of the square area, namely calculating the outer side distances between the four sides of the square area and the four sides of the edge of the screen by the screen resolution, namely:。
in this embodiment, it should be noted that, when directly displaying, the information page is displayed by using the conventional layout of android.
In this embodiment, it is worth explaining that the page display includes using a viewport page display.
In this embodiment, it should be noted that the method for scrolling and displaying from bottom to top includes: measuring the characters of each line of the content in the square area in the custom control, and putting the characters into a list; then, calling a canvas & drawtext () method, polling list, and drawing line by line to make the characters scroll from bottom to top.
In this embodiment, it is worth explaining, when scrolling from bottom to top, it is determined whether the content is centered on the middle of the screen, if so, the canvas. If not, directly call canvas () method to cause the text to scroll from bottom to top.
As shown in fig. 2, a circular screen device 1000 includes a memory 1010, a processor 1020, and a circular display 1030, the memory 1010 having executable code stored thereon, the executable code, when executed by the processor 1020, causing the processor 1020 to perform a circular screen auxiliary information display method.
In this embodiment, it is worth to be noted that the circular display 1030 is a flexible screen or an LED screen.
In this embodiment, it is worth to be noted that the processor 1020 includes a central processing unit CPU, a graphics processing unit GPU and a digital signal processor DSP.
In this embodiment, it is worth noting that the memory 1010 comprises a removable storage device that can be read and/or written to, and the memory 1010 can comprise any combination of computer-readable storage media, including various types of semiconductor memory chips (DRAM, SRAM, SDRAM, flash memory, programmable read only memory), magnetic disks, and/or optical disks. In some embodiments, memory 1010 may include a removable storage device that is readable and/or writable, such as a Compact Disc (CD), a digital versatile disc read only (e.g., DVD-ROM, dual layer DVD-ROM), a Blu-ray disc read only, an ultra-dense disc, a flash memory card (e.g., SD card, minSD card, Micro-SD card, etc.), a magnetic floppy disk, or the like.
In this embodiment, it should be noted that according to the information display characteristics of the existing square television, the circular screen device capable of displaying auxiliary information completely and beautifully is implemented. The method comprises the steps that visual experience of a user is optimized by means of split-screen display of information, and auxiliary information corresponding to a television scene is displayed in real time; by establishing the communication of the main screen and the auxiliary screen, the auxiliary information of the current television scene can be transmitted to the circular auxiliary screen, and the circular screen displays the auxiliary information; the method of calculating square areas in the circular screen and setting the edge distances in the parent layout can be adopted, so that the problems of data display loss and disordered typesetting caused by the fact that circular screen equipment loses corresponding resolution pixel points are uniformly avoided for each page; the switching display of the plurality of information pages can be switched by adopting a system control, namely, a viewport; the single page text information exceeds the display of the screen, a user-defined control can be used for measuring the text of each line of the whole long text in the width of the square area, a list set is put in, and the list is polled by using a canvas. It is common that if the text area needs to be centered and the length of each line of text cannot be completely filled, and a square area with the same left-right distance is set, the centering effect cannot be generated, and in order to achieve the centering effect, an appropriate compensation value can be added to the starting X coordinate transmitted by the canvas. Calling a canvas () method to make the characters generate rolling from bottom to top, thereby completely displaying the long characters; and (4) displaying the auxiliary information of the single page without exceeding the display of the screen, and normally displaying the auxiliary information by filling the auxiliary information by using the conventional android control layout.
In fig. 1, it can be known that, in a circular screen, a square area to be displayed needs to be measured and calculated in the circular screen, and a corresponding margin is set in a parent layout, and if the information content does not exceed one screen, the content can be normally and completely displayed according to a conventional android layout drawing display scheme. If the content exceeds one screen, whether the content is pure text content is judged firstly, if not, the control related to the content is complex and various, the content which exceeds the screen is not suitable for being displayed in a mode of scrolling the same screen up and down, and the android own control viewport is preferably adopted for performing paging cycle scrolling display. If the text content is pure text content, a user-defined control can be used, firstly, a paint.measuretext () method is called to measure the text of each line of the content in a square area and the text is added into a list, the list is traversed in a polling mode to draw line by line, when the text content needs to be centered, but the last word width exceeds the screen, the line is displayed in a line changing mode, the text of each line cannot completely fill the square area, and when the content is not centered, a proper compensation value can be added to the initial X coordinate transmitted by the canvas.drawText () method to achieve a centering effect, and after the text is drawn, the canvas.translate () method is called to enable the text to be rolled from bottom to top, and the text drawing is continuously calculated and refreshed, so that the rolling display of the long text is completely displayed.
In the process of adding an appropriate compensation value to the initial X coordinate, adopting a translate (X, y) function, wherein the translate (X, y) function horizontally moves the whole canvas by X distance and vertically moves the canvas by y distance, the canvas takes (0, 0) as a default origin, and the origin is default at the upper left corner of the screen; using the point (x, y) as an origin through translate (x, y), and respectively offsetting x and y on the basis of the origin; example (c): if the origin is (1, 1), then translate (10, 10) is to move 10 on the x-axis and y-axis respectively based on the origin (1, 1), and the origin becomes (11, 11).
According to the invention, UI display of the circular screen and the square screen is creatively combined, a square area measured and calculated in the circular screen is utilized, and an android self-adaptive square screen layout drawing scheme is combined, so that effective and reasonable conversion and utilization are carried out, the problems of data display missing, disorder and the like possibly generated in circular screen equipment display are avoided, and the visual experience of a user when browsing the circular screen is greatly improved. And the operations of carousel switching, scrolling and the like are utilized to dynamically display data, so that the attention of a user is attracted more easily, and the aim of better transmitting information is fulfilled.
The invention can be used for other intelligent watches including but not limited to round intelligent watches besides round auxiliary screen systems of intelligent televisions.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of embodiments in accordance with the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The foregoing shows and describes the general principles, essential features, and advantages of the invention. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, and the preferred embodiments of the present invention are described in the above embodiments and the description, and are not intended to limit the present invention.
Claims (10)
1. A method for displaying auxiliary information on a circular screen, the method comprising:
according to the size of a circular screen display area, a square area is defined for displaying information;
judging whether the information pages to be displayed exceed the square area, and if not, directly displaying the information pages;
if the information page exceeds the square area, judging whether the information page is a pure character, and if not, displaying in a paging way;
if the content is pure text content, the display is scrolled from bottom to top.
2. The method for displaying auxiliary information on a circular screen according to claim 1, wherein the square area is defined by: and calculating the length pixel value of the square area displayed by the content, and setting the parent layout margin according to the pixel value.
3. The method for displaying auxiliary information on a circular screen according to claim 1, wherein the setting of the parent layout margin comprises the following steps: taking a maximum square area for display, then recording a as the side length of the square area, R as the diameter, which is the width or height value of the screen, and obtaining the value by the system api according to the Pythagorean theoremI.e. byAnd obtaining the side length of the square area, namely calculating the outer side distances between the four sides of the square area and the four sides of the edge of the screen by the screen resolution, namely:。
4. the method for displaying auxiliary information on a circular screen according to claim 1, wherein when displaying directly, the information page is displayed by using an android conventional layout.
5. The method of claim 1, wherein the paging display comprises paging display using a viewport.
6. The method for displaying auxiliary information on a circular screen according to claim 1, wherein the method for scrolling from bottom to top comprises: measuring the characters of each line of the content in the square area in the custom control, and putting the characters into a list; then, calling a canvas & drawtext () method, polling list, and drawing line by line to make the characters scroll from bottom to top.
7. The method of claim 6, wherein when scrolling from bottom to top, determining whether the content is centered in the middle of the screen, if so, adding an appropriate compensation value to the starting X coordinate, and calling the canvas () method to scroll the text from bottom to top; if not, directly call canvas () method to cause the text to scroll from bottom to top.
8. A circular screen device, comprising a memory (1010), a processor (1020) and a circular display (1030), the memory (1010) having stored thereon executable code which, when executed by the processor (1020), causes the processor (1020) to perform the method of any of claims 1-3.
9. A circular screen device according to claim 8, wherein the circular display (1030) is a flexible screen or an LED screen.
10. A circular screen device according to claim 8, wherein said processor (1020) comprises a Central Processing Unit (CPU), a Graphics Processing Unit (GPU) and a Digital Signal Processor (DSP); the memory (1010) includes a removable storage device that is readable and/or writable.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010001967.7A CN110795057A (en) | 2020-01-02 | 2020-01-02 | Circular screen auxiliary information display method and circular screen equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010001967.7A CN110795057A (en) | 2020-01-02 | 2020-01-02 | Circular screen auxiliary information display method and circular screen equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110795057A true CN110795057A (en) | 2020-02-14 |
Family
ID=69448683
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010001967.7A Pending CN110795057A (en) | 2020-01-02 | 2020-01-02 | Circular screen auxiliary information display method and circular screen equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110795057A (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004184396A (en) * | 2002-10-09 | 2004-07-02 | Seiko Epson Corp | Display device, clock, method for controlling display device, control program, and recording medium |
CN105487791A (en) * | 2014-10-02 | 2016-04-13 | Lg电子株式会社 | Mobile terminal and controlling method thereof |
CN105988666A (en) * | 2015-03-23 | 2016-10-05 | Lg电子株式会社 | Mobile terminal and control method thereof |
CN106250479A (en) * | 2016-07-29 | 2016-12-21 | 乐视控股(北京)有限公司 | The display packing of page title content, device and electric terminal |
CN106294305A (en) * | 2016-07-21 | 2017-01-04 | 上海网达软件股份有限公司 | Android smart machine carries out, to html web page content, the method that segmentation shows |
CN107766605A (en) * | 2017-08-29 | 2018-03-06 | 百度在线网络技术(北京)有限公司 | Intelligent watch layout adaptation method, device, equipment and storage medium |
-
2020
- 2020-01-02 CN CN202010001967.7A patent/CN110795057A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004184396A (en) * | 2002-10-09 | 2004-07-02 | Seiko Epson Corp | Display device, clock, method for controlling display device, control program, and recording medium |
CN105487791A (en) * | 2014-10-02 | 2016-04-13 | Lg电子株式会社 | Mobile terminal and controlling method thereof |
CN105988666A (en) * | 2015-03-23 | 2016-10-05 | Lg电子株式会社 | Mobile terminal and control method thereof |
CN106294305A (en) * | 2016-07-21 | 2017-01-04 | 上海网达软件股份有限公司 | Android smart machine carries out, to html web page content, the method that segmentation shows |
CN106250479A (en) * | 2016-07-29 | 2016-12-21 | 乐视控股(北京)有限公司 | The display packing of page title content, device and electric terminal |
CN107766605A (en) * | 2017-08-29 | 2018-03-06 | 百度在线网络技术(北京)有限公司 | Intelligent watch layout adaptation method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10134106B2 (en) | Method and device for selective display refresh | |
CN110377264B (en) | Layer synthesis method, device, electronic equipment and storage medium | |
US10003859B2 (en) | Distribution device and distribution method | |
CA2417250C (en) | Scaling images | |
TW201301120A (en) | Electronic reader and page flipping method thereof | |
CN113885829B (en) | Sound effect display method and terminal equipment | |
CN101656037A (en) | Method for displaying large-format picture on small screen equipment and small screen equipment | |
US20060119604A1 (en) | Method and apparatus for accelerating the display of horizontal lines | |
CN110795057A (en) | Circular screen auxiliary information display method and circular screen equipment | |
CN111477183B (en) | Reader refresh method, computing device, and computer storage medium | |
CN111428455B (en) | Form management method, device, equipment and storage medium | |
WO2022179544A1 (en) | Handwriting drawing method, apparatus, medium, and interactive tablet | |
JPS62153889A (en) | Vehicle navigator | |
US20120313954A1 (en) | Optimized on-screen video composition for mobile device | |
JPS62153887A (en) | Map information display | |
JPS62154063A (en) | Image display device | |
JPS62151890A (en) | Image output unit | |
US11594194B2 (en) | Video timing for display systems with variable refresh rates | |
JPS62151714A (en) | Vehicle navigation device | |
JPS62151889A (en) | Image output unit | |
CN114625990A (en) | Method, device, equipment and medium for rendering webpage end grid data | |
CN116431088A (en) | Display control method, device, electronic equipment and system | |
JPS62151712A (en) | Vehicle navigation device | |
US20200294475A1 (en) | Method and device for reducing bandwidth consumption, display controller, and storage medium | |
CN115756353A (en) | Content display method and device, vehicle-mounted equipment and storage medium |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200214 |