Method of classifying information, related apparatus and computer program product

By combining the text recognition results of object identification and the text content of the information to be published, the information to be classified is generated and the release strategy is determined based on the information, which solves the problems of low accuracy and quality in the information release and classification process, and achieves more efficient Information processing and classification.

CN118940116AActive Publication Date: 2024-11-12SHANGHAI BILIBILI TECH CO LTD
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
CN202410994031.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-23
Publication Date
2024-11-12
Estimated Expiration
2044-07-23

AI Technical Summary

Technical Problem

During the process of information release and classification, it is difficult for the prior art to ensure the accuracy and quality of information, especially when there is no connection between users. The sharing and communication of information may lead to inaccurate information reading and low classification quality. .

Method used

By obtaining the combination of the text recognition results of the object identification and the text content of the information to be published, information to be classified is generated, and the corresponding publishing strategy is determined based on the information, thereby achieving more accurate information classification.

Benefits of technology

It improves the quality of information processing and classification, avoids the problems of inaccurate information reading and low classification quality caused by combined form release, and improves the accuracy and efficiency of information release.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118940116A_ABST
    Figure CN118940116A_ABST
Patent Text Reader

Abstract

The invention provides an information classification method, a related device and a computer program product, and the method comprises the steps: obtaining an object identifier of a target object requesting to publish to-be-published information in response to a received publishing request for publishing the to-be-published information; at least combining the character recognition result of the object identifier with the character content of the to-be-published information to generate to-be-classified information; and in response to the situation that the to-be-classified information does not include the target content of the preset type, classifying the to-be-published information into information of a target type. Therefore, the classification performance and quality of the information content can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method and device for classifying information, an electronic device, a computer-readable medium, and a computer program product. Background Art

[0002] With the development of society, computer technology is also improving day by day. The Internet can provide a platform for users to communicate, so that users can communicate, exchange and share content with other users by posting videos and information on the Internet. For example, users can achieve "online communication" with other users by posting information.

[0003] In this context, in order to facilitate users to obtain content and communicate with other users, "platforms" came into being. Accordingly, the existence of "platforms" enables different users to share and communicate content without establishing contact relationships such as friendships. Therefore, how to ensure the safety, friendliness and health of communication on the platform and the quality of shared information is worthy of attention and urgent need. Summary of the invention

[0004] Multiple aspects of the present application provide a method, device, electronic device, computer-readable storage medium, and computer program product for classifying information, which can determine the complete content of "information that actually needs to be classified" based on the information to be published that the combined object expects to publish and the content after the object is identified, and execute the corresponding publishing strategy based on the classification result of the classified information. In this way, the information that needs to be classified can be determined more completely and accurately, avoiding the problem of inaccurate information reading and low classification quality caused by publishing and providing information in a combined form, thereby improving the quality of information processing and classification.

[0005] In one aspect of the present application, a method for classifying information is provided, comprising: in response to receiving a publishing request for publishing information to be published, obtaining an object identifier of a target object for which the information to be published is requested; combining at least a text recognition result of the object identifier and text content of the information to be published to generate information to be classified; and in response to the information to be classified not including target content of a preset type, classifying the information to be published as information of a target type.

[0006] In another aspect of the present application, a device for classifying information is provided, including: an object identification acquisition unit, configured to obtain the object identification of the target object for requesting to publish the information to be published in response to receiving a publishing request for publishing the information to be published; a to-be-classified information generation unit, configured to combine at least a text recognition result of the object identification and the text content of the information to be published to generate the information to be classified; a first information classification unit, configured to classify the information to be published as information of a target type in response to the information to be classified not including a preset type of target content.

[0007] Another aspect of the present application provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the method for classifying information provided above.

[0008] In another aspect of the present application, a computer-readable storage medium is provided, on which computer program instructions are stored. The computer program instructions can be executed by a processor to implement the method for classifying information provided above.

[0009] In another aspect of the present application, a computer program product includes a computer program having computer program instructions stored thereon. When the computer program is executed by a processor, the method for classifying information provided above can be implemented.

