CN112395109B - Clipboard content processing method and device - Google Patents

Clipboard content processing method and device Download PDF

Info

Publication number
CN112395109B
CN112395109B CN202011304026.7A CN202011304026A CN112395109B CN 112395109 B CN112395109 B CN 112395109B CN 202011304026 A CN202011304026 A CN 202011304026A CN 112395109 B CN112395109 B CN 112395109B
Authority
CN
China
Prior art keywords
information
clipboard
user
clip
pasting
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
CN202011304026.7A
Other languages
Chinese (zh)
Other versions
CN112395109A (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.)
Samsung Electronics China R&D Center
Samsung Electronics Co Ltd
Original Assignee
Samsung Electronics China R&D Center
Samsung Electronics 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 Samsung Electronics China R&D Center, Samsung Electronics Co Ltd filed Critical Samsung Electronics China R&D Center
Priority to CN202011304026.7A priority Critical patent/CN112395109B/en
Publication of CN112395109A publication Critical patent/CN112395109A/en
Application granted granted Critical
Publication of CN112395109B publication Critical patent/CN112395109B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/24Classification techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/237Lexical tools
    • G06F40/242Dictionaries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/20Natural language analysis
    • G06F40/279Recognition of textual entities
    • G06F40/289Phrasal analysis, e.g. finite state techniques or chunking
    • G06F40/295Named entity recognition
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N20/00Machine learning

Abstract

The embodiment of the disclosure discloses a clipboard content processing method and device. One embodiment of the method comprises: obtaining each piece of clip information in a clipboard and operation information, context information and user information corresponding to each piece of clip information; predicting all the cut and pasted information based on the operation information, the context information and the user information to obtain a predicted pasting list; and displaying the predicted pasting list in a recommended pasting list area preset on the clipboard interface. The implementation method improves the clipboard hit rate and improves the operation experience and satisfaction of the user.

Description

