CN108541311A - Show the method and terminal device of character string - Google Patents

Show the method and terminal device of character string Download PDF

Info

Publication number
CN108541311A
CN108541311A CN201680075893.3A CN201680075893A CN108541311A CN 108541311 A CN108541311 A CN 108541311A CN 201680075893 A CN201680075893 A CN 201680075893A CN 108541311 A CN108541311 A CN 108541311A
Authority
CN
China
Prior art keywords
character string
control regions
length
target
uniline
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
CN201680075893.3A
Other languages
Chinese (zh)
Other versions
CN108541311B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN108541311A publication Critical patent/CN108541311A/en
Application granted granted Critical
Publication of CN108541311B publication Critical patent/CN108541311B/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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction 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/04817Interaction 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 using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1684Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
    • G06F1/1694Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675 the I/O peripheral being a single or a set of motion sensors for pointer control or gesture input obtained by sensing movements of the portable computer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction 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/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • 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
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/22Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of characters or indicia using display control signals derived from coded signals representing the characters or indicia, e.g. with a character-code memory
    • G09G5/24Generation of individual character patterns
    • G09G5/26Generation of individual character patterns for modifying the character dimensions, e.g. double width, double height
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/22Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of characters or indicia using display control signals derived from coded signals representing the characters or indicia, e.g. with a character-code memory
    • G09G5/30Control of display attribute
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2200/00Indexing scheme relating to G06F1/04 - G06F1/32
    • G06F2200/16Indexing scheme relating to G06F1/16 - G06F1/18
    • G06F2200/161Indexing scheme relating to constructional details of the monitor
    • G06F2200/1614Image rotation following screen orientation, e.g. switching from landscape to portrait mode
    • 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
    • G06F9/454Multi-language systems; Localisation; Internationalisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

A kind of method and terminal device of display character string, the method includes:Terminal device is according to the control information handled at least two control regions (404) to be met at least two of first object condition and resets control regions (502) to be formed, the first object condition is described at least two to reset to reset along two of the display screen horizontal direction arbitrary neighborhood in control regions (502) and be connected with each other between control regions (502), and character string is shown in control regions (502) in any reset that described at least two reset in control regions (502).Using this method so that the length for reseting control regions (502) is more than the length of the control regions (404), then the length for reseting the character string that control regions (502) can be shown is more than the length for the character string that the control regions (404) can be shown, the line number for reseting the character string shown by control regions (502) can be effectively reduced, to improve the efficiency that user reads the character string shown by reseting in control regions (502).

Description

