CN108536407B - Text display method, device and mobile terminal - Google Patents
Text display method, device and mobile terminal Download PDFInfo
- Publication number
- CN108536407B CN108536407B CN201810175543.5A CN201810175543A CN108536407B CN 108536407 B CN108536407 B CN 108536407B CN 201810175543 A CN201810175543 A CN 201810175543A CN 108536407 B CN108536407 B CN 108536407B
- Authority
- CN
- China
- Prior art keywords
- display
- text information
- character
- function element
- display area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/14—Digital output to display device ; Cooperation and interconnection of the display device with other functional units
- G06F3/1407—General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Telephone Function (AREA)
Abstract
The embodiment of the present application discloses a kind of text display method, device and mobile terminal.The described method includes: obtaining text information to be shown in response to the instruction of display text information within the display area;When determining that the text information to be shown is shown in the display area, whether there is character display position identical as the position of the function element in the text information;If so, character display position in the text information is reset according to the position of the function element, so that character display position and the position of the function element are different in the text information;The text information for resetting display position is shown in the display area.The problem of this method improves the function element for dropping into display area, influences display effect in display area.
Description
Technical field
This application involves field of mobile terminals, eventually more particularly, to a kind of text display method, device and movement
End.
Background technique
Requirement with user to the display effect of mobile terminal is higher and higher.More mobile terminal manufacturers start to select
The area of display area in display screen is expanded, to realize the effect shielded, the visual experience of Lai Tisheng user comprehensively.For example, will show
Show regional expansion to the region of the elements such as setting front camera, in this case, the setting such as front camera is mobile whole
The element of end front end can drop into display screen in display area.Although such case can promote the area of display area, just
In the display effect that realization is shielded comprehensively, but the function elements such as the front camera of display area are dropped into, will lead to viewing area
Occurs irregular display area in domain, to influence the text display effect in display area.
Summary of the invention
In view of the above problems, present applicant proposes a kind of text display method, device and mobile terminals, are fallen into improving
To the function element of display area, the problem of influencing the display effect of display area.
In a first aspect, a kind of text display method provided by the present application, is applied to mobile terminal, the mobile terminal includes
Touching display screen is provided with function element in the display area of the touching display screen, which comprises in response to described
The instruction of display text information in display area, obtains text information to be shown;Determine that the text information to be shown is shown in
Whether there is character display position identical as the position of the function element when display area, in the text information;Such as
Fruit has, and according to the position of the function element, resets character display position in the text information, so that the text
Character display position and the position of the function element are different in information;It is shown in the display area and resets display
The text information of position.
Second aspect, a kind of textual display device provided by the present application run on mobile terminal, and the mobile terminal includes
Touching display screen, function element is provided in the display area of the touching display screen, and described device includes: that text information obtains
Unit obtains text information to be shown for the instruction in response to display text information within the display area;Character position
Whether determination unit when for determining that the text information to be shown is shown in the display area, has in the text information
Character display position is identical as the position of the function element;Character arrangements unit is used for the character position determination unit
When determination has character display position to be overlapped with the function element, according to the position of the function element, reset described
Character display position in text information so that in the text information character display position and the function element position
It is different;Text arrangement unit, for showing the text information for resetting display position in the display area.
The third aspect, this application provides a kind of mobile terminals, including one or more processors and memory;One
Or multiple programs, wherein one or more of programs are stored in the memory and are configured as by one or more
A processor executes, and one or more of programs are configured to carry out above-mentioned method.
Fourth aspect, a kind of computer-readable storage medium of the application, the computer-readable storage medium include
The program of storage, wherein execute above-mentioned method in described program operation.
A kind of text display method, device and mobile terminal provided by the present application, after obtaining text information to be shown, really
When the fixed text information to be shown is shown in the display area, whether have in the text information character display position with
The position of the function element is identical;If so, character display position in the text information is reset, so that the text
Character display position and the position of the function element are different in this information, to make the character shown in display area
It will not be overlapped and can not show because of the position with function element, so as to improve the front camera etc. for dropping into display area
Function element, the problem of influencing display effect in display area.
These aspects or other aspects of the application can more straightforward in the following description.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application, for
For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 shows a kind of schematic diagram of the setting of function element in a kind of text display method of the application proposition;
The schematic diagram of the setting of another function element in a kind of text display method proposed Fig. 2 shows the application;
Fig. 3 shows the schematic diagram of the setting of another function element in a kind of text display method of the application proposition;
Fig. 4 shows a kind of flow chart of text display method of the application proposition;
Fig. 5 shows a kind of signal that character is overlapped with function element in a kind of text display method of the application proposition
Figure;
Fig. 6 shows the signal that another character is overlapped with function element in a kind of text display method of the application proposition
Figure;
Fig. 7 shows another character surrounding showing around function element in a kind of text display method of the application proposition
It is intended to;
Fig. 8 shows another character in a kind of text display method of the application proposition and surround showing for function element up and down
It is intended to;
Fig. 9 shows the schematic diagram that visual character attribute is arranged in a kind of text display method of the application proposition;
Figure 10 shows the schematic diagram of non-screen mode toggle in a kind of text display method of the application proposition;
Figure 11 shows the flow chart of another text display method of the application proposition;
Figure 12 shows the schematic diagram of the mobile display position of the character in another text display method of the application proposition;
Figure 13 shows a kind of structural block diagram of image collecting device of the application proposition;
Figure 14 shows the structural block diagram of another image collecting device of the application proposition;
Figure 15 shows a kind of structural block diagram of mobile terminal of the application proposition;
Figure 16 shows the mobile terminal for executing the text display method according to the embodiment of the present application of the application
Structural block diagram.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall in the protection scope of this application.
The display screen usually effect played in the mobile terminals such as mobile phone, tablet computer is display text, picture, icon
Or the contents such as video.And along with the development of touch technology, display screen set by more and more mobile terminals is touch-control
Display screen, in the case where touching display screen is arranged, when detect user pull, click, double-click on touching display screen,
When the touch control operations such as sliding, the touch control operation of user can be responded.
As clarity and fineness of the user to displayed content require higher and higher, more mobile terminals uses
Larger-size touching display screen, to realize the display effect shielded comprehensively.But larger-size touching display screen is being set
In the process, it finds front camera set by mobile terminal front end, will affect touching close to function elements such as optical sensor, earpieces
The region that control display screen can expand to.
Usual mobile terminal includes front panel, rear cover and frame.In front plate include upper frontal region, middle part screen area and under
Portion key zone.In general, upper frontal region is provided with the function elements such as earpiece sound outlet hole and front camera, middle part screen area is provided with
Touching display screen, lower part key zone are provided with one to three physical buttons.And with the development of technology, lower part key zone is by gradually
Cancel, the physical button that lower part key zone is arranged in originally is substituted by the virtual key in touching display screen.
And the function elements such as earpiece sound outlet hole and front camera set by upper frontal region support the function of mobile phone
It is more important, it is not easy easily to cancel, so the display area of touching display screen is extended to the upper frontal region of covering with biggish
Difficulty.By some column research after, inventor discovery can in the display area of touching display screen providing holes, by upper frontal region
Mode in the function element concentrated setting to hole of setting realizes the display that the upper frontal region of script is extended to touching display screen
Region, to increase the area of display area, to realize the effect shielded comprehensively.Wherein, touching display screen include stacking cover board,
Touch-control sensor, front panel and backboard etc., then in the display area of touching display screen be arranged Kong Weicong cover board initially towards
Backboard extends.
But inventor's discovery drops into the elements such as the front camera of display area, will lead in display area and occurs
Irregular display area, to influence the display effect of display area.Therefore, it inventors herein proposes to improve in the application and drop into
The function element of display area, the text display method of the problem of influencing the display effect of display area, device and it is mobile eventually
End.
In this application, illustratively, function element can be the physical structures elements such as hole, or projecting subassembly,
Camera, close in optical sensor, earpiece, range sensor, environmental luminance sensor, temperature sensor, pressure sensor
At least one electronic component.When function element is hole, which be can be set on one or more edges of touch screen,
It can be set in the non-edge of touch screen, the shape in the hole can be semicircle, orthogonal rectangle, round rectangle, circle, rule
Polygon or irregular shape changeable etc..For example, the hole in addition to can be circle shown in Fig. 1 and setting position other than, can also
Think semicircle described in Fig. 2, and the top of display area is set.It can be with when function element 121 is hole, in the hole
Accommodate projecting subassembly, camera, close to optical sensor, earpiece, range sensor, environmental luminance sensor, temperature sensor,
At least one of pressure sensor electronic component.
It should be noted that the position of function element is not limited to Fig. 1 and position shown in Fig. 2, for example, as shown in figure 3,
The bottom of display area can also be set.
The text information being previously mentioned in the application is content included by text to be shown.Text to display is logical
It often include multiple characters, wherein the character includes Chinese, number, letter and symbol etc..Because there are function in display area
Energy device, then then might have the position of character display position and function element in display area when display text information
Set coincidence.It then can be to text when there is display position to be overlapped in text information with the position of function element as a kind of mode
The arrangement mode of information is reset, to adjust the display for the character that script display position is overlapped with the position of function element
Position.Further, it is also possible to which display area is divided into non-textual display area and text display area, wherein function element
In non-textual display area.
Present embodiments are specifically described below in conjunction with attached drawing.
Referring to Fig. 4, a kind of text display method provided by the present application, is applied to mobile terminal, the mobile terminal packet
Touching display screen is included, is provided with function element in the display area of the touching display screen, which comprises
Step S110: in response to the instruction of display text information within the display area, text information to be shown is obtained.
Interface shown by usual mobile terminal is generated by specific application program.And in different scenes
In, the application program for generating interface is different, for example, desktop is generated by system application, and text display interface is usually by text class
Application software generate.Correspondingly, the instruction of display text information can trigger in different scenes.For example, in desktop
When state, when mobile terminal detects that the icon of text display applications program after touch-control, is started text display application program,
It is then the instruction of the display text information under Desktop-scene.In this case, it is mobile after text display applications program is activated
Terminal then obtains will be in text information to display in the interface after text display applications program starts, then will be in text
Text information to display is text information to be shown in interface after showing application program launching.
Alternatively, text display applications program starting after, the instruction of display text information may be
Page-turning instruction or content update instruction triggered in text display applications program etc..Wherein, page-turning instruction for will with it is current
The content of the related next page of the current page content of display area is shown in display area.And content update instructs
It can be used for for the selected text being stored in local text or network of user being shown in display area, for example,
When text display applications program is browser, user clicks the content update instruction triggered after page title.
Step S120: when determining that the text information to be shown is shown in the display area, it is in the text information
It is no to have character display position identical as the position of the function element.
After getting text information to be shown, mobile terminal can first judge the display position for whether having character in text information
It sets and is overlapped with the function element.The position of function element in the display area of usual mobile terminal is fixed, mobile end
The location information of function element can be stored in advance in end, and mobile terminal renders included by text information in display area
When character, the start position information for starting to render character and the location information where each character can be also calculated.Based on function
The location information of character included by the location information and text information of device can calculate whether have character and function element weight
It closes.Wherein, location information can be calculated by way of establishing coordinate, for example, the upper left corner of display area is set as sitting
Origin is marked, the unit of transverse and longitudinal coordinate is set as pixel.
It is also possible to partially overlap it should be noted that character is overlapped to can be to be completely coincident with function element.For example,
In Fig. 5, the text of display is " ABCDEF ", and the display position and function element 121 of the last one " F " script are completely coincident.Such as
Shown in Fig. 6, the display position of the last one " F " script only has partial region and function element 121 to be overlapped in Fig. 6.
Step S130: if so, according to the position of the function element, the aobvious of character in the text information is reset
Show position, so that character display position and the position of the function element are different in the text information.
As a kind of mode, the text information is arranged in a manner of around the function element.Wherein, described
Mode around the function element includes: that surrounding surround or surround up and down.As shown in fig. 7, being a kind of mode that surrounding is circular.
Multiple " X " in Fig. 7 are character included by text information.In addition, in addition to surrounding shown in fig. 7 is surround, as shown in figure 8,
It can also surround up and down.
Step S140: the text information for resetting display position is shown in the display area.
After function element is set in display area, isolating for the continuation character for including in shown text information will cause
Sense.It will be in the text information as a kind of mode in the text information after the display area shows rearrangement
With a line and the display properties of the character adjacent with the function element is set as consistent.For example, in Fig. 9, display position 141
It is isolated out with display position 142 by function element 121, and adjacent with function element 121.Then in display position 141 and display
The font size of character at position 142 is identical, and is all larger than the font size of the character of other display positions, to increase through the above way
Continuous sense between the character isolated out by function element by force.
It should be noted that display properties other than font size, can also include color and font etc..
Step S150: if not having position phase of the character display position with the function element in the text information
Together, then the character that the text information includes is shown in the display area.
As a kind of mode, the display pattern of mobile terminal display area includes screen mode toggle and non-screen mode toggle.Complete
In screen mode, display area is used to character included by display text information.In non-screen mode toggle, as shown in Figure 10,
Display area is divided into non-textual display area 151 and text display area 152 by mobile terminal.Wherein, function element 121 exists
In non-textual display area 151.Text to display " 1, PX be Pixel abbreviation." it is shown in text display area 152
In.When then mobile terminal detects that current display mode is non-screen mode toggle, then judge there is no character in the text information
Display position is overlapped with the function element, and the character of text information to be shown is shown to text display area.
A kind of text display method provided by the present application after obtaining text information to be shown, determines the text to be shown
Whether character display position and the function element weight are had when information is shown in the display area, in the text information
It closes;If so, reset character display position in the text information so that in the text information character display position
Set it is different from the position of the function element, so as to make the character shown in display area will not because of with function element
Position is overlapped and can not show, so as to improve function elements such as the front cameras for dropping into display area, influences viewing area
In domain the problem of display effect.
Figure 11 is please referred to, a kind of text display method provided by the present application is applied to mobile terminal, the mobile terminal packet
Touching display screen is included, is provided with function element in the display area of the touching display screen, which comprises
Step S210: in response to the instruction of display text information within the display area, text information to be shown is obtained.
Step S220: when determining that the text information to be shown is shown in the display area, it is in the text information
It is no to have character display position identical as the position of the function element.
Step S230: if so, by the word identical with the position of the function element of display position in the text information
Symbol, is adjusted to show the position since the function element in the display area after present position, and successively postpone
Character display position after there is the character being overlapped in display position with the function element in the text information.
For example, as shown in figure 12, dotted line " F " is the display position of character F script in function element 121, and function element
The solid line " F " on 121 right sides is the display position where the character F after adjusting display position.And the character " G " after character " F " is then
It successively postpones to after " F ".
Wherein, after multiple character display position move back, being likely to result in current page can not show that adjustment is aobvious completely
Show the character of position.For example, to be shown in each page in the relatively-stationary interface of character of each page such as novel software
The character shown is fixed, and will not extend page length from below trend screen, is cut usually by way of page turning
It skips face.Then in order to improve the problem, when the text information can not be shown completely in the display area by detecting;Reduce
The font size of the font size of all characters or reduction last line character in the text information, to make after adjusting display position,
The text information can be shown in the display area completely.
Step S240: the text information for resetting display position is shown in the display area.
Figure 13 is please referred to, this application provides a kind of textual display devices 300, run on mobile terminal, described mobile whole
End includes touching display screen, is provided with function element in the display area of the touching display screen, described device 300 includes: text
This information acquisition unit 310, character position determination unit 320, character arrangements unit 330 and text arrangement unit 340.
Text information acquiring unit 310 is obtained for the instruction in response to display text information within the display area
Text information to be shown.
Character position determination unit 320, when for determining that the text information to be shown is shown in the display area, institute
Whether state in text information has character display position to be overlapped with the function element.
Character arrangements unit 330, for the character position determination unit 320 determine have character display position with it is described
When function element is overlapped, according to the position of the function element, rearrangement is carried out to the text information, so that the text
The character for not having display position to be overlapped in information with the function element.
Text arrangement unit 340, for the text information after the display area shows rearrangement.
Figure 14 is please referred to, this application provides a kind of textual display devices 400, run on mobile terminal, described mobile whole
End includes touching display screen, is provided with function element in the display area of the touching display screen, described device 300 includes: text
This information acquisition unit 410, character position determination unit 420, character display position mobile unit 430, character boundary adjustment are single
Member 440 and text arrangement unit 450.
Text information acquiring unit 410 is obtained for the instruction in response to display text information within the display area
Text information to be shown.
Character position determination unit 420, when for determining that the text information to be shown is shown in the display area, institute
Whether state in text information has character display position to be overlapped with the function element.
Character display position mobile unit 430: for character position determination unit 420 determine have character display position with
When the function element is overlapped, display position in the text information there is into the character being overlapped with the function element, is adjusted to
It is shown since position of the function element in the display area after present position, and the text envelope that successively postpones
Character display position after there is the character being overlapped in display position with the function element in breath.
Character boundary adjustment unit 440 can not show the text envelope for that ought detect completely in the display area
When breath;Reduce the font size of all characters in the text information.
Text arrangement unit 450, for the text information after the display area shows rearrangement.
In conclusion a kind of text display method, device and mobile terminal provided by the present application, obtain text to be shown
After information, when determining that the text information to be shown is shown in the display area, whether there is character in the text information
Display position is overlapped with the function element;If so, carrying out weight to the text information according to the position of the function element
New arrangement, so that the character for not having display position to be overlapped in the text information with the function element, to make viewing area
The character shown in domain will not be overlapped because of the position with function element and can not show, so as to improve display area is dropped into
The function elements such as front camera, the problem of influencing display effect in display area.
A kind of mobile terminal provided by the present application is illustrated below in conjunction with Figure 15 and Figure 16.
Figure 15 is please referred to, based on above-mentioned text display method, device, the embodiment of the present application also provides one kind and can execute
The mobile terminal 100 of aforementioned texts display methods.Mobile terminal 100 includes electronic body portion 10, and the electronic body portion 10 is wrapped
The first screen 120 for including shell 12 and being arranged on the shell 12.Metal, such as steel, aluminium alloy can be used in the shell 12
It is made.In the present embodiment, first screen 120 generally includes display panel 111, may also comprise for responding to the display
The circuit etc. of the progress touch control operation of panel 111.The display panel 111 can be a liquid crystal display panel (Liquid
Crystal Display, LCD), in some embodiments, the display panel 111 is a touching display screen 109 simultaneously.Its
In, a function element 112 is provided in touching display screen 109.
As shown in figure 16, in actual application scenarios, the mobile terminal 100, which can be used as intelligent mobile phone terminal, to be made
With, in this case the electronic body portion 10 also typically include one or more (one is only shown in figure) processors 102,
Memory 104, RF (Radio Frequency, radio frequency) module 106, voicefrequency circuit 110, sensor 114, input module 118,
Power module 132.It will appreciated by the skilled person that the application does not cause the structure in the electronic body portion 10
It limits.For example, the electronic body portion 10 may also include than more perhaps less component as shown in the figure or have in figure
Shown different configuration.
It will appreciated by the skilled person that every other component belongs to for the processor 102
It is coupled between peripheral hardware, the processor 102 and these peripheral hardwares by multiple Peripheral Interfaces 124.The Peripheral Interface 124 can
Based on following standard implementation: Universal Asynchronous Receive/sending device (Universal Asynchronous Receiver/
Transmitter, UART), universal input/output (General Purpose Input Output, GPIO), serial peripheral connect
Mouthful (Serial Peripheral Interface, SPI), internal integrated circuit (Inter-Integrated Circuit,
I2C), but it is not limited to above-mentioned standard.In some instances, the Peripheral Interface 124 can only include bus;In other examples
In, the Peripheral Interface 124 may also include other elements, such as one or more controller, such as connecting the display
The display controller of panel 111 or storage control for connecting memory.In addition, these controllers can also be from described
It detaches, and is integrated in the processor 102 or in corresponding peripheral hardware in Peripheral Interface 124.
The memory 104 can be used for storing software program and module, and the processor 102 is stored in institute by operation
The software program and module in memory 104 are stated, thereby executing various function application and data processing.The memory
104 may include high speed random access memory, may also include nonvolatile memory, and such as one or more magnetic storage device dodges
It deposits or other non-volatile solid state memories.In some instances, the memory 104 can further comprise relative to institute
The remotely located memory of processor 102 is stated, these remote memories can pass through network connection to the electronic body portion 10
Or first screen 120.The example of above-mentioned network includes but is not limited to internet, intranet, local area network, mobile communication
Net and combinations thereof.
The RF module 106 is used to receive and transmit electromagnetic wave, realizes the mutual conversion of electromagnetic wave and electric signal, thus
It is communicated with communication network or other equipment.The RF module 106 may include various existing for executing these functions
Circuit element, for example, antenna, RF transceiver, digital signal processor, encryption/deciphering chip, subscriber identity module
(SIM) card, memory etc..The RF module 106 can be carried out with various networks such as internet, intranet, wireless network
Communication is communicated by wireless network and other equipment.Above-mentioned wireless network may include cellular telephone networks, wireless
Local area network or Metropolitan Area Network (MAN).Various communication standards, agreement and technology can be used in above-mentioned wireless network, including but not limited to
Global system for mobile communications (Global System for Mobile Communication, GSM), enhanced mobile communication skill
Art (Enhanced Data GSM Environment, EDGE), Wideband CDMA Technology (wideband code
Division multiple access, W-CDMA), Code Division Multiple Access (Code division access, CDMA), time-division
Multiple access technology (time division multiple access, TDMA), adopting wireless fidelity technology (Wireless, Fidelity,
WiFi) (such as American Institute of Electrical and Electronics Engineers's standard IEEE 802.10A, IEEE 802.11b, IEEE802.11g and/
Or IEEE 802.11n), the networking telephone (Voice over internet protocal, VoIP), worldwide interoperability for microwave accesses
(Worldwide Interoperability for Microwave Access, Wi-Max), other be used for mail, Instant Messenger
The agreement and any other suitable communications protocol of news and short message, or even may include that those are not developed currently yet
Agreement.
Voicefrequency circuit 110, loudspeaker 101, sound plugging function device 103, microphone 105 provide user and the electricity jointly
Audio interface between sub- body part 10 or first screen 120.Specifically, the voicefrequency circuit 110 is from the processor
Voice data is received at 102, voice data is converted into electric signal, by electric signal transmission to the loudspeaker 101.The loudspeaking
Device 101 converts electrical signals to the sound wave that human ear can be heard.The voicefrequency circuit 110 receives electricity also from the microphone 105
Signal converts electrical signals to voice data, and gives the processor 102 further to be located data transmission in network telephony
Reason.Audio data can obtain from the memory 104 or through the RF module 106.In addition, audio data can also be with
It stores into the memory 104 or is sent by the RF module 106.
The setting of sensor 114 is in the electronic body portion 10 or in first screen 120, the sensor
114 example includes but is not limited to: optical sensor, operation sensor, pressure sensor, infrared heat sensor, Distance-sensing
Device, gravity accelerometer and other sensors.Wherein, when function element 112 is hole, the range sensor can
To be arranged in hole.
Specifically, the optical sensor may include light sensor 114F, pressure sensor 114G.Wherein, pressure sensing
Device 114G can detecte the sensor by pressing the pressure generated in mobile terminal 100.That is, pressure sensor 114G detection by with
The pressure that contact between family and mobile terminal or pressing generate, for example, by between the ear and mobile terminal of user contact or
Press the pressure generated.Therefore, whether pressure sensor 114G may be used to determine occurs between user and mobile terminal 100
The size of contact or pressing and pressure.
Referring to Figure 15, specifically in the embodiment shown in fig. 15, when function element 112 is hole, the light
It sensor 114F and may be provided in hole.The light sensor 114F can be when there is object close to first screen 120, example
When being moved in one's ear such as the electronic body portion 10, the processor 102 closes display output.
As a kind of motion sensor, gravity accelerometer can detect in all directions (generally three axis) and accelerate
The size of degree can detect that size and the direction of gravity when static, can be used to identify the application of 100 posture of mobile terminal
(such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc..
In addition, the electronic body portion 10 can also configure the other sensors such as gyroscope, barometer, hygrometer, thermometer, herein no longer
It repeats,
In the present embodiment, the input module 118 may include the touch screen being arranged on first screen 120
109, the touch screen 109 collects the touch operation of user on it or nearby, and (for example user is any using finger, stylus etc.
Operation of the suitable object or attachment on the touch screen 109 or near the touch screen 109), and according to presetting
The corresponding attachment device of driven by program.Optionally, the touch screen 109 may include touch detecting apparatus and touch controller.
Wherein, the touch orientation of the touch detecting apparatus detection user, and touch operation bring signal is detected, it transmits a signal to
The touch controller;The touch controller receives touch information from the touch detecting apparatus, and by the touch information
It is converted into contact coordinate, then gives the processor 102, and order that the processor 102 is sent can be received and executed.
Furthermore, it is possible to realize the touching of the touch screen 109 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves
Touch detection function.In addition to the touch screen 109, in other change embodiments, the input module 118 can also include it
His input equipment, such as key.The key for example may include the character keys for inputting character, and for triggering control function
The control button of energy.The example of the control button includes " returning to main screen " key, power on/off key etc..
The information and the electronics that first screen 120 is used to show information input by user, is supplied to user
The various graphical user interface of body part 10, these graphical user interface can by figure, text, icon, number, video and its
Any combination is constituted, in an example, the touch screen 109 may be disposed on the display panel 111 to it is described
Display panel 111 constitutes an entirety.
The power module 132 is used to provide power supply to the processor 102 and other each components.Specifically,
The power module 132 may include power-supply management system, one or more power supply (such as battery or alternating current), charging circuit,
Power-fail detection circuit, inverter, indicator of the power supply status and any other with the electronic body portion 10 or described the
The generation, management of electric power and the relevant component of distribution in one screen 120.
The mobile terminal 100 further includes locator 119, and the locator 119 is for determining 100 institute of mobile terminal
The physical location at place.In the present embodiment, the locator 119 realizes the positioning of the mobile terminal 100 using positioning service,
The positioning service, it should be understood that the location information of the mobile terminal 100 is obtained by specific location technology (as passed through
Latitude coordinate), it is marked on the electronic map by the technology or service of the position of positioning object.
It should be understood that above-mentioned mobile terminal 100 is not limited to intelligent mobile phone terminal, should refer to can moved
Computer equipment used in dynamic.Specifically, mobile terminal 100, refers to the mobile computer for being equipped with intelligent operating system
Equipment, mobile terminal 100 include but is not limited to smart phone, smartwatch, tablet computer, etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the present application, the meaning of " plurality " is at least two, such as two, three
It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be by the application
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings
Interconnecting piece (mobile terminal), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory
(ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk is read-only deposits
Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other are suitable
Medium, because can then be edited, be interpreted or when necessary with it for example by carrying out optical scanner to paper or other media
His suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.In addition, in each embodiment of the application
In each functional unit can integrate in a processing module, be also possible to each unit and physically exist alone, can also two
A or more than two units are integrated in a module.Above-mentioned integrated module both can take the form of hardware realization, can also
It is realized in the form of using software function module.If the integrated module realized in the form of software function module and as
Independent product when selling or using, also can store in a computer readable storage medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
Embodiments herein is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the application
System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of application
Type.
Finally, it should be noted that above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although
The application is described in detail with reference to the foregoing embodiments, those skilled in the art are when understanding: it still can be with
It modifies the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;And
These are modified or replaceed, do not drive corresponding technical solution essence be detached from each embodiment technical solution of the application spirit and
Range.
Claims (10)
1. a kind of text display method, which is characterized in that it is applied to mobile terminal, the mobile terminal includes touching display screen,
It is provided with hole in the display area of the touching display screen, is provided with function element in the hole, which comprises
In response to the instruction of display text information within the display area, text information to be shown is obtained;
When determining that the text information to be shown is shown in the display area, whether there is the display of character in the text information
Position is identical as the position of the function element;
If so, the position of the function element according to the pre-stored data, resets the display of character in the text information
Position, so that character display position and the position of the function element are different in the text information;
The text information for resetting display position is shown in the display area.
2. the method according to claim 1, wherein the position according to the function element, resets
Character display position includes: in the text information
According to the position of the function element, the text information is provided around the function element and is shown.
3. according to the method described in claim 2, it is characterized in that, the mode around the function element includes: surrounding
It surround or surround up and down.
4. the method according to claim 1, wherein the position according to the function element, resets
Character display position includes: in the text information
The character identical with the position of the function element of display position in the text information is adjusted to from the effector
Position of the part in the display area after present position starts to show, and display position in the text information of successively postponing
Character display position after having the character being overlapped with the function element.
5. according to the method described in claim 4, it is characterized in that, in the text information of successively postponing display position with
The function element had after the step of character display position after the character of coincidence, further includes:
When the text information can not be shown completely in the display area by detecting;
Reduce the font size of all characters in the text information.
6. the method according to claim 1, wherein the text after the display area shows rearrangement
The step of this information includes:
The display area show rearrangement after text information, and will in the text information in a line and with institute
The display properties for stating the adjacent character of function element is set as consistent.
7. method according to any one of claims 1 to 6, which is characterized in that the method also includes:
If there is no character display position to be overlapped in the text information with the function element, in the display area
Show the character that the text information includes.
8. a kind of textual display device, which is characterized in that mobile terminal is run on, the mobile terminal includes touching display screen,
It is provided with hole in the display area of the touching display screen, function element is provided in the hole, described device includes:
Text information acquiring unit obtains to be shown for the instruction in response to display text information within the display area
Text information;
Character position determination unit, when for determining that the text information to be shown is shown in the display area, the text
Whether there is character display position identical as the position of the function element in information;
Character arrangements unit has character display position and the function element weight for character position determination unit determination
When conjunction, the position of the function element according to the pre-stored data resets character display position in the text information, with
Keep character display position and the position of the function element in the text information different;
Text arrangement unit, for showing the text information for resetting display position in the display area.
9. a kind of mobile terminal, which is characterized in that including one or more processors and memory;
One or more programs, wherein one or more of programs are stored in the memory and are configured as by described
One or more processors execute, and one or more of programs are configured to carry out method as claimed in claim 1 to 7.
10. a kind of computer readable storage medium for the program code that can be performed with processor, which is characterized in that the calculating
Machine read/write memory medium includes the program of storage, wherein in described program operation, perform claim requires 1-7 any described
Method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810175543.5A CN108536407B (en) | 2018-03-02 | 2018-03-02 | Text display method, device and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810175543.5A CN108536407B (en) | 2018-03-02 | 2018-03-02 | Text display method, device and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108536407A CN108536407A (en) | 2018-09-14 |
CN108536407B true CN108536407B (en) | 2019-09-10 |
Family
ID=63486355
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810175543.5A Active CN108536407B (en) | 2018-03-02 | 2018-03-02 | Text display method, device and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108536407B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110007995B (en) * | 2019-03-29 | 2021-10-22 | 联想(北京)有限公司 | Information processing method, electronic equipment and computer storage medium |
CN111221951B (en) * | 2020-01-03 | 2021-05-28 | 北京字节跳动网络技术有限公司 | Text processing method and device |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106843692A (en) * | 2012-08-30 | 2017-06-13 | 中兴通讯股份有限公司 | Characters by touch screen display methods and device |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20140030379A (en) * | 2012-08-27 | 2014-03-12 | 삼성전자주식회사 | Method for providing guide in terminal and terminal thereof |
CN106020612B (en) * | 2016-05-25 | 2019-02-15 | 维沃移动通信(杭州)有限公司 | A kind of data display method and mobile terminal |
CN106293205B (en) * | 2016-07-29 | 2019-10-08 | 努比亚技术有限公司 | A kind of screen spot reply devices and methods therefor |
CN107256234B (en) * | 2017-05-18 | 2018-12-07 | 腾讯科技(深圳)有限公司 | A kind of web page text method of adjustment and its equipment |
CN107528972B (en) * | 2017-08-11 | 2020-04-24 | 维沃移动通信有限公司 | Display method and mobile terminal |
CN107729298A (en) * | 2017-10-31 | 2018-02-23 | 努比亚技术有限公司 | Screen occlusion area processing method, mobile terminal and computer-readable recording medium |
-
2018
- 2018-03-02 CN CN201810175543.5A patent/CN108536407B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106843692A (en) * | 2012-08-30 | 2017-06-13 | 中兴通讯股份有限公司 | Characters by touch screen display methods and device |
Also Published As
Publication number | Publication date |
---|---|
CN108536407A (en) | 2018-09-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108513070B (en) | Image processing method, mobile terminal and computer readable storage medium | |
CN108664190B (en) | Page display method, device, mobile terminal and storage medium | |
CN115525383B (en) | Wallpaper display method and device, mobile terminal and storage medium | |
CN108234875A (en) | Shoot display methods, device, mobile terminal and storage medium | |
CN108664475A (en) | Translate display methods, device, mobile terminal and storage medium | |
CN108228025A (en) | message display method, device, mobile terminal and storage medium | |
CN108710456A (en) | Application icon processing method, device and mobile terminal | |
CN108512997B (en) | Display method, display device, mobile terminal and storage medium | |
CN109120841A (en) | Camera control method, device, mobile terminal and storage medium | |
EP3742769B1 (en) | Service processing method and mobile communication terminal | |
CN109407948B (en) | Interface display method and mobile terminal | |
WO2019233316A1 (en) | Data processing method and device, mobile terminal, and storage medium | |
CN108965691A (en) | Camera control method, device, mobile terminal and storage medium | |
CN108833769A (en) | Shoot display methods, device, mobile terminal and storage medium | |
CN108762466A (en) | Display methods, device, mobile terminal and storage medium | |
CN109901761B (en) | Content display method and mobile terminal | |
CN108255674A (en) | multi-process browser process log collecting method, device and mobile terminal | |
CN108804628B (en) | Picture display method and terminal | |
CN109104521A (en) | Bearing calibration, device, mobile terminal and the storage medium of proximity state | |
CN110221882A (en) | Display methods, device, mobile terminal and storage medium | |
CN110825474B (en) | Interface display method and device and electronic equipment | |
CN108664205A (en) | Method for information display, device, mobile terminal and storage medium | |
CN108536407B (en) | Text display method, device and mobile terminal | |
CN109672845B (en) | Video call method and device and mobile terminal | |
CN110221736B (en) | Icon processing method and device, mobile terminal 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 | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant after: OPPO Guangdong Mobile Communications Co., Ltd. Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong Applicant before: Guangdong OPPO Mobile Communications Co., Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |