CN110221897A - Character size adjusting method and device, terminal equipment and medium - Google Patents

Character size adjusting method and device, terminal equipment and medium Download PDF

Info

Publication number
CN110221897A
CN110221897A CN201910510477.7A CN201910510477A CN110221897A CN 110221897 A CN110221897 A CN 110221897A CN 201910510477 A CN201910510477 A CN 201910510477A CN 110221897 A CN110221897 A CN 110221897A
Authority
CN
China
Prior art keywords
character
distance
terminal screen
boundary
user object
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910510477.7A
Other languages
Chinese (zh)
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.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology 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 Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN201910510477.7A priority Critical patent/CN110221897A/en
Publication of CN110221897A publication Critical patent/CN110221897A/en
Pending legal-status Critical Current

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The invention is suitable for the technical field of mobile terminals, and provides a method, a device, terminal equipment and a medium for adjusting character size, wherein the method comprises the following steps: when a character adjusting event is triggered, detecting a real-time distance value between a first user object and a terminal screen; determining a distance induction interval to which the real-time distance value belongs; acquiring character format information corresponding to the distance sensing interval according to a pre-stored corresponding relation table; the corresponding relation table is used for recording the corresponding relation between each distance induction interval and the character format information; switching is performed on the character size of the terminal screen based on the character format information. The invention ensures that the size of the character displayed on the terminal screen can be adapted to the real-time control distance of the user object; in the process, the user can also realize the quick and dynamic adjustment of the character size without frequently entering the character size setting unit, the operation complexity of the user is reduced, and the intelligent degree of the terminal equipment in the character size adjusting process is improved.

Description

Adjusting method, device, terminal device and the medium of character boundary
Technical field
The invention belongs to technical field of mobile terminals more particularly to a kind of adjusting method of character boundary, device, terminal to set Standby and computer readable storage medium.
Background technique
With constantly bringing forth new ideas for science and technology, intelligent mobile terminal is also rapidly developed therewith.Currently, intelligent sliding Dynamic terminal user gradually increases, increasing using crowd's range.User increases eye to depending on unduly for intelligent mobile terminal The risk of eyeball disease reduces the eyesight of user.Since different terminal users has a different operating habits, between user Weak-eyed is away from also larger, and therefore, different user has different demands to character boundary shown by intelligent mobile terminal.
It in the prior art, is usually to be introduced into if user needs to adjust the character boundary of present terminal display interface The character boundary setting unit of terminal set interface, then carries out click selection to the size option needed for oneself again, thus real The switching of existing character boundary.However, the font size demand of user may change again under different environment, Therefore, handover operation back and forth can only be executed between Application Program Interface and character boundary set interface to adjust character Size.As it can be seen that existing character boundary regulative mode has that cumbersome degree is high and intelligence degree is lower.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of adjusting method of character boundary, device, terminal device and calculating Machine readable storage medium storing program for executing, to solve in the prior art, there are cumbersome degree height and intelligences for the regulative mode of character boundary The lower problem of degree.
The first aspect of the embodiment of the present invention provides a kind of adjusting method of character boundary, comprising:
When character, which adjusts event, to be triggered, the real-time range value of the first user object and terminal screen is detected;
Determine that distance perception belonging to the real-time range value answers section;
According to pre-stored mapping table, obtains the distance perception and answer character formatting information corresponding to section;It is described Mapping table is for recording the corresponding relationship that each distance perception answers section and character formatting information;
Based on the character formatting information, switching is executed to the character boundary of the terminal screen.
The second aspect of the embodiment of the present invention provides a kind of regulating device of character boundary, comprising:
Detection unit, for detecting the real-time of the first user object and terminal screen when character adjusts event and is triggered Distance value;
First determination unit, for determining that distance perception belonging to the real-time range value answers section;
First acquisition unit, for obtaining the distance perception and answering corresponding to section according to pre-stored mapping table Character formatting information;The mapping table is used to record each distance perception and section and the corresponding of character formatting information is answered to close System;
Switch unit executes switching to the character boundary of the terminal screen for being based on the character formatting information.
The third aspect of the embodiment of the present invention provides a kind of terminal device, including memory and processor, described to deposit Reservoir is stored with the computer program that can be run on the processor, and the processor is realized when executing the computer program The step of such as adjusting method of above-mentioned character boundary.
The fourth aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage Media storage has computer program, and the processor realizes the adjusting side such as above-mentioned character boundary when executing the computer program The step of method.
In the embodiment of the present invention, when character adjusts event and is triggered, by the reality for detecting user object and terminal screen When distance value, determine that a distance perception belonging to real-time range value answers section, and determine using pre-stored mapping table The corresponding character formatting information in section is answered with the distance perception, character boundary needed for enabling the terminal to automatic positioning user, and Based on the character formatting information come the automation regulation operation of execution character size, the character that ensure that terminal screen is shown is big It is small to be adapted with the real-time control distance of user object.During being somebody's turn to do, set in user without frequently entering character boundary Under the case where setting unit, it also can be realized and character size quickly and dynamically adjusted, reduce the cumbersome degree of user; And by one simply apart from adjustment movement realize font adjust, two levels of the preferred font size of auto-associating it is progressive Effect, be to kill two birds with one stone, thus also improve intelligence degree of the terminal device in execution character size adjustment process.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these Attached drawing obtains other attached drawings.
Fig. 1 is the implementation flow chart of the adjusting method of character boundary provided in an embodiment of the present invention;
Fig. 2 be another embodiment of the present invention provides character boundary adjusting method implementation flow chart;
Fig. 3 is the implementation flow chart of the adjusting method for the character boundary that further embodiment of this invention provides;
Fig. 4 is the specific implementation flow chart of the adjusting method S104 of character boundary provided in an embodiment of the present invention;
Fig. 5 is the structural block diagram of the regulating device of character boundary provided in an embodiment of the present invention;
Fig. 6 is the schematic diagram of terminal device provided in an embodiment of the present invention.
Specific embodiment
In being described below, for illustration and not for limitation, the tool of such as particular system structure, technology etc is proposed Body details, to understand thoroughly the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention also may be implemented in the other embodiments of details.In other situations, it omits to well-known system, device, electricity The detailed description of road and method, in case unnecessary details interferes description of the invention.
In order to illustrate technical solutions according to the invention, the following is a description of specific embodiments.
Fig. 1 shows the implementation process of the adjusting method of character boundary provided in an embodiment of the present invention, and details are as follows:
S101: when character, which adjusts event, to be triggered, the real-time range value of the first user object and terminal screen is detected.
In the embodiment of the present invention, when detecting the enabled instruction about character boundary regulatory function that user issues, really Determine character adjusting event to be triggered.Wherein, character boundary regulatory function can be by preset physical button option mode, virtually press Key option mode, combination button mode, speech control mode and gesture control mode start.Behaviour is being executed to terminal device During work, if user needs to change the character boundary of terminal screen, character boundary adjusting can be started through the above way Function, so that triggering character adjusts event.
Illustratively, difficult if the font that user thinks that current interface is shown is too small in the operation interface of editing short message To realize clearly checking to short message content, then pass through while pressing the marketing or promotion and volume down key of terminal device, trigger word Accord with adjusting event.
If detecting, character adjusts event and is triggered, by built-in range sensor, detection Current Subscriber Object with The real-time range value of terminal screen.Wherein, real-time range value specifically refers to most short between terminal device and user object face Linear distance.
Range sensor is called displacement sensor, according to the element of internal preset, detects that the physics of user object becomes Change amount can measure the distance displacement from range sensor to user object by the way that the variable quantity is scaled distance.According to making With the difference of element, range sensor can be divided into optical displacement sensor, ultrasonic displacement sensor, infrared pulse sensor Deng.
In the embodiment of the present invention, range sensor is set to the recessed of the two sides either earpiece of intelligent terminal earpiece In slot, and character adjust event be triggered when, to the range sensor issue starting information, with realize using infrared pulse come After realizing range measurement, the real-time range value of user object and terminal screen is obtained.
S102: determine that distance perception belonging to the real-time range value answers section.
In the embodiment of the present invention, contrast relationship table of the load for distance range corresponding to recording distance induction section.It is right In obtained each the real-time range value of measurement, determined from the mapping table belonging to current real-time range value one away from From range, and according to above-mentioned contrast relationship table, obtains distance perception corresponding with the distance range and answer section.
For example, if preset three distance perceptions answer section be respectively [5cm, 10cm], (10cm, 20cm] and (20cm, 50cm], and the obtained real-time range value of measurement is 20 centimetres, it is determined that its corresponding distance perception answer section be (10cm, 20cm].
S103: it according to pre-stored mapping table, obtains the distance perception and answers character formatting information corresponding to section; The mapping table is for recording the corresponding relationship that each distance perception answers section and character formatting information.
Section is answered for different distance perceptions, is preset with corresponding character formatting information.Character formatting information includes using In the dimension information of description character boundary.Preferably, character formatting information can also include the font type of character, line space, The format informations such as font color and transparency.
In the embodiment of the present invention, the corresponding relationship of section and character formatting information is incuded for recording distance by inquiring Table obtains the corresponding character formatting information of induction region at a distance from being determined in above-mentioned steps S102.
S104: it is based on the character formatting information, switching is executed to the character boundary of the terminal screen.
According to the character formatting information acquired, format switching is carried out to the character shown on present terminal screen, It allows it to the character boundary under original state and is converted to target character size.
Wherein, if the character formatting information acquired further includes font type, line space, font color and transparency Etc. other kinds of format information, then the character of terminal screen is converted to and the matched format of the character formatting information.
Preferably, if detecting, the selection that user object issues any character is instructed, only to being on terminal screen Character execution character format switching under selection state;Otherwise, all character execution character formats on terminal screen are switched Operation.
Preferably due to which the light luminance under varying environment is different, light luminance also can to the display effect of character boundary It has an impact.For same user object, even if the distance between itself and terminal screen value remain unchanged, but bright in light When degree changes, which is usually also required to the character boundary of change terminal screen, therefore, in the embodiment of the present invention, It is above-mentioned to be based on the character formatting information, switching is executed to the character boundary of the terminal screen, can also include: described in acquisition The ambient brightness value of character adjusting event triggering moment;The character boundary corrected parameter according to corresponding to ambient brightness value, to word Symbol format information is adjusted;Switching is executed based on character formatting information adjusted, then to the character boundary of terminal screen.Its In, character boundary corrected parameter corresponding to varying environment brightness value obtains in advance according to the experimental test procedures of tester It takes.By being adjusted using matched character boundary corrected parameter to the character formatting information determined, terminal ensure that Screen character format shown after the switching of execution character size can preferably with the manipulation of user distance and Real-Time Optical Line brightness is adapted, and thus also improves the character display effect for Current Subscriber Object.
In the embodiment of the present invention, when character adjusts event and is triggered, by the reality for detecting user object and terminal screen When distance value, determine that a distance perception belonging to real-time range value answers section, and determine using pre-stored mapping table The corresponding character formatting information in section is answered with the distance perception, character boundary needed for enabling the terminal to automatic positioning user, and Based on the character formatting information come the automation regulation operation of execution character size, the character that ensure that terminal screen is shown is big It is small to be adapted with the real-time control distance of user object.During being somebody's turn to do, set in user without frequently entering character boundary Under the case where setting unit, it also can be realized and character size quickly and dynamically adjusted, reduce the cumbersome degree of user; And by one simply apart from adjustment movement realize font adjust, two levels of the preferred font size of auto-associating it is progressive Effect, be to kill two birds with one stone, thus also improve intelligence degree of the terminal device in execution character size adjustment process.
As another embodiment of the invention, as shown in Fig. 2, before above-mentioned S101, further includes:
S105: it is instructed according to the customized setting of the character received, starts character format set interface.
In the embodiment of the present invention, terminal device is built-in with character format setup module, when receive user object sending When the customized setting of character instructs, according to application service provided by character format setup module, starts character format and circle is set Face.Character format set interface is used to receive the custom parameter of user object, to be arranged according to custom parameter and terminal The relevant format information of screen character.
S106: operation navigation information is issued in the character format set interface, so that second user object is according to The terminal screen is moved to farthest manipulation distance respectively and manipulates distance recently by operation navigation information.
After the starting of character format set interface, if monitoring, the format parameter of the current desired setting of user object is character Size level parameter, then issue operation navigation information.Wherein, operation navigation information is for prompting currently to need customized setting word Terminal screen is moved to its farthest manipulation distance respectively and manipulates distance recently by the user object of physique formula parameter information.Behaviour It can be the text navigation information and/or video navigation information for being showed in terminal screen as navigation information, be also possible to voice and lead Boat information can also be the integrated navigation information of above-mentioned multiclass navigation mode, it is not limited here.
For the ease of distinguishing, character will be triggered and adjust the user object of event as the first user object;It will currently need The user object that custom font format parameter information is arranged becomes second user object.Although it should be understood that term " One ", " second " etc. is used to describe different events in the text to execute object in an embodiment of the present invention, but these are executed Object should not be limited by these terms.For example, the first user object and second user object can be same user couple As being also possible to different user objects.
In the embodiment of the present invention, two operation navigation informations are successively issued.One bar navigation information is for guiding second user Object adjusts the linear distance between terminal device and its face, so that the linear distance remains the user object using eventually Maximum of control distance during end equipment;Another bar navigation information is for guiding second user object adjustment terminal device and its Linear distance between face, so that the linear distance remains minimum control of the user object in using terminal device procedures Distance processed.
After issuing operation navigation information each time, the real-time range value of user object and terminal screen is obtained.If pre- If the changing value of detected real-time range value is less than preset value in duration, then the average value of the real-time range value is recorded as Acquisition information corresponding with the operation navigation information.
For example, if current operation navigation information for guide user object by terminal screen be moved to its farthest manipulation away from From, and the changing value of detected real-time range value in preset duration is less than preset value, then by the flat of the real-time range value Mean value is recorded as farthest manipulating distance.
S107: the grade quantity about character format size of the second user object input is obtained.
In the embodiment of the present invention, obtain second user object character format set interface inputted about character format The grade quantity of size, that is, obtain the self-defining character size type sum of second user object.For example, if customized Character size has No.1 font to No. five fonts, then the grade quantity acquired is five.
Wherein, the grade quantity of second user object input is bigger, then higher to the adjusting sensitivity of character boundary.
S108: according to the farthest manipulation distance and the nearest manipulation distance, the character of each grade is determined respectively Distance perception corresponding to format information answers section.
In the embodiment of the present invention, according to preset mapping equation, the pass that distance perception answers section Yu character format grade is established Connection relationship.Above-mentioned mapping equation is as follows:
Dlevel=(Dmax-Dmin)/(N+1)
Di=Dlevel*i
Wherein, above-mentioned N is the grade quantity about character format size of second user object input;Above-mentioned DlevelIt indicates Each distance range size corresponding to the induction region;DiIndicate the character of i-th of grade of second user object setting Distance perception corresponding to format information answers the starting distance value in section;Above-mentioned N is the integer more than or equal to zero;I be 1 to N it Between any integer.
When i traverses value 1 to each integer between N, according to above-mentioned mapping equation, the character of each grade is calculated Distance perception corresponding to format information answers the starting distance value D in sectioni, and according to it is each apart from induction region corresponding to distance Range size Dlevel, determining that distance perception corresponding to the character formatting information of i-th of grade answers section is [Di, Di+Dlevel]。
S109: section and the corresponding relationship of the character formatting information is answered to store each distance perception.
In the embodiment of the present invention, the corresponding relationship of section and each level character formatting information is answered to carry out each distance perception Storage, with S101 detects the real-time range value of the first user object and terminal screen, energy through the above steps in terminal device Enough distance perceptions according to belonging to the real-time range value answer section, are accurately located from pre-stored mapping table corresponding A grade character formatting information and execution character size make handover operation by oneself.Simultaneously as the grade of character format Number and adjusting sensitivity can be ensure that obtained based on mapping table by the customized setting of second user object Character boundary switching result can preferably match the personal habits demand of user.
As another embodiment of the invention, as shown in figure 3, after above-mentioned S106, further includes:
S110: detect whether the farthest manipulation distance and the nearest manipulation distance are abnormal operating parameter.
In the embodiment of the present invention, in order to avoid causing in navigation operating process because of the faulty operation of second user object The case where manipulation deviates practical application value apart from detected value occurs, to the farthest manipulation distance detected in above-mentioned S109 DmaxAnd distance D is manipulated recentlymin, it is inputted preset decision condition, to judge to whether there is abnormal manipulation in the two Parameter.
Illustratively, in the presence of above-mentioned judgement result is abnormal operating parameter, corresponding decision condition includes but not It is limited to: farthest manipulation distance DmaxGreater than first threshold;Manipulation distance D recentlyminLess than second threshold;Farthest manipulation distance Dmax Less than nearest manipulation distance Dmin;DmaxAnd DminDifference DvalueLess than third threshold value etc..
S111: if the farthest manipulation distance or the nearest manipulation distance are abnormal operating parameter, institute is re-emitted Operation navigation information is stated, until the second user object carries out mobile behaviour to the terminal screen according to the operation navigation information After work, the farthest manipulation distance and nearest manipulation distance detected is non-abnormal operation parameter.
In the embodiment of the present invention, if the farthest manipulation distance that is identified based on above-mentioned decision condition or manipulating distance recently For abnormal operating parameter, it is determined that second user object does not execute the mobile behaviour of terminal screen correctly according to operation navigation information Make, therefore, returns and execute above-mentioned steps S106, issued again for showing that terminal screen is moved to farthest behaviour respectively by user After control distance and recently the operation navigation information of manipulation distance, the associated farthest manipulation distance of second user object is detected again And distance is manipulated recently and executes step S110.Only when the testing result of step S110 is farthest manipulation distance and nearest behaviour When control distance is non-abnormal operating parameter, step S107 is just executed.
For example, second user object execute terminal device moving operation after, if the farthest operating distance detected with most The difference of near operation distance is less than third threshold value, then second user object is prompted to readjust farthest operating distance and/or recently Operating distance, so that until the difference of the two is less than third threshold value.
In the embodiment of the present invention, by obtaining preset abnormality decision conditions, second user object institute is being detected every time The farthest manipulation distance that resets and manipulation recently apart from when, detected based on abnormality decision conditions wherein with the presence or absence of different Normal operating parameter, and remind user to re-type in the presence of abnormal operating parameter, it ensure that farthest/nearest behaviour that monitoring obtains Control distance is to meet the reliable parameter value of user's practical application scene, is thus also ensured subsequent based on the farthest/manipulation recently When character boundary of the distance to automatically determine corresponding grade, more accurate recognition result can be obtained, to improve character The adjusting accuracy rate of size.
As an embodiment of the present invention, Fig. 4 shows the adjusting method of character boundary provided in an embodiment of the present invention The specific implementation flow of S104, details are as follows:
S1041: executing switching to the character boundary of pre-set text content in the terminal screen, obtains corresponding to the word Accord with the preview effect of format information.
In the embodiment of the present invention, the character formatting information corresponding to the real-time range value of current first user object of determination Afterwards, to the handover operation of preset content of text execution character size, so that the character boundary of pre-set text content can be with Character boundary specified by character formatting information matches, and content of text obtained after the completion of handover operation is showed in end Hold screen.
Wherein, above-mentioned preset content of text can be the text information of pre-stored immobilized substance, be also possible to be based on Default script detects and extracts obtained text information to present terminal display area.Such as, preset content of text is not current Heading message in terminal display area.
In the embodiment of the present invention, a bubble prompting frame, the text after character boundary is adjusted are created in terminal screen Content is showed in the prompting frame, obtains the text character size shown with preview form.
S1042: if detecting the character boundary confirmation instruction about the preview effect, believed based on the character format Breath, executes switching to the character boundary of the terminal screen.
After the first user object checks the pre-set text content under preview form, however, it is determined that the character of text content is big It is small to meet current self-demand, then issue character boundary confirmation instruction.At this point, based on the character formatting information determined, to end Hold the handover operation of all kinds of character execution character sizes of required displaying on screen.
As a specific implementation example of the invention, if detecting choosing corresponding to confirmation control in bubble prompting frame Take event, it is determined that receive the character boundary confirmation instruction of the first user object sending.
As another specific implementation example of the invention, the character boundary of pre-set text content is executed in terminal screen After switching, start built-in timer, to obtain the lasting preview duration value of preview effect.If detecting continuing for any moment Preview duration value is greater than preset threshold, then confirmation receives the character boundary confirmation instruction about preview effect.At this point, based on true The character formatting information made executes switching to the character boundary of terminal screen.
In the embodiment of the present invention, character formatting information corresponding to the real-time range value of Current Subscriber Object is being determined Afterwards, by the switching first to pre-set text content execution character size, the data processing amount during handover operation is reduced, only When user object issues the character boundary confirmation instruction for preview effect, for example, when user object is maintained at some distance Incuding section is more than after preset duration threshold value, and the handover operation of ability execution character size avoids terminal because frequently adjusting character Size and the case where waste of resource, occur, and ensure that the adjustment result of character boundary can be more in line with the same of individual subscriber demand When, reduce terminal resource consumption.
It should be understood that the size of the serial number of each step is not meant that the order of the execution order in above-described embodiment, each process Execution sequence should be determined by its function and internal logic, the implementation process without coping with the embodiment of the present invention constitutes any limit It is fixed.
Corresponding to the adjusting method of character boundary provided by the embodiment of the present invention, Fig. 5 shows the embodiment of the present invention and mentions The structural block diagram of the regulating device of the character boundary of confession.For ease of description, only the parts related to this embodiment are shown.
Referring to Fig. 5, which includes:
Detection unit 51, for detecting the reality of the first user object and terminal screen when character adjusts event and is triggered When distance value.
First determination unit 52, for determining that distance perception belonging to the real-time range value answers section.
First acquisition unit 53, for obtaining the distance perception and answering corresponding to section according to pre-stored mapping table Character formatting information;The mapping table is used to record each distance perception and section and the corresponding of character formatting information is answered to close System.
Switch unit 54 executes switching to the character boundary of the terminal screen for being based on the character formatting information.
Optionally, the regulating device of the character boundary further include:
Start unit, for starting character format set interface according to the customized setting instruction of the character received.
Navigation elements, for issuing operation navigation information in the character format set interface, so that second user object The terminal screen is moved to farthest manipulation distance respectively according to the operation navigation information and manipulates distance recently.
Second acquisition unit, for obtaining the number of degrees about character format size of the second user object input Amount.
Second determination unit, for determining respectively every according to the farthest manipulation distance and the nearest manipulation distance Distance perception corresponding to the character formatting information of one grade answers section.
Storage unit, for answering the corresponding relationship of section and the character formatting information to carry out each distance perception Storage.
Optionally, the regulating device of the character boundary further include:
Whether verification unit is abnormal manipulation ginseng for detecting the farthest manipulation distance and the nearest manipulation distance Number.
Reset cell weighs if being abnormal operating parameter for the farthest manipulation distance or the nearest manipulation distance Newly issue the operation navigation information, until the second user object according to the operation navigation information to the terminal screen into After row moving operation, the farthest manipulation distance and nearest manipulation distance detected is non-abnormal operation parameter.
Optionally, the switch unit 54 includes:
Preview subelement executes switching for the character boundary to pre-set text content in the terminal screen, obtains pair The preview effect of character formatting information described in Ying Yu.
Switching subelement, if for detecting the character boundary confirmation instruction about the preview effect, based on described Character formatting information executes switching to the character boundary of the terminal screen.
Optionally, the switching subelement is specifically used for:
Obtain the lasting preview duration value of the preview effect;
If the preview duration value that continues is greater than preset threshold, confirmation receives big about the character of the preview effect Small confirmation instruction executes switching to the character boundary of the terminal screen to be based on the character formatting information.
In the embodiment of the present invention, when character adjusts event and is triggered, by the reality for detecting user object and terminal screen When distance value, determine that a distance perception belonging to real-time range value answers section, and determine using pre-stored mapping table The corresponding character formatting information in section is answered with the distance perception, character boundary needed for enabling the terminal to automatic positioning user, and Based on the character formatting information come the automation regulation operation of execution character size, the character that ensure that terminal screen is shown is big It is small to be adapted with the real-time control distance of user object.During being somebody's turn to do, set in user without frequently entering character boundary Under the case where setting unit, it also can be realized and character size quickly and dynamically adjusted, reduce the cumbersome degree of user; And by one simply apart from adjustment movement realize font adjust, two levels of the preferred font size of auto-associating it is progressive Effect, be to kill two birds with one stone, thus also improve intelligence degree of the terminal device in execution character size adjustment process.
Fig. 6 is the schematic diagram for the terminal device that one embodiment of the invention provides.As shown in fig. 6, the terminal of the embodiment is set Standby 6 include: processor 60, memory 61 and are stored in the meter that can be run in the memory 61 and on the processor 60 Calculation machine program 62, such as the adjusting program of character boundary.The processor 60 is realized above-mentioned when executing the computer program 62 Step in the adjusting method embodiment of each character boundary, such as step 101 shown in FIG. 1 is to 104.Alternatively, the processing Device 60 realizes the function of each module/unit in above-mentioned each Installation practice when executing the computer program 62, such as shown in Fig. 6 The function of unit 51 to 54.
Illustratively, the computer program 62 can be divided into one or more module/units, it is one or Multiple module/units are stored in the memory 61, and are executed by the processor 60, to complete the present invention.Described one A or multiple module/units can be the series of computation machine program instruction section that can complete specific function, which is used for Implementation procedure of the computer program 62 in the terminal device 6 is described.
The terminal device 6 can be the calculating such as desktop PC, notebook, palm PC and cloud server and set It is standby.The terminal device may include, but be not limited only to, processor 60, memory 61.It will be understood by those skilled in the art that Fig. 6 The only example of terminal device 6 does not constitute the restriction to terminal device 6, may include than illustrating more or fewer portions Part perhaps combines certain components or different components, such as the terminal device can also include input-output equipment, net Network access device, bus etc..
Alleged processor 60 can be central processing unit (Central Processing Unit, CPU), can also be Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field- Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic, Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor Deng.
The memory 61 can be the internal storage unit of the terminal device 6, such as the hard disk or interior of terminal device 6 It deposits.The memory 61 is also possible to the External memory equipment of the terminal device 6, such as be equipped on the terminal device 6 Plug-in type hard disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card dodge Deposit card (Flash Card) etc..Further, the memory 61 can also both include the storage inside list of the terminal device 6 Member also includes External memory equipment.The memory 61 is for storing needed for the computer program and the terminal device Other programs and data.The memory 61 can be also used for temporarily storing the data that has exported or will export.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member 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 sells or use as independent product When, it can store in a computer readable storage medium.Based on this understanding, the technical solution of the application is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the application Portion or part steps.And storage medium above-mentioned include: USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic or disk etc. are various can store program The medium of code.
The above, above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although referring to before Embodiment is stated the application is described in detail, those skilled in the art should understand that: it still can be to preceding Technical solution documented by each embodiment is stated to modify or equivalent replacement of some of the technical features;And these It modifies or replaces, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution.

