CN106777161B - Memorandum setting method and device and mobile terminal - Google Patents

Memorandum setting method and device and mobile terminal Download PDF

Info

Publication number
CN106777161B
CN106777161B CN201611185660.7A CN201611185660A CN106777161B CN 106777161 B CN106777161 B CN 106777161B CN 201611185660 A CN201611185660 A CN 201611185660A CN 106777161 B CN106777161 B CN 106777161B
Authority
CN
China
Prior art keywords
type
data object
text
data
memo
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.)
Active
Application number
CN201611185660.7A
Other languages
Chinese (zh)
Other versions
CN106777161A (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.)
Hainan Hailin Information Technology Co ltd
Original Assignee
Xiamen Meitu Mobile 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 Xiamen Meitu Mobile Technology Co Ltd filed Critical Xiamen Meitu Mobile Technology Co Ltd
Priority to CN201611185660.7A priority Critical patent/CN106777161B/en
Publication of CN106777161A publication Critical patent/CN106777161A/en
Application granted granted Critical
Publication of CN106777161B publication Critical patent/CN106777161B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/26Visual data mining; Browsing structured data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a memo setting method and device and a mobile terminal. Wherein, the method comprises the following steps: acquiring one or more type entries of a data object to be recorded; the data type, data content, data index and memo ID of the data object are recorded by using one or more type entries, wherein the data index is the position of the data object in a memory list of the memo, and the memo ID is the identification of the memo to which the data object belongs. According to the memorandum setting method provided by the embodiment of the invention, the data object can be conveniently edited and managed.

Description

Memorandum setting method and device and mobile terminal
Technical Field
The invention relates to the technical field of data processing, in particular to a memo setting method and device and a mobile terminal.
Background
Memorandum is a recording tool that users often use. As the user's demand for memos has become more and more, the memos have not been a mere tool for recording characters, and the users need various forms for recording their lives.
In the existing memo implementation technology, the arrangement and display of various types of data are generally implemented in a mode of tag embedding of hypertext markup language html. However, the method is to establish a hypertext markup language html tag conversion tool embedded in a text control, and to display the object in the hypertext markup language html file through the text control parsing. In this manner, the text control cannot edit and manage the added data object.
Disclosure of Invention
The embodiment of the invention provides a memorandum setting method, a memorandum setting device and a mobile terminal, which can be used for conveniently editing and managing various data objects in a memorandum.
In one aspect, the present invention provides a memo setting method, including: acquiring one or more type entries of a data object to be recorded; the data type, data content, data index and memo ID of the data object are recorded by using one or more type entries, wherein the data index is the position of the data object in a memory list of the memo, and the memo ID is the identification of the memo to which the data object belongs.
In another aspect, the present invention provides a memo setting apparatus, including: a type entry acquisition unit configured to acquire one or more type entries of a data object to be recorded; a data object recording unit configured to record a data type, a data content, a data index, and a memo ID of the data object using one or more type entries, wherein the data index is a position of the data object in a memory list of a memo, and the memo ID is an identification of a memo to which the data object belongs.
In still another aspect, the present invention provides a mobile terminal, including: a memory configured to store program code; a processor configured to perform the following steps according to instructions in the program code stored in the memory: acquiring one or more type entries of a data object to be recorded; recording a data type, a data content, a data index and a memo ID of the data object by using one or more type entries, wherein the data index is a position of the data object in a memory list of the memo, and the memo ID is an identification of the memo to which the data object belongs; and the display unit is configured to display the data content of the data object recorded by the one or more types of entries according to the data index.
According to the memo setting method, the device and the mobile terminal provided by the embodiment of the invention, one or more types of entries are used for recording the data objects, the setting mode is convenient for managing and maintaining the data objects in the memo, the data objects in each type of entry can be independently controlled and edited, and the requirements of users on editing and managing the memo are met.
Drawings
Fig. 1 is a flowchart showing a memo setting method of an embodiment of the present invention;
fig. 2 is a flowchart illustrating a memo setting method according to another embodiment of the present invention;
fig. 3 is a flowchart illustrating a memo setting method according to still another embodiment of the present invention;
fig. 4 is a flowchart illustrating a memo setting method according to still another embodiment of the present invention;
fig. 5 is a flowchart showing a memo setting method of a further embodiment of the present invention;
fig. 6 is a diagram illustrating a memo setting apparatus according to an embodiment of the present invention;
fig. 7 is a diagram showing a memo setting apparatus according to another embodiment of the present invention;
fig. 8 is a block diagram illustrating an exemplary hardware architecture of a mobile terminal of the memo setting method and apparatus according to the embodiments of the present invention.
Detailed Description
Features and exemplary embodiments of various aspects of the present invention will be described in detail below, and in order to make objects, technical solutions and advantages of the present invention more apparent, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. It will be apparent to one skilled in the art that the present invention may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present invention by illustrating examples of the present invention.
A memo setting method, apparatus and system according to an embodiment of the present invention are described in detail below with reference to the accompanying drawings.
Fig. 1 is a flowchart showing a memo setting method of an embodiment of the present invention. As shown in fig. 1, the memo setting method 100 in the present embodiment includes the following steps:
step S110, one or more type entries of the data object to be recorded are obtained.
Step S120, recording the data type, data content, data index and memo ID of the data object using one or more type entries, wherein the data index is the position of the data object in the memory list of the memo, and the memo ID is the identification of the memo to which the data object belongs.
According to the embodiment of the invention, the acquired information of the data object is recorded through the one or more types of entries, so that a more flexible memo setting method for editing and managing the data object is provided.
Fig. 2 is a flowchart showing a memo setting method according to another embodiment of the present invention, and the same reference numerals are used for the same or equivalent steps in fig. 2 as in fig. 1. As shown in fig. 2, the memo setting method 200 includes the steps of:
step S110, one or more type entries of the data object to be recorded are obtained.
Step S120, recording the data type, data content, data index and memo ID of the data object using one or more type entries, wherein the data index is the position of the data object in the memory list of the memo, and the memo ID is the identification of the memo to which the data object belongs.
In some embodiments, the step of recording the data type, the data content, the data index, and the memo ID of the data object using one or more type entries in step S120 may further include:
in step S121, one or more types of data objects are acquired.
Step S122, the data content of the acquired data object is added to the type entry.
In the embodiment of the invention, the data type comprises one or more of a text type, an image type, an audio type and a video type, and the image type, the audio type and the video type are non-text types.
As one example, the data type of the data object may be one or more of a text, audio, video, graffiti, and attachment.
In the embodiment of the present invention, the type entries in the memo may be presented in the form of a list view, but the arrangement manner of the list view is not limited, and in some embodiments, one or more type entries are arranged in the memo in the form of a list view in a linear arrangement or an adjacent arrangement.
As an example, the linear arrangement or the adjacent arrangement may be a horizontal linear/adjacent arrangement, or a vertical linear/adjacent arrangement.
As an example, the data objects in the memo are linearly arranged in the form of a list view, the recorded data objects can be displayed in each list item, and a corresponding editing tool is called for editing management. The list view is a component and also a layout container, each item of which is a list item, each list item being a separate layout.
In this embodiment, the data object of each data type is displayed by using a memo, and one or more type entries of the data object to be recorded may be first acquired, where the acquired type entry may be an existing type entry of the memo or a newly created type entry, each type entry has no limitation on the data type of the data object to be recorded, and the data content of each data object is added to a specified type entry.
According to the method provided by this embodiment, multiple types of data objects can be shuffled in the memo using the list view. Moreover, because each list item is relatively independent, when the data object in one list item is edited, the display, editing, sequencing and other management of other list items cannot be influenced.
In order to facilitate management and extraction of multiple types of data objects, the content of the data objects is refined, and the data objects in each list item contain at least the following data information: data type, data content, data index, and belonging memo ID. As an example, Table 1 shows data information for four different types of data objects.
TABLE 1
Data type Data content Data indexing Memorandum ID
Image of a person ImageUri 0 1
Text This is a demo 1 1
Video AudioUri 2 1
Audio frequency VideoUri 3 1
As shown in table 1, when the data type is a text type, the data content is the text itself; when the data type is text, video or audio, the data content may be a uniform resource identifier corresponding to the data type, and the uniform resource identifier may uniquely identify one resource, so that the list item may acquire and identify data type files such as pictures, videos or audio according to the uniform resource identifier.
In table 1, the data index may be used to indicate the position of the list item data object in each list item, and the memo ID may be used to indicate to which memo the subject list item data object belongs.
The data objects in the list items are stored and managed through the data information shown in the table 1, so that the requirements of a user on using a memo record and managing multiple types of data objects can be better met, the extension can be easily realized, and for the data object of a new data type, only the data type of the data object is indicated, and the corresponding data content, data index and memo ID information are updated, so that the presentation of the multiple types of data objects in the memo is realized.
In some embodiments, the data information managed by the data object is not limited to data type, data content, data index, and memo ID, and may be extended according to the requirements of actual editing management.
When managing and editing the data objects in the memo, it is very important to handle the editing relationship of the text-type data object and the non-text-type data object.
The method for inserting the non-text type data object in the embodiment of the present invention is described in detail by fig. 3 and fig. 4, respectively.
Fig. 3 shows a memo setting method according to still another embodiment of the present invention. The same or equivalent steps in fig. 3 and 1 are given the same reference numerals.
As shown in fig. 3, the difference is that when a non-text-type data object is inserted at a specified position within a text-type data object, the memo setting method 300 further includes the steps of:
step S130-1, creating a first type entry after the text type data object according to the non-text type data object, and recording the non-text type data object by using the first type entry.
Step S140-1, dividing the text type data object into two parts from the designated position to obtain a first part text type data object and a second part text type data object.
Step S150-1, creating a second type entry after the first type entry according to the second part of text type data object, and recording the second part of text type data object by using the second type entry.
Step S160-1, updating the text-type data object to the first partial text-type data object.
Step S170-1, updating the data index of the data object following the updated text-type data object.
By the memo setting method described in this embodiment, it is possible to insert a non-text type data object in a text type data object, that is, at a specified position between texts.
Fig. 4 shows a memo setting method according to still another embodiment of the present invention. The same or equivalent steps in fig. 4 and 1 are given the same reference numerals.
In the embodiment shown in fig. 4, when a non-text-type data object is inserted at a specified position within a first text-type data object, the latter item of which is a second text-type data object, the memo setting method 400 further includes the steps of:
step S130-2, creating a first type entry after the first text type data object according to the non-text type data object, and recording the non-text type data object by using the first type entry.
Step S140-2, the first text type data object is divided into two parts from the designated position, and a first part text type data object and a second part text type data object are obtained.
Step S150-2, merging the second partial text-type data object to the start position of the second text-type data object.
Step S160-2, the first text-type data object is updated to the first partial text-type data object.
Step S170-2, updating the data index of the data object subsequent to the updated first text type data object.
When the user uses the memo, the user tends to combine the text contents contained in the data objects of the adjacent text types, and the processing mode in the implementation considers the continuity requirement of the user on the text contents, so that the processing mode is more in line with the reading and operating habits of the user and is beneficial to managing the data objects of various types.
In the embodiment of the present invention, if the specified insertion position of the non-text type data object is the start position or the end position of the text type data object, that is, the non-text type data object is inserted at the start position or the end position of the text type data object, a new type entry may be created at the specified position, and the specified non-text type data object may be recorded by the type entry, and the data indexes of the data objects at the specified insertion position and after the specified insertion position may be updated.
In other embodiments, two text-type data object merges may be implemented. Specifically, a new type entry may be created at a start position or an end position of one text type data object, and another text type data object may be added to the created new type entry; or the text content of another text-type data object is inserted into a specified insertion location within a specified text-type data object.
As another example, a new list item may be created and populated with text type data objects or other non-text type data objects at a previous or subsequent location adjacent to the list item to which the non-text type data object is located.
In the embodiment of the present invention, if the editing actions such as insertion, deletion, addition, etc. change the type entry in the memo or change the position of the existing type entry, the data index of the related data object needs to be updated.
The above embodiments and examples describe processing methods and steps for inserting multi-type data objects in existing types of data objects of a memo. The use habits and the actual requirements of the user when actually inserting the data object into the memorandum are fully considered, and a more convenient and humanized processing mode is provided for the user.
In actual use, users often need to delete data objects according to actual use conditions. When deleting the data object, if the previous data object and the next data object of the data object to be deleted are non-text type data objects, only deleting the specified data object list item, and updating the data index of the existing list item in the current memorandum.
If the deleted data object is of a non-text type and the list item of the non-text type data object is located between the list items of the two text type data objects, the data objects of the text types need to be merged after the data objects of the non-text types are deleted.
Fig. 5 shows a memo setting method according to still another embodiment of the present invention, and the same reference numerals are used for the same or equivalent steps in fig. 5 as those in fig. 1. As shown in fig. 5, when deleting a non-text-type data object located between a first text-type data object and a second text-type data object in a memo, the memo setting method 500 may further include:
step S180, merging the second text-type data object to the end position of the first text-type data object.
In step S181, the second text-type data object located one after the non-text-type data object is deleted.
In step S182, the non-text type data object is deleted.
Step S183 updates the data index of the data object following the merged first text-type data object.
By the memo setting method in the embodiment of the invention, the deletion of the non-text type data object between the two text type data objects can be realized.
In summary, the memo setting method according to the embodiment of the present invention provides a method for implementing mixing of data objects of various data types, which can solve the problem of mixing multiple types of memos, and is easy to develop and maintain.
The following describes a memo setting apparatus according to an embodiment of the present invention with reference to the drawings.
Fig. 6 shows a memo setting apparatus according to an embodiment of the present invention. As shown in fig. 6, the memo setting apparatus 600 includes:
a type entry obtaining unit 601 configured to obtain one or more type entries of the data object to be recorded.
A data object recording unit 602 configured to record a data type, a data content, a data index, and a memo ID of the data object using one or more type entries, wherein the data index is a position of the data object in a memory list of a memo, and the memo ID is an identification of a memo to which the data object belongs.
According to the memo setting apparatus provided by the embodiment of the present invention, a data object of a specified data type can be presented and managed in a memo using one or more type entries.
Fig. 7 shows a memo setting apparatus according to another embodiment of the present invention. As shown in fig. 7, the data object recording unit 602 may further include:
a data object acquisition unit 6021 configured to acquire one or more types of data objects.
A data content adding unit 6022 configured to add the data content of the acquired data object into the type entry, wherein the data type includes one or more of a text type, an image type, an audio type, and a video type, and the image type, the audio type, and the video type are non-text types.
By the memo setting device provided by the embodiment, each type of entry is relatively independent, and when the data object in one type of entry is independently edited, the display, editing and management of the data object in other types of entries are not affected.
In some embodiments, the memo setting apparatus 700 may further include:
a type entry creating unit configured to create a first type entry after the first text type data object according to the non-text type data object and record the non-text type data object using the first type entry when the non-text type data object is inserted at a designated position within the text type data object.
And the text object segmentation unit is configured to divide the text type data object into two parts from the specified position, so as to obtain a first part text type data object and a second part text type data object.
The type entry creating unit is further configured to create a second type entry after the first type entry based on the second partial text type data object and to record the second partial text type data object using the second type entry.
A text object updating unit configured to update the text-type data object to the first partial text-type data object.
A data index updating unit configured to update a data index of a data object subsequent to the updated text-type data object.
According to the memo setting apparatus provided by this embodiment, it is possible to realize insertion of a non-text-type data object between text-type data objects.
As an alternative embodiment, if the latter item of the first text-type data object is the second text-type data object, in order to implement insertion of a non-text-type data object at a specified position within the first text-type data object, the memo setting apparatus 700 may further include:
a type entry creating unit configured to create a first type entry after the first text type data object according to the non-text type data object and record the non-text type data object using the first type entry when the non-text type data object is inserted at a designated position within the first text type data object and a latter item of the first text type data object is a second text type data object.
And the text object segmentation unit is configured to divide the text type data object into two parts from the specified position, so as to obtain a first part text type data object and a second part text type data object.
A text object merging unit configured to merge the second partial text type data object to a start position of the second text type data object.
A text object updating unit configured to update the first text-type data object to the first partial text-type data object.
A data index updating unit configured to update the data index of the data object subsequent to the updated first text-type data object.
By the memo setting device provided by the embodiment, after the non-text type data objects are inserted, the adjacent text type data objects are combined, so that the use habit of an operator is better met, and the management of the multi-type data objects in the memo is facilitated.
As an alternative embodiment, the memo setting apparatus 700 may further include:
a text merging unit configured to merge the second text-type data object to an end position of the first text-type data object when deleting the non-text-type data object located between the first text-type data object and the second text-type data object in the memo.
A list item deleting unit configured to delete a second text-type data object located one after the non-text-type data object and delete the non-text-type data object.
And the data index updating unit is configured to update the data index of the data object after the merged first text type data object.
With the memo setting apparatus in this embodiment, a non-text-type data object between two text-type data objects can be deleted.
In other embodiments, the type entries acquired by the type entry acquiring unit are arranged linearly or adjacently in the form of a list view in the memo.
By the memorandum setting device provided by the embodiment of the invention, the data objects of each data type can be presented in the memorandum in a list view mode, and the implementation mode is not only easy for developers to maintain, but also convenient for the developers to expand, can realize convenient control and editing functions for each inserted type, and well meets the requirements of users on the memorandum.
Other details of the memo setting apparatus according to the embodiment of the present invention are similar to the memo setting method according to the embodiment of the present invention described above with reference to fig. 1 to 5, and are not repeated herein.
The memo setting method and apparatus according to the embodiment of the present invention described in conjunction with fig. 1 to 7 may be implemented by a mobile terminal device. Fig. 8 is a block diagram illustrating an exemplary hardware architecture of a mobile terminal capable of implementing a memo setting method and apparatus according to an embodiment of the present invention. As shown in fig. 8, the mobile terminal 800 includes an input device 801, an input interface 802, a central processor 803, a memory 804, an output interface 805, and an output device 806. The input interface 802, the central processing unit 803, the memory 804 and the output interface 805 are connected to each other through a bus 810, and the input device 801 and the output device 806 are connected to the bus 810 through the input interface 802 and the output interface 805, respectively, and further connected to other components of the mobile terminal 800. Specifically, the input device 801 receives input information from the outside (e.g., other system applications), and transmits the input information to the central processor 803 through the input interface 802; the central processor 803 processes the input information based on computer-executable instructions stored in the memory 804 to generate output information, temporarily or permanently stores the output information in the memory 804, and then transmits the output information to an output device 806 (e.g., a display unit connected to the output interface) via the output interface 805; output device 806 outputs the output information to the exterior of mobile terminal 800 for use by a user.
That is, the mobile terminal shown in fig. 8 may also be implemented to include: a memory configured to store program code; a processor configured to perform the following steps according to instructions in the program code stored in the memory: acquiring one or more type entries of a data object to be recorded; recording a data type, a data content, a data index and a memo ID of the data object by using one or more type entries, wherein the data index is a position of the data object in a memory list of the memo, and the memo ID is an identification of the memo to which the data object belongs; and the display unit is configured to display the data content of the data object recorded by the one or more types of entries according to the data index.
Here, the processor may execute computer-executable instructions based on the related information from the acquired data object, thereby implementing the memo setting method and apparatus described in conjunction with fig. 1 to 7.
In some embodiments, the mobile terminal 800 may be a mobile phone, a digital camera or a tablet computer, and the mobile terminal may include the memo setting device described in the above embodiments. Correspondingly, the memo setting method described in the above embodiments may be performed, and the implementation principle and technical effect are similar.
It is to be understood that the invention is not limited to the specific arrangements and instrumentality described above and shown in the drawings. A detailed description of known methods is omitted herein for the sake of brevity. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present invention are not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications and additions or change the order between the steps after comprehending the spirit of the present invention.
The functional blocks shown in the above-described structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, plug-in, function card, or the like. When implemented in software, the elements of the invention are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine-readable medium or transmitted by a data signal carried in a carrier wave over a transmission medium or a communication link. A "machine-readable medium" may include any medium that can store or transfer information. Examples of a machine-readable medium include electronic circuits, semiconductor memory devices, ROM, flash memory, Erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, Radio Frequency (RF) links, and so forth. The code segments may be downloaded via computer networks such as the internet, intranet, etc.
The present invention may be embodied in other specific forms without departing from its spirit or essential characteristics. For example, the algorithms described in the specific embodiments may be modified without departing from the basic spirit of the invention. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein.

