Information processing method, device and electronic equipment
By combining image and text information for in-depth analysis of information, the problem of the inability to effectively classify information in existing technologies has been solved, enabling the identification and filtering of spam information and improving the accuracy of information delivery and user experience.
Patent Information
- Application Number
- CN202010463617.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-05-27
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2040-11-01
AI Technical Summary
Existing technologies are unable to effectively classify information, especially to identify and avoid pushing vulgar, advertising, or other spam information, resulting in users receiving unnecessary vulgar content.
By acquiring image and text information of the target information, we perform in-depth analysis of the information using image and text classifiers, and classify the information by combining image features and text features to generate classification results.
It achieves precise classification of information, effectively identifies and filters spam, and improves the accuracy of information delivery and user experience.
Smart Images

Figure CN111813929B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of communication technology, and specifically relates to an information processing method, device and electronic equipment. Background Art
[0002] The amount of information recommended by browsers and various applications is increasing, and the content of the consultation is diverse. Some of the massive information has a positive effect on users, but it also includes some junk information such as advertising soft articles, traffic clickbait, vulgarity, and prohibited political information.
[0003] In the process of implementing the present application, the inventors found that there are at least the following problems in the prior art: the current scheme only groups information, for example, information that the user has read is grouped into one group, and information that the user has not read is grouped into another group, and the content of the information is not analyzed. Therefore, the existing scheme cannot classify the information, thereby avoiding pushing some junk information such as vulgar content to users. Therefore, how to classify the information and ensure the classification accuracy of the information has become a problem that needs to be solved urgently. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide an information processing method, device and electronic device, which can solve the problem that information cannot be classified in the prior art.
[0005] In order to solve the above technical problems, this application is implemented as follows:
[0006] In a first aspect, an embodiment of the present application provides an information processing method, the method comprising:
[0007] Get each image and text information of the target information corresponding to the target application;
[0008] Acquire image information corresponding to each of the pictures of the target information;
[0009] The target information is classified according to the text information of the target information and the image information corresponding to each of the pictures of the target information to obtain a classification result corresponding to the target information.
[0010] In a second aspect, an embodiment of the present application provides an information processing device, the device comprising:
[0011] A first acquisition module is used to acquire each image and text information of the target information corresponding to the target application;
[0012] A second acquisition module is used to acquire image information corresponding to each of the pictures of the target information;
[0013] The classification module is used to classify the target information according to the text information of the target information and the image information corresponding to each of the pictures of the target information to obtain a classification result corresponding to the target information.
[0014] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.
[0015] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0016] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0017] In the embodiment of the present application, by obtaining each picture and text information of the target information corresponding to the target application, the image information corresponding to each picture of the target information is obtained, and the target information is classified according to the text information of the target information and the image information corresponding to each picture of the target information, so as to obtain the classification result corresponding to the target information. Since the target information is classified in combination with the image information corresponding to each picture of the target information and the text information of the target information, the target information is classified, and the classification accuracy of the information is guaranteed. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 is a flowchart of the steps of an information processing method provided in an embodiment of the present application;
[0019] Figure 2 is a flowchart of another information processing method provided in an embodiment of the present application;
[0020] Figure 3 It is a schematic diagram of an interface provided in an embodiment of the present application;
[0021] Figure 4 This is another interface schematic diagram provided in an embodiment of the present application;
[0022] Figure 5 is a schematic diagram of an interface showing the number of normal information provided by an embodiment of the present application;
[0023] Figure 6 is a schematic diagram of an interface after expanding target information provided by an embodiment of the present application;
[0024] Figure 7 This is a schematic diagram of an interface for deleting junk information provided by an embodiment of the present application;
[0025] Figure 8 This is another schematic diagram of an interface for deleting junk information provided by an embodiment of the present application;
[0026] Fig. 9 is a structural schematic diagram of an information processing device provided in an embodiment of the present application;
[0027] Fig.10 is a schematic diagram of the structure of another information processing device provided in an embodiment of the present application;
[0028] Fig.11 It is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application;
[0029] Fig.12 It is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application. DETAILED DESCRIPTION
[0030] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0031] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here. In addition, the "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally represents that the objects associated with each other are in an "or" relationship.
[0032] The information processing method provided by the embodiment of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0033] Reference Figure 1 , Figure 1 is a flowchart of a method for information processing provided in an embodiment of the present application, the method may include the following steps:
[0034] Step 101: Obtain each image and text information of the target information corresponding to the target application.
[0035] The target application is, for example, a browser or a WeChat public account, and the target information may include information that the user has not read, or information that the user has read or has not read. For example, for information published by a WeChat public account, if the user has not read three pieces of information, then each picture and text information of each of the three target information of the WeChat public account can be obtained. Each picture and text information of one of the three target information can be obtained at one time; each picture and text information of one target information can also be obtained at one time, and each picture and text information of each of the three target information can be obtained after three times.
[0036] Step 102: Obtain image information corresponding to each picture of the target information.
[0037] For example, a picture of target information can be input into a target detection model (such as FasterRCNN) in a picture-text classifier to obtain the image features of each picture of the target information and the image features of each target in each picture, and the image features of a picture and the image features of each target in the picture are used as the image information corresponding to the picture, wherein the picture-text classifier is a trained picture-text classifier. The targets in the picture are, for example, people, cats, tables, etc. The target detection model can fuse the image features of a picture and the image features of each target in the picture to obtain the image information corresponding to the picture. The image information may include the category of the target and the location information of the target. A picture of target information can be input into the target detection model, that is, the target detection model processes one target information at a time; or, pictures of multiple target information can be input into the target detection model, that is, the target detection model processes multiple target information at a time.
[0038] Step 103: classify the target information according to the text information of the target information and the image information corresponding to each picture of the target information to obtain a classification result corresponding to the target information.
[0039] The text classifier in the image-text classifier can be used to classify the target information according to the text information of the target information and the image information corresponding to each picture of the target information, so as to obtain the classification result corresponding to the target information.
[0040] The information processing method provided in this embodiment obtains each picture and text information of the target information corresponding to the target application, obtains the image information corresponding to each picture of the target information, and classifies the target information according to the text information of the target information and the image information corresponding to each picture of the target information to obtain the classification result corresponding to the target information. Since the target information is classified in combination with the image information corresponding to each picture of the target information and the text information of the target information, the target information is classified and the classification accuracy of the information is guaranteed.
[0041] Reference Figure 2 , Figure 2 is a flowchart of another information processing method provided in an embodiment of the present application, the method may include the following steps:
[0042] Step 201: Obtain each image and text information of the target information corresponding to the target application.
[0043] Reference Figure 3 , Figure 3 is a schematic diagram of an interface provided in an embodiment of the present application. The user can select an application containing unread information to be reviewed and long press it. Figure 3 The application that the user long presses is shown as the target application. The user long presses, for example Figure 3 When you click on the public account A in the pop-up window, the following Figure 4 The interface diagram shown is shown in Figure 4 , Figure 4 This is another interface diagram provided in the embodiment of the present application. The user can select Figure 4 In the "Information Review" option, when the user clicks the information review option, the electronic device can obtain each picture and text information of the target information corresponding to the public account A, and obtain the image features corresponding to each picture of the target information. For example, if the target information corresponding to the public account A includes target information 1, target information 2, and target information 3, the pictures and text information of target information 1, target information 2, and target information 3 can be obtained.
[0044] Step 202: Obtain image information corresponding to each picture of the target information.
[0045] Among them, a piece of image information corresponding to a picture may be an image feature corresponding to the picture, and the image feature corresponding to the picture includes the image feature of the whole picture and the image features of each target in the picture.
[0046] It should be noted that the shape of the image feature corresponding to a picture of a target information is (B, 1, V1), where B represents the number of target information processed by the image-text classifier at one time, and V1 represents the dimension of the image feature corresponding to a picture. For example, if the image-text classifier processes one target information at a time in this step, that is, the image feature corresponding to each picture of one target information is obtained at one time in this step, then the value of B is equal to 1; if three target information are processed at one time, that is, the image feature corresponding to each picture of three target information is obtained at one time in this step, then the value of B is equal to 3. The values of B and V1 are preset values.
[0047] Step 203: Map all image features corresponding to the target information to the text semantic vector space to obtain the image semantic feature vector corresponding to the target information.
[0048] Among them, all image features corresponding to the target information can be mapped to the text semantic vector space through a preset model, and the preset model can be a preset weight matrix in the image-text classifier. All image features corresponding to the target information include image features corresponding to each picture of the target information.
[0049] For example, for target information 1, target information 1 includes 10 pictures in total. It can be seen from step 101 that one picture corresponds to one image feature, so target information 1 corresponds to 10 image features, and these 10 image features are all the image features corresponding to target information 1. Through the preset model, the 10 image features are mapped to the text semantic vector space to obtain the image semantic feature vector corresponding to target information 1.
[0050] It should be noted that the shape of the image semantic feature vector corresponding to an image feature (the image feature is the image feature corresponding to a picture) is (B, 1, V2). If a target information corresponds to N image features in total, the shape of the image semantic feature vector corresponding to the target information is (B, N, V2). For example, the shape of the image semantic feature vector corresponding to target information 1 is (B, 10, V2). Among them, the value of V2 can be set to be equal to V1, or the value of V2 can be set to be not equal to V1. V2 represents the dimension of the text feature vector, that is, the dimension of the image semantic feature vector corresponding to the obtained target information is equal to the dimension of the text feature vector.
[0051] Step 204: Convert the text information of the target information to obtain a text feature vector corresponding to the target information.
[0052] The dimension of the image semantic feature vector obtained in step 203 is equal to the dimension of the text feature vector obtained in this step.
[0053] The text information of the target information can be converted through character / word vector embedding to obtain the text feature vector corresponding to the target information. The shape of the text feature vector corresponding to a target information is (B, L, V2), where B represents the number of target information processed at a time, L represents the total number of characters or words in a target information, and V2 represents the dimension of the text feature vector corresponding to the character or word.
[0054] Step 205: classify the target information according to the image semantic feature vector and the text feature vector corresponding to the target information to obtain a classification result corresponding to the target information.
[0055] Wherein, step 205 can be implemented by the following steps:
[0056] splicing the length dimension of the image semantic feature vector corresponding to the target information to the length dimension of the text feature vector to obtain a target text feature vector corresponding to the target information, wherein the target text feature vector is a text feature vector including the image semantic feature vector;
[0057] The target information is classified according to the target text feature vector corresponding to the target information to obtain the classification result corresponding to the target information.
[0058] In combination with the above example, the image semantic feature vector corresponding to the target information obtained in step 202 is regarded as some language information such as words, and is spliced to the length dimension of the text feature vector corresponding to the target information, so as to obtain the target text feature vector (B, N+L, V2) corresponding to the target information.
[0059] It should be noted that the target text feature vector can be input into a text classifier in the image-text classifier, and the text classifier classifies the target information according to the target text feature vector to obtain a classification result corresponding to the target information.
[0060] The text classifier can splice the length dimension of the image semantic feature vector corresponding to the target information to the length dimension of the text feature vector to obtain a text feature vector including the image semantic feature vector (that is, obtain a target text feature vector corresponding to the target information), and the text classifier classifies the target information according to the text feature vector including the image semantic feature vector to obtain a classification result corresponding to the target information. Alternatively, the length dimension of the image semantic feature vector corresponding to the target information is spliced to the length dimension of the text feature vector in advance to obtain a text feature vector including the image semantic feature vector, and the text feature vector including the image semantic feature vector is input into the text classifier, and the text classifier classifies the target information according to the text feature vector including the image semantic feature vector to obtain a classification result corresponding to the target information.
[0061] The text classifier includes, for example, a Transformer model and a bidirectional Transformer encoder (BERT). For example, the image semantic feature vector and text feature vector corresponding to the target information are input into the BERT model, and the classification result of each target information is output through the BERT model. The classification result includes the category of the target information and the score of the target information, wherein the score may be the size of the probability that the target information belongs to low-quality information. The higher the score, the greater the probability that the target information belongs to low-quality information; the lower the score, the smaller the probability that the target information belongs to low-quality information. For example, when the score corresponding to a certain target information is greater than or equal to threshold A, the target information is determined to be low-quality information; when the score is less than or equal to threshold B, the target information is determined to be normal information, wherein threshold A is greater than threshold B; when the score is greater than threshold B and less than threshold A, the target information is determined to be suspected low-quality information. Or the score may be the size of the probability that the target information belongs to normal information. The higher the score, the greater the probability that the target information belongs to normal information; the smaller the score, the smaller the probability that the target information belongs to normal information. For example, when the score corresponding to a certain target information is greater than or equal to a certain threshold 1, the target information can be determined to be normal information, and when the score is less than or equal to a certain threshold 2, the target information can be determined to be low-quality information, where threshold 1 is greater than threshold 2. When the score is greater than threshold 2 and less than threshold 1, the target information is determined to be suspected low-quality information. Normal information refers to information that is neither low-quality information nor suspected low-quality information.
[0062] Step 206: Determine label information of the target information according to the classification result corresponding to the target information, wherein the label information includes the level of the target information.
[0063] In this embodiment, taking the classification result including the category and score of the target information, and the score indicating the probability that the target information belongs to low-quality information as an example, how to determine the label information of each target information is introduced. For example, there are 3 levels, such as level 1, level 2 and level 3, level 1 represents the pre-set target level (i.e., the level corresponding to normal information), level 2 represents the level corresponding to suspected low-quality information, and level 3 represents the level corresponding to low-quality information. The interval greater than or equal to 0 and less than or equal to 1 is divided into 3 interval ranges, and one interval range corresponds to one level. The interval range between scores greater than or equal to 0 and less than or equal to 0.4 is used as the first interval range, the interval range between scores greater than 0.4 and less than 0.7 is used as the second interval range, and the interval range between scores greater than or equal to 0.7 and less than or equal to 1 is used as the third interval range; wherein, the first interval range corresponds to level 1, the second interval range corresponds to level 2, and the third interval range corresponds to level 3. If the score in the classification result corresponding to target information 1 is 0.1, it can be determined that the score of target information 1 belongs to the first interval range, and the level of target information 1 is level 1, that is, the probability that target information 1 belongs to low-quality information is very small (that is, target information 1 cannot belong to low-quality information), and target information 1 is determined to be normal information. If the score in the classification result corresponding to target information 2 is 0.5, it can be determined that the score of target information 1 belongs to the second interval range, and the level of target information 2 is level 2, that is, target information 2 can be regarded as suspected low-quality information. If the score in the classification result corresponding to target information 3 is 0.9, it can be determined that the score of target information 3 belongs to the third interval range, and the level of target information 3 belongs to level 3, and target information 3 can be regarded as confirmed low-quality information, that is, it is certain that target information 3 is low-quality information.
[0064] Alternatively, the label information of each target information is determined according to the classification result including the category and score of the target information, and the score indicates the probability that the target information belongs to normal information. This method is similar to the above method of using the score to indicate the probability that the target information belongs to low-quality information. For example, the interval range between scores greater than or equal to 0.7 and less than or equal to 1 can be used as the first interval range, and the first interval range corresponds to level 1; the interval range between scores greater than 0.4 and less than 0.7 can be used as the second interval range, and the second interval range corresponds to level 2; the interval range between scores greater than or equal to 0 and less than or equal to 0.4 can be used as the third interval range, and the third interval range corresponds to level 3. For example, for target information 1, the score in the classification result corresponding to target information 1 is equal to 0.9, and the level of target information 1 is level 1, that is, target information 1 can still be determined as normal information; for target information 2, the score in the classification result corresponding to target information 2 is equal to 0.5, and the level of target information 2 is level 2, that is, target information 2 can still be determined as suspected low-quality information; for target information 3, the score in the classification result corresponding to target information 3 is equal to 0.1, and the level of target information 3 is level 3, that is, target information 3 can still be determined as low-quality information.
[0065] Step 207: Determine the number of target information belonging to a preset target level according to the level of the target information.
[0066] For example, there are 3 levels pre-set, including level 1, level 2 and level 3, and level 1 is the pre-set target level. In combination with the above example, the number of target information belonging to level 1 is determined. As can be seen from the above example, the target information belonging to level 1 is target information 1, that is, the number of normal information in the target information is equal to 1. If the target information in step 201 is all unread information of a certain WeChat public account, then the normal information and abnormal information (abnormal information includes suspected low-quality information and low-quality information) in all unread information of the WeChat public account are identified, so as to count the number of normal information in all unread information.
[0067] Step 208: Display the number at the preset position corresponding to the mark of the target application, and hide the target information belonging to other levels.
[0068] Among them, other levels are the remaining levels in the levels of the target information except the target level.
[0069] For example, refer to Figure 5 , Figure 5 is a schematic diagram of an interface showing the number of normal information provided by an embodiment of the present application, and other levels are, for example, level 2 and level 3, that is, Figure 5The hidden target information 2 and target information 3 shown only display the number of normal information at the preset position corresponding to the mark of the target application. Figure 5 The number shown in is equal to 1, and the mark 501 of the target application can be a red dot mark or a green dot mark, or a mark of other shapes. This embodiment does not limit the shape and color of the mark of the target application.
[0070] Through the information processing method provided by this embodiment, the number of normal information can be determined and displayed, so that the user can more intuitively obtain the number of normal information in the unread information and hide junk information.
[0071] Optionally, after step 208, the following steps may also be included:
[0072] receiving a first input from a user to a target application;
[0073] In response to the first input, target information belonging to the target level is displayed.
[0074] For example, refer to Figure 6 , Figure 6 This is a schematic diagram of the interface after expanding the target information provided in an embodiment of the present application. After the user clicks on public account A, the normal unread information corresponding to public account A can be expanded, for example, target information 1 can be expanded.
[0075] Optionally, the label information also includes the color corresponding to the category of the target information; after classifying the target information according to the image semantic feature vector and the text feature vector corresponding to the target information to obtain the classification result corresponding to the target information, the following steps are also included. That is, after obtaining the classification result corresponding to the target information, the following steps can be included:
[0076] Determine the level of transparency corresponding to the target information;
[0077] Determine the object label corresponding to the target information according to the color corresponding to the category of the target information and the transparency corresponding to the level of the target information;
[0078] It should be noted that, in step 206, according to the classification result corresponding to the target information, the label information of the determined target information may also include the color corresponding to the category of the target information. The classification result of the target information includes the category and score of the target information, and the color corresponding to the category of the target information can be determined according to the category of the target information, and different categories of target information can be distinguished by different colors. For example, the color corresponding to category A is green, and if the category in the classification result corresponding to the determined target information is category A, the color in the label information of the target information is green.
[0079] According to the color corresponding to the category of the target information and the transparency corresponding to the level of the target information, the object label corresponding to the target information is determined. Different levels correspond to different transparencies. In combination with the above example, for example, level 1 corresponds to the first preset transparency, level 2 corresponds to the second preset transparency, and level 3 corresponds to the third preset transparency. The first preset transparency is greater than the second preset transparency, and the second preset transparency is greater than the third preset transparency. For example, the second preset transparency is semi-transparency, and the third transparency is almost opaque or 0.
[0080] Take the category of target information 1 as category A as an example. Combined with the above example, the transparency corresponding to level 1 of target information 1 is the first preset transparency, and the color corresponding to the category of target information 1 is green, then the object label 1 corresponding to the determined target information 1 is a green object label displayed with the first preset transparency. Among them, the present application does not limit the shape of the object label, which can be an object label in the shape of a circle, triangle, etc. The object label is represented by a dot shape in the present application for introduction. Similarly, if the category of target information 2 is category B, and category B corresponds to blue, then the object label 2 corresponding to target information 2 is a blue object label displayed with the second preset transparency; if the category of target information 3 is category C, and category C corresponds to pink, then the object label 3 corresponding to target information 3 is a pink object label displayed with the third preset transparency.
[0081] Accordingly, step 208, displaying the number at the preset position corresponding to the mark of the target application and hiding the target information belonging to other levels can be implemented as follows:
[0082] A number is displayed at a preset position corresponding to the mark of the target application, and target information belonging to other levels is hidden, and object labels corresponding to the target information belonging to other levels are displayed.
[0083] For example, refer to Figure 5 , the object label 2 corresponding to the target information 2 corresponding to level 2 is the object label shown as 502, the object label shown as 502 is only for schematic introduction, and the object label shown as 502 is indicated by a slash, and the transparency of the object label is the second preset transparency. The object label 3 corresponding to the target information 3 corresponding to level 3 is the object label shown as 503, the object label shown as 503 is only for schematic introduction, and the object label shown as 503 is indicated by a black dot.
[0084] Optionally, the step of responding to the first input and displaying target information belonging to the target level can be implemented as follows:
[0085] In response to the first input, target information belonging to the target level and an object label corresponding to the target information belonging to the target level are displayed.
[0086] For example, refer to Figure 6 After the user clicks on public account A, the normal unread information corresponding to public account A can be expanded, for example, target information 1 can be expanded, and object tag 1 corresponding to target information 1 can be displayed. Target information 1 is displayed at the top. If there are multiple normal information, the normal information will be displayed from the top of the screen to the bottom.
[0087] Optionally, after displaying the number at the preset position corresponding to the mark of the target application, hiding the target information belonging to other levels, and displaying the object labels corresponding to the target information belonging to other levels, the following steps may also be included:
[0088] receiving a second input of a target object label from a user, wherein the target object label is an object label selected by the user from object labels corresponding to target information belonging to other levels;
[0089] In response to the second input, target information corresponding to the target object tag is displayed.
[0090] The second input is, for example, a click operation. Figure 5 and Figure 6 As shown, for example, if the user clicks Figure 5 After the object tag 2 shown in 502 is displayed, the target information 2 corresponding to the object tag 2 is displayed; the user clicks Figure 5 After the object tag shown by 503 in the figure, target information 3 corresponding to object tag 3 is displayed.
[0091] It should be noted that Figure 6 The object label corresponding to the target information 1 in is as follows Figure 6 The black dot in the upper right corner of the target information 1, Figure 6 The object label corresponding to the target information 2 in is as follows Figure 6 The black dot in the upper right corner of target information 2, Figure 6 The object label corresponding to the target information 3 in is as follows Figure 6 The black dot in the upper right corner of the target information 3, Figure 6 Only black dots are shown in the figure. In actual applications, object labels can be object labels of different colors and different transparencies.
[0092] Optionally, after step 208, the following steps may also be included:
[0093] Receiving a control operation triggered by a user, and responding to the control operation to delete target information belonging to other levels, and sending a first deletion instruction to the target electronic device when it is determined that an association relationship has been established with the target electronic device, so that the target electronic device responds to the first deletion instruction and deletes the target information belonging to other levels on the target electronic device; or
[0094] A second deletion instruction sent by the target electronic device is received, and in response to the second deletion instruction, target information belonging to other levels is deleted.
[0095] For example, the user-triggered control operation is that the user shakes the electronic device. Figure 7 , Figure 7 1 is a schematic diagram of an interface for deleting junk information provided by an embodiment of the present application. The control operation triggered by the user is, for example, the first light shaking of an electronic device (such as a mobile phone) to delete target information 3 belonging to level 3. Figure 7 The remaining target information 1 and target information 2. Figure 8 , Figure 8 : is another interface diagram for deleting junk information provided by an embodiment of the present application. After the user shakes the electronic device for the second time, target information 2 belonging to level 2 is deleted. The interface diagram after deleting target information 2 is shown in FIG. Figure 8 As shown, only normal information remains, that is, only target information 1 remains.
[0096] It should be noted that, when it is determined that an association relationship has been established with the target electronic device, a first deletion instruction is sent to the target electronic device so that the target electronic device responds to the first deletion instruction and deletes target information belonging to other levels on the target electronic device.
[0097] For example, in life groups such as friends and relatives, the user's filtering needs may be related (for example, both friends and family members do not like some advertising recommendations, or parents need to set some information red lines for their children). Users can authorize by associating with one or more trusted friends.
[0098] For example, after electronic device 1 used by user 1 and electronic device 2 used by user 2 are associated, each time electronic device 1 reviews and filters the information of common interest to both parties, the junk information of electronic device 2 will be automatically deleted. Alternatively, each time electronic device 2 reviews and filters the information of common interest to both parties, the junk information of electronic device 1 will also be automatically deleted. This enables mutual cleaning of junk information between friends, and can also be used by parents to clean up junk information on electronic devices used by their underage children.
[0099] It should be noted that the information processing method provided in the embodiment of the present application can be executed by an information processing device or a control module in the information processing device for executing the information processing method. In the embodiment of the present application, the information processing device provided in the embodiment of the present application is described by taking the information processing method executed by the information processing device as an example.
[0100] Reference Fig. 9 , Fig. 9 is a schematic diagram of the structure of an information processing device provided in an embodiment of the present application. The information processing device 900 includes:
[0101] The first acquisition module 901 is used to acquire each image and text information of the target information corresponding to the target application;
[0102] The second acquisition module 902 is used to acquire image information corresponding to each of the pictures of the target information;
[0103] The classification module 903 is used to classify the target information according to the text information of the target information and the image information corresponding to each of the pictures of the target information to obtain a classification result corresponding to the target information.
[0104] The information processing device provided in this embodiment obtains each picture and text information of the target information corresponding to the target application, obtains the image information corresponding to each picture of the target information, and classifies the target information according to the text information of the target information and the image information corresponding to each picture of the target information to obtain the classification result corresponding to the target information. Since the target information is classified in combination with the image information corresponding to each picture of the target information and the text information of the target information, the target information is classified and the classification accuracy of the information is guaranteed.
[0105] Optional, see Fig.10 , Fig.10 1 is a schematic diagram of the structure of another information processing device provided in an embodiment of the present application. The classification module 903 in the device 1000 includes:
[0106] A mapping unit 9031 is used to map all image features corresponding to the target information to a text semantic vector space to obtain an image semantic feature vector corresponding to the target information;
[0107] A conversion unit 9032, used for converting the text information of the target information to obtain a text feature vector corresponding to the target information, wherein the dimension of the image semantic feature vector is equal to the dimension of the text feature vector;
[0108] The classification unit 9033 is used to classify the target information according to the image semantic feature vector and the text feature vector corresponding to the target information to obtain a classification result corresponding to the target information.
[0109] Optionally, the classification unit 9033 is specifically used to splice the length dimension of the image semantic feature vector corresponding to the target information to the length dimension of the text feature vector to obtain a target text feature vector corresponding to the target information, wherein the target text feature vector is a text feature vector including the image semantic feature vector;
[0110] The target information is classified according to the target text feature vector corresponding to the target information to obtain a classification result corresponding to the target information.
[0111] Optionally, also include:
[0112] The first determination module 1001 is used to determine the label information of the target information according to the classification result corresponding to the target information, wherein the label information includes the level of the target information;
[0113] The second determining module 1002 is used to determine the number of target information belonging to a preset target level according to the level of the target information;
[0114] The processing module 1003 is used to display the number at a preset position corresponding to the mark of the target application and hide target information belonging to other levels, wherein the other levels are the remaining levels of the target information except the target level.
[0115] Through the information processing device provided by this embodiment, the number of normal information can be determined and displayed, so that the user can more intuitively obtain the number of normal information in the unread information and can hide junk information.
[0116] Optionally, also include:
[0117] The receiving module 1004 is used to receive a first input of the user to the target application;
[0118] The display module 1005 is used to respond to the first input and display target information belonging to the target level.
[0119] Optionally, also include:
[0120] The first determination module 1001 is further used to determine the transparency corresponding to the level of the target information;
[0121] The first determination module 1001 is further configured to determine an object label corresponding to the target information according to a color corresponding to the category of the target information and a transparency corresponding to the level of the target information;
[0122] The processing module 1003 is specifically configured to display the number at a preset position corresponding to the mark of the target application, hide the target information belonging to other levels, and display the object label corresponding to the target information belonging to other levels.
[0123] Optionally, the display module 1004 is specifically configured to respond to the first input and display target information belonging to the target level and an object label corresponding to the target information belonging to the target level.
[0124] Optionally, also include:
[0125] The receiving module 1004 is further configured to receive a second input of a target object label from a user, wherein the target object label is an object label selected by the user from object labels corresponding to target information of other levels;
[0126] The display module 1005 is further configured to respond to the second input and display target information corresponding to the target object tag.
[0127] Optionally, also include:
[0128] The processing module 1003 is further used to receive a control operation triggered by a user, and in response to the control operation, delete the target information belonging to the other level, and when it is determined that an association relationship has been established with the target electronic device, send a first deletion instruction to the target electronic device, so that the target electronic device responds to the first deletion instruction and deletes the target information belonging to the other level on the target electronic device; or,
[0129] A second deletion instruction sent by the target electronic device is received, and in response to the second deletion instruction, the target information belonging to the other level is deleted.
[0130] By sending a first deletion instruction to the target electronic device when it is determined that an association relationship has been established with the target electronic device, so that the target electronic device responds to the first deletion instruction and deletes the target information belonging to the other levels on the target electronic device, mutual cleaning of junk information among friends can be achieved. It can also be used by parents to clean up junk information on electronic devices used by their underage children.
[0131] The information processing device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. For example, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0132] The information processing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0133] The information processing device provided in the embodiment of the present application can achieve Figure 1 , Figure 2 To avoid repetition, the various processes implemented by the information processing device in the method embodiment will not be described here.
[0134] Optionally, the present application embodiment further provides an electronic device, such as Fig.11 As shown, Fig.11 1 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application. The electronic device 1100 includes a processor 1101, a memory 1102, and a program or instruction stored in the memory 1102 and executable on the processor 1101. When the program or instruction is executed by the processor 1101, each process of the above-mentioned information processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0135] It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
[0136] Fig.12 It is a schematic diagram of the hardware structure of an electronic device implementing an embodiment of the present application.
[0137] The electronic device 1200 includes but is not limited to: a radio frequency unit 1201, a network module 1202, an audio output unit 1203, an input unit 1204, a sensor 1205, a display unit 1206, a user input unit 1207, an interface unit 1208, a memory 1209, and a processor 1210.
[0138] Those skilled in the art will appreciate that the electronic device 1200 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 1210 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig.12 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0139] The processor 1210 is used to obtain each image and text information of the target information corresponding to the target application;
[0140] Acquire image information corresponding to each of the pictures of the target information;
[0141] The target information is classified according to the text information of the target information and the image information corresponding to each of the pictures of the target information to obtain a classification result corresponding to the target information.
[0142] By obtaining each picture and text information of the target information corresponding to the target application, the image information corresponding to each picture of the target information is obtained, and the target information is classified according to the text information of the target information and the image information corresponding to each picture of the target information, so as to obtain the classification result corresponding to the target information. Since the target information is classified in combination with the image information corresponding to each picture of the target information and the text information of the target information, the target information is classified, and the classification accuracy of the information is guaranteed.
[0143] The processor 1210 is further configured to map all image features corresponding to the target information to a text semantic vector space to obtain an image semantic feature vector corresponding to the target information;
[0144] Converting the text information of the target information to obtain a text feature vector corresponding to the target information, wherein the dimension of the image semantic feature vector is equal to the dimension of the text feature vector;
[0145] The target information is classified according to the image semantic feature vector and the text feature vector corresponding to the target information to obtain a classification result corresponding to the target information.
[0146] The processor 1210 is further configured to concatenate the length dimension of the image semantic feature vector corresponding to the target information to the length dimension of the text feature vector to obtain a target text feature vector corresponding to the target information, wherein the target text feature vector is a text feature vector including the image semantic feature vector;
[0147] The target information is classified according to the target text feature vector corresponding to the target information to obtain a classification result corresponding to the target information.
[0148] The processor 1210 is further configured to determine label information of the target information according to the classification result corresponding to the target information, wherein the label information includes a level of the target information;
[0149] Determining the number of target information belonging to a preset target level from the levels of the target information;
[0150] The number is displayed at a preset position corresponding to the mark of the target application, and target information belonging to other levels is hidden, wherein the other levels are the remaining levels of the target information except the target level.
[0151] The processor 1210 is further configured to receive a first input from a user to the target application;
[0152] In response to the first input, target information belonging to the target level is displayed.
[0153] The tag information also includes a color corresponding to the category of the target information; the processor 1210 is further configured to determine a transparency corresponding to the level of the target information;
[0154] Determine an object label corresponding to the target information according to a color corresponding to the category of the target information and a transparency corresponding to the level of the target information;
[0155] The number is displayed at a preset position corresponding to the mark of the target application, and the target information belonging to the other levels is hidden, and the object label corresponding to the target information belonging to the other levels is displayed.
[0156] The processor 1210 is further configured to, in response to the first input, display target information belonging to the target level and an object label corresponding to the target information belonging to the target level.
[0157] The processor 1210 is further configured to receive a second input of a target object tag from a user, wherein the target object tag is an object tag selected by the user from object tags corresponding to target information belonging to other levels;
[0158] In response to the second input, target information corresponding to the target object tag is displayed.
[0159] The processor 1210 is further configured to receive a control operation triggered by a user, and in response to the control operation, delete the target information belonging to the other level, and, if it is determined that an association relationship has been established with the target electronic device, send a first deletion instruction to the target electronic device, so that the target electronic device responds to the first deletion instruction and deletes the target information belonging to the other level on the target electronic device; or,
[0160] A second deletion instruction sent by the target electronic device is received, and in response to the second deletion instruction, the target information belonging to the other level is deleted.
[0161] The embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned information processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0162] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0163] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned information processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0164] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0165] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0166] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0167] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. An information processing method, It is characterized in that The method comprises: Get each image and text information of the target information corresponding to the target application; Acquire image information corresponding to each of the pictures of the target information; Classify the target information according to the text information of the target information and the image information corresponding to each of the pictures of the target information to obtain a classification result corresponding to the target information; Determining the level of the target information according to the classification result corresponding to the target information; According to the level of the target information, determining the number of target information belonging to a preset target level; Displaying the number at a preset position corresponding to the mark of the target application, hiding target information belonging to other levels except the target level, and displaying object labels corresponding to the target information belonging to the other levels; wherein the object label corresponding to the target information is determined according to the color corresponding to the category of the target information and the transparency corresponding to the level of the target information; receiving a control operation triggered by a user, and in response to the control operation, deleting the target information belonging to the other level, and sending a first deletion instruction to the target electronic device when it is determined that an association relationship has been established with the target electronic device, so that the target electronic device responds to the first deletion instruction and deletes the target information belonging to the other level on the target electronic device; The method further comprises: receiving a first input from a user on the target application; In response to the first input, displaying target information belonging to the target level and object labels corresponding to the target information belonging to the target level; The method further comprises: receiving a second input of a target object tag by a user, wherein the target object tag is an object tag selected by the user from object tags corresponding to target information belonging to other levels; In response to the second input, target information corresponding to the target object tag is displayed.
2. The method according to claim 1, It is characterized in that The image information includes image features; the target information is classified according to the text information of the target information and the image information corresponding to each of the pictures of the target information to obtain a classification result corresponding to the target information, including: Mapping all image features corresponding to the target information to a text semantic vector space to obtain an image semantic feature vector corresponding to the target information; Converting the text information of the target information to obtain a text feature vector corresponding to the target information, wherein the dimension of the image semantic feature vector is equal to the dimension of the text feature vector; The target information is classified according to the image semantic feature vector and the text feature vector corresponding to the target information to obtain a classification result corresponding to the target information.
3. The method according to claim 2, It is characterized in that The step of classifying the target information according to the image semantic feature vector and the text feature vector corresponding to the target information to obtain a classification result corresponding to the target information includes: Splicing the length dimension of the image semantic feature vector corresponding to the target information to the length dimension of the text feature vector to obtain a target text feature vector corresponding to the target information, wherein the target text feature vector is a text feature vector including the image semantic feature vector; The target information is classified according to the target text feature vector corresponding to the target information to obtain a classification result corresponding to the target information.
4. The method according to claim 1, It is characterized in that Display object labels corresponding to target information belonging to the target level, including: Determine the transparency corresponding to the level of the target information; The object label corresponding to the target information is determined according to the color corresponding to the category of the target information and the transparency corresponding to the level of the target information.
5. The method according to claim 1, It is characterized in that After displaying the number at a preset position corresponding to the mark of the target application, hiding target information belonging to other levels except the target level, and displaying the object labels corresponding to the target information belonging to other levels, the method further includes: A second deletion instruction sent by the target electronic device is received, and in response to the second deletion instruction, the target information belonging to the other level is deleted.
6. An information processing device, It is characterized in that The device comprises: The first acquisition module is used to acquire each image and text information of the target information corresponding to the target application; A second acquisition module, used for acquiring image information corresponding to each of the pictures of the target information; A classification module, for classifying the target information according to the text information of the target information and the image information corresponding to each of the pictures of the target information, so as to obtain a classification result corresponding to the target information; A first determination module, configured to determine the level of the target information according to the classification result corresponding to the target information; A second determination module, configured to determine the number of target information belonging to a preset target level according to the level of the target information; a processing module, configured to display the number at a preset position corresponding to the mark of the target application, hide target information belonging to other levels except the target level, and display object labels corresponding to the target information belonging to the other levels; wherein the object labels corresponding to the target information are determined according to the color corresponding to the category of the target information and the transparency corresponding to the level of the target information; The processing module is further used to receive a control operation triggered by a user, and in response to the control operation, delete the target information belonging to the other level, and, if it is determined that an association relationship has been established with the target electronic device, send a first deletion instruction to the target electronic device, so that the target electronic device responds to the first deletion instruction and deletes the target information belonging to the other level on the target electronic device; The device also includes: A receiving module, configured to receive a first input from a user to the target application; The display module is used to respond to the first input and display the target information belonging to the target level and the object label corresponding to the target information belonging to the target level; the receiving module is also used to receive a second input of the user on the target object label, wherein the target object label is an object label selected by the user from the object labels corresponding to the target information belonging to the other levels; The display module is further used to respond to the second input and display the target information corresponding to the target object tag.
7. An electronic device, It is characterized in that The method comprises a processor, a memory and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the information processing method as described in any one of claims 1 to 5.