Show the method and terminal device of character string Technical field
The present invention relates to Word-Drawing process field more particularly to a kind of methods and terminal device of the display character string applied to terminal device.
Background technique
Multiple control regions can be shown on the display screen of terminal device, due to demands such as interface drafting and copy editor, the size of the control regions can be preset, so that the length of the character string exported in the control regions is less than or equal to the length of the control regions, and terminal device can carry out transparency process to each control regions, so that for a user, each control regions are invisible area.
For as shown in Figure 1, the display screen of terminal device is marked off into multiple control regions 100, for shown in any control regions 100, icon and character string corresponding with the icon are provided in the control regions 100, the icon can receive the touch event of user's input, so that the touch event that the icon can be inputted according to user carries out corresponding functional response, such as, start the corresponding application of the icon, character string corresponding with the icon can be the corresponding title of the icon, known to as shown in Figure 1, user can get icon shown in current control region by character string shown in the control regions 100 can start the application of Tencent's news.Again for shown in control regions 101, the control regions 101 are provided with icon and character string PlayMemories Mobile corresponding with the icon, the PlayMemories Mobile is for the smart phone of profession and/or the image transmitting application software of tablet computer, due to showing character string PlayMemories Mobile with a line, it then can be more than the length of the control regions 101, character string shown in the control regions 101 is then carried out branch to show, display effect is please in detail as shown in Figure 1.
As it can be seen that showing using shown in the prior art since the character string that length is greater than control regions length will do it branch, the character string of branch's display can reduce the reading efficiency of user, reduce the efficiency that user operates terminal device.
Summary of the invention
The embodiment of the invention provides one kind effectively to reduce on the display screen for being shown in terminal device The number that character string is truncated promotes the method and terminal device of the display character string of user's reading character string efficiency.
First aspect of the embodiment of the present invention provides a kind of method for showing character string, comprising:
Step A0, detect whether subregion shown by the terminal device meets preset condition, if so, thening follow the steps B.
Specifically, preset coordinate range can be preset in the terminal device, and each preset coordinate range is corresponding with each control regions, so that control regions are shown within the scope of the preset coordinate corresponding with the control regions, as it can be seen that terminal device shown in the present embodiment is to set the range of control regions display position on the display screen and display by the preset coordinate range.
Specifically, including the character string for being shown on terminal device display screen in the control regions provided by the present embodiment.
Optionally, it in the control regions may include for responding the action event that user is inputted icon and/or virtual key.
The display screen of terminal device shown in the present embodiment marks off at least one subregion along the transverse direction of the terminal device, at least one described control regions is provided in each subregion.
In an identical sub-regions, the first preset interval is provided between two control regions of arbitrary neighborhood.
Preset condition described in the present embodiment are as follows: the subregion includes at least one target widget region.
The length for the character string for being included in the target widget region is greater than the length in the target widget region.
Specifically, the terminal device generates control information, to continue to execute step B if the terminal device determines that the length of the character string in multiple control regions included by subregion in any control regions is less than or equal to the length of the control regions.
Or, before performing stepb, the terminal device executes step A1;
Step A1, the operation for being used to generate the control information of user's input is received.
Specifically, when user carries out the reset of language to the terminal device, the present embodiment is by taking the language of terminal device is set as English by Chinese by user as an example, then the terminal device can show operation interface by display screen, which can indicate whether user needs to set with shape control regions Control regions are reseted at described, if user notifies the terminal device to need to set control regions by the operation interface to reset control regions described in being formed, then the terminal device can generate the control information depending on the user's operation, and the control information is for triggering execution of the terminal device to step B.
Step B, control information is received.
Control information described in the present embodiment be used to indicate terminal device the control regions are handled with formed meet first object condition reset control regions, the first object condition is described at least two to reset to reset in control regions along two of the display screen transverse direction arbitrary neighborhood and be connected with each other between control regions, i.e., adjacent two are reseted between control regions that there are no more first intervals.
Step C, the control regions of reseting are shown on a display screen.
Specifically, the terminal device, after receiving the control information, the terminal device can reset control regions for described at least two according to the control information and show on the display screen.
Specifically, target subregion is the subregion for meeting the preset condition.
It is described to reset length possessed by control regions to reset length.
Specifically, including at least one described target widget region in multiple control regions included by the target subregion.
The process that specifically the target subregion is reset are as follows:
Obtain the length L of transverse direction of the target subregion along the terminal device;
Obtain the number N of control regions included by the target subregion;
Determine that each length of reseting for reseting control regions is L/N.
The present embodiment does not change the length of the target subregion, so that the length after resetting to the target subregion is identical as the length before resetting to the target subregion.
The terminal device obtains the length L of transverse direction of the target subregion along the terminal device;
Obtain the number N of control regions included by the target subregion;
Determine that each length of reseting for reseting control regions is L/N.
Meet two conditions after resetting to the target subregion:
First condition: before resetting to the target subregion, it is provided with first preset interval between two control regions of arbitrary neighborhood in the target subregion, to described After target subregion is reset, positioned at reseting described in two of arbitrary neighborhood in the target subregion, first preset interval is no longer set between control regions, control regions are reseted described in two of arbitrary neighborhood in the i.e. described target subregion to abut against each other, in display effect, the boundary line for reseting control regions in the target subregion described in two of arbitrary neighborhood coincides with one another.
Second condition: two sides resets control regions to reset control regions and reseting control regions in the target subregion, the second preset interval is provided between the edge of the display screen for reseting control regions and terminal device, be provided with the second preset interval between the edge of the display screen for reseting control regions and terminal device, the present embodiment to the size of second preset interval without limitation.
Step D, character string is shown in control regions in described reset.
In the present embodiment, because being handled control regions to reset area of space described in formation, and in the display screen transverse direction, the length for reseting control regions is greater than the length of the control regions, then the length for reseting the character string that control regions can be shown is greater than the length for the character string that the control regions can be shown, then the present embodiment passes through the display reseted control regions and carry out character string, the line number of character string shown by control regions can effectively be reduced, to improve the efficiency that user reads the character string shown by reseting in control regions.
In conjunction with the embodiment of the present invention in a first aspect, in the first implementation of first aspect of the embodiment of the present invention, the step D includes:
Step D11, determine that first object resets control regions.
In the present embodiment, the two sides that the first object resets control regions are provided with the second target and reset control regions, and the first object resets in control regions the length of the first included character string and is greater than the length that the first object resets control regions, the length that second target resets the second character string included in control regions is greater than the length that second target resets control regions.
Step D12, target processing is carried out to first character string.
Wherein, target processing carries out diminution processing to reset any character of the first character string included in control regions to the first object, so that any character for first character string that reduces that treated is greater than or equal to the first preset value.
The present embodiment without limitation, can be seen clearly the size of first preset value as long as being greater than or equal to the character of first preset value by user.
It step D13, will be by target treated first character string with the aobvious of at least line inscribed symbol string The mode of showing is shown in the first object and resets in control regions.
Step D13 shown in through this embodiment, so that any row character string at least a line character string of first character string meets the second goal condition.
Second goal condition is that the length of any row character string at least a line character string by the target treated first character string is less than or equal to the length of reseting that the first object resets control regions, and the interval between any row character string and second character string at least a line character string of first character string is greater than or equal to the second preset value.
Using known to method shown in the present embodiment, the second target, which is provided with, in the two sides that the first object resets control regions resets control regions, and the first object resets in control regions the length of the first included character string and is greater than the length that the first object resets control regions, in the case that the length that second target resets the second character string included in control regions is greater than the length that second target resets control regions, the present embodiment can carry out target processing to first character string, so that any row character string at least a line character string of first character string meets the second goal condition.
It optionally, will treated that the first character string is shown centered on resets in control regions described by the target if the length by the target treated the first character string is less than or equal to the length for reseting control regions.
It is also optional, it, will treated that the display of the first character string branch is reseted in control regions described by the target if the length by the target treated the first character string is greater than the length for reseting control regions.
It is also optional, even if if the terminal device determines to carry out the character reseted in control regions diminution processing and also can not carry out uniline in control regions in described reset and show, then the terminal device can not carry out diminution processing to the character reseted in control regions, but directly carry out branch and show.
Using method shown in the present embodiment, because being expanded the length of control regions shown in the prior art, so that longer character string can be shown by reseting control regions shown in the present embodiment, and reseting in the case where reseting control regions and be all satisfied the first condition of the left and right sides of control regions, diminution processing can be carried out to the character string reseted in control regions, so that relative to not for the prior art that character string is modified, it can be avoided to be located at the character string line feed reseted in control regions or reduce shown in the present embodiment and be located at the line number for reseting the character string in control regions, to reduce the number of the truncation of a string, improve the efficiency of user's reading character string.
In conjunction with the embodiment of the present invention in a first aspect, in second of implementation of first aspect of the embodiment of the present invention, the step D includes:
Step D21, determine that first object resets control regions.
In the present embodiment, the length that the first object resets the first character string included in control regions is greater than the length that the first object resets control regions, the second target for reseting the first side of control regions positioned at the first object resets the length of the second character string in control regions less than the second length, second length be the second target positioned at the first side that the first object resets control regions reset control regions reset length, the length that the second target for reseting second side of control regions positioned at the first object resets the third character string in control regions is greater than third length, the third length be second target of the second side for reseting control regions positioned at the first object reset control regions reset length.
Step D22, the first character string uniline display area is determined.
Control regions are reseted from the first object and are extended to second character string direction in the first character string uniline display area, so that the length of the first character string uniline display area is greater than the length of reseting that the first object resets control regions, and the interval between the first character string uniline display area and second character string is greater than or equal to the second preset value;
Step D23, first character string is shown in the first character string uniline display area with the display mode of at least line inscribed symbol string.
Enable to described in first character string what the length of any row character string at least a line character string was less than or equal to the first character string uniline display area to reset length using method shown in the present embodiment.
Specifically, it may include the region for showing figure target area and for showing character string that the first object, which resets control regions, in the case where the length of first character string is greater than the first object and resets the length of control regions, the first object can be reseted to control regions whole region to extend along the direction of second character string, until the distance between the first character string uniline display area and second character string are greater than or equal to second preset value, or, the first object can be reseted and be used to show that the region of character string extends along the direction of second character string in control regions, until the region and the distance between second character string in the first character string uniline display area for showing character string are more than or equal to second preset value.
Specifically, the process extended in the first character string uniline display area to second character string In, if the length of the first character string uniline display area is greater than or equal to the length that the first character string uniline is shown, the first character string uniline display area is not re-extended;
If during the first character string uniline display area extends to second character string, the distance between the first character string uniline display area and second character string are equal to second preset value, and/or the length of the first character string uniline display area is greater than or equal to the length that the first character string uniline is shown, then the first character string uniline display area no longer extends to second character string direction.
The detailed process of display first character string shown in the present embodiment are as follows:
Judge whether the length of first character string is less than or equal to the length of the first character string uniline display area.
If so, being shown in a manner of uniline first character string in the first character string uniline display area;
If it is not, then first character string is shown in a manner of branch in the first character string uniline display area.
Known to shown in this kind of situation, because being expanded the length of control regions shown in the prior art, so that longer character string can be shown by reseting control regions shown in the present embodiment, and meet first condition in the side that first object resets control regions, the first condition are as follows: the length for reseting the character string in control regions be greater than it is described reset control regions reset length, in the case that the other side that the first object resets control regions meets second condition, the second condition are as follows: the length for reseting the character string in control regions be less than it is described reset control regions reset length, the first object, which resets the first character string in control regions, to be extended to the second character string reseted in control regions for meeting the second condition, and ensure first character string and second character The distance between string is greater than or equal to second preset value, so that relative to not for the prior art that character string is modified, it can be avoided to be located at the character string line feed reseted in control regions or reduce shown in the present embodiment and be located at the line number for reseting the character string in control regions, to reduce the number of the truncation of a string, the efficiency of user's reading character string is improved.
In conjunction with the embodiment of the present invention in a first aspect, in the third implementation of first aspect of the embodiment of the present invention, the step D includes:
Step D31, determine that first object resets control regions.
Wherein, the length that the first object resets the first character string included in control regions is greater than the length that the first object resets control regions, the second target for reseting the first side of control regions positioned at the first object resets the length of the second character string in control regions less than the second length, second length be the second target positioned at the first side that the first object resets control regions reset control regions reset length, the length that the second target for reseting second side of control regions positioned at the first object resets the third character string in control regions is less than third length, the third length be second target of the second side for reseting control regions positioned at the first object reset control regions reset length.
Step D32, the first character string uniline display area is determined.
Control regions are reseted from the first object and are extended to second character string and the third character string direction in the first character string uniline display area, so that the length of the first character string uniline display area is greater than the length of reseting that the first object resets control regions, and the interval between second character string and the third character string is greater than or equal to the second preset value respectively for the first character string uniline display area.
Step D33, first character string is shown in the first character string uniline display area with the display mode of at least line inscribed symbol string.
Using method shown in the present embodiment, the length of any row character string at least a line character string of first character string is enabled to be less than or equal to the length of the first character string uniline display area.
First character string shown in the present embodiment can be reseted in control regions described respectively to the movement of the direction of second character string and the third character string after align center.
In the present embodiment, the detailed process of the extension of the first character string uniline display area can are as follows:
Specifically, if during the first character string uniline display area uniformly extends to both sides, if the length of the first character string uniline display area is greater than or equal to the length that the first character string uniline is shown, the first character string uniline display area no longer extends to both sides;
If during the first character string uniline display area extends to second character string and the third character string, the distance between the first character string uniline display area and second character string are equal to second preset value, and the distance between the first character string uniline display area and the third character string are greater than second preset value, then the first character string uniline display area no longer extends to second character string direction, but extend to the third character string direction, until the first character string list The length in line display range domain is greater than or equal to the length that the first character string uniline is shown and/or the distance between the first character string uniline display area 805 and the third character string are equal to second preset value;
If during the first character string uniline display area extends to second character string and the third character string, the distance between the first character string uniline display area and the third character string are equal to second preset value, and the distance between the first character string uniline display area and second character string are greater than second preset value, then the first character string uniline display area no longer extends to the third character string direction, but extend to second character string direction, until the length of the first character string uniline display area is greater than or equal to the length that the first character string uniline is shown and/or the distance between the first character string uniline display area and second character string are equal to second preset value.
The detailed process of display first character string shown in the present embodiment are as follows:
Judge whether the length of first character string is less than or equal to the length of the first character string uniline display area.
If so, being shown in a manner of uniline first character string in the first character string uniline display area;
If it is not, then first character string is shown in a manner of branch in the first character string uniline display area.
Known to shown in this kind of situation, because being expanded the length of control regions shown in the prior art, so that first object shown in the present embodiment, which resets control regions, can show longer character string, and in the case where reseting control regions and be all satisfied the second condition of the two sides of control regions is reseted in the first object for being located at first position, the first object, which resets the first character string in control regions, to be extended to the second character string reseted in control regions and the third character string for meeting the second condition, and ensure that the distance between first character string and second character string are greater than or equal to second preset value, and ensure that the distance between first character string and the third character string are greater than or equal to second preset value, so that relative to not showing to what character string was modified For having a technology, it can be avoided to be located at the character string line feed reseted in control regions or reduce shown in the present embodiment and be located at the line number for reseting the character string in control regions, to reduce the number of the truncation of a string, the efficiency of user's reading character string is improved.
In conjunction with second of the implementation or first aspect of the embodiment of the present invention of first aspect of the embodiment of the present invention The third implementation, in the 4th kind of implementation of first aspect of the embodiment of the present invention, the step D further include:
Step D41, target processing is carried out to the first character string.
Wherein, target processing is carries out diminution processing to character string, and to reduce that treated that character string is greater than or equal to the first preset value.
Step D42, it will be shown in the first character string uniline display area by target treated first character string with the display mode of at least line inscribed symbol string.
In the present embodiment, diminution processing can be carried out to the first character string in control regions is reseted positioned at the first object, so that improving the first object resets the number of characters that control regions uniline can be shown, it enters a new line to further avoid being shown in the first character string that the first object is reseted in control regions, or further reduction is shown in the first object and resets the line number that the first character string in control regions is changed, to reduce the number of the truncation of a string, the efficiency of user's reading character string is improved.
In conjunction with the embodiment of the present invention in a first aspect, in the 5th kind of implementation of first aspect of the embodiment of the present invention, the step D includes:
Step D51, determine that the 4th target resets control regions.
Wherein, the length that 4th target resets the 4th character string included in control regions is greater than the length that the 4th target resets control regions, 4th target resets that control regions are located at the edge of display screen and the 5th target is reseted between control regions, and the length that the 5th target resets the 5th character string included in control regions is greater than the length that the 5th target resets control regions.
Step D52, the 4th character string uniline display area is determined.
Control regions are reseted from the 4th target and are extended to the edge direction of the display screen in the 4th character string uniline display area, so that the length of the 4th character string uniline display area is greater than the length of reseting that the 4th target resets control regions, and the interval between the 4th character string uniline display area and the edge of the display screen is greater than or equal to third preset value.
Step D53, the 4th character string is shown in the 4th character string uniline display area with the display mode of at least line inscribed symbol string.
Using method shown in the present embodiment, the length of any row character string at least a line character string of the 4th character string is enabled to be less than or equal to the length of the 4th character string uniline display area Degree.
Known to shown in this kind of situation, because being expanded the length of control regions shown in the prior art, so that longer character string can be shown by reseting control regions shown in the present embodiment, and the 4th character string shown in the present embodiment can be extended to the edge direction of the display screen, to further improve the length that the 4th target resets the character string that control regions can be shown, it can be avoided to be located at the character string line feed reseted in control regions or reduce shown in the present embodiment and be located at the line number for reseting the character string in control regions, to reduce the number of the truncation of a string, improve the efficiency of user's reading character string.
In conjunction with the embodiment of the present invention in a first aspect, in the 6th kind of implementation of first aspect of the embodiment of the present invention, the step D includes:
Step D61, determine that the 4th target resets control regions.
Wherein, the length that 4th target resets the 4th character string included in control regions is greater than the length that the 4th target resets control regions, 4th target resets that control regions are located at the edge of display screen and the 5th target is reseted between control regions, and the length that the 5th target resets the 5th character string included in control regions is less than the length that the 5th target resets control regions.
Step D62, the 4th character string uniline display area is determined.
Control regions are reseted from the 4th target and are extended to the edge of the display screen and the 5th character string direction in the 4th character string uniline display area, so that the length of the 4th character string uniline display area is greater than the length of reseting that the 4th target resets control regions, and the interval between the 4th character string uniline display area and the edge of the display screen is greater than or equal to third preset value, the interval between the 4th character string and the 5th character string is greater than or equal to the second preset value;
Step D63, the 4th character string is shown in the 4th character string uniline display area with the display mode of at least line inscribed symbol string.
Using the method shown in embodiment that is unable to, the length of any row character string at least a line character string of the 4th character string is enabled to be less than or equal to the length of the 4th character string uniline display area.
Known to shown in this kind of situation, because being expanded the length of control regions shown in the prior art, so that longer character string can be shown by reseting control regions shown in the present embodiment, and the 4th character string shown in the present embodiment can be to the edge direction and the 5th character string of the display screen Direction is extended, to further improve the length that the 4th target resets the character string that control regions can be shown, it can be avoided to be located at the character string line feed reseted in control regions or reduce shown in the present embodiment and be located at the line number for reseting the character string in control regions, to reduce the number of the truncation of a string, the efficiency of user's reading character string is improved.
In conjunction with the 5th kind of implementation of first aspect of the embodiment of the present invention or the 6th kind of implementation of first aspect of the embodiment of the present invention, in the 7th kind of implementation of first aspect of the embodiment of the present invention, the step D includes:
Step D71, target processing is carried out to the 4th character string.
Target processing to reduce that treated that character string is greater than or equal to the first preset value to carry out diminution processing to character string.
Step D72, it will be shown by target treated the 4th character string with the display mode of at least line inscribed symbol string and be reseted in control regions in the 4th target.
Using method shown in the present embodiment so that the length of any row character string at least a line character string of the 4th character string be less than or equal to that the 4th target resets control regions reset length.
In the present embodiment, diminution processing can be carried out to the 4th character string in control regions is reseted positioned at the 4th target, so that improving the 4th target resets the number of characters that control regions uniline can be shown, it enters a new line to further avoid being shown in the 4th character string that the 4th target is reseted in control regions, or further reduction is shown in the 4th target and resets the line number that the 4th character string in control regions is changed, to reduce the number of the truncation of a string, the efficiency of user's reading character string is improved.
Second aspect of the embodiment of the present invention provides a kind of terminal device, comprising:
Receiving unit, information is controlled for receiving, the control information is used to indicate terminal device and is handled at least two control regions to be formed and meet at least two of first object condition and reset control regions, it is provided with the first interval at least two control regions between two control regions of display screen transverse direction arbitrary neighborhood, the first object condition is described at least two to reset to reset in control regions along two of the display screen transverse direction arbitrary neighborhood and be connected with each other between control regions;
Need it is clear that, the receiving unit provided by the present embodiment is used to execute the step step A0 or step A1 of first aspect of the embodiment of the present invention, and for executing step B.
The specific implementation procedure of step A0 or step A1 and step B please be detailed in shown in first aspect of the embodiment of the present invention, specifically be repeated no more in the present embodiment.
First display unit is shown on the display screen for reseting control regions for described at least two according to the control information.
For executing step C shown in first aspect of the embodiment of the present invention, the specific implementation procedure of the step C please be detailed in shown in first aspect of the embodiment of the present invention, not repeat them here in embodiments of the present invention specifically first display unit shown in the present embodiment.
Second display unit, any reset for reseting in control regions described at least two show character string in control regions.
For executing step D shown in first aspect of the embodiment of the present invention, the specific implementation procedure of the step D please be detailed in shown in first aspect of the embodiment of the present invention, not repeat them here in embodiments of the present invention specifically second display unit shown in the present embodiment.
In the present embodiment, because being handled control regions to reset area of space described in formation, and in the display screen transverse direction, the length for reseting control regions is greater than the length of the control regions, then the length for reseting the character string that control regions can be shown is greater than the length for the character string that the control regions can be shown, then the present embodiment passes through the display reseted control regions and carry out character string, the line number of character string shown by control regions can effectively be reduced, to improve the efficiency that user reads the character string shown by reseting in control regions.
In conjunction with second aspect of the embodiment of the present invention, in the first implementation of second aspect of the embodiment of the present invention,
Second display unit includes:
First determining module, for determining that described at least two reset in control regions at least one included first object and reset control regions, wherein, the two sides that the first object resets control regions are provided with the second target and reset control regions, and the first object resets in control regions the length of the first included character string and is greater than the length that the first object resets control regions, the length that second target resets the second character string included in control regions is greater than the length that second target resets control regions;
First determining module shown in the present embodiment is for executing step D11 shown in the first implementation of first aspect of the embodiment of the present invention of the embodiment of the present invention, the specific implementation procedure of the step D11 please be detailed in shown in first aspect of the embodiment of the present invention, not repeated them here in embodiments of the present invention specifically.
First display module, first character string that treated for will pass through target is shown with the display mode of at least line inscribed symbol string to be reseted in control regions in the first object, so that any row character string at least a line character string of first character string meets the second goal condition, the target processing is to carry out diminution processing to character string, and to reduce treated character string and be greater than or equal to the first preset value, second goal condition be the length of any row character string at least a line character string by the target treated first character string be less than or equal to that the first object resets control regions reset length, and the interval between any row character string and second character string at least a line character string of first character string is greater than or equal to the second preset value.
First determining module shown in the present embodiment is for executing step D12 shown in the first implementation of first aspect of the embodiment of the present invention of the embodiment of the present invention and step D13, the specific implementation procedure of the step D12 and step D13 please be detailed in shown in first aspect of the embodiment of the present invention, not repeated them here in embodiments of the present invention specifically.
Using terminal device shown in the present embodiment, because being expanded the length of control regions shown in the prior art, so that longer character string can be shown by reseting control regions shown in the present embodiment, and reseting in the case where reseting control regions and be all satisfied the first condition of the left and right sides of control regions, diminution processing can be carried out to the character string reseted in control regions, so that relative to not for the prior art that character string is modified, it can be avoided to be located at the character string line feed reseted in control regions or reduce shown in the present embodiment and be located at the line number for reseting the character string in control regions, to reduce the number of the truncation of a string, improve the efficiency of user's reading character string.
In conjunction with second aspect of the embodiment of the present invention, in second of implementation of second aspect of the embodiment of the present invention,
Second display unit includes:
Second determining module, for determining that described at least two reset in control regions at least one included first object and reset control regions, wherein, the length that the first object resets the first character string included in control regions is greater than the length that the first object resets control regions, the second target for reseting the first side of control regions positioned at the first object resets the length of the second character string in control regions less than the second length, second length be the second target positioned at the first side that the first object resets control regions reset control regions reset length, the length that the second target for reseting second side of control regions positioned at the first object resets the third character string in control regions is greater than third length, the third length Length is reseted for reset that second target of second side of control regions resets control regions positioned at the first object;
Second determining module shown in the present embodiment is for executing step D21 shown in second of implementation of first aspect of the embodiment of the present invention of the embodiment of the present invention, the specific implementation procedure of the step D21 please be detailed in shown in second of implementation of first aspect of the embodiment of the present invention, not repeated them here in embodiments of the present invention specifically.
Third determining module, for determining the first character string uniline display area, control regions are reseted from the first object and are extended to second character string direction in the first character string uniline display area, so that the length of the first character string uniline display area is greater than the length of reseting that the first object resets control regions, and the interval between the first character string uniline display area and second character string is greater than or equal to the second preset value.
Third determining module shown in the present embodiment is for executing step D31 shown in second of implementation of first aspect of the embodiment of the present invention of the embodiment of the present invention, the specific implementation procedure of the step D31 please be detailed in shown in second of implementation of first aspect of the embodiment of the present invention, not repeated them here in embodiments of the present invention specifically.
Second display module, for being shown first character string in the first character string uniline display area with the display mode of at least line inscribed symbol string, so that the length of any row character string at least a line character string of first character string resets length less than or equal to the first character string uniline display area.
Second display module shown in the present embodiment is for executing step D23 shown in second of implementation of first aspect of the embodiment of the present invention of the embodiment of the present invention, the specific implementation procedure of the step D23 please be detailed in shown in second of implementation of first aspect of the embodiment of the present invention, not repeated them here in embodiments of the present invention specifically.
Known to shown in this kind of situation, because being expanded the length of control regions shown in the prior art, so that longer character string can be shown by reseting control regions shown in the present embodiment, and meet first condition in the side that first object resets control regions, the first condition are as follows: the length for reseting the character string in control regions be greater than it is described reset control regions reset length, in the case that the other side that the first object resets control regions meets second condition, the second condition are as follows: the length for reseting the character string in control regions be less than it is described reset control regions reset length, the first object Reseting the first character string in control regions can be extended to the second character string reseted in control regions for meeting the second condition, and ensure that the distance between first character string and second character string are greater than or equal to second preset value, so that relative to not for the prior art that character string is modified, it can be avoided to be located at the character string line feed reseted in control regions or reduce shown in the present embodiment and be located at the line number for reseting the character string in control regions, to reduce the number of the truncation of a string, improve the efficiency of user's reading character string.
In conjunction with second aspect of the embodiment of the present invention, in the third implementation of second aspect of the embodiment of the present invention,
Second display unit includes:
4th determining module, for determining that described at least two reset in control regions at least one included first object and reset control regions, wherein, the length that the first object resets the first character string included in control regions is greater than the length that the first object resets control regions, the second target for reseting the first side of control regions positioned at the first object resets the length of the second character string in control regions less than the second length, second length be the second target positioned at the first side that the first object resets control regions reset control regions reset length, the length that the second target for reseting second side of control regions positioned at the first object resets the third character string in control regions is less than third length, the third length is that second target of the second side for reseting control regions positioned at the first object resets control Reset length in part region.
4th determining module shown in the present embodiment is for executing step D31 shown in the third implementation of first aspect of the embodiment of the present invention of the embodiment of the present invention, the specific implementation procedure of the step D31 please be detailed in shown in the third implementation of first aspect of the embodiment of the present invention, not repeated them here in embodiments of the present invention specifically.
5th determining module, for determining the first character string uniline display area, control regions are reseted from the first object and are extended to second character string and the third character string direction in the first character string uniline display area, so that the length of the first character string uniline display area is greater than the length of reseting that the first object resets control regions, and the interval between second character string and the third character string is greater than or equal to the second preset value respectively for the first character string uniline display area;
For 4th determining module shown in the present embodiment for executing step D32 shown in the third implementation of first aspect of the embodiment of the present invention of the embodiment of the present invention, the specific implementation procedure of the step D32 please be detailed As shown in the third implementation of first aspect of the embodiment of the present invention, do not repeat them here in embodiments of the present invention specifically.
Third display module, for being shown first character string in the first character string uniline display area with the display mode of at least line inscribed symbol string, so that the length of any row character string at least a line character string of first character string is less than or equal to the length of the first character string uniline display area.
4th determining module shown in the present embodiment is for executing step D33 shown in the third implementation of first aspect of the embodiment of the present invention of the embodiment of the present invention, the specific implementation procedure of the step D33 please be detailed in shown in the third implementation of first aspect of the embodiment of the present invention, not repeated them here in embodiments of the present invention specifically.
Known to shown in this kind of situation, because being expanded the length of control regions shown in the prior art, so that first object shown in the present embodiment, which resets control regions, can show longer character string, and in the case where reseting control regions and be all satisfied the second condition of the two sides of control regions is reseted in the first object for being located at first position, the first object, which resets the first character string in control regions, to be extended to the second character string reseted in control regions and the third character string for meeting the second condition, and ensure that the distance between first character string and second character string are greater than or equal to second preset value, and ensure that the distance between first character string and the third character string are greater than or equal to second preset value, so that relative to not showing to what character string was modified For having a technology, it can be avoided to be located at the character string line feed reseted in control regions or reduce shown in the present embodiment and be located at the line number for reseting the character string in control regions, to reduce the number of the truncation of a string, the efficiency of user's reading character string is improved.
In conjunction with second of implementation of second aspect of the embodiment of the present invention or the third implementation of second aspect of the embodiment of the present invention, in the 4th kind of implementation of second aspect of the embodiment of the present invention, second display unit includes:
4th display module, treated for will pass through target, and first character string is shown in the first character string uniline display area with the display mode of at least line inscribed symbol string, target processing to reduce that treated that character string is greater than or equal to the first preset value to carry out diminution processing to character string.
4th display module shown in the present embodiment is for executing step D41 and step D42 shown in the 4th kind of implementation of first aspect of the embodiment of the present invention of the embodiment of the present invention, the step D41 and step The specific implementation procedure of D42 please be detailed in shown in the 4th kind of implementation of first aspect of the embodiment of the present invention, not repeated them here in embodiments of the present invention specifically.
In conjunction with second aspect of the embodiment of the present invention, in the 5th kind of implementation of second aspect of the embodiment of the present invention,
Second display unit includes:
6th determining module, for determining that described at least two reset in control regions at least one included the 4th target and reset control regions, wherein, the length that 4th target resets the 4th character string included in control regions is greater than the length that the 4th target resets control regions, 4th target resets that control regions are located at the edge of display screen and the 5th target is reseted between control regions, and the length that the 5th target resets the 5th character string included in control regions is greater than the length that the 5th target resets control regions;
6th determining module shown in the present embodiment is for executing step D51 shown in the 5th kind of implementation of first aspect of the embodiment of the present invention of the embodiment of the present invention, the specific implementation procedure of the step D51 please be detailed in shown in the 5th kind of implementation of first aspect of the embodiment of the present invention, not repeated them here in embodiments of the present invention specifically.
7th determining module, for determining the 4th character string uniline display area, control regions are reseted from the 4th target and are extended to the edge direction of the display screen in the 4th character string uniline display area, so that the length of the 4th character string uniline display area is greater than the length of reseting that the 4th target resets control regions, and the interval between the 4th character string uniline display area and the edge of the display screen is greater than or equal to third preset value;
6th determining module shown in the present embodiment is for executing step D52 shown in the 5th kind of implementation of first aspect of the embodiment of the present invention of the embodiment of the present invention, the specific implementation procedure of the step D52 please be detailed in shown in the 5th kind of implementation of first aspect of the embodiment of the present invention, not repeated them here in embodiments of the present invention specifically.
5th display module, for being shown the 4th character string in the 4th character string uniline display area with the display mode of at least line inscribed symbol string, so that the length of any row character string at least a line character string of the 4th character string is less than or equal to the length of the 4th character string uniline display area.
6th determining module shown in the present embodiment is for executing the embodiment of the present invention of the embodiment of the present invention first Step D53 shown in 5th kind of implementation of aspect, the specific implementation procedure of the step D53 please be detailed in shown in the 5th kind of implementation of first aspect of the embodiment of the present invention, not repeat them here in embodiments of the present invention specifically.
Known to shown in this kind of situation, because being expanded the length of control regions shown in the prior art, so that longer character string can be shown by reseting control regions shown in the present embodiment, and the 4th character string shown in the present embodiment can be extended to the edge direction of the display screen, to further improve the length that the 4th target resets the character string that control regions can be shown, it can be avoided to be located at the character string line feed reseted in control regions or reduce shown in the present embodiment and be located at the line number for reseting the character string in control regions, to reduce the number of the truncation of a string, improve the efficiency of user's reading character string.
In conjunction with second aspect of the embodiment of the present invention, in the 6th kind of implementation of second aspect of the embodiment of the present invention,
Second display unit includes:
8th determining module, for determining that described at least two reset in control regions at least one included the 4th target and reset control regions, wherein, the length that 4th target resets the 4th character string included in control regions is greater than the length that the 4th target resets control regions, 4th target resets that control regions are located at the edge of display screen and the 5th target is reseted between control regions, and the length that the 5th target resets the 5th character string included in control regions is less than the length that the 5th target resets control regions;
8th determining module shown in the present embodiment is for executing step D61 shown in the 6th kind of implementation of first aspect of the embodiment of the present invention of the embodiment of the present invention, the specific implementation procedure of the step D61 please be detailed in shown in the 6th kind of implementation of first aspect of the embodiment of the present invention, not repeated them here in embodiments of the present invention specifically.
9th determining module, for determining the 4th character string uniline display area, control regions are reseted from the 4th target and are extended to the edge of the display screen and the 5th character string direction in the 4th character string uniline display area, so that the length of the 4th character string uniline display area is greater than the length of reseting that the 4th target resets control regions, and the interval between the 4th character string uniline display area and the edge of the display screen is greater than or equal to third preset value, interval between 4th character string and the 5th character string is greater than or equal to the second preset value;
9th determining module shown in the present embodiment is for executing step D62 shown in the 6th kind of implementation of first aspect of the embodiment of the present invention of the embodiment of the present invention, the specific implementation procedure of the step D62 please be detailed in shown in the 6th kind of implementation of first aspect of the embodiment of the present invention, not repeated them here in embodiments of the present invention specifically.
6th display module, for being shown the 4th character string in the 4th character string uniline display area with the display mode of at least line inscribed symbol string, so that the length of any row character string at least a line character string of the 4th character string is less than or equal to the length of the 4th character string uniline display area.
6th display module shown in the present embodiment is for executing step D63 shown in the 6th kind of implementation of first aspect of the embodiment of the present invention of the embodiment of the present invention, the specific implementation procedure of the step D63 please be detailed in shown in the 6th kind of implementation of first aspect of the embodiment of the present invention, not repeated them here in embodiments of the present invention specifically.
Known to shown in this kind of situation, because being expanded the length of control regions shown in the prior art, so that longer character string can be shown by reseting control regions shown in the present embodiment, and the 4th character string shown in the present embodiment can be extended to the edge direction of the display screen and the 5th character string direction, to further improve the length that the 4th target resets the character string that control regions can be shown, it can be avoided to be located at the character string line feed reseted in control regions or reduce shown in the present embodiment and be located at the line number for reseting the character string in control regions, to reduce the number of the truncation of a string, improve the efficiency of user's reading character string.
In conjunction with the 5th kind of implementation of second aspect of the embodiment of the present invention or the 6th kind of implementation of second aspect of the embodiment of the present invention, in the 7th kind of implementation of second aspect of the embodiment of the present invention,
Second display unit includes:
7th display module, the 4th character string that treated for will pass through target is shown with the display mode of at least line inscribed symbol string to be reseted in control regions in the 4th target, so that the length of any row character string at least a line character string of the 4th character string is less than or equal to the length of reseting that the 4th target resets control regions, target processing to reduce that treated that character string is greater than or equal to the first preset value to carry out diminution processing to character string.
7th display module shown in the present embodiment is for executing step D71 and step D72 shown in the 7th kind of implementation of first aspect of the embodiment of the present invention of the embodiment of the present invention, the step D71 and step The specific implementation procedure of D72 please be detailed in shown in the 7th kind of implementation of first aspect of the embodiment of the present invention, not repeated them here in embodiments of the present invention specifically.
In the present embodiment, diminution processing can be carried out to the 4th character string in control regions is reseted positioned at the 4th target, so that improving the 4th target resets the number of characters that control regions uniline can be shown, it enters a new line to further avoid being shown in the 4th character string that the 4th target is reseted in control regions, or further reduction is shown in the 4th target and resets the line number that the 4th character string in control regions is changed, to reduce the number of the truncation of a string, the efficiency of user's reading character string is improved.
The third aspect of the embodiment of the present invention provides a kind of terminal device, comprising:
One or more processors, memory, bus system and one or more programs, the processor are connected with the memory by the bus system;
Wherein one or more of programs are stored in the memory, one or more of programs include instruction, and described instruction executes the terminal device such as first aspect of the embodiment of the present invention to the 7th kind of described in any item methods of implementation of first aspect of the embodiment of the present invention.
Fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium for storing one or more programs, one or more of programs include instruction, and described instruction executes the terminal device such as first aspect of the embodiment of the present invention to the 7th kind of described in any item methods of implementation of first aspect of the embodiment of the present invention.
The embodiment of the invention provides a kind of methods and terminal device for showing character string, method shown in the present embodiment is used to handle to be formed and reset area of space control regions, and in the display screen transverse direction, the length for reseting control regions is greater than the length of control regions, then the length for reseting the character string that control regions can be shown is greater than the length for the character string that the control regions can be shown, then the present embodiment passes through the display reseted control regions and carry out character string, the line number of character string shown by control regions can effectively be reduced, to improve the efficiency that user reads the character string shown by reseting in control regions.
Detailed description of the invention
Fig. 1 is that the display screen of terminal device provided by the prior art shows a kind of embodiment display effect schematic diagram of multiple control regions;
Fig. 2 is a kind of example structure schematic diagram of terminal device provided by the present invention;
Fig. 3 is a kind of embodiment step flow chart of the drafting character string provided by the present invention in control regions;
Fig. 4 is a kind of example structure schematic diagram of subregion shown by terminal device provided by the present invention;
Fig. 5 is another example structure schematic diagram of subregion shown by terminal device provided by the present invention;
Fig. 6 is a kind of embodiment schematic diagram that terminal device provided by the present invention shows character string in control regions;
Fig. 7 is another embodiment schematic diagram that terminal device provided by the present invention shows character string in control regions;
Fig. 8 is another embodiment schematic diagram that terminal device provided by the present invention shows character string in control regions;
Fig. 9 is another embodiment schematic diagram that terminal device provided by the present invention shows character string in control regions;
Figure 10 is another embodiment schematic diagram that terminal device provided by the present invention shows character string in control regions;
Figure 11 is exemplary diagram of the main interface of terminal device provided by the present invention in Chinese use environment;
Figure 12 is exemplary diagram of the main interface of terminal device provided by the present invention in the use environment of Russian;
Figure 13 is exemplary diagram of the main interface of terminal device provided by the present invention in the use environment of Russian;
Figure 14 is exemplary diagram of the contact application of terminal device provided by the present invention in English use environment;
Figure 15 is exemplary diagram of the contact application of terminal device provided by the present invention in the use environment of Portuguese;
Figure 16 is exemplary diagram of the contact application of terminal device provided by the present invention in the use environment of Portuguese;
Figure 17 is example of the news application of terminal device provided by the present invention in Chinese use environment Figure;
Figure 18 is exemplary diagram of the news application of terminal device provided by the present invention in the use environment of Spanish;
Figure 19 is that the news application program of terminal device provided by the present invention applies the exemplary diagram in the use environment of Spanish;
Figure 20 is a kind of embodiment schematic diagram that terminal device provided by the present invention shows main interface;
Figure 21 is a kind of embodiment schematic diagram at the level-one interface that terminal device provided by the present invention shows application;
Figure 22 is another embodiment schematic diagram at the level-one interface that terminal device provided by the present invention shows application;
Figure 23 is another example structure schematic diagram of terminal device provided by the present invention.
Specific embodiment
The embodiment of the present invention provides a kind of method for showing character string based on terminal device, below in conjunction with showing that the specific structure of the terminal device of method of character string is illustrated shown in the embodiment of the present invention to can be realized shown in Fig. 2.
The specific structure of terminal device shown in the present embodiment is illustrated below in conjunction with shown in Fig. 2, wherein Fig. 2 is a kind of example structure schematic diagram of terminal device provided by the present invention.
The terminal device includes the components such as input unit 205, processor 203, output unit 201, communication unit 207, memory 204, radio circuit 208.
These components are communicated by one or more bus.It will be understood by those skilled in the art that the structure of terminal device shown in Figure 2 and not constituting a limitation of the invention, it is either busbar network, it is also possible to hub-and-spoke configuration, it can also include perhaps combining certain components or different component layouts than illustrating more or fewer components.
In embodiments of the present invention, the terminal device can be any movement or portable electronic device, including but not limited to smart phone, removable computer, tablet computer, personal digital assistant (Personal Digital Assistant, PDA), media player etc..
The terminal device includes:
Output unit 201, for exporting image to be shown.
Specifically, the output unit 201 includes but is not limited to image output unit 2011 and voice output unit 2012.
The image output unit 2011 is used for output character, picture and/or video.The image output unit 2011 may include display panel, for example, by using liquid crystal display (full name in English: Liquid Crystal Display, English abbreviation: LCD), Organic Light Emitting Diode (full name in English: Organic Light-Emitting Diode, English abbreviation: OLED), the forms such as Field Emission Display (full name in English: field emission display, English abbreviation FED) are the display panel that configures.Or the image output unit 2011 may include reflected displaying device, such as electrophoresis-type (electrophoretic) display, or the display using interference of light modulation tech (full name in English: Interferometric Modulation of Light).
The image output unit 2011 may include individual monitor or various sizes of multiple displays.In a specific embodiment of the invention, the display panel that touch screen also can simultaneously as output unit 201.
For example, sending processor 203 to after touch screen detects touch or close gesture operation on it to determine the type of touch event, device 203 is followed by subsequent processing according to the type of touch event, corresponding visual output is provided on a display panel.Although in Fig. 2, input unit 205 and output unit 201 are to output and input function as two independent components come realize terminal device, but it is in some embodiments it is possible to touch screen and display panel is integrated and that realizes terminal device output and input function.Such as, the image output unit 2011 can show various Graphic User Interfaces (full name in English: Graphical User Interface, English abbreviation GUI) using as virtual controlling component, including but not limited to window, scroll bar, icon and scrapbook, so that user is operated by touch control manner.
In the specific embodiment of the invention, the image output unit 2011 includes filter and amplifier, for the video filtering for being exported processor 203 and amplification.Voice output unit 2012 includes digital analog converter, and the audio signal for being exported processor 203 is converted to analog format from number format.
Processor 203, for running corresponding code, docking is collected mail to cease and be handled, to generate and export corresponding interface.
Specifically, the processor 203 is the control centre of terminal device, using the various pieces of various interfaces and the entire terminal device of connection, by running or executing the software program being stored in memory And/or module, and the data being stored in memory are called, to execute the various functions and/or processing data of terminal device.The processor 203 can be by integrated circuit (full name in English: Integrated Circuit, English abbreviation: IC) composition, such as the IC that can be encapsulated by single is formed, and can also be made of the encapsulation IC of more identical functions of connection or different function.
For example, the processor 203 can only include central processing unit (full name in English: Central Processing Unit, English abbreviation: CPU), it is also possible to graphics processor (full name in English: Graphics Processing Unit, English abbreviation: GPU), the combination of digital signal processor (full name in English: Digital Signal Processor, English abbreviation: DSP) and the control chip (such as baseband chip) in communication unit.In embodiments of the present invention, CPU can be single operation core, also may include multioperation core.
Memory 204, is used for store code and data, and code is run for processor 203.
Specifically, memory 204 can be used for storing software program and module, processor 203 is stored in the software program and module of memory 204 by operation, thereby executing the various function application and realization data processing of terminal device.Memory 204 mainly includes program storage area and data storage area, wherein program storage area can application, such as sound playing program, image playing program needed for storage program area, at least one function etc.;Data storage area, which can be stored, uses created data (such as audio data, phone directory etc.) etc. according to terminal device.
In the specific embodiment of the invention, memory 204 may include volatile memory, such as non-volatile dynamic random access memory (full name in English: Nonvolatile Random Access Memory, English abbreviation NVRAM), phase change random access memory (full name in English: Phase Change RAM, English abbreviation PRAM), magnetic-resistance random access memory (full name in English: Magetoresistive RAM, English abbreviation MRAM) etc., it can also include nonvolatile memory, a for example, at least disk memory, Electrical Erasable programmable read only memory (full name in English: Electrically Erasable Programm Able Read-Only Memory, English abbreviation EEPROM), flush memory device, such as anti-or flash memory (full name in English: NOR flash memory) or anti-and flash memory (full name in English: NAND flash memory).
Nonvolatile storage stores operating system and application performed by processor 203.The processor 203 is stored in mass storage from the nonvolatile storage load operating program and data to memory and by digital content.The operating system includes for controlling and managing general system tasks, such as memory pipe Reason, storage equipment control, power management etc., and facilitate the various assemblies communicated between various software and hardwares and/or driver.
In embodiments of the present invention, the operating system can be the Android operation system of Google company, Windows operating system etc. of the iOS system of Apple company exploitation or Microsoft Corporation exploitation or this kind of embedded OS of Vxworks.
The application includes installation any application on the terminal device, and including but not limited to browser, Email, instant message service, word processing, keyboard be virtual, widget (Widget), encryption, digital copyright management, speech recognition, speech reproduction, positioning (such as function by global positioning system offer), music etc..
Input unit 205, for realizing user and terminal device interaction and/or information input into terminal device.
For example, the input unit 205 can receive the number or character information of user's input, to generate signal input related with user setting or function control.In the specific embodiment of the invention, input unit 205 can be touch screen, be also possible to other human-computer interaction interfaces, such as entity enter key, microphone etc., can also be other external information capture devices, such as camera etc..
Touch screen shown in the embodiment of the present invention, collectable user touches on it or close operational motion.Such as user using any suitable object or attachment such as finger, stylus on the touchscreen or close to the position of touch screen operational motion, and corresponding attachment device is driven according to preset formula.Optionally, touch screen may include both touch detecting apparatus and touch controller.Wherein, the touch operation of touch detecting apparatus detection user, and the touch operation that will test is converted to electric signal, and sends the electric signal to touch controller;Touch controller receives the electric signal from touch detecting apparatus, and is converted into contact coordinate, then gives the processor 203.
The touch controller can also receive the order that processor 203 is sent and execution.In addition, the touch screen can realize touch screen using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.
In other embodiments of the invention, entity enter key used by the input unit 205 can include but is not limited to one of physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. or a variety of.The input unit 205 of microphone form can collect the voice of user or environment input and life that convert thereof into electrical signal form, that processor 203 is executable It enables.
In some other embodiment of the invention, the input unit 205 can also be various kinds of sensors part, such as hall device, for detecting the physical quantity of terminal device, such as power, torque, pressure, stress, position, displacement, speed, acceleration, angle, angular speed, revolution, revolving speed and working condition changed time etc., it is transformed into electricity to be detected and controlled.Other some senser elements can also include accrued gravity-feed tank, triaxial accelerometer, gyroscope, electronic compass, ambient light sensor, proximity sensor, temperature sensor, humidity sensor, pressure sensor, heart rate sensor, Fingerprint Identification Unit etc..
Communication unit 207 makes terminal device by the communication channel to be connected to remote server for establishing communication channel, and from media data under the remote server.The communication unit 207 may include WLAN (full name in English: Wireless Local Area Network, English abbreviation: wireless LAN) module, bluetooth module, the communication modules such as baseband module, and the corresponding radio frequency (full name in English: Radio Frequency of the communication module, English abbreviation: RF) circuit, for carrying out WLAN communication, Bluetooth communication, infrared communication and/or cellular communications system communication, such as wideband code division multiple accesses (full name in English: Wideband Code Division Multiple Access, English abbreviation: W-CDMA) and/or high-speed downstream packet access (full name in English: Hi Gh Speed Downlink Packet Access, English abbreviation HSDPA).Communication of the communication module for each component in controlling terminal equipment, and can support direct memory access.
In different embodiments of the invention, various communication modules in the communication unit 207 generally occur in the form of IC chip (full name in English: Integrated Circuit Chip), and the property of can be chosen combines, without including all communication modules and corresponding antenna sets.For example, the communication unit 207 can only include baseband chip, radio frequency chip and corresponding antenna to provide communication function in a cellular communication system.The wireless communication connection established via the communication unit 207, such as WLAN access or WCDMA access, the terminal device can connect to Cellular Networks (full name in English: Cellular Network) or internet.In some optional embodiments of the invention, communication module in the communication unit 207, such as baseband module are desirably integrated into processor 203, the typical APQ+MDM series platform provided such as high pass (Qualcomm) company.
Radio circuit 208, for sending and receiving signal in information transmit-receive or communication process.For example, being handled after the downlink information of base station is received to processor 203;In addition, the data for designing uplink are sent To base station.Usually, the radio circuit 208 includes the known circuits for executing these functions, including but not limited to antenna system, radio frequency transceiver, one or more amplifiers, tuner, one or more oscillators, digital signal processor, encoding and decoding (Codec) chipset, subscriber identity module (SIM) card, memory etc..In addition, radio circuit 208 can also be communicated with network and other equipment by wireless communication.
Any communication standard or agreement can be used in the wireless communication, including but not limited to global system for mobile communications (full name in English: Global System of Mobile communication, English abbreviation: GSM), general packet radio service (full name in English: General Packet Radio Service, English abbreviation: GPRS), CDMA (full name in English: Code Division Multiple Access, English abbreviation: CDMA), wideband code division multiple access (full name in English: Wideband Code Division Multiple Access, English abbreviation: WCDMA), High speed uplink downlink packet access technology (full name in English: High Speed Uplink Packet Access, English abbreviation: HSUPA), long term evolution (full name in English: Long Term Evolution, English abbreviation: LTE), Email, short message service (full name in English: Short Messaging Service, English abbreviation: SMS) etc..
Power supply 209 is powered for the different components to terminal device to maintain its operation.Understand as generality, the power supply 209 can be built-in battery, such as common lithium ion battery, nickel-metal hydride battery etc., also include directly to external power supply of power terminal equipment, such as AC adapter etc..In certain embodiments of the present invention, the power supply 209 can also be made more widely to define, it such as can also include power-supply management system, charging system, power failure detection circuit, power adapter or inverter, power supply status indicator (such as light emitting diode), and generated with the electric energy of terminal device, manage and be distributed other associated any components.
It is illustrated below in conjunction with the method for being provided for the embodiments of the invention display character string shown in Fig. 3, wherein Fig. 3 is a kind of embodiment step flow chart of the drafting character string provided by the present invention in control regions.
Embodiment for a better understanding of the present invention is below first illustrated control regions shown in the present embodiment:
Specifically, preset coordinate range can be preset in the terminal device, and each preset coordinate range is corresponding with each control regions so that control regions be shown in it is corresponding with the control regions described default In coordinate range, it is seen then that terminal device shown in the present embodiment is to set the range of control regions display position on the display screen and display by the preset coordinate range.
Specifically, including the character string for being shown on terminal device display screen in the control regions provided by the present embodiment.
The present embodiment to the sizes of preset each control regions without limitation, and the present embodiment to the content for being included in each control regions without limitation.
Optionally, it in the control regions may include for responding the action event that user is inputted icon and/or virtual key.
The present embodiment to the numbers of the control regions on the display screen for being shown in terminal device without limitation.
Below under the usage scenario different to terminal device, the application scenarios of shown control regions are illustrated:
Referring firstly to shown in Figure 20, under the scene that terminal device shows main interface, multiple control regions 2000 are shown on the display screen of terminal device, be provided in each control regions 2000 application icon and with apply corresponding Apply Names, and the first interval 2001 is provided between two control regions of the display screen transverse direction arbitrary neighborhood of the terminal device, for shown in Figure 20, the first interval 2001 is provided between control regions for showing the control regions of Baidu music icon and for showing Sina weibo icon, the present embodiment to the size of the specific numbers of the control regions 2000 and first interval without limitation.
Another application scenarios refer to shown in Figure 21, and in this application scene, the control regions are shown on application interface, the present embodiment to application interface without limitation, such as the application interface can for application level-one interface, secondary interface etc..
This application scene by taking the level-one application interface of mobile phone Baidu as an example, need it is clear that, the present embodiment is exemplified as optional example to application, without limitation.
As shown in figure 21, on the level-one interface of application mobile phone Baidu, show multiple control regions 2100, virtual key 2101 is provided in each control regions 2100, the virtual key 2101 is used to receive the touching instruction of user's input, after the touching instruction for receiving user's input, the interface that the terminal device controls the application jumps to application interface corresponding to the virtual key.
For example, for shown in Figure 21, if the touch that virtual key " map " receives user's input refers to It enables, then terminal device control mobile phone Baidu is jumped to the interface for realizing map function by level-one interface.
In the present embodiment, the first interval 2102 is provided between two control regions of the display screen transverse direction arbitrary neighborhood of the terminal device, for shown in Figure 21, be provided with the first interval 2102 between control regions for showing the control regions of virtual key " video " and for showing virtual key " icon ", the present embodiment to the size of the specific numbers of the control regions 2100 and first interval without limitation.
Another application scenarios refer to shown in Figure 22, in this application scene, the control regions are used for display menu options, and each menu option executes function corresponding with the menu option for controlling the terminal device, need it is clear that, the present embodiment is optional example to the function of menu option, without limitation, in other application scenarios, other function is also can be performed in the menu option, for example, realizing jumping for application interface.
This application scene is by taking application is the system application " setting " of terminal device as an example, as shown in figure 22, in the case where system application " setting " shows level-one interface, have multiple control regions using the level-one interface display of " setting ", the present embodiment to the specific numbers of the control regions without limitation.
In this application scene, along the transverse direction setting of display screen, there are two the control regions that are mutually matched, for example, the control regions 2201 and control regions 2202 that are mutually matched.
The control regions 2201 show menu option " offline mode ", the control regions 2202 show whether the menu option " offline mode " is opened, for shown in Figure 22, user is by control regions 2202 are shown, the offline mode of presently described terminal device is not turned on, then user can input touching instruction in the control regions 2201 and/or control regions 2202, in the case where the control regions 2201 and/or control regions 2202 receive the touching instruction, " offline mode " described in the terminal device control is opened, and it controls the control regions 2202 and shows the state that " offline mode " is opened.
For another example, the control regions 2203 show menu option " bluetooth ", the control regions 2204 show the character string whether menu option " bluetooth " is opened, for shown in Figure 22, user is by control regions 2204 are shown, the bluetooth of presently described terminal device is not turned on, then user can input touching instruction in the control regions 2203 and/or control regions 2204, in the case where the control regions 2203 and/or control regions 2204 receive the touching instruction, the terminal device is shown and bluetooth Corresponding Drop Down Menu Choices, Drop Down Menu Choices corresponding with bluetooth can show the touch key-press for whether opening bluetooth, for showing the character string of bluetooth device name, for showing the character string etc. of present terminal device name, the present embodiment pair Drop Down Menu Choices corresponding with bluetooth are particularly shown content without limitation.
In the present embodiment, the first interval 2205 is provided between two control regions of the display screen transverse direction arbitrary neighborhood of the terminal device, for shown in Figure 22, for being provided with the first interval 2205 between the control regions 2203 of display menu options " bluetooth " and the control regions 2204 for showing character string that whether bluetooth opens, the present embodiment to the size of the specific numbers of the control regions and first interval without limitation.
Whether subregion shown by step 301, the detection terminal device meets preset condition, if it is not, 302 are thened follow the steps, if so, thening follow the steps 303.
The display screen of terminal device shown in the present embodiment marks off at least one subregion along the transverse direction of the terminal device, at least one described control regions is provided in each subregion.
Need it is clear that, the present embodiment carries out subregion along the transverse direction of the terminal device with display screen and is divided into optional example, without limitation, in a particular application, the present embodiment to the specific division mode of the subregion without limitation, for example, the division of subregion can be also carried out along the longitudinal direction of the display screen, the division of progress subregion that can also be random.
For shown in Fig. 4, wherein Fig. 4 is a kind of example structure schematic diagram of subregion shown by terminal device provided by the present invention.
As shown in Figure 4 it is found that the display screen of the terminal device marks off three sub-regions, i.e. subregion 400, subregion 401 and subregion 402 along the transverse direction of the terminal device.
Optionally, the second preset interval 405 is provided between the two sides of subregion shown in the present embodiment and the edge of the terminal display screen.
The present embodiment to the size of second preset interval 405 without limitation.
In a particular application, it can also be not provided with second preset interval 405, so that the two sides of the subregion connect the edge of the display screen of the terminal device.
The subregion shown in the present embodiment is used for setting control region.
Specifically, being located in an identical sub-regions, the first preset interval 403 is provided between two control regions of arbitrary neighborhood.
The present embodiment to the size of first preset interval 403 without limitation.
Shown each subregion includes multiple control regions on the display screen of terminal device provided by the present embodiment.
Preset condition described in the present embodiment are as follows: the subregion includes at least one target widget region.
The length for the character string for being included in the target widget region is greater than the length in the target widget region.
In the present embodiment, if it is detected that subregion shown by the display screen of the terminal device is unsatisfactory for the preset condition, that is, it is unsatisfactory for not including the target widget region in the subregion of the preset condition, then will continue to execute step 302.
Specifically, continuing to execute step 302 if the terminal device determines that the length of the character string in multiple control regions included by subregion in any control regions is less than or equal to the length of the control regions.
In the present embodiment, if it is detected that subregion shown by the display screen of the terminal device meets the preset condition, that is, meets in the subregion of the preset condition comprising at least one described target widget region, then will continue to execute step 303.
Specifically, continuing to execute step 303 if the terminal device determines that the length of the character string in multiple control regions included by subregion at least one control regions is greater than the length of the control regions.
Step 302 shows each control regions in the subregion for being unsatisfactory for the preset condition by the first preset mode.
If it is detected that subregion shown by the display screen of the terminal device is unsatisfactory for the preset condition, then without being modified to the display effect of each control regions in the subregion for being unsatisfactory for the preset condition, directly shown with the first preset mode.
The present embodiment to first preset mode without limitation, as long as the character string being shown in each control regions can be shown in a manner of uniline, the character string being located in each control regions is shown without carrying out line feed, to effectively ensure the efficiency that user reads character string.
For example, the present embodiment, by taking character string shown in each control regions is the title of the icon as an example, first preset mode can be to be shown centered on the character string in each control regions in the control regions.
As shown in Figure 1, the character string " Tencent's news " in control regions 100 is shown centered on.
Step 303, at least one control regions for being included to target subregion are reset to form out at least one and reset control regions.
Optionally, during executing step 301, if the terminal device detects that subregion shown by the terminal device meets the preset condition, the terminal device produces control information, so that the terminal device touches the execution to step 303 according to the control information.
Optionally, step 301 and step 302 shown in the present embodiment are that optional step can not also execute the step 301 and step 302 in a kind of application scenarios.What the control information can also input for user to the terminal device.
Such as, when user carries out the reset of language to the terminal device, the present embodiment is by taking the language of terminal device is set as English by Chinese by user as an example, then the terminal device can show operation interface by display screen, the operation interface can indicate whether user needs to set control regions to reset control regions described in formation, if user notifies the terminal device to need to set control regions by the operation interface to reset control regions described in being formed, then the terminal device can generate control information depending on the user's operation, the control information is for triggering execution of the terminal device to step 303.
In the present embodiment, the target subregion is the subregion for meeting the preset condition.
It is described to reset length possessed by control regions to reset length.
Specifically, including at least one described target widget region in multiple control regions included by the target subregion.
With continued reference to shown in Fig. 4, however, it is determined that the length for going out the character string in the control regions 404 in subregion 401 is greater than the length of the control regions 404, it is determined that the control regions 404 are target widget region.
The present embodiment to the number of the target subregion determined without limitation.
The present embodiment to the number in the target widget region for being included in the target subregion having determined that without limitation, as long as in the target subregion including at least one described target widget region.
The process that specifically the target subregion is reset are as follows:
Obtain the length L of transverse direction of the target subregion along the terminal device;
Obtain the number N of control regions included by the target subregion;
Determine that each length of reseting for reseting control regions is L/N.
The present embodiment does not change the length of the target subregion, so that the length after resetting to the target subregion is identical as the length before resetting to the target subregion.
It is illustrated below continuing with shown in Fig. 5, wherein Fig. 5 is another example structure schematic diagram of subregion shown by terminal device provided by the present invention.
Specifically, Fig. 5 is illustrated with what how a target subregion was specifically reset, it is detailed as shown in Figure 5 to the division mode difference of each target subregion if the display screen of the terminal device marks off multiple target subregions, it does not repeat them here in the present embodiment specifically.
As shown in Figure 5, the terminal device obtains the length L of transverse direction of the target subregion 401 along the terminal device;
Difference of the present embodiment because of the size of the display screen of terminal device, or the design requirement different to display pattern because of the terminal device, meeting is so that target subregion 401 has the length L of the different transverse directions along the terminal device on different terminal devices, specifically in the present embodiment without limitation.
Obtain the number N of control regions included by the target subregion 401;
With shown in Fig. 5 it is found that the number N of control regions included by the target subregion 401 be 3.
Determine that each length of reseting for reseting control regions 500 is L/N.
It is found that meeting two conditions after resetting to the target subregion in conjunction with shown in Fig. 4 and Fig. 5:
First condition: before being reset to the target subregion, as shown in Figure 4, first preset interval 403 is provided between two control regions of arbitrary neighborhood in the target subregion 401, after being reset to the target subregion, as shown in Figure 5, positioned at reseting described in two of arbitrary neighborhood in the target subregion 401, first preset interval 403 is no longer set between control regions, control regions are reseted described in two of arbitrary neighborhood in the i.e. described target subregion 401 to abut against each other, in display effect, the boundary line for reseting control regions in the target subregion 401 described in two of arbitrary neighborhood coincides with one another.
Second condition: as shown in Figure 5, two sides resets control regions to reset control regions 501 and reseting control regions 502 in the target subregion 401, the second preset interval 501 is provided between the edge of the display screen for reseting control regions 501 and terminal device, the second preset interval 501 is provided between the edge of the display screen for reseting control regions 502 and terminal device, the present embodiment is to described The size of two preset intervals 501 is without limitation.
Step 304 judges whether the target subregion includes that target resets control regions, if it is not, step 305 is then continued to execute, if so, thening follow the steps 306.
In the present embodiment, the target subregion includes that at least one resets control regions.
The target resets control regions and meets goal condition, the goal condition be reset the character string that control regions are included length be greater than it is described reset control regions reset length.
In the present embodiment, the terminal device need to included by the target subregion at least one reset control regions and judge one by one, to determine whether the target subregion includes that the target resets control regions.
In the present embodiment, the only described target subregion included it is all it is described reset not including in control regions there is the target to reset control regions, all length for reseting the character string for being included in control regions that the i.e. described target subregion is included are respectively less than or equal to the length of reseting for reseting control regions, then trigger the execution of step 305.
If the target subregion includes that at least one described target resets control regions, the execution of step 306 is triggered.
Step 305 shows each control regions of reseting by first preset mode.
In the present embodiment, if it is determined that all length for reseting the character string in control regions that target subregion shown by the display screen of the terminal device is included are respectively less than or equal to the length of reseting for reseting control regions, then each character string reseted in control regions can control to be shown centered on.
Need it is clear that, the present embodiment is to being shown in each display mode for reseting the character string in control regions without limitation, as long as being shown in each character string reseted in control regions can be shown in a manner of uniline, it is located at each character string reseted in control regions to show without carrying out line feed, to effectively ensure the efficiency that user reads character string.
Step 306 shows each control regions of reseting by the second preset mode.
The second preset mode shown in the present embodiment is described in detail below, need it is clear that, in the present embodiment, the difference of the length of character string in control regions is reseted because described in, then can make the control regions of reseting that there is different second preset modes.
It is illustrated below for the length for reseting the different character strings in control regions described in different.
A kind of situation is if the control regions of reseting are located at first position, and to be located at the first position Described reset control regions and be all satisfied first condition positioned at the control regions of reseting for reseting control regions two sides described in the first position.
First condition shown in the present embodiment are as follows: the length for reseting the character string in control regions be greater than it is described reset control regions reset length.
The two sides for reseting control regions shown in the present embodiment positioned at the first position, which are provided with, resets control regions.
As shown in fig. 6, be located at the first position reset control regions be reset control regions 605, and it is described reset control regions 605 and be located at described reset control regions 607 and described reset between control regions 606.
All subregion shown in the present embodiment Fig. 6 by include three reset control regions for be illustrated, in a particular application, the number for control regions that the subregion may include reset is in the present embodiment without limitation.
Also need it is clear that, the present embodiment resets control regions 607 and described reset for control regions 606 are located at the subregion edge illustrates by described, in a particular application, in this set-up mode, as long as the control regions 607 and the control regions 606 of reseting reseted are positioned at the two sides for reseting control regions 605.
To being located at each content for reseting the character string in control regions without limitation shown in Fig. 6.
As shown in Figure 6 it is found that the control regions 605 of reseting for being located at the first position meet the first condition, i.e., the described length for reseting the first character string in control regions 605 be greater than it is described reset control regions 605 reset length.
In this kind of situation, reseting control regions 607 and reset control regions 606 and also meeting the first condition for 605 two sides of control regions is reseted positioned at described, the i.e. described length for reseting the character string in control regions 607 be greater than it is described reset control regions 607 reset length and the length for reseting the character string in control regions 606 be greater than it is described reset control regions 606 reset length.
In this kind of situation, second preset mode can are as follows:
It, will treated that the first character string is shown centered on resets in control regions 605 described by the target if the length by target treated the first character string is less than or equal to the length for reseting control regions positioned at first position.
In this kind of set-up mode, target processing is resets control to being located at described in the first position Any character of the first character string in region carries out diminution processing, so that any character for reducing treated first character string is greater than or equal to the first preset value.
The present embodiment without limitation, can be seen clearly the size of first preset value as long as being greater than or equal to the character of first preset value by user.
Initializing set when first preset value can dispatch from the factory for manufacturer, it can also be by user's customized setting according to their own needs, for example, the terminal device can push setting interface to user, the setting interface is used to indicate user and sets the minimum value that character is shown, i.e., described first preset value.
It include to reset control regions 605, reset control regions 607 and reset control regions 606 in the subregion in display pattern 600 for shown in display pattern 600 as shown in connection with fig. 6.
Control regions of reseting positioned at the first position are control regions 605, if the length for reseting the first character string in control regions 605 be greater than it is described reset control regions 605 reset length, the target processing can be carried out to the character reseted in control regions 605.
It, will treated that the first character string is shown centered on resets in control regions described by the target if the length by the target treated the first character string is less than or equal to the length for reseting control regions.
Continuing with shown in Fig. 6, the length by the target treated the first character string be less than or equal to it is described reset the length of control regions 605 in the case where, it is shown in fig. 6 that display pattern 601 is jumped to by display pattern 600, in display pattern 601, diminution processing is carried out to first character string reseted in control regions 605, in the case where ensureing that reducing treated any character of the first character string is greater than or equal to first preset value, if the length of first character string is less than or equal to the length for reseting control regions 605, it then will treated that first character string is shown centered on resets in control regions 605 described by the target.
It, will treated that the display of the first character string branch is reseted in control regions described by the target if the length by the target treated the first character string is greater than the length for reseting control regions.
Continuing with shown in Fig. 6, the length by the target treated the first character string be greater than it is described reset the length of control regions 605 in the case where, it is shown in fig. 6 that display pattern 602 is jumped to by display pattern 600, in display pattern 602, diminution processing is carried out to first character string reseted in control regions 605, is ensureing that reducing treated any character of the first character string is greater than or equal to described the In the case where one preset value, reducing that treated, the display of first character string branch is reseted in control regions 605 described.
In the present embodiment, described reset between first character string and the character string for meeting the second condition shown in control regions for meeting the first condition has first preset interval, the illustrating of first preset interval ask it is as detailed above shown in, specifically repeat no more.
It is also optional, even if if the terminal device determines to carry out the character reseted in control regions 605 diminution processing and also can not carry out uniline in control regions 605 in described reset and show, then the terminal device can not carry out diminution processing to the character reseted in control regions 605, but directly carry out branch and show.
Known to shown in this kind of situation, because being expanded the length of control regions shown in the prior art, so that longer character string can be shown by reseting control regions shown in the present embodiment, and reseting in the case where reseting control regions and be all satisfied the first condition of the left and right sides of control regions, diminution processing can be carried out to the character string reseted in control regions, so that relative to not for the prior art that character string is modified, it can be avoided to be located at the character string line feed reseted in control regions or reduce shown in the present embodiment and be located at the line number for reseting the character string in control regions, to reduce the number of the truncation of a string, improve the efficiency of user's reading character string.
Another situation is, if the control regions of reseting are located at the first position, and meet the first condition positioned at control regions are reseted described in the first position, meet first condition positioned at the control regions of reseting for reseting control regions side described in the first position, meets second condition positioned at the control regions of reseting for reseting the control regions other side described in the first position.
The present embodiment is illustrated by meeting to reset described in the second condition for control regions are located at the second position, and the second position is the either side in the left and right sides of the first position;
The present embodiment to be located at described in the second position reset control regions be the left side for reseting control regions described in the first position or right side without limitation, the present embodiment meets first condition to be located at the control regions of reseting reseted on the left of control regions described in the first position, illustrates positioned at reseting for control regions meet second condition on the right side of control regions is reseted described in the first position.
The first condition please be detailed in it is above-mentioned shown in, specifically repeat no more.
The second condition are as follows: the length for reseting the character string in control regions be less than it is described reset control regions reset length.
Shown in display pattern 700 for shown in Fig. 7, the present embodiment is by taking subregion that the display pattern 700 includes is subregion 703 as an example, and there are three for reseting control regions for setting in the subregion 703.
All subregion shown in the present embodiment Fig. 7 by include three reset control regions for be illustrated, in a particular application, the number for control regions that the subregion may include reset is in the present embodiment without limitation.
Also need it is clear that, the present embodiment resets control regions 607 and described reset for control regions 606 are located at the subregion edge illustrates by described, in a particular application, in this set-up mode, as long as the control regions 607 and the control regions 606 of reseting reseted are positioned at the two sides for reseting control regions 605.
Specifically, it is described reset control regions 605 be positioned at reseting control regions described in the first position, and it is described reset control regions 605 and be located at reset control regions 606 and reset between control regions 607.
Specifically, be divided into the second preset interval 701 between having between the edge of the display screen of the two sides of subregion 703 and the terminal device shown in the present embodiment, the size of second preset interval 701 can be 8dp, 1dp=1/160 inches.
Need it is clear that, the present embodiment is optional example to the explanation of the size of second preset interval 701, without limitation.
The left side edge position of the subregion 703 shown in the present embodiment and described reset are provided with third preset interval 702 along the terminal device transverse direction between control regions 607.The right side edge position of the subregion 703 and it is described reset between control regions 606 along the terminal device transverse direction setting the third preset interval 702.
Third preset interval 702 as shown in Figure 7 can be 12dp.
Need it is clear that, the present embodiment is optional example to the explanation of the size of the third preset interval 702, without limitation.
Also need it is clear that, in a particular application, whether the present embodiment to being arranged second preset interval 701 and the third preset interval 702 without limitation.
As shown in fig. 7, reseting length with described positioned at control regions 605 are reseted described in the first position during resetting to the subregion 700.
Reseting length described in how determining please be detailed in shown in above-described embodiment, not repeat them here in the present embodiment specifically.
In this kind of situation, length because reseting the first character string in control regions 605 described in being located at resets the length of control regions 605 described in being greater than, then in order to show complete first character string, then in this kind of situation, second preset mode can are as follows:
First character string is shown in a manner of at least line inscribed symbol string, and the distance between any row character string at least a line character string and the second character string are more than or equal to second preset value.
Wherein, first character string is positioned at the character string reseted in control regions described in the first position, and second character string is the character string reseted in control regions positioned at the second position.
Specifically, shown in display pattern 700 as shown in Figure 7, length of first character string when described reset in control regions 605 can not completely show, i.e., the described first character string uniline is shown in the control regions 605 of the first position is greater than the length L1 for reseting control regions 605.
Determine the first character string uniline display area, wherein, the length of the uniline display area of first character string is greater than the length for reseting control regions positioned at the first position, and the distance between the uniline display area of first character string and second character string are greater than or equal to second preset value.
Specifically, known to shown in Fig. 7, in display pattern 700, if length when the first character string uniline is shown is greater than the length L1 for reseting control regions 605, display pattern 704 is then jumped to by display pattern 700, in the display pattern 704, the terminal device determines the first character string uniline display area 705.
More specifically, the length L2 of the first character string uniline display area 705 is greater than L1, and the first character string uniline display area 705 is greater than or equal to the second preset value T1 with the distance between described described second character string reseted in control regions 606 is located at.
Optionally, the first character string uniline display area 705 shown in the present embodiment is to extend positioned at the whole region or partial region reseted in control regions described in the first position to the direction of second character string to be formed.
Specifically, for shown in Fig. 7, it may include the region for showing figure target area and for showing character string positioned at control regions 605 are reseted described in the first position, in the case where the length of first character string resets the length of control regions 605 greater than described in, it can be by 605 whole region of control regions of reseting along the extension of the direction of second character string, until the first character string uniline display area The distance between 705 and second character string are greater than or equal to second preset value, or, described reset can be used to show that the region of character string to extend along the direction of second character string in control regions 605, until the distance between the interior region for showing character string in the first character string uniline display area 705 and described second character string are greater than or equal to second preset value.
As it can be seen that the first character string shown in the present embodiment can be reseted in control regions 605 described to the movement of the direction of second character string.
In the present embodiment, the detailed process of the extension of the first character string uniline display area 705 can are as follows:
Specifically, during the first character string uniline display area 705 extends to second character string, if the length of the first character string uniline display area 705 is greater than or equal to the length that the first character string uniline is shown, the first character string uniline display area 705 is not re-extended;
If during the first character string uniline display area 705 extends to second character string, the distance between the first character string uniline display area 705 and second character string are equal to second preset value, and/or the length of the first character string uniline display area 705 is greater than or equal to the length that the first character string uniline is shown, then the first character string uniline display area 705 no longer extends to second character string direction.
The detailed process of display first character string shown in the present embodiment are as follows:
Judge whether the length of first character string is less than or equal to the length of the first character string uniline display area.
If so, being shown in a manner of uniline first character string in the first character string uniline display area.
Specifically, shown in display pattern 704 shown in Fig. 7, if the length of first character string is less than or equal to the length L2 of the first character string uniline display area 705, first character string can be shown in a manner of uniline in the first character string uniline display area 705.
If it is not, optional, a kind of mode can be to show first character string in the first character string uniline display area in a manner of branch.
Specifically, shown in display pattern 706 as shown in Figure 7, if the length of first character string is greater than the length L2 of the first character string uniline display area 705, it then can be by first character string more than two rows or two rows to show in the first character string uniline display area 705, so that first character The length of string any row character string is less than or equal to the length L2 of the fixed first character string uniline display area 705, so that the distance between any row character string of first character string and second character string are greater than or equal to second preset value.
If not, it is also optional, another way is, the target processing is carried out to first character string, if the length by the target treated first character string is less than or equal to the length of the first character string uniline display area, it then will treated that the first character string uniline is shown in the first character string uniline display area by the target, if the length by the target treated first character string is greater than the length of the first character string uniline display area, it then will be by the target treated first character string branch display in the first character string uniline display area.
Specifically, shown in display pattern 707 as shown in Figure 7, if the length of first character string is greater than the length L2 of the first character string uniline display area 705, can then target processing be carried out to first character string, the detailed process of the target processing please be detailed in above-mentioned shown, specifically repeat no more, if being less than or equal to the length of the first character string uniline display area 705 by the length for reducing treated first character string, it then will treated that the first character string uniline is shown in the first character string uniline display area 705 by the target, shown in display pattern 708 as shown in Figure 7, if the length of first character string is greater than the length L2 of the first character string uniline display area 705, can then target processing be carried out to first character string, if by contracting The length of small treated first character string is greater than the length of the first character string uniline display area 705, then will be by the target treated the first character string branch display in the first character string uniline display area 705.
What what the length of the second character string shown in the present embodiment was less than that second character string is located at reseted control regions resets length, even if second character string can also be shown meeting the uniline reseted described in the second condition and be not truncated in control regions so that first character string extends to second character string.
Second character string shown in the present embodiment can be shown centered on to be reseted in control regions 606 described, certainly, the present embodiment is particularly shown position without limitation in described reset in control regions 606 to second character string, as long as can guarantee that the distance between first character string and second character string are greater than second preset value.
For example, to avoid first character string to enter a new line as far as possible, then second character string can be to the display screen side of the terminal device during first character string extends to second character string To extension, i.e. described second character string extends to 702 direction of third preset interval, so that the target interval having between the edge of the display screen of second character string and the terminal device, to expand length for showing the first character string uniline display area of first character string as far as possible, the present embodiment to the size relation between the target interval and second preset interval 701 without limitation.
Optionally, the present embodiment is illustrated so that second preset value is 8dp as an example.
Need it is clear that, in a particular application, the present embodiment to the size of second preset value without limitation.
Extend even if the present embodiment controls first character string to the direction of second character string, also to ensure that the distance between first character string and second character string are greater than or equal to second preset value, to effectively avoid user from obscuring first character string and second character string during reading, it enables a user to clearly described first character string and second character string is to be belonging respectively to the different character strings reseted in control regions, the misunderstanding in user's reading process is avoided, the accuracy rate in user's reading process is improved.
The present embodiment is illustrated by meeting reseting for control regions are located at the right side for reseting control regions for meeting first condition for the second condition, if the control regions of reseting for meeting the second condition are located at the left side for reseting control regions for meeting the first condition, then meeting the extension mode for reseting control regions of the character string of the first condition reseted in control regions to the left please be detailed in shown in this kind of set-up mode, not repeat them here specifically.
Known to shown in this kind of situation, because being expanded the length of control regions shown in the prior art, so that longer character string can be shown by reseting control regions shown in the present embodiment, and meet the first condition in the side for reseting control regions, in the case that the other side for reseting control regions meets the second condition, first character string reseted in control regions can be extended to the second character string reseted in control regions for meeting the second condition, and ensure that the distance between first character string and second character string are greater than or equal to second preset value, so that relative to not for the prior art that character string is modified, it can be avoided to be located at the character string line feed reseted in control regions or reduce shown in the present embodiment and be located at the character string reseted in control regions Line number improve the efficiency of user's reading character string to reduce the number of the truncation of a string.
Another situation is, if the control regions of reseting are located at the first position, and is located at described the Control regions are reseted described in one position and meet the first condition, and the control regions of reseting positioned at the control regions two sides of the second position meet second condition.
Illustrating for the first condition and the second condition in this kind of set-up mode please be detailed in shown in above-mentioned set-up mode, specifically repeat no more.
In this kind of situation, as shown in figure 8, be located at the first position reset control regions be reset control regions 605, and it is described reset control regions 605 and be located at described reset control regions 607 and described reset between control regions 606.
All subregion shown in the present embodiment Fig. 8 by include three reset control regions for be illustrated, in a particular application, the number for control regions that the subregion may include reset is in the present embodiment without limitation.
Also need it is clear that, the present embodiment resets control regions 607 and described reset for control regions 606 are located at the subregion edge illustrates by described, in a particular application, in this set-up mode, as long as the control regions 607 and the control regions 606 of reseting reseted are positioned at the two sides for reseting control regions 605.
In this kind of situation, the control regions 605 of reseting positioned at the first position meet the first condition, i.e., the described length for reseting the first character string in control regions 605 be greater than it is described reset control regions 605 reset length.
Reseting control regions 607 and reset control regions 606 and meeting the second condition for 605 two sides of control regions is reseted positioned at described, the i.e. described length for reseting the third character string in control regions 607 be less than it is described reset control regions 607 reset length and the length for reseting the second character string in control regions 606 be less than it is described reset control regions 606 reset length.
In this kind of situation, length because reseting the first character string in control regions 605 described in being located at resets the length of control regions 605 described in being greater than, then in order to show complete first character string, then in this kind of situation, second preset mode can are as follows:
First character string is shown in a manner of at least line inscribed symbol string, and the distance between any row character string at least a line character string and the second character string are greater than or equal to second preset value, and the distance between any row character string at least a line character string and the third character string are more than or equal to second preset value.
First character string, second character string and illustrating for the third character string please be detailed Shown in seeing above, do not repeated them here in Ben Chu specifically.
Specifically, shown in display pattern 800 as shown in Figure 8, length of first character string when described reset in control regions 605 can not completely show, i.e., the described first character string uniline is shown in the control regions 605 of the first position is greater than the length L1 for reseting control regions 605.
Determine the first character string uniline display area, wherein, the length of the uniline display area of first character string is greater than the length for reseting control regions positioned at the first position, and the distance between the uniline display area of first character string and second character string are greater than or equal to second preset value, and the distance between the uniline display area of first character string and the third character string are greater than or equal to second preset value.
Specifically, known to shown in Fig. 8, in display pattern 800, if length when the first character string uniline is shown is greater than the length L1 for reseting control regions 605, display pattern 801 is then jumped to by display pattern 800, in the display pattern 801, the terminal device determines the first character string uniline display area 805.
More specifically, the length L2 of the first character string uniline display area 805 is greater than L1, and the first character string uniline display area 805 is greater than or equal to the second preset value T1 with the distance between described described second character string reseted in control regions 606 is located at, and the first character string uniline display area 805 is greater than or equal to the second preset value T1 with the distance between described described third character string reseted in control regions 607 is located at.
Optionally, the first character string uniline display area 805 shown in the present embodiment is to extend respectively to both sides to be formed positioned at the whole region or partial region reseted in control regions described in the first position, described one end for reseting control regions i.e. positioned at the first position extends to the direction of second character string, extends positioned at the other end for reseting control regions described in the first position to the direction of the third character string.
Specifically, for shown in Fig. 8, it may include the region for showing figure target area and for showing character string positioned at control regions 605 are reseted described in the first position, in the case where the length of first character string resets the length of control regions 605 greater than described in, 605 whole region of control regions can be reseted respectively along the extension of the direction of second character string and the third character string by described, until the distance between the first character string uniline display area 805 and described second character string are greater than or equal to second preset value, and until between the first character string uniline display area 805 and the third character string Distance be greater than or equal to second preset value, or, described reset can be used to show that the region of character string to extend along the direction of second character string and the third character string respectively in control regions 605, until the distance between the first character string uniline display area 805 and described second character string are greater than or equal to second preset value, and until the distance between the first character string uniline display area 805 and described second character string are greater than or equal to second preset value.
As it can be seen that the first character string shown in the present embodiment can be reseted in control regions 605 described respectively to the movement of the direction of second character string and the third character string after align center.
In the present embodiment, the detailed process of the extension of the first character string uniline display area 805 can are as follows:
In the present embodiment, the first character string uniline display area 805 respectively can be equal to the distance that both sides extend, can also be unequal.
Specifically, if during the first character string uniline display area 805 uniformly extends to both sides, if the length of the first character string uniline display area 805 is greater than or equal to the length that the first character string uniline is shown, the first character string uniline display area 805 no longer extends to both sides;
If during the first character string uniline display area 805 extends to second character string and the third character string, the distance between the first character string uniline display area 805 and second character string are equal to second preset value, and the distance between the first character string uniline display area 805 and the third character string are greater than second preset value, then the first character string uniline display area 805 no longer extends to second character string direction, but extend to the third character string direction, until the length of the first character string uniline display area 805 is greater than or equal to the length that the first character string uniline is shown and/or the distance between the first character string uniline display area 805 and the third character string are equal to second preset value;
If during the first character string uniline display area 805 extends to second character string and the third character string, the distance between the first character string uniline display area 805 and the third character string are equal to second preset value, and the distance between the first character string uniline display area 805 and second character string are greater than second preset value, then the first character string uniline display area 805 no longer extends to the third character string direction, but extend to second character string direction, until the length of the first character string uniline display area 805 is greater than or equal between the length and/or the first character string uniline display area 805 and second character string that the first character string uniline is shown Distance is equal to second preset value.
The detailed process of display first character string shown in the present embodiment are as follows:
Judge whether the length of first character string is less than or equal to the length of the first character string uniline display area.
If so, being shown in a manner of uniline first character string in the first character string uniline display area.
Specifically, shown in display pattern 801 shown in Fig. 8, if the length of first character string is less than or equal to the length L2 of the first character string uniline display area 805, first character string can be shown in a manner of uniline in the first character string uniline display area 805.
If it is not, optional, a kind of mode can be to show first character string in the first character string uniline display area in a manner of branch.
Specifically, shown in display pattern 802 as shown in Figure 8, if the length of first character string is greater than the length L2 of the first character string uniline display area 805, it then can be by first character string more than two rows or two rows to show in the first character string uniline display area 705, so that the length of the first character string any row character string is less than or equal to the length L2 of the fixed first character string uniline display area 705, so that the distance between any row character string of first character string and second character string are greater than or equal to second preset value.
If not, it is also optional, another way is, the target processing is carried out to first character string, if the length by the target treated first character string is less than or equal to the length of the first character string uniline display area, it then will treated that the first character string uniline is shown in the first character string uniline display area by the target, if the length by the target treated first character string is greater than the length of the first character string uniline display area, it then will be by the target treated first character string branch display in the first character string uniline display area.
Specifically, shown in display pattern 803 as shown in Figure 8, if the length of first character string is greater than the length L2 of the first character string uniline display area 805, can then target processing be carried out to first character string, the detailed process of the target processing please be detailed in above-mentioned shown, specifically repeat no more, if being less than or equal to the length of the first character string uniline display area 805 by the length for reducing treated first character string, it then will treated that the first character string uniline is shown in the first character string uniline display area 805 by the target, shown in display pattern 804 as shown in Figure 8, if described The length of one character string is greater than the length L2 of the first character string uniline display area 805, can then target processing be carried out to first character string, it, will be by the target treated the first character string branch display in the first character string uniline display area 805 if being greater than the length of the first character string uniline display area 805 by the length for reducing treated first character string.
What what the length of the second character string shown in the present embodiment was less than that second character string is located at reseted control regions resets length, and the length of the third character string be less than that the third character string is located at reset control regions reset length, even if so that first character string extends to second character string, second character string can also be shown meeting the uniline reseted described in the second condition and be not truncated in control regions, even and if first character string extends to the third character string, the third character string can also be shown meeting the uniline reseted described in the second condition and be not truncated in control regions.
The mode that is particularly shown of second character string shown in the present embodiment and the third character string can be as detailed above shown, does not repeat them here specifically.
Extend even if the present embodiment controls first character string to the direction of second character string and the third character string, also to ensure that the distance between first character string and second character string are greater than or equal to second preset value, and ensure that the distance between first character string and the third character string are greater than or equal to second preset value, to effectively avoid user from obscuring first character string during reading, second character string and the third character string, enable a user to clearly described first character string, second character string and the third character string are to be belonging respectively to the different character strings reseted in control regions, avoid the misunderstanding in user's reading process, improve the accuracy rate in user's reading process.
Known to shown in this kind of situation, because being expanded the length of control regions shown in the prior art, so that longer character string can be shown by reseting control regions shown in the present embodiment, and being located in the case where reseting control regions and be all satisfied the second condition of the two sides for reseting control regions of first position, first character string reseted in control regions can be extended to the second character string reseted in control regions and the third character string for meeting the second condition, and ensure that the distance between first character string and second character string are greater than or equal to second preset value, and ensure that the distance between first character string and the third character string are greater than or equal to second preset value, so that relative to not for the prior art that character string is modified, shown in the present embodiment It can be avoided and be located at The character string line feed reseted in control regions or reduction are located at the line number for reseting the character string in control regions and improve the efficiency of user's reading character string to reduce the number of the truncation of a string.
Another situation is, if the control regions of reseting are located at the third place, and be located at the described of the third place and reset control regions and meet the first condition, with being located at the adjacent control regions of reseting of control regions are reseted described in the third place meet first condition.
In the present embodiment, the third place is positioned at the subregion marginal position, it is to reset control regions positioned at the subregion marginal position positioned at the control regions of reseting of the third place, for shown in Fig. 9, in display pattern 900, control regions 901 are reseted positioned at control regions are reseted described in the third place and reset control regions 902.
Also need it is clear that, the present embodiment to be located at it is described reset control regions 901 and reset the number for reseting control regions between control regions 902 without limitation, the present embodiment by it is described reset control regions 901 and reset be provided between control regions 902 one reset control regions 903 for illustrate.
This kind of situation is illustrated for being located at and reseting control regions 901 described in the third place, wherein the left edge position reseted control regions 901 and be located at the subregion.
Wherein, positioned at reseting control regions 902 described in the third place, the position reseted control regions 902 and be located at the right hand edge of the subregion, then it is located at the display mode for reseting the character string in control regions 902, it please be detailed in and be located at the display mode for reseting the character string in control regions 901, not repeat them here in the present embodiment specifically.
In this kind of scene, it is all larger than the length of reseting for reseting control regions because being located to reset control regions 901 described in the third place and reset the adjacent length for reseting the character string in control regions 903 of control regions 901 with described in, then second preset mode can are as follows:
It, will treated that third character string is shown centered on resets in control regions described by the target if the length by target treated the 4th character string is less than or equal to the length for reseting control regions positioned at the third place.
Wherein, the 4th character string is the character string reseted in control regions positioned at the third place.
In this kind of set-up mode, target processing is carries out diminution processing to being located at any character for reseting the 4th character string in control regions described in the third place, so that any character for first character string that reduces that treated is greater than or equal to the first preset value.
To first preset value illustrate ask it is as detailed above shown in, do not repeat them here in the present embodiment specifically.
Continuing with shown in Fig. 9, the length by the target treated the 4th character string be less than or equal to it is described reset the length of control regions 901 in the case where, it is shown in Fig. 9 that display pattern 904 is jumped to by display pattern 900, in display pattern 904, diminution processing is carried out to the 4th character string reseted in control regions 901, in the case where ensureing that reducing treated any character of the 4th character string is greater than or equal to first preset value, if the length of the 4th character string is less than or equal to the length for reseting control regions 901, it then will treated that the 4th character string is shown centered on resets in control regions 901 described by the target.
It, will treated that the display of the 4th character string branch is reseted in control regions described by the target if the length by the target treated the 4th character string is greater than the length for reseting control regions.
Continuing with shown in Fig. 9, the length by the target treated the 4th character string be greater than it is described reset the length of control regions 901 in the case where, it is shown in Fig. 9 that display pattern 905 is jumped to by display pattern 900, in display pattern 905, diminution processing is carried out to the 4th character string reseted in control regions 901, in the case where ensureing that reducing treated any character of the 4th character string is greater than or equal to first preset value, reducing that treated, the 4th character string branch display is reseted in control regions 901 described.
In this kind of set-up mode, the 4th character string uniline display area may further determine that, wherein the length of the uniline display area of the 4th character string is greater than the length for reseting control regions positioned at the third place.
Specifically, reseting control regions and can extend to the edge direction of the display positioned at the third place, and the uniline display area of the 4th character string and the distance between the edge of display screen of terminal device are greater than or equal to 0, specific value is in the present embodiment without limitation.
Specifically, known to shown in Fig. 9, in display pattern 900, if length when the 4th character string uniline is shown is greater than the length L3 for reseting control regions 901, display pattern 906 is then jumped to by display pattern 900, in the display pattern 906, the terminal device determines the 4th character string uniline display area 907.
In the present embodiment, the length L2 of the 4th character string uniline display area 907 is greater than described reset The length L3 of control regions 901.
In the present embodiment, if the length of the 4th character string is less than or equal to the length of the 4th character string uniline display area 907, then the 4th character string uniline is shown in the 4th character string uniline display area 907, if the length of the 4th character string is greater than the length of the 4th character string uniline display area 907, the 4th character string branch is shown in the 4th character string uniline display area 907.
Optionally, the 4th character string being shown in the 4th character string uniline display area 907 can be the character string for having been subjected to the character string of the target processing or handling without the target.
Known to shown in this kind of situation, because being expanded the length of control regions shown in the prior art, so that longer character string can be shown by reseting control regions shown in the present embodiment, it can be avoided to be located at the character string line feed reseted in control regions or reduce shown in the present embodiment and be located at the line number for reseting the character string in control regions, to reduce the number of the truncation of a string, the efficiency of user's reading character string is improved.
Another situation is, if the control regions of reseting are located at the third place, and be located at the described of the third place and reset control regions and meet the first condition, with being located at the adjacent control regions of reseting of control regions are reseted described in the third place meet second condition.
In the present embodiment, the third place is positioned at the subregion marginal position, it is to reset control regions positioned at the subregion marginal position positioned at the control regions of reseting of the third place, for shown in Figure 10, control regions 1001 are reseted positioned at control regions are reseted described in the third place and reset control regions 1002.
This kind of situation is illustrated for being located at and reseting control regions 1001 described in the third place, wherein the left edge position reseted control regions 1001 and be located at the subregion.
Wherein, positioned at reseting control regions 1002 described in the third place, the position reseted control regions 1002 and be located at the right hand edge of the subregion, then it is located at the display mode for reseting the character string in control regions 1002, it please be detailed in and be located at the display mode for reseting the character string in control regions 1001, not repeat them here in the present embodiment specifically.
Also need it is clear that, the present embodiment to be located at it is described reset control regions 1001 and reset the number for reseting control regions between control regions 1002 without limitation, the present embodiment by it is described reset control regions 1001 and reset be provided between control regions 1,002 one reset control regions 1003 for carry out example Property explanation.
This kind of situation is illustrated for being located at and reseting control regions 1001 described in the third place, wherein the left edge position reseted control regions 1001 and be located at the subregion.
Wherein, positioned at reseting control regions 1002 described in the third place, the position reseted control regions 1002 and be located at the right hand edge of the subregion, then it is located at the display mode for reseting the character string in control regions 1002, it please be detailed in and be located at the display mode for reseting the character string in control regions 1001, not repeat them here in the present embodiment specifically.
In this kind of scene, to be located at the length for reseting the 4th character string in control regions 1001 described in the third place greater than the length of reseting for reseting control regions 1001, and the length for reseting the 5th character string in control regions 1003 for being located at the 4th position be less than it is described reset control regions 1003 reset length for, wherein, the 4th position is the position adjacent with the third place.
In this kind of situation, second preset mode can are as follows:
4th character string is shown in a manner of at least line inscribed symbol string, and the distance between any row character string at least a line character string and the 5th character string are greater than or equal to second preset value, and the distance between edge of any row character string and display screen at least a line character string is greater than or equal to third preset value.
Specifically, shown in display pattern 1000 as shown in Figure 10, the 4th character string in the control regions 1001 of the third place can not completely show that length when that is, described 4th character string uniline is shown is greater than the length L3 for reseting control regions 1001 in described reset in control regions 1001.
Determine the 4th character string uniline display area, wherein, the length of the uniline display area of 4th character string is greater than the length for reseting control regions positioned at the third place, and the distance between the uniline display area of the 4th character string and the 5th character string are greater than or equal to the distance between the uniline display area of second preset value and/or the 4th character string and the edge of the display and are greater than or equal to second preset value.
Specifically, known to shown in Figure 10, in display pattern 1000, if length when the 4th character string uniline is shown is greater than the length L3 for reseting control regions 1001, display pattern 1004 is then jumped to by display pattern 1000, in the display pattern 1004, the terminal device determines the 4th character string uniline display area 1005.
4th character string uniline display area 1005 is positioned at reseting control described in the third place The both ends in region 1001 extend respectively to the edge direction of the display screen and the 5th character string to be formed, the 4th character string uniline display area 1005 be positioned at reseted described in the third place control regions 1001 to the 5th character string extend with formed or the 4th character string uniline display area 1005 be positioned at reseted described in the third place control regions 1001 to the edge direction of the display screen extend to be formed.
Without limitation to the extending direction of the 4th character string uniline display area 1005, the present embodiment is extended to the edge direction of the display screen and the 5th character string by the 4th character string uniline display area 1005 from the both ends for reseting control regions 1001 respectively to be illustrated the present embodiment for being formed:
As shown in Figure 10, the length L4 of 4th character string uniline display area 1005 is greater than L3, and the 4th character string uniline display area 1005 is greater than or equal to the second preset value T1 with the distance between described described 5th character string reseted in control regions 1003 is located at, and the distance between the 4th character string uniline display area 1005 and the edge of the display screen are greater than or equal to the third preset value T2.
The distance between 4th character string uniline display area 1005 shown in the present embodiment and the edge of the display screen are greater than or equal to the third preset value, and the third preset value is greater than or equal to 0 any number.
As it can be seen that the 4th character string shown in the present embodiment can be reseted in control regions 1001 described respectively to the movement of the direction at the 5th character string and the edge of the display screen after align center.
In the present embodiment, the detailed process of the extension of the 4th character string uniline display area 1005 can are as follows:
In the present embodiment, the 4th character string uniline display area 1005 respectively can be equal to the distance that both sides extend, can also be unequal.
Specifically, if during the 4th character string uniline display area 1005 uniformly extends to both sides, if the length of the 4th character string uniline display area 1005 is greater than or equal to the length that the 4th character string uniline is shown, the 4th character string uniline display area 1005 no longer extends to both sides;
If during the 4th character string uniline display area 1005 extends to the 5th character string and the display platen edge, the distance between 4th character string uniline display area 1005 and the 5th character string are equal to second preset value, and the 4th character string uniline display area 1005 and the display The edge of screen is greater than the third preset value, then the 4th character string uniline display area 1005 no longer extends to the 5th character string direction, but extend to the edge direction of the display screen, until the length of the 4th character string uniline display area 1005 is greater than or equal to the distance between edge of the length that the 5th character string uniline is shown and/or the 4th character string uniline display area 1005 and the display screen and is equal to the third preset value;
If during the 4th character string uniline display area 1005 extends to the 5th character string and the display platen edge, the distance between 4th character string uniline display area 1005 and the edge of the display screen are equal to the third preset value, and the distance between the 4th character string uniline display area 1005 and the 5th character string are greater than second preset value, then the 4th character string uniline display area 1005 no longer extends to the edge direction of the display screen, but extend to the 5th character string direction, until the length of the 4th character string uniline display area 1005 is greater than or equal to the length that the 5th character string uniline is shown and/or the distance between the 4th character string uniline display area 1005 and the 5th character string direction are equal to second preset value.
The detailed process of display the 4th character string shown in the present embodiment are as follows:
Judge whether the length of the 4th character string is less than or equal to the length of the 4th character string uniline display area.
If so, being shown in a manner of uniline the 4th character string in the 4th character string uniline display area.
Specifically, shown in display pattern 1004 shown in Fig. 10, if the length of the 4th character string is less than or equal to the length L4 of the 4th character string uniline display area 1005, the 4th character string can be shown in a manner of uniline in the first character string uniline display area 1005.
If it is not, optional, a kind of mode can be to show the 4th character string in the 4th character string uniline display area in a manner of branch.
Specifically, shown in display pattern 1006 as shown in Figure 10, if the length of the 4th character string is greater than the length L4 of the 4th character string uniline display area 1005, it then can be by the 4th character string more than two rows or two rows to show in the 4th character string uniline display area 1005, so that the length of the 4th character string any row character string is less than or equal to the length L4 of fixed 4th character string uniline display area 1005, so that the distance between any row character string of the 4th character string and the 5th character string are greater than or equal to second preset value.
If not, it is also optional, another way is, the target processing is carried out to the 4th character string, if the length by the target treated the 4th character string is less than or equal to the length of the 4th character string uniline display area, it then will treated that the 4th character string uniline is shown in the 4th character string uniline display area by the target, if the length by the target treated the 4th character string is greater than the length of the 4th character string uniline display area, it then will be by the target treated the 4th character string branch display in the 4th character string uniline display area.
Specifically, shown in display pattern 1007 as shown in Figure 10, if the length of the 4th character string is greater than the length L4 of the 4th character string uniline display area 1005, can then target processing be carried out to the 4th character string, the detailed process of the target processing please be detailed in above-mentioned shown, specifically repeat no more, if being less than or equal to the length of the 4th character string uniline display area 1005 by the length for reducing treated the 4th character string, it then will treated that the 4th character string uniline is shown in the 4th character string uniline display area 1005 by the target, shown in display pattern 1008 as shown in Figure 10, if the length of the 4th character string is greater than the length L4 of the 4th character string uniline display area 1005, can then mesh be carried out to the 4th character string Mark processing, it, will be by the target treated the 4th character string branch display in the 4th character string uniline display area 1005 if being greater than the length of the 4th character string uniline display area 1005 by the length for reducing treated the 4th character string.
The length of 5th character string shown in the present embodiment is less than the length of reseting for reseting control regions that the 5th character string is located at, even if the 5th character string can also be shown meeting the uniline reseted described in the second condition and be not truncated in control regions so that the 4th character string extends to the 5th character string.
4th character string shown in the present embodiment can also extend to the edge direction of the display screen, to expand the length that the 4th character string uniline is shown as far as possible, further avoid or reduce the line number of the 4th character string.
The mode that is particularly shown of 4th character string and the 5th character string shown in the present embodiment can be as detailed above shown, does not repeat them here specifically.
Extend even if the present embodiment controls the 4th character string to the 5th character string and the edge direction of the display screen, also to ensure that the distance between the 4th character string and described 5th character string are greater than or equal to second preset value, and ensure that the distance between the 4th character string and the 5th character string are greater than or equal to second preset value, so that user effectively be avoided to obscure institute during reading State the 4th character string and the 5th character string, enabling a user to the 5th character string described in clearly described 4th String kernel is to be belonging respectively to the different character strings reseted in control regions, the misunderstanding in user's reading process is avoided, the accuracy rate in user's reading process is improved.
It is below being illustrated of how applying in concrete application scene to method shown in the present embodiment:
A kind of application scenarios are referring to Figure 1 shown in 1, Figure 12 and Figure 13, wherein, Figure 11 show exemplary diagram of the main interface of terminal device in Chinese use environment, Figure 12 show exemplary diagram of the main interface of terminal device in the use environment of Russian, and Figure 13 show the exemplary diagram using the main interface of the terminal device of method shown in the present embodiment in the use environment of Russian.
Wherein, shown in Figure 11 for showing a column subregion on the display screen of the terminal device, wherein the explanation of the specific structure of the subregion in detail as shown in Figure 3, does not repeat them here in this application scene specifically please.
Need it is clear that, this application scene by by Chinese use environment in terminal device be applied to Russian use environment in for illustrate, without limitation.
Also need it is clear that, to better understand this application scene, then by control regions and resets the boundaries of control regions shown in Figure 11 to Figure 13 and show, and in a particular application, control regions and the boundary for reseting control regions are the i.e. control regions and to reset the boundary of control regions be stealthy without display.
In this application scene, each control regions being shown in the main interface of terminal device display screen show icon, and title corresponding with icon has been shown centered on immediately below icon.
When by terminal device is applied to Russian shown in Figure 11 use environment, then title corresponding with icon will translate into Russian in each control regions, as shown in figure 12.
Known in conjunction with shown in Figure 11 and Figure 12, in different use environments, display mode in each control regions can change, specifically, in the use environment of Chinese, as shown in figure 11, character string in each control regions not will do it line feed display, then title corresponding with icon in each control regions is understood convenient for user, and because character string not will do it line feed, then improve the efficiency that user understands the meaning of character string in each control regions, but, when terminal device shown in Figure 11 is applied in the use environment of Russian, character string in most of control regions needs to carry out line feed and shows, such as in control regions 1201, it is that " Tencent н o в o с т и " is visible that the character string " Tencent's news " of Chinese, which translates into Russian, the character string of Russian is longer than control regions 120 1 length then needs the character string of Russian carrying out branch aobvious Show, because the truncation of character string is shown, then reduces the efficiency that user understands character string meaning.
In this application scene, will be in terminal device is applied to Russian shown in Figure 11 use environment, the terminal device can automatically reset the subregion, each control regions included by the subregion are rearranged into and reset control regions, wherein, control regions are rearranged into the detailed process for reseting control regions, please be detailed in shown in step 303 shown in Fig. 3, not repeated them here in this application scene specifically.
As it can be seen that the gap reseted between control regions described in two of arbitrary neighborhood is deleted in this application scene, to expand each length for reseting the interior region for being used to show character string of control regions.
Wherein, that control regions 1301 are reseted shown in Figure 13 is particularly shown mode, it please be detailed in the display mode that the 4th character string in control regions 1001 is reseted described in shown in Fig. 10 be located at, it is not repeated them here in this application scene specifically, that control regions 1302 are reseted shown in Figure 13 is particularly shown mode, it please be detailed in the display mode that the 5th character string in control regions 1003 is reseted described in shown in Fig. 10 be located at, it is not repeated them here in this application scene specifically, that control regions 1303 are reseted shown in Figure 13 is particularly shown mode, it please be detailed in the display mode that first character string in control regions 605 is reseted described in shown in Fig. 7 be located at, it is not repeated them here in this application scene specifically, that control regions 1304 are reseted shown in Figure 13 is particularly shown mode, it please be detailed in Shown in Figure 10, do not repeated them here in this application scene specifically.
Another application scenarios are see shown in Figure 14, Figure 15 and Figure 16, wherein, Figure 14 show exemplary diagram of the contact application of terminal device in English use environment, Figure 15 show exemplary diagram of the contact application of terminal device in the use environment of Portuguese, and Figure 16 show the exemplary diagram using the contact application of the terminal device of method shown in the present embodiment in the use environment of Portuguese.
Need it is clear that, this application scene by by English use environment in terminal device be applied to Portuguese use environment in for illustrate, without limitation.
Also need it is clear that, to better understand this application scene, then by control regions and resets the boundaries of control regions shown in Figure 14 to Figure 16 and show, and in a particular application, control regions and the boundary for reseting control regions are the i.e. control regions and to reset the boundary of control regions be stealthy without display.
In this application scene, each control regions being shown in contact application only show character string.
When by terminal device is applied to Portuguese shown in Figure 14 use environment, then in each controls region Character string in domain translates into Portuguese, as shown in figure 15.
Known in conjunction with shown in Figure 14 and Figure 15, in different use environments, display mode in each control regions can change, specifically, in the use environment of English, as shown in figure 14, character string in each control regions not will do it line feed display, then instruction representated by character string in each control regions is understood convenient for user, and because character string not will do it line feed, then improve the efficiency that user understands the meaning of character string in each control regions, but, when terminal device shown in Figure 14 is applied in the use environment of Portuguese, character string in most of control regions needs to carry out line feed and shows, such as in control regions 1401, it is that " De todas as chamadas " is visible that the character string " All Calls " of English, which translates into Portuguese, The character string of Portuguese is longer than the length of control regions 1401, then needs the character string of Portuguese carrying out branch to show, because the truncation of character string is shown, then reduce the efficiency that user understands character string meaning.
In this application scene, will be in terminal device is applied to Portuguese shown in Figure 14 use environment, the terminal device can automatically reset the subregion, each control regions included by the subregion are rearranged into and reset control regions, wherein, control regions are rearranged into the detailed process for reseting control regions, please be detailed in shown in step 303 shown in Fig. 3, not repeated them here in this application scene specifically.
As it can be seen that the gap reseted between control regions described in two of arbitrary neighborhood is deleted in this application scene, to expand each length for reseting the interior region for being used to show character string of control regions.
Wherein, that control regions 1601 are reseted shown in Figure 16 is particularly shown mode, it please be detailed in the display mode that the 4th character string in control regions 1001 is reseted described in shown in Fig. 10 be located at, it is not repeated them here in this application scene specifically, that control regions 1602 are reseted shown in Figure 16 is particularly shown mode, it please be detailed in the display mode that first character string in control regions 605 is reseted described in shown in Fig. 8 be located at, it is not repeated them here in this application scene specifically, that control regions 1603 are reseted shown in Figure 16 is particularly shown mode, please in detail as shown in Figure 10, it is not repeated them here in this application scene specifically.
Another application scenarios are see shown in Figure 17, Figure 18 and Figure 19, wherein, Figure 17 show exemplary diagram of the news application of terminal device in Chinese use environment, Figure 18 show exemplary diagram of the news application of terminal device in the use environment of Spanish, and Figure 19, which is shown, applies the exemplary diagram in the use environment of Spanish using the news application program of the terminal device of method shown in the present embodiment.
The present embodiment to news application by taking Tencent's news as an example, need it is clear that, the present embodiment is only illustrated by taking news application as an example, in a particular application, can be applied on the interface of any application.
Need it is clear that, this application scene by by Chinese use environment in terminal device be applied to Spanish use environment in for illustrate, without limitation.
Also need it is clear that, to better understand this application scene, then by control regions and resets the boundaries of control regions shown in Figure 17 to Figure 19 and show, and in a particular application, control regions and the boundary for reseting control regions are the i.e. control regions and to reset the boundary of control regions be stealthy without display.
In this application scene, each control regions being shown in news application only show character string.
When by terminal device is applied to Spanish shown in Figure 17 use environment, then the character string in each control regions translates into Spanish, as shown in figure 18.
As shown in figure 17, it include for showing the respectively navigation bar 1701 for navigating to news on the display interface of the news application, multiple control regions are shown on the navigation bar, shown character string is for navigating to certain types of news in each control regions, such as, user touches the character string for being located at control regions " amusement ", then news display field 1702 can show news corresponding with " amusement " type.
Known in conjunction with shown in Figure 17 and Figure 18, in different use environments, display mode in each control regions can change, specifically, in the use environment of Chinese, as shown in figure 17, character string in each control regions not will do it line feed display, then instruction representated by character string in each control regions is understood convenient for user, and because character string not will do it line feed, then improve the efficiency that user understands the meaning of character string in each control regions, but, when terminal device shown in Figure 17 is applied in the use environment of Spanish, character string in most of control regions needs to carry out line feed and shows, such as in control regions 1702, it is that " La ciencia y la tecnolog í a " is visible that the character string " science and technology " of Chinese, which translates into Spanish, west The character string of Ban Yawen is longer than the length of control regions 1703, then needs the character string of Spanish carrying out branch to show, because the truncation of character string is shown, then reduce the efficiency that user understands character string meaning.
In this application scene, will be in terminal device is applied to Spanish shown in Figure 17 use environment, the terminal device can automatically reset the subregion, each control regions included by the subregion are rearranged into and reset control regions, wherein, control regions are set again It is set to the detailed process for reseting control regions, please be detailed in shown in step 303 shown in Fig. 3, not repeated them here in this application scene specifically.
As it can be seen that the gap reseted between control regions described in two of arbitrary neighborhood is deleted in this application scene, to expand each length for reseting the interior region for being used to show character string of control regions.
Wherein, that control regions 1901 are reseted shown in Figure 19 is particularly shown mode, it please be detailed in the display mode that first character string in control regions 605 is reseted described in shown in Fig. 8 be located at, it is not repeated them here in this application scene specifically, that control regions 1902 are reseted shown in Figure 19 is particularly shown mode, please in detail as shown in Figure 10, it is not repeated them here in this application scene specifically.
It can be seen that, using method shown in the present embodiment, the display area of control regions can be reset to be formed and reset control regions, and the length for reseting control regions is greater than the length of the control regions, to improve the length for being able to carry out the region of character string display, if and being located at the length for reseting the character string in control regions and being greater than the length for reseting control regions, then the character string can extend at least side, and/or diminution processing can be carried out to the character string, it is located at the line number for reseting the character string in control regions so as to avoid being located at the character string line feed reseted in control regions or reduce, to reduce the number of the truncation of a string, improve the efficiency of user's reading character string.
It is illustrated below in conjunction with Figure 23 specific structure for being provided for the embodiments of the invention terminal device, terminal device shown in the present embodiment is for executing method shown in Fig. 3, terminal device shown in Figure 23 executes the detailed process of the method for display character string please in detail as shown in Figure 3, does not repeat them here in the present embodiment specifically.
The terminal device includes:
Receiving unit 231, information is controlled for receiving, the control information is used to indicate terminal device and is handled at least two control regions to be formed and meet at least two of first object condition and reset control regions, it is provided with the first interval at least two control regions between two control regions of display screen transverse direction arbitrary neighborhood, the first object condition is described at least two to reset to reset in control regions along two of the display screen transverse direction arbitrary neighborhood and be connected with each other between control regions;
First display unit 232 is shown on the display screen for reseting control regions for described at least two according to the control information;
Second display unit 233 any resets control for reset in control regions described at least two Part shows character string in region.
Specifically, second display unit 233 includes:
First determining module 2331, for determining that described at least two reset in control regions at least one included first object and reset control regions, wherein, the two sides that the first object resets control regions are provided with the second target and reset control regions, and the first object resets in control regions the length of the first included character string and is greater than the length that the first object resets control regions, the length that second target resets the second character string included in control regions is greater than the length that second target resets control regions;
First display module 2332, first character string that treated for will pass through target is shown with the display mode of at least line inscribed symbol string to be reseted in control regions in the first object, so that any row character string at least a line character string of first character string meets the second goal condition, the target processing is to carry out diminution processing to character string, and to reduce treated character string and be greater than or equal to the first preset value, second goal condition be the length of any row character string at least a line character string by the target treated first character string be less than or equal to that the first object resets control regions reset length, and the interval between any row character string and second character string at least a line character string of first character string is greater than or equal to the second preset value.
Specifically, second display unit 233 includes:
Second determining module 2333, for determining that described at least two reset in control regions at least one included first object and reset control regions, wherein, the length that the first object resets the first character string included in control regions is greater than the length that the first object resets control regions, the second target for reseting the first side of control regions positioned at the first object resets the length of the second character string in control regions less than the second length, second length be the second target positioned at the first side that the first object resets control regions reset control regions reset length, the length that the second target for reseting second side of control regions positioned at the first object resets the third character string in control regions is greater than third length, the third length is that second mesh of second side of control regions is reseted positioned at the first object What indicated weight set control regions resets length;
Third determining module 2334, for determining the first character string uniline display area, the first character string uniline display area is reseted control regions from the first object and is extended to second character string direction, so that the length of the first character string uniline display area is greater than the first object and resets controls region Length is reseted in domain, and the interval between the first character string uniline display area and second character string is greater than or equal to the second preset value;
Second display module 2335, for being shown first character string in the first character string uniline display area with the display mode of at least line inscribed symbol string, so that the length of any row character string at least a line character string of first character string resets length less than or equal to the first character string uniline display area.
Specifically, second display unit 233 includes:
4th determining module 2336, for determining that described at least two reset in control regions at least one included first object and reset control regions, wherein, the length that the first object resets the first character string included in control regions is greater than the length that the first object resets control regions, the second target for reseting the first side of control regions positioned at the first object resets the length of the second character string in control regions less than the second length, second length be the second target positioned at the first side that the first object resets control regions reset control regions reset length, the length that the second target for reseting second side of control regions positioned at the first object resets the third character string in control regions is less than third length, the third length is that second mesh of second side of control regions is reseted positioned at the first object What indicated weight set control regions resets length;
5th determining module 2337, for determining the first character string uniline display area, control regions are reseted from the first object and are extended to second character string and the third character string direction in the first character string uniline display area, so that the length of the first character string uniline display area is greater than the length of reseting that the first object resets control regions, and the interval between second character string and the third character string is greater than or equal to the second preset value respectively for the first character string uniline display area;
Third display module 2338, for being shown first character string in the first character string uniline display area with the display mode of at least line inscribed symbol string, so that the length of any row character string at least a line character string of first character string is less than or equal to the length of the first character string uniline display area.
Specifically, second display unit 233 includes:
4th display module 2339, treated for will pass through target, and first character string is shown in the first character string uniline display area with the display mode of at least line inscribed symbol string, target processing to reduce that treated that character string is greater than or equal to first is default to carry out diminution processing to character string Value.
Specifically, second display unit 233 includes:
6th determining module 23310, for determining that described at least two reset in control regions at least one included the 4th target and reset control regions, wherein, the length that 4th target resets the 4th character string included in control regions is greater than the length that the 4th target resets control regions, 4th target resets that control regions are located at the edge of display screen and the 5th target is reseted between control regions, and the length that the 5th target resets the 5th character string included in control regions is greater than the length that the 5th target resets control regions;
7th determining module 23311, for determining the 4th character string uniline display area, control regions are reseted from the 4th target and are extended to the edge direction of the display screen in the 4th character string uniline display area, so that the length of the 4th character string uniline display area is greater than the length of reseting that the 4th target resets control regions, and the interval between the 4th character string uniline display area and the edge of the display screen is greater than or equal to third preset value;
5th display module 23312, for being shown the 4th character string in the 4th character string uniline display area with the display mode of at least line inscribed symbol string, so that the length of any row character string at least a line character string of the 4th character string is less than or equal to the length of the 4th character string uniline display area.
Specifically, second display unit 233 includes:
8th determining module 23313, for determining that described at least two reset in control regions at least one included the 4th target and reset control regions, wherein, the length that 4th target resets the 4th character string included in control regions is greater than the length that the 4th target resets control regions, 4th target resets that control regions are located at the edge of display screen and the 5th target is reseted between control regions, and the length that the 5th target resets the 5th character string included in control regions is less than the length that the 5th target resets control regions;
9th determining module 23314, for determining the 4th character string uniline display area, control regions are reseted from the 4th target and are extended to the edge of the display screen and the 5th character string direction in the 4th character string uniline display area, so that the length of the 4th character string uniline display area is greater than the length of reseting that the 4th target resets control regions, and the interval between the 4th character string uniline display area and the edge of the display screen be greater than or equal to third preset value, the 4th character string with it is described Interval between 5th character string is greater than or equal to the second preset value;
6th display module 23315, for being shown the 4th character string in the 4th character string uniline display area with the display mode of at least line inscribed symbol string, so that the length of any row character string at least a line character string of the 4th character string is less than or equal to the length of the 4th character string uniline display area.
Specifically, second display unit 233 includes:
7th display module 23316, the 4th character string that treated for will pass through target is shown with the display mode of at least line inscribed symbol string to be reseted in control regions in the 4th target, so that the length of any row character string at least a line character string of the 4th character string is less than or equal to the length of reseting that the 4th target resets control regions, target processing to reduce that treated that character string is greater than or equal to the first preset value to carry out diminution processing to character string.
Using terminal device provided by the embodiment of the present invention, the terminal device can according to the control information be handled to be formed and meet at least two of first object condition and reset control regions at least two control regions, the first object condition is described at least two to reset to reset in control regions along two of the display screen transverse direction arbitrary neighborhood and be connected with each other between control regions, and character string is shown in control regions in any reset that described at least two reset in control regions.Make the length for reseting control regions greater than the length of the control regions using terminal device shown in the present embodiment, then the length for reseting the character string that control regions can be shown is greater than the length for the character string that the control regions can be shown, the line number for reseting character string shown by control regions can be effectively reduced, so that improving user reads the efficiency for reseting character string shown in control regions.
Figure 23 is illustrated the structure of terminal device from the angle of functional module, is illustrated as shown in connection with fig. 1 to the structure of the entity hardware point of view of terminal device further below.
The terminal device includes that one or more processors 203, memory 204, bus system and one or more programs, the processor 203 are connected with the memory 204 by the bus system;
Wherein one or more of programs are stored in the memory 204, and one or more of programs include instruction, the method that described instruction makes the terminal device execute display character string as shown in Figure 3 when being executed by the terminal device.
The detailed process that terminal device shown in the present embodiment executes the method for display character string does not repeat them here specifically please in detail as shown in Figure 3 in the present embodiment.
The specific structure of terminal device described in the present embodiment also can be found in shown in above-described embodiment, specifically repeat no more in the present embodiment.
Specifically, in the present embodiment, one or more of programs include instruction, the method that described instruction makes the terminal device execute display character string as shown in Figure 3 when being executed by terminal device, described instruction executes the detailed process of the method for the display character string please in detail as shown in Figure 3, specifically repeats no more in the present embodiment.
It is apparent to those skilled in the art that for convenience and simplicity of description, the specific work process of the system, apparatus, and unit of foregoing description can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method may be implemented in other ways.Such as, the apparatus embodiments described above are merely exemplary, such as, the division of the unit, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be combined or can be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed mutual coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, and component shown as a unit may or may not be physical unit, it can and it is in one place, or may be distributed over multiple network units.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
In addition, the functional units in various embodiments of the present invention may be integrated into one processing unit, it is also possible to each unit and physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated unit both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product, can store in a computer readable storage medium.Based on this understanding, substantially all or part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products technical solution of the present invention in other words, the computer software product is stored in a storage medium, it is used including some instructions so that a computer equipment (can be personal computer, take Business device or the network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), the various media that can store program code such as magnetic or disk.
The above, the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although the present invention is described in detail referring to the foregoing embodiments, those skilled in the art should understand that: it is still possible to modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;And these are modified or replaceed, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution.

Claims (18)

  1. A method of display character string characterized by comprising
    Receive control information, the control information is used to indicate terminal device and is handled at least two control regions to be formed and meet at least two of first object condition and reset control regions, it is provided with the first interval at least two control regions between two control regions of display screen transverse direction arbitrary neighborhood, the first object condition is described at least two to reset to reset in control regions along two of the display screen transverse direction arbitrary neighborhood and be connected with each other between control regions;
    Control regions are reseted by described at least two according to the control information to show on the display screen;
    Character string is shown in control regions in any reset that described at least two reset in control regions.
  2. The method according to claim 1, wherein any reset reseted in control regions described at least two shows that character string includes: in control regions
    Determine that described at least two reset in control regions at least one included first object and reset control regions, wherein, the two sides that the first object resets control regions are provided with the second target and reset control regions, and the first object resets in control regions the length of the first included character string and is greater than the length that the first object resets control regions, the length that second target resets the second character string included in control regions is greater than the length that second target resets control regions;
    It will be shown by target treated first character string with the display mode of at least line inscribed symbol string and be reseted in control regions in the first object, so that any row character string at least a line character string of first character string meets the second goal condition, the target processing is to carry out diminution processing to character string, and to reduce treated character string and be greater than or equal to the first preset value, second goal condition be the length of any row character string at least a line character string by the target treated first character string be less than or equal to that the first object resets control regions reset length, and the interval between any row character string and second character string at least a line character string of first character string is greater than or equal to the second preset value.
  3. The method according to claim 1, wherein any reset reseted in control regions described at least two shows that character string includes: in control regions
    Determine that described at least two reset in control regions at least one included first object and reset control regions, wherein, the length that the first object resets the first character string included in control regions is greater than the length that the first object resets control regions, resets the first of control regions positioned at the first object Second target of side resets the length of the second character string in control regions less than the second length, second length be the second target positioned at the first side that the first object resets control regions reset control regions reset length, the length that the second target for reseting second side of control regions positioned at the first object resets the third character string in control regions is greater than third length, the third length be second target of the second side for reseting control regions positioned at the first object reset control regions reset length;
    Determine the first character string uniline display area, control regions are reseted from the first object and are extended to second character string direction in the first character string uniline display area, so that the length of the first character string uniline display area is greater than the length of reseting that the first object resets control regions, and the interval between the first character string uniline display area and second character string is greater than or equal to the second preset value;
    First character string is shown in the first character string uniline display area with the display mode of at least line inscribed symbol string, so that the length of any row character string at least a line character string of first character string resets length less than or equal to the first character string uniline display area.
  4. The method according to claim 1, wherein any reset reseted in control regions described at least two shows that character string includes: in control regions
    Determine that described at least two reset in control regions at least one included first object and reset control regions, wherein, the length that the first object resets the first character string included in control regions is greater than the length that the first object resets control regions, the second target for reseting the first side of control regions positioned at the first object resets the length of the second character string in control regions less than the second length, second length be the second target positioned at the first side that the first object resets control regions reset control regions reset length, the length that the second target for reseting second side of control regions positioned at the first object resets the third character string in control regions is less than third length, the third length be second target of the second side for reseting control regions positioned at the first object reset control regions reset length;
    Determine the first character string uniline display area, control regions are reseted from the first object and are extended to second character string and the third character string direction in the first character string uniline display area, so that the length of the first character string uniline display area is greater than the length of reseting that the first object resets control regions, and the interval between second character string and the third character string is greater than or equal to the second preset value respectively for the first character string uniline display area;
    First character string is shown with the display mode of at least line inscribed symbol string in first character string In uniline display area, so that the length of any row character string at least a line character string of first character string is less than or equal to the length of the first character string uniline display area.
  5. The method according to claim 3 or 4, which is characterized in that described that first character string is shown in the first character string uniline display area with the display mode of at least line inscribed symbol string and included:
    It will be shown in the first character string uniline display area by target treated first character string with the display mode of at least line inscribed symbol string, target processing to reduce that treated that character string is greater than or equal to the first preset value to carry out diminution processing to character string.
  6. The method according to claim 1, wherein any reset reseted in control regions described at least two shows that character string includes: in control regions
    Determine that described at least two reset in control regions at least one included the 4th target and reset control regions, wherein, the length that 4th target resets the 4th character string included in control regions is greater than the length that the 4th target resets control regions, 4th target resets that control regions are located at the edge of display screen and the 5th target is reseted between control regions, and the length that the 5th target resets the 5th character string included in control regions is greater than the length that the 5th target resets control regions;
    Determine the 4th character string uniline display area, control regions are reseted from the 4th target and are extended to the edge direction of the display screen in the 4th character string uniline display area, so that the length of the 4th character string uniline display area is greater than the length of reseting that the 4th target resets control regions, and the interval between the 4th character string uniline display area and the edge of the display screen is greater than or equal to third preset value;
    4th character string is shown in the 4th character string uniline display area with the display mode of at least line inscribed symbol string, so that the length of any row character string at least a line character string of the 4th character string is less than or equal to the length of the 4th character string uniline display area.
  7. The method according to claim 1, wherein any reset reseted in control regions described at least two shows that character string includes: in control regions
    Determine that described at least two reset in control regions at least one included the 4th target and reset control regions, wherein, the length that 4th target resets the 4th character string included in control regions is greater than the length that the 4th target resets control regions, 4th target resets that control regions are located at the edge of display screen and the 5th target is reseted between control regions, and the 5th target is reseted included in control regions The length of the 5th character string be less than the 5th target and reset the length of control regions;
    Determine the 4th character string uniline display area, control regions are reseted from the 4th target and are extended to the edge of the display screen and the 5th character string direction in the 4th character string uniline display area, so that the length of the 4th character string uniline display area is greater than the length of reseting that the 4th target resets control regions, and the interval between the 4th character string uniline display area and the edge of the display screen is greater than or equal to third preset value, the interval between the 4th character string and the 5th character string is greater than or equal to the second preset value;
    4th character string is shown in the 4th character string uniline display area with the display mode of at least line inscribed symbol string, so that the length of any row character string at least a line character string of the 4th character string is less than or equal to the length of the 4th character string uniline display area.
  8. Method according to claim 6 or 7, which is characterized in that described that 4th character string is shown in the 4th character string uniline display area with the display mode of at least line inscribed symbol string and included:
    It will be shown by target treated the 4th character string with the display mode of at least line inscribed symbol string and be reseted in control regions in the 4th target, so that the length of any row character string at least a line character string of the 4th character string is less than or equal to the length of reseting that the 4th target resets control regions, target processing to reduce that treated that character string is greater than or equal to the first preset value to carry out diminution processing to character string.
  9. A kind of terminal device characterized by comprising
    Receiving unit, information is controlled for receiving, the control information is used to indicate terminal device and is handled at least two control regions to be formed and meet at least two of first object condition and reset control regions, it is provided with the first interval at least two control regions between two control regions of display screen transverse direction arbitrary neighborhood, the first object condition is described at least two to reset to reset in control regions along two of the display screen transverse direction arbitrary neighborhood and be connected with each other between control regions;
    First display unit is shown on the display screen for reseting control regions for described at least two according to the control information;
    Second display unit, any reset for reseting in control regions described at least two show character string in control regions.
  10. Terminal device according to claim 9, which is characterized in that second display unit Include:
    First determining module, for determining that described at least two reset in control regions at least one included first object and reset control regions, wherein, the two sides that the first object resets control regions are provided with the second target and reset control regions, and the first object resets in control regions the length of the first included character string and is greater than the length that the first object resets control regions, the length that second target resets the second character string included in control regions is greater than the length that second target resets control regions;
    First display module, first character string that treated for will pass through target is shown with the display mode of at least line inscribed symbol string to be reseted in control regions in the first object, so that any row character string at least a line character string of first character string meets the second goal condition, the target processing is to carry out diminution processing to character string, and to reduce treated character string and be greater than or equal to the first preset value, second goal condition be the length of any row character string at least a line character string by the target treated first character string be less than or equal to that the first object resets control regions reset length, and the interval between any row character string and second character string at least a line character string of first character string is greater than or equal to the second preset value.
  11. Terminal device according to claim 9, which is characterized in that second display unit includes:
    Second determining module, for determining that described at least two reset in control regions at least one included first object and reset control regions, wherein, the length that the first object resets the first character string included in control regions is greater than the length that the first object resets control regions, the second target for reseting the first side of control regions positioned at the first object resets the length of the second character string in control regions less than the second length, second length be the second target positioned at the first side that the first object resets control regions reset control regions reset length, the length that the second target for reseting second side of control regions positioned at the first object resets the third character string in control regions is greater than third length, the third length is that second target of the second side for reseting control regions positioned at the first object resets control Reset length in part region;
    Third determining module, for determining the first character string uniline display area, control regions are reseted from the first object and are extended to second character string direction in the first character string uniline display area, so that the length of the first character string uniline display area is greater than the length of reseting that the first object resets control regions, and the interval between the first character string uniline display area and second character string is big In or equal to the second preset value;
    Second display module, for being shown first character string in the first character string uniline display area with the display mode of at least line inscribed symbol string, so that the length of any row character string at least a line character string of first character string resets length less than or equal to the first character string uniline display area.
  12. Terminal device according to claim 9, which is characterized in that second display unit includes:
    4th determining module, for determining that described at least two reset in control regions at least one included first object and reset control regions, wherein, the length that the first object resets the first character string included in control regions is greater than the length that the first object resets control regions, the second target for reseting the first side of control regions positioned at the first object resets the length of the second character string in control regions less than the second length, second length be the second target positioned at the first side that the first object resets control regions reset control regions reset length, the length that the second target for reseting second side of control regions positioned at the first object resets the third character string in control regions is less than third length, the third length is that second target of the second side for reseting control regions positioned at the first object resets control Reset length in part region;
    5th determining module, for determining the first character string uniline display area, control regions are reseted from the first object and are extended to second character string and the third character string direction in the first character string uniline display area, so that the length of the first character string uniline display area is greater than the length of reseting that the first object resets control regions, and the interval between second character string and the third character string is greater than or equal to the second preset value respectively for the first character string uniline display area;
    Third display module, for being shown first character string in the first character string uniline display area with the display mode of at least line inscribed symbol string, so that the length of any row character string at least a line character string of first character string is less than or equal to the length of the first character string uniline display area.
  13. Terminal device according to claim 11 or 12, which is characterized in that second display unit includes:
    4th display module, treated for will pass through target, and first character string show in the first character string uniline display area that the target processing is pair with the display mode of at least line inscribed symbol string Character string carries out diminution processing, and to reduce treated character string and be greater than or equal to the first preset value.
  14. Terminal device according to claim 9, which is characterized in that second display unit includes:
    6th determining module, for determining that described at least two reset in control regions at least one included the 4th target and reset control regions, wherein, the length that 4th target resets the 4th character string included in control regions is greater than the length that the 4th target resets control regions, 4th target resets that control regions are located at the edge of display screen and the 5th target is reseted between control regions, and the length that the 5th target resets the 5th character string included in control regions is greater than the length that the 5th target resets control regions;
    7th determining module, for determining the 4th character string uniline display area, control regions are reseted from the 4th target and are extended to the edge direction of the display screen in the 4th character string uniline display area, so that the length of the 4th character string uniline display area is greater than the length of reseting that the 4th target resets control regions, and the interval between the 4th character string uniline display area and the edge of the display screen is greater than or equal to third preset value;
    5th display module, for being shown the 4th character string in the 4th character string uniline display area with the display mode of at least line inscribed symbol string, so that the length of any row character string at least a line character string of the 4th character string is less than or equal to the length of the 4th character string uniline display area.
  15. Terminal device according to claim 9, which is characterized in that second display unit includes:
    8th determining module, for determining that described at least two reset in control regions at least one included the 4th target and reset control regions, wherein, the length that 4th target resets the 4th character string included in control regions is greater than the length that the 4th target resets control regions, 4th target resets that control regions are located at the edge of display screen and the 5th target is reseted between control regions, and the length that the 5th target resets the 5th character string included in control regions is less than the length that the 5th target resets control regions;
    9th determining module, for determining the 4th character string uniline display area, the 4th character string uniline display area is reseted control regions from the 4th target and is extended to the edge of the display screen and the 5th character string direction, so that the length of the 4th character string uniline display area is greater than the described 4th What target reseted control regions resets length, and the interval between the 4th character string uniline display area and the edge of the display screen is greater than or equal to third preset value, the interval between the 4th character string and the 5th character string is greater than or equal to the second preset value;
    6th display module, for being shown the 4th character string in the 4th character string uniline display area with the display mode of at least line inscribed symbol string, so that the length of any row character string at least a line character string of the 4th character string is less than or equal to the length of the 4th character string uniline display area.
  16. Terminal device according to claim 14 or 15, which is characterized in that second display unit includes:
    7th display module, the 4th character string that treated for will pass through target is shown with the display mode of at least line inscribed symbol string to be reseted in control regions in the 4th target, so that the length of any row character string at least a line character string of the 4th character string is less than or equal to the length of reseting that the 4th target resets control regions, target processing to reduce that treated that character string is greater than or equal to the first preset value to carry out diminution processing to character string.
  17. A kind of terminal device characterized by comprising
    One or more processors, memory, bus system and one or more programs, the processor are connected with the memory by the bus system;
    Wherein one or more of programs are stored in the memory, and one or more of programs include instruction, and described instruction makes the terminal device execute method as claimed in any one of claims 1 to 8 when being executed by the terminal device.
  18. A kind of computer readable storage medium storing one or more programs, which is characterized in that one or more of programs include instruction, and described instruction makes the terminal device execute method as claimed in any one of claims 1 to 8 when being executed by terminal device.
