CN106951478B - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
CN106951478B
CN106951478B CN201710134541.7A CN201710134541A CN106951478B CN 106951478 B CN106951478 B CN 106951478B CN 201710134541 A CN201710134541 A CN 201710134541A CN 106951478 B CN106951478 B CN 106951478B
Authority
CN
China
Prior art keywords
collection data
target collection
data
target
display
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
CN201710134541.7A
Other languages
Chinese (zh)
Other versions
CN106951478A (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.)
Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Original Assignee
Yulong Computer Telecommunication Scientific Shenzhen 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 Yulong Computer Telecommunication Scientific Shenzhen Co Ltd filed Critical Yulong Computer Telecommunication Scientific Shenzhen Co Ltd
Priority to CN201710134541.7A priority Critical patent/CN106951478B/en
Publication of CN106951478A publication Critical patent/CN106951478A/en
Application granted granted Critical
Publication of CN106951478B publication Critical patent/CN106951478B/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/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9562Bookmark management

Abstract

The embodiment of the invention discloses a data processing method and a data processing device, wherein the method comprises the following steps: the method comprises the steps that when a terminal receives a display instruction of target collection data, the display type of the display instruction is determined; when the display type is a first type, acquiring a label of the target collection data, wherein the display instruction of the first type is used for controlling and displaying original text data of the target collection data; determining source information of the target collection data according to the label of the target collection data; and accessing a target page corresponding to the target collection data according to the source information of the target collection data so as to display the original text data of the target collection data. The embodiment of the invention can better manage the data collected by the user and meet the automatic and intelligent requirements of the user on the management of the collected data.

Description

Data processing method and device
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a data processing method and apparatus.
Background
With the development of mobile communication technology, terminals such as smart phones and tablet computers become necessary communication tools in people's lives, and the terminals can be used for making calls and sending information, and can also be used for realizing various entertainment functions, such as: browsing web pages, chatting or gaming, etc.
Often, a user views an article by browsing various web pages or social software, and when viewing a sentence or paragraph that the user likes (e.g., a sentence or paragraph of a type such as science, employment, emotion, or life wisdom), the user may collect the sentence or paragraph for the next viewing.
In practice, it has been found that, since the collected data is not managed, when a user wants to view associated information of the collected data (for example, textual data of the collected data), it is difficult to find the data that the user wants to view.
Disclosure of Invention
The embodiment of the invention provides a data processing method and device, which can better manage data collected by a user.
In a first aspect, an embodiment of the present invention provides a data processing method, where the method includes:
when a display instruction of target collection data is received, determining the display type of the display instruction;
when the display type is a first type, acquiring a label of the target collection data, wherein the display instruction of the first type is used for controlling and displaying original text data of the target collection data;
determining source information of the target collection data according to the label of the target collection data;
and accessing a target page corresponding to the target collection data according to the source information of the target collection data so as to display the original text data of the target collection data.
In another aspect, an embodiment of the present invention provides a data processing apparatus, where the apparatus includes:
the determining module is used for determining the display type of the display instruction when the display instruction of the target collection data is received;
the acquisition module is used for acquiring a label of the target collection data when the display type is a first type, and the display instruction of the first type is used for controlling and displaying original text data of the target collection data;
the determining module is further configured to determine source information of the target collection data according to the tag of the target collection data;
and the display module is used for accessing a target page corresponding to the target collection data according to the source information of the target collection data so as to display the original text data of the target collection data.
It can be seen that, in the embodiment of the present invention, the source information of the collected data can be determined through the tag of the collected data, and the textual data of the collected data can be accessed according to the source information of the collected data, so that the data collected by the user can be better managed, and the requirements of the user on automation and intelligence of the management of the collected data can be met.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a data processing method according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating a data processing method according to another embodiment of the present invention;
FIG. 3 is a block diagram of a data processing apparatus according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a data processing apparatus according to another embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal according to still another embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic flowchart of a data processing method according to an embodiment of the present invention, and as shown in fig. 1, the method may be applied to a terminal such as a smart phone, a tablet computer, and a smart wearable device. Specifically, the method of the embodiment of the present invention includes the following steps:
s101, when the terminal receives a display instruction of the target collection data, determining the display type of the display instruction.
In the embodiment of the invention, a user can send a display instruction of the target collection data to the terminal through operations of clicking, sliding, long pressing and the like on the target collection data, and when the terminal receives the display instruction of the target collection data, the display type of the display instruction can be determined according to the received operation of the user on the target collection data. The target collection data may refer to a sentence, a paragraph or a picture collected by the terminal from a page such as a forum, a social application, etc. The display type may refer to one or more of original text data for controlling display of the target collection data, or a tag of the target collection data, and the like, and the operation of the target collection data by the user has a mapping relationship with the display type, where the mapping relationship may be manually set by the user according to personal preferences, or may be set by a terminal manufacturer when the terminal leaves a factory.
For example, the user performs a long-press operation on the target collection data, and when the terminal detects the operation instruction of the user, the display type can be determined to be the original text data for controlling the display of the target data through the operation instruction.
S102, when the display type is a first type, the terminal acquires a label of the target collection data, and the display instruction of the first type is used for controlling display of original text data of the target collection data.
In the embodiment of the present invention, when the display type is the first type, because the display instruction of the first type is used to control display of the original text data of the target collection data, the terminal may obtain the tag of the target collection data, so that the original text data of the target collection data may be obtained through the tag of the target collection data, and further, the original text data of the target collection data is displayed. The tag of the target collection data may be set in advance according to attribute information of the target collection data (the attribute information may include time information of collecting the target collection data, source information of the target collection data, or a keyword associated with the content of the target collection data, etc.), or according to a preference degree of a user for the target collection data, so that the time information of collecting the target collection data, the source information of the target collection data, the keyword associated with the content of the target collection data, or the preference degree of the user for the target collection data, etc. may be known from the tag, and the source information of the target collection data may include an application where the target collection data is located or address information corresponding to a target page where the target collection data is located.
S103, the terminal determines the source information of the target collection data according to the label of the target collection data.
In the embodiment of the present invention, the terminal may determine the source information of the target collection data according to the tag of the target collection data, that is, determine the address information corresponding to the target page where the target collection data is located according to the tag of the target collection data, so that the target page corresponding to the target collection data can be accessed according to the address information corresponding to the target page.
S104, the terminal accesses a target page corresponding to the target collection data according to the source information of the target collection data so as to display the original text data of the target collection data.
In the embodiment of the present invention, the terminal may access the target page corresponding to the target collection data according to the source information of the target collection data (address information corresponding to the target page where the target collection data is located), so as to display the original text data of the target collection data.
In the embodiment of the invention, the terminal can determine the display type of the display instruction when receiving the display instruction of the target collection data; when the display type is a first type, acquiring a label of the target collection data, wherein the display instruction of the first type is used for controlling and displaying original text data of the target collection data; determining source information of the target collection data according to the label of the target collection data; and accessing a target page corresponding to the target collection data according to the source information of the target collection data to display the original text data of the target collection data, so that the data collected by the user can be better managed, and the requirements of the user on automation and intellectualization of the collection data management are met.
Referring to fig. 2, fig. 2 is a schematic flowchart of another data processing method according to an embodiment of the present invention, and as shown in fig. 2, the method may be applied to a terminal such as a smart phone, a tablet computer, and a smart wearable device. Specifically, the method according to the embodiment of the present invention may include the following steps:
s201, when receiving an instruction for collecting target collection data from a target page, the terminal judges whether the target collection data is collected according to the content of the target collection data.
In the embodiment of the invention, if the target collection data is repeatedly collected for a plurality of times, the storage space of the terminal may be insufficient, in order to avoid that the target collection data is repeatedly collected, when the terminal receives an instruction for collecting the target collection data from a target page, whether the target collection data is collected or not can be judged according to the content of the target collection data, that is, the content of the target collection data and the collected data can be compared, if the similarity between the target collection data and a certain collected data is greater than a preset threshold value, the target collection data is determined to be collected, and if the similarity between the target collection data and all the collected data is less than or equal to the preset threshold value, the target collection data is determined not to be collected.
S202, when the target collection data is not collected, the terminal collects the target collection data.
In the embodiment of the invention, when the target collection data is not collected, the terminal can collect the target collection data from the target page so as to conveniently and quickly view the target collection data in the future; when the target collection data is collected, the terminal does not collect the target collection data, so that repeated collection of the target collection data can be avoided, and further, the storage space of the terminal can be saved. In particular, when the target collection data is collected, the terminal may further send a prompt message (the prompt message may include time information of the target collection data being collected, etc.) to prompt that the target collection data is collected.
As an alternative embodiment, steps S201 and S202 may be replaced by the following steps: and collecting the target collection data when receiving an instruction of collecting the target collection data from the target page.
In the embodiment of the invention, when receiving an instruction for collecting the target collection data from a target page, a terminal can judge whether the target collection data is collected or not, and when the target collection data is not collected, the terminal collects the target collection data from the target page; and the target collection data can be directly collected from the target page without judging whether the target collection data is collected or not.
S203, the terminal acquires the attribute information of the target collection data.
The attribute information includes source information of the target collection data, the source information of the target collection data is website information of a target page corresponding to the target collection data, and the attribute information further includes one or more of time information for collecting the target collection data or keywords associated with the target collection data.
In the embodiment of the present invention, the terminal may obtain attribute information of the target collection data, where the attribute information may include source information of the target collection data, and the source information of the target collection data may be website information of a target page corresponding to the target collection data. In addition, the attribute information may also include time information for collecting the target collection data or keywords associated with the content of the target collection data, and so on.
And S204, setting a label for the target collection data by the terminal according to the attribute information.
In the embodiment of the present invention, the terminal may set a tag for the target collection data according to the attribute information, specifically, the terminal may directly use the attribute information of the target collection data as the tag for the target collection data, and may also replace the attribute information with a symbol or a color, etc. as the tag for the target collection data, so that the tag may be a text tag, a digital tag, a symbol tag, a color tag, etc. In particular, the terminal may also set a tag for the target collection data according to other aspects, for example, the tag is set according to the preference degree of the user for the target collection data.
For example, the source of the collection data a is from the application F, and a triangular label may be set for the collection data a to indicate that the source of the collection data a is from the application F.
As an optional embodiment, the tag of the target collection data includes a color identifier, the level of the target collection data is determined according to a preset level determination rule, the preset level determination rule includes a rule set according to one or more of an application name of a source of the target collection data, a number of times of triggering display of the target collection data, or a category of the target collection data, and the color identifier is set for the target collection data according to the level of the target collection data.
In the embodiment of the invention, the terminal can set the grade for the target collection data and can set the color identifier (the color identifier is one of the target collection data labels) for the collection data with different grades, so that the collection data with a certain grade can be quickly found according to the color identifier. Specifically, the terminal may determine the level of the target collection data according to a preset level determination rule, where the preset level determination rule includes a rule set according to one or more of an application name of a source of the target collection data, a number of times of triggering display of the target collection data, or a category of the target collection data (the category of the target collection data may include an emotion category, a sports category, a science and technology category, and the like), and set a color identifier for the target collection data according to the level of the target collection data (for example, the collection data with the level one, two, and three may respectively set the color identifier as red, yellow, and green). In particular, the preset level determination rule may also be manually set by the user according to personal preference.
For example, in general, the more the user likes the target collection data, the more times the user sends the display instruction about the target collection data to the terminal, that is, the more times the target collection data is triggered to be displayed. The terminal can set a grade for the target collection data according to the number of times of triggering the display of the target collection data, so that a color identifier can be set for the target collection data according to the grade.
S205, when the terminal receives a display instruction of the target collection data, determining the display type of the display instruction, and when the display type is a first type, the terminal can execute the steps S206-S208; when the display type is the second type, the terminal may perform step S209.
S206, when the display type is the first type, the terminal acquires the label of the target collection data, and the display instruction of the first type is used for controlling the display of the original text data of the target collection data.
And S207, the terminal determines the source information of the target collection data according to the label of the target collection data.
S208, the terminal accesses a target page corresponding to the target collection data according to the source information of the target collection data so as to display the original text data of the target collection data.
S209, when the display type is a second type, the terminal displays the target collection data and/or the label of the target collection data, and the display instruction of the second type is used for controlling the display of the target collection data and/or the label of the target collection data.
In the embodiment of the present invention, when the display type is the second type, the terminal may display the target collection data and/or the tag of the target collection data because the display instruction of the second type is used to control the display of the target collection data and/or the tag of the target collection data.
It should be noted that there may be a lot of collected data in the terminal, and sometimes the user may wish to unconsciously view the collected data so that the collected data can be rewarmed and the impression of the collected data can be deepened. Therefore, the terminal can set a display interface for the collected data, and when the terminal receives that the display interface meets the triggering condition, the collected data can be displayed according to the preset display rule. Specifically, the terminal may set a display interface for the collected data, where the display interface may be an interface when the terminal unlocks the display screen, starts up the terminal, or receives notification information, and when the display interface meets a trigger condition (e.g., receives the notification information, receives a start-up instruction, or an instruction to unlock the display screen, etc.), the collected data may be displayed according to a preset display rule, where the preset display rule may be set according to a tag of the collected data, and the preset display rule may be a random display manner.
In addition, the terminal may preset a display rule according to the tag of the already-stored data, specifically, the terminal may set a display rule according to a chronological order according to the time tag of the already-stored data, and the terminal may set a display rule according to the tag corresponding to the source information of the already-stored data (for example, first displaying data from a social application, and then displaying data from a web page).
For example, the terminal may set a display interface of the collected data B as an interface of the display screen of the unlocking terminal, and the terminal may set a display rule of the collected data B according to a tag corresponding to the collection time of the collected data B, where if the collection time of the collected data B is 2016, 2, and 21 days, the terminal may set a trigger condition that the terminal receives the display screen of the unlocking terminal, and display the collected data B in a rolling manner on 2, 21 days, 2017. Particularly, if a plurality of collected data are set on the same day and displayed on the same display interface, the collected data can be displayed in a rolling manner according to the time sequence of the collected data, and the sequence of the collected data can also be set according to other aspects.
It should be noted that, for specific explanation of steps in the embodiments of the present invention, reference may be made to the explanation in the above embodiments, and details of the embodiments of the present invention are not described again.
In the embodiment of the invention, the terminal can collect the target collection data when determining that the target collection data is not collected, set the label for the target collection data according to the attribute information of the collection data, and display the data corresponding to the type of the instruction according to the type of the display instruction when receiving the display instruction for displaying the target collection data, so that the data collected by the user can be better managed, and the automatic and intelligent requirements of the user on the management of the collection data are met.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present invention, where the apparatus may be disposed in a terminal, for example: smart phones, tablet computers, smart wearable devices, and the like. Specifically, as shown in fig. 3, the apparatus according to the embodiment of the present invention may include:
the determining module 301 is configured to determine a display type of the display instruction when the display instruction for the target collection data is received.
An obtaining module 302, configured to obtain a tag of the target collection data when the display type is a first type, where a display instruction of the first type is used to control display of original text data of the target collection data;
the determining module 301 is further configured to determine source information of the target collection data according to the tag of the target collection data.
The display module 303 is configured to access a target page corresponding to the target collection data according to the source information of the target collection data, so as to display original text data of the target collection data.
In the embodiment of the invention, the terminal can determine the display type of the display instruction when receiving the display instruction of the target collection data; when the display type is a first type, acquiring a label of the target collection data, wherein the display instruction of the first type is used for controlling and displaying original text data of the target collection data; determining source information of the target collection data according to the label of the target collection data; and accessing a target page corresponding to the target collection data according to the source information of the target collection data to display the original text data of the target collection data, so that the data collected by the user can be better managed, and the requirements of the user on automation and intellectualization of the collection data management are met.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a data processing apparatus according to another embodiment of the present invention, which may be disposed in a terminal, for example: smart phones, tablet computers, smart wearable devices, and the like. Specifically, as shown in fig. 4, the apparatus according to the embodiment of the present invention may include:
the collection module 404 is configured to collect the target collection data when receiving an instruction to collect the target collection data from a target page.
The obtaining module 402 is further configured to obtain attribute information of the target collection data, where the attribute information includes source information of the target collection data.
A setting module 405, configured to set a tag for the target collection data according to the attribute information.
The attribute information comprises source information of the target collection data, the source information of the target collection data is website information of a target page corresponding to the target collection data, and the attribute information further comprises one or more of time information for collecting the target collection data or keywords related to the target collection data.
The determining module 401 is further configured to determine, when the tag of the target collection data includes a color identifier, a level of the target collection data according to a preset level determination rule, where the preset level determination rule includes a rule set according to one or more of an application name of a source of the target collection data, a number of times of triggering display of the target collection data, and a category of the target collection data.
The setting module 405 is further configured to set a color identifier for the target collection data according to the grade of the target collection data.
The collection module 404 is specifically configured to, when receiving an instruction to collect the target collection data from the target page, determine whether the target collection data is already collected according to the content of the target collection data; and when the target collection data is not collected, collecting the target collection data.
The display module 403 is further configured to display the target collection data and/or the tags of the target collection data when the display type is a second type, where the display instruction of the second type is used to control display of the target collection data and/or the tags of the target collection data.
In the embodiment of the invention, the terminal can collect the target collection data when determining that the target collection data is not collected, set the label for the target collection data according to the attribute information of the collection data, and display the data corresponding to the type of the instruction according to the type of the display instruction when receiving the display instruction for displaying the target collection data, so that the data collected by the user can be better managed, and the automatic and intelligent requirements of the user on the management of the collection data are met.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a terminal according to still another embodiment of the present invention, where the terminal described in this embodiment may include: one or more processors 503, one or more input interfaces 501, one or more output interfaces 502, and memory 504. The processor 503, the input interface 501, the output interface 502 and the memory are connected by a bus 505.
The input interface 501 may include a touch pad, a fingerprint sensor (for collecting fingerprint information of a user and direction information of the fingerprint), a microphone, etc., and the output interface 502 may include a display (LCD, etc.), a speaker, etc.
The Processor 503 may be a Central Processing Unit (CPU), and may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 504 may be a high-speed RAM memory or a non-volatile memory (e.g., a disk memory). The memory 504 is used for storing a set of program codes, and the input interface 501, the output interface 502 and the processor 503 can call the program codes stored in the memory 504.
The calling of the code in the memory 504 by the processor 503 may perform the following operations:
when a display instruction of target collection data is received, determining the display type of the display instruction;
when the display type is a first type, acquiring a label of the target collection data, wherein the display instruction of the first type is used for controlling and displaying original text data of the target collection data;
determining source information of the target collection data according to the label of the target collection data;
and accessing a target page corresponding to the target collection data according to the source information of the target collection data so as to display the original text data of the target collection data.
Optionally, the processor 503 calling the code in the memory 504 may perform the following operations:
when receiving an instruction for collecting the target collection data from a target page, collecting the target collection data;
acquiring attribute information of the target collection data, and setting a label for the target collection data according to the attribute information;
the attribute information comprises source information of the target collection data, the source information of the target collection data is website information of a target page corresponding to the target collection data, and the attribute information further comprises one or more of time information for collecting the target collection data or keywords related to the target collection data.
Optionally, the processor 503 calling the code in the memory 504 may perform the following operations:
determining the grade of the target collection data according to a preset grade determination rule, wherein the preset grade determination rule comprises a rule set according to one or more of an application name of a source of the target collection data, the number of times of triggering and displaying the target collection data or the category of the target collection data;
and setting a color identifier for the target collection data according to the grade of the target collection data.
Optionally, the processor 503 calling the code in the memory 504 may perform the following operations:
when an instruction for collecting the target collection data from the target page is received, judging whether the target collection data is collected or not according to the content of the target collection data;
and when the target collection data is not collected, collecting the target collection data.
Optionally, the processor 503 calling the code in the memory 504 may perform the following operations:
and when the display type is a second type, displaying the target collection data and/or the tags of the target collection data, wherein the display instruction of the second type is used for controlling the display of the target collection data and/or the tags of the target collection data.
In the embodiment of the invention, the terminal can determine the display type of the display instruction when receiving the display instruction of the target collection data; when the display type is a first type, acquiring a label of the target collection data, wherein the display instruction of the first type is used for controlling and displaying original text data of the target collection data; determining source information of the target collection data according to the label of the target collection data; and accessing a target page corresponding to the target collection data according to the source information of the target collection data to display the original text data of the target collection data, so that the data collected by the user can be better managed, and the requirements of the user on automation and intellectualization of the collection data management are met.
In a specific implementation, the processor 503, the input interface 501, and the output interface 502 described in this embodiment of the present invention may execute the implementation manners described in the first embodiment and the second embodiment of the data processing method provided in this embodiment of the present invention, and may also execute the implementation manner of the terminal described in this embodiment of the present invention, which is not described herein again.
Each functional module in the embodiments of the present invention may be integrated into one processing module, or each module may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
While the invention has been described with reference to a preferred embodiment, it will be understood by those skilled in the art that various changes in form and detail may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (8)