Claims (10)

1. a kind of adjusting method of character boundary characterized by comprising
When character, which adjusts event, to be triggered, the real-time range value of the first user object and terminal screen is detected;
Determine that distance perception belonging to the real-time range value answers section;
According to pre-stored mapping table, obtains the distance perception and answer character formatting information corresponding to section;The correspondence Relation table is for recording the corresponding relationship that each distance perception answers section and character formatting information;
Based on the character formatting information, switching is executed to the character boundary of the terminal screen.
2. the adjusting method of character boundary as described in claim 1, which is characterized in that touched described when character adjusts event When hair, before the real-time range value for detecting the first user object and terminal screen, further includes:
According to the customized setting instruction of the character received, start character format set interface;
Operation navigation information is issued in the character format set interface, is believed so that second user object navigates according to the operation The terminal screen is moved to farthest manipulation distance respectively and manipulates distance recently by breath;
Obtain the grade quantity about character format size of the second user object input;
According to the farthest manipulation distance and the nearest manipulation distance, the character formatting information institute of each grade is determined respectively Corresponding distance perception answers section;
Section and the corresponding relationship of the character formatting information is answered to store each distance perception.
3. the adjusting method of character boundary as claimed in claim 2, which is characterized in that be arranged described in the character format Interface issues operation navigation information, so that second user object is according to the operation navigation information respectively by the terminal screen It is moved to after farthest manipulation distance and nearest manipulation distance, further includes:
Detect whether the farthest manipulation distance and the nearest manipulation distance are abnormal operating parameter;
If the farthest manipulation distance or the nearest manipulation distance are abnormal operating parameter, the operation navigation is re-emitted Information, until after the second user object carries out moving operation to the terminal screen according to the operation navigation information, detection Obtained farthest manipulation distance and nearest manipulation distance is non-abnormal operation parameter.
4. the adjusting method of character boundary as described in claim 1, which is characterized in that described to be believed based on the character format Breath, executes switching to the character boundary of the terminal screen, comprising:
Switching is executed to the character boundary of pre-set text content in the terminal screen, obtains corresponding to the character formatting information Preview effect;
If detecting the character boundary confirmation instruction about the preview effect, it is based on the character formatting information, to described The character boundary of terminal screen executes switching.
5. the adjusting method of character boundary as claimed in claim 4, which is characterized in that if described detect about the preview The character boundary of effect confirms instruction, then is based on the character formatting information, cuts to the character boundary execution of the terminal screen It changes, comprising:
Obtain the lasting preview duration value of the preview effect;
If the preview duration value that continues is greater than preset threshold, confirmation receives true about the character boundary of the preview effect Recognize instruction, to be based on the character formatting information, switching is executed to the character boundary of the terminal screen.
6. the adjusting method of character boundary as described in claim 1, which is characterized in that described to be believed based on the character format Breath, executes switching to the character boundary of the terminal screen, comprising:
Obtain the ambient brightness value that the character adjusts event triggering moment;
According to character boundary corrected parameter corresponding to the ambient brightness value, the character formatting information is adjusted;
Based on the character formatting information adjusted, switching is executed to the character boundary of the terminal screen.
7. a kind of regulating device of character boundary characterized by comprising
Detection unit, for detecting the real-time range of the first user object and terminal screen when character adjusts event and is triggered Value;
First determination unit, for determining that distance perception belonging to the real-time range value answers section;
First acquisition unit, for obtaining the distance perception and answering character corresponding to section according to pre-stored mapping table Format information;The mapping table is for recording the corresponding relationship that each distance perception answers section and character formatting information;
Switch unit executes switching to the character boundary of the terminal screen for being based on the character formatting information.
8. the regulating device of character boundary as claimed in claim 7, which is characterized in that further include:
Start unit, for starting character format set interface according to the customized setting instruction of the character received;
Navigation elements, for the character format set interface issue operation navigation information so that second user object according to The terminal screen is moved to farthest manipulation distance respectively and manipulates distance recently by the operation navigation information;
Second acquisition unit, for obtaining the grade quantity about character format size of the second user object input;
Second determination unit, for determining every first-class respectively according to the farthest manipulation distance and the nearest manipulation distance Distance perception corresponding to the character formatting information of grade answers section;
Storage unit, for answering section and the corresponding relationship of the character formatting information to deposit each distance perception Storage.
9. a kind of terminal device, including memory and processor, the memory, which is stored with, to be run on the processor Computer program, which is characterized in that the processor is realized when executing the computer program as claim 1 to 6 is any The step of adjusting method of the item character boundary.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists In the adjusting side of realization character boundary as described in any one of claims 1 to 6 when the computer program is executed by processor The step of method.
CN201910510477.7A 2019-06-13 2019-06-13 Character size adjusting method and device, terminal equipment and medium Pending CN110221897A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910510477.7A CN110221897A (en) 2019-06-13 2019-06-13 Character size adjusting method and device, terminal equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910510477.7A CN110221897A (en) 2019-06-13 2019-06-13 Character size adjusting method and device, terminal equipment and medium