[0010] In the solution provided by the embodiment of the present application, in response to receiving a publishing request for publishing information to be published, the object identifier of the target object requesting to publish the information to be published is obtained; at least the text recognition result of the object identifier and the text content of the information to be published are combined to generate information to be classified; in response to the information to be classified not including the target content of the preset type, the information to be published is classified into information of the target type. In this way, the information to be published that the object expects to publish and the object identifier can be combined to obtain a complete "information to be classified" for classification, and the corresponding publishing strategy can be determined based on the result of the information to be classified. In this way, the classification performance and quality of the information published by the object can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] In order to more clearly illustrate the technical solutions in the embodiments of the present application, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0012] Other features, objects and advantages of the present application will become more apparent by reading the detailed description of non-limiting embodiments made with reference to the following drawings:

[0013] Figure 1 A schematic diagram of a process of classifying information provided by an embodiment of the present application;

[0014] Figure 2 A schematic diagram of a process for obtaining an object identifier provided in an embodiment of the present application;

[0015] Figure 3 A schematic diagram of another process for obtaining an object identifier provided by another embodiment of the present application;

[0016] Figure 4 A schematic diagram of a process of classifying information in an application scenario provided by an embodiment of the present application;

[0017] Figure 5 A schematic diagram of the structure of an apparatus for classifying information provided in an embodiment of the present application;

[0018] Figure 6 The present invention is a schematic diagram of the structure of an electronic device suitable for implementing the solution in the embodiment of the present application.

[0019] The same or similar reference numerals in the drawings represent the same or similar components. DETAILED DESCRIPTION

[0020] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings 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.

[0021] In a typical configuration of the present application, the terminal and the equipment of the service network each include one or more processors (CPU), input / output interface, network interface and memory.

[0022] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0023] Computer readable media include permanent and non-permanent, removable and non-removable media, and can be implemented by any method or technology to store information. Information can be computer program instructions, data structures, modules of programs or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.

[0024] In actual scenarios, the execution subject of the method can be an object device, or a device formed by integrating an object device and a network device through a network, or an application running on the above device. The object device includes but is not limited to various terminal devices such as computers, mobile phones, tablet computers, smart watches, and bracelets. The network device includes but is not limited to network hosts, single network servers, multiple network server sets, or cloud computing-based computer sets. Here, the cloud is composed of a large number of hosts or network servers based on cloud computing, where cloud computing is a type of distributed computing, a virtual computer composed of a group of loosely coupled computer sets.

[0025] When the execution subject is software, it can be installed in the electronic devices listed above. It can be implemented as multiple software or software modules, or as a single software or software module, and no specific limitation is made here.

[0026] It should be understood that in the technical solutions involved in this application, the acquisition, storage, use, processing, transportation, provision and disclosure of the personal information of the objects involved (for example, the information to be published by users and objects involved in this application later, object identification, etc.) are in compliance with the relevant laws and regulations and do not violate public order and good morals.

[0027] Figure 1 A process 100 of classifying information provided by an embodiment of the present application is shown. The process 100 at least includes the following processing steps:

[0028] (Step) S101, in response to receiving a publishing request for publishing information to be published, obtaining an object identifier of a target object for requesting to publish the information to be published.

[0029] In an embodiment of the present application, exemplarily, in the case of an execution entity such as a server used by a service provider of a platform, an object (e.g., a user requesting to publish information) can communicate with the execution entity through the terminal device used by it to publish information (e.g., post comments, dynamics, or upload object content, etc.).

[0030] It should be understood that the selection of the above-mentioned execution subject is only for exemplary purposes. In some scenarios, the execution subject may also be a terminal device used by the object, so that the object can classify the information locally while publishing the information.

[0031] When the executing subject receives a publishing request from an object (for ease of understanding, it can be described as a "target object") to publish information to be published (for example, comments and dynamics to be published), it can respond to it and obtain the object identification of the target object that requests to publish the information to be published. The object identification can generally include content that can be associated with the object, presented to other objects to indicate the identity of the object, and allowed to be modified by the object. For example, the object identification can include the object avatar, object name, etc. of the object. For example, after receiving the publishing request of the target object, the executing subject can obtain the object avatar and object name (in some scenarios, the object name can also be called the "object nickname") currently used by the target object to identify the object itself in the platform.

[0032] S102, combining at least the text recognition result of the object identifier and the text content of the information to be published to generate the information to be classified.

[0033] In an embodiment of the present application, after obtaining the object identifier based on the above step S101, the execution subject can "textualize" the object identifier to obtain the text recognition result of the object identifier. For example, for an object identifier in the form of an avatar, the execution subject can detect whether the avatar includes text content. If it does, the execution subject can extract the text content as the text recognition result of the "avatar". Correspondingly, for the object name and nickname, the execution subject can directly use them as the "text recognition result".

[0034] Then the execution subject at least combines the text recognition result of the object identifier and the text content of the information to be released to generate the information to be classified. Similarly, for the text content of the information to be released, the execution subject can directly use it as "text content". In some embodiments, if the information to be released includes image content, the execution subject can also include the text recognition result of the image content into the text content of the information to be released, so as to more accurately determine the content in the information to be released and classify it. In this way, it is avoided that when the object provides content in the form of an image, it is only classified based on the "original text content", which may potentially cause "omissions".

[0035] Next, the execution subject may combine the text recognition result and the text content to obtain the information to be classified, for example, by concatenating the text content of the information to be published after the text recognition result, or by concatenating the text content of the information to be published before the text recognition result.

[0036] In some embodiments, the execution subject can also realize the combination of the two through a pre-trained combination model, and the combination model can determine the way to combine the text content and the text recognition result based on the semantic analysis results of the text recognition result and the text content. For example, the combination model can obtain the readability, clarity, and semantics of each combination result in various combination methods, and then use the most "fluent" result (for example, the combination result with the highest readability and clarity) as the information to be classified. For example, the combination model can obtain the first combination result by "joining the text content of the information to be released to the text recognition result" and the second combination result by "joining the text content of the information to be released to the text recognition result". Exemplarily, if the semantic clarity and readability of the first combination result are higher than those of the second combination result, the execution subject can choose to use the first combination result as the information to be classified.

[0037] S103, detecting whether the information to be classified includes target content of a preset type.

[0038] In an embodiment of the present application, after obtaining the information to be classified based on the above S102, the execution subject can classify the information to be classified through a pre-configured classification strategy, a pre-trained classification model, etc. to determine whether it meets the publishing requirements. For example, detect whether the information to be classified includes a preset type of target content. The preset type can be preset according to the classification requirements (for example, it can be a content type for which the object lacks publishing authority). Accordingly, in the case of including such a preset type of content, the object actually lacks publishing authority for the information to be published. Accordingly, for such information to be published, it may be refused to provide publishing services by the execution subject.

[0039] Furthermore, if the execution subject determines that the information to be classified does not include target content of a preset type, S104 may be continued to be executed.

[0040] S104, classifying the information to be released into target type information.

[0041] In an embodiment of the present application, the executing subject may classify the information to be published as information of a target type when it is determined that the information to be classified does not exist or does not include target content of a preset type. For example, such a target type may be a "target type" or "target classification" that "has publishing authority" and allows the publishing service provided by the executed subject. For example, for such a target type of "information to be published", the executing subject may, according to the indication of the target object, move it to the corresponding information browsing area (for example, present the qualified information in the information area). Or in some scenarios, the executing subject may also provide the result to other subjects used to publish information to indicate that other subjects can publish and are allowed to publish the "target type of information".

[0042] In some embodiments, the above process 100 may further include S105, which may be selected and executed by the execution subject when the execution subject determines that the information to be classified includes target content of a preset type.

[0043] S105, classifying the information to be released as non-target type information.

[0044] Specifically, for information to be classified that has target content, the executing subject can determine that the object may change the information content by at least combining the information content and the object identifier, thereby interfering with the classification process of the executing subject (for example, interfering with the executing subject by splicing at least part of the content in the object identifier and at least part of the content in the information to be published, in the expectation that the executing subject will mistakenly classify it from "non-target type" to "target type"). Therefore, for information to be classified that has target content, the executing subject can classify the information to be published as non-target type information accordingly. In this way, it is avoided that the object "interferes with classification" by combining the information content and the object identifier.