1. A data processing method, comprising:
displaying a plurality of pieces of collected data according to a preset display rule; the preset display rule is set according to the tags of the plurality of pieces of collected data; the plurality of collected data includes target collected data;
when a display instruction of the target collection data is received, determining the display type of the display instruction; the target collection data refers to sentences, paragraphs or pictures collected by the terminal from a target page;
when the display type is a first type, acquiring a label of the target collection data, wherein the display instruction of the first type is used for controlling and displaying original text data of the target collection data;
determining source information of the target collection data according to the label of the target collection data;
accessing a target page corresponding to the target collection data according to the source information of the target collection data to display original text data of the target collection data;
if the label of the target collection data comprises a color identifier, determining the grade of the target collection data according to a preset grade determination rule; setting a color identifier for the target collection data according to the grade of the target collection data; the preset grade determination rule comprises a rule set according to one or more of an application name of a source of the target collection data, the number of times of triggering and displaying the target collection data or the category of the target collection data.
2. The method of claim 1, wherein before the obtaining the tag of the target collection data when the display type is the first type, the method further comprises:
when receiving an instruction for collecting the target collection data from a target page, collecting the target collection data;
acquiring attribute information of the target collection data, and setting a label for the target collection data according to the attribute information;
the attribute information comprises source information of the target collection data, the source information of the target collection data is website information of a target page corresponding to the target collection data, and the attribute information further comprises one or more of time information for collecting the target collection data or keywords related to the target collection data.
3. The method of claim 2, wherein collecting the target collection data upon receiving an instruction to collect the target collection data from a target page comprises:
when an instruction for collecting the target collection data from the target page is received, judging whether the target collection data is collected or not according to the content of the target collection data;
and when the target collection data is not collected, collecting the target collection data.
4. The method according to any one of claims 1-3, further comprising:
and when the display type is a second type, displaying the target collection data and/or the tags of the target collection data, wherein the display instruction of the second type is used for controlling the display of the target collection data and/or the tags of the target collection data.
5. A data processing apparatus, comprising:
the display module is used for displaying a plurality of pieces of collected data according to preset display rules; the preset display rule is set according to the tags of the plurality of pieces of collected data; the plurality of collected data includes target collected data;
the determining module is used for determining the display type of the display instruction when the display instruction of the target collection data is received; the target collection data refers to sentences, paragraphs or pictures collected by the terminal from a target page;
the acquisition module is used for acquiring a label of the target collection data when the display type is a first type, and the display instruction of the first type is used for controlling and displaying original text data of the target collection data;
the determining module is further configured to determine source information of the target collection data according to the tag of the target collection data;
the display module is further used for accessing a target page corresponding to the target collection data according to the source information of the target collection data so as to display original text data of the target collection data;
the determining module is further configured to determine a level of the target collection data according to a preset level determining rule when the tag of the target collection data includes a color identifier; the preset grade determination rule comprises a rule set according to one or more of an application name of a source of the target collection data, the number of times of triggering and displaying the target collection data or the category of the target collection data;
the setting module is further used for setting color identification for the target collection data according to the grade of the target collection data.
6. The apparatus of claim 5,
the device further comprises: the collection module is used for collecting the target collection data when receiving an instruction for collecting the target collection data from a target page;
the acquisition module is further used for acquiring attribute information of the target collection data;
the device further comprises: the setting module is used for setting a label for the target collection data according to the attribute information;
the attribute information comprises source information of the target collection data, the source information of the target collection data is website information of a target page corresponding to the target collection data, and the attribute information further comprises one or more of time information for collecting the target collection data or keywords related to the target collection data.
7. The apparatus of claim 6,
the collection module is specifically used for judging whether the target collection data is collected or not according to the content of the target collection data when receiving an instruction for collecting the target collection data from the target page; and when the target collection data is not collected, collecting the target collection data.
8. The apparatus according to any one of claims 5 to 7,
the display module is further configured to display the target collection data and/or a tag of the target collection data when the display type is a second type, and the display instruction of the second type is a tag for controlling display of the target collection data and/or the target collection data.
CN201710134541.7A 2017-03-08 2017-03-08 Data processing method and device Active CN106951478B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710134541.7A CN106951478B (en) 2017-03-08 2017-03-08 Data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710134541.7A CN106951478B (en) 2017-03-08 2017-03-08 Data processing method and device