Publications (1)

Publication Number Publication Date
CN110221897A true CN110221897A (en) 2019-09-10

Family

ID=67816947

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910510477.7A Pending CN110221897A (en) 2019-06-13 2019-06-13 Character size adjusting method and device, terminal equipment and medium

Country Status (1)

Country Link
CN (1) CN110221897A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112565518A (en) * 2020-11-27 2021-03-26 珠海读书郎网络教育有限公司 Method and system for telephone watch to quickly switch dial plates based on ranging mapping
CN112631491A (en) * 2020-12-31 2021-04-09 咪咕文化科技有限公司 Screen character adjusting method and device, network equipment and storage medium
CN113821186A (en) * 2021-11-22 2021-12-21 湖南新云网科技有限公司 Method and system for adjusting size of character display
CN113949805A (en) * 2020-07-17 2022-01-18 美的智慧家居科技有限公司 Control method and control device for intelligent equipment, intelligent equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727883A (en) * 2008-10-27 2010-06-09 鸿富锦精密工业(深圳)有限公司 Method for scaling screen font
CN103458115A (en) * 2013-08-22 2013-12-18 Tcl通讯(宁波)有限公司 Processing method for automatically setting size of system font of mobile terminal and mobile terminal
CN103903595A (en) * 2012-12-29 2014-07-02 深圳富泰宏精密工业有限公司 Typeface adjusting method and system
CN104536560A (en) * 2014-12-10 2015-04-22 广东欧珀移动通信有限公司 Method and device for adjusting size of font of terminal
CN106774834A (en) * 2016-11-23 2017-05-31 滁州昭阳电信通讯设备科技有限公司 The method and mobile terminal of a kind of display font size adjustment
CN107690028A (en) * 2017-08-30 2018-02-13 努比亚技术有限公司 A kind of method of adjustment of font size, terminal and readable storage medium storing program for executing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101727883A (en) * 2008-10-27 2010-06-09 鸿富锦精密工业(深圳)有限公司 Method for scaling screen font
CN103903595A (en) * 2012-12-29 2014-07-02 深圳富泰宏精密工业有限公司 Typeface adjusting method and system
CN103458115A (en) * 2013-08-22 2013-12-18 Tcl通讯(宁波)有限公司 Processing method for automatically setting size of system font of mobile terminal and mobile terminal
CN104536560A (en) * 2014-12-10 2015-04-22 广东欧珀移动通信有限公司 Method and device for adjusting size of font of terminal
CN106774834A (en) * 2016-11-23 2017-05-31 滁州昭阳电信通讯设备科技有限公司 The method and mobile terminal of a kind of display font size adjustment
CN107690028A (en) * 2017-08-30 2018-02-13 努比亚技术有限公司 A kind of method of adjustment of font size, terminal and readable storage medium storing program for executing

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113949805A (en) * 2020-07-17 2022-01-18 美的智慧家居科技有限公司 Control method and control device for intelligent equipment, intelligent equipment and storage medium
CN112565518A (en) * 2020-11-27 2021-03-26 珠海读书郎网络教育有限公司 Method and system for telephone watch to quickly switch dial plates based on ranging mapping
CN112631491A (en) * 2020-12-31 2021-04-09 咪咕文化科技有限公司 Screen character adjusting method and device, network equipment and storage medium
CN113821186A (en) * 2021-11-22 2021-12-21 湖南新云网科技有限公司 Method and system for adjusting size of character display

Similar Documents

Publication Publication Date Title
CN110221897A (en) Character size adjusting method and device, terminal equipment and medium
US10613740B2 (en) Method for controlling screen of user terminal and user terminal
US20170193992A1 (en) Voice control method and apparatus
CN104077122A (en) Computer system for automatically detecting fatigue and method for automatically detecting fatigue
KR102092931B1 (en) Method for eye-tracking and user terminal for executing the same
CN104811544A (en) Screen brightness adjustment method
CN109375765B (en) Eyeball tracking interaction method and device
CN106339086A (en) Screen font adjusting method and device and electronic equipment
US20240078645A1 (en) Image processing method, electronic device and storage medium
US11625754B2 (en) Method for providing text-reading based reward-type advertisement service and user terminal for executing same
CN105302311B (en) Terminal coefficient control method, device and terminal based on fingerprint recognition
CN104217397B (en) A kind of image processing method
CN106714332B (en) wireless network access method and device
CN105912158B (en) A kind of touch screen photographic method, device and the mobile terminal of mobile terminal
CN114063845A (en) Display method, display device and electronic equipment
CN110174937A (en) Watch the implementation method and device of information control operation attentively
CN113342229A (en) Method and device for adjusting font size, terminal equipment and computer readable storage medium
CN111610886A (en) Method and device for adjusting brightness of touch screen and computer readable storage medium
CN107437018A (en) Mobile terminal and its control method, computer-readable recording medium
CN109960412B (en) Method for adjusting gazing area based on touch control and terminal equipment
CN113491502A (en) Eyeball tracking calibration inspection method, device, equipment and storage medium
CN111814840A (en) Method, system, equipment and medium for evaluating quality of face image
CN105739780A (en) Method and equipment for quickly regulating various parameters through pressure touch technology
CN112885311A (en) Display screen brightness control method and system, storage medium and terminal equipment
CN111062306B (en) Control method and control device for household appliance, household appliance and storage device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190910

RJ01 Rejection of invention patent application after publication