Claims (9)

1. A memo setting method comprising:
acquiring one or more type entries of a data object to be recorded;
recording a data type, a data content, a data index and a memo ID of the data object by using the one or more type entries, wherein the data index is a position of the data object in a memory list of a memo, and the memo ID is an identification of a memo to which the data object belongs;
the recording the data type, the data content, the data index, and the memo ID of the data object using the one or more type entries further comprises:
acquiring one or more types of data objects;
adding the acquired data content of the data object into the type entry, wherein the data type comprises one or more of a text type, an image type, an audio type and a video type, and the image type, the audio type and the video type are non-text types;
when inserting a non-text-type data object at a specified location within a text-type data object, the method further comprises:
creating a first type entry after the text type data object according to the non-text type data object, and recording the non-text type data object by using the first type entry;
dividing the text type data object into two parts from the designated position to obtain a first part of text type data object and a second part of text type data object;
creating a second type entry after the first type entry according to the second part of text type data object, and recording the second part of text type data object by using the second type entry;
updating the text-type data object to the first partial text-type data object;
the data index of the data object following the updated text-type data object is updated.
2. The method of claim 1, when inserting a non-text-type data object at a specified location within a first text-type data object, the latter item of the first text-type data object being a second text-type data object, the method further comprising:
creating a first type entry after the first text type data object according to the non-text type data object, and recording the non-text type data object by using the first type entry;
dividing the first text type data object into two parts from the designated position to obtain a first part text type data object and a second part text type data object;
merging the second partial text-type data object to a starting position of the second text-type data object;
updating the first text-type data object to the first partial text-type data object;
and updating the data index of the data object after the updated first text type data object.
3. The method of claim 1, when deleting a non-text type data object in the memo that is located between a first text type data object and a second text type data object, the method further comprising:
merging the second text-type data object to an end position of the first text-type data object;
deleting the second text-type data object located one item after the non-text-type data object;
deleting the non-text type data object;
and updating the data index of the data object after the merged first text type data object.
4. The method of claim 1, further comprising:
the one or more type entries are linearly arranged in the memo in a list view.
5. A memo setting apparatus comprising:
a type entry acquisition unit configured to acquire one or more type entries of a data object to be recorded;
a data object recording unit configured to record a data type, a data content, a data index, and a memo ID of the data object using the one or more type entries, wherein the data index is a position of the data object in a memory list of a memo, and the memo ID is an identification of a memo to which the data object belongs;
the device, still include:
a data object acquisition unit configured to acquire one or more types of data objects;
a data content adding unit configured to add the data content of the acquired data object to the type entry, wherein the data type includes one or more of a text type, an image type, an audio type, and a video type, and the image type, the audio type, and the video type are non-text types;
the device, still include:
a type entry creating unit configured to create a first type entry after a first text type data object according to a non-text type data object when the non-text type data object is inserted at a designated position within the text type data object, and record the non-text type data object using the first type entry;
a text object segmentation unit configured to divide the text type data object into two parts from the designated position, resulting in a first part text type data object and a second part text type data object;
the type entry creating unit is further configured to create a second type entry after the first type entry according to the second partial text type data object and record the second partial text type data object using the second type entry;
a text object updating unit configured to update the text-type data object to the first partial text-type data object;
a data index updating unit configured to update a data index of a data object subsequent to the updated text-type data object.
6. The apparatus of claim 5, further comprising:
a type entry creating unit configured to create a first type entry after a first text type data object according to a non-text type data object when the non-text type data object is inserted at a specified position within the first text type data object, the latter item of the first text type data object being a second text type data object, and record the non-text type data object using the first type entry;
a text object segmentation unit configured to divide the text type data object into two parts from the designated position, resulting in a first part text type data object and a second part text type data object;
a text object merging unit configured to merge the second partial text type data object to a start position of the second text type data object;
a text object updating unit configured to update the first text type data object to the first partial text type data object;
a data index updating unit configured to update the data index of the data object subsequent to the updated first text-type data object.
7. The apparatus of claim 5, further comprising:
a text merging unit configured to merge a second text-type data object to an end position of a first text-type data object when a non-text-type data object located between the first text-type data object and the second text-type data object in the memo is deleted;
a list item deleting unit configured to delete the second text type data object located one after the non-text type data object and delete the non-text type data object;
and the data index updating unit is configured to update the data index of the data object after the merged first text type data object.
8. The apparatus of claim 5, wherein,
the type entries acquired by the type entry acquiring unit are arranged linearly or adjacently in the form of a list view in the memo.
9. A mobile terminal, comprising:
a memory configured to store program code;
a processor configured to perform the following steps according to instructions in the program code stored in the memory:
acquiring one or more type entries of a data object to be recorded;
recording a data type, a data content, a data index and a memo ID of the data object by using the one or more type entries, wherein the data index is a position of the data object in a memory list of a memo, and the memo ID is an identification of a memo to which the data object belongs;
the recording the data type, the data content, the data index, and the memo ID of the data object using the one or more type entries further comprises:
acquiring one or more types of data objects;
adding the acquired data content of the data object into the type entry, wherein the data type comprises one or more of a text type, an image type, an audio type and a video type, and the image type, the audio type and the video type are non-text types;
when inserting a non-text-type data object at a specified location within a text-type data object, the steps further include:
creating a first type entry after the text type data object according to the non-text type data object, and recording the non-text type data object by using the first type entry;
dividing the text type data object into two parts from the designated position to obtain a first part of text type data object and a second part of text type data object;
creating a second type entry after the first type entry according to the second part of text type data object, and recording the second part of text type data object by using the second type entry;
updating the text-type data object to the first partial text-type data object;
updating the data index of the data object after the updated text type data object;
a display unit configured to display the data content of the data object recorded by the one or more type entries according to the data index.
CN201611185660.7A 2016-12-20 2016-12-20 Memorandum setting method and device and mobile terminal Active CN106777161B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611185660.7A CN106777161B (en) 2016-12-20 2016-12-20 Memorandum setting method and device and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611185660.7A CN106777161B (en) 2016-12-20 2016-12-20 Memorandum setting method and device and mobile terminal