[0045] In some embodiments, after the execution subject classifies the information to be published as non-target type information, it can also choose to replace the object identifier with a pre-configured target identifier to eliminate "interference". For example, the object identifier of the target object is replaced with a default object identifier (default object avatar, object name). In this way, the interference behavior of the target object is eliminated.

[0046] Subsequently, the method for classifying information provided by the present application can more completely and accurately determine the information that needs to be classified, avoiding the problems of inaccurate information reading and low classification quality caused by publishing and providing information in a combined form, thereby improving the quality of information processing and classification.

[0047] In some embodiments, in order to improve classification efficiency, you can also choose to classify "objects" to reduce the number of objects that need to be classified. This allows computing power to focus more efficiently on objects that may "interfere with or mislead classification" to improve classification efficiency and capabilities.

[0048] For this, please refer to Figure 2 . Figure 2 A process 200 for obtaining an object identifier provided by an embodiment of the present application is shown. For example, process 200 can be used as an alternative or replacement for S102 in the above process 100. Process 200 includes at least the following processing steps:

[0049] S201 , in response to receiving a publishing request for publishing information to be published, detecting whether a target object has updated an object identifier in a historical time period before a current moment.

[0050] Specifically, in this embodiment, in response to receiving a publishing request for publishing information to be published, the execution subject may first detect whether the target object has updated the object identification (for example, updated the avatar, updated the object name) in the historical time period before the current moment (for the convenience of description, it is described as the first historical time period). For example, the first historical time period can be obtained based on the results of a preliminary analysis of the behavior of "interfering with classification" by publishing information after changing the avatar. For example, for object A, if it publishes information after updating its avatar, and "interferes with classification" by combining the avatar and information, the execution subject can use the time from updating the avatar to publishing the information as a reference. Accordingly, the execution subject can construct a behavior model through the behavior of a large number of objects that "interfere with classification" to determine the scope of the "first historical time period".

[0051] Accordingly, the execution subject can "classify" the object by detecting whether the target object has updated the object identification in the historical time period before the current moment, so as to identify the object that is more likely to send combined information to "interfere with classification" by updating the object identification.

[0052] Next, when the target object updates the object identifier in the first historical time period, the execution subject responds and executes S202.

[0053] S202: Obtain the object identifier of the target object for which the information to be published is requested to be published.

[0054] It should be understood that in this step, the execution subject can choose to obtain only the updated object identifiers (i.e., the object identifiers with update behavior) to perform targeted detection. In some embodiments, in order to avoid interference with classification by objects through batch updates (for example, updating the avatar first and then updating the name after a period of time), the execution subject can also choose to obtain all the object identifiers that can be obtained at the same time (i.e., not just the object identifiers with update behavior).

[0055] In some embodiments, the execution subject can also determine whether the object may use the combination form to interfere with the classification by analyzing the text content of the information to be released. For example, "focusing" on those "information to be released" that may use the information to be released to "hint" other objects to obtain the complete meaning by combining "object identifier and information to be released" to classify the "combination form".

[0056] For this, please refer to Figure 3 . Figure 3 Another process 300 for obtaining an object identifier provided by another embodiment of the present application is shown. For example, process 300 can be used as an alternative or replacement for S102 in the above process 100. Process 300 includes at least the following processing steps:

[0057] S301, in response to receiving a publishing request for publishing information to be published, reading text content of the information to be published.

[0058] Specifically, in response to receiving a publishing request for publishing information to be published, the execution subject may first read the text content of the information to be published.

[0059] S302, detecting whether the text content includes key information pointing to the object identifier.

[0060] Specifically, the execution subject detects the text content read out by S301 to determine whether it includes key information pointing to the object identifier. For example, the key information may be "see avatar", "see name", etc. The type of key information may also be adjusted and determined based on the form and style of the information display area. For example, in a scene where the information display area is designed with the avatar on the left side of the comment content display position, the key information may also be "look left", "←", etc.

[0061] Accordingly, if the executing subject detects that the text content includes key information pointing to the object identifier, the object may "may interfere with classification behavior by using the combination form" and chooses to continue executing S303 to "obtain the object identifier of the target object requested to publish the information to be published."

[0062] S303: Obtain the object identifier of the target object for which the information to be published is requested to be published.

[0063] Accordingly, in the case where the text content does not include key information pointing to the object identifier, the execution subject can choose to directly detect whether the target content is included in the text content to determine whether the information to be released is information of the target classification. In this way, the classification efficiency can be improved by "classifying objects" in different classification dimensions (that is, for possible classification interference behaviors using combination forms, at least the text recognition results of the object identifier and the text content of the information to be released are combined to generate information to be classified).

[0064] For ease of understanding, illustratively, the process 300 may further include S304 , S305 , and S306 .

[0065] S304: Detect whether the text content includes the target content.

[0066] S305, classifying the information to be released into target type information.

[0067] S306: Classify the information to be released as non-target type information.

[0068] S304 can be executed when the execution subject determines based on the above S302 that the text content does not include key information pointing to the object identifier. Correspondingly, S305 can be executed when the execution subject determines that the text content does not include the target content after executing S304. S306 can be executed when the execution subject determines that the text content includes the target content after executing S304.

[0069] The detection method of S304 is similar to that discussed in S103 of the above process 100, and will not be repeated here.

[0070] Similarly, in some embodiments, in process 200, when the target object does not update the object identifier in the first historical time period, the text content of the information to be published can be directly classified to determine whether the information to be published is of the target type, which will not be repeated.

[0071] On the basis of any of the above embodiments, in some embodiments, in order to avoid the object "interfering with classification" by splitting multiple pieces of information, the execution subject can also detect whether the target object has published historical information in the historical time period before the current moment (for the convenience of description, it is described as the second historical time period) when responding to the publishing request for publishing the information to be published. For example, the second historical time period can be determined based on the analysis results of the behavior of the historical object that "interferes with classification" by such "continuous sending behavior" in advance.

[0072] Accordingly, if the executing subject detects the existence of such historical information, the executing subject may, as an alternative or substitute, choose to combine the text content of the historical information, the text recognition result of the object identifier, and the text content of the information to be published in the process of executing the above S102 to generate the information to be classified for subsequent classification. The method of generating the text content of the historical information is similar to the method of generating the text content of the information to be published, and will not be repeated here. Therefore, in the case of the existence of historical information that meets the requirements, the information to be classified can combine multiple pieces of information and object identifiers of the object to more comprehensively determine whether the object uses a series of information and object identifiers to split the expressed content to "interfere with classification" and improve detection performance.

[0073] To deepen understanding, this application also provides a specific implementation solution in combination with a specific application scenario. Figure 4 , Figure 4 A schematic diagram of a process 400 of classifying information in an application scenario provided by an embodiment of the present application. In the process 400, for example, the information may be classified by a server 410.

[0074] Specifically, for example, object 420 communicates with server 410 and executes S401 to request server 410 to publish information 425. Accordingly, server 410 can respond to this, obtain information 425 to be published, and execute S402 to detect whether object 420 has updated its object identifier in the historical time period before the current moment.

[0075] Exemplarily, the object 420 has updated its avatar and name within the historical time period, and the server 410 continues to execute S403 to obtain the object identification of the object 420. For example, the object avatar 430 and the object name 435 are obtained.

[0076] Then, the server 410 executes S404 to combine the text content "XX" in the information to be published 425, the text recognition result "YY" of the object avatar 430 and the object name 435 "ZZ" to obtain the information to be classified 440. Exemplarily, the information to be classified 440 may be in the form of "XXYYZZ".

[0077] Then, the server 410 executes S405 to detect whether the information to be classified 440 includes the target content (of a preset type). Exemplarily, the target content may be in the form of "XY", that is, the server 410 can determine that the information to be classified 440 includes the preset type of target content by detecting that the information to be classified 440 includes "XY", and determine the information to be published 425 as non-target type information.

[0078] Or, in some other examples, if the format of the preset type of target content is exemplified as "ZY", the to-be-published information 425 may be correspondingly determined as information of the target type.

[0079] The present application also provides a device for classifying information. The structure of the device is as follows: Figure 5 The device 500 shown. The device 500 includes: an object identification acquisition unit 510, configured to, in response to receiving a publishing request for publishing information to be published, acquire the object identification of the target object for requesting to publish the information to be published; a to-be-classified information generation unit 520, configured to combine at least the text recognition result of the object identification and the text content of the information to be published to generate the information to be classified; a first information classification unit 530, configured to, in response to the information to be classified not including the target content of the preset type, classify the information to be published into information of the target type.

[0080] In some embodiments, the object identification acquisition unit includes: an identification update detection subunit, which is configured to detect whether the target object has updated the object identification in a first historical time period before the current moment in response to receiving a publishing request to publish information to be published; and a first object identification acquisition subunit, which is configured to obtain the object identification of the target object requested to publish information to be published in response to the target object updating the object identification in the first historical time period.

[0081] In some embodiments, the object identification acquisition unit includes: a text content reading subunit, configured to read the text content of the information to be published in response to receiving a publishing request to publish the information to be published; a second object identification acquisition subunit, configured to obtain the object identification of the target object for which the information to be published is requested to be published in response to the text content including key information pointing to the object identification.

[0082] In some embodiments, the device 500 also includes: a target content detection unit, configured to detect whether the text content includes target content in response to the text content not including key information pointing to the object identifier; a first information classification unit 530, configured to also classify the information to be published as target type information in response to the text content not including the target content.

[0083] In some embodiments, the target object has published historical information in a second historical time period before the current moment, and the information to be classified generating unit 520 is further configured to combine the text content of the historical information, the text recognition result of the object identifier and the text content of the information to be published to generate the information to be classified.

[0084] In some embodiments, the information to be published includes image content, and the text content of the information to be published includes text recognition results of the image content.

[0085] In some embodiments, the apparatus 500 further includes: a second information classification unit configured to classify the information to be published as non-target type information in response to the information to be classified including target content.

[0086] In some embodiments, the apparatus 500 further includes: an object identifier replacement unit configured to replace the object identifier with a preconfigured target identifier.

[0087] Based on the same inventive concept, an electronic device, a readable storage medium and a computer program product are also provided in an embodiment of the present application. The method corresponding to the electronic device may be the method for classifying information in the aforementioned embodiment, and its principle of solving the problem is similar to that of the method. The electronic device provided in an embodiment of the present application includes: at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the methods and / or technical solutions of the aforementioned multiple embodiments of the present application.

[0088] The electronic device may be a user device, or a device formed by integrating a user device and a network device through a network, or an application running on the above device. The user device includes but is not limited to various terminal devices such as computers, mobile phones, tablet computers, smart watches, and bracelets. The network device includes but is not limited to network hosts, single network servers, multiple network server sets, or cloud computing-based computer sets, which can be used to implement some processing functions when setting an alarm. Here, the cloud is composed of a large number of hosts or network servers based on cloud computing, where cloud computing is a type of distributed computing, a virtual computer composed of a group of loosely coupled computer sets.

[0089] Figure 6 The structure of an electronic device suitable for implementing the method and / or technical solution in the embodiment of the present application is shown, and the electronic device 600 includes a central processing unit (CPU, Central Processing Unit) 601, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM, Read Only Memory) 602 or the program loaded from the storage part 608 to the random access memory (RAM, Random Access Memory) 603. In RAM 603, various programs and data required for system operation are also stored. CPU 601, ROM 602 and RAM 603 are connected to each other through bus 604. Input / output (I / O, Input / Output) interface 605 is also connected to bus 604.

[0090] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, a touch screen, a microphone, an infrared sensor, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal display (LCD), an LED display, an OLED display, etc., and a speaker, etc.; a storage section 608 including one or more computer-readable media such as a hard disk, an optical disk, a magnetic disk, a semiconductor memory, etc.; and a communication section 609 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet.

[0091] In particular, the methods and / or embodiments in the embodiments of the present application may be implemented as computer software programs. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart. When the computer program is executed by the central processing unit (CPU) 601, the above functions defined in the method of the present application are executed.

[0092] Another embodiment of the present application further provides a computer-readable storage medium and a computer program product, on which computer program instructions are stored. The computer program instructions can be executed by a processor to implement the methods and / or technical solutions of any one or more embodiments of the present application.

