Summary of the invention
Disclosure embodiment provides a kind of method adjusting text importing and device. Described technical scheme is as follows:
First aspect according to disclosure embodiment, it is provided that a kind of method adjusting text importing, for terminal, the method includes:
When the content that described terminal is currently displaying is content of text, determine whether described terminal is currently in mobile environment by the gravity sensor arranged in described terminal;
When described terminal is in mobile environment, adjust the display parameters of the word of described content of text;
Described content of text after display adjustment.
Optionally, described display parameters at least include one or more in the font size of word, font and stroke weight.
By gravity sensor, the technical program detects whether terminal is in mobile environment automatically, and in a mobile environment, adjust the display parameters of the word of the currently displaying content of text of terminal, the display parameters of currently displaying word can be adjusted the adaptive mobile environment according to terminal, as one or more in the font size of word, font and stroke weight being adjusted display, with the reading environment that better adaptation is presently in, to improve user's reading experience to word.
Optionally, when described display parameters include font size, the display parameters of the word of the described content of text of described adjustment, including:
The font size of the word of described content of text is adjusted to predetermined font size.
Optionally, when described display parameters include font, the display parameters of the word of the described content of text of described adjustment, including:
The word of described content of text is adjusted to predetermined font.
Optionally, when described display parameters include stroke weight, the display parameters of the word of the described content of text of described adjustment, including:
Undertaken adding bulk processing by the word of described content of text.
In the technical program, when terminal is in mobile environment, can by one or more in the adjustment display font size of word, font and stroke weight, as strengthened display font size, one or more mode in amendment display font and overstriking display word, with improve terminal in being in mobile environment text importing can be readability, improve user's reading experience under mobile status.
Optionally, described method also includes:
When described terminal stops mobile, recover the display parameters of word of described content of text to the state before adjusting.
In the technical program, when terminal stops mobile, then recovering content of text is the state before adjusting, and self adaptation carries out showing under varying environment state the switching adjustment of word.
Second aspect according to disclosure embodiment, it is provided that a kind of device adjusting text importing, for terminal, this device includes:
Detection module, is configured as described terminal currently displaying content when being content of text, determines whether described terminal is currently in mobile environment by the gravity sensor arranged in described terminal;
Display adjusting module, is configured as described terminal when being in mobile environment, adjusts the display parameters of the word of described content of text;
Display module, is display configured to the described content of text after adjusting.
Optionally, described display parameters at least include one or more in the font size of word, font and stroke weight.
By gravity sensor, the technical program detects whether terminal is in mobile environment automatically, and in a mobile environment, adjust the display parameters of the word of the currently displaying content of text of terminal, the display parameters of currently displaying word can be adjusted the adaptive mobile environment according to terminal, as one or more in the font size of word, font and stroke weight being adjusted display, with the reading environment that better adaptation is presently in, to improve user's reading experience to word.
Optionally, described display adjusting module, it is configured as described display parameters when including font size, the font size of the word of described content of text is adjusted to predetermined font size.
Optionally, described display adjusting module, it is configured as described display parameters when including font, the word of described content of text is adjusted to predetermined font.
Optionally, described display adjusting module, it is configured as described display parameters when including stroke weight, is undertaken adding bulk processing by the word of described content of text.
In the technical program, when terminal is in mobile environment, can by one or more in the adjustment display font size of word, font and stroke weight, as strengthened display font size, one or more mode in amendment display font and overstriking display word, with improve terminal in being in mobile environment text importing can be readability, improve user's reading experience under mobile status.
Optionally, described device also includes: recover to arrange module, is configured as described terminal when stopping mobile, recovers the display parameters of word of described content of text to the state before adjusting.
In the technical program, when terminal stops mobile, then recovering content of text is the state before adjusting, and self adaptation carries out showing under varying environment state the switching adjustment of word.
The third aspect according to disclosure embodiment, it is provided that a kind of device adjusting text importing, including:
Processor;
For storing the memorizer of the executable instruction of processor;
Wherein, processor is configured to:
When the content that described terminal is currently displaying is content of text, determine whether described terminal is currently in mobile environment by the gravity sensor arranged in described terminal;
When described terminal is in mobile environment, adjust the display parameters of the word of described content of text;
Described content of text after display adjustment.
The technical scheme that disclosure embodiment provides can include following beneficial effect:
By gravity sensor, the technical program detects whether terminal is in mobile environment automatically, and in a mobile environment, adjust the display parameters of the word of the currently displaying content of text of terminal, the display parameters of currently displaying word can be adjusted the adaptive mobile environment according to terminal, as one or more in the font size of word, font and stroke weight being adjusted display, with the reading environment that better adaptation is presently in, to improve user's reading experience to word.
It should be appreciated that it is only exemplary and explanatory that above general description and details hereinafter describe, the disclosure can not be limited.
Detailed description of the invention
Here in detail exemplary embodiment being illustrated, its example representation is in the accompanying drawings. When as explained below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represents same or analogous key element. Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure. On the contrary, they only with in appended claims describe in detail, the disclosure some in the example of consistent apparatus and method.
Fig. 1 is a kind of method flow diagram adjusting text importing according to an exemplary embodiment, and the method for this adjustment text importing is applied in terminal, for instance the electronic display unit such as mobile phone or panel computer. Referring to Fig. 1, the method for this adjustment text importing can include following several step:
In a step 101, when the content that terminal is currently displaying is content of text, determine whether terminal is currently in mobile environment by the gravity sensor arranged in terminal.
In a step 102, when terminal is in mobile environment, adjust the display parameters of the word of described content of text.
In step 103, the described content of text after display adjustment.
In sum, by gravity sensor, the technical program detects whether terminal is in mobile environment automatically, and in a mobile environment, adjust the display parameters of the word of the currently displaying content of text of terminal, the display parameters of currently displaying word can be adjusted the adaptive mobile environment according to terminal, as one or more in the font size of word, font and stroke weight being adjusted display, with the reading environment that better adaptation is presently in, to improve user's reading experience to word.
Fig. 2 is a kind of method flow diagram adjusting text importing according to another exemplary embodiment, and the method for this adjustment text importing is applied to terminal, for instance the electronic display unit such as mobile phone or panel computer. Referring to Fig. 2, the method for this adjustment text importing can include following several step:
In step 201, when the content that terminal is currently displaying is content of text, determine whether terminal is currently in mobile environment by the gravity sensor arranged in terminal.
Determine when terminal is presently at mobile environment, perform step 202;
Determine that terminal is currently not when being in mobile environment, then continue executing with step 201.
The technical program can be come to determine whether terminal is in mobile environment by the gravity sensor arranged in terminal at predetermined intervals, this interval can be configured according to practical situation, such as half an hour, one hour or two hours, this was not done too much restriction by the present embodiment.
In step 202., when terminal is in mobile environment, adjust the display parameters of the word of described content of text.
In the technical program, described display parameters at least include one or more in the font size of word, font and stroke weight.
By gravity sensor, the technical program detects whether terminal is in mobile environment automatically, and in a mobile environment, adjust the display parameters of the word of the currently displaying content of text of terminal, the display parameters of currently displaying word can be adjusted the adaptive mobile environment according to terminal, as one or more in the font size of word, font and stroke weight being adjusted display, with the reading environment that better adaptation is presently in, to improve user's reading experience to word.
Optionally, when described display parameters include font size, the display parameters of the word of the described content of text of described adjustment, it is possible to including:
The font size of the word of described content of text is adjusted to predetermined font size. Here, the display font size of terminal word most suitably used under mobile environment state can be preset, so, when determining that terminal is in mobile environment, the font size of the word of currently displaying content of text just can be adjusted to the font size being best suited under this mobile environment, improve user's word read under mobile status and experience.
Optionally, when described display parameters include font, the display parameters of the word of the described content of text of described adjustment, including:
The word of described content of text is adjusted to predetermined font. Here, the display font of terminal word most suitably used under mobile environment state can be preset, so, when determining that terminal is in mobile environment, the font of the word of currently displaying content of text just can be adjusted to the font being best suited under this mobile environment, improve user's word read under mobile status and experience.
Optionally, when described display parameters include stroke weight, the display parameters of the word of the described content of text of described adjustment, including:
Undertaken adding bulk processing by the word of described content of text. Here, when determining that terminal is under mobile environment, it is possible to undertaken adding bulk processing by the word of content of text currently displaying for terminal, to improve user's word read experience under mobile status.
In the technical program, can according to actual situation come setting terminal be in mobile environment time, one or more parameters in the font size of word of currently displaying content of text, font and text importing thickness are adjusted, and this is not done specific restriction by disclosure embodiment.
In the technical program, when terminal is in mobile environment, can by one or more in the adjustment display font size of word, font and stroke weight, as strengthened display font size, one or more mode in amendment display font and overstriking display word, with improve terminal in being in mobile environment text importing can be readability, improve user's reading experience under mobile status.
In step 203, the described content of text after display adjustment.
In step 204, when terminal stops mobile, recover the display parameters of word of described content of text to the state before adjusting.
In the technical program, when terminal stops mobile, then recovering content of text is the state before adjusting, and self adaptation carries out showing under varying environment state the switching adjustment of word.
The applied environment that the technical program can be suitable for includes: user is when walking, the situation of text reading is carried out when taking subway or bus, adopt the technical program, the gravity sensor arranged in terminal can be adopted to automatically detect whether active user's used terminal is in mobile environment, if user is when walking, text reading is carried out when taking subway or bus, once detect that the reading environment of user is mobile environment, just can the parameter of the adaptive word that terminal is currently displaying be adjusted, as strengthened display font size, overstriking shows one or more in word and amendment display font, currently displaying literal state is made to be adaptable to current mobile environment, experience user's reading experience under mobile environment state.
In sum, by gravity sensor, the technical program detects whether terminal is in mobile environment automatically, and in a mobile environment, adjust the display parameters of the word of the currently displaying content of text of terminal, the display parameters of currently displaying word can be adjusted the adaptive mobile environment according to terminal, as one or more in the font size of word, font and stroke weight being adjusted display, with the reading environment that better adaptation is presently in, to improve user's reading experience to word.
Following for disclosure device embodiment, it is possible to be used for performing method of disclosure embodiment. For the details not disclosed in disclosure device embodiment, refer to method of disclosure embodiment.
Fig. 3 is the block diagram of a kind of device 300 adjusting text importing according to an exemplary embodiment, the device 300 of this adjustment text importing can pass through software, hardware or both be implemented in combination with become the some or all of of terminal, this terminal can be mobile phone or panel computer etc. The device 300 of this adjustment text importing may include that
By the gravity sensor arranged in terminal, detection module 301, it is possible to be configured as terminal currently displaying content when being content of text, determines whether terminal is currently in mobile environment;
Display adjusting module 302, it is possible to be configured as terminal when being in mobile environment, adjust the display parameters of the word of described content of text;
Display module 303, it is possible to be display configured to the described content of text after adjusting.
In sum, by gravity sensor, the technical program detects whether terminal is in mobile environment automatically, and in a mobile environment, adjust the display parameters of the word of the currently displaying content of text of terminal, the display parameters of currently displaying word can be adjusted the adaptive mobile environment according to terminal, as one or more in the font size of word, font and stroke weight being adjusted display, with the reading environment that better adaptation is presently in, to improve user's reading experience to word.
Fig. 4 is the block diagram of a kind of device 400 adjusting text importing according to another exemplary embodiment, the device 400 of this adjustment text importing can pass through software, hardware or both be implemented in combination with become the some or all of of terminal, this terminal can be mobile phone. The device 400 of this adjustment text importing may include that
By the gravity sensor arranged in terminal, detection module 401, it is possible to be configured as terminal currently displaying content when being content of text, determines whether terminal is currently in mobile environment;
Display adjusting module 402, it is possible to be configured as terminal when being in mobile environment, adjust the display parameters of the word of described content of text;
Display module 403, it is possible to be display configured to the described content of text after adjusting.
Recover to arrange module 404, it is possible to be configured as terminal when stopping mobile, recover the display parameters of word of described content of text to the state before adjusting.
Optionally, described display parameters at least include one or more in the font size of word, font and stroke weight.
Optionally, display adjusting module 402, it is possible to be configured as described display parameters when including font size, the font size of the word of described content of text is adjusted to predetermined font size.
Optionally, display adjusting module 402, it is possible to be configured as described display parameters when including font, the word of described content of text is adjusted to predetermined font.
Optionally, display adjusting module 402, it is possible to be configured as display parameters when including stroke weight, undertaken adding bulk processing by the word of described content of text.
In the technical program, when terminal is in mobile environment, can by one or more in the adjustment display font size of word, font and stroke weight, as strengthened display font size, one or more mode in amendment display font and overstriking display word, with improve terminal in being in mobile environment text importing can be readability, improve user's reading experience under mobile status.
In sum, by gravity sensor, the technical program detects whether terminal is in mobile environment automatically, and in a mobile environment, adjust the display parameters of the word of the currently displaying content of text of terminal, the display parameters of currently displaying word can be adjusted the adaptive mobile environment according to terminal, as one or more in the font size of word, font and stroke weight being adjusted display, with the reading environment that better adaptation is presently in, to improve user's reading experience to word.
About the device in above-described embodiment, the concrete mode that wherein modules performs to operate has been described in detail in about the embodiment of the method, and explanation will be not set forth in detail herein.
Refer to Fig. 5, it illustrates the block diagram of a kind of device 500 for adjusting text importing shown in an exemplary embodiment. Such as, device 500 can be the terminal units such as mobile phone.
With reference to Fig. 5, device 500 can include following one or more assembly: processes assembly 502, memorizer 504, power supply module 506, multimedia groupware 508, audio-frequency assembly 510, input/output (I/O) interface 512, sensor cluster 514, and communications component 516.
Process assembly 502 and generally control the integrated operation of device 500, such as with display, call, data communication, the operation that camera operation and record operation are associated. Process assembly 502 and can include one or more processor 520 to perform instruction, to complete all or part of step of the method for above-mentioned adjustment text importing. Additionally, process assembly 502 can include one or more module, it is simple to what process between assembly 502 and other assemblies is mutual. Such as, process assembly 502 and can include multi-media module, with facilitate multimedia groupware 508 and process between assembly 502 mutual.
Memorizer 504 is configured to store various types of data to support operation on device 500. The example of these data includes the instruction of any application for operating on device 500 or method, contact data, telephone book data, message, picture, video etc.Memorizer 504 can be realized by any kind of volatibility or non-volatile memory device or their combination, such as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that power supply module 506 is device 500 provide electric power. Power supply module 506 can include power-supply management system, one or more power supplys, and other generate, manage and distribute, with for device 500, the assembly that electric power is associated.
Multimedia groupware 508 includes the screen providing an output interface between device 500 and user. In certain embodiments, screen can include liquid crystal display (LCD) and touch panel (TP). If screen includes touch panel, screen may be implemented as touch screen, to receive the input signal from user. Touch panel includes one or more touch sensor to sense the gesture on touch, slip and touch panel. Touch sensor can not only sense the border of touch or sliding action, but also detects the persistent period relevant to touch or slide and pressure. In certain embodiments, multimedia groupware 508 includes a front-facing camera and/or post-positioned pick-up head. When device 500 is in operator scheme, during such as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive the multi-medium data of outside. Each front-facing camera and post-positioned pick-up head can be a fixing optical lens system or have focal length and optical zoom ability.
Audio-frequency assembly 510 is configured to output and/or input audio signal. Such as, audio-frequency assembly 510 includes a mike (MIC), and when device 500 is in operator scheme, during such as call model, logging mode and speech recognition mode, mike is configured to receive external audio signal. The audio signal received can be further stored at memorizer 504 or send via communications component 516. In certain embodiments, audio-frequency assembly 510 also includes a speaker, is used for exporting audio signal.
I/O interface 512 provides interface for processing between assembly 502 and peripheral interface module, above-mentioned peripheral interface module can be keyboard, puts striking wheel, button etc. These buttons may include but be not limited to: home button, volume button, startup button and locking press button.
Sensor cluster 514 includes one or more sensor, for providing the state estimation of various aspects for device 500. Such as, what sensor cluster 514 can detect device 500 opens/closed mode, the relative localization of assembly, such as assembly is display and the keypad of device 500, the position change of all right detecting device 500 of sensor cluster 514 or 500 1 assemblies of device, the presence or absence that user contacts with device 500, the variations in temperature of device 500 orientation or acceleration/deceleration and device 500. Sensor cluster 514 can include proximity transducer, is configured to when not having any physical contact object near detection. Sensor cluster 514 can also include optical sensor, such as CMOS or ccd image sensor, for using in imaging applications. In certain embodiments, this sensor cluster 514 can also include acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 516 is configured to facilitate between device 500 and other equipment the communication of wired or wireless mode.Device 500 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or their combination. In one exemplary embodiment, communications component 516 receives the broadcast singal or the broadcast related information that manage system from external broadcasting via broadcast channel. In one exemplary embodiment, communications component 516 also includes near-field communication (NFC) module, to promote junction service. Such as, can based on RF identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 500 can be realized by one or more application specific integrated circuits (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components, for perform above-mentioned adjustment text importing method.
In the exemplary embodiment, a kind of non-transitory computer-readable recording medium including instruction is additionally provided, for instance include the memorizer 504 of instruction, the method that above-mentioned instruction can have been performed above-mentioned adjustment text importing by the processor 520 of device 500. Such as, non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
A kind of non-transitory computer-readable recording medium, when the instruction in storage medium is performed by the processor of device 500 so that device 500 be able to carry out above-mentioned adjustment text importing method.
It should be appreciated that the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and various amendment and change can carried out without departing from the scope. The scope of the present disclosure is only limited by appended claim.