CN201680075893.3A 2016-10-12 2016-10-12 Method for displaying character string and terminal equipment Active CN108541311B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2016/101904 WO2018068232A1 (en) 2016-10-12 2016-10-12 Character string display method and terminal device

Publications (2)

Publication Number Publication Date
CN108541311A true CN108541311A (en) 2018-09-14
CN108541311B CN108541311B (en) 2020-11-17

Family

ID=61905015

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201680075893.3A Active CN108541311B (en) 2016-10-12 2016-10-12 Method for displaying character string and terminal equipment

Country Status (8)

Country Link
US (1) US10942621B2 (en)
EP (1) EP3522007B1 (en)
JP (1) JP6801852B2 (en)
KR (1) KR20190065398A (en)
CN (1) CN108541311B (en)
AU (1) AU2016426446B2 (en)
HK (1) HK1250575A1 (en)
WO (1) WO2018068232A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111143012A (en) * 2019-12-27 2020-05-12 珠海市魅族科技有限公司 Method, device, equipment and storage medium for completely displaying display elements

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
USD991966S1 (en) * 2021-01-08 2023-07-11 Samsung Electronics Co., Ltd. Display screen or portion thereof with graphical user interface

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050055635A1 (en) * 2003-07-17 2005-03-10 Microsoft Corporation System and methods for facilitating adaptive grid-based document layout
CN105389083A (en) * 2015-10-29 2016-03-09 小米科技有限责任公司 Large font implementation method and apparatus, and intelligent terminal
CN105608084A (en) * 2014-11-14 2016-05-25 北大方正集团有限公司 Regulation method and device of webpage page layout
CN105975264A (en) * 2016-04-29 2016-09-28 乐视控股(北京)有限公司 Implementation method and device of character control

Family Cites Families (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH04278992A (en) 1991-03-07 1992-10-05 Fuji Xerox Co Ltd Character string display method
JP3367282B2 (en) * 1995-06-01 2003-01-14 富士ゼロックス株式会社 Screen input interface device for image forming apparatus
JPH10222333A (en) 1997-02-07 1998-08-21 Canon Inc Display device, display method and storage medium
US6380940B1 (en) 1999-07-30 2002-04-30 Curl Corporation Processing graphical objects having origins defined with elasticity
WO2001065351A1 (en) 2000-03-01 2001-09-07 Tenkey Rabbit System Co., Ltd. Information retrieval/transmission method and recording medium recording program instructing procedure for information retrieval/transmission
US7353457B2 (en) * 2003-06-30 2008-04-01 Sap Ag Graphical access to data objects
US7370284B2 (en) 2003-11-18 2008-05-06 Laszlo Systems, Inc. User interface for displaying multiple applications
US20080059877A1 (en) 2006-08-29 2008-03-06 David Brookler Method for automatically adjusting the components of a screen region to maintain layout integrity in multiple languages
JP5379382B2 (en) * 2008-01-25 2013-12-25 任天堂株式会社 Display control program, display control device, display control system, and display control method
US20100146444A1 (en) 2008-12-05 2010-06-10 Microsoft Corporation Motion Adaptive User Interface Service
JP5470860B2 (en) 2009-01-09 2014-04-16 株式会社リコー Display control apparatus, program, and computer-readable recording medium
US8484562B2 (en) * 2010-06-25 2013-07-09 Apple Inc. Dynamic text adjustment in a user interface element
CN102207870B (en) 2011-06-08 2014-04-23 广东威创视讯科技股份有限公司 Adaptive method and system for multi-language version interface
CN103064578B (en) 2011-10-24 2017-09-29 联想(北京)有限公司 A kind of display methods and terminal device
US9026928B2 (en) 2012-06-06 2015-05-05 Apple Inc. Graphical user interface layout
KR102039553B1 (en) * 2012-08-31 2019-11-01 삼성전자 주식회사 Method and apparatus for providing intelligent service using inputted character in a user device
JP2014063439A (en) 2012-09-24 2014-04-10 Canon Inc Plotting processor and method for controlling the same
US9817794B2 (en) * 2013-06-13 2017-11-14 Sap Se Responsive rendering of data sets
CN103473302A (en) 2013-09-09 2013-12-25 百度在线网络技术(北京)有限公司 Lock screen information display method, device and system
CN103699632B (en) 2013-12-23 2017-09-08 深圳开立生物医疗科技股份有限公司 A kind of UI Method for text detection and device
CN104133615B (en) 2014-07-30 2018-03-09 深圳市金立通信设备有限公司 A kind of processing method of terminal screen lock interface
CN104184896A (en) 2014-08-26 2014-12-03 深圳市英威诺科技有限公司 Main interface locking and content displaying technical method
CN105786308A (en) 2014-12-26 2016-07-20 阿里巴巴集团控股有限公司 Character string display method and apparatus
JP6332083B2 (en) 2015-03-06 2018-05-30 京セラドキュメントソリューションズ株式会社 Image forming apparatus and character display method in image forming apparatus
CN105824633A (en) 2016-03-16 2016-08-03 北京小米移动软件有限公司 Multi-language resource switching method and device of application program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050055635A1 (en) * 2003-07-17 2005-03-10 Microsoft Corporation System and methods for facilitating adaptive grid-based document layout
CN105608084A (en) * 2014-11-14 2016-05-25 北大方正集团有限公司 Regulation method and device of webpage page layout
CN105389083A (en) * 2015-10-29 2016-03-09 小米科技有限责任公司 Large font implementation method and apparatus, and intelligent terminal
CN105975264A (en) * 2016-04-29 2016-09-28 乐视控股(北京)有限公司 Implementation method and device of character control

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111143012A (en) * 2019-12-27 2020-05-12 珠海市魅族科技有限公司 Method, device, equipment and storage medium for completely displaying display elements
CN111143012B (en) * 2019-12-27 2023-11-07 珠海市魅族科技有限公司 Method, device, equipment and storage medium for completely displaying display elements

Also Published As

Publication number Publication date
WO2018068232A1 (en) 2018-04-19
CN108541311B (en) 2020-11-17
JP6801852B2 (en) 2020-12-16
EP3522007B1 (en) 2024-02-14
KR20190065398A (en) 2019-06-11
EP3522007A1 (en) 2019-08-07
EP3522007A4 (en) 2019-11-13
AU2016426446B2 (en) 2020-07-16
US10942621B2 (en) 2021-03-09
AU2016426446A1 (en) 2019-05-16
US20190324625A1 (en) 2019-10-24
HK1250575A1 (en) 2018-12-28
JP2020504346A (en) 2020-02-06

Similar Documents

Publication Publication Date Title
JP6976329B2 (en) Object display method, terminal device, and computer storage medium
EP2990930B1 (en) Scraped information providing method and apparatus
US10353571B2 (en) Method and apparatus for preventing touchscreen misoperation
US11765557B2 (en) Short message processing method and apparatus, and electronic device
CN107870666B (en) Terminal control method and terminal
WO2015007187A1 (en) Method, device and storage medium for providing data statistics
CN108475156A (en) A kind of menu display method and handheld terminal of user interface
CN108984095A (en) gesture interaction method, device, storage medium and electronic equipment
CN109634696A (en) A kind of method and terminal device showing multiple content cards
EP2874063A2 (en) Method and apparatus for allocating computing resources in touch-based mobile device
CN108475136A (en) A kind of fingerprint identification method and electronic equipment
CN104346276A (en) Method and device for software tests
EP3721327A1 (en) Dynamic interaction adaptation of a digital inking device
EP2869604A1 (en) Method, apparatus and device for processing a mobile terminal resource
CN108604161A (en) A kind of method, apparatus and terminal device of locking list object
CN108541311A (en) Show the method and terminal device of character string
CN107741839B (en) A kind of text display method and device based on text file reader
CN106293344A (en) A kind of method and apparatus that desktop icons are set
EP3410281B1 (en) Processing method and electronic device
CN108351683A (en) Message treatment method and mobile terminal
CN114721785B (en) Configuration method, device, equipment and storage medium of software application library of virtual machine
CN107294747B (en) KPI/KQI mode mining method and device for telecommunication network system
KR20150050882A (en) Multi language input method and multi language input apparatus thereof
CN106465219A (en) Network registration method and device
CN117806942A (en) Interface element processing method and device 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
GR01 Patent grant
GR01 Patent grant