CN108989554A - A kind of information processing method and terminal - Google Patents

A kind of information processing method and terminal Download PDF

Info

Publication number
CN108989554A
CN108989554A CN201810699252.6A CN201810699252A CN108989554A CN 108989554 A CN108989554 A CN 108989554A CN 201810699252 A CN201810699252 A CN 201810699252A CN 108989554 A CN108989554 A CN 108989554A
Authority
CN
China
Prior art keywords
information
input
target
restored
input information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201810699252.6A
Other languages
Chinese (zh)
Other versions
CN108989554B (en
Inventor
李鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201810699252.6A priority Critical patent/CN108989554B/en
Publication of CN108989554A publication Critical patent/CN108989554A/en
Application granted granted Critical
Publication of CN108989554B publication Critical patent/CN108989554B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1448Management of the data involved in backup or backup restore
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1446Point-in-time backing up or restoration of persistent data
    • G06F11/1458Management of the backup or restore process
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality

Abstract

The present invention provides a kind of information processing method and terminal, solves the problems, such as to exist after existing mobile phone input content is accidentally deleted and be difficult to restore.Processing method of the invention includes: when detecting that input method is called by target application, target is obtained from database inputs information, wherein, the target input information is the corresponding input information of preset attribute information of the target application, and the corresponding at least one input information of preset attribute information of different application is preserved in the database;Information is inputted according to the target, determines target information to be restored;Show target information to be restored.The embodiment of the present invention, which allows, directly chooses the content to be restored in the target of user from display information to be restored, is manually entered again without user, improves the efficiency that user edits input content.

Description

A kind of information processing method and terminal
Technical field
The present invention relates to the technical field of communications applications more particularly to a kind of information processing method and terminals.
Background technique
With the development of smart phone, the application scenarios of mobile phone are more and more, obtain the defeated of quick pleasure for convenience of people Enter experience, present input method can be locally downloading by the common vocabulary of user after all logging in account, in this way in user Common words and high frequency vocabulary can be quickly input in mobile phone very much when input.
When using mobile phone editor some contents, the scene through being commonly encountered is more public occasion, such as walk, market, The occasions such as on train, encountered by other people or some scenes such as rubber sleeve mobile phone is fallen under easily lead to the content editted because Accidentally touching is lost, and the prior art can remember user's common words, but the content inputted before can not restoring, and at present in mobile phone It the place largely inputted will not the function that automatically saves of band.Therefore, there is hardly possible after existing mobile phone input content is accidentally deleted To restore to need the problem of re-entering.
Summary of the invention
The purpose of the present invention is to provide a kind of information processing method and terminals, to solve existing mobile phone input content There are problems that being difficult to restore after accidentally being deleted.
In order to solve the above-mentioned technical problem, the present invention is implemented as follows:
In a first aspect, the embodiment provides a kind of information processing methods, comprising:
When detecting that input method is called by target application, target is obtained from database and inputs information, wherein the target The corresponding input information of preset attribute information that information is the target application is inputted, preserves different application in the database Preset attribute information it is corresponding at least one input information;
Information is inputted according to the target, determines target information to be restored;
Show target information to be restored.
Second aspect, the embodiments of the present invention also provide a kind of terminals, comprising:
Module is obtained, when for detecting that input method is called by target application, target is obtained from database and inputting information, Wherein, the target inputs information for the corresponding input information of preset attribute information of the target application, in the database Preserve the corresponding at least one input information of preset attribute information of different application;
Determining module determines target information to be restored for inputting information according to the target;
Display module, for showing target information to be restored.
The third aspect the embodiment of the invention also provides a kind of terminal, including processor, memory and is stored in described deposit On reservoir and the computer program that can run on the processor, the computer program are realized when being executed by the processor The step of information processing method as described above.
Fourth aspect, it is described computer-readable to deposit the embodiment of the invention also provides a kind of computer readable storage medium Computer program is stored on storage media, the computer program realizes information processing method as described above when being executed by processor The step of.
The embodiment of the present invention has the advantages that
The above-mentioned technical proposal of the embodiment of the present invention when detecting that input method is called by target application, is obtained from database Target input information corresponding with the preset attribute information of the target application is taken, information is inputted according to the target and determines that target waits for Restore information and show, so that user can be out of in the target information to be restored of display directly selection to be restored Hold, is manually entered again without user, improves the efficiency that user edits input content.
Detailed description of the invention
Fig. 1 is the flow diagram of the information processing method of the embodiment of the present invention;
Fig. 2 is the first display schematic diagram of target information to be restored in the embodiment of the present invention;
Fig. 3 is the second display schematic diagram of target information to be restored in the embodiment of the present invention;
Fig. 4 is one of the module diagram of terminal provided in an embodiment of the present invention;
Fig. 5 is the two of the module diagram of terminal provided in an embodiment of the present invention;
Fig. 6 is the structural block diagram of terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts Example, shall fall within the protection scope of the present invention.
As shown in Figure 1, being the flow diagram of information processing method provided in an embodiment of the present invention, should scheme below specific Illustrate the implementation process of this method.
The information processing method of the embodiment of the present invention is applied to terminal, comprising:
Step 101: when detecting that input method is called by target application, obtaining target from database and input information, wherein The target input information is the corresponding input information of preset attribute information of the target application, is preserved in the database The corresponding at least one input information of the preset attribute information of different application.
Above-mentioned preset attribute information can be specially Apply Names.Terminal can call input method by call back function.
In a specific embodiment of the present invention, above-mentioned database is pre-established, which preserves the hair of different application Bright title corresponding at least one inputs information, it is preferred that the corresponding input of every input information is also preserved in the database Time.
Specifically, before above-mentioned steps 101, the information processing method of the embodiment of the present invention, further includes:
When detecting that the input method is called in the first application, the input operation interface for recording input method enters input state At the first time;The input information preservation that the input operation interface is received is into caching;Detect that institute is called in the second application When stating input method, increase default terminating symbol in the input information that the caching saves, and default terminating symbol will be increased An input information preservation is entered information as into database, and establishes the input information, the first time and institute State the corresponding relationship of the preset attribute information of the first application.
In the embodiment of the present invention, can be by the input operation interface that system determines input method to the calling of input keyboard It is no to enter input state, and current system time (first time) is recorded, for example, passing through the call back function in input method frame To determine whether the input operation interface of input method enters input state.
And the information of user's input can be obtained by call back function, and the content preservation that will acquire is in the buffer, When the application of input method being called to change, the content in current cache area is saved in the database, database structure includes Date (input time), Apply Names and input content three parts, it is convenient that screening synchronization is carried out after upload server.
Wherein, the default terminating symbol of increase is entered information as into an input information preservation into database, comprising:
According to the current electricity of terminal, holding time interval is calculated, the holding time interval is inversely proportional with terminal power; According to the holding time interval, the default terminating symbol of increase is entered information as into an input information preservation to data Library.
When restoring the content of edit of user, need using the record that input method inputs to save user in the database, And the operation that database is written belongs to io operation, can have some impact on to handset capability with power consumption, therefore it is current to obtain mobile phone Electricity, under different electricity using different write-in frequency can to avoid because caused by frequently writing into database power consumption ask Topic, and input efficiency is improved, default then increases 30s using N=2 minutes as the basic time, in the every reduction 10% of electricity, i.e., in electricity N is 2 minutes when amount is 90%~100%, electricity N at 80%~90% be 2 points 30 seconds, and so on, according to current Android Android performance, write-in in database 2 minutes will not once have any impact to performance, and maintain 5 points using cellphone inputting method The input content of clock will not impact the performances such as memory.
Specifically, user, can be with the frequency of every time for crossing N certainly when long-time is edited under same application Input content before dynamic preservation is into database, when user switches in application, then being ended up with separator (default terminating symbol), Achieve the purpose that automatically save input content, and user is facilitated to restore after accidentally deleting.
Step 102: information being inputted according to the target, determines target information to be restored.
Specifically, the target is inputted information, is determined in the case where the first input information includes default terminating symbol For target information to be restored;It, will be in caching in the case where the first input information does not include the default terminating symbol Data are spliced with the first input information, and the spliced target is inputted information, and it is to be restored to be determined as target Information;
Wherein, the first input information is that the target inputs in information, the time difference of input time and current time The smallest input information.
In the embodiment of the present invention, before displaying target information to be restored, need to detect the integrality of target input information, Whether the first input information detected in above-mentioned target input information includes default terminating symbol, such as " EOF " symbol, is being examined When measuring the default terminating symbol, determines that target input information is complete, then it is to be restored the target to be entered information as into target Information when not including default terminating symbol in above-mentioned first input information, determines that target input information is imperfect, then will delay Data in depositing are spliced with the first input information, i.e., by the data in caching be spliced to the first input information word string it Afterwards, complete target input information is obtained, and complete target input information is determined as target information to be restored.
Step 103: showing target information to be restored.
Above-mentioned target information to be restored is shown and is being selected in word region or suspended window, is inputted for selection by the user.
Further, after showing that the target restores information, further includes:
It is when detecting predetermined input of the user to the target input information in target information to be restored, the target is defeated In the edit box for entering the input operation interface that information is shown in input method.
The information processing method of the embodiment of the present invention when detecting that input method is called by target application, is obtained from database Target input information corresponding with the preset attribute information of the target application is taken, information is inputted according to the target and determines that target waits for Restore information and show, so that user can be out of in the target information to be restored of display directly selection to be restored Hold, is manually entered again without user, improves the efficiency that user edits input content.
As the first optional implementation, above-mentioned target input information is the preset attribute information of the target application Corresponding all input information.
Specifically, when input method has been adjusted, the Apply Names for having adjusted the target application of input method are obtained, and from database The middle corresponding all input information of Apply Names for reading the target application can input the input time of information according to every, right Every input information that target input information includes is ranked up.
Based on this, above-mentioned steps 103 show target information to be restored, comprising:
When receiving default input of the user to the input operation interface of the input method, shown according to input time described in At least one input information in target information to be restored.
Specifically, showing that the target is to be restored according to the time difference of input time and current time ascending sequence At least one input information in information will be shown at first with current time apart from nearest input information, with convenient User carries out Information recovering.
The default input can be specially to click input, double-click input, dragging input, slidably input with stroke input etc..Example Such as, as shown in Fig. 2, detecting that user when input operation interface is left sliding, will restore information by the target after input time sequence Region except input operation interface is shown.When user's input content is more, in fact it could happen that more periods are an inputs The case where backup, thus dragging input information to input operation interface edit box can reach restore complete content purpose.
The information recovering method of the embodiment of the present invention, by monitoring the input state of input method and determining input information The user-friendly any editing environment of mode that Shi Baocun, switching application save can automatically save content of edit, will not lose It loses, left sliding cutting changes recovery data list, user is facilitated flexibly to restore data.
As second of optional implementation, above-mentioned target input information is the preset attribute information of the target application In corresponding all input information, the time difference of input time and current time is less than the input information of preset threshold.For example, working as User obtain edit box focus tune rise input method when, input method obtain current application Apply Names, inquire database in whether In the presence of input information corresponding with the Apply Names, and if it exists, then read corresponding input time, and done pair with current time Than access time difference is less than preset threshold, such as 6 hours input information, inputs information as target.
Based on this, above-mentioned steps 103 show target information to be restored, comprising:
Receive the current input information that user is inputted by the input operation interface of the input method;
When detecting that the similarity of the current input information and target information to be restored is greater than default similarity, show Show target information to be restored.
Above-mentioned similarity be by number with the identical characters in target information to be restored in detection current input information, Determine similarity, the number of identical characters is more, and similarity is higher.For example, as shown in figure 3, when detecting that target is to be restored When in information including current input information, word region is being selected to show a preset icon, such as five-pointed star icon, user clicks or long-pressing After the preset icon, target recovery information is shown and is selecting word region.
The information processing method of the embodiment of the present invention, by monitoring the input state of input method and being timed guarantor to data It deposits, switch using the mode saved, user-friendly any editing environment can automatically save content of edit, will not lose, Word region is being selected with icon displaying when recovery, user is being will not influence and normally inputs, long-pressing carries out content displaying, and screen is in click to reach To the purpose of more Exact recovery user data.
Preferably, the information processing method of the embodiment of the present invention, further includes:
Processing is updated to the input information saved in database.
It is input information in database specifically, upload is newly-increased, for example, will be in database when user uses wifi Content uploading facilitates and synchronizes between more equipment to remote server, and every prescribed time period is cleared up in a database Content, it is ensured that the memory of database is unlikely to excessive.
The information processing method of the embodiment of the present invention when detecting that input method is called by target application, is obtained from database Target input information corresponding with the preset attribute information of the target application is taken, information is inputted according to the target and determines that target waits for Restore information and show, so that user can be out of in the target information to be restored of display directly selection to be restored Hold, is manually entered again without user, improves the efficiency that user edits input content.
As shown in figure 4, the embodiments of the present invention also provide a kind of terminals 400, comprising:
Module 401 being obtained, when for detecting that input method is called by target application, target input letter is obtained from database Breath, wherein the target input information is the corresponding input information of preset attribute information of the target application, the database In preserve different application preset attribute information it is corresponding at least one input information;
Determining module 402 determines target information to be restored for inputting information according to the target;
Display module 403, for showing target information to be restored.
Wherein, every input information corresponding input time is also preserved in the database;The embodiment of the present invention Terminal, as shown in figure 5, the determining module 402 includes:
First determines submodule 4021, is used in the case where the first input information includes default terminating symbol, will be described Target input information is determined as target information to be restored;
Second determines submodule 4022, for the case where the first input information does not include the default terminating symbol Under, the data in caching are spliced, and the spliced target is inputted into information with the first input information, is determined For target information to be restored;
Wherein, the first input information is that the target inputs in information, the time difference of input time and current time The smallest input information.
The terminal of the embodiment of the present invention, the target input information are that the preset attribute information of the target application is corresponding All input information;
When the display module 403 is used to receive default input of the user to the input operation interface of the input method, At least one input information in target information to be restored is shown according to input time.
The terminal of the embodiment of the present invention, the target input information are that the preset attribute information of the target application is corresponding In all input information, the time difference of input time and current time is less than the input information of preset threshold;
The terminal of the embodiment of the present invention, the display module 403 include:
Receiving submodule 4031, the current input inputted for receiving user by the input operation interface of the input method Information;
Display sub-module 4032, for detecting the similarity of the current input information Yu target information to be restored When greater than default similarity, target information to be restored is shown.
The terminal of the embodiment of the present invention, further includes:
Logging modle 404 when detecting that input method is called by target application for obtaining module, obtains mesh from database Mark input information before, detect first application call the input method when, record input method input operation interface enter it is defeated Enter the first time of state;
Preserving module 405, the input information preservation for receiving the input operation interface is into caching;
Processing module 406, when for detecting that the input method is called in the second application, in the input letter that the caching saves Increase default terminating symbol in breath, and the default terminating symbol of increase is entered information as into an input information preservation to data In library, and establish the corresponding relationship of the preset attribute information of the input information, the first time and first application.
The terminal of the embodiment of the present invention, the processing module 406 include:
Computational submodule 4061 calculates holding time interval, between the holding time for the electricity current according to terminal It is inversely proportional every with terminal power;
Submodule 4062 is saved, for the input information of default terminating symbol will to be increased according to the holding time interval As an input information preservation to database.
The terminal of the embodiment of the present invention, when detecting that input method is called by target application, from database obtain with it is described The corresponding target of the preset attribute information of target application inputs information, inputs information according to the target and determines target information to be restored And show, so that user can directly choose the content to be restored from the target information to be restored of display, without using Family is manually entered again, improves the efficiency that user edits input content.
A kind of hardware structural diagram of Fig. 6 terminal of each embodiment to realize the present invention, the terminal 600 include but not It is limited to: radio frequency unit 601, network module 602, audio output unit 603, input unit 604, sensor 605, display unit 606, the components such as user input unit 607, interface unit 608, memory 609, processor 610 and power supply 611.This field Technical staff is appreciated that the restriction of terminal structure shown in Fig. 6 not structure paired terminal, and terminal may include than illustrating more More or less component perhaps combines certain components or different component layouts.In embodiments of the present invention, terminal includes But be not limited to mobile phone, tablet computer, laptop, palm PC, car-mounted terminal, wearable device and pedometer etc..
Wherein, when for detecting that input method is called by target application, it is defeated to obtain target from database for processor 610 Enter information, wherein the target input information is the corresponding input information of preset attribute information of the target application, the number According to the corresponding at least one input information of the preset attribute information for preserving different application in library;It is inputted and is believed according to the target Breath, determines target information to be restored;Show target information to be restored.
The processor can be realized each process of above- mentioned information processing method embodiment, and can reach identical technology effect Fruit, to avoid repeating, which is not described herein again.
The above-mentioned technical proposal of the embodiment of the present invention when detecting that input method is called by target application, is obtained from database Target input information corresponding with the preset attribute information of the target application is taken, information is inputted according to the target and determines that target waits for Restore information and show, so that user can be out of in the target information to be restored of display directly selection to be restored Hold, is manually entered again without user, improves the efficiency that user edits input content.
It should be understood that the embodiment of the present invention in, radio frequency unit 601 can be used for receiving and sending messages or communication process in, signal Send and receive, specifically, by from base station downlink data receive after, to processor 610 handle;In addition, by uplink Data are sent to base station.In general, radio frequency unit 601 includes but is not limited to antenna, at least one amplifier, transceiver, coupling Device, low-noise amplifier, duplexer etc..In addition, radio frequency unit 601 can also by wireless communication system and network and other set Standby communication.
Terminal provides wireless broadband internet by network module 602 for user and accesses, and such as user is helped to receive and dispatch electricity Sub- mail, browsing webpage and access streaming video etc..
Audio output unit 603 can be received by radio frequency unit 601 or network module 602 or in memory 609 The audio data of storage is converted into audio signal and exports to be sound.Moreover, audio output unit 603 can also provide and end The relevant audio output of specific function (for example, call signal receives sound, message sink sound etc.) that end 600 executes.Sound Frequency output unit 603 includes loudspeaker, buzzer and receiver etc..
Input unit 604 is for receiving audio or video signal.Input unit 604 may include graphics processor (Graphics Processing Unit, GPU) 6041 and microphone 6042, graphics processor 6041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 606.Through graphics processor 6041, treated that picture frame can be deposited Storage is sent in memory 609 (or other storage mediums) or via radio frequency unit 601 or network module 602.Mike Wind 6042 can receive sound, and can be audio data by such acoustic processing.Treated audio data can be The format output that mobile communication base station can be sent to via radio frequency unit 601 is converted in the case where telephone calling model.
Terminal 600 further includes at least one sensor 605, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjusts the brightness of display panel 6061, and proximity sensor can close display panel when terminal 600 is moved in one's ear 6061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add The size of speed can detect that size and the direction of gravity when static, can be used to identify terminal posture (such as horizontal/vertical screen switching, Dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Sensor 605 can be with Including fingerprint sensor, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, hygrometer, thermometer, Infrared sensor etc., details are not described herein.
Display unit 606 is for showing information input by user or being supplied to the information of user.Display unit 606 can wrap Display panel 6061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 6061.
User input unit 607 can be used for receiving the number or character information of input, and generates and set with the user of terminal It sets and the related key signals of function control inputs.Specifically, user input unit 607 include touch panel 6071 and other Input equipment 6072.Touch panel 6071, also referred to as touch screen, collect user on it or nearby touch operation (such as User is using any suitable objects or attachment such as finger, stylus on touch panel 6071 or near touch panel 6071 Operation).Touch panel 6071 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined The touch orientation of user is surveyed, and detects touch operation bring signal, transmits a signal to touch controller;Touch controller from Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 610, receives processor 610 The order sent simultaneously is executed.Furthermore, it is possible to using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves Realize touch panel 6071.In addition to touch panel 6071, user input unit 607 can also include other input equipments 6072. Specifically, other input equipments 6072 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 6071 can be covered on display panel 6061, when touch panel 6071 is detected at it On or near touch operation after, send processor 610 to determine the type of touch event, be followed by subsequent processing device 610 according to touching The type for touching event provides corresponding visual output on display panel 6061.Although in Fig. 6, touch panel 6071 and display Panel 6061 is the function that outputs and inputs of realizing terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of terminal is realized so that touch panel 6071 and display panel 6061 is integrated, is not limited herein specifically It is fixed.
Interface unit 608 is the interface that external device (ED) is connect with terminal 600.For example, external device (ED) may include it is wired or Wireless head-band earphone port, external power supply (or battery charger) port, wired or wireless data port, memory card port, For connecting port, the port audio input/output (I/O), video i/o port, ear port of the device with identification module Etc..Interface unit 608 can be used for receiving the input (for example, data information, electric power etc.) from external device (ED) and will One or more elements that the input received is transferred in terminal 600 or can be used for terminal 600 and external device (ED) it Between transmit data.
Memory 609 can be used for storing software program and various data.Memory 609 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 609 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 610 is the control centre of terminal, using the various pieces of various interfaces and the entire terminal of connection, is led to It crosses operation or executes the software program and/or module being stored in memory 609, and call and be stored in memory 609 Data execute the various functions and processing data of terminal, to carry out integral monitoring to terminal.Processor 610 may include one Or multiple processing units;Preferably, processor 610 can integrate application processor and modem processor, wherein application processing The main processing operation system of device, user interface and application program etc., modem processor mainly handles wireless communication.It can manage Solution, above-mentioned modem processor can not also be integrated into processor 610.
Terminal 600 can also include the power supply 611 (such as battery) powered to all parts, it is preferred that power supply 611 can be with It is logically contiguous by power-supply management system and processor 610, thus by power-supply management system realize management charging, electric discharge, with And the functions such as power managed.
In addition, terminal 600 includes some unshowned functional modules, details are not described herein.
Preferably, the embodiment of the present invention also provides a kind of terminal, including processor, and memory stores on a memory simultaneously The computer program that can be run on the processor realizes above- mentioned information processing side when the computer program is executed by processor Each process of method embodiment, and identical technical effect can be reached, to avoid repeating, which is not described herein again.
The embodiment of the present invention also provides a kind of computer readable storage medium, and meter is stored on computer readable storage medium Calculation machine program realizes each process of above- mentioned information processing method embodiment, and energy when the computer program is executed by processor Reach identical technical effect, to avoid repeating, which is not described herein again.Wherein, the computer readable storage medium, such as only Read memory (Read-Only Memory, abbreviation ROM), random access memory (Random Access Memory, abbreviation RAM), 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-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There 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 side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, 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 specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under 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 much Form belongs within protection of the invention.

Claims (12)

1. a kind of information processing method is applied to terminal characterized by comprising
When detecting that input method is called by target application, target is obtained from database and inputs information, wherein the target input Information is the corresponding input information of preset attribute information of the target application, preserves the pre- of different application in the database If the corresponding at least one input information of attribute information;
Information is inputted according to the target, determines target information to be restored;
Show target information to be restored.
2. information processing method according to claim 1, which is characterized in that also preserved described in every in the database Input information corresponding input time;
Information is inputted according to the target, determines target information to be restored, comprising:
In the case where the first input information includes default terminating symbol, it is to be restored that target input information is determined as target Information;
In the case where the first input information does not include the default terminating symbol, by the data and described first in caching Input information is spliced, and the spliced target is inputted information, is determined as target information to be restored;
Wherein, the first input information is that the target inputs in information, and the time difference of input time and current time is minimum Input information.
3. information processing method according to claim 2, which is characterized in that the target input information is that the target is answered The corresponding all input information of preset attribute information;
Show target information to be restored, comprising:
When receiving default input of the user to the input operation interface of the input method, the target is shown according to input time At least one input information in information to be restored.
4. information processing method according to claim 2, which is characterized in that the target input information is that the target is answered In the corresponding all input information of preset attribute information, the time difference of input time and current time is less than preset threshold Input information;
Show target information to be restored, comprising:
Receive the current input information that user is inputted by the input operation interface of the input method;
When detecting that the similarity of the current input information and target information to be restored is greater than default similarity, institute is shown State target information to be restored.
5. information processing method according to claim 1, which is characterized in that detect that input method is called by target application When, before obtaining target input information in database, further includes:
When detecting that the input method is called in the first application, the input operation interface for recording input method enters the first of input state Time;
The input information preservation that the input operation interface is received is into caching;
When detecting that the input method is called in the second application, increase default end mark in the input information that the caching saves Number, and the default terminating symbol of increase is entered information as into an input information preservation into database, and establish described defeated Enter the corresponding relationship of the preset attribute information of information, the first time and first application.
6. information processing method according to claim 5, which is characterized in that the input information of default terminating symbol will be increased As an input information preservation into database, comprising:
According to the current electricity of terminal, holding time interval is calculated, the holding time interval is inversely proportional with terminal power;
According to the holding time interval, the default terminating symbol of increase is entered information as into an input information preservation to number According to library.
7. a kind of terminal characterized by comprising
Module is obtained, when for detecting that input method is called by target application, target is obtained from database and inputting information, In, the target input information is the corresponding input information of preset attribute information of the target application, is protected in the database There is the corresponding at least one input information of preset attribute information of different application;
Determining module determines target information to be restored for inputting information according to the target;
Display module, for showing target information to be restored.
8. terminal according to claim 7, which is characterized in that also preserve every input information in the database Corresponding input time;
The determining module includes:
First determines submodule, in the case where the first input information includes default terminating symbol, the target to be inputted Information is determined as target information to be restored;
Second determines submodule, for that will delay in the case where the first input information does not include the default terminating symbol Data in depositing are spliced with the first input information, and the spliced target is inputted information, are determined as target Information to be restored;
Wherein, the first input information is that the target inputs in information, and the time difference of input time and current time is minimum Input information.
9. terminal according to claim 8, which is characterized in that the target input information is the default of the target application The corresponding all input information of attribute information;
When the display module is used to receive default input of the user to the input operation interface of the input method, according to input At least one input information in the information to be restored of target described in time showing.
10. terminal according to claim 8, which is characterized in that the target input information is the pre- of the target application If in the corresponding all input information of attribute information, the input that the time difference of input time and current time is less than preset threshold is believed Breath;
The display module includes:
Receiving submodule, the current input information inputted for receiving user by the input operation interface of the input method;
Display sub-module, for detecting that it is default that the similarity of the current input information and target information to be restored is greater than When similarity, target information to be restored is shown.
11. terminal according to claim 9, which is characterized in that further include:
Logging modle when detecting that input method is called by target application for obtaining module, obtains target input from database Before information, when detecting that the input method is called in the first application, the input operation interface for recording input method enters input state First time;
Preserving module, the input information preservation for receiving the input operation interface is into caching;
Processing module when for detecting that the input method is called in the second application, increases in the input information that the caching saves Add default terminating symbol, and the default terminating symbol of increase entered information as into an input information preservation into database, And establish the corresponding relationship of the preset attribute information of the input information, the first time and first application.
12. terminal according to claim 11, which is characterized in that the processing module includes:
Computational submodule calculates holding time interval, the holding time interval and terminal for the electricity current according to terminal Electricity is inversely proportional;
Submodule is saved, for according to the holding time interval, the default terminating symbol of increase to be entered information as one Information preservation is inputted to database.
CN201810699252.6A 2018-06-29 2018-06-29 Information processing method and terminal Active CN108989554B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810699252.6A CN108989554B (en) 2018-06-29 2018-06-29 Information processing method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810699252.6A CN108989554B (en) 2018-06-29 2018-06-29 Information processing method and terminal

Publications (2)

Publication Number Publication Date
CN108989554A true CN108989554A (en) 2018-12-11
CN108989554B CN108989554B (en) 2021-01-15

Family

ID=64539597

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810699252.6A Active CN108989554B (en) 2018-06-29 2018-06-29 Information processing method and terminal

Country Status (1)

Country Link
CN (1) CN108989554B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109905316A (en) * 2019-02-28 2019-06-18 努比亚技术有限公司 A kind of method of Information recovering, terminal and computer readable storage medium
CN110851304A (en) * 2019-11-12 2020-02-28 维沃移动通信有限公司 Backup method and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080307000A1 (en) * 2007-06-08 2008-12-11 Toby Charles Wood Paterson Electronic Backup of Applications
CN102880685A (en) * 2012-09-13 2013-01-16 北京航空航天大学 Method for interval and paging query of time-intensive B/S (Browser/Server) with large data size
CN103369722A (en) * 2012-03-28 2013-10-23 宇龙计算机通信科技(深圳)有限公司 Mobile terminal control method and mobile terminal control apparatus
CN103870443A (en) * 2012-12-12 2014-06-18 北大方正集团有限公司 Note making method and device
CN104571589A (en) * 2014-12-31 2015-04-29 广东欧珀移动通信有限公司 Input method based data processing method and device
CN105045686A (en) * 2015-08-28 2015-11-11 小米科技有限责任公司 File recovery method and apparatus
CN105117223A (en) * 2015-08-20 2015-12-02 广东欧珀移动通信有限公司 Processing method and system of input event
CN105808376A (en) * 2016-02-24 2016-07-27 北京金山安全软件有限公司 Data backup method and device and electronic equipment
WO2016179087A1 (en) * 2015-05-01 2016-11-10 Ink Corp. Personalized image-based communication on mobile platforms

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080307000A1 (en) * 2007-06-08 2008-12-11 Toby Charles Wood Paterson Electronic Backup of Applications
CN103369722A (en) * 2012-03-28 2013-10-23 宇龙计算机通信科技(深圳)有限公司 Mobile terminal control method and mobile terminal control apparatus
CN102880685A (en) * 2012-09-13 2013-01-16 北京航空航天大学 Method for interval and paging query of time-intensive B/S (Browser/Server) with large data size
CN103870443A (en) * 2012-12-12 2014-06-18 北大方正集团有限公司 Note making method and device
CN104571589A (en) * 2014-12-31 2015-04-29 广东欧珀移动通信有限公司 Input method based data processing method and device
WO2016179087A1 (en) * 2015-05-01 2016-11-10 Ink Corp. Personalized image-based communication on mobile platforms
CN105117223A (en) * 2015-08-20 2015-12-02 广东欧珀移动通信有限公司 Processing method and system of input event
CN105045686A (en) * 2015-08-28 2015-11-11 小米科技有限责任公司 File recovery method and apparatus
CN105808376A (en) * 2016-02-24 2016-07-27 北京金山安全软件有限公司 Data backup method and device and electronic equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109905316A (en) * 2019-02-28 2019-06-18 努比亚技术有限公司 A kind of method of Information recovering, terminal and computer readable storage medium
CN109905316B (en) * 2019-02-28 2022-06-03 努比亚技术有限公司 Information recovery method, terminal and computer readable storage medium
CN110851304A (en) * 2019-11-12 2020-02-28 维沃移动通信有限公司 Backup method and electronic equipment

Also Published As

Publication number Publication date
CN108989554B (en) 2021-01-15

Similar Documents

Publication Publication Date Title
CN107734378B (en) A kind of audio and video synchronization method, device and mobile terminal
CN109445894A (en) A kind of screenshot method and electronic equipment
CN108334265B (en) A kind of document handling method and mobile terminal
CN110166828A (en) A kind of method for processing video frequency and device
CN108920239A (en) A kind of long screenshotss method and mobile terminal
CN110413364A (en) A kind of information processing method and terminal
CN109582475A (en) A kind of sharing method and terminal
CN109491738A (en) A kind of control method and terminal device of terminal device
CN110209332A (en) A kind of information processing method and terminal device
CN109213416A (en) A kind of display information processing method and mobile terminal
CN110308839A (en) A kind of file management method and terminal device
CN109062411A (en) A kind of screen luminance adjustment method and mobile terminal
CN109327672A (en) A kind of video call method and terminal
CN110442279A (en) A kind of message method and mobile terminal
CN108763540A (en) A kind of file browsing method and terminal
CN108123999A (en) A kind of information push method and mobile terminal
CN109618218A (en) A kind of method for processing video frequency and mobile terminal
CN109697262A (en) A kind of information display method and device
CN109271262A (en) A kind of display methods and terminal
CN108984143A (en) A kind of display control method and terminal device
CN108833684A (en) A kind of information cuing method and terminal device
CN107992378B (en) A kind of document handling method and mobile terminal
CN108989554A (en) A kind of information processing method and terminal
CN110045943A (en) A kind of data recording method and terminal device
CN110096203A (en) A kind of screenshot method and mobile terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant