CN106156314B - A kind of data manipulation method and device, data search method and device - Google Patents

A kind of data manipulation method and device, data search method and device Download PDF

Info

Publication number
CN106156314B
CN106156314B CN201610514554.2A CN201610514554A CN106156314B CN 106156314 B CN106156314 B CN 106156314B CN 201610514554 A CN201610514554 A CN 201610514554A CN 106156314 B CN106156314 B CN 106156314B
Authority
CN
China
Prior art keywords
data
attribute tags
operational order
preset range
label
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
CN201610514554.2A
Other languages
Chinese (zh)
Other versions
CN106156314A (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.)
Meizu Technology Co Ltd
Original Assignee
Meizu 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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201610514554.2A priority Critical patent/CN106156314B/en
Publication of CN106156314A publication Critical patent/CN106156314A/en
Application granted granted Critical
Publication of CN106156314B publication Critical patent/CN106156314B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • G06F16/334Query execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/35Clustering; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/60Information retrieval; Database structures therefor; File system structures therefor of audio data
    • G06F16/68Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/686Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, title or artist information, time, location or usage information, user ratings

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Library & Information Science (AREA)
  • Computational Linguistics (AREA)
  • Multimedia (AREA)
  • Document Processing Apparatus (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present invention relates to a kind of data manipulation method and devices, data search method and device, comprising: receives the operational order to the first data;Obtain the attribute tags of the first data;According to the attribute tags of the first data, judge in preset range with the presence or absence of second data with the first data with same alike result label;There are with the first data the second data of same alike result label if it exists, then the first data and the second data are executed with the operational order of the first data.By applying the present invention, user classifies to data according to the feature of data, intelligent batch operation data improve the speed that user handles file or document, to improve the working efficiency and usage experience of user.

Description

A kind of data manipulation method and device, data search method and device
Technical field
The present invention relates to computer fields, more specifically to a kind of data manipulation method and device, data search side Method and device.
Background technique
With the deep development of computer technology, the every aspect of our life and works has been goed deep into computer application, Processing data are a kind of common operations.For example, searching the data that selection user needs is most in numerous operations of computer Basic operation, and current operating method needs user to operate one by one to the data of needs manually, inefficiency, not enough Intelligence, and it is easy error.
For example, including multiple texts with yellow shading in one section of document, user needs to replicate these with yellow bottom When the text of line, current method is selected one by one the text with yellow shading, it is clear that under efficiency is relatively low, especially Be when document number of pages is more, not only operate it is time-consuming and laborious, and be easy omit.In another example user is in a local music Music file is selected to play out in file, when user needs only to listen the song of a singer, current way is basis The filename of music file searches all music files in music folder one by one manually, selects the song of the singer, this Selection mode is not smart enough, reduces the working efficiency and usage experience of user.
Summary of the invention
The technical problem to be solved in the present invention is that provide a kind of data manipulation method and device, data search method and Device.
The technical solution adopted by the present invention to solve the technical problems is: constructing a kind of data manipulation method, including following Step:
Receive the operational order to the first data;
Obtain the attribute tags of the first data;
According to the attribute tags of first data, judge that there is phase with the presence or absence of with first data in preset range With the second data of attribute tags;
If so, first data and the second data are executed with the operational order of first data.
Preferably, data manipulation method of the present invention executes described first to first data and the second data Before the operational order of data, comprising:
Show second data;
Preferably, first data and the second data are executed with the operational order of first data, comprising:
According to the confirmation instruction to second data, first data are executed to first data and the second data Operational order.
Data manipulation method of the present invention, before receiving to the operational order of the first data, comprising:
It receives and sets a property the operation of label to first data and the second data.
Preferably, data manipulation method of the present invention, the operational order are duplicate instructions;
With the presence or absence of second data with first data with same alike result label, packet in the judgement preset range It includes:
Judge that there is same alike result label with the presence or absence of with first data in the document where first data Second data;
The operational order that first data and the second data are executed with first data, comprising:
The duplicate instructions are executed to first data and the second data.
Preferably, data manipulation method of the present invention, the attribute tags include font format, font background face One of color, keyword, typesetting format are a variety of.
In addition, including the following steps: invention additionally discloses a kind of data search method
Receive the operational order to the first data;
Obtain the attribute tags of first data;
According to the attribute tags of first data, judge that there is phase with the presence or absence of with first data in preset range With the second data of attribute tags;
If so, showing second data.
In addition, invention additionally discloses a kind of data operation devices, comprising:
First receiving unit, for receiving the operational order to first data;
First acquisition unit, for obtaining the attribute tags of first data;
First judging unit, for the attribute tags according to first data, judge in preset range with the presence or absence of with First data have second data of same alike result label;
First execution unit, for having there is same alike result label with first data second within a preset range Data then execute the operational order of first data to first data and the second data.
Preferably, data operation device of the present invention, further includes:
Display unit, before the operational order for first data and the second data to be executed with first data, Show second data;
Second execution unit, for being instructed according to the confirmation to second data, to first data and the second number According to the operational order for executing first data.
Preferably, data operation device of the present invention, the operational order are duplicate instructions,
First judgement includes unit second judgment unit, and the second judgment unit is for judging first data With the presence or absence of second data with first data with same alike result label in the document at place;
First execution unit includes: copied cells, and the copied cells are used for first data and the second number According to the execution duplicate instructions.
In addition, invention additionally discloses a kind of data search devices, comprising:
Second receiving unit, for receiving the operational order to the first data;
Second acquisition unit, for obtaining the attribute tags of first data;
Third judging unit, for the attribute tags according to first data, judge in preset range with the presence or absence of with First data have the second data of same alike result label;
Second execution unit, for having there is same alike result label with first data second within a preset range Data then show second data.
Implement of the invention a kind of data manipulation method and device, data search method and device, has below beneficial to effect Fruit: data manipulation method disclosed by the invention includes: the operational order received to the first data;Obtain the attribute mark of the first data Label;According to the attribute tags of the first data, judge that there is same alike result label with the presence or absence of with the first data in preset range Second data;There are with the first data the second data of same alike result label if it exists, then the first data and the second data are held The operational order of the first data of row.By applying the present invention, user classifies to data according to the feature of data, can be intelligent Batch operation data improve the speed that user handles file or document, to improve the working efficiency and usage experience of user.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples, in attached drawing:
Fig. 1 is a kind of flow diagram of data manipulation method of the present invention;
Fig. 2 is a kind of flow diagram of data copy method of the present invention;
Fig. 3 is a kind of flow diagram of data search method of the present invention.
Fig. 4 is a kind of structural schematic diagram of data operation device of the present invention;
Fig. 5 is a kind of structural schematic diagram of data copy device of the present invention;
Fig. 6 is a kind of structural schematic diagram of data search device of the present invention.
Specific embodiment
For a clearer understanding of the technical characteristics, objects and effects of the present invention, now control attached drawing is described in detail A specific embodiment of the invention.
As shown in Figure 1, being the first embodiment of the present invention.
Fig. 1 is a kind of flow diagram of data manipulation method of the present invention.The data manipulation method is used in multiple terminal, Terminal includes but is not limited to smart phone, tablet computer, smartwatch, computer etc., and the operating system of terminal includes but is not limited to Android operation system, IOS operating system, Windows Phone operating system, Windows operating system, Linux etc..It should The operation content of data manipulation method include but is not limited to search, duplication, paste, delete, selection, it is selected, show etc..The data The data object of method of operation in operation includes but is not limited to the character image in the file and various format files of various formats Deng.The present embodiment discloses a kind of data manipulation method, includes the following steps:
S101: it receives and sets a property the operation of label to the first data and the second data.First data and the second data Attribute tags are used for the attribute of mark data, the data can be found by attribute tags, same data can possess multiple Attribute, i.e., same data can possess multiple attribute tags.For example, the attribute tags of file include if data are files But it is limited to: the title of file, file format, file size, file settling time, filemodetime, paper writer;Example again Such as, if data are the texts in document, the attribute tags of text include but is not limited to: font, font size, background color, lattice Formula information.The attribute tags of first data and the second data are set, both can be by manual setting, it can be according to data attribute certainly The dynamic attribute tags for generating data.
S102: the operational order to the first data is received;Operational order to the first data includes but is not limited to open text Part, lookup, duplication, stickup, deletion, selection, selected, mobile, displaying etc., for example, user can choose a music file, and The music file is played, then is played file instruction to the operational order of the music file;In another example user selects in document One section of text with background color, has then carried out delete operation for this section of text, then is to delete to the operational order that this section of text is implemented Except text instruction.
S103: the attribute tags of the first data are obtained;The first data are being selected, and operational order is implemented to the first data Afterwards, the attribute tags of the first data are obtained.Preferably, when the attribute tags of the first data have multiple, settable first data Default property label, then be exactly the default property label for obtaining the first data when obtaining the attribute tags of the first data;Or, right Multiple attribute tags of first data are ranked up;Or, pop-up attribute tags options, selects for user.
S104: according to the attribute tags of the first data, judge identical with the presence or absence of having with the first data in preset range Second data of attribute tags;Preset range either physical storage medium a certain range, also refer to the context of document. For example, file where this document can be used as preset range, the storage dish where this document when the first data are single files Symbol can also be used as preset range;In another example preset range was either should when the first data are the passage in document The page where section text, can be all content of pages of entire document.After the attribute tags of selected first data, pre- If checking other data in range one by one, when checking a certain data, the attribute tags of the data are extracted, and by the label and select The attribute tags of the first fixed data compare, and judge whether identical.
S105: having the second data of same alike result label with the first data if it exists, then to the first data and the second number According to the operational order for executing the first data.By searching for compared with, if there is identical with the attribute tags of the first data One data then execute the operational order to the first data to the first data and the second data.For example, the first data are music text Part, the attribute tags of the music file are song artist, and the operational order to the first data is to play music, and preset range is File where the music file is then searched and attribute mark in this document presss from both sides according to the attribute tags singer of the first data Label are the music file of the singer, after the music file for finding identical singer, execute play operation to these music files.
Preferably, data manipulation method of the invention, the operation for executing the first data to the first data and the second data refer to Before order, comprising:
Show the second data;The purpose for showing the second data is the second data for allowing user to judge to be searched according to attribute tags It is whether correct.The method for showing the second data includes: the second data for being highlighted and choosing;Or, the second data are moved to Display interface where one data, facilitates user to check;Or, generate the second data list, user can intuitive judgment selection the Whether two data are correct.
Preferably, the first data and the second data are executed with the operational order of the first data, comprising:
According to the confirmation instruction to the second data, the first data and the second data are executed with the operational order of the first data. After finding the second data according to the attribute tags of the first data, for the correctness for guaranteeing data, directly immediately to the Two data execute the operation of the first data, first have to check the second data, in the case where guaranteeing the correct situation of the second data, Yong Huke First data and the second data are executed the operational order of the first data by the confirmation instruction for issuing the second data.
As shown in Fig. 2, being the second embodiment of the present invention.
Fig. 2 is a kind of flow diagram of data copy method of the present invention.The data copy method is used in multiple terminal, Terminal includes but is not limited to smart phone, tablet computer, smartwatch, computer etc., and the operating system of terminal includes but is not limited to Android operation system, IOS operating system, Windows Phone operating system, Windows operating system, Linux etc..It should The data object of data copy method operation includes but is not limited to the text in the file and various format files of various formats Image etc..The present embodiment discloses a kind of data copy method, includes the following steps:
S201: it receives and sets a property the operation of label to the first data and the second data.First data and the second data Attribute tags are used for the attribute of mark data, the data can be found by attribute tags, same data can possess multiple Attribute, i.e., same data can possess multiple attribute tags.For example, if data are the text in document, the attribute of text Label includes but is not limited to: font, font size, background color, format information.The attribute mark of first data and the second data is set Label, both can be by manual setting, can be according to the attribute tags of data attribute automatically generated data.Preferably, the present embodiment Data manipulation method, attribute tags include one of font format, font background color, keyword, typesetting format or more Kind.
S202: the duplicate instructions to the first data are received;For example, user selects one section of text with background color in document, Then this section of text duplication operation has been subjected to, has then been duplication text instruction to the operational order that this section of text is implemented.
S203: the attribute tags of the first data are obtained;The first data are being selected, and duplicate instructions are implemented to the first data Afterwards, the attribute tags of the first data are obtained.Preferably, when the attribute tags of the first data have multiple, settable first data Default property label, then be exactly the default property label for obtaining the first data when obtaining the attribute tags of the first data;Or, right Multiple attribute tags of first data are ranked up;Or, pop-up attribute tags options, selects for user.
S204: according to the attribute tags of the first data, judge identical with the presence or absence of having with the first data in preset range Second data of attribute tags;Preset range either physical storage medium a certain range, also refer to the context of document, For example, preset range can be either the page where this section of text when the first data are the passage in document All content of pages of entire document.After the attribute tags of selected first data, other numbers are checked one by one within a preset range According to when checking a certain data, extracting the attribute tags of the data, and by the attribute tags of the label and the first selected data It compares, judges whether identical.
S205: having the second data of same alike result label with the first data if it exists, then to the first data and the second number According to the duplicate instructions for executing the first data.By searching for compared with, if there is identical with the attribute tags of the first data One data then execute the operational order to the first data to the first data and the second data.For example, the first data are with shading Passage, the attribute tags of this section of text are text shading, preset all the elements that seeking scope is the document, then entire The text for having shading is searched in document, after finding all texts with shading, executes the duplication operation of the first data, duplication All texts with shading.
Preferably, the data manipulation method of the present embodiment executes the duplication of the first data to the first data and the second data Before instruction, comprising:
Show the second data;The purpose for showing the second data is the second data for allowing user to judge to be searched according to attribute tags It is whether correct.The method for showing the second data includes: the second data for being highlighted and choosing;Or, the second data are moved to Display interface where one data, facilitates user to check;Or, generate the second data list, user can intuitive judgment selection the Whether two data are correct.
Preferably, the first data and the second data are executed with the duplicate instructions of the first data, comprising:
According to the confirmation instruction to the second data, the first data and the second data are executed with the duplicate instructions of the first data. After finding the second data according to the attribute tags of the first data, for the correctness for guaranteeing data, directly immediately to the Two data execute the duplication operation of the first data, first have to check the second data, in the case where guaranteeing the correct situation of the second data, use The confirmation of capable of emitting second data in family instructs, and the first data and the second data are executed with the duplicate instructions of the first data.
Judge in preset range with the presence or absence of second data with the first data with same alike result label, comprising:
Judge in the document where the first data with the presence or absence of second data with the first data with same alike result label; When the first data are the passage in document, preset range can be entire either the page where this section of text All content of pages of document.
As shown in figure 3, being the third embodiment of the present invention.
Fig. 3 is a kind of flow diagram of data search method of the present embodiment.The data search method is used for multiple terminal In, terminal includes but is not limited to smart phone, tablet computer, smartwatch, computer etc., and the operating system of terminal includes but unlimited In Android operation system, IOS operating system, Windows Phone operating system, Windows operating system, Linux etc.. The data object of data search method operation includes but is not limited to the text in the file and various format files of various formats Word image etc..The present embodiment discloses a kind of data search method, includes the following steps:
S301: the operational order to the first data is received;
S302: the attribute tags of the first data are obtained;The first data are being selected, and operational order is implemented to the first data Afterwards, the attribute tags of the first data are obtained.Preferably, when the attribute tags of the first data have multiple, settable first data Default property label, then be exactly the default property label for obtaining the first data when obtaining the attribute tags of the first data;Or, right Multiple attribute tags of first data are ranked up;Or, pop-up attribute tags options, selects for user.
S303: according to the attribute tags of the first data, judge identical with the presence or absence of having with the first data in preset range Second data of attribute tags;Preset range either physical storage medium a certain range, also refer to the context of document, For example, file where this document can be used as preset range, the storage dish where this document when the first data are single files Symbol can also be used as preset range;In another example preset range was either should when the first data are the passage in document The page where section text, can be all content of pages of entire document.After the attribute tags of selected first data, pre- If checking other data in range one by one, when checking a certain data, the attribute tags of the data are extracted, and by the label and select The attribute tags of the first fixed data compare, and judge whether identical.
S304: if there are the second data that there is same alike result label with the first data in preset range, second is shown Data.The method for showing the second data includes: the second data for being highlighted and choosing;Or, the second data are moved to the first number According to the display interface at place, user is facilitated to check;Or, generate the second data list, user can intuitive judgment selection second number According to whether correct.
As shown in figure 4, being the fourth embodiment of the present invention.
Fig. 4 is a kind of structural schematic diagram of data operation device of the present invention.The data operation device is used in multiple terminal, Terminal includes but is not limited to smart phone, tablet computer, smartwatch, computer etc., and the operating system of terminal includes but is not limited to Android operation system, IOS operating system, Windows Phone operating system, Windows operating system, Linux etc..It should The operation content of data operation device include but is not limited to search, duplication, paste, delete, selection, it is selected, show etc..The data The data object of operating device operation includes but is not limited to the character image in the file and various format files of various formats Deng.The present embodiment discloses a kind of data operation device, comprising:
Setting unit 401 sets a property the operation of label to the first data and the second data for receiving.First data and The attribute tags of second data are used for the attribute of mark data, the data can be found by attribute tags, same data can To possess multiple attributes, i.e., same data can possess multiple attribute tags.For example, if data are file, the category of file Property label includes but is limited to: the title of file, file format, file size, file settling time, filemodetime, file Author;In another example the attribute tags of text include but is not limited to if data are the texts in document: font, font size, back Scape color, format information.The attribute tags of first data and the second data are set, both can be by manual setting, it can basis The attribute tags of data attribute automatically generated data.
First receiving unit 402, for receiving the operational order to the first data;Operational order to the first data includes But it is not limited to open file, lookup, duplication, stickup, deletion, selection, selected, mobile, displaying etc., for example, user can choose One music file, and play the music file, then it is played file instruction to the operational order of the music file;In another example User selects one section of text with background color in document, this section of text has then been carried out delete operation, then to this section of text reality The operational order applied is to delete text instruction.
First acquisition unit 403, for obtaining the attribute tags of the first data;The first data are being selected, and to the first number After factually applying operational order, the attribute tags of the first data are obtained.Preferably, when the attribute tags of the first data have multiple, The default property label of settable first data is exactly the default for obtaining the first data when then obtaining the attribute tags of the first data Attribute tags;Or, multiple attribute tags to the first data are ranked up;Or, pop-up attribute tags options, is selected for user It selects.
First judging unit 404 judges in preset range with the presence or absence of with for the attribute tags according to the first data One data have the second data of same alike result label;Preset range either physical storage medium a certain range, also refer to The context of document.For example, file where this document can be used as preset range when the first data are single files, it should Storage drive where file can also be used as preset range;In another example when the first data are the passage in document, in advance If range can be all content of pages of entire document either the page where this section of text.In selected first data Attribute tags after, check other data one by one within a preset range, when checking a certain data, extract the attribute mark of the data Label, and the label and the attribute tags of the first selected data are compared, judge whether identical.
First execution unit 405, for having the second data of same alike result label with the first data if it exists, then to the One data and the second data execute the operational order of the first data.By searching for compared with, if there is the category with the first data Property identical first data of label, then the first data and the second data are executed with the operational order to the first data.For example, first Data are music file, and the attribute tags of the music file are song artist, and the operational order to the first data is to play sound Happy, preset range is the file where the music file, then is pressed from both sides according to the attribute tags singer of the first data in this document Interior lookup is the music file of the singer with attribute tags, after the music file for finding identical singer, to these music text Part executes play operation.
Preferably, data operation device of the invention, the operation for executing the first data to the first data and the second data refer to Before order, comprising:
Display unit, for showing the second data;The purpose for showing the second data is that user is allowed to judge according to attribute tags Whether the second data searched are correct.The device for showing the second data includes: the second data for being highlighted and choosing;Or, by Two data are moved to the display interface where the first data, and user is facilitated to check;Or, generating the second data list, user can be straight It sees and judges whether the second data of selection are correct.
Preferably, the first data and the second data are executed with the operational order of the first data, comprising:
Second execution unit executes the to the first data and the second data for instructing according to the confirmations of the second data The operational order of one data.After finding the second data according to the attribute tags of the first data, for guarantee data correctness, The operation that immediately the second data are not executed directly with the first data, first has to check the second data, is guaranteeing the second data just In the case where really, the confirmation of capable of emitting second data of user is instructed, and the first data and the second data are executed with the behaviour of the first data It instructs.
As shown in figure 5, being the fifth embodiment of the present invention.
Fig. 5 is a kind of structural schematic diagram of data copy device of the present invention.The data copy device is used in multiple terminal, Terminal includes but is not limited to smart phone, tablet computer, smartwatch, computer etc., and the operating system of terminal includes but is not limited to Android operation system, IOS operating system, Windows Phone operating system, Windows operating system, Linux etc..It should The data object of data copy device operation includes but is not limited to the text in the file and various format files of various formats Image etc..The present embodiment discloses a kind of data copy device, comprising:
Setting unit 401 sets a property the operation of label to the first data and the second data for receiving.First data and The attribute tags of second data are used for the attribute of mark data, the data can be found by attribute tags, same data can To possess multiple attributes, i.e., same data can possess multiple attribute tags.For example, if data are the texts in document, The attribute tags of text include but is not limited to: font, font size, background color, format information.First data and the second data are set Attribute tags, both can be by manual setting, can be according to the attribute tags of data attribute automatically generated data.Preferably, The data operation device of the present embodiment, attribute tags include font format, font background color, keyword, in typesetting format It is one or more.
First receiving unit 402, for receiving the duplicate instructions to the first data;For example, user selects one in document Then this section of text has been carried out duplication operation by text of the section with background color, then be duplication to the operational order that this section of text is implemented Text instruction.
First acquisition unit 403, for obtaining the attribute tags of the first data;The first data are being selected, and to the first number After factually applying duplicate instructions, the attribute tags of the first data are obtained.Preferably, when the attribute tags of the first data have multiple, The default property label of settable first data is exactly the default for obtaining the first data when then obtaining the attribute tags of the first data Attribute tags;Or, multiple attribute tags to the first data are ranked up;Or, pop-up attribute tags options, is selected for user It selects.
Second judgment unit 504 judges in preset range with the presence or absence of with for the attribute tags according to the first data One data have the second data of same alike result label;Preset range either physical storage medium a certain range, also refer to The context of document, for example, preset range is either this section of text institute when the first data are the passage in document The page, can be all content of pages of entire document.After the attribute tags of selected first data, within a preset range Other data are checked one by one, when checking a certain data, extract the attribute tags of the data, and by the label and selected first The attribute tags of data compare, and judge whether identical.
Copied cells 505, for having the second data of same alike result label with the first data if it exists, then to the first number According to the duplicate instructions for executing the first data with the second data.By searching for compared with, if there is the attribute mark with the first data Identical first data are signed, then the first data and the second data are executed with the operational order to the first data.For example, the first data For the passage with shading, the attribute tags of this section of text are text shading, and presetting seeking scope is all interior of the document Hold, then search the text for having shading in entire document, after finding all texts with shading, executes answering for the first data System operation, replicates all texts with shading.
Preferably, the data operation device of the present embodiment executes the duplication of the first data to the first data and the second data Before instruction, comprising:
Display unit, for showing the second data;The purpose for showing the second data is that user is allowed to judge according to attribute tags Whether the second data searched are correct.The device for showing the second data includes: the second data for being highlighted and choosing;Or, by Two data are moved to the display interface where the first data, and user is facilitated to check;Or, generating the second data list, user can be straight It sees and judges whether the second data of selection are correct.
Preferably, the first data and the second data are executed with the duplicate instructions of the first data, comprising:
According to the confirmation instruction to the second data, the first data and the second data are executed with the duplicate instructions of the first data. After finding the second data according to the attribute tags of the first data, for the correctness for guaranteeing data, directly immediately to the Two data execute the duplication operation of the first data, first have to check the second data, in the case where guaranteeing the correct situation of the second data, use The confirmation of capable of emitting second data in family instructs, and the first data and the second data are executed with the duplicate instructions of the first data.
Judge in preset range with the presence or absence of second data with the first data with same alike result label, comprising:
Judge in the document where the first data with the presence or absence of second data with the first data with same alike result label; When the first data are the passage in document, preset range can be entire either the page where this section of text All content of pages of document.
As shown in fig. 6, being the sixth embodiment of the present invention.
Fig. 6 is a kind of structural schematic diagram of data search device of the present embodiment.The data search device is used for multiple terminal In, terminal includes but is not limited to smart phone, tablet computer, smartwatch, computer etc., and the operating system of terminal includes but unlimited In Android operation system, IOS operating system, Windows Phone operating system, Windows operating system, Linux etc.. The data object of data search device operation includes but is not limited to the text in the file and various format files of various formats Word image etc..The present embodiment discloses a kind of data search device, comprising:
Second receiving unit 601, for receiving the operational order to the first data;
Second acquisition unit 602, for obtaining the attribute tags of the first data;The first data are being selected, and to the first number After factually applying operational order, the attribute tags of the first data are obtained.Preferably, when the attribute tags of the first data have multiple, The default property label of settable first data is exactly the default for obtaining the first data when then obtaining the attribute tags of the first data Attribute tags;Or, multiple attribute tags to the first data are ranked up;Or, pop-up attribute tags options, is selected for user It selects.
Third judging unit 603 judges in preset range with the presence or absence of with for the attribute tags according to the first data One data have the second data of same alike result label;Preset range either physical storage medium a certain range, also refer to The context of document, for example, file where this document can be used as preset range when the first data are single files, it should Storage drive where file can also be used as preset range;In another example when the first data are the passage in document, in advance If range can be all content of pages of entire document either the page where this section of text.In selected first data Attribute tags after, check other data one by one within a preset range, when checking a certain data, extract the attribute mark of the data Label, and the label and the attribute tags of the first selected data are compared, judge whether identical.
Second execution unit 604, if for having there is same alike result label with the first data second in preset range Data then show the second data.The device for showing the second data includes: the second data for being highlighted and choosing;Or, by the second number According to the display interface being moved to where the first data, user is facilitated to check;Or, generating the second data list, user can intuitively sentence Whether the second data of disconnected selection are correct.
Above embodiments are only to illustrate the technical concepts and features of the present embodiment, and its object is to allow be familiar with technique Personage can understand the content of the present embodiment and implement accordingly, can not limit the protection scope of the present embodiment.It is all with this implementation The equivalent changes and modifications that example scope of the claims is done, should belong to the covering scope of the present embodiment claim.

Claims (8)

1. a kind of data manipulation method, which is characterized in that include the following steps:
Receive the operational order to the first data;
Obtain the attribute tags of first data;
According to the attribute tags of first data, judge that there is same genus with the presence or absence of with first data in preset range Second data of property label;
If so, first data and the second data are executed with the operational order of first data;
Before the operational order that first data and the second data are executed with first data, comprising:
Show second data;
First data and the second data are executed with the operational order of first data, comprising:
According to the confirmation instruction to second data, first data and the second data are executed with the behaviour of first data It instructs.
2. data manipulation method according to claim 1, which is characterized in that receive to the operational orders of the first data it Before, comprising:
It receives and sets a property the operation of label to first data and the second data.
3. data manipulation method according to claim 1, which is characterized in that
The operational order is duplicate instructions;
With the presence or absence of second data with first data with same alike result label in the judgement preset range, comprising:
Judge in the document where first data with the presence or absence of having the second of same alike result label with first data Data;
The operational order that first data and the second data are executed with first data, comprising:
The duplicate instructions are executed to first data and the second data.
4. data manipulation method according to claim 3, which is characterized in that the attribute tags include font format, word One of body background color, keyword, typesetting format are a variety of.
5. a kind of data search method, which is characterized in that include the following steps:
Receive the operational order to the first data;
Obtain the attribute tags of first data;
According to the attribute tags of first data, judge that there is same genus with the presence or absence of with first data in preset range Second data of property label;
If so, showing second data.
6. a kind of data operation device characterized by comprising
First receiving unit, for receiving the operational order to the first data;
First acquisition unit, for obtaining the attribute tags of first data;
First judging unit, for the attribute tags according to first data, judge in preset range with the presence or absence of with it is described First data have the second data of same alike result label;
First execution unit, for there is the there is same alike result label with first data second number within a preset range According to then first data and the second data are executed with the operational order of first data;
Display unit before the operational order for first data and the second data to be executed with first data, is shown Second data;
Second execution unit holds first data and the second data for being instructed according to the confirmation to second data The operational order of row first data.
7. data operation device according to claim 6, which is characterized in that the operational order is duplicate instructions,
First judgement includes unit second judgment unit, and the second judgment unit is for judging the first data place Document in the presence or absence of with first data have same alike result label the second data;
First execution unit includes: copied cells, and the copied cells are for holding first data and the second data The row duplicate instructions.
8. a kind of data search device characterized by comprising
Second receiving unit, for receiving the operational order to the first data;
Second acquisition unit, for obtaining the attribute tags of first data;
Third judging unit, for the attribute tags according to first data, judge in preset range with the presence or absence of with it is described First data have the second data of same alike result label;
Second execution unit, for there is the there is same alike result label with first data second number within a preset range According to then showing second data.
CN201610514554.2A 2016-06-30 2016-06-30 A kind of data manipulation method and device, data search method and device Active CN106156314B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610514554.2A CN106156314B (en) 2016-06-30 2016-06-30 A kind of data manipulation method and device, data search method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610514554.2A CN106156314B (en) 2016-06-30 2016-06-30 A kind of data manipulation method and device, data search method and device

Publications (2)

Publication Number Publication Date
CN106156314A CN106156314A (en) 2016-11-23
CN106156314B true CN106156314B (en) 2019-09-20

Family

ID=57351016

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610514554.2A Active CN106156314B (en) 2016-06-30 2016-06-30 A kind of data manipulation method and device, data search method and device

Country Status (1)

Country Link
CN (1) CN106156314B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106951331A (en) * 2017-02-28 2017-07-14 珠海市魅族科技有限公司 A kind of method and device of data transfer
CN114880323B (en) * 2022-04-26 2023-12-12 深圳市未来鼠信息技术有限公司 Data management method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102033870A (en) * 2009-09-24 2011-04-27 中国移动通信集团公司 Data searching method and device
CN102411475A (en) * 2011-10-08 2012-04-11 宇龙计算机通信科技(深圳)有限公司 Method for carrying out operation on data and mobile terminal
CN105631350A (en) * 2015-03-05 2016-06-01 西安酷派软件科技有限公司 Data operation method, data operation apparatus and terminal
CN105678503A (en) * 2015-12-28 2016-06-15 国网北京市电力公司 Data processing method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102033870A (en) * 2009-09-24 2011-04-27 中国移动通信集团公司 Data searching method and device
CN102411475A (en) * 2011-10-08 2012-04-11 宇龙计算机通信科技(深圳)有限公司 Method for carrying out operation on data and mobile terminal
CN105631350A (en) * 2015-03-05 2016-06-01 西安酷派软件科技有限公司 Data operation method, data operation apparatus and terminal
CN105678503A (en) * 2015-12-28 2016-06-15 国网北京市电力公司 Data processing method and device

Also Published As

Publication number Publication date
CN106156314A (en) 2016-11-23

Similar Documents

Publication Publication Date Title
CN109032999B (en) Take down notes display methods, electronic equipment and computer storage medium
CN108369578B (en) Automatic template generation method and system based on previous document and computer readable storage device
Edhlund Nvivo 9 essentials
CN103995802A (en) Method and equipment for managing electronic book notes
US9594736B2 (en) Display and selection of bidirectional text
US20220164526A1 (en) Method And Apparatus For Structured Documents
CN105739981A (en) Code completion implementation method and device, and computing device
CN103294650B (en) A kind of method and apparatus showing electronic document
CN103136181B (en) Electronic reading device and text selecting and storing method thereof
CN104808903B (en) Text selection method and device
CN102855244B (en) Method and device for file catalogue processing
CN115238214A (en) Presentation method, presentation device, computer equipment, storage medium and program product
CN106326194A (en) Directory generation method and apparatus applied to file format conversion scene
KR101394874B1 (en) Device and method implementing for particular function based on writing
CN105654022A (en) Method and device for extracting structured document information
CN101561725B (en) Method and system of fast handwriting input
CN109117032A (en) Reading processing method and device based on epub e-book
CN105653571A (en) Bookmark storage and bookmark operation instruction responding method, and browser
CN106156314B (en) A kind of data manipulation method and device, data search method and device
US10331800B2 (en) Search results modulator
CN102968285A (en) System for triggering printing operation through movable storage device
CN105279245A (en) Method for collecting contents on webpage and electronic device
WO2014163982A2 (en) Table of contents detection in a fixed format document
CN106021196A (en) Formula conversion method and system
CN108897870A (en) Generate method, medium, device and the calculating equipment of digest

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