Publications (2)

Publication Number Publication Date
CN106951478A CN106951478A (en) 2017-07-14
CN106951478B true CN106951478B (en) 2021-01-15

Family

ID=59466971

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710134541.7A Active CN106951478B (en) 2017-03-08 2017-03-08 Data processing method and device

Country Status (1)

Country Link
CN (1) CN106951478B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101667182A (en) * 2008-09-05 2010-03-10 华为技术有限公司 Method, system and device for performing secondary operation on web pages
CN102508897A (en) * 2011-11-03 2012-06-20 匡晓明 General information collection method and system
CN104050166A (en) * 2013-03-11 2014-09-17 联想(北京)有限公司 Data processing method and data processing device
CN106294392A (en) * 2015-05-20 2017-01-04 阿里巴巴集团控股有限公司 A kind of Webpage display process and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7949642B2 (en) * 2004-10-12 2011-05-24 Wendy W Yang System and method for managing and presenting entity information
CN101963966A (en) * 2009-07-24 2011-02-02 李占胜 Method for sorting search results by adding labels into search results
CN104112019B (en) * 2014-07-23 2017-12-01 广州三星通信技术研究有限公司 Send the method, apparatus and terminal of information

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101667182A (en) * 2008-09-05 2010-03-10 华为技术有限公司 Method, system and device for performing secondary operation on web pages
CN102508897A (en) * 2011-11-03 2012-06-20 匡晓明 General information collection method and system
CN104050166A (en) * 2013-03-11 2014-09-17 联想(北京)有限公司 Data processing method and data processing device
CN106294392A (en) * 2015-05-20 2017-01-04 阿里巴巴集团控股有限公司 A kind of Webpage display process and device