Clipboard content processing method and clipboard content processing device
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to a clipboard content processing method and device.
Background
The display sequence of the paste contents of the clipboard of the terminal is displayed completely according to the copy sequence at present, and various types of data are displayed in a mixed manner and are not easy to search; and the clipboard of the terminal only keeps a certain number of data records, and when the clipboard historical records reach the upper limit of the number, the data records are deleted in sequence according to the time sequence, so that the records which are used for many times and are kept in a certain time are often cleared because the older records reach the upper limit of the number.
Disclosure of Invention
The embodiment of the disclosure provides a clipboard content processing method and device.
In a first aspect, an embodiment of the present disclosure provides a clipboard content processing method, including: acquiring each piece of clip information in a clipboard and operation information, context information and user information corresponding to each piece of clip information; predicting all the cut and pasted information based on the operation information, the context information and the user information to obtain a predicted pasting list; and displaying the predicted pasting list in a recommended pasting list area preset on the clipboard interface.
In some embodiments, the above method further comprises: and scoring all the cut and pasted information based on the operation information, the context information and the user information, and deleting the expired cut and pasted information in all the cut and pasted information according to a scoring result.
In some embodiments, the above method further comprises: identifying the category to which each piece of clip information belongs; classifying all the cut and pasted information based on the category; and displaying all the classified clip information in a preset sequencing display area on a clipboard interface according to the category.
In some embodiments, the above method further comprises: and displaying all latest copy information on the latest paste bit preset on the clipboard interface.
In some embodiments, the categories are multiple, and the displaying all the categorized clip information in the sorting display area preset in the clipboard interface according to the categories includes: displaying all categories on the clipboard interface in a selectable manner to enable a user to select one of all categories; receiving a selection instruction of a user for the category; and displaying all the classified clip information in a preset sequencing display area of the clip board interface according to the category indicated by the selection instruction.
In some embodiments, the categories include: the type of the entity in the clip information, or the heat, time, and source of the clip information.
In a second aspect, an embodiment of the present disclosure provides a clipboard content processing apparatus, including: the system comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is configured to acquire each piece of clip information in a clipboard and operation information, context information and user information corresponding to each piece of clip information; the prediction unit is configured to predict all the cut and pasted information based on the operation information, the context information and the user information to obtain a prediction pasting list; and the recommending unit is configured to display the predicted pasting list in a recommended pasting list area preset in the clipboard interface.
In some embodiments, the above apparatus further comprises: a scoring unit configured to score all the cut and pasted information based on the operation information, the context information, and the user information; and the deleting unit is configured to delete expired scrap information in all the scrap information according to the scoring result.
In some embodiments, the above apparatus further comprises: an identifying unit configured to identify a category to which each piece of clip information belongs; a classification unit configured to classify all the clip information based on the category; and the display unit is configured to display all the classified clip information according to categories in a preset sequencing display area of the clip board interface.
In some embodiments, the above apparatus further comprises: and the latest pasting content unit is configured to display latest copied information in all the clipboard information at a latest pasting position preset in the clipboard interface.
In some embodiments, the categories may be varied, and the display unit may include: a selection module configured to selectably display all categories at a clipboard interface to enable a user to select one of all categories; the receiving module is configured to receive a selection instruction of a category by a user; and the display module is configured to display all the classified clip information in a preset sequencing display area of the clip board interface according to the category indicated by the selection instruction.
In some embodiments, the categories include: the type of the entity in the clip information, or the heat, time, and source of the clip information.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including: one or more processors; a storage device having one or more programs stored thereon; when the one or more programs are executed by the one or more processors, the one or more processors are caused to implement the method as described in any implementation of the first aspect.
In a fourth aspect, embodiments of the present disclosure provide a computer-readable medium on which a computer program is stored, which when executed by a processor implements the method as described in any of the implementations of the first aspect.
The method and the device for processing the content of the clipboard provided by the embodiment of the disclosure firstly acquire each piece of clipboard information in the clipboard and operation information, context information and user information corresponding to each piece of clipboard information; then, predicting all the cut and pasted information based on the operation information, the context information and the user information to obtain a predicted pasting list; and finally, displaying the predicted pasting list in a recommended pasting list area preset on the clipboard interface. The clipboard information on the clipboard can be predicted according to the operation information, the context information and the user information corresponding to each clipboard information to obtain a predicted pasting list, and contents which the user most possibly wants to paste are displayed to the user in the recommended pasting list area, so that the clipboard hit rate is improved; the retention time of useful information is delayed, and the user satisfaction is improved; the user can conveniently select the required cut and paste information, and the user experience is improved.
Drawings
Other features, objects and advantages of the disclosure will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram in which one embodiment of the present disclosure may be applied;
FIG. 2 is a flow diagram of one embodiment of a clipboard content processing method according to the present disclosure;
figure 3 is a flow diagram of yet another embodiment of a clipboard content processing method according to the present disclosure;
FIG. 4 is a flow diagram of yet another embodiment of a clipboard content processing method according to the present disclosure;
FIG. 5 is a diagram of a distribution of areas on a clipboard interface according to one embodiment of the present disclosure;
figure 6 is a block schematic diagram of one embodiment of a clipboard content processing apparatus according to the present disclosure;
FIG. 7 is a schematic structural diagram of an electronic device suitable for use in implementing embodiments of the present disclosure.
Detailed Description
The present disclosure is described in further detail below with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not to be construed as limiting the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that, in the present disclosure, the embodiments and features of the embodiments may be combined with each other without conflict. The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 illustrates an exemplary architecture 100 to which the clipboard content processing method or clipboard content processing system of the present disclosure may be applied.
As shown in fig. 1, the system architecture 100 may include terminal devices 101, 102, 103, a network 104, and a server 105. Network 104 is the medium used to provide communication links between terminal devices 101, 102, 103 and server 105. The network 104 may include various connection types, and typically may include wireless communication links and the like.
The terminal devices 101, 102, 103 interact with a server 105 via a network 104 to receive or send messages or the like. Various communication client applications, such as an instant messaging tool, a mailbox client, etc., can be installed on the terminal devices 101, 102, 103.
The terminal apparatuses 101, 102, and 103 may be hardware or software. When the terminal devices 101, 102, 103 are hardware, they may be user devices and resource provider devices having communication and control functions. When the terminal apparatuses 101, 102, and 103 are software, they may be installed in the user apparatus or the clip information provider apparatus. It may be implemented as multiple pieces of software or software modules (e.g., software or software modules used to provide distributed services) or as a single piece of software or software module. And is not particularly limited herein.
The server 105 may be a server that provides various services, such as a clipboard content processing server that acquires information about a clipboard system on the terminal devices 101, 102, 103. The clipboard content processing server can analyze and process the relevant data of each clipboard system in the network and feed back the processing result to the terminal equipment.
The server may be hardware or software. When the server is hardware, it may be implemented as a distributed server cluster formed by multiple servers, or may be implemented as a single server. When the server is software, it may be implemented as multiple pieces of software or software modules (e.g., software or software modules for providing distributed services) or as a single piece of software or software module. And is not particularly limited herein.
It should be noted that the clipboard content processing method provided by the embodiment of the present disclosure may be executed by the terminal devices 101, 102, and 103, and the models of the predicted paste lists completed on the terminal devices 101, 102, and 103 are sent to the server 105, and all the models are integrated by the server 105, and accordingly, the clipboard content processing apparatus may be disposed in the terminal devices 101, 102, and 103.
It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for an implementation.
In an information-oriented society, people can touch various information every day, and a clipboard is used as an important tool for information sharing, so that information can be conveniently transferred and shared among various application programs. The clipboard history recording function can copy a plurality of pieces of information at a time, which accelerates the utilization speed when a plurality of pieces of content are copied and shared daily.
The clipboard is a continuous memory space of the memory system that can vary with the size of the stored information, and is used to temporarily store the exchanged information. The information that is stored in the memory system and that is temporarily saved by using the internal RAM or virtual memory of the system is various.
With continued reference to fig. 2, a flow 200 of one embodiment of a clipboard content processing method according to the present disclosure is shown. The clipboard content processing method comprises the following steps:
step 201, obtaining each piece of clip information in the clipboard and operation information, context information and user information corresponding to each piece of clip information.
In this embodiment, the cut and paste information refers to copy information after the user copies or paste information after pasting on the terminal, and the cut and paste information includes text, pictures, videos, and the like. An execution main body (for example, terminal devices 101, 102, and 103 shown in fig. 1) of the clipboard content processing method may obtain, in real time, clipboard information on a terminal when a user performs a copy or paste operation, and the clipboard information may also be transferred to a clipboard in real time to be stored.
In this embodiment, the terminal further sets a clipboard interface capable of displaying all contents of the clipboard for the clipboard, and a user can view the clipboard interface on the terminal through some operations and know the clipboard contents stored in the clipboard in real time through the clipboard interface. When more than one piece of clip information is needed and a user has the requirement of selecting the clip information, a clipboard interface is provided for the user, and the user experience is improved.
In this embodiment, the operation information corresponding to each piece of clip information is operation information of a user operating each piece of clip information. The behavior sequence of the user operating the clipping information can be determined through the operation information corresponding to each clipping information. Specifically, the operation information may include: the number of times of operations on the clip information by the user (paste number, copy number, etc.), the operation time of operations on the clip information by the user (copy time, paste time, etc.), the locked state of the clip information, and the usage behavior sequence of the clip information by the user (after one application is copied, multiple pastes are performed on different applications, respectively, etc.).
In this embodiment, the context information is content before and after cutting/pasting of the cut and pasted information, and specifically, the context information may include: the source application of the cut and paste information and the destination application of the cut and paste information.
In this embodiment, the user information includes: the user profile may be data of the user collected during the process of using the terminal by the user, such as a user schedule, browser browsing content, application (App) use duration, and the like, and the user profile is not based on the clipboard operation schedule and may be an available resource existing on the terminal. Since the manufacturer of the terminal cannot directly force the user to fill in information such as sex, age, birthday, and preference, the user image may be data obtained by estimating the data of the user using the terminal. In this embodiment, the user portrait is a channel for acquiring information of hobbies, age, and the like of the user, and in some terminals, the user portrait may be data stored by default in the terminal.
In this embodiment, the user information is used as an algorithm to be input to the prediction model, and the clipping information that is important to the user in the clipping information is analyzed according to attributes such as age, sex, and the like in the user portrait, so that the prediction accuracy of the prediction model can be improved.
In some optional implementation manners of this embodiment, a category of the clipping information may also be obtained, where the category of the clipping information includes: types of entities in the clip information, for example, types include: numbers, addresses, mailboxes, telephones, etc. Further, the type of the cut and pasted information may be determined by the recognition model, and specifically, the type to which the cut and pasted information belongs may be determined based on a recognition result of the recognition model on the category of the entity in the cut and pasted information.
Step 202, predicting all the clipping and pasting information based on the operation information, the context information and the user information to obtain a predicted pasting list.
In this embodiment, the operation information of the user on the clipping information, the context information (source application and destination application) of the clipping information, and the user information determine the importance of the clipping information in all the clipping information, and perform the paste information sorting prediction on the clipping information. Alternatively, the paste information ordering prediction may be performed on the clip information with reference to the type of the clip information, and further, the prediction on the clip information may be completed by using a sequence prediction model RNN (Recurrent Neural Network), LSTM (Long Short Term Memory Network), a transform model, and the like, to obtain a predicted paste list, where the predicted paste list is a ranking of the clip information that the user desires to paste in the clip information.
The behavior sequence, the context information and the user information in the operation information can be used as the input of the prediction model, wherein the behavior sequence of the user can be used for acquiring the habits of the user, for example, the user enters the APP of a bank in a short time after copying a string of numbers.
Further, in some optional implementations of this embodiment, a federal Learning model (fed Learning) may also be used to complete the formation of the predictive pasting list and the transmission to a server (such as the server 105 shown in fig. 1) while retaining the user-related information in the terminal, so as to protect the user privacy.
And step 203, displaying the predicted pasting list in a recommended pasting list area preset on the clipboard interface.
In this embodiment, the recommended paste list area is an area preset by the terminal on the clipboard interface displaying the clipboard to the user, and the recommended paste list area may be set in any area of the clipboard interface according to the user's needs, as shown in fig. 5, the recommended paste list area 503 is located in the middle of the clipboard interface 500, and the recommended paste list displayed on the recommended paste list area 503 predicts the content that the user is most likely to paste according to the user's behavior and the context information of the clipboard content and recommends the content to be displayed to the user, so that the hit rate and satisfaction of the clipboard are greatly improved.
In this embodiment, all the clip information in the clip may be classified, specifically, in some optional implementation manners of this embodiment, after the predicted paste list is displayed in a recommended paste list area preset in the clip board interface, the category to which each clip information belongs is identified; classifying all the cut and pasted information based on the category; and displaying all the classified clip information in a preset sequencing display area of the clip board interface according to the categories.
The method provided by the optional implementation manner includes that firstly, the category to which each piece of clip information belongs is identified. Secondly, classifying all the cut and pasted information based on the categories; and finally, displaying all the classified clip information in a preset sequencing display area on a clip board interface according to the categories. The clipboard information on the clipboard can be arranged and displayed according to the category to which the clipboard information belongs, so that a user can distinguish various clipboard information conveniently, and the usability of the clipboard is improved; the user can select the required cut and paste information conveniently, and the user experience is improved.
In some optional implementation manners of this embodiment, the latest copied information in the clipboard information may also be displayed in the latest paste bit preset in the clipboard interface.
In this embodiment, the clip information is information of one kind of contents of the clipboard, and the clip information includes: the method comprises the steps of copying information and pasting information, wherein after a user performs copying operation, the copying information in a clipboard at the current time is the latest copying information.
In this embodiment, the latest paste bit is a preset position of the terminal on the clipboard interface displaying the clipboard to the user, and the latest paste bit may be set in any area of the clipboard interface according to the user's requirement, as shown in fig. 5, the latest paste bit 504 is located at the top of the clipboard interface 500.
The clipboard content processing method provided by the embodiment of the disclosure includes the steps of firstly, obtaining each clipboard information in a clipboard and operation information, context information and user information corresponding to each clipboard information; then, predicting all the cutting and pasting information based on the operation information, the context information and the user information to obtain a predicted pasting list; and finally, displaying the predicted pasting list in a recommended pasting list area preset on a clipboard interface. The clipboard information on the clipboard can be predicted according to the operation information, the context information and the user information corresponding to each clipboard information to obtain a predicted pasting list, and contents which the user most probably wants to paste are displayed to the user in the recommended pasting list area, so that the clipboard hit rate is improved; the retention time of useful information is delayed, and the user satisfaction is improved; the user can select the required cut and paste information conveniently, and the user experience is improved.
With further reference to fig. 3, a flow 300 of yet another embodiment of a clipboard content processing method is shown. The process 300 of the clipboard content processing method includes the following steps:
step 301, obtaining each piece of clip information in the clipboard, and operation information, context information, and user information corresponding to each piece of clip information.
Step 302, predicting all the clipping and pasting information based on the operation information, the context information and the user information to obtain a predicted pasting list.
Step 303, displaying the predicted paste list in a recommended paste list area preset on the clipboard interface.
It should be understood that the operations and features in steps 301 to 303 correspond to those in steps 201 to 203, respectively, and therefore the descriptions of the operations and features in steps 201 to 203 also apply to steps 301 to 303, which are not described herein again.
And step 304, scoring all the cut and pasted information based on the operation information, the context information and the user information.
In this embodiment, entities in the clipboard may be scored by using a Ranking Model according to context information (App when the user copies, current App, etc.) of the clipboard information, operation information (for example, copy time, copy times, paste time, paste times, behavior sequence of the user, and locking state) of the clipboard information by the user, and user information (for example, user portraits, etc.) of the user on the clipboard information, so as to obtain a scoring result. In some optional implementation manners of this embodiment, the cut-and-pasted information may be scored according to the type of the cut-and-pasted information.
In this embodiment, the purpose of deleting the clipboard content intelligently can be achieved by scoring all the clipboard information, and the retention time of the useful information in the clipboard content is delayed, so that the user experience and the satisfaction degree are improved.
And step 305, deleting the expired clipping information in all the clipping information according to the scoring result.
In this embodiment, the clip information with a lower score in the scoring result may be deleted one by one according to the height of the scoring result, and the clip information with a lower score is the expired clip information.
Since the scoring result in this embodiment is obtained based on the operation information, the user information, and the context information of the user, the attributes of the user such as the number of copying and pasting the clip information, the sex, age, and hobby of the user, and the occupation ratio of the clip information are fully considered, and therefore, the scoring result reflects the degree of importance of the user to the clip information.
In practice, a user browses a webpage by using a smart phone, copies one segment of interesting text, and occasionally shares the text with friends from a clipboard. The user often uses the copy and paste function during the use of the mobile phone, and after a period of time, the user wants to share the text from the clipboard, and although the record in the clipboard reaches the upper limit and the recording time is longer, the record is still not deleted in the clipboard because of the multiple uses of the user.
The clipboard content processing method provided by the embodiment obtains the operation information of the user on the clipboard information, the context information of the clipboard information and the user information, predicts all the clipboard information, obtains and displays the predicted pasting list, can predict the content which the user most probably wants to paste according to the user behavior and the context of the clipboard content, and recommends and displays the content to the user, so that the clipboard hit rate and the satisfaction degree are greatly improved. Furthermore, all the cut and pasted information is scored based on the operation information, the context information and the user information, expired cut and pasted information in all the cut and pasted information is deleted according to a scoring result, an entity is deleted intelligently, the retention time of useful information is delayed, and the experience degree and the satisfaction degree of a user are further improved.
When the types of classifying the clip information are multiple, different types of labels can be marked on each clip information, and all clip information can be classified. Furthermore, since each classified clip information in the sequencing display area is displayed according to a classification preset by the system, the classification requirement of the user may not be met, and in order to improve the satisfaction degree of the user on the operation of the clipboard, the clip information in the sequencing display area can be classified according to the requirement of the user.
With further reference to fig. 4, a flow 400 of yet another embodiment of a clipboard content processing method is shown. The process 400 of the clipboard content processing method includes the following steps:
step 401, obtaining each piece of clip information in the clipboard, and operation information, context information, and user information corresponding to each piece of clip information.
Step 402, predicting all classified cut and paste information based on the operation information, the context information and the user information to obtain a predicted paste list of the classified cut and paste information.
And step 403, displaying the predicted pasting list in a recommended pasting list area preset on the clipboard interface.
It should be understood that the operations and features in steps 401 to 403 correspond to those in steps 201 to 203, respectively, and therefore the descriptions of the operations and features in steps 201 to 203 also apply to steps 401 to 403, which are not described herein again. Step 404, identify the category to which each piece of clip information belongs.
In this embodiment, the execution body on which the clipboard content processing method is executed may identify the type of the clipboard information through a plurality of identification means, so as to facilitate dynamic classification of the clipboard information, and may analyze the context content of the current clipboard information according to the type of the clipboard information.
In this embodiment, the execution subject may identify the category of the clip information based on different classification means such as a predetermined classification rule, a lookup dictionary, a machine learning algorithm, and a named entity recognition technique.
In this embodiment, the category of the clipping information may be a classification based on the content represented by the clipping information, such as an address, a number, and the like in the clipping information. The classification of the clip information may also be a classification based on the whole clip information, such as the source of the clip information and the chronological order of the clip information.
Step 405, classifying all the clipping information based on the categories.
In this embodiment, the classification may be a large class composed of a plurality of different small classes, and classifying all pieces of clip information in the clipboard refers to classifying all pieces of clip information according to the different small classes indicated by the large class. After the execution main body acquires the cut and paste information, determining that the cut and paste information belongs to different types of subclasses of the main class, such as numbers or addresses in character entities; the sources of the cut and pasted information comprise short messages, weChats, microblogs, mails and the like.
Optionally, the types may be multiple, and classifying all pieces of clip information in the clipboard refers to classifying all pieces of clip information according to one of the multiple types.
In some optional implementations of this embodiment, the categories include: the type of the entity in the clip information or the heat, time, and source of the clip information.
In this optional implementation manner, the type of the entity in the clipping information may include: address, number, web address, etc. In this optional implementation manner, the categories include different types of entities in the clip information or different characteristics of the clip information, so that the classification effect of the clip information is improved.
In this embodiment, after classifying each piece of clip information by using different classification means, each piece of clip information can be labeled with various classified labels, and in proportion, the content of one piece of clip information is: "my dad's phone number is XXXXXXXXX; please help me to send an email to yy @ yy; home address: ZZ street LL number' through classification means, can be for "XXXXXXXXXXXXX" call the label of telephone number, for "YY @ YY" call the label of the electronic mailbox, for "ZZ street LL number" call the label of the address. Of course, the clip information may have one or more tags of different categories, such as "XXXXXXXXX" having both a tag for a telephone number and a tag for a number. In the clipboard, "xxxxxxxxxx" belongs to two different categories.
And step 406, displaying all the classified clip information according to categories in a preset sorting display area of the clip board interface.
In this embodiment, the sequencing display area preset in the clipboard interface is an area where the clipboard interface displays all clipboard contents to a user, and by displaying the clipboard contents in the sequencing display area according to categories, the user can better know the clipboard contents, so that the user can determine which clipboard information is important information.
The sequencing display area is a preset area on a clipboard interface where the terminal displays a clipboard to a user, and the sequencing display area can be set in any area of the clipboard interface according to the user requirement, as shown in fig. 5, the sequencing display area 501 is located below the clipboard interface 500.
In some optional implementations of this embodiment, the latest copied information in the clipboard information may also be displayed in a latest paste bit preset on the clipboard interface.
In this optional implementation, the clip information is information of one kind of clipboard content, and the clip information includes: the method comprises the steps of copying information and pasting information, wherein after a user performs copying operation, the copying information in a clipboard at the current time is the latest copying information.
In step 407, all categories are displayed in the clipboard interface in a selectable manner to allow the user to select one of the categories.
In some optional implementations of this embodiment, the type of the entity in the clip information or the heat, time, and source of the clip information. Specifically, referring to fig. 5, different categories of "hot", "time", "type", and "source" are displayed on the display area 502 of the clipboard interface for the user to select. In this optional implementation manner, the type may be a type of an entity included in the clip information, for example, the type of the entity includes: words, text, pictures, etc. Of course, the type may also be the type of the entity extracted by some rule, for example, the type of the entity includes: telephone numbers, mailboxes, etc.
Step 408, receiving a selection instruction of the category from the user.
In this embodiment, the instruction for selecting a category may be embodied by messages of different category selection controls on the clipboard interface, for example, in fig. 5, the category selection control is a radio box, and after the user selects the radio box corresponding to the category, the execution main body determines that the instruction for selecting the category by the user is received through message change of the radio box corresponding to each category.
And step 409, displaying all the classified clip information in a preset sequencing display area of the clip board interface according to the category indicated by the selection instruction.
In this embodiment, the clip information in the sequencing display area changes according to the category selected by the user, for example, if the category selected by the user is "time", all clip information in the sequencing display area is displayed according to the time sequence; the category selected by the user is "type", and the clip information of the same type (e.g., "number") in the sorting display area is arranged together and displayed in the sorting display area together with other clip information of different types.
According to the clipboard content processing method provided by the embodiment, all the classified clipboard information is displayed in the preset sequencing display area of the clipboard interface according to the category indicated by the selection instruction according to the selection instruction of the user, so that the autonomy of the user in displaying the clipboard information according to the category is improved, and the experience degree and the satisfaction degree of the user are improved.
With further reference to fig. 6, as an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of a clipboard content processing apparatus, which corresponds to the method embodiment shown in fig. 2, and which is particularly applicable in various electronic devices.
As shown in fig. 6, the clipboard content processing apparatus 600 provided by the present embodiment includes an obtaining unit 601, a predicting unit 602, and a recommending unit 603. The obtaining unit 601 is configured to obtain each piece of clip information in the clipboard, and operation information, context information, and user information corresponding to each piece of clip information. And a prediction unit 602 configured to predict all the clipping information based on the operation information, the context information, and the user information, resulting in a predicted paste list. And a recommending unit 603 configured to display the predicted paste list in a recommended paste list area preset in the clipboard interface.
In the present embodiment, in the clipboard content processing apparatus 600: the specific processing of the obtaining unit 601, the predicting unit 602, and the recommending unit 603 and the technical effects thereof can refer to the related descriptions of step 201, step 202, and step 203 in the corresponding embodiment of fig. 2, which are not repeated herein.
In some optional implementations of this embodiment, the apparatus 600 may further include: a scoring unit (not shown), and a deleting unit (not shown). The scoring unit may be configured to score all the clipping information based on the operation information, the context information, and the user information. And the deleting unit can be configured to delete the expired clipping information in all the clipping information according to the scoring result.
In some embodiments, the above apparatus further comprises: an identification unit (not shown), a classification unit (not shown), and a presentation unit (not shown). The identification unit is configured to identify the category to which each piece of clip information belongs. And the classification unit is configured to classify all the clipping information in the clipboard based on the category. And the display unit is configured to display all the classified clip information according to categories in a preset sequencing display area of the clip board interface.
In some optional implementations of this embodiment, the apparatus 600 further includes: the newly pasted content unit (not shown in the figure). The latest pasting content unit may be configured to display latest copied information in all the clipboard information in a latest pasting position preset in the clipboard interface.
In some optional implementations of this embodiment, the categories are multiple, and the display unit includes: a selection module (not shown), a receiving module (not shown), and a display module (not shown). The selection module may be configured to display all categories in the clipboard interface in a selectable manner, so that the user can select one of all categories. The receiving module can be configured to receive a selection instruction of the category by a user. And the display module can be configured to display all the classified clip information in a sequencing display area preset in the clipboard interface according to the category indicated by the selection instruction.
In some optional implementations of this embodiment, the categories include: the type of the entity in the clip information, or the heat, time, and source of the clip information.
In the clipboard content processing apparatus provided in the embodiment of the present disclosure, first, the obtaining unit 601 obtains each clipboard information in the clipboard, and operation information, context information, and user information corresponding to each clipboard information; then, the prediction unit 602 predicts all the clipping information based on the operation information, the context information, and the user information to obtain a prediction pasting list; finally, the recommending unit 603 displays the predicted paste list in a recommended paste list area preset on the clipboard interface. The clipboard information on the clipboard can be predicted according to the operation information, the context information and the user information corresponding to each clipboard information to obtain a predicted pasting list, and contents which the user most probably wants to paste are displayed to the user in the recommended pasting list area, so that the clipboard hit rate is improved; the retention time of useful information is delayed, and the user satisfaction is improved; the user can conveniently select the required cut and paste information, and the user experience is improved.
Referring now to FIG. 7, and referring now to FIG. 7, a block diagram of an electronic device (e.g., server in FIG. 1) 700 suitable for use in implementing embodiments of the present disclosure is shown. The server shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 7, electronic device 700 may include a processing means (e.g., central processing unit, graphics processor, etc.) 701 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 702 or a program loaded from storage 708 into a Random Access Memory (RAM) 703. In the RAM703, various programs and data necessary for the operation of the electronic apparatus 700 are also stored. The processing device 701, the ROM 702, and the RAM703 are connected to each other by a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
Generally, the following devices may be connected to the I/O interface 705: input devices 706 including, for example, a touch screen, touch pad, keyboard, mouse, etc.; an output device 707 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 708, including, for example, magnetic tape, hard disk, etc.; and a communication device 709. The communication means 709 may allow the electronic device 700 to communicate wirelessly or by wire with other devices to exchange data. While fig. 7 illustrates an electronic device 700 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may be alternatively implemented or provided. Each block shown in fig. 7 may represent one device or may represent multiple devices as desired.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer-readable medium, the computer program comprising program code for performing the method illustrated by the flow chart. In such embodiments, the computer program may be downloaded and installed from a network via the communication means 709, or may be installed from the storage means 708, or may be installed from the ROM 702. The computer program, when executed by the processing device 701, performs the above-described functions defined in the methods of embodiments of the present disclosure.
It should be noted that the computer readable medium of the embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In embodiments of the disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In embodiments of the present disclosure, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the foregoing.
The computer readable medium may be embodied in the server; or may exist separately and not be assembled into the server. The computer readable medium carries one or more programs which, when executed by the server, cause the server to: obtaining each piece of clip information in a clipboard and operation information, context information and user information corresponding to each piece of clip information; predicting all the cut and pasted information based on the operation information, the context information and the user information to obtain a predicted pasting list; and displaying the predicted pasting list in a recommended pasting list area preset on the clipboard interface.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems that perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. The described units may also be provided in a processor, which may be described as: a processor includes an information acquisition unit, a prediction unit, and a recommendation unit. Here, names of the modules do not constitute a limitation on the modules themselves in some cases, and for example, the information acquisition unit may also be described as a unit configured to acquire each piece of clipboard information in the clipboard and operation information, context information, and user information corresponding to each piece of clipboard information.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combinations of the above-mentioned features, and other embodiments in which the above-mentioned features or their equivalents are combined arbitrarily without departing from the spirit of the invention are also encompassed. For example, the above features and (but not limited to) the features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.