[0093] Specifically, the present embodiment can adopt any combination of one or more computer-readable media. Computer-readable media can be computer-readable signal media or computer-readable storage media. Computer-readable storage media can be, for example, systems, devices or devices including but not limited to electricity, magnetism, light, electromagnetic, infrared, or semiconductors, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In this document, computer-readable storage media can be any tangible medium containing or storing a program, which can be used by an instruction execution system, device or device or used in combination with it.

[0094] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer readable signal media may also be any computer readable medium other than a computer readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0095] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0096] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a 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 may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0097] The flow chart or block diagram in the accompanying drawings shows the possible architecture, function and operation of the equipment, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated system for hardware that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0098] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0099] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of modules and units is only a logical function division. There may be other division methods in actual implementation. For example, with units as an example, multiple units or page components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0100] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0101] In addition, each functional module or unit in each embodiment of the present application may be integrated into one processing module or unit, or each module or unit may exist physically separately, or two or more units may be integrated into one module or unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional modules or units.

[0102] The above-mentioned integrated modules and units implemented in the form of software function modules and units can be stored in a computer-readable storage medium. The above-mentioned software function modules and units are stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (processor) to perform some steps of the methods of each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program codes.

[0103] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.

[0104] In addition, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in a device claim can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.

Claims

1. A method for classifying information, comprising: In response to receiving a publishing request for publishing the information to be published, obtaining an object identifier of a target object for which publishing of the information to be published is requested; At least combining the text recognition result of the object identifier and the text content of the information to be published to generate the information to be classified; In response to the information to be classified not including target content of a preset type, the information to be published is classified as information of a target type.

2. The method according to claim 1, wherein: The step of obtaining the object identifier of the target object for requesting to publish the information to be published in response to receiving the publishing request for publishing the information to be published comprises: In response to receiving a publishing request for publishing information to be published, detecting whether the target object has updated the object identifier in a first historical time period before the current moment; In response to the target object updating the object identifier in the first historical time period, the object identifier of the target object requesting to publish the information to be published is obtained.

3. The method according to claim 1, wherein: The step of obtaining the object identifier of the target object for requesting to publish the information to be published in response to receiving the publishing request for publishing the information to be published comprises: In response to receiving a publishing request for publishing the information to be published, reading text content of the information to be published; In response to the text content including key information pointing to the object identifier, the object identifier of the target object for which the information to be published is requested to be published is obtained.

4. The method according to claim 3, further comprising: In response to the text content not including key information pointing to the object identifier, detecting whether the text content includes the target content; In response to the text content not including the target content, the to-be-published information is classified as information of the target type.

5. The method according to claim 1, wherein: The target object has published historical information in a second historical time period before the current moment, and the step of combining at least the text recognition result of the object identifier and the text content of the information to be published to generate the information to be classified includes: The text content of the historical information, the text recognition result of the object identifier and the text content of the information to be released are combined to generate the information to be classified.

6. The method according to claim 1, wherein: The information to be published includes image content, and the text content of the information to be published includes a text recognition result of the image content.

7. The method according to any one of claims 1 to 6, further comprising: In response to the information to be classified including the target content, the information to be published is classified as non-target type information.

8. A device for classifying information, comprising: An object identification acquisition unit is configured to, in response to receiving a publishing request for publishing the information to be published, acquire an object identification of a target object for which the information to be published is requested to be published; The to-be-classified information generating unit is configured to combine at least the text recognition result of the object identifier and the text content of the to-be-published information to generate the to-be-classified information; The first information classification unit is configured to classify the information to be published into information of a target type in response to the information to be classified not including target content of a preset type.

9. An electronic device, comprising: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 7.

10. A computer readable medium having computer program instructions stored thereon, wherein the computer program instructions can be executed by a processor to implement the method according to any one of claims 1 to 7.

11. A computer program product, comprising a computer program, which, when executed by a processor, implements the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Interactive comment interaction method and device

    CN107038023A

  • Method, device, network equipment and system for publishing content information

    CN109582896A

  • Comment information processing method and device, electronic equipment and storage medium

    CN110647827A

  • Bullet screen generation method and device, equipment and storage medium

    CN112188275A

  • Text identification method and device, computer readable medium and electronic equipment

    CN113761190A