Also Published As

Publication number Publication date
CN106951478A (en) 2017-07-14

Similar Documents

Publication Publication Date Title
CN108874289B (en) Application history record viewing method and device and electronic equipment
CN107181858B (en) Method and terminal for displaying notification message
CN108604152B (en) Unread message prompting method and terminal
US20150269164A1 (en) Electronic device and contact display method therefor
CN106777226B (en) Information analysis method and electronic equipment
CN106991179B (en) Data deleting method and device and mobile terminal
US9843670B2 (en) Method and apparatus for setting color ring back tone and determining color ring back tone music
CN107450808B (en) Mouse pointer positioning method of browser and computing device
CN110740088B (en) Method, device, terminal and medium for recommending and adding social resources
CN113939814A (en) Content push method and related product
CN106227483B (en) Display control method and mobile terminal
CN104951445B (en) Webpage processing method and device
EP2930632A1 (en) Method for sorting media content and electronic device implementing same
CN111857466B (en) Message display method and device
CN108234758B (en) Application display method and device, storage medium and electronic equipment
CN105094608A (en) Task display method and device
CN109492249B (en) Rapid generation method and device of design drawing and terminal equipment
WO2023082817A1 (en) Application program recommendation method
CN108268507B (en) Browser-based processing method and device and electronic equipment
CN106951478B (en) Data processing method and device
CN107862728B (en) Picture label adding method and device and computer readable storage medium
CN112912844A (en) File collection method, file collection device and terminal equipment
CN110688035B (en) Photo album processing method, photo album processing device and mobile terminal
CN112740162B (en) Desktop management method and device, mobile terminal and storage medium
CN110874723B (en) Electronic red envelope detection method, electronic red envelope detection device and mobile terminal

Legal Events

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