Specific embodiment
To keep the technical problem to be solved in the present invention, technical solution and advantage clearer, below in conjunction with attached drawing and toolBody embodiment is described in detail.
Referring to Figure 1, the flow diagram of data inputting method provided in an embodiment of the present invention is shown, the present inventionEmbodiment provides a kind of data inputting method, is applied to terminal device, which includes but is not limited to mobile phone, plate electricityBrain, personal digital assistant and E-book reader, desktop computer etc. have the various of interface display and information input functionElectronic equipment, the data inputting method may comprise steps of:
Step 101, it receives and carries out the first operation of information input in application interface.
In the embodiment of the present invention, in the enterprising row information input of application interface, terminal device detects and receives first userOperation, so that subsequent step shows that information editing's interface for users carries out target information input and editor.Wherein, the first operation canTo be the operation based on the predetermined registration operation state triggering on application interface, alternatively, being also possible to act on the pre- of terminal deviceIf gesture operation (such as act on application interface certain gestures operation or act in the specific keys of terminal deviceGesture operation), alternatively, being also possible to voice operating, alternatively, can also be any combination of above-mentioned several modes of operation.
Step 102, the first operation of response shows information editing interface in the display interface, and information editing interface is for connecingIt receives and the target information of editor's input, information editing interface is different operation interfaces from application interface.
In this step, by the first operation received in response of step 101, triggered on the display interface of terminal deviceDisplay is used to receive and the information editing interface of the target information of editor user's input.In the embodiment of the present invention, the information editingInterface can be the operation interface independently of the current application interface for carrying out information input, so that user conveniently carries out letterBreath input and editor, and checking to the complete content of input.
Optionally, which, which can be to suspend, is shown in hanging on the current application interface for carrying out information inputFloating operation interface;Alternatively, being also possible to the split screen operation interface with the application interface split screen display available for currently carrying out information input;OrPerson, if terminal device has at least two display screens, which is also possible to individually be shown in one of displayOperation interface on screen.Furthermore it is preferred that the information editing interface can receive and edit rich text in the embodiment of the present inventionThe target information of format (Rich Text Format, RTF).
In the embodiment of the present invention, by receiving the first operation, shown in the display interface for receiving and editing inputThe information editing interface of target information is able to use family and conveniently carries out information input and editor, and to the complete of inputContent is checked, user experience is promoted.
In embodiments of the present invention, triggering first operation mode can there are many.For example, the present invention it is some canIn the embodiment of choosing, step 101, receives and carry out the first operation of information input in application interface, may include: to detect answeringInformation is being added in the information input area at interface, alternatively, receiving the touch to the information input area of application interfaceOperation, determination receive the first operation.It, can be by detection user in the information input area of application interface in the embodiment of the present inventionInformation input in domain operates to trigger first operation, i.e., based on the predetermined registration operation state on application interface with triggering terminalEquipment receives first operation, so as to simplify user's operation;Alternatively, can by user application interface information inputThe touch operation of the default gesture in region come trigger this first operation, i.e., the preset gesture of terminal device is acted on by userIt operates so that terminal device receives first operation, in order to which user can be according to self-demand trigger action;Wherein, the touchingTouch operation can include but is not limited to clicking operation, double click operation, pressing operation, kneading operation, drag operation, slide andAt least one of gesture operations such as paddling operation.
Further, it to avoid user's false triggering from operating, in an optional embodiment of the present invention, is being answered detectingInformation is being added in the information input area at interface, alternatively, receiving the touch to the information input area of application interfaceAfter operation, step 101, receives and carry out the first operation of information input in application interface, can also include: in the display interfaceDisplay selection menu interface;The selection operation for receiving the information input the mode option shown on selection menu interface, determinesReceive the first operation.In the embodiment of the present invention, information is being added in the information input area of application interface detectingOr after receiving the touch operation to the information input area of application interface, selection menu can be shown in the display interfaceInterface shows on the selection menu interface and is used to determine whether that starting carries out target message input by information editing interfaceInformation input the mode option of information input mode, so that user confirms start-up operation, when user selects to determine starting, then eventuallyEnd equipment determination receives the first operation, so as to avoid user's false triggering from operating.Further, it shows in the display interfaceAfter showing selection menu interface, the clicking operation on the region in display interface in addition to selecting menu interface is received, orPerson, do not receive in the given time for whether start by information editing interface carry out content-message input information inputThe instruction of mode operates, it is determined that does not receive the first operation, is carried out at this point, determining that user does not start by information editing interfaceThe information input mode of the information input mode of content-message input, user can by the information input area of application interface intoRow information input.
Wherein, in the embodiment of the present invention, select display position, display mode, Show Styles of menu interface etc. can rootIt is configured according to actual design, such as the selection menu interface may be displayed on the information input area adjacent to application interfacePreset position area, for example it is shown in the upper right corner of information input area;For example the selection menu interface can be using suspension againThe mode of display is shown on application interface.In one example, as shown in Fig. 2, the selection menu interface can be with suspension windowsForm be shown in the upper right corner of information input area.
Wherein, in the embodiment of the present invention, the display mode at the information editing interface can there are many.
For example, in an optional embodiment of the present invention, step 102, information editing is shown in the display interfaceRegion may include: the display information editing area that suspends on application interface.It, can be by by information in the embodiment of the present inventionEditing area suspension is shown on application interface, so that user conveniently carries out information input and editor, and to inputComplete content check.Here, after showing information editing area on application interface, user can also pass through default adjustmentOperation is adjusted setting to the display background of information editing area, area size, display shape etc..
Alternatively, step 102, showing information editing area in the display interface in another optional embodiment of the inventionDomain, may include: that display interface is divided at least two display areas, the first viewing area at least two display areasInformation editing interface is shown in domain, shows application interface in the second display area at least two display areas.The present inventionIn embodiment, as shown in figure 3, can be divided at least two display areas by the way that display interface split screen to be arranged, information is compiledEditing interface and application interface carry out split screen display available, i.e., information editing interface, the second display area are shown in the first display areaMiddle display application interface, in this way, by independently showing information editing interface and application interface at one of split screen interfaceRegion shows, conveniently carries out information input and editor conducive to user, and checking to the complete content of input, while canApplication interface is blocked when information editing interface carries out target information input and editor to avoid user.Here, in the first displayAfter showing information editing interface in region, user can also be carried on the back the display of information editing area by default adjustment operationScape, area size, display shape etc. are adjusted setting.
Alternatively, terminal device includes at least two display screens in another optional embodiment of the invention;Then step102, information editing area is shown in the display interface, may include: the aobvious of the second display screen at least two display screensShow and show information editing interface on interface, boundary is applied in display on the display interface of the first display screen at least two display screensFace;Second display screen is a display screen at least two display screens in addition to the first display screen.In the embodiment of the present invention, ifTerminal device has at least two display screens, then information editing interface can be individually shown in one of display screen, that is, willInformation editing interface and application interface are respectively independently shown on the display interface of a display screen respectively, and it is more convenient to be conducive to userGround carries out information input and editor, and checking to the complete content of input, while can be to avoid user in information editing circleFace carries out blocking application interface when content objective information input and editor, further, it is possible to further increase information editing interfaceThe size in input editing region.Here, after information editing interface being shown on the display interface of second display screen, user may be used alsoTo be adjusted setting to the display background of information editing area, area size, display shape etc. by default adjustment operation.
In the embodiment of the present invention, plurality of kinds of contents edit operation can receive on information editing interface, Edition Contains operationIt may include font edit operation, text size adjustment operation, color setting operation, duplication operation, paste operation, revocation behaviourAt least one of work, slot man operation, picture insertion operation etc. edit operation.
In an optional embodiment of the present invention, in step 102, the first operation of response shows letter in the display interfaceIt can also include: the second operation received at information editing interface after ceasing editing interface;The second operation of response, information is compiledTarget information in editing interface is filled into the information input area of application interface.In the embodiment of the present invention, user passes through informationAfter editing interface completes target information input and editor, user can be determined by the second operation at information editing interfaceInput and edit operation are completed, which fills the target information in information editing interface to application interface for triggeringInformation input area in, at this point, terminal device will receive and respond the second operation, by the target information in information editing interfaceIt fills into the information input area of the current application interface for carrying out information input, in order to which user completes pair in application interfaceThe input of target information.Wherein, the second operation can be the operation of the triggering of the predetermined registration operation state based on information editing interface, orPerson is also possible to act on the preset gesture operation at information editing interface, alternatively, being also possible to voice operating, alternatively, may be used alsoTo be any combination of above-mentioned several modes of operation.
Optionally, in some embodiment of the invention, for ensure target information filling to application interface information inputIts display mode will not be changed when region, and the target information in information editing interface is filled to current and carries out answering for information inputWith in the information input area at interface, may include: the display mode according to target information in information editing interface, by targetInformation is filled to information input area.Specifically, edit format, text of the available target message in information editing interfaceThen the display modes such as arrangement mode fill target information to using boundary according to the edit format of acquisition and text alignment modeIn the information input area in face, edit format includes at least one in font format, font, font size and font effects etc.It is a.
Advantageously, it is contemplated that information may have been inputted, before user carries out this information input to avoid userIt repeatedly inputs, in some optional embodiments of the present invention, in step 102, the first operation of response shows letter in the display interfaceIt can also include: when existing to have inputted information in the information input area for detecting application interface, to incite somebody to action after ceasing editing interfaceIt has inputted information and has been copied to information editing interface.In the embodiment of the present invention, believed by the input obtained in information input areaBreath, and information will have been inputted and be copied to information editing interface, it can be avoided user and repeatedly input.Further, letter will have been inputtedBreath is copied to after information editing interface, can also include: the input information deletion entered information into region;So as toThe problem of avoiding the occurrence of information erroneous input and information repetition.
In addition, in some optional embodiments of the present invention, if the application interface is the session interface of instant messaging application,Target information in information editing interface is filled into the information input area of the current application interface for carrying out information input itAfterwards, this method can with the following steps are included: receive to target information transmission operation, respond the transmission operation, obtain meshThe display properties of message is marked, which may include at least one of edit format, text alignment mode etc., by targetThe display properties of message and the target message is sent to opposite end contact person.
Data inputting method provided in an embodiment of the present invention, by receiving the first operation, display is used in the display interfaceThe information editing interface for receiving and editing the target information of input, is able to use family and conveniently carries out information input and editor,And checking to the complete content of input, promote user experience.
Based on the above method, the embodiment of the present invention provides a kind of terminal device to realize the above method.
Fig. 4 is referred to, shows the structural schematic diagram of terminal device provided in an embodiment of the present invention.The present invention is implementedExample provides a kind of terminal device 400, may include: the first receiving module 410 and display module 420.
First receiving module 410 carries out the first operation of information input in application interface for receiving;
Display module 420 shows information editing interface, information editing circle for responding the first operation in the display interfaceFace is used to receive and edit the target information of input, and information editing interface is different operation interfaces from application interface.
Wherein, in the embodiment of the present invention, the display mode at the information editing interface can there are many.
For example, in an optional embodiment of the present invention, display module 420 may include: the first display unit.
First display unit, for display interface to be divided at least two display areas, at least two display areasIn the first display area in show information editing interface, show and answer in the second display area at least two display areasUse interface.
Alternatively, terminal device includes at least two display screens in another optional embodiment of the invention;Then show mouldBlock 420 may include: the second display unit.
Second display unit, for showing that information is compiled on the display interface of the second display screen at least two display screensEditing interface shows application interface on the display interface of the first display screen at least two display screens.
In an optional embodiment of the present invention, terminal device 400 can also include: that the second receiving module and information are filled outMold filling block.
Second receiving module, for receiving the second operation at information editing interface;
Information fills module, and for responding the second operation, the target information in information editing interface is filled to using boundaryIn the information input area in face.
Optionally, in some embodiment of the invention, for ensure target information filling to application interface information inputIts display mode will not be changed when region, it may include: information fills unit that information, which fills module,.
Information fills unit fills out target information for the display mode according to target information in information editing interfaceIt is charged to information input area.
Advantageously, it is contemplated that information may have been inputted, before user carries out this information input to avoid userIt repeatedly inputs, in some optional embodiments of the present invention, terminal device 400 can also include: information replication module.
Information replication module will when having inputted information for existing in the information input area for detecting application interfaceIt has inputted information and has been copied to information editing interface.
Further, to avoid the occurrence of information erroneous input and information repetition the problem of, some optional implementations of the present inventionIn example, terminal device 400 can also include: information deletion module.
Information deletion module, for entering information into the input information deletion in region.
Wherein, in embodiments of the present invention, first operation reception triggering mode can there are many.For example, at thisIt invents in some optional embodiments, the first receiving module 410 may include: the first receiving unit.
First receiving unit is adding information in the information input area of application interface for detecting, alternatively, connecingThe touch operation to the information input area of application interface is received, determination receives the first operation.
Further, to avoid user's false triggering from operating, in an optional embodiment of the present invention, the first receiving module410 can also include: third display unit and the second receiving unit.
Third display unit, for before determination receives the first operation, showing selection menu circle in the display interfaceFace;
Second receiving unit, for receiving the selection behaviour of the information input the mode option shown on selection menu interfaceMake, determination receives the first operation.
Terminal device provided in an embodiment of the present invention can be realized terminal device in the embodiment of the method for Fig. 1 to Fig. 3 and realizeEach process, to avoid repeating, which is not described herein again.
Terminal device provided in an embodiment of the present invention is shown in the display interface by receiving the first operation for receivingWith the information editing interface of the target information of editor's input, it is able to use family and conveniently carries out information input and editor, andTo checking for the complete content of input, user experience is promoted.
A kind of hardware structural diagram of Fig. 5 terminal device of each embodiment to realize the present invention.
The terminal device 500 includes but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, defeatedEnter unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, processorThe components such as 510 and power supply 511.It will be understood by those skilled in the art that terminal device structure shown in Fig. 5 is not constitutedRestriction to terminal device, terminal device may include than illustrating more or fewer components, perhaps combine certain components orDifferent component layouts.In embodiments of the present invention, terminal device include but is not limited to mobile phone, tablet computer, laptop,Palm PC, car-mounted terminal, wearable device and pedometer etc..
Processor 510 carries out the first operation of information input in application interface for receiving;The first operation of response, aobviousShow and show information editing interface on interface, information editing interface is used to receive and edit the target information of input, information editing circleFace is different operation interfaces from application interface.In embodiments of the present invention, it by receiving the first operation, shows in the display interfaceThe information editing interface for showing the target information for receiving and editing input, be able to use family conveniently carry out information input andEditor, and checking to the complete content of input, promote user experience.
It should be understood that the embodiment of the present invention in, radio frequency unit 501 can be used for receiving and sending messages or communication process in, signalSend and receive, specifically, by from base station downlink data receive after, to processor 510 handle;In addition, by uplinkData are sent to base station.In general, radio frequency unit 501 includes but is not limited to antenna, at least one amplifier, transceiver, couplingDevice, low-noise amplifier, duplexer etc..In addition, radio frequency unit 501 can also by wireless communication system and network and other setStandby communication.
Terminal device provides wireless broadband internet by network module 502 for user and accesses, and such as user is helped to receiveIt sends e-mails, browse webpage and access streaming video etc..
Audio output unit 503 can be received by radio frequency unit 501 or network module 502 or in memory 509The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 503 can also provide and endThe relevant audio output of specific function that end equipment 500 executes is (for example, call signal receives sound, message sink sound etc.Deng).Audio output unit 503 includes loudspeaker, buzzer and receiver etc..
Input unit 504 is for receiving audio or video signal.Input unit 504 may include graphics processor(Graphics Processing Unit, GPU) 5041 and microphone 5042, graphics processor 5041 is in video acquisition modeOr the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries outReason.Treated, and picture frame may be displayed on display unit 506.Through graphics processor 5041, treated that picture frame can be depositedStorage is sent in memory 509 (or other storage mediums) or via radio frequency unit 501 or network module 502.MikeWind 5042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can beThe format output that mobile communication base station can be sent to via radio frequency unit 501 is converted in the case where telephone calling model.
Terminal device 500 further includes at least one sensor 505, such as optical sensor, motion sensor and other biographiesSensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environmentThe light and shade of light adjusts the brightness of display panel 5061, and proximity sensor can close when terminal device 500 is moved in one's earDisplay panel 5061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generalFor three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify terminal device posture (ratioSuch as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap);It passesSensor 505 can also include fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, wetMeter, thermometer, infrared sensor etc. are spent, details are not described herein.
Display unit 506 is for showing information input by user or being supplied to the information of user.Display unit 506 can wrapDisplay panel 5061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be usedForms such as (Organic Light-Emitting Diode, OLED) configure display panel 5061.
User input unit 507 can be used for receiving the number or character information of input, and generate the use with terminal deviceFamily setting and the related key signals input of function control.Specifically, user input unit 507 include touch panel 5071 andOther input equipments 5072.Touch panel 5071, also referred to as touch screen collect the touch operation of user on it or nearby(for example user uses any suitable objects or attachment such as finger, stylus on touch panel 5071 or in touch panel 5071Neighbouring operation).Touch panel 5071 may include both touch detecting apparatus and touch controller.Wherein, touch detectionDevice detects the touch orientation of user, and detects touch operation bring signal, transmits a signal to touch controller;Touch controlDevice processed receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 510, receiving areaIt manages the order that device 510 is sent and is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.Seed type realizes touch panel 5071.In addition to touch panel 5071, user input unit 507 can also include other input equipments5072.Specifically, other input equipments 5072 can include but is not limited to physical keyboard, function key (such as volume control button,Switch key etc.), trace ball, mouse, operating stick, details are not described herein.
Further, touch panel 5071 can be covered on display panel 5061, when touch panel 5071 is detected at itOn or near touch operation after, send processor 510 to determine the type of touch event, be followed by subsequent processing device 510 according to touchingThe type for touching event provides corresponding visual output on display panel 5061.Although in Fig. 5, touch panel 5071 and displayPanel 5061 is the function that outputs and inputs of realizing terminal device as two independent components, but in some embodimentsIn, can be integrated by touch panel 5071 and display panel 5061 and realize the function that outputs and inputs of terminal device, it is specific thisPlace is without limitation.
Interface unit 508 is the interface that external device (ED) is connect with terminal device 500.For example, external device (ED) may include havingLine or wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, storage card endMouth, port, the port audio input/output (I/O), video i/o port, earphone end for connecting the device with identification moduleMouthful etc..Interface unit 508 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) andBy one or more elements that the input received is transferred in terminal device 500 or can be used in 500 He of terminal deviceData are transmitted between external device (ED).
Memory 509 can be used for storing software program and various data.Memory 509 can mainly include storing program areaThe storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one functionSound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such asAudio data, phone directory etc.) etc..In addition, memory 509 may include high-speed random access memory, it can also include non-easyThe property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 510 is the control centre of terminal device, utilizes each of various interfaces and the entire terminal device of connectionA part by running or execute the software program and/or module that are stored in memory 509, and calls and is stored in storageData in device 509 execute the various functions and processing data of terminal device, to carry out integral monitoring to terminal device.PlaceManaging device 510 may include one or more processing units;Preferably, processor 510 can integrate application processor and modulatedemodulate is mediatedManage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is mainProcessing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 510.
Terminal device 500 can also include the power supply 511 (such as battery) powered to all parts, it is preferred that power supply 511Can be logically contiguous by power-supply management system and processor 510, to realize management charging by power-supply management system, putThe functions such as electricity and power managed.
In addition, terminal device 500 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal device, including processor 510, and memory 509 is stored inIt is real when which is executed by processor 510 on memory 509 and the computer program that can be run on processor 510Each process of existing above- mentioned information input method embodiment, and identical technical effect can be reached, to avoid repeating, here no longerIt repeats.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage mediumCalculation machine program realizes each process of above- mentioned information input method embodiment, and energy when the computer program is executed by processorReach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as onlyRead memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviationRAM), magnetic or disk etc..
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-rowHis property includes, so that the process, method, article or the device that include a series of elements not only include those elements, andAnd further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsicElement.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to doThere is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment sideMethod can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many casesThe former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior artThe part contributed out can be embodied in the form of software products, which is stored in a storage mediumIn (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, serviceDevice, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specificEmbodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the artUnder the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very muchForm belongs within protection of the invention.