Publications (2)

Publication Number Publication Date
CN106777161A CN106777161A (en) 2017-05-31
CN106777161B true CN106777161B (en) 2020-05-08

Family

ID=58895934

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611185660.7A Active CN106777161B (en) 2016-12-20 2016-12-20 Memorandum setting method and device and mobile terminal

Country Status (1)

Country Link
CN (1) CN106777161B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103389968A (en) * 2013-07-10 2013-11-13 福州博远无线网络科技有限公司 Method and system for realizing rich text display
CN105843787A (en) * 2016-03-24 2016-08-10 武汉斗鱼网络科技有限公司 Rich text editing method and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7890852B2 (en) * 2003-06-26 2011-02-15 International Business Machines Corporation Rich text handling for a web application
US20050262054A1 (en) * 2004-05-18 2005-11-24 Nokia Corporation Item type specific structured search

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103389968A (en) * 2013-07-10 2013-11-13 福州博远无线网络科技有限公司 Method and system for realizing rich text display
CN105843787A (en) * 2016-03-24 2016-08-10 武汉斗鱼网络科技有限公司 Rich text editing method and system

Also Published As

Publication number Publication date
CN106777161A (en) 2017-05-31

Similar Documents

Publication Publication Date Title
CN109445657B (en) Document editing method and device
US20060136821A1 (en) Method and system for highlighting modified content in a shared document
CN109491742B (en) Page table rendering method and device
CN103217171B (en) A kind of navigator of user's edit map data and method
CN110070593B (en) Method, device, equipment and medium for displaying picture preview information
CN115079872B (en) Document processing method, device, equipment and medium
EP2988226A1 (en) Electronic document data updating method and device
US6922707B2 (en) File management method and content recording/playback apparatus
CN112487331A (en) Page generation method and device, storage medium and electronic equipment
EP3274939A1 (en) Providing interactive preview of content within communication
CN110781658A (en) Resume analysis method and device, electronic equipment and storage medium
CN109446199A (en) Cell data processing method and device
CN103377213A (en) File uploading system and method
CN106777161B (en) Memorandum setting method and device and mobile terminal
CN117130697B (en) Method and device for fixing application on taskbar
CN106020616B (en) Method and device for updating desktop quick link icon
CN106293671B (en) Method and device for generating component template
CN104424170A (en) Electronic content data packet postprocessing system and method
CN108196921B (en) Document development method and device, computer equipment and storage medium
KR20190143228A (en) Method for object management using trace identifier, apparatus for the same, computer program for the same, and recording medium storing computer program thereof
CN115061601B (en) Electronic document processing method, device, terminal and storage medium
CN110750268B (en) File cleaning method and device, computer readable storage medium and electronic equipment
CN113705190A (en) Text processing method, device and equipment
US11036729B2 (en) Document creation support system
CN114048706A (en) Information processing method, device, electronic equipment and storage medium

Legal Events

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

Effective date of registration: 20221111

Address after: 570203 The second floor of Haichuang Space, Hainan Data Valley, Hainan Building, Guoxing Avenue, Meilan District, Haikou, Hainan

Patentee after: Hainan Hailin Information Technology Co.,Ltd.

Address before: 361000 112a, Chuangye building, Pioneer Park, torch high tech Zone, Xiamen, Fujian Province

Patentee before: Xiamen Meitu Mobile Technology Co.,Ltd.