Claims (14)

1. A clipboard content processing method, the method comprising:
the method comprises the steps of obtaining each piece of clip information in a clip board and operation information, context information and user information corresponding to each piece of clip information, wherein the operation information is operation information of a user operating each piece of clip information, and determining a behavior sequence of the user operating each piece of clip information through the operation information;
predicting all the cutting and pasting information based on the operation information, the context information and the user information to obtain a predicted pasting list, wherein the predicted pasting list is the ranking of the cutting and pasting information which is expected to be pasted by the user in all the cutting and pasting information;
and displaying the predicted pasting list in a recommended pasting list area preset on a clipboard interface.
2. The method of claim 1, further comprising:
and scoring all the cut and pasted information based on the operation information, the context information and the user information, and deleting the expired cut and pasted information in all the cut and pasted information according to the scoring result.
3. The method of claim 1, further comprising:
identifying the category to which each piece of clip information belongs;
classifying all the cut and pasted information based on the categories;
and displaying all the classified clip information in a sequencing display area preset on the clip board interface according to the category.
4. The method of claim 3, further comprising:
and displaying the latest copied information in all the clipboard information at the latest pasting position preset in the clipboard interface.
5. The method according to claim 3 or 4, wherein the categories are multiple, and the displaying all the categorized clip information in the sorting display area preset in the clipboard interface according to the categories comprises:
displaying all categories on the clipboard interface in a selectable manner to enable a user to select one of all categories;
receiving a selection instruction of a user for the category;
and displaying all the classified clip information in a sorting display area preset in the clip board interface according to the category indicated by the selection instruction.
6. The method of claim 5, wherein the categories include:
the type of entity in the clip information or the heat, time, source of the clip information.
7. A clipboard content processing apparatus, the apparatus comprising:
the system comprises an acquisition unit, a processing unit and a display unit, wherein the acquisition unit is configured to acquire each piece of clip information in a clipboard and operation information, context information and user information corresponding to each piece of clip information, the operation information is operation information of a user operating each piece of clip information, and a behavior sequence of the user operating each piece of clip information is determined through the operation information;
the prediction unit is configured to predict all pieces of clipping information based on the operation information, the context information and the user information to obtain a prediction pasting list, and the prediction pasting list is the ranking of the clipping information which the user desires to paste in all pieces of clipping information;
and the recommending unit is configured to display the predicted pasting list in a recommended pasting list area preset in a clipboard interface.
8. The apparatus of claim 7, the apparatus further comprising:
a scoring unit configured to score all clip information based on the operation information, the context information, and the user information;
and the deleting unit is configured to delete expired scrap information in all the scrap information according to the scoring result.
9. The apparatus of claim 7, further comprising:
an identifying unit configured to identify a category to which each piece of clip information belongs;
a classification unit configured to classify all the clip information based on the category;
and the display unit is configured to display all the classified clip information according to the categories in a sequencing display area preset on the clipboard interface.
10. The apparatus of claim 9, the apparatus further comprising:
and the latest pasting content unit is configured to display the latest copied information in all the clipboard information at the latest pasting position preset in the clipboard interface.
11. The apparatus of claim 9 or 10, wherein the categories are multiple, the presentation unit comprising:
a selection module configured to selectably display all categories at the clipboard interface to enable a user to select one of all categories;
the receiving module is configured to receive a selection instruction of a category by a user;
and the display module is configured to display all the classified clip information in a sorting display area preset in the clipboard interface according to the category indicated by the selection instruction.
12. The apparatus of claim 11, wherein the categories comprise: the type of the entity in the clip information, or the heat, time, and source of the clip information.
13. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method recited in any of claims 1-6.
14. A computer-readable medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-6.
CN202011304026.7A 2020-11-19 2020-11-19 Clipboard content processing method and device Active CN112395109B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011304026.7A CN112395109B (en) 2020-11-19 2020-11-19 Clipboard content processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011304026.7A CN112395109B (en) 2020-11-19 2020-11-19 Clipboard content processing method and device

Publications (2)

Publication Number Publication Date
CN112395109A CN112395109A (en) 2021-02-23
CN112395109B true CN112395109B (en) 2023-02-28

Family

ID=74605932

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011304026.7A Active CN112395109B (en) 2020-11-19 2020-11-19 Clipboard content processing method and device

Country Status (1)

Country Link
CN (1) CN112395109B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11321153B1 (en) * 2021-04-08 2022-05-03 International Business Machines Corporation Contextual copy and paste across multiple devices

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120107356A (en) * 2011-03-21 2012-10-02 삼성전자주식회사 Method for providing clipboard function in a portable terminal
CN105354097B (en) * 2015-11-02 2018-10-19 北京金山安全软件有限公司 Data operation method and device based on clipboard and electronic equipment
CN106776078B (en) * 2016-12-28 2020-04-28 北京金山安全软件有限公司 Clipboard content processing method and device and terminal equipment

Also Published As

Publication number Publication date
CN112395109A (en) 2021-02-23

Similar Documents

Publication Publication Date Title
CN109460513B (en) Method and apparatus for generating click rate prediction model
CN105320766B (en) Information-pushing method and device
CN112528595B (en) Document processing method and device and electronic equipment
US8903931B1 (en) Methods for generating e-mail message interfaces
CN109862100B (en) Method and device for pushing information
CN110658961A (en) Information display method and device and electronic equipment
CN113971243A (en) Data processing method, system, equipment and storage medium applied to questionnaire survey
CN111625308B (en) Information display method and device and electronic equipment
US20220391457A1 (en) Page operation processing method, electronic device, and non-transitory computer-readable storage medium
CN108600329B (en) Method and equipment for pushing information and displaying information
CN110866040A (en) User portrait generation method, device and system
CN105589631B (en) Information displaying method and device
CN114443897A (en) Video recommendation method and device, electronic equipment and storage medium
CN109992719B (en) Method and apparatus for determining push priority information
CN114297476A (en) Questionnaire survey method, system, electronic equipment and storage medium based on user tags
CN112395109B (en) Clipboard content processing method and device
CN108509442B (en) Search method and apparatus, server, and computer-readable storage medium
CN109947526B (en) Method and apparatus for outputting information
CN115373768A (en) Information processing method and device, terminal and storage medium
CN111310086A (en) Page jump method and device and electronic equipment
CN111125502B (en) Method and device for generating information
CN108834202B (en) Information display method and equipment
CN113220381A (en) Click data display method and device
CN114239501A (en) Contract generation method, apparatus, device and medium
CN112114735B (en) Method and device for managing tasks

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