Unlock instant, AI-driven research and patent intelligence for your innovation.

A method and device for displaying text

A text and display module technology, applied in the field of communication, can solve the problems of wasting time and lack of flexibility, and achieve the effect of reducing costs, reducing the number of interactions, and reducing the processing load

Active Publication Date: 2016-02-24
XIAOMI INC
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

From the user's point of view, displaying hidden content requires the user to click, which lacks flexibility and wastes time

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • A method and device for displaying text
  • A method and device for displaying text
  • A method and device for displaying text

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0018] The specific implementation manners of the method and device for displaying text provided by the embodiments of the present invention will be described in detail below with reference to the accompanying drawings.

[0019] The method for displaying text provided by the embodiment of the present invention, such as figure 1 As shown, it specifically includes the following steps:

[0020] Step 101, detecting the character quantity parameter value of the text;

[0021] Step 102, when the parameter value of the number of characters is within a predetermined range, display all characters of the text.

[0022] Among them, the above-mentioned text is mainly used to record and store text information, rather than images, sounds and formatted data. The extensions of common text documents are .txt, .doc., .docx, .wps, etc.

[0023] Preferably, in one embodiment, the predetermined range is composed of two endpoints and a value between the two endpoints, and the value of the first e...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a method and a device for displaying text. The method comprises the steps of: detecting a character amount parameter value of the text; and displaying all characters of the text when the character amount parameter value is within a preset range. According to the method and the device for displaying the text, provided by the embodiment of the invention, whether all characters of the text are displayed or a part of the text characters are displayed and the other part of the text characters are concealed is determined by means of detecting whether the character amount of the text is within the preset range, so that the processing load is reduced, the content of the text is displayed flexibly, the frequency of the interaction between a terminal and a server is reduced, the cost is reduced, and the user experience is improved.

Description

technical field [0001] The invention relates to the field of communication technology, in particular to a method and device for displaying text. Background technique [0002] Today, with the rapid development of communication technology, mobile phones have become a necessity for most people's daily work and life. Using mobile phones to browse text, such as forum posts, is currently a popular way. [0003] At present, users spend a lot of time browsing content on mobile phones, such as browsing Weibo, Miba, etc. When browsing with a mobile phone, the posts are arranged one by one, if the post content is very long, it will take up a lot of display space resources, which is not conducive to users' reading. The general method is that when the length of the post content exceeds N lines, only N lines are displayed, and the rest of the content is hidden. After clicking to expand, the full text is displayed. [0004] However, in actual use, the hidden content is often only one or...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): G06F3/14
Inventor 张鹏飞武小军林形省
Owner XIAOMI INC