CN105843789A - Rich text monitoring method and device - Google Patents
Rich text monitoring method and device Download PDFInfo
- Publication number
- CN105843789A CN105843789A CN201610204108.1A CN201610204108A CN105843789A CN 105843789 A CN105843789 A CN 105843789A CN 201610204108 A CN201610204108 A CN 201610204108A CN 105843789 A CN105843789 A CN 105843789A
- Authority
- CN
- China
- Prior art keywords
- rich text
- change
- text
- callback interface
- editor
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a rich text monitoring method and device and relates to the technical field of mobile terminals of computers. The method comprises steps as follows: setting a total callback interface for a rich text editor; setting a monitor for each object box in the rich text editor to monitor object change in each object box; feeding back the monitored change to the total callback interface; acquiring the change of the rich text through the total callback interface. Therefore, by means of the total callback interface, a user can know which object box changes, and rich text monitoring is realized.
Description
Technical field
The present invention relates to computer technical field of mobile terminals, be specifically related to a kind of rich text monitor method
And device.
Background technology
In the mobile Internet epoch, the application in people live of the mobile terminals such as mobile phone is more and more extensive.
People also get used to carrying out on mobile terminals text editing, such as, carry out text volume in note is applied
Collect material particular can be reminded.
Typically require and monitoring is set in text editor, to monitor the change of text, the most such as may be used
To play two effects, one of effect is easy for the text editors such as note when listening to text and changing
Automatically text is preserved, and manually preserve after changing without user every time;Another effect is,
When listening to may remind the user that text is changed when text is changed, it is to avoid make just because of user misoperation
The contents lost recorded in the text editors such as label.
Editor it is increasingly employed to meet the personalized need of user in current mobile terminal
Ask, but existing scheme be only capable of monitoring the plain text of mobile terminal, and to mobile terminal can
But it is difficult to monitor carrying out the rich text file of picture and text mixing editor.
Summary of the invention
The technical problem to be solved in the present invention is that existing scheme is only capable of the plain text to mobile terminal and carries out
Monitor, and be difficult to monitor to the rich text file of mobile terminal.
To this end, embodiments provide a kind of rich text monitor method, including: rich text is compiled
Collect device and total callback interface is set;Each object box in described editor is respectively provided with monitoring,
To monitor the change of the object in described each object box;The change listened to is fed back to described total time
Adjust interface;The change that rich text is occurred is obtained by described total callback interface.
Preferably, described to liking text, picture, audio or video.
Preferably, described editor is note.
Preferably, described rich text monitor method obtains rich text described by described total callback interface
After the change occurred, also include: notify that described editor preserves the rich text before changing
With the rich text after change.
Preferably, described rich text monitor method obtains rich text described by described total callback interface
After the change occurred, also include: remind the current rich text of user to change.
Correspondingly, the embodiment of the present invention additionally provides a kind of rich text monitoring device, including: interface sets
Put unit, for editor being arranged total callback interface;Monitoring arranges unit, for institute
The each object box stated in editor is respectively provided with monitoring, to monitor in described each object box
The change of object;Feedback unit, for feeding back to described total callback interface by the change listened to;
Acquiring unit, for obtaining, by described total callback interface, the change that rich text is occurred.
Preferably, described to liking text, picture, audio or video.
Preferably, described editor is note.
Preferably, described rich text monitoring device also includes: storage unit, for obtaining list described
After unit obtains, by total callback interface, the change that rich text is occurred, notify described editor
Preserve the rich text before change and the rich text after change.
Preferably, described rich text monitoring device also includes: reminding unit, for obtaining list described
After unit obtains, by total callback interface, the change that rich text is occurred, remind the current rich text of user
Change.
Rich text monitor method that the embodiment of the present invention is provided and device, the rich text to mobile terminal
In each object box be respectively provided with monitoring, and the change listened to is fed back to total callback interface, by
This, by total callback interface it is known that be which object box changes, for the use of user
For experience just the most the same with the effect of an existing text box, it is achieved thereby that the monitoring to rich text.
Accompanying drawing explanation
By being more clearly understood from the features and advantages of the present invention with reference to accompanying drawing, accompanying drawing is schematic
And should not be construed as the present invention is carried out any restriction, in the accompanying drawings:
Fig. 1 shows the flow chart of buffer memory management method according to embodiments of the present invention;
Fig. 2 shows the schematic diagram of cache management device according to embodiments of the present invention.
Detailed description of the invention
Below in conjunction with accompanying drawing, embodiments of the present invention is described in detail.
Embodiments provide a kind of rich text monitor method, it is adaptable to mobile phone, panel computer etc.
Mobile terminal, as it is shown in figure 1, the method comprises the steps:
S11. editor is arranged total callback interface.Here, editor such as may be used
To be note.
S12. each object box in editor is respectively provided with monitoring, to monitor each object
The change of the object in frame.Here, the object in object box can be such as text, picture, sound
Frequently, video etc..Editor may be inserted into multiple object box, can add in each object box
Enter different object, such as in one object box, add text, in an object box, add picture etc..
S13. the change listened to is fed back to total callback interface.Such as there was added in the object box of picture
The increase of picture, it is deleted or modified, there was added the increasing of which which word in the object box of text
Adding, be deleted or modified, all these changes can be fed back to total callback interface.
S14. obtain, by total callback interface, the change that rich text is occurred.Thus, mobile terminal just may be used
To obtain, by total callback interface, the change that each object box is occurred.
By above-mentioned steps, each object box in the rich text of mobile terminal is respectively provided with monitoring,
And the change listened to is fed back to total callback interface, thus, by total callback interface it is known that
It is which object box changes, for the experience of user just and an existing text box
Effect the same, it is achieved thereby that the monitoring to rich text.
Preferably, can also include after above-mentioned steps S14:
S15. the rich text before notice editor preserves change and the rich text after change.Mobile
By total callback interface, terminal can know that rich text changes, thus, it is possible to notice rich text is compiled
Collect device to automatically save, and manually click on preservation without user.Such as, user is mobile at mobile phone etc.
Carry out RichText Edition in terminal, incoming call may occur during editor or receive the feelings such as note
Condition is interrupted, and user may be switched to other interfaces and process, in order to retain the editor that user is done
Work, mobile terminal, after learning that rich text changes by total callback interface, can notify richness
Text editor preserves the rich text before change and the rich text after change, so can automatically save and work as
Front rich text, when user wishes the version before returning to conversion, it is also possible to return to the version before change
This.
Preferably, can also include in above-mentioned steps S14:
S16. the current rich text of user is reminded to change.The mode reminded can have multiple, such as
Can remind by the mode of pop-up, it is also possible to remind in the way of note or voice, it is also possible in notice
Prompting etc. in hurdle.Because edit operation non-user sometimes for rich text are had a mind to for it, example
As being probably user misoperation, or the false touch in mobile terminal loading bag or in pocket is touched, from
And cause rich text to change.This change is for note is applied, and the impact for user can
Can be very big, material particular or important prompting that such as user records in note are deleted by mistake.Due to
Each object box in editor is respectively arranged with monitoring, it is possible to listening to is which is right
As the picture in frame, audio frequency, video change, or in which object box which row which
Word changes, such that it is able to inform that the current rich text of user there occurs that these change, it is to avoid to user
Adversely affect.
Above-mentioned steps S15 and S16 are optional, as more preferably embodiment, step S15
It is carried out with S16, has the most both reminded user that current rich text changes, saved again change
Rich text after front rich text and change.When user is according to reminding the change finding that current rich text occurs
After change, it is possible to judge that this change is normal operating or maloperation is caused, when being normal behaviour
Making when causing, user can not do any operation, when be maloperation cause time, user can select extensive
Multiple rich text before the change preserved.
Correspondingly, the embodiment of the present invention additionally provides a kind of rich text monitoring device, it is adaptable to mobile phone,
The mobile terminals such as panel computer, as in figure 2 it is shown, this device includes:
Interface arranges unit 21, for editor arranges total callback interface.Here, rich
Text editor can be such as note.
Monitoring arranges unit 22, for each object box in editor is respectively provided with monitoring,
To monitor the change of the object in each object box.Here, the object in object box can be such as
Text, picture, audio frequency, video etc..Editor may be inserted into multiple object box, each
Different object can be added in object box, such as add text in one object box, in an object box
Add picture etc..
Feedback unit 23, for feeding back to total callback interface by the change listened to.Such as there was added figure
The increase of picture in the object box of sheet, it is deleted or modified, there was added in the object box of text which which
The increase of several words, being deleted or modified, all these changes can be fed back to always adjust back and connect
Mouthful.
Acquiring unit 24, for obtaining, by total callback interface, the change that rich text is occurred.Thus,
Mobile terminal just can obtain, by total callback interface, the change that each object box is occurred.
By above-mentioned unit, each object box in the rich text of mobile terminal is respectively provided with prison
Listening, and the change listened to feeds back to total callback interface, thus, user is by total callback interface just
It is known that be which object box changes, just with existing one for the experience of user
The effect of individual text box is the same, it is achieved thereby that the monitoring to rich text.
Preferably, above-mentioned rich text monitoring device can also include:
Storage unit 25, for obtaining what rich text was occurred in acquiring unit 24 by total callback interface
After change, notice editor preserves the rich text before change and the rich text after change.Move
By total callback interface, dynamic terminal can know that rich text changes, thus, it is possible to notice rich text
Editing machine automatically saves, and manually clicks on preservation without user.Such as, user moves at mobile phone etc.
Carry out RichText Edition in dynamic terminal, incoming call may occur during editor or receive note etc.
Situation is interrupted, and user may be switched to other interfaces and process, in order to retain the volume that user is done
Collecting work, mobile terminal, after learning that rich text changes by total callback interface, can notify
Editor preserves the rich text before change and the rich text after change, so can automatically save
Current rich text, when user wishes the version before returning to conversion, it is also possible to before returning to change
Version.
Preferably, above-mentioned rich text monitoring device can also include:
Reminding unit 26, for obtaining what rich text was occurred in acquiring unit 24 by total callback interface
After change, the current rich text of user is reminded to change.The mode reminded can have multiple, example
As reminded by the mode of pop-up, it is also possible to remind in the way of note or voice, it is also possible to logical
Know prompting etc. in hurdle.Because edit operation non-user sometimes for rich text are had a mind to for it,
For instance it can be possible that user misoperation, or the false touch in mobile terminal loading bag or in pocket is touched,
Thus cause rich text to change.This change is for note is applied, for the impact of user
May be very big, material particular or important prompting that such as user records in note are deleted by mistake.By
Each object box in editor is respectively arranged with monitoring, it is possible to listening to is which
Picture in object box, audio frequency, video change, or in which object box which row which
Individual word changes, such that it is able to inform that the current rich text of user there occurs that these change, it is to avoid to
Family adversely affects.
Above-mentioned storage unit 25 and reminding unit 26 are optional, as more preferably embodiment,
Storage unit 25 and reminding unit 26 all exist, and have the most both reminded user that current rich text occurs
Change, saves again the rich text before change and the rich text after change.When user is according to reminding discovery
After the change that current rich text occurs, it is possible to judge that this change is normal operating or maloperation institute
Cause, when be normal operating cause time, user can not do any operation, when being that maloperation causes
Time, user can select the rich text before the change returning to preserve.
It should also be appreciated by one skilled in the art embodiments of the invention can be provided as method, system,
Or computer program.Therefore, the present invention can use complete hardware embodiment, complete software to implement
Example or the form of the embodiment in terms of combining software and hardware.And, the present invention can use at one
Or multiple wherein include computer usable program code computer-usable storage medium (include but not
It is limited to magnetic disc store, CD-ROM, optical memory etc.) the upper computer program implemented
Form.
The present invention is with reference to method, equipment (system) and computer program according to embodiments of the present invention
The flow chart of product and/or block diagram describe, it should be understood that can be realized stream by computer program instructions
In each flow process in journey figure and/or block diagram and/or square frame and flow chart and/or block diagram
Flow process and/or the combination of square frame.These computer program instructions can be provided to all-purpose computer, specially
With the processor of computer, Embedded Processor or other programmable data processing device to produce one
Machine so that the instruction performed by the processor of computer or other programmable data processing device is produced
Raw for realizing one flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple side
The device of the function specified in frame.
These computer program instructions may be alternatively stored in and computer or other programmable datas can be guided to process
In the computer-readable memory that equipment works in a specific way so that be stored in this computer-readable and deposit
Instruction in reservoir produces the manufacture including command device, and this command device realizes flow chart one
The function specified in flow process or multiple flow process and/or one square frame of block diagram or multiple square frame.
These computer program instructions also can be loaded into computer or other programmable data processing device
On so that on computer or other programmable devices, perform sequence of operations step to produce computer
The process realized, thus the instruction performed on computer or other programmable devices provides and is used for realizing
One flow process of flow chart or multiple flow process and/or one square frame of block diagram or multiple square frame are specified
The step of function.
Although being described in conjunction with the accompanying embodiments of the present invention, but those skilled in the art can be
Without departing from the case of the spirit and scope of the present invention, various modification can be adapted and modification, such amendment and
Within the scope of modification each falls within and is defined by the appended claims.
Claims (10)
1. a rich text monitor method, it is characterised in that including:
Editor is arranged total callback interface;
Each object box in described editor is respectively provided with monitoring, described each to monitor
The change of the object in object box;
The change listened to is fed back to described total callback interface;
The change that rich text is occurred is obtained by described total callback interface.
Rich text monitor method the most according to claim 1, it is characterised in that described to liking
Text, picture, audio or video.
Rich text monitor method the most according to claim 1, it is characterised in that described rich text
Editing machine is note.
Rich text monitor method the most according to claim 1, it is characterised in that pass through described
After described total callback interface obtains the change that rich text is occurred, also include:
Notify that described editor preserves the rich text before changing and the rich text after change.
5. according to the rich text monitor method according to any one of claim 1-4, it is characterised in that
After the described change occurred by described total callback interface acquisition rich text, also include:
The current rich text of user is reminded to change.
6. a rich text monitoring device, it is characterised in that including:
Interface arranges unit, for editor arranges total callback interface;
Monitoring arranges unit, for each object box in described editor is respectively provided with prison
Listen, to monitor the change of the object in described each object box;
Feedback unit, for feeding back to described total callback interface by the change listened to;
Acquiring unit, for obtaining, by described total callback interface, the change that rich text is occurred.
Rich text monitoring device the most according to claim 6, it is characterised in that described to liking
Text, picture, audio or video.
Rich text monitoring device the most according to claim 6, it is characterised in that described rich text
Editing machine is note.
Rich text monitoring device the most according to claim 6, it is characterised in that also include:
Storage unit, for obtaining what rich text was occurred in described acquiring unit by total callback interface
After change, notify that described editor preserves the rich text before changing and the rich text after change.
10. according to the rich text monitoring device according to any one of claim 6-9, it is characterised in that
Also include:
Reminding unit, for obtaining what rich text was occurred in described acquiring unit by total callback interface
After change, the current rich text of user is reminded to change.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610204108.1A CN105843789A (en) | 2016-04-01 | 2016-04-01 | Rich text monitoring method and device |
PCT/CN2016/100268 WO2017166755A1 (en) | 2016-04-01 | 2016-09-27 | Rich text monitoring method and apparatus, and electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610204108.1A CN105843789A (en) | 2016-04-01 | 2016-04-01 | Rich text monitoring method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105843789A true CN105843789A (en) | 2016-08-10 |
Family
ID=56597750
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610204108.1A Pending CN105843789A (en) | 2016-04-01 | 2016-04-01 | Rich text monitoring method and device |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105843789A (en) |
WO (1) | WO2017166755A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017166755A1 (en) * | 2016-04-01 | 2017-10-05 | 乐视控股(北京)有限公司 | Rich text monitoring method and apparatus, and electronic device |
CN108363499A (en) * | 2018-01-31 | 2018-08-03 | 维沃移动通信有限公司 | A kind of text restoration methods and mobile terminal |
CN110929000A (en) * | 2018-08-30 | 2020-03-27 | 北京国双科技有限公司 | Content data processing method and device and rich text editor |
CN111381898A (en) * | 2018-12-28 | 2020-07-07 | 北京字节跳动网络技术有限公司 | Interface calling method and device, mobile terminal and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090013244A1 (en) * | 2007-04-27 | 2009-01-08 | Bea Systems, Inc. | Enterprise web application constructor system and method |
CN101512503A (en) * | 2005-04-29 | 2009-08-19 | 微软公司 | XML application framework |
CN102880460A (en) * | 2012-08-15 | 2013-01-16 | 北京小米科技有限责任公司 | Analyzing method and device of note content |
CN103279453A (en) * | 2013-05-31 | 2013-09-04 | 北京小米科技有限责任公司 | Method, device and terminal device for processing files |
CN104704494A (en) * | 2013-06-09 | 2015-06-10 | 苹果公司 | Device, method, and graphical user interface for managing folders with multiple pages |
CN105101078A (en) * | 2015-06-30 | 2015-11-25 | 小米科技有限责任公司 | Information prompting method, terminal and server |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102915328B (en) * | 2012-09-04 | 2016-05-11 | 新浪网技术(中国)有限公司 | Method and the RichText Edition device of editor's rich text |
CN103809952B (en) * | 2012-11-14 | 2018-07-27 | 腾讯科技(深圳)有限公司 | A kind of method and apparatus of network platform displaying rich text message |
CN103279559A (en) * | 2013-06-13 | 2013-09-04 | 北京神鹰城讯科技有限公司 | Rich text editing method and device based on Android system |
CN105843789A (en) * | 2016-04-01 | 2016-08-10 | 乐视控股(北京)有限公司 | Rich text monitoring method and device |
-
2016
- 2016-04-01 CN CN201610204108.1A patent/CN105843789A/en active Pending
- 2016-09-27 WO PCT/CN2016/100268 patent/WO2017166755A1/en active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101512503A (en) * | 2005-04-29 | 2009-08-19 | 微软公司 | XML application framework |
US20090013244A1 (en) * | 2007-04-27 | 2009-01-08 | Bea Systems, Inc. | Enterprise web application constructor system and method |
CN102880460A (en) * | 2012-08-15 | 2013-01-16 | 北京小米科技有限责任公司 | Analyzing method and device of note content |
CN103279453A (en) * | 2013-05-31 | 2013-09-04 | 北京小米科技有限责任公司 | Method, device and terminal device for processing files |
CN104704494A (en) * | 2013-06-09 | 2015-06-10 | 苹果公司 | Device, method, and graphical user interface for managing folders with multiple pages |
CN105101078A (en) * | 2015-06-30 | 2015-11-25 | 小米科技有限责任公司 | Information prompting method, terminal and server |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2017166755A1 (en) * | 2016-04-01 | 2017-10-05 | 乐视控股(北京)有限公司 | Rich text monitoring method and apparatus, and electronic device |
CN108363499A (en) * | 2018-01-31 | 2018-08-03 | 维沃移动通信有限公司 | A kind of text restoration methods and mobile terminal |
CN110929000A (en) * | 2018-08-30 | 2020-03-27 | 北京国双科技有限公司 | Content data processing method and device and rich text editor |
CN111381898A (en) * | 2018-12-28 | 2020-07-07 | 北京字节跳动网络技术有限公司 | Interface calling method and device, mobile terminal and storage medium |
CN111381898B (en) * | 2018-12-28 | 2023-12-22 | 北京字节跳动网络技术有限公司 | Interface calling method and device, mobile terminal and storage medium |
Also Published As
Publication number | Publication date |
---|---|
WO2017166755A1 (en) | 2017-10-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101770399B (en) | Electronic equipment, method and device for switching operating system desktop | |
CN107786730A (en) | A kind of task management method and terminal | |
US20140052438A1 (en) | Managing audio capture for audio applications | |
CN108512695A (en) | The method and device of interim card is applied in monitoring | |
CN104216600B (en) | A kind of method and intelligent touch screen terminal equipment of the function that application program is provided | |
CN105843789A (en) | Rich text monitoring method and device | |
CN104834435A (en) | Method and device for playing audio comments | |
CN107071512B (en) | A kind of dubbing method, apparatus and system | |
CN103106266A (en) | Folder management and display method and mobile terminal based on android system | |
CN107577505A (en) | Operation, generation, the method started and its device of application program | |
WO2013023063A1 (en) | Digital media editing | |
CN105681566A (en) | Incoming call number processing method and device | |
CN102081501A (en) | Method and device for providing shortcut operation application programs for user and mobile terminal | |
CN102768846B (en) | A kind of audio frequency playing method, device and terminal | |
CN105930828A (en) | Expression classification identification control method and device | |
EP2811399B1 (en) | Method and terminal for starting music application | |
CN110244985A (en) | A kind of view rendering method, computer storage medium and terminal device | |
CN104503664A (en) | Searching method and device and mobile terminal | |
US10318094B2 (en) | Assistive technology (AT) responsive to cognitive states | |
CN102819500B (en) | A kind of method and device creating peripheral equipment control interface | |
CN107608585A (en) | The operating method and equipment and mobile terminal of a kind of application program | |
CN104731500A (en) | Information processing method and electronic equipment | |
CN104793836A (en) | Information processing method and device based on user operations and terminal | |
CN105739943A (en) | Method for selecting audio and video applications during access of mobile device to earphone | |
US9451423B2 (en) | Method and apparatus for recording information during a call |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160810 |