[go: up one dir, main page]

CN106250268A - Content of text recovery device and method - Google Patents

Content of text recovery device and method Download PDF

Info

Publication number
CN106250268A
CN106250268A CN201610587010.9A CN201610587010A CN106250268A CN 106250268 A CN106250268 A CN 106250268A CN 201610587010 A CN201610587010 A CN 201610587010A CN 106250268 A CN106250268 A CN 106250268A
Authority
CN
China
Prior art keywords
text content
text
deleted
content
mobile terminal
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
CN201610587010.9A
Other languages
Chinese (zh)
Other versions
CN106250268B (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201610587010.9A priority Critical patent/CN106250268B/en
Publication of CN106250268A publication Critical patent/CN106250268A/en
Application granted granted Critical
Publication of CN106250268B publication Critical patent/CN106250268B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • G06F11/1469Backup restoration techniques

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The open a kind of content of text recovery device of the present invention, including: preserve module, for the text editing page of display on the first physical screen of mobile terminal, when having detected that content of text is deleted, preserve the content of text being deleted, and the station location marker that the content of text being deleted is in current text;Recover module, the page is recovered for the content of text of display on the second physical screen of mobile terminal, when receiving the instruction of the recovery to the content of text specified, according to the described content of text specified station location marker in current text, the described content of text specified is returned to the relevant position of current text.Invention additionally discloses a kind of content of text restoration methods.Present invention achieves on mobile terminal in text editing application, the quick-recovery convenient, fast to deleted content of text.

Description

Text content recovery device and method
Technical Field
The invention relates to the field of mobile terminals, in particular to a text content recovery device and a text content recovery method.
Background
In the era of mobile internet, along with the popularization of intelligent terminals, the types of applications installed on mobile terminals are becoming diversified. With the continuous development of mobile terminals in the large screen direction, the mobile terminals can be used as communication equipment and office tools, wherein the use frequency of text editing applications is high, users can often write articles, lyrics, news manuscripts, magazines, scripts, poems and the like by using the text editing applications on the mobile terminals, and the work and life of the users are facilitated.
However, the existing text editing application does not support the recovery of the deleted text content, that is, after a part of the text content in the text is deleted, the user cannot automatically recover the deleted text content through the mobile terminal, and needs to manually re-edit the deleted text content, which increases the workload of the user, and for the case that the deleted text content contains a large number of words, the user needs to spend more time, which undoubtedly brings inconvenience to the text editing work of the user.
Disclosure of Invention
The invention mainly aims to provide a text content recovery device and a text content recovery method, and aims to solve the technical problem that the existing text editing application on a mobile terminal does not support the recovery of deleted text content.
In order to achieve the above object, the present invention provides a text content recovery apparatus, including:
the mobile terminal comprises a storage module, a display module and a display module, wherein the storage module is used for storing a text editing page displayed on a first physical screen of the mobile terminal, and storing the deleted text content and a position identifier of the deleted text content in a current text when detecting that the text content is deleted;
and the restoring module is used for restoring the text content displayed on a second physical screen of the mobile terminal to a page, and restoring the specified text content to the corresponding position of the current text according to the position identification of the specified text content in the current text when a restoring instruction of the specified text content is received.
Optionally, the text content recovery apparatus further includes:
and the updating module is used for updating the position identifier of the deleted text content in the text according to the content change of the text when the content of the text changes.
Optionally, the text content recovery apparatus further includes:
and the deleting module is used for restoring the page in the text content, and deleting the saved specified text content and the position identification of the specified text content in the text when a complete deleting instruction of the specified text content is received.
Optionally, the saving module includes:
the counting unit is used for counting the word number of the deleted text content when the text content is detected to be deleted on the text editing page;
and the storage unit is used for storing the deleted text content and the position identification of the deleted text content in the text when the word number of the deleted text content is greater than or equal to a preset threshold value.
Optionally, the text content recovery apparatus further includes:
the display module is used for controlling the text editing page to be switched to the text content recovery page or controlling the text editing page and the text content recovery page to be displayed in a split screen mode on the same physical screen when the text content recovery page needs to be displayed; or controlling the text editing page to be displayed on a first physical screen; and controlling the text content recovery page to be displayed on a second physical screen.
Optionally, while saving the deleted text content and the location identifier thereof in the text, the saving module is further configured to save context text content of the text content; the text content recovery apparatus further includes:
and the display module is used for displaying the context text content corresponding to the deleted text content while displaying the deleted text content on the text content recovery page.
In order to achieve the above object, the present invention further provides a text content recovery method, where the text content recovery method includes:
when detecting that the text content is deleted, storing the deleted text content and a position identifier of the deleted text content in a current text;
and when a restoring instruction of the specified text content is received, restoring the specified text content to the corresponding position of the current text according to the position identification of the specified text content in the current text on a text content restoring page displayed on a second physical screen of the mobile terminal.
Optionally, the text content recovery method further includes:
and when the content of the text changes, updating the position identifier of the deleted text content in the text according to the content change of the text.
Optionally, the text content recovery method further includes:
and when a complete deletion instruction of the specified text content is received, deleting the saved specified text content and the position identification of the specified text content in the text on the text content recovery page.
Optionally, the text editing page displayed on the first physical screen of the mobile terminal stores the deleted text content when detecting that the text content is deleted, and the identifier of the position of the deleted text content in the current text includes:
counting the word number of the deleted text content when detecting that the text content is deleted on the text editing page;
when the number of words of the deleted text content is larger than or equal to a preset threshold value, the deleted text content is saved, and the position identification of the deleted text content in the text is stored.
Optionally, the text content recovery method further includes:
when the text content recovery page needs to be displayed, controlling the text editing page to be switched to the text content recovery page on the same physical screen, or controlling the text editing page and the text content recovery page to be displayed in a split screen manner; or,
controlling the text editing page to be displayed on a first physical screen; and controlling the text content recovery page to be displayed on a second physical screen.
Optionally, the context text content of the text content is saved while the deleted text content and the position identifier thereof in the text are saved; the text content recovery method further comprises the following steps:
and displaying the context text content corresponding to the deleted text content at the same time of displaying the deleted text content on the text content recovery page.
When a text editing page displayed on a first physical screen of a mobile terminal detects that text content is deleted, the deleted text content and a position identifier of the deleted text content in a current text are stored so as to enable the text content displayed on a second physical screen of the mobile terminal to be recovered, and when a recovery instruction of the specified text content is received, the specified text content is recovered to a corresponding position of the current text according to the position identifier of the specified text content in the current text, so that the recovery of the deleted text content is realized in a text editing application; the two physical screens are adopted to respectively display the text editing page and the text content recovery page, so that a user can select text content to be recovered more intuitively and conveniently, convenience is provided for the user to recover the text content, and the use experience of the user is improved.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal implementing various embodiments of the present invention;
FIG. 2 is a diagram of a wireless communication system for the mobile terminal shown in FIG. 1;
FIG. 3 is a functional block diagram of a text content recovery apparatus according to a first embodiment of the present invention;
FIG. 4 is a functional block diagram of a text content recovery apparatus according to a second embodiment of the present invention;
FIG. 5 is a functional block diagram of a text content recovery apparatus according to a third embodiment of the present invention;
FIG. 6 is a functional block diagram of a storage module in a fourth embodiment of a text content retrieving device according to the present invention;
FIG. 7 is a diagram illustrating an interface displaying deleted text content and displaying contextual text content thereof in accordance with the present invention;
FIG. 8 is a flowchart illustrating a text content recovery method according to a first embodiment of the present invention;
fig. 9 is a flowchart illustrating step S10 in the fourth embodiment of the text content recovering method according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
A mobile terminal implementing various embodiments of the present invention will now be described with reference to the accompanying drawings. In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in themselves. Thus, "module" and "component" may be used in a mixture.
The mobile terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a smart phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a navigation device, and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. In the following, it is assumed that the terminal is a mobile terminal. However, it will be understood by those skilled in the art that the configuration according to the embodiment of the present invention can be applied to a fixed type terminal in addition to elements particularly used for moving purposes.
Fig. 1 is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention.
The mobile terminal 100 may include a wireless communication unit 110, an a/V (audio/video) input unit 120, a user input unit 130, a sensing unit 140, an output unit 150, a memory 160, an interface unit 170, a controller 180, and a power supply unit 190, etc. Fig. 1 illustrates a mobile terminal having various components, but it is to be understood that not all illustrated components are required to be implemented. More or fewer components may alternatively be implemented. Elements of the mobile terminal will be described in detail below.
The wireless communication unit 110 typically includes one or more components that allow radio communication between the mobile terminal 100 and a wireless communication system or network. For example, the wireless communication unit may include at least one of a broadcast receiving module 111, a mobile communication module 112, a wireless internet module 113, a short-range communication module 114, and a location information module 115.
The broadcast receiving module 111 receives a broadcast signal and/or broadcast associated information from an external broadcast management server via a broadcast channel. The broadcast channel may include a satellite channel and/or a terrestrial channel. The broadcast management server may be a server that generates and transmits a broadcast signal and/or broadcast associated information or a server that receives a previously generated broadcast signal and/or broadcast associated information and transmits it to a terminal. The broadcast signal may include a TV broadcast signal, a radio broadcast signal, a data broadcast signal, and the like. Also, the broadcast signal may further include a broadcast signal combined with a TV or radio broadcast signal. The broadcast associated information may also be provided via a mobile communication network, and in this case, the broadcast associated information may be received by the mobile communication module 112. The broadcast signal may exist in various forms, for example, it may exist in the form of an Electronic Program Guide (EPG) of Digital Multimedia Broadcasting (DMB), an Electronic Service Guide (ESG) of digital video broadcasting-handheld (DVB-H), and the like. The broadcast receiving module 111 may receive a signal broadcast by using various types of broadcasting devices. In particular, the broadcast receiving module 111 may receive digital broadcasting by using a digital broadcasting device such as a digital broadcasting-terrestrial (DMB-T), digital multimedia broadcasting-satellite (DMB-S), digital video broadcasting-handheld (DVB-H), data broadcasting device of forward link media (MediaFLO @), terrestrial digital broadcasting integrated service (ISDB-T), and the like. The broadcast receiving module 111 may be constructed as various broadcasting devices suitable for providing broadcast signals as well as the above-described digital broadcasting device. The broadcast signal and/or broadcast associated information received via the broadcast receiving module 111 may be stored in the memory 160 (or other type of storage medium).
The mobile communication module 112 transmits and/or receives radio signals to and/or from at least one of a base station (e.g., access point, node B, etc.), an external terminal, and a server. Such radio signals may include voice call signals, video call signals, or various types of data transmitted and/or received according to text and/or multimedia messages.
The wireless internet module 113 supports wireless internet access of the mobile terminal. The module may be internally or externally coupled to the terminal. The wireless internet access technology to which the module relates may include WLAN (wireless LAN) (Wi-Fi), Wibro (wireless broadband), Wimax (worldwide interoperability for microwave access), HSDPA (high speed downlink packet access), and the like.
The short-range communication module 114 is a module for supporting short-range communication. Some examples of short-range communication technologies include bluetooth (TM), Radio Frequency Identification (RFID), infrared data association (IrDA), Ultra Wideband (UWB), zigbee (TM), and the like.
The location information module 115 is a module for checking or acquiring location information of the mobile terminal. A typical example of the location information module is a GPS (global positioning device). According to the current technology, the location information module 115 calculates distance information and accurate time information from three or more satellites and applies triangulation to the calculated information, thereby accurately calculating three-dimensional current location information according to longitude, latitude, and altitude. Currently, a method for calculating position and time information uses three satellites and corrects an error of the calculated position and time information by using another satellite. In addition, the position information module 115 can calculate the speed information by continuously calculating the current position information in real time.
The a/V input unit 120 is used to receive an audio or video signal. The a/V input unit 120 may include a camera 121 and a microphone 122, and the camera 121 processes image data of still pictures or video obtained by an image capturing apparatus in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 151. The image frames processed by the cameras 121 may be stored in the memory 160 (or other storage medium) or transmitted via the wireless communication unit 110, and two or more cameras 121 may be provided according to the construction of the mobile terminal. The microphone 122 may receive sounds (audio data) via the microphone in a phone call mode, a recording mode, a voice recognition mode, or the like, and can process such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the mobile communication module 112 in case of a phone call mode. The microphone 122 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The user input unit 130 may generate key input data according to a command input by a user to control various operations of the mobile terminal. The user input unit 130 allows a user to input various types of information, and may include a keyboard, dome sheet, touch pad (e.g., a touch-sensitive member that detects changes in resistance, pressure, capacitance, and the like due to being touched), scroll wheel, joystick, and the like. In particular, when the touch pad is superimposed on the display unit 151 in the form of a layer, a touch screen may be formed.
The sensing unit 140 detects a current state of the mobile terminal 100 (e.g., an open or closed state of the mobile terminal 100), a position of the mobile terminal 100, presence or absence of contact (i.e., touch input) by a user with the mobile terminal 100, an orientation of the mobile terminal 100, acceleration or jerky movement and direction of the mobile terminal 100, and the like, and generates a command or signal for controlling an operation of the mobile terminal 100. For example, when the mobile terminal 100 is implemented as a slide-type mobile phone, the sensing unit 140 may sense whether the slide-type phone is opened or closed. In addition, the sensing unit 140 can detect whether the power supply unit 190 supplies power or whether the interface unit 170 is coupled with an external device.
The interface unit 170 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The identification module may store various information for authenticating a user using the mobile terminal 100 and may include a User Identity Module (UIM), a Subscriber Identity Module (SIM), a Universal Subscriber Identity Module (USIM), and the like. In addition, a device having an identification module (hereinafter, referred to as an "identification device") may take the form of a smart card, and thus, the identification device may be connected with the mobile terminal 100 via a port or other connection means. The interface unit 170 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal and the external device.
In addition, when the mobile terminal 100 is connected with an external cradle, the interface unit 170 may serve as a path through which power is supplied from the cradle to the mobile terminal 100 or may serve as a path through which various command signals input from the cradle are transmitted to the mobile terminal. Various command signals or power input from the cradle may be used as signals for recognizing whether the mobile terminal is accurately mounted on the cradle. The output unit 150 is configured to provide output signals (e.g., audio signals, video signals, alarm signals, vibration signals, etc.) in a visual, audio, and/or tactile manner. The output unit 150 may include a display unit 151, an audio output module 152, and the like.
The display unit 151 may display information processed in the mobile terminal 100. For example, when the mobile terminal 100 is in a phone call mode, the display unit 151 may display a User Interface (UI) or a Graphical User Interface (GUI) related to a call or other communication (e.g., text messaging, multimedia file downloading, etc.). When the mobile terminal 100 is in a video call mode or an image capturing mode, the display unit 151 may display a captured image and/or a received image, a UI or GUI showing a video or an image and related functions, and the like.
Meanwhile, when the display unit 151 and the touch pad are overlapped with each other in the form of a layer to form a touch screen, the display unit 151 may serve as an input device and an output device. The display unit 151 may include at least one of a Liquid Crystal Display (LCD), a thin film transistor LCD (TFT-LCD), an Organic Light Emitting Diode (OLED) display, a flexible display, a three-dimensional (3D) display, and the like. Some of these displays may be configured to be transparent to allow a user to view from the outside, which may be referred to as transparent displays, and a typical transparent display may be, for example, a TOLED (transparent organic light emitting diode) display or the like. Depending on the particular desired implementation, the mobile terminal 100 may include two or more display units (or other display devices), for example, the mobile terminal may include an external display unit (not shown) and an internal display unit (not shown). The touch screen may be used to detect a touch input pressure as well as a touch input position and a touch input area.
The audio output module 152 may convert audio data received by the wireless communication unit 110 or stored in the memory 160 into an audio signal and output as sound when the mobile terminal is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output module 152 may provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output module 152 may include a microphone, a buzzer, and the like.
The memory 160 may store software programs or the like for processing and controlling operations performed by the controller 180, or may temporarily store data (e.g., a phonebook, messages, still images, videos, etc.) that has been output or is to be output. Also, the memory 160 may store data regarding various ways of vibration and audio signals output when a touch is applied to the touch screen.
The memory 160 may include at least one type of storage medium including a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, and the like. Also, the mobile terminal 100 may cooperate with a network storage device that performs a storage function of the memory 160 through a network connection.
The controller 180 generally controls the overall operation of the mobile terminal. For example, the controller 180 performs control and processing related to voice calls, data communications, video calls, and the like. In addition, the controller 180 may include a multimedia module 181 for reproducing (or playing back) multimedia data, and the multimedia module 181 may be constructed within the controller 180 or may be constructed separately from the controller 180. The controller 180 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as a character or an image.
The power supply unit 190 receives external power or internal power and provides appropriate power required to operate various elements and components under the control of the controller 180.
The various embodiments described herein may be implemented in a computer-readable medium using, for example, computer software, hardware, or any combination thereof. For a hardware implementation, the embodiments described herein may be implemented using at least one of an Application Specific Integrated Circuit (ASIC), a Digital Signal Processor (DSP), a Digital Signal Processing Device (DSPD), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a processor, a controller, a microcontroller, a microprocessor, an electronic unit designed to perform the functions described herein, and in some cases, such embodiments may be implemented in the controller 180. For a software implementation, the implementation such as a process or a function may be implemented with a separate software module that allows performing at least one function or operation. The software codes may be implemented by software applications (or programs) written in any suitable programming language, which may be stored in the memory 160 and executed by the controller 180.
Up to now, the mobile terminal has been described in terms of its functions. Hereinafter, a slide-type mobile terminal among various types of mobile terminals, such as a folder-type, bar-type, swing-type, slide-type mobile terminal, and the like, will be described as an example for the sake of brevity. Accordingly, the present invention can be applied to any type of mobile terminal, and is not limited to a slide type mobile terminal.
It should be noted that the mobile terminal shown in fig. 1 may also be configured to restore deleted text content in a text editing application, and specific virtual function modules included in the mobile terminal are as follows:
a saving module 400, configured to save a deleted text content and a location identifier of the deleted text content in a current text when detecting that the text content is deleted, in a text editing page displayed on a first physical screen of the mobile terminal;
and a restoring module 500, configured to restore the specified text content to a corresponding position of the current text according to the position identifier of the specified text content in the current text when a restoring instruction for the specified text content is received on a text content restoring page displayed on a second physical screen of the mobile terminal.
In the mobile terminal shown in fig. 1, when a user deletes a portion of text content in a text currently being edited on a text editing page displayed on a first physical screen of the mobile terminal, the saving module 400 in the controller 180 saves the deleted text content and a location identifier of the deleted text content in the current text when detecting that the text content is deleted; when a user wants to restore the deletion operation of the designated text content, the text content restoration page displayed on the second physical screen of the mobile terminal restores the designated text content to the corresponding position of the current text according to the position identification of the designated text content in the current text when the restoration module 500 in the controller 180 receives the restoration instruction of the designated text content, so that the deleted text content can be restored conveniently and quickly in the text editing application of the mobile terminal.
The mobile terminal 100 as shown in fig. 1 may be configured to operate with communication systems such as wired and wireless communication systems and satellite-based communication systems that transmit data via frames or packets.
A communication system in which a mobile terminal according to the present invention is operable will now be described with reference to fig. 2.
Such communication systems may use different air interfaces and/or physical layers. For example, the air interface used by the communication system includes, for example, Frequency Division Multiple Access (FDMA), Time Division Multiple Access (TDMA), Code Division Multiple Access (CDMA), and Universal Mobile Telecommunications System (UMTS) (in particular, Long Term Evolution (LTE)), global system for mobile communications (GSM), and the like. By way of non-limiting example, the following description relates to a CDMA communication system, but such teachings are equally applicable to other types of devices.
Referring to fig. 2, the CDMA wireless communication system may include a plurality of mobile terminals 100, a plurality of Base Stations (BSs) 270, Base Station Controllers (BSCs) 275, and a Mobile Switching Center (MSC) 280. The MSC280 is configured to interface with a Public Switched Telephone Network (PSTN) 290. The MSC280 is also configured to interface with a BSC275, which may be coupled to the base station 270 via a backhaul. The backhaul may be constructed according to any of several known interfaces including, for example, E1/T1, ATM, IP, PPP, frame Relay, HDSL, ADSL, or xDSL. It will be understood that an apparatus as shown in fig. 2 may include a plurality of BSCs 275.
Each BS270 may serve one or more sectors (or regions), each sector covered by a multi-directional antenna or an antenna pointing in a particular direction being radially distant from the BS 270. Alternatively, each partition may be covered by two or more antennas for diversity reception. Each BS270 may be configured to support multiple frequency allocations, with each frequency allocation having a particular frequency spectrum (e.g., 1.25MHz,5MHz, etc.).
The intersection of partitions with frequency allocations may be referred to as a CDMA channel. The BS270 may also be referred to as a base transceiver sub-assembly (BTS) or other equivalent terminology. In such a case, the term "base station" may be used to generically refer to a single BSC275 and at least one BS 270. The base stations may also be referred to as "cells". Alternatively, each sector of a particular BS270 may be referred to as a plurality of cell sites.
As shown in fig. 2, a Broadcast Transmitter (BT)295 transmits a broadcast signal to the mobile terminal 100 operating within the apparatus. A broadcast receiving module 111 as shown in fig. 1 is provided at the mobile terminal 100 to receive a broadcast signal transmitted by the BT 295. In fig. 2, several global positioning device (GPS) satellites 300 are shown. The satellite 300 assists in locating at least one of the plurality of mobile terminals 100.
In fig. 2, a plurality of satellites 300 are depicted, but it is understood that useful positioning information may be obtained with any number of satellites. The location information module 115 as shown in fig. 1 is generally configured to cooperate with the satellites 300 to obtain desired positioning information. Other techniques that can track the location of the mobile terminal may be used instead of or in addition to GPS tracking techniques. In addition, at least one GPS satellite 300 may selectively or additionally process satellite DMB transmission.
As a typical operation of the wireless communication system, the BS270 receives reverse link signals from various mobile terminals 100. The mobile terminal 100 is generally engaged in conversations, messaging, and other types of communications. Each reverse link signal received by a particular base station 270 is processed within the particular BS 270. The obtained data is forwarded to the associated BSC 275. The BSC provides call resource allocation and mobility management functions including coordination of soft handoff procedures between BSs 270. The BSCs 275 also route the received data to the MSC280, which provides additional routing services for interfacing with the PSTN 290. Similarly, the PSTN290 interfaces with the MSC280, the MSC interfaces with the BSCs 275, and the BSCs 275 accordingly control the BS270 to transmit forward link signals to the mobile terminal 100.
Based on the above-mentioned mobile terminal hardware structure and communication system structure, various embodiments of the apparatus and method of the present invention are proposed.
The present invention further provides a text content recovery apparatus, as shown in fig. 3, which shows a schematic diagram of functional modules of a first embodiment of the text content recovery apparatus of the present invention, and the text content recovery apparatus includes:
a saving module 400, configured to save a deleted text content and a location identifier of the deleted text content in a current text when detecting that the text content is deleted, in a text editing page displayed on a first physical screen of the mobile terminal;
the text content recovery device may be disposed on the mobile terminal, and the mobile terminal is provided with two physical screens, namely a first physical screen and a second physical screen, which may be respectively mounted on a front side (a side where the main screen of the conventional mobile terminal is located) and a back side (a side opposite to the front side) of the mobile terminal. The first physical screen and the second physical screen can work simultaneously, for example, when a text editing page needs to be displayed, the mobile terminal controls the text editing page to be displayed on the first physical screen, and meanwhile, the mobile terminal controls the text content recovery page to be displayed on the second physical screen, so that when a user edits a text on the first physical screen, the user can conveniently and quickly recover the specified text content according to the recoverable text content displayed on the second physical screen at any time.
When a user edits a text on a text editing page displayed on a first physical screen of the mobile terminal, if an operation of deleting a part of text content is performed, when the mobile terminal detects that the text content is deleted, the saving module 400 of the mobile terminal saves the deleted text content and the position identifier of the deleted text content in the current text into a specified storage area. The location identification of the deleted text content in the current text can be represented by the number of paragraphs, the number of lines in a paragraph, and the number of words in a line from the beginning and/or the end of the text when the text content is not deleted. For example, assuming that the deleted text content is located at the 16 th word of the 2 nd line of the 7 th segment of the text compared to the beginning of the text (represented by the position to the left of the first word of the first segment of the text) when the deleted text content is not deleted, the position of the deleted text content in the text can be represented as Pi(7, 2, 16), and PiAnd indicating the position identification of the text content corresponding to the ith deletion operation in the text.
The deleted text contents stored in the designated storage area on the mobile terminal may include all the deleted text contents from the first deletion operation to the current text contents in the text, or include the deleted text contents in the text within a designated time period.
And a restoring module 500, configured to restore the specified text content to a corresponding position of the current text according to the position identifier of the specified text content in the current text when a restoring instruction for the specified text content is received on a text content restoring page displayed on a second physical screen of the mobile terminal.
And during the editing of the current text by the user, displaying the saved deleted text contents on a text content recovery page displayed on a second physical screen of the mobile terminal, so that the user can select one or more text contents for recovery. After a user selects one or more text contents on the text content recovery page, the mobile terminal is triggered to receive a recovery instruction of the selected text contents through specified operation, and then the recovery module 500 of the mobile terminal recovers the one or more text contents selected by the user to the position where the position identification of each text content corresponds to the text according to the recovery instruction, so that the specified deleted text contents are recovered conveniently and quickly.
For example, after a user deletes a text content in the text editing page of the first physical screen, the user can view the related information of the deleted text content in real time in the text content recovery page of the second physical screen. When a user wants to restore the deleted specified text content on the text content restoration page of the second physical screen, the text content to be restored can be selected by long-pressing the display position of one text content on the second physical screen; after the text content is selected, the display position of the text content on the current text after special marking can be seen on the text editing page of the first physical screen, and at the moment, the text content is not really restored to the display position and is only temporarily restored to effect display; when the user further performs the designated recovery operation on the second physical screen, the recovery module 500 of the mobile terminal receives the corresponding recovery instruction, and then the text content is truly recovered to the display position; or after the user further performs the specified cancellation operation on the second physical screen, the mobile terminal receives the corresponding cancellation instruction, and the temporary recovery display of the text content on the current text is cancelled.
The text content recovery device provided by the invention is characterized in that a text editing page displayed on a first physical screen of a mobile terminal stores deleted text content and a position identifier of the deleted text content in a current text when detecting that the text content is deleted, so as to recover the text content displayed on a second physical screen of the mobile terminal, and when receiving a recovery instruction of the specified text content, the specified text content is recovered to a corresponding position of the current text according to the position identifier of the specified text content in the current text, thereby realizing the recovery of the deleted text content in a text editing application; the two physical screens are adopted to respectively display the text editing page and the text content recovery page, so that a user can select text content to be recovered more intuitively and conveniently, convenience is provided for the user to recover the text content, and the use experience of the user is improved.
Further, a second embodiment of the text content recovery apparatus according to the present invention is proposed based on the first embodiment of the text content recovery apparatus described above, and is different in that the present embodiment further includes updating the position identification of each deleted text content. Referring to fig. 4, the text content retrieving apparatus further includes:
and the updating module 600 is configured to update the location identifier of the deleted text content in the text according to the content change of the text when the content of the text changes.
After saving the deleted text contents and the location identifiers thereof in the text, whenever the user edits the text so that the contents of the text are changed, the updating module 600 of the mobile terminal will correspondingly update the location identifiers of the deleted text contents in the text according to the content changes of the text each time.
For example, assume that the position in the text when the text content corresponding to the 12 th deletion operation is deleted is identified as P12(7, 2, 16), if the user edits and adds two pieces of characters before the position in the text corresponding to the position identifier, the position identifier of the text content in the text will be updated to P by the updating module 60012(9, 2, 16); if the user edits 58 words at the position in the text corresponding to the position identifier, the position identifier of the text content in the text will be specified according to the number of words in each line, and updated to P by the updating module 600 accordingly12(7,5,3)。
The text content recovery device provided by the invention considers that after a part of text content is deleted, if the text content is changed, the accuracy of the position mark of each deleted text content can be influenced, so that when the change of the text content is detected, the position mark of the deleted text content in the text is updated according to the change of the text content, and the specified text content can be recovered to the correct position in the text when the specified text content is recovered.
Further, a third embodiment of the text content recovery apparatus according to the present invention is proposed based on the second embodiment of the text content recovery apparatus, and is different in that the third embodiment further includes a complete deletion of the specified text content on the text content recovery page. Referring to fig. 5, the text content retrieving apparatus further includes:
and the deleting module 700 is used for restoring the page in the text content, and deleting the saved specified text content and the position identification of the specified text content in the text when a complete deleting instruction for the specified text content is received.
In the text content recovery page, after the user selects one or more text contents as the objects to be processed, the text content recovery can be performed on the objects to be processed, and the objects to be processed can also be completely deleted, so that the completely deleted text contents can not be recovered into the text any more. That is, when the mobile terminal receives a complete deletion instruction for the specified text contents (i.e. the selected one or more text contents) triggered by the user-specified operation, the deletion module 700 deletes the saved specified text contents and the position identifiers in the text corresponding to the specified text contents in the specified storage area.
In this embodiment, the recovery or complete deletion of the selected text content to be processed is implemented based on a rotation gesture. After the text content recovery page selects the text content to be processed, when a clockwise rotation gesture or a counterclockwise rotation gesture is detected, one of the following instructions is triggered and generated: restoring the instruction and completely deleting the instruction.
The instruction generated by triggering the clockwise rotation gesture or the anticlockwise rotation gesture can be set according to needs, for example, when the clockwise rotation gesture is detected, the mobile terminal can be set to generate a recovery instruction by triggering; when the anticlockwise rotation gesture is detected, the mobile terminal triggers and generates a complete deletion instruction. The clockwise rotation gesture or the anticlockwise rotation gesture is used as a touch action for triggering generation of a recovery instruction or complete deletion of an instruction, so that a user can quickly process the designated text content through a simple touch action.
The text content recovery device provided by the invention can recover the saved deleted text content to the original text, and can also completely delete the appointed deleted text content and the position mark thereof in the original text according to the needs of a user, so that the completely deleted text content can not be recovered to the original text any more.
Further, a fourth embodiment of the text content restoration apparatus of the present invention is proposed based on the above-described third embodiment of the text content restoration apparatus, except that this embodiment does not save all of the deleted text content, but only saves the deleted text content whose word count exceeds a preset threshold value. Referring to fig. 6, the saving module 400 includes:
a counting unit 401, configured to count, on the text editing page, the number of words of the deleted text content when it is detected that the text content is deleted;
a saving unit 402, configured to save the deleted text content and the position identification of the deleted text content in the text when the number of words of the deleted text content is greater than or equal to a preset threshold.
The preset threshold is a fixed value set in advance to define whether the number of words of the text content to be deleted is more or less. In this embodiment, each time a user deletes a part of text content, the counting unit 401 of the mobile terminal counts the number of words of the deleted text content, and if the number of words of the deleted text content is greater than or equal to a preset, it is considered that the number of words of the currently deleted text content is large, and there is a need to save and realize quick recovery, and thus the saving unit 402 of the mobile terminal saves the currently deleted text content; if the number of words of the deleted text content is less than the preset number, the number of words contained in the currently deleted text content is considered to be small, and it will take little time for the user to re-edit the text content basically, and it will not be troublesome, that is, there is no need to store the text content, and at the same time, the memory occupied by the mobile terminal will also be reduced, so the storage unit 402 of the mobile terminal will not store the currently deleted text content.
The text content recovery device provided by the invention can realize the rapid recovery of the deleted text content through direct editing for the user without storing, and only stores the deleted text content with more words, so that the user can rapidly recover the text content with more words through simple operation, the editing time is saved, and the occupation of the storage space can be reduced.
Further, a fifth embodiment of the text content recovery apparatus according to the present invention is proposed based on the fourth embodiment of the text content recovery apparatus, which is different in that, while saving the deleted text content and the location identifier thereof in the text, the saving module 400 is further configured to save the context text content of the text content. The text content recovery device further comprises a display module, and accordingly, the display module is used for:
and displaying the context text content corresponding to the deleted text content at the same time of displaying the deleted text content on the text content recovery page.
The context text content (also called context) of the deleted text content may be the first m lines (or the first m words) and the last n lines (or the last n words) of the specified text content. As shown in fig. 7, it is assumed that the text content to be deleted on the text editing page is "wish you have lovers to become a family. ", the specified context text content includes the first 3 lines and the last 3 lines of the text content, then while saving the text content, the saving module 400 also saves the position identifier of the text content in the text, and the contents of the first 3 lines and the last 3 lines of the text content; when the text content is to be restored, the display module controls to display the text content and the contents of the first 3 lines and the last 2 lines of the text content on a text content restoration page (less than 3 lines are according to the actual line number). Therefore, when two or more identical text contents exist in the deleted text content or when the user forgets the position scene of the deleted text content in the original text, the user can accurately select the actual text content to be processed according to the context text content of the text content.
The text content recovery device provided by the invention not only displays the optional deleted text content, but also displays the context text content corresponding to each text content on the text content recovery page, so that a user can accurately select the text content to be actually processed according to the information provided by the context text content, and errors in processing the deleted text content are avoided.
The invention further provides a first embodiment of a text content recovery method, which corresponds to the first embodiment of the text content recovery device. As shown in fig. 8, which shows a flowchart of a first embodiment of the text content recovery method according to the present invention, the text content recovery method includes:
s10, when detecting that the text content is deleted, saving the deleted text content and the position identification of the deleted text content in the current text on a text editing page displayed on a first physical screen of the mobile terminal;
the text content recovery method may be implemented on the mobile terminal, and the mobile terminal is provided with two physical screens, namely a first physical screen and a second physical screen, which may be respectively installed on a front side (a side where the main screen of the conventional mobile terminal is located) and a back side (a side opposite to the front side) of the mobile terminal. The first physical screen and the second physical screen can work simultaneously, for example, when a text editing page needs to be displayed, the mobile terminal controls the text editing page to be displayed on the first physical screen, and meanwhile, the mobile terminal controls the text content recovery page to be displayed on the second physical screen, so that when a user edits a text on the first physical screen, the user can conveniently and quickly recover the specified text content according to the recoverable text content displayed on the second physical screen at any time.
When a user edits a text on a text editing page displayed on a first physical screen of the mobile terminal, if an operation of deleting a part of text content is performed, when the mobile terminal detects that the text content is deleted, the mobile terminal also stores the deleted text content and a position identifier of the deleted text content in the current text into a specified storage area. The location identification of the deleted text content in the current text can be represented by the number of paragraphs, the number of lines in a paragraph, and the number of words in a line from the beginning and/or the end of the text when the text content is not deleted. For example, assuming that the deleted text content is located at the 16 th word of the 2 nd line of the 7 th segment of the text compared to the beginning of the text (represented by the position to the left of the first word of the first segment of the text) when the deleted text content is not deleted, the position of the deleted text content in the text can be represented as Pi(7, 2, 16), and PiIndicates the ith deletionAnd operating the position identification of the corresponding text content in the text.
The deleted text contents stored in the designated storage area on the mobile terminal may include all the deleted text contents from the first deletion operation to the current text contents in the text, or include the deleted text contents in the text within a designated time period.
And S20, when a restoring instruction of the specified text content is received, restoring the specified text content to the corresponding position of the current text according to the position identification of the specified text content in the current text on the text content restoring page displayed on the second physical screen of the mobile terminal.
And during the editing of the current text by the user, displaying the saved deleted text contents on a text content recovery page displayed on a second physical screen of the mobile terminal, so that the user can select one or more text contents for recovery. After a user selects one or more text contents on the text content recovery page, the mobile terminal is triggered to receive a recovery instruction of the selected text contents through specified operation, and then the mobile terminal recovers the one or more text contents selected by the user to the position where the position identification of each text content corresponds to the text according to the recovery instruction, so that the specified deleted text contents are recovered conveniently and quickly.
For example, after a user deletes a text content in the text editing page of the first physical screen, the user can view the related information of the deleted text content in real time in the text content recovery page of the second physical screen. When a user wants to restore the deleted specified text content on the text content restoration page of the second physical screen, the text content to be restored can be selected by long-pressing the display position of one text content on the second physical screen; after the text content is selected, the display position of the text content on the current text after special marking can be seen on the text editing page of the first physical screen, and at the moment, the text content is not really restored to the display position and is only temporarily restored to effect display; when the user further performs the specified recovery operation on the second physical screen, the mobile terminal receives a corresponding recovery instruction, and the text content is really recovered to the display position; or after the user further performs the specified cancellation operation on the second physical screen, the mobile terminal receives the corresponding cancellation instruction, and the temporary recovery display of the text content on the current text is cancelled.
The text content recovery method provided by the invention comprises the steps that when a text editing page displayed on a first physical screen of a mobile terminal detects that the text content is deleted, the deleted text content and the position identification of the deleted text content in the current text are stored, so that the text content recovery page displayed on a second physical screen of the mobile terminal is recovered, and when a recovery instruction of the specified text content is received, the specified text content is recovered to the corresponding position of the current text according to the position identification of the specified text content in the current text, so that the recovery of the deleted text content is realized in a text editing application; the two physical screens are adopted to respectively display the text editing page and the text content recovery page, so that a user can select text content to be recovered more intuitively and conveniently, convenience is provided for the user to recover the text content, and the use experience of the user is improved.
Further, a second embodiment of the text content recovery method according to the present invention is proposed based on the first embodiment of the text content recovery method, which corresponds to the second embodiment of the text content recovery apparatus, and the difference is that the present embodiment further includes updating the location identifier of each deleted text content. The text content recovery method further comprises the following steps:
when the content of the text changes, the position identification of the deleted text content in the text is updated according to the change of the content of the text.
After the deleted text content and the position identifier thereof in the text are saved, each time the user edits the text to change the content of the text, the mobile terminal updates the position identifier of each deleted text content in the text correspondingly according to the content change of the text each time.
For example, assume that the position in the text when the text content corresponding to the 12 th deletion operation is deleted is identified as P12(7, 2, 16), if the user edits and adds two sections of characters before the position in the text corresponding to the position identifier, the position identifier of the text content in the text is updated to be P12(9, 2, 16); if the user edits 58 characters at the position in the text corresponding to the position identifier, the position identifier of the text content in the text is updated to P according to the word number of each line12(7,5,3)。
The text content recovery method provided by the invention considers that after a part of text content is deleted, if the text content is changed, the accuracy of the position identification of each deleted text content can be influenced, so that when the change of the text content is detected, the position identification of the deleted text content in the text is updated according to the change of the text content, and the specified text content can be recovered to the correct position in the text when the specified text content is recovered.
Further, corresponding to the third embodiment of the text content recovery apparatus, the third embodiment of the text content recovery method according to the present invention is proposed based on the second embodiment of the text content recovery method, and the difference is that the present embodiment further includes a step of completely deleting the specified text content on the text content recovery page, that is, the text content recovery method further includes:
and when a complete deletion instruction for the specified text content is received, deleting the saved specified text content and the position identification of the specified text content in the text on the text content recovery page.
In the text content recovery page, after the user selects one or more text contents as the objects to be processed, the text content recovery can be performed on the objects to be processed, and the objects to be processed can also be completely deleted, so that the completely deleted text contents can not be recovered into the text any more. That is, when the mobile terminal receives a complete deletion instruction for the specified text content (i.e. the selected text content or text contents) triggered by the user-specified operation, the saved specified text content and the position identifier in the text corresponding to the specified text content are deleted in the specified storage area.
In this embodiment, the recovery or complete deletion of the selected text content to be processed is implemented based on a rotation gesture. After the text content recovery page selects the text content to be processed, when a clockwise rotation gesture or a counterclockwise rotation gesture is detected, one of the following instructions is triggered and generated: restoring the instruction and completely deleting the instruction.
The instruction generated by triggering the clockwise rotation gesture or the anticlockwise rotation gesture can be set according to needs, for example, when the clockwise rotation gesture is detected, the mobile terminal can be set to generate a recovery instruction by triggering; when the anticlockwise rotation gesture is detected, the mobile terminal triggers and generates a complete deletion instruction. The clockwise rotation gesture or the anticlockwise rotation gesture is used as a touch action for triggering generation of a recovery instruction or complete deletion of an instruction, so that a user can quickly process the designated text content through a simple touch action.
The text content recovery method provided by the invention can recover the saved deleted text content to the original text, and can also completely delete the appointed deleted text content and the position identification thereof in the original text according to the user requirement, so that the completely deleted text content can not be recovered to the original text any more.
Further, a fourth embodiment of the text content restoration method of the present invention is proposed based on the third embodiment of the text content restoration method in correspondence with the fourth embodiment of the text content restoration apparatus described above, except that this embodiment does not save all of the deleted text content, but only saves the deleted text content whose word count exceeds a preset threshold value. Referring to fig. 9, the step S10 includes:
s11, counting the word number of the deleted text content when the text content is detected to be deleted on the text editing page;
and S12, when the number of words of the deleted text content is larger than or equal to the preset threshold value, saving the deleted text content and the position identification of the deleted text content in the text.
The preset threshold is a fixed value set in advance to define whether the number of words of the text content to be deleted is more or less. In this embodiment, each time a user deletes a part of text content, the mobile terminal counts the number of words of the deleted text content, and if the number of words of the deleted text content is greater than or equal to a preset number, it is considered that the number of words of the currently deleted text content is large, and there is a need to store and implement quick recovery, so that the mobile terminal stores the currently deleted text content; if the number of words of the deleted text content is less than the preset number, the number of words contained in the currently deleted text content is considered to be less, so that the user basically does not spend much time re-editing the text content, and the user is not troublesome, so that the user does not need to save the text content, and the memory occupation of the mobile terminal can be reduced, therefore, the mobile terminal will not save the currently deleted text content.
The text content recovery method provided by the invention can realize the rapid recovery of the deleted text content through the direct editing of the user without storing the deleted text content with more words, so that the user can rapidly recover the text content with more words through simple operation, the editing time is saved, and the occupation of the storage space can be reduced.
Further, corresponding to the fifth embodiment of the text content recovery apparatus, the fourth embodiment of the text content recovery method according to the present invention is based on the fifth embodiment of the text content recovery method, and the difference is that the context text content of the text content is saved while the deleted text content and the position identifier thereof in the text are saved. Correspondingly, the text content recovery method further comprises the following steps:
and displaying the context text content corresponding to the deleted text content at the same time of displaying the deleted text content on the text content recovery page.
The context text content (also called context) of the deleted text content may be the first m lines (or the first m words) and the last n lines (or the last n words) of the specified text content. As shown in fig. 7, it is assumed that the text content to be deleted on the text editing page is "wish you have lovers to become a family. If the specified context text content includes the first 3 lines and the last 3 lines of the text content, the position identifier of the text content in the text and the contents of the first 3 lines and the last 3 lines of the text content are saved while the text content is saved; when the text content is to be restored, the text content, and the first 3 lines and the last 2 lines of the text content (less than 3 lines by actual lines) are displayed on the text content restoration page. Therefore, when two or more identical text contents exist in the deleted text content or when the user forgets the position scene of the deleted text content in the original text, the user can accurately select the actual text content to be processed according to the context text content of the text content.
According to the text content recovery method provided by the invention, the optional deleted text content is displayed on the text content recovery page, and the context text content corresponding to each text content is displayed at the same time, so that a user can accurately select the text content to be actually processed according to the information provided by the context text content, and errors in processing the deleted text content are avoided.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A text content recovery apparatus, characterized in that the text content recovery apparatus comprises:
the mobile terminal comprises a storage module, a display module and a display module, wherein the storage module is used for storing a text editing page displayed on a first physical screen of the mobile terminal, and storing the deleted text content and a position identifier of the deleted text content in a current text when detecting that the text content is deleted;
and the restoring module is used for restoring the text content displayed on a second physical screen of the mobile terminal to a page, and restoring the specified text content to the corresponding position of the current text according to the position identification of the specified text content in the current text when a restoring instruction of the specified text content is received.
2. The text content restoration apparatus according to claim 1, wherein the text content restoration apparatus further comprises:
and the updating module is used for updating the position identifier of the deleted text content in the text according to the content change of the text when the content of the text changes.
3. The text content restoration apparatus according to claim 1 or 2, wherein the text content restoration apparatus further comprises:
and the deleting module is used for restoring the page in the text content, and deleting the saved specified text content and the position identification of the specified text content in the text when a complete deleting instruction of the specified text content is received.
4. The text content restoration apparatus according to claim 1 or 2, wherein the saving module comprises:
the counting unit is used for counting the word number of the deleted text content when the text content is detected to be deleted on the text editing page;
and the storage unit is used for storing the deleted text content and the position identification of the deleted text content in the text when the word number of the deleted text content is greater than or equal to a preset threshold value.
5. The text content recovery apparatus according to claim 1 or 2, wherein the saving module is further configured to save the context text content of the text content while saving the deleted text content and the position identifier thereof in the text; the text content recovery apparatus further includes:
and the display module is used for displaying the context text content corresponding to the deleted text content while displaying the deleted text content on the text content recovery page.
6. A text content recovery method, comprising:
when detecting that the text content is deleted, storing the deleted text content and a position identifier of the deleted text content in a current text;
and when a restoring instruction of the specified text content is received, restoring the specified text content to the corresponding position of the current text according to the position identification of the specified text content in the current text on a text content restoring page displayed on a second physical screen of the mobile terminal.
7. The text content recovery method of claim 6, wherein the text content recovery method further comprises:
and when the content of the text changes, updating the position identifier of the deleted text content in the text according to the content change of the text.
8. The text content recovery method according to claim 6 or 7, further comprising:
and when a complete deletion instruction of the specified text content is received, deleting the saved specified text content and the position identification of the specified text content in the text on the text content recovery page.
9. The method according to claim 6 or 7, wherein the text editing page displayed on the first physical screen of the mobile terminal, when detecting that the text content is deleted, saves the deleted text content, and the identification of the position of the deleted text content in the current text comprises:
counting the word number of the deleted text content when detecting that the text content is deleted on the text editing page;
when the number of words of the deleted text content is larger than or equal to a preset threshold value, the deleted text content is saved, and the position identification of the deleted text content in the text is stored.
10. The text content recovery method according to claim 6 or 7, characterized in that, the context text content of the text content is saved while the deleted text content and the position identification thereof in the text are saved; the text content recovery method further comprises the following steps:
and displaying the context text content corresponding to the deleted text content at the same time of displaying the deleted text content on the text content recovery page.
CN201610587010.9A 2016-07-22 2016-07-22 Content of text recovery device and method Active CN106250268B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610587010.9A CN106250268B (en) 2016-07-22 2016-07-22 Content of text recovery device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610587010.9A CN106250268B (en) 2016-07-22 2016-07-22 Content of text recovery device and method

Publications (2)

Publication Number Publication Date
CN106250268A true CN106250268A (en) 2016-12-21
CN106250268B CN106250268B (en) 2019-04-02

Family

ID=57605185

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610587010.9A Active CN106250268B (en) 2016-07-22 2016-07-22 Content of text recovery device and method

Country Status (1)

Country Link
CN (1) CN106250268B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107656912A (en) * 2017-09-20 2018-02-02 广东欧珀移动通信有限公司 Data processing method and device, electronic device, computer-readable storage medium
CN107748780A (en) * 2017-10-20 2018-03-02 广东欧珀移动通信有限公司 Method and device for recovering recycle bin files
CN107992455A (en) * 2017-10-31 2018-05-04 努比亚技术有限公司 A kind of text handling method, terminal and computer-readable recording medium
CN109753484A (en) * 2018-12-18 2019-05-14 维沃移动通信有限公司 A file recovery method and mobile terminal
CN111813303A (en) * 2020-06-10 2020-10-23 维沃移动通信有限公司 Text processing method, apparatus, electronic device and readable storage medium
WO2020238536A1 (en) * 2019-05-31 2020-12-03 维沃移动通信有限公司 Information processing method and terminal device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6185591B1 (en) * 1997-07-29 2001-02-06 International Business Machines Corp. Text edit system with enhanced undo user interface
CN102929485A (en) * 2012-10-30 2013-02-13 广东欧珀移动通信有限公司 Character input method and device
CN103370924A (en) * 2010-12-10 2013-10-23 尤塔设备Ipr有限公司 Mobile device with user interface
US20150370477A1 (en) * 2013-02-07 2015-12-24 Lg Electronics Inc. Terminal and method for operating same
CN105653121A (en) * 2015-12-22 2016-06-08 山东大学 Method for realizing Undo/Redo in text edition on the basis of android system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6185591B1 (en) * 1997-07-29 2001-02-06 International Business Machines Corp. Text edit system with enhanced undo user interface
CN103370924A (en) * 2010-12-10 2013-10-23 尤塔设备Ipr有限公司 Mobile device with user interface
CN102929485A (en) * 2012-10-30 2013-02-13 广东欧珀移动通信有限公司 Character input method and device
US20150370477A1 (en) * 2013-02-07 2015-12-24 Lg Electronics Inc. Terminal and method for operating same
CN105653121A (en) * 2015-12-22 2016-06-08 山东大学 Method for realizing Undo/Redo in text edition on the basis of android system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107656912A (en) * 2017-09-20 2018-02-02 广东欧珀移动通信有限公司 Data processing method and device, electronic device, computer-readable storage medium
CN107748780A (en) * 2017-10-20 2018-03-02 广东欧珀移动通信有限公司 Method and device for recovering recycle bin files
CN107992455A (en) * 2017-10-31 2018-05-04 努比亚技术有限公司 A kind of text handling method, terminal and computer-readable recording medium
CN109753484A (en) * 2018-12-18 2019-05-14 维沃移动通信有限公司 A file recovery method and mobile terminal
WO2020238536A1 (en) * 2019-05-31 2020-12-03 维沃移动通信有限公司 Information processing method and terminal device
CN111813303A (en) * 2020-06-10 2020-10-23 维沃移动通信有限公司 Text processing method, apparatus, electronic device and readable storage medium

Also Published As

Publication number Publication date
CN106250268B (en) 2019-04-02

Similar Documents

Publication Publication Date Title
CN106250268B (en) Content of text recovery device and method
CN105426403B (en) Bookmark synchronization method and device
CN106227867B (en) A kind of method and device of file management
CN106533928B (en) Method and device for updating unread message reminding identification
CN106610770A (en) Picture viewing method and device
CN105260083A (en) Mobile terminal and method for realizing split screens
CN106101423A (en) Split screen area size adjusting apparatus and method
CN110928708A (en) Icon display method, apparatus, electronic device, and computer-readable storage medium
CN106843723A (en) A kind of application program associates application method and mobile terminal
CN106598538B (en) Instruction set updating method and system
CN106371704B (en) Application shortcut layout method of screen locking interface and terminal
CN105072279B (en) A kind of back-up device based on mobile terminal and method
CN105791541B (en) Screenshot method and mobile terminal
CN105631370A (en) Regional screen locking method and mobile terminal
CN106341554B (en) Method and device for quickly searching data content and mobile terminal
CN106161790B (en) Mobile terminal and control method thereof
CN105302899A (en) Mobile terminal and picture processing method
CN106790994A (en) The triggering method and mobile terminal of control
CN106776240A (en) A kind of Task Progress display terminal and method
CN106020677A (en) Information processing method and mobile terminal
CN106293330B (en) Prompting method and device for upgrading application program icon
CN106021530A (en) Method and device for hiding applications
CN105094598A (en) Device and method for processing operational objects
CN105094733B (en) Split screen display method and device
CN105045508B (en) The setting device and method of system model

Legal Events

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