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

By setting the primary and secondary input areas and rating selectors in the application, and using machine learning to generate title information, the problem of high difficulty in comment editing and low information reference value is solved, and efficient and convenient comment editing and information quality improvement are achieved.

CN118732887AActive Publication Date: 2024-10-01TENCENT TECH (BEIJING) CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202310331684.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-30
Publication Date
2024-10-01
Estimated Expiration
2043-03-30

AI Technical Summary

Technical Problem

Editing of the comment function in existing applications is difficult and time-consuming, affecting efficiency and interest. Moreover, the objectivity and usability of comment information are low, making it difficult to provide high reference value.

Method used

Provide a method for processing comment information. By setting the main input area and the secondary input area in the comment editing interface, the title information is displayed in the secondary input area to help users organize the review content, and the title information is generated by combining the rating selector and the machine learning model. Reduce the difficulty of editing and improve the reference value of comment information.

Benefits of technology

Effectively reduce the difficulty of editing comment information, improve the editing efficiency and reference value of comment information, provide flexible and convenient comment editing methods, and enhance the objectivity and usability of comment information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118732887A_ABST
    Figure CN118732887A_ABST
Patent Text Reader

Abstract

The invention discloses a comment information processing method and apparatus, an electronic device and a storage medium, when a target object comments a target product, a comment initiation operation is triggered, and a terminal device displays a comment editing interface. The comment editing interface comprises a main input area and at least one auxiliary input area, and title information is displayed in the auxiliary input area; after the target object completes editing operation in the main input area and the auxiliary input area, comment ending operation is triggered, all content in the main input area and all content in the edited auxiliary input area can be integrated, target comment information is obtained and displayed, and the auxiliary input area which is not edited is discarded. According to the method, a flexible and convenient comment editing mode can be provided for the target object, the editing difficulty of the comment information can be reduced, and the reference value of the comment information can be improved. The technical scheme of the invention can be widely applied to the technical field of information processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information processing technology, and in particular to a method, device, electronic device and storage medium for processing comment information. Background Art

[0002] Nowadays, with the popularization and rapid development of the Internet, network applications have gradually integrated into people's lives, providing people with a variety of services. For example, video playback applications can play various film and television works, bringing rich audio-visual entertainment experience to the audience; online shopping applications can support online shopping, improving the convenience and efficiency of shopping.

[0003] In the related art, in order to make it easier for more people to understand the characteristics of the product, comment-related functions are often set up in the application. When browsing products, you can refer to other people's comments on the product to decide whether to use or purchase the product. However, the comment function configured in the current application generally relies entirely on the commentator to enter the information by himself, and only supports the copy and paste, conjunction prompts, etc. provided by the text editing software, which makes the editing of comment information difficult and time-consuming, affecting people's efficiency and interest in commenting. Moreover, some commentators lack the understanding of the product and the ability to express and summarize, so it is difficult to organize and give comment information with high reference value, resulting in reduced objectivity and usability of the comment information.

[0004] In summary, the technical problems existing in the relevant technologies need to be improved. Summary of the invention

[0005] The embodiments of the present application provide a method, device, electronic device and storage medium for processing comment information, which can effectively reduce the difficulty of editing comment information and help improve the reference value of comment information.

[0006] An aspect of an embodiment of the present application provides a method for processing comment information, comprising the following steps:

[0007] In response to the target object initiating a comment operation on the target product, a comment editing interface is displayed; the comment editing interface includes a main input area and at least one secondary input area, and title information is displayed in each of the secondary input areas;

[0008] When the input focus is in the main input area, in response to a first input operation of the target object, displaying first content information in the main input area;

[0009] When the input focus is on the secondary input area, in response to a second input operation of the target object, second content information is displayed in the secondary input area, wherein the second content information includes the title information and information input by the second input operation;

[0010] In response to a comment ending operation of the target object, target comment information is displayed, wherein the target comment information includes the first content information and the second content information.

[0011] On the other hand, an embodiment of the present application provides a comment information processing device, including:

[0012] An initiating unit, configured to display a review editing interface in response to a review initiation operation of a target object on a target product; the review editing interface comprises a main input area and at least one secondary input area, and title information is displayed in each of the secondary input areas;

[0013] A first input unit, configured to display first content information in the main input area in response to a first input operation of the target object when the input focus is in the main input area;

[0014] a second input unit, configured to display second content information in the secondary input area in response to a second input operation of the target object when the input focus is in the secondary input area, wherein the second content information includes the title information and information input by the second input operation;

[0015] A display unit is configured to display target comment information in response to a comment ending operation of the target object, wherein the target comment information includes the first content information and the second content information.

[0016] Optionally, the review editing interface further includes a rating area, in which a rating selector is displayed. The apparatus for processing review information in the embodiment of the present application further includes:

[0017] A selection unit is configured to display first rating information in the rating area in response to a target object's selection operation on the rating selector.

[0018] Optionally, in the apparatus for processing review information in the embodiment of the present application, the rating selector includes at least one of a sliding rating selector, a star rating selector, a drop-down menu rating selector, or a scrolling rating selector, the sliding rating selector displays a rating progress bar, and the rating progress bar is used to represent at least two rating information; the star rating selector displays at least two rating stars; the drop-down menu rating selector displays a drop-down menu option of at least two rating information, and the scrolling rating selector displays a list option of at least two rating information;

[0019] The selection unit includes at least one of the following:

[0020] a sliding selection subunit, configured to display the selected rating information in the rating area as first rating information in response to a target object's sliding selection operation on the rating progress bar;

[0021] Alternatively, a click selection subunit is used to display the selected rating star in the rating area as the first rating information in response to the target object's click selection operation on the rating star;

[0022] Alternatively, a pull-down selection subunit is used to display the selected rating information in the rating area as the first rating information in response to the target object's pull-down selection operation on the pull-down menu option;

[0023] Alternatively, the scroll selection subunit is configured to display the selected rating information as the first rating information in the rating area in response to a scroll selection operation of the target object on the list options.

[0024] Optionally, the comment information processing device in the embodiment of the present application further includes:

[0025] An initialization unit is used to display initialized first content information in the main input area, wherein the initialized first content information is associated with the first rating information.

[0026] Optionally, in the apparatus for processing comment information in the embodiment of the present application, the second input unit is specifically configured to:

[0027] When the input focus is on the secondary input area, anchoring the cursor position to the back of the title information displayed in the secondary input area;

[0028] In response to a second input operation of the target object, the input information is displayed after the title information in the secondary input area where the cursor is located.

[0029] Optionally, the comment information processing device in the embodiment of the present application further includes:

[0030] The adjusting unit is used for adjusting the secondary input area where the cursor is located to above the secondary input area that has not been edited when the cursor is located in the secondary input area.

[0031] Optionally, the comment information processing device in the embodiment of the present application further includes:

[0032] A generating unit is used to obtain first rating information of the target object on the target product; and generate the title information according to the first rating information.

[0033] Optionally, in the apparatus for processing comment information in the embodiment of the present application, the generating unit is specifically configured to:

[0034] Acquire fourth content information of each dimension of the target product;

[0035] Determine the evaluation feature words corresponding to each dimension according to the sub-rating information;

[0036] For each dimension, the title information is generated according to the corresponding evaluation feature word and the fourth content information.

[0037] Optionally, the comment information processing device in the embodiment of the present application further includes:

[0038] An updating unit is used to determine the second rating information of the target object for the target product based on the first content information and the second content information; and to update the title information displayed in at least one unedited secondary input area, or to add a secondary input area with new title information, based on the second rating information.

[0039] Optionally, in the apparatus for processing comment information in the embodiment of the present application, the updating unit is specifically configured to:

[0040] Inputting the first content information into a trained scoring model to extract first feature data of the first content information, and inputting the second content information into the scoring model to extract second feature data of the second content information;

[0041] Performing feature fusion on the first feature data and the second feature data to obtain third feature data;

[0042] According to the third feature data, prediction is performed through the scoring model to determine the second scoring information of the target object for the target product.

[0043] Optionally, the comment information processing device in the embodiment of the present application further includes:

[0044] A training unit is used to obtain third content information of comments on sample products by batch sample objects and evaluation labels corresponding to the third content information, wherein the evaluation labels are used to represent the true results of the scoring information of the sample objects on the sample products; input the third content information into an initialized scoring model, process the third content information through the scoring model to obtain third scoring information; determine a loss value for training based on the third scoring information and the evaluation labels; and update the parameters of the scoring model based on the loss value to obtain a trained scoring model.

[0045] Optionally, the comment information processing device in the embodiment of the present application further includes:

[0046] The merging unit is used to add a line break symbol after the first content information and each of the second content information in response to the comment end operation of the target object; and splice the first content information and each of the second content information after adding the line break symbol to obtain the target comment information.

[0047] Optionally, the comment information processing device in the embodiment of the present application further includes:

[0048] A display unit is used to respond to the comment submission operation of the target object, perform permission verification on the target object, and perform content verification on the target comment information; when the permission verification of the target object passes and the content verification of the target comment information passes, the target comment information is published to the comment area corresponding to the target product for display.

[0049] On the other hand, an embodiment of the present application provides an electronic device, including a processor and a memory;

[0050] The memory is used to store computer programs;

[0051] The processor executes the computer program to implement the above comment information processing method.

[0052] On the other hand, an embodiment of the present application provides a computer-readable storage medium, wherein the storage medium stores a computer program, and the computer program is executed by a processor to implement the above comment information processing method.

[0053] The embodiment of the present application further discloses a computer program product, including a computer program, which implements the above comment information processing method when executed by a processor.

[0054] The embodiments of the present application include at least the following beneficial effects: The present application provides a method, device, electronic device and storage medium for processing comment information. When the target object comments on the target product, the comment initiation operation is triggered, and the terminal device will display the comment editing interface. The comment editing interface includes a main input area and at least one secondary input area, wherein the secondary input area displays title information, and the title information can provide the target object with comment guidance on the target product, help the target object summarize the comment content, and effectively reduce the difficulty of editing the comment information and improve the editing efficiency of the comment information; after the target object completes the editing operation in the main input area and the secondary input area, the comment end operation is triggered, and all the contents in the main input area and the edited secondary input area can be integrated to obtain and display the target comment information, and the secondary input area that has not been edited is discarded. The present application can provide a flexible and convenient comment editing method for the target object, which can not only reduce the difficulty of editing the comment information, but also help to improve the reference value of the comment information. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] The accompanying drawings are used to provide further understanding of the technical solution of the present application and constitute a part of the specification. Together with the embodiments of the present application, they are used to explain the technical solution of the present application and do not constitute a limitation on the technical solution of the present application.

[0056] Figure 1 A schematic diagram of an interface of an online shopping application provided in an embodiment of the present application;

[0057] Figure 2 A schematic diagram of an interface of a video playback application in the related art;

[0058] Figure 3 A schematic diagram of an implementation environment of a method for processing comment information provided in an embodiment of the present application;

[0059] Figure 4 A flowchart of a method for processing comment information provided in an embodiment of the present application;

[0060] Figure 5 A schematic diagram of a review editing interface provided in an embodiment of the present application;

[0061] Figure 6 A schematic diagram of displaying first content information in a main input area provided by an embodiment of the present application;

[0062] Figure 7 A schematic diagram of displaying target comment information provided by an embodiment of the present application;

[0063] Figure 8 A schematic diagram of a rating selector supporting multi-dimensional evaluation provided in an embodiment of the present application;

[0064] Fig. 9 A schematic diagram of anchoring a cursor position in a secondary input area provided in an embodiment of the present application;

[0065] Fig.10 A schematic diagram of changing the position of a secondary input area provided in an embodiment of the present application;

[0066] Fig.11 A schematic diagram of a comment area of ​​a video playback application provided in an embodiment of the present application;

[0067] Fig.12 A schematic diagram of the architecture of a review publisher provided in an embodiment of the present application;

[0068] Fig.13 A schematic diagram of a flow chart of data processing logic on a terminal device side provided in an embodiment of the present application;

[0069] Fig.14 A data flow diagram provided for an embodiment of the present application;

[0070] Fig.15 A structural block diagram of a comment information processing device provided in an embodiment of the present application;

[0071] Fig.16 A structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0072] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0073] It can be understood that the terms "first", "second", etc. used in this application can be used to describe various concepts in this article, but unless otherwise specified, these concepts are not limited by these terms. These terms are only used to distinguish one concept from another concept.

[0074] The terms "at least one", "multiple", "each", "any", etc. used in this application, at least one includes one, two or more, multiple includes two or more, each refers to each of the corresponding multiple, and any refers to any one of the multiple.

[0075] Before describing the embodiments of the present application in detail, necessary explanations are given to the technical terms or characteristic terms that may be involved in the embodiments of the present application:

[0076] 1) O2O, the abbreviation of Online To Offline, refers to combining offline business opportunities with the Internet, making the Internet a platform for offline transactions.

[0077] 2) Feature data: also called embedding representation, it is mainly based on the neural network model to generate a distributed representation of the input "object". The main function of the embedding representation is to convert the high-dimensional sparse vector of the original data into a low-dimensional, dense vector. At the same time, the distance between vectors can reflect the similarity between the data, thereby facilitating the processing of downstream models, especially deep learning models.

[0078] 3) Artificial Intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technology in computer science that attempts to understand the essence of intelligence and produce a new intelligent machine that can respond in a similar way to human intelligence. Artificial intelligence is to study the design principles and implementation methods of various intelligent machines so that machines have the functions of perception, reasoning and decision-making. Artificial intelligence technology is a comprehensive discipline that covers a wide range of fields, including both hardware-level technology and software-level technology. Basic artificial intelligence technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, and mechatronics. Artificial intelligence software technology mainly includes computer vision technology, speech processing technology, natural language processing technology, and machine learning / deep learning.

[0079] 4) Machine Learning (ML) is a multi-disciplinary subject involving probability theory, statistics, approximation theory, convex analysis, algorithm complexity theory and other disciplines. It specializes in studying how computers simulate or implement human learning behavior to acquire new knowledge or skills and reorganize existing knowledge structures to continuously improve their performance. Machine learning is the core of artificial intelligence and the fundamental way to make computers intelligent. Its applications are spread across all areas of artificial intelligence. Machine learning (deep learning) usually includes artificial neural networks, belief networks, reinforcement learning, transfer learning, inductive learning, and self-learning.

[0080] 5) Blockchain is a new application model of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, a string of data blocks generated by cryptographic methods. Each data block contains a batch of network transaction information, which is used to verify the validity of its information (anti-counterfeiting) and generate the next block. Blockchain can include the underlying blockchain platform, platform product service layer and application service layer. Blockchain can include public chain, alliance chain and private chain. Among them, public chain refers to a blockchain that anyone can enter the blockchain network at any time to read data, send data or compete for accounting; alliance chain refers to a blockchain jointly managed by several organizations or institutions; private chain refers to a blockchain with certain centralized control. The write right of the private chain account book is controlled by a certain organization or institution, and the access and use of data are strictly managed by permissions.

[0081] The method for processing comment information provided in the embodiments of the present application mainly relates to various network applications in the field of the Internet. Specifically, the method for processing comment information provided in the embodiments of the present application can use information processing technology, machine learning / deep learning technology to process relevant data. The method for processing comment information can be executed in the application scenarios of various network applications:

[0082] For example, in the application scenario of online shopping, after a consumer purchases a product, he or she can comment on the product through comments; after commenting, the corresponding comment information is published in the comment area corresponding to the product. When other consumers select products online, in addition to comparing the information of the product itself, they can also read the comment information in the comment area corresponding to the product to decide whether to buy a product, thereby reducing the purchase of products of poor quality that do not meet the use needs.

[0083] For example, in the application scenario of food delivery, consumers can search through the application platform to obtain information about offline merchants such as restaurants and hotels near the specified location, and can also search for food information in offline merchants. In the process of selecting merchants and restaurants, they can refer to the comments given by other consumers to judge whether the taste and quality of the food, the merchant's after-sales attitude, delivery speed and other conditions meet their own needs, so as to select the appropriate food delivery service.

[0084] For example, in the application scenario of video playback, when a viewer watches a film or TV work, he or she can evaluate the film or TV work and give corresponding comment information. Other viewers can judge whether the film or TV work meets their own preferences based on the comment information, so as to conveniently select the type they like to watch, which is conducive to improving the viewing experience.

[0085] Of course, it should be noted that the above application scenarios are only exemplary and do not limit the actual application of the method for processing comment information in the embodiment of the present application. Those skilled in the art can understand that in different application scenarios, the method for processing comment information provided in the embodiment of the present application can be used to perform specified tasks.

[0086] Furthermore, it should be noted that in each specific implementation of the present application, when it comes to the need to perform relevant processing based on the target object's information, the target object's behavioral data, the target object's historical data, and the target object's location information and other data related to the target object's identity or characteristics, the target object's permission or consent will be obtained first, and the collection, use and processing of these data will comply with the relevant laws, regulations and standards of the relevant countries and regions. In addition, when the embodiment of the present application needs to obtain sensitive information of the target object, the target object's separate permission or separate consent will be obtained through a pop-up window or by jumping to a confirmation page. After clearly obtaining the target object's separate permission or separate consent, the necessary target object-related data used to enable the normal operation of the embodiment of the present application will be obtained.

[0087] Nowadays, with the popularization and rapid development of the Internet, the O2O model has been widely promoted, and network applications have gradually been integrated into people's lives, providing people with a variety of services. For example, video playback applications can play various film and television works, bringing rich audio-visual entertainment experience to the audience; online shopping applications can support online shopping, improving the convenience and efficiency of shopping.

[0088] In related technologies, in order to make it easier for more people to understand the characteristics of a product, applications often have review-related functions. People who have purchased or used a product can post their own review information about the product on the application platform corresponding to the product. In this way, when other people browse the product, they can refer to the review information posted by people who have previously purchased or used the product to decide whether to use or purchase the product. For example, referring to Figure 1 , Figure 1 This is a schematic diagram of an interface of an online shopping application provided in an embodiment of the present application. Figure 1 The interface of the online shopping application shown includes a product display area 110 and a comment information display area 120. Among them, the product display area 110 can be used to display image information of the product, such as the overall appearance of the product or a three-dimensional schematic diagram or a plane schematic diagram of some components of the product, etc., and this application does not limit this. The comment information display area 120 can be used to display the comment information published by the objects who have purchased or used the corresponding product and commented on the related services involved in the product. In addition, in some possible implementations, it is also possible to calculate the corresponding data of the product such as the praise rate by summarizing the positive or negative review categories corresponding to each comment information, and display them synchronously in the comment information display area 120 to help shoppers select products.

[0089] It is understandable that in the current era of vigorous development of Internet big data technology, review information is an information representation of consumers' attitudes towards products, and has a high value of data analysis application. For consumers, the analysis of review information can obtain detailed, true and transparent evaluations of products, so as to understand products in multiple dimensions and facilitate decision-making; for merchants, they can understand consumers' preferences and market demands, which is conducive to improving service quality and increasing customer stickiness.

[0090] However, the comment function configured in current applications generally relies entirely on the commenter to enter information by himself, for example, Figure 2 , Figure 2 A schematic diagram of the interface of a video playback application in the related art is shown. Figure 2 The interface of the online shopping application shown includes a comment editing interface 220, which is displayed below the video screen 210. While watching the video screen 210, the commentator can input comment information based on the comment editing interface 220.

[0091] Specifically, in the comment editing interface 220, the commentator can edit and input text information through the keyboard, or insert pictures, emoticons, etc. based on the application plug-in, so as to generate corresponding comment information. This editing method only supports the copy, paste, connection word prompt and other functions provided by the text editing software of the terminal device for the text information. It is troublesome for the commentator to edit the text information, and the input efficiency is low, which makes the editing of the comment information more difficult and time-consuming, and it is easy to produce disgust or resistance, which affects the efficiency and interest of the comment, and then leads to the low utilization rate of the comment function provided in the application, affecting the experience and retention of the application users. Moreover, from the perspective of the content of the comment information, since the commentator has a low interest in editing by himself, he generally tends to directly copy and paste large sections of content edited by others to participate in the comment, resulting in a high degree of homogeneity of the comment information and a low reference value. Some commentators have insufficient understanding of the product and the ability to express and summarize, and it is difficult to organize and provide comment information with high reference value, resulting in reduced objectivity and availability of the comment information.

[0092] In view of this, a method for processing comment information is provided in an embodiment of the present application. When the target object comments on the target product, a comment initiation operation is triggered, and the terminal device will display a comment editing interface. The comment editing interface includes a main input area and at least one secondary input area, wherein the secondary input area displays title information, and the title information can provide the target object with comment guidance on the target product, and help the target object summarize the comment content, which can effectively reduce the difficulty of editing the comment information and improve the editing efficiency of the comment information; after the target object completes the editing operation in the main input area and the secondary input area, the comment end operation is triggered, and all the contents in the main input area and the edited secondary input area can be integrated to obtain and display the target comment information, and the secondary input area that has not been edited is discarded. The present application can provide a flexible and convenient comment editing method for the target object, which can not only reduce the difficulty of editing the comment information, but also help to improve the reference value of the comment information.

[0093] Reference Figure 3 , Figure 3 A schematic diagram of an implementation environment of the method for processing comment information provided in an embodiment of the present application is shown. In the implementation environment, the main hardware and software entities involved include a terminal device 310 and an application server 320, and the terminal device 310 and the application server 320 are connected in communication.

[0094] Specifically, in Figure 3 In the illustrated implementation environment, the object of editing the comment information can be recorded as the target object, and the terminal device 310 is the terminal device used by the target object. An application can be installed on the terminal device 310, and the application can provide the target object with relevant product information or product services, and provide a comment function for these products, or only provide a comment function for the product. In the embodiments of the present application, the type of application and the specific product information content and category provided are not limited. For example, in some embodiments, the application can be a video playback application, and the video playback application can provide the target object with corresponding video product playback services and video comment functions; in other embodiments, the application can also be a financial management application, and the financial management application can provide the target object with corresponding financial product information and financial product comment functions.

[0095] Of course, it is understandable that any application that can configure the comment function can be based on Figure 3 The implementation environment provided builds the corresponding system architecture. The types of applications installed in the terminal device 310 are not limited to the above-mentioned situations, and they can be flexibly configured according to actual needs, and this application does not impose any restrictions on this.

[0096] The processing method of the comment information provided in the embodiment of the present application can be executed on the terminal device 310 side, or through the data interaction between the terminal device 310 and the application server 320. For example, in some embodiments, the terminal device 310 side can respond to the target object's comment on the target product to initiate an operation, obtain the corresponding business data from the application server 320, and then display the comment editing interface locally, and the target object can perform input operations in the comment editing interface displayed by the terminal device 310. Correspondingly, the terminal device 310 displays the first content information and the second content information in the comment editing interface, and sends the first content information and the second content information to the application server 320, and the application server 320 merges the first content information and the second content information to obtain the target comment information. Then, the application server 320 returns the target comment information to the terminal device 310 for display and browsing with the target object. And, further, the application server 320 can publish the target comment information to the comment area corresponding to the target product after the target object chooses to submit, so that other objects can also see the target comment information edited by the target object through the terminal device.

[0097] Among them, the terminal device 310 of the above embodiment may include a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, a smart TV, and a car terminal, but is not limited thereto.

[0098] The application server 320 can be an independent physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, CDN (Content Delivery Network), as well as big data and artificial intelligence platforms.

[0099] In addition, the application server 320 can also be a node server in the blockchain network.

[0100] The terminal device 310 and the application server 320 may establish a communication connection through a wireless network or a wired network. The wireless network or wired network uses standard communication technology and / or protocols, and the network may be set to the Internet, or any other network, such as but not limited to a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), a mobile, wired or wireless network, a private network or any combination of a virtual private network. Moreover, the above-mentioned software and hardware entities may use the same communication connection mode or different communication connection modes, and this application does not impose any specific restrictions on this.

[0101] Of course, it is understandable that Figure 3 The implementation environment in the examples is just some optional application scenarios of the method for processing comment information provided in the embodiments of the present application. The actual application is not fixed. Figure 3 The method provided in the embodiments of the present application can be applied to various technical fields, such as shopping, games, audio and video, social networking, cloud technology, artificial intelligence, smart transportation, assisted driving, etc., and the present application does not make any specific restrictions on this.

[0102] Below, in combination with the above description of the implementation environment, a method for processing comment information provided in an embodiment of the present application is introduced in detail.

[0103] First, if Figure 4 As shown, in the embodiment of the present application, a method for processing comment information is provided, and the method for processing comment information can be applied to the above Figure 3 The terminal device 310 in the embodiment may also be implemented between the terminal device 310 and the application server 320, or may be executed on any other device or equipment having data processing capabilities. Figure 4 The method specifically includes but is not limited to steps 410 to 440:

[0104] Step 410: In response to the target object initiating a comment operation on the target product, a comment editing interface is displayed; the comment editing interface includes a main input area and at least one secondary input area, and title information is displayed in each secondary input area;

[0105] In this step, the object that needs to publish comment information is recorded as the target object. The target object generally refers to a person, and may also include other artificial intelligence devices or programs that can perform interactive actions. The product corresponding to the comment information published by the target object is recorded as the target product. It can be understood that in the embodiment of the present application, the product refers to a complex of items and services for the purpose of use or consumption, which may include tangible physical objects, intangible virtual objects, commercial services, or a combination thereof. For example, clothes and computers on shopping platforms; music and videos in audio and video software; props or paid services in online games; stocks and funds on securities platforms, etc. all fall within the scope of products in the embodiments of the present application.

[0106] When the target object wants to comment on the target product, a request operation can be triggered on the terminal device. In the embodiment of the present application, the operation is recorded as a comment initiation operation. After the terminal device receives the comment initiation operation of the target object on the target product, it can respond to the comment initiation operation and display a corresponding interface. In the embodiment of the present application, the interface is recorded as a comment editing interface. In the embodiment of the present application, there is no restriction on the size of the comment editing interface, the proportion of the terminal device display screen occupied, and the display method of the interface. For example, in some embodiments, the comment editing interface can occupy the entire display screen of the terminal device and be displayed as a separate interface; in other embodiments, the comment editing interface can be superimposed on other interfaces of the application and displayed in the form of a floating window.

[0107] For details, please refer to Figure 5 , Figure 5 A schematic diagram of a review editing interface provided in an embodiment of the present application is shown. Figure 5 The comment editing interface shown includes a main input area and a secondary input area. The main input area 510 displays a text message "Say something, click below to try the subtitle", which is the initialization prompt information. In some embodiments, the prompt information can also be omitted, or the specific content displayed by the prompt information can be flexibly adjusted as needed, and this application does not limit this.

[0108] Figure 5 The comment editing interface shown in includes three sub-input areas, which are respectively recorded as the first sub-input area 520, the second sub-input area 530, and the third sub-input area 540 in the embodiment of the present application. The first sub-input area 520 displays text information of "a segment that makes people complain"; the second sub-input area 530 displays text information of "confusing scenes"; and the third sub-input area 540 displays text information of "a character that I don't like". The text information displayed in these sub-input areas can be used as title information.

[0109] In particular, in the embodiments of the present application, before the title information in each secondary input area, a "|" symbol is also displayed. This identifier is used to mark the secondary input area to distinguish it from the previous primary input area. Of course, in some embodiments, this identifier can be omitted or replaced with other identifiers, and the present application does not limit this.

[0110] In the embodiments of the present application, the primary input area 510, the first secondary input area 520, the second secondary input area 530, and the third secondary input area 540 can all be used to input comment information. Specifically, the primary input area 510 allows the target object to input various contents that want to be expressed, such as the overall feelings and experiences of the target product; and each secondary input area is pre-planned to display corresponding title information, and the title information can provide guidance for the target object to input comment information. The target object can input the content corresponding to the title information into the specified secondary input area. For example, as shown in the comment editing interface in Figure 5 If the target object watches a certain film and television work in the video playback application but is not particularly fond of it, then based on Figure 5 the title information displayed in the first secondary input area 520, the second secondary input area 530, and the third secondary input area 540, the target object can conveniently make targeted comments on the disliked clips, scenes, or characters in the film and television work. On the one hand, it can reduce the editing difficulty of the comment information and improve the efficiency of editing the comment information; on the other hand, it also facilitates the target object to summarize and organize the disliked parts, improves the content richness of the comment information, and makes the comment information have a higher reference value.

[0111] Of course, it can be understood that in the embodiments of the present application, the role of the title information is to provide guidance for the target object to edit the comment information rather than limit the content of the comment information. In some embodiments, the information input by the target object in the secondary input area can match the title information or there may be no corresponding relationship.

[0112] In the embodiments of the present application, when the target object edits the comment information, the input focus can be confirmed by clicking on the display screen of the terminal device. The input focus can help determine which area the target object wants to input content into currently, so as to facilitate displaying the corresponding input content in the corresponding primary input area or secondary input area.

[0113] Step 420, when the input focus is in the primary input area, in response to the first input operation of the target object, display the first content information in the primary input area;

[0114] In this step, as mentioned above, the target object can confirm the input focus by clicking on the display screen of the terminal device. Therefore, for the terminal device that executes the method for processing comment information in the embodiment of the present application, the position of the input focus can be detected during the process of the target object editing the comment information. In the embodiment of the present application, the position of the input focus refers to the position where the target object last clicked the comment editing interface. Based on the foregoing introduction, it can be understood that when it is determined that the input focus is in the main input area, it means that the target object currently wants to input content in the main input area. At this time, in response to the input operation of the target object, the content information input by the target object can be received, and then the content information is displayed in the main input area. In the embodiment of the present application, the operation of the target object inputting content information in the main input area is recorded as the first input operation, and the content information input by the target object in the main input area through the first input operation is recorded as the first content information.

[0115] It is understandable that the first content information in the embodiment of the present application may include but is not limited to information in any format such as text, characters, numbers, emoticons, etc. Moreover, the language type, data input upper limit and other parameters of the first content information can be flexibly adjusted as needed, and this is not limited in the embodiment of the present application.

[0116] In the embodiments of the present application, there is no limitation on the specific form of the first input operation. For example, in some embodiments, the target object can input the first content information through keyboard editing; in some embodiments, the target object can input the first content information through handwriting recognition; in other embodiments, the target object can also input the first content information through voice recognition.

[0117] In particular, it should be noted that in the aforementioned embodiment, it is introduced that prompt information can be initially displayed in the main input area, thereby prompting the target object to edit the comment information. Figure 5 As shown, the main input area 510 originally displays a prompt message "Say something, click below to try the subtitle". When the target object performs the first input operation, after receiving the content information input by the target object, the main input area can first perform a clear operation, and then display the information input by the target object as the first content information in the main input area. Figure 6 , Figure 6 FIG. 5 shows a schematic diagram of displaying first content information in the main input area 510. Figure 6In the example, the originally displayed prompt message "Say a few words, click below to try the subtitle" is deleted, and instead, the content information entered by the target object in the first input operation is displayed: "I think it's a bit boring and not very good-looking." Of course, in order to make the prompt message and the first content information more obviously different, the fonts used by the two may be different. For example, the font color corresponding to the prompt message may be lighter, and the font color corresponding to the first content information may be slightly darker, so as to facilitate the distinction.

[0118] Step 430: When the input focus is on the secondary input area, in response to a second input operation of the target object, display second content information in the secondary input area, wherein the second content information includes title information and information input by the second input operation;

[0119] In this step, similar to step 420, when it is determined that the input focus is in the secondary input area, it means that the target object currently wants to input content in the secondary input area. At this time, in response to the input operation of the target object, the content information input by the target object can be received, and then the content information is displayed in the secondary input area, and the title information originally displayed in the secondary input area is retained. In this way, in an edited secondary input area, the title information and the content information input by the target object will be displayed at the same time. In an embodiment of the present application, the operation of the target object inputting content information in the secondary input area is recorded as the second input operation, and the content information input by the target object in the secondary input area through the second input operation and the title information originally displayed in the secondary input area are recorded as the second content information.

[0120] It is understandable that in the embodiment of the present application, the target object performs a second input operation in the secondary input area based on the title information, which can provide the target object with a comment guide for the target product and reduce the difficulty of editing the comment information. The content information input by the second input operation is displayed together with the original title information, which can improve the integrity and reference value of the comment information. Other objects can quickly locate the comment content they need to know based on the title information, thereby improving the usability of the comment information.

[0121] Similarly, in the embodiment of the present application, the second content information may also include but is not limited to information in any format such as text, characters, numbers, emoticons, etc.; the language type of the second content information, the upper limit of data input and other parameters and the specific form of the second input operation can be flexibly adjusted as needed, and this application will not elaborate on them here.

[0122] Step 440 : In response to the comment ending operation of the target object, display the target comment information, wherein the target comment information includes the first content information and the second content information.

[0123] In this step, after the target object completes the input operation in the main input area and each sub-input area, a request operation for ending the comment editing task can be triggered on the terminal device. In the embodiment of the present application, it is recorded as a comment end operation. After the terminal device receives the target object's comment end operation on the target product, it can respond to the comment end operation and display the target object's currently edited comment information. Specifically, the comment information includes a first content information and a second content information, which can be obtained by merging the first content information and the second content information. In the embodiment of the present application, it is recorded as target comment information. Here, in addition to the first content information and the second content information, the target comment information may also include other content information, such as the identity information of the target object, or information associated with the target object, which is not limited in the present application.

[0124] In this step, the target object can interact with the terminal device to trigger the comment end operation for the comment information editing task in the application. The terminal device can respond to the comment end operation to trigger the execution of the business logic of the application and display the target comment information. Here, the specific implementation form of the interaction between the target object and the terminal device to trigger the comment end operation is not limited by this application.

[0125] Specifically, for example, the terminal device can receive the target object's interactive operation on the relevant component, and regard the interactive operation as a comment end operation. Here, the relevant component can be either a component configured in the terminal device's underlying system or a component configured in the application, and its implementation form can be flexibly set as needed. For example, in some embodiments, the component can be a component with a voice interaction function in the terminal device, which can recognize the target object's voice data through voice recognition technology, and the target object can interact with the terminal device by voice, such as saying "end editing" to the terminal device, thereby triggering the comment end operation. In some embodiments, the component can also be a touch component. For example, referring to Figure 5 , a "Publish" icon button 550 can be set on the comment editing interface. When the target object wants to end the comment information editing task, the target object can click the icon button 550 displayed on the terminal device screen. At this time, the target object's click operation can be regarded as the comment end operation. Of course, it can be understood that in some embodiments, the received target object's touch, sliding and other operations in the designated screen area of ​​the terminal device can also be used as the comment end operation, and this application does not make specific restrictions on this. And, similarly, other operations in the embodiments of the present application can also be set with reference to the implementation method of the comment end operation, and this application will not elaborate on this.

[0126] Specifically, in a possible implementation, the target comment information can be obtained through the following steps:

[0127] In response to the comment ending operation of the target object, adding a line break symbol after the first content information and each second content information;

[0128] The first content information after adding the line break symbol and each second content information are concatenated to obtain the target comment information.

[0129] In the present application, refer to Figure 7 , Figure 7 A schematic diagram showing target comment information is shown. Figure 7 In the example, the target comment information is obtained by merging the first content information and the three parts of the second content information. In the merging process, in response to the comment ending operation of the target object, a line break symbol can be added to the end of the first content information edited by the target object and each second content information, and then each content information after the line break symbol is added can be spliced ​​to obtain the target comment information. In this way, the target comment information can be kept in a segmented form and will not be mixed into one section, which is more convenient to browse.

[0130] It should be noted that in the embodiment of the present application, the target comment information is obtained by merging the first content information and the second content information. For the secondary input area that has not been edited by the target object, the title information originally displayed therein is not included in the final target comment information. In this way, when editing the comment information, the target object can flexibly select the comment topic that he wants to edit according to his actual experience and editing needs, and can skip the title information that he is not interested in without any unnecessary operations, which can greatly improve the flexibility and efficiency of editing the comment information.

[0131] It is understandable that the method for processing comment information provided in the embodiment of the present application is that when the target object comments on the target product, the comment initiation operation is triggered, and the terminal device will display the comment editing interface. The comment editing interface includes a main input area and at least one secondary input area, wherein the secondary input area displays title information, and the title information can provide the target object with comment guidance on the target product, help the target object summarize the comment content, and effectively reduce the difficulty of editing the comment information and improve the editing efficiency of the comment information; after the target object completes the editing operation in the main input area and the secondary input area, the comment end operation is triggered, and all the contents in the main input area and the edited secondary input area can be integrated to obtain and display the target comment information, and the secondary input area that has not been edited is discarded. The present application can provide a flexible and convenient comment editing method for the target object, which can not only reduce the difficulty of editing the comment information, but also help to improve the reference value of the comment information.

[0132] It should be noted that in the embodiments of the present application, whether there is an association relationship between the target object and the target product and the specific type of the association relationship are not limited. For example, in some possible implementations, there may be no association relationship between the target object and the target product. That is, whether the target object has purchased or used the target product has no effect on whether the target object has the authority to comment on the target product. In other words, each object can freely edit the comment information for the target product.

[0133] In some other possible implementations, it can be limited that there must be an association relationship between the target object and the target product. For example, in some embodiments, for online shopping applications, it can be pre-defined that the target product must be purchased or used before it can be commented on. In this case, there is a purchase and use relationship between the target object and the target product. At this time, before the target object comments on the target product, the background server of the application needs to verify the identity information of the target object and determine whether it has the authority to publish comment information. For example, it can be verified through channels such as the purchase record of the target object's account, and this application is not limited to this. In some embodiments, for video playback applications, it can be pre-defined that the target product must be browsed in full or in part before it can be commented on. At this time, before the target object comments on the target product, the background server of the application can determine whether it has the authority to publish comment information based on the browsing history information of the target object. In this way, the comment threshold of comment information can be raised, and the probability of malicious comments such as water army and brushing comments can be reduced.

[0134] In the embodiments of the present application, the title information displayed in each sub-input area may be pre-set. For example, for online shopping applications, title information such as "good quality", "satisfactory logistics speed", "average cost performance", and "worrying quality" may be fixed; for video playback applications, title information such as "exciting plot", "star-studded", and "worth a look" may be fixed. These title information can be randomly displayed in conjunction with the corresponding sub-input area when the target object edits the comment information. Of course, it is understandable that when these title information are randomly displayed, there may be a problem of poor correspondence between the title information and the actual target product, which causes certain interference to the editing of the comment information of the target object. Therefore, in the embodiments of the present application, other ways of generating title information are also provided to improve the matching between the title information and the target product.

[0135] In the technical field related to the present application, in addition to the text-based implementation method of comment information, there are also more commonly used scoring methods for product evaluation. That is, the object can rate the product to express its attitude towards the product. The scoring information can also better reflect the popularity of the product in various aspects to a certain extent. Compared with the comment information, it is a more simplified form of evaluation information. In some embodiments, the scoring function and the comment function can be used in combination, that is, the target object is provided with a scoring channel and a comment channel for the target product at the same time.

[0136] Specifically, in a possible implementation, the review editing interface further includes a rating area, in which a rating selector is displayed, and the method for processing the review information provided in the embodiment of the present application further includes:

[0137] In response to the target object's selection operation on the rating selector, first rating information is displayed in the rating area.

[0138] In the embodiment of the present application, when the target object evaluates the target product, the review editing interface can also be provided with a scoring area. In the scoring area, a scoring selector can be displayed, and the target object can select the scoring selector to achieve the scoring of the target product.

[0139] In the embodiment of the present application, the score of the target object to the target product is recorded as the first scoring information. Specifically, the first scoring information can be in various forms. For example, in some embodiments, the first scoring information can be a specific value, such as the scoring method can be set to a percentage system or a ten-point system, and the numerical value of the first scoring information can characterize the evaluation of the target object to the target product. For example, when the scoring method is a ten-point system, the numerical value of the first scoring information is between 0 and 10, and the closer the numerical value of the first scoring information is to 10, the more satisfied the target object is with the target product, and the better the evaluation; conversely, the closer the numerical value of the first scoring information is to 0, the more dissatisfied the target object is with the target product, and the worse the evaluation. In other embodiments, the first scoring information can be text information with a set level, for example, the first scoring information can include four levels, and the corresponding text information is "excellent", "good", "pass", and "poor", and these levels are excellent, good, pass, and poor in the order of evaluation from good to bad. When the target object's first evaluation information for the target product is "excellent", it means that the more satisfied the target object is with the target product, the better the evaluation; conversely, when the target object's first rating information for the target product is "poor", it means that the more dissatisfied the target object is with the target product, the worse the evaluation.

[0140] Of course, it can be understood that the above embodiments are only used to exemplify the implementation method of the first scoring information in the embodiments of the present application, and are not intended to limit the specific setting method thereof.

[0141] In the embodiment of the present application, there may be multiple implementations of the rating selector. For example, in some embodiments, the rating selector may be a sliding rating selector, for example, referring to Figure 5 , Figure 5 In the review editing interface shown in FIG. 5 , a sliding rating selector 560 is also displayed. A rating progress bar is displayed on the sliding rating selector 560, and the rating progress bar can slide horizontally. When sliding to different positions, different rating information can be displayed at the back. For example, Figure 5 In the example, when the rating progress bar is on the left, the rating information may be negative, such as "indifferent"; conversely, when the rating progress bar is on the right, the rating information may be positive, such as "strongly recommended". It is understandable that the rating progress bar can be used to represent at least two different rating information. In some embodiments, the rating information displayed by the rating progress bar may also be a score value, which is not limited in this application. For the sliding rating selector, the target object can select the corresponding rating information as the first rating information through a sliding selection operation.

[0142] In some embodiments, the rating selector can also use a star rating selector, and at least two rating stars can be displayed on the star rating selector. For example, five star icons can be displayed on the star rating selector. If the target object clicks on a star icon, the total number of star icons including the star icon and the star icon on its left side will be determined as the first rating information. If the target object clicks on the star icon on the far right, the corresponding first rating information is 5 stars. Therefore, at this time, the rating star determined by the target object by clicking the selection operation can be used as the first rating information and displayed in the rating area. Similarly, the rating selector can also use a drop-down menu rating selector or a scroll rating selector, wherein the drop-down menu rating selector can display at least two drop-down menu options of rating information, and the scroll rating selector can display at least two list options of rating information. The target object can perform a drop-down selection operation on the drop-down menu option, or perform a scroll selection operation on the list option, so as to determine the first rating information, and the specific implementation details of the application are not repeated.

[0143] Specifically, in a possible implementation manner, the title information is generated through the following steps, including:

[0144] Obtaining first rating information of the target object on the target product;

[0145] According to the first rating information, title information is generated.

[0146] As mentioned above, the rating information can also better reflect the popularity of the product in various aspects to a certain extent. Therefore, in an embodiment of the present application, when generating the title information, the first rating information can be referred to to improve the correspondence between the title information and the actual target product, and reduce the interference caused by the editing of the comment information of the target object. Specifically, the first rating information of the target object on the target product can be obtained. If the first rating information is relatively positive, such as a high score or a positive attitude, then the generated title information can also be biased towards the positive. For example, when it is found that the target object has given a five-star rating to a certain online shopping product, then positive title information such as "Great quality" and "Very satisfied with the logistics" can be generated. In this way, the reliability of the title information guidance can be improved, which is conducive to reducing the difficulty of editing the comment information and improving the editing efficiency of the comment information.

[0147] It is understandable that in the embodiment of the present application, the first rating information is different, and the corresponding title information generated in the secondary input area may also be different. Of course, for some first rating information with relatively small differences, the corresponding generated title information may also be the same. For example, for film and television works, when the first rating information includes multiple information with different recommendation levels, such as "stepping on thunder", "no feeling", "okay", "recommended", "strongly recommended", etc., if the target object gives the first rating information of the "recommended" or "strongly recommended" level, the generated title information can be positive, such as "exciting plot", "realistic acting", etc.; if the target object gives the first rating information of the "stepping on thunder" or "no feeling", the generated title information can be negative, such as "shocking characters", "awkward music", etc.

[0148] Specifically, in a possible implementation, the first rating information includes sub-rating information of multiple dimensions of the target product, and the title information is generated according to the first rating information, including:

[0149] Obtain the fourth content information of each dimension of the target product;

[0150] According to the sub-rating information, determine the evaluation feature words corresponding to each dimension;

[0151] For each dimension, title information is generated according to the corresponding evaluation feature word and the fourth content information.

[0152] In the embodiments of the present application, in some cases, the first rating information may contain more detailed content. For example, the first rating information can be used for the target object to evaluate the target product from different dimensions, and for each dimension, there is a corresponding sub-rating information. For example, for an online shopping application, in addition to the overall product evaluation, it may also provide evaluation channels for each segment of the shopping service, such as the express packaging, logistics speed, merchant attitude and other dimensions of the product. At this time, the first rating information obtained can include these sub-rating information, and by parsing the sub-rating information, it can help generate more practical title information.

[0153] For details, please refer to Figure 8 , Figure 8 A schematic diagram of a rating selector supporting multi-dimensional evaluation is shown, and the rating selector can be displayed in a review editing interface. Figure 8 The rating selector in the video, in addition to allowing the target object to evaluate whether to recommend a film or TV work as a whole, also provides a rating progress bar for evaluating the film or TV work in three dimensions: plot, acting, and production. The target object can score the film or TV work in each dimension by sliding the corresponding rating progress bar, so that the corresponding sub-rating information under the dimension can be obtained. In an embodiment of the present application, when the title information is generated based on the first rating information, the fourth content information of the target product in each dimension can be obtained. Here, the fourth content information refers to the target product under the corresponding dimension, which related content information is included. For example, for film and television works, the acting dimension may include content information such as actors, leading actors, roles, and supporting roles; the plot dimension may include content information such as clips, scenes, turning points, and endings. For online shopping products, the merchant attitude dimension may include content information such as feedback time, communication attitude, and after-sales service. After obtaining the fourth content information under each dimension, the evaluation feature words corresponding to each dimension of the target product can be determined according to the sub-rating information. It is understandable that there should be a high degree of matching between the sub-rating information and the evaluation feature words. For example, if the sub-rating information is positive, the corresponding evaluation feature words can also be positive, such as "satisfactory", "like", "good", etc.; conversely, if the sub-rating information is negative, the corresponding evaluation feature words should also be negative, such as "terrible", "hateful", "complaining", etc. Of course, in the embodiment of the present application, the specific content of the evaluation feature words can be flexibly adjusted and configured as needed, and the present application does not limit this.

[0154] After determining the fourth content information of each dimension of the target product and the corresponding evaluation feature words, the evaluation feature words and the fourth content information can be combined according to the dimension to generate title information. For example, for film and television works, title information such as "Favorite Character", "Complaint Clip", "Satisfactory Soundtrack", and "Bad Plot" can be obtained.

[0155] It can be understood that for a dimension of the target product, the fourth content information involves the related content under this dimension, and the sub-rating information represents whether the target object is satisfied with the services involved in the target product under this dimension. Therefore, the generated title information largely fits the orientation of the target object, and the probability of conflict with the actual situation is reduced, which can effectively improve the convenience of editing review information.

[0156] It should be noted that, in the embodiments of the present application, since the first rating information can be associated with the title information, therefore, in some embodiments, after the target object performs a selection operation on the rating selector, not only can the first rating information given by the target object be displayed in the rating area, but the title information displayed in the secondary input area can also be updated. Here, it can be understood that when the target object changes the first rating information, the updated title information can be partial (at least one) or all, and the present application does not impose any restrictions on this. In this way, the rating selector not only supports the target object to quickly adjust the first rating information, but also can efficiently refresh the displayed title information, which can improve the efficiency of the target object in determining appropriate title information, thereby improving the editing efficiency of the comment information.

[0157] In some embodiments, the first rating information can also be used to initialize the first content information to further improve the convenience of editing the review information. Specifically, it can be understood that the first rating information is a more simplified form of evaluation information, which gives an overall evaluation of the target product, which is similar to the review idea of ​​the first content information. Therefore, in an embodiment of the present application, some short review information can be adaptively generated based on the first rating information, and these review information can be used as the initialized first content information and displayed in the main input area. The target object can change and add its own content based on the initialized first content information, so as to generate review information faster and better.

[0158] Specifically, in the embodiment of the present application, when the target object performs an input operation, the target object can click on the screen of the terminal device to determine the input focus. When the input focus is in the main input area, the cursor position can be anchored to the main input area, so that the target object can input the edited content information into the main input area based on the first input operation and display it as the first content information.

[0159] Similarly, in the embodiment of the present application, when the input focus of the target object is in the secondary input area, the cursor is also anchored to the secondary input area. Fig. 9 Since the title information is pre-displayed in the secondary input area, in order to facilitate the editing of the target object, the cursor 910 can be directly anchored to the back of the title information displayed in the secondary input area. In this way, the target object can input the edited content information after the title information in the secondary input area based on the second input operation without adjusting the cursor position, which can improve the efficiency of editing the second content information.

[0160] Specifically, in a possible implementation manner, the method further includes:

[0161] When the cursor is located in the auxiliary input area, the auxiliary input area where the cursor is located is adjusted to above the auxiliary input area that has not been edited.

[0162] In the present application, refer to Fig.10 During the process of the target object editing the secondary input area, there may be a situation where the target object is not interested in the title information of some secondary input areas and skips editing the secondary input area. For these unedited secondary input areas, if they are displayed in the original position, it will affect the target object's browsing of the content that he has edited. Therefore, in an embodiment of the present application, it can be set to adjust the currently edited secondary input area upward. Specifically, for example, the cursor position in the terminal device screen can be detected. When the cursor position is in the secondary input area, the secondary input area where the cursor position is located can be adjusted to above the unedited secondary input area. Please refer to Figure 5 and Fig.10 , for example, Figure 5 For the comment editing interface shown, the second sub-input area 530 was originally above the third sub-input area 540. When the target object was editing, after completing the content editing of the first sub-input area 520, it was not interested in the title information "Confusing Scene" and thought that there was no content it wanted to enter, so it skipped the second sub-input area 530 and directly edited the third sub-input area 540. At this time, the cursor position is in the third sub-input area 540, so the third sub-input area 540 will be adjusted to the top of the second sub-input area 530, close to the edited content. In this way, the convenience of the target object to browse the edited comment content can be improved, especially for longer comment information, which can help the target object quickly review which content has been edited and whether there is any omission, without the target object pulling up and down to search, which can improve the target object's experience in editing comment information.

[0163] Specifically, in a possible implementation, the method for processing comment information provided in the embodiment of the present application further includes:

[0164] Determining second rating information of the target product by the target object according to the first content information and the second content information;

[0165] According to the second rating information, the title information displayed in at least one unedited sub-input area is updated, or a sub-input area with new title information is added.

[0166] In an embodiment of the present application, in addition to the aforementioned implementation means of generating title information based on the first rating information given by the target object, the title information can also be generated or updated based on the content input by the target object in the process of editing the comment information. Specifically, it can be understood that, relative to the first rating information, the first content information and the second content information edited by the target object can, to a certain extent, more accurately reflect the attitude of the target object towards the target product. Therefore, in an embodiment of the present application, another rating information of the target object for the target product can be determined based on the first content information and the second content information, recorded as the second rating information. Then, based on the second rating information, the title information displayed in at least one unedited secondary input area can be updated, or new title information can be generated, and a secondary input area with the new title information can be added to the comment editing interface.

[0167] It should be noted that, in the embodiment of the present application, the meaning and data format of the second rating information can be set with reference to the aforementioned first rating information, which can be either a rating value or text information with a set level. Moreover, the process of generating the title information updated or newly generated based on the second rating information is consistent with the aforementioned process of generating the title information based on the first rating information, and will not be described in detail here.

[0168] Specifically, in a possible implementation, determining second rating information of the target object for the target product according to the first content information and the second content information includes:

[0169] Inputting the first content information into the trained scoring model to extract first feature data of the first content information, and inputting the second content information into the scoring model to extract second feature data of the second content information;

[0170] Performing feature fusion on the first feature data and the second feature data to obtain third feature data;

[0171] According to the third feature data, prediction is performed through the scoring model to determine the second scoring information of the target object for the target product.

[0172] In an embodiment of the present application, the second rating information of the target object for the target product is determined based on the first content information and the second content information, and this process can be implemented based on a machine learning / deep learning algorithm. Specifically, a rating model can be used to predict the second rating information based on the first content information and the second content information. Here, the rating model can be built using any model architecture in the machine learning / deep learning algorithm, and this application does not limit this.

[0173] For the scoring model, it can extract the feature data of the first content information and the feature data of the second content information, record the feature data of the first content information as the first feature data, and record the feature data of the second content information as the second feature data. The data format of the first feature data may include at least one of a number, a vector, a matrix, or a tensor, and the present application does not limit this. Moreover, it can be understood that in the embodiments of the present application, the feature data described later are all applicable to the implementation methods of the above data formats.

[0174] Specifically, when extracting feature data, a sequence to sequence model architecture, i.e., a Seq2seq model, can be used. The sequence to sequence model is one of the more commonly used models in today's sequence tasks, and it is good at processing a series of data with continuous relationships such as voice data, text data, and video data. Specifically, the model framework of the sequence to sequence model generally includes two parts, an encoder part and a decoder part. In the embodiment of the present application, the encoder part is mainly used to realize the extraction of feature data. The encoder in the sequence to sequence model can be implemented by a recurrent neural network (RNN), such as a commonly used long short-term memory network (LSTM). Of course, it is understandable that the above-mentioned encoder type can be flexibly adjusted as needed, and the present application does not limit this.

[0175] After obtaining the first feature data and the second feature data, the first feature data and the second feature data may be feature fused to obtain the third feature data. Here, the method of feature fusion of the first feature data and the second feature data may include data splicing, data weighting, etc., and this application does not impose specific restrictions on this. Based on the third feature data, a prediction may be made through a scoring model to obtain second scoring information.

[0176] It should be noted that in the field of machine learning, the model generally needs to be trained and adjusted before it is put into use. Therefore, in an embodiment of the present application, a training method for a scoring model is also provided. Specifically, in a possible implementation method, the scoring model is trained by the following steps:

[0177] Obtaining third content information of comments on sample products by batch sample objects and evaluation labels corresponding to the third content information, wherein the evaluation labels are used to represent the real results of the rating information of the sample objects on the sample products;

[0178] Inputting the third content information into the initialized scoring model, and processing the third content information through the scoring model to obtain third scoring information;

[0179] Determine the loss value of training according to the third scoring information and the evaluation label;

[0180] The parameters of the scoring model are updated according to the loss value to obtain a trained scoring model.

[0181] In the embodiment of the present application, when training the scoring model, the content information of the comments of multiple sample objects on the sample product can be obtained, which is recorded as the third content information, and the real result of the scoring information of the sample object on the sample product can be obtained as the evaluation label corresponding to the third content information. Then, the third content information is input into the initialized scoring model, and then the feature data corresponding to the sample object can be extracted according to the third content information by referring to the aforementioned method of extracting the first feature data, which is recorded as the fourth feature data. Based on the fourth feature data, the scoring information of the sample object on the sample product can be predicted and recorded as the third scoring information.

[0182] It is understandable that, under normal circumstances, it is hoped that the scoring information predicted by the scoring model can be as close to the actual situation as possible, that is, the actual result of the scoring information of the sample object for the sample product. In other words, the predicted third scoring information should be close to or the same as the evaluation label. If the difference between the two is large, it means that the effect of the scoring model is poor. Therefore, in an embodiment of the present application, the accuracy of the scoring model can be determined based on the evaluation label and the third scoring information. Specifically, the deviation between the evaluation label and the third scoring information can be determined to obtain the loss value corresponding to the scoring model. After obtaining the loss value, the accuracy of the scoring model can be evaluated according to the size of the loss value, so as to perform back-propagation training on the scoring model and update the relevant parameters inside it.

[0183] Specifically, for a machine learning model, the accuracy of its prediction can be measured by a loss function (LossFunction). The loss function is defined on a single training data and is used to measure the prediction error of a training data. Specifically, the loss value of the training data is determined by the label of the single training data and the prediction result of the model for the training data. In actual training, a training data set has a lot of training data, so the cost function (CostFunction) is generally used to measure the overall error of the training data set. The cost function is defined on the entire training data set and is used to calculate the average value of the prediction error of all training data, which can better measure the prediction effect of the model. For a general machine learning model, based on the aforementioned cost function, plus a regularization term that measures the complexity of the model, it can be used as the objective function of the training. Based on this objective function, the loss value of the entire training data set can be calculated. There are many types of commonly used loss functions, such as 0-1 loss function, square loss function, absolute loss function, logarithmic loss function, cross entropy loss function, etc., which can all be used as loss functions of machine learning models, and will not be elaborated one by one here.

[0184] Specifically, in a possible implementation, the method for processing comment information provided in the embodiment of the present application further includes:

[0185] In response to the comment submission operation of the target object, the target object is verified for permissions, and the target comment information is verified for content;

[0186] When the target object's permission check passes and the target review information's content check passes, the target review information is published to the review area corresponding to the target product for display.

[0187] In an embodiment of the present application, after the target object has finished editing the target comment information, an operation request can be triggered to display the target comment information in the comment area corresponding to the target product. Specifically, the operation request is recorded as a comment submission operation, and the terminal device can respond to the comment submission operation of the target object to verify whether the target object has the authority to publish comment information, and can simultaneously perform a content verification on the target comment information. When it is determined that the target object's authority verification has passed and the target comment information's content verification has passed, the target comment information can be published to the comment area corresponding to the target product for display. For example, referring to Figure 7When displaying the target comment information, some corresponding operation buttons can be provided for the target object, such as the modify button 710, the save button 720 or the submit button 730. When the target object clicks the modify button 710, it can return to the comment editing interface of the comment information; when the target object clicks the save button 720, the target comment information can be saved and wait for the target object to modify or submit it; when the target object clicks the submit button 730, it is regarded as triggering the comment submission operation and entering the verification and publishing process. Fig.11 , Fig.11 A schematic diagram of a comment area of ​​a video playback application is shown. When displaying comment information, relevant information of the editor of the comment information, such as account ID, avatar, etc., can be displayed, and the release time of the comment information can be displayed.

[0188] It should be noted that since some comment information may be long and may occupy a larger display space in the comment area, when displaying the comment information, the display length of each comment information can be limited, and the comment information that exceeds the fixed length can be folded. Other objects can click on the comment information to view the completed content.

[0189] As mentioned above, the method for processing comment information provided in the embodiment of the present application can be applied to a video playback application. The following is a detailed description of the method for processing comment information provided in the present application in conjunction with a specific application.

[0190] With the continuous innovation of Internet media technology, the film and entertainment industry, including the cinema industry and the home entertainment industry, is booming. Movies have become people's daily entertainment options, and people's acceptance and welcome of movies have also spawned a large amount of review information. Extracting subjective opinions from review information and judging the public's positive or negative tendencies are important issues in information extraction and mining in the field of natural language processing. At the same time, movie review information demonstrates its own value in terms of value transmission and film and television environment shaping. Analyzing it will help deepen the development of film and television research. Therefore, it is of great significance to conduct tendency analysis on movie review information.

[0191] In an embodiment of the present application, a method for processing comment information is provided, which can be applied to a video playback application and can provide viewers with a flexible and convenient way to edit comments, which not only reduces the difficulty of editing comment information, but also helps to improve the reference value of the comment information.

[0192] In the embodiment of the present application, a review publisher can be developed by using UI technology in a video playback application. For example, Fig.12 , Fig.12The schematic diagram of the architecture of a review publisher provided in an embodiment of the present application is shown. In the review publisher, there are multiple modules, among which the title bar is used to display some account and avatar information of the reviewer, and the scoring module is mainly used for reviewers to score. A corresponding scoring selector can be set in it. Reviewers can operate the scoring selector to achieve the scoring operation of film and television works. In the scoring module, a main input box (main and secondary input areas) and multiple secondary input boxes (i.e., secondary input areas) can be set. Fig.12 There are three sub-input boxes in the application. The application does not limit the specific number, and it can be flexibly adjusted as needed. Below the sub-input box, there is a function button area for selecting some functions, such as inserting images, emoticons, etc. Below the function button area is the keyboard area, where commentators can type content on the keyboard to edit the comment information.

[0193] In the embodiment of the present application, when editing comment information in the video playback application, the data processing logic on the terminal device side is as follows: Fig.13 See Fig.13 After the commentator enters the comment publisher, the terminal device can pull the comment information parsing function to realize the subsequent parsing of the rating information given by the commentator. In addition, the rating selector can be activated, such as displaying the rating progress bar in different dimensions, so that the commentator can give the rating information. Then, the terminal device can detect whether the method in the embodiment of the present application is configured in the video playback application, and whether the function of the title information that can give guidance is configured. If this function is not configured, in the original way, only the function of the main edit box is used, and the commentator edits the comment information by himself and displays it through the comment publisher. If the title information function is configured, the rating information can be cyclically parsed after the commentator gives the comment information to obtain the title information corresponding to each dimension. Of course, in some cases, the commentator may not have scored, and there is a situation where the title information is not parsed. At this time, the commentator still edits the comment information by himself and displays it through the comment publisher. If the title information is parsed, the title information can be recorded, and the same number of sub-input boxes as the title information are inserted in the comment publisher, and the title information is displayed in the sub-input box, so as to facilitate the commentator to edit.

[0194] Reference Fig.14 , Fig.14This is a schematic diagram of the relevant data flow when editing comment information in a video playback application. Specifically, on the application server side, you can first preset and configure comment information of multiple dimensions of film and television works, and associate these comment information with rating information. On the terminal device side, when the commentator scores, you can pull the corresponding comment information, parse and generate title information, and display the title information in the secondary input box. The commentator can edit his own comment information on the terminal device side, and send a submission request after completion to splice the edited content together. On the application server side, when the terminal device sends a submission request, the request is verified, and if it passes, the comment post information can be generated, which can include the commentator's rating information and comment information. In addition, the comment post information can be associated with the preset configured comment information for other viewers to refer to the relevant evaluations to improve the richness of the comment information.

[0195] The following is some code data corresponding to the interface part in the video playback application:

[0196] / / Get review information service

[0197] service GradeService{

[0198] rpc getGradeInfo(GetGradeInfoRequest)returns(GetGradeInfoResponse);

[0199] / / Get review information request

[0200] message GetGradeInfoRequest{

[0201] string data_key=1; / / Request datakey, including activity id, rating id, etc.

[0202] uint64 local_play_duration = 2; / / Local real-time viewing duration (last 2 days), unit: seconds

[0203] / / Get the review information response

[0204] message GetGradeInfoResponse{

[0205] repeated GradeItem grade_item_list=1; / / Grading dimension list

[0206] string verify_msg = 2; / / Review qualification verification prompt

[0207] map<int32,Operation> operation_map=3; / / operation_map, review qualification verification jump action

[0208] uint64 total_play_duration = 4; / / watching time, unit: seconds

[0209] / / Rating display style

[0210] enum GradeItemType{

[0211] GRADE_ITEM_TYPE_LABEL = 0; / / Label style, directly display the copy options (Thunder, No, OK, Recommended, Highly Recommended)

[0212] GRADE_ITEM_TYPE_STAR = 1; / / Rating style, display rating bar, display copywriting options according to star value (no, no, OK, recommended, highly recommended)

[0213] / / Rating dimension

[0214] message GradeItem{

[0215] string name=1; / / dimension id

[0216] string name = 2; / / Dimension copywriting: your recommendation value, plot design, role interpretation, audio-visual effects, post-production editing

[0217] GradeItemType item_type = 3; / / Grade display style

[0218] repeated GradeOption grade_option_list = 4; / / Grading options

[0219] / / Rating options

[0220] message GradeOption{

[0221] string id=1; / / option id

[0222] string name=2; / option text: bad news, no feeling, OK, recommended, highly recommended

[0223] string tips=3; / / option corresponding prompts

[0224] }

[0225] Reference Fig.15 , Fig.15 A schematic diagram of the structure of a comment information processing device provided in an embodiment of the present application, wherein the comment information processing device includes:

[0226] The initiating unit 1510 is used to display a review editing interface in response to the target object initiating a review operation on the target product; the review editing interface includes a main input area and at least one secondary input area, and title information is displayed in each secondary input area;

[0227] The first input unit 1520 is used to display first content information in the main input area in response to a first input operation of a target object when the input focus is in the main input area;

[0228] The second input unit 1530 is used to display second content information in the secondary input area in response to a second input operation of a target object when the input focus is in the secondary input area, wherein the second content information includes title information and information input by the second input operation;

[0229] The display unit 1540 is configured to display target comment information in response to a comment ending operation of the target object, wherein the target comment information includes first content information and second content information.

[0230] Optionally, the review editing interface further includes a rating area, in which a rating selector is displayed. The apparatus for processing review information in the embodiment of the present application further includes:

[0231] The selection unit is configured to display the first rating information in the rating area in response to the target object's selection operation on the rating selector.

[0232] Optionally, in the apparatus for processing review information in the embodiment of the present application, the rating selector includes at least one of a sliding rating selector, a star rating selector, a drop-down menu rating selector, or a scrolling rating selector, the sliding rating selector displays a rating progress bar, and the rating progress bar is used to represent at least two rating information; the star rating selector displays at least two rating stars; the drop-down menu rating selector displays a drop-down menu option of at least two rating information, and the scrolling rating selector displays a list option of at least two rating information;

[0233] Select units, including at least one of the following:

[0234] A sliding selection subunit, configured to display the selected rating information as first rating information in the rating area in response to a target object's sliding selection operation on the rating progress bar;

[0235] Alternatively, a click selection subunit is used to respond to the target object's click selection operation on the rating star, and display the selected rating star in the rating area as the first rating information;

[0236] Alternatively, the pull-down selection subunit is used to display the selected rating information as the first rating information in the rating area in response to the target object's pull-down selection operation on the pull-down menu option;

[0237] Alternatively, the scroll selection subunit is configured to display the selected rating information as the first rating information in the rating area in response to the target object's scroll selection operation on the list options.

[0238] Optionally, the comment information processing device in the embodiment of the present application further includes:

[0239] The initialization unit is used to display the initialized first content information in the main input area, wherein the initialized first content information is associated with the first rating information.

[0240] Optionally, in the apparatus for processing comment information in the embodiment of the present application, the second input unit is specifically configured to:

[0241] When the input focus is in the secondary input area, the cursor position is anchored behind the title information displayed in the secondary input area;

[0242] In response to the second input operation of the target object, the input information is displayed after the title information in the sub-input area where the cursor is located.

[0243] Optionally, the comment information processing device in the embodiment of the present application further includes:

[0244] The adjusting unit is used for adjusting the secondary input area where the cursor is located to above the secondary input area that has not been edited when the cursor is located in the secondary input area.

[0245] Optionally, the comment information processing device in the embodiment of the present application further includes:

[0246] The generating unit is used to obtain the first rating information of the target object on the target product; and generate the title information according to the first rating information.

[0247] Optionally, in the apparatus for processing comment information in the embodiment of the present application, the generating unit is specifically configured to:

[0248] Obtain the fourth content information of each dimension of the target product;

[0249] According to the sub-rating information, determine the evaluation feature words corresponding to each dimension;

[0250] For each dimension, title information is generated according to the corresponding evaluation feature word and the fourth content information.

[0251] Optionally, the comment information processing device in the embodiment of the present application further includes:

[0252] The updating unit is used to determine the second rating information of the target object for the target product based on the first content information and the second content information; and to update the title information displayed in at least one unedited secondary input area according to the second rating information, or to add a secondary input area with new title information.

[0253] Optionally, in the apparatus for processing comment information in the embodiment of the present application, the updating unit is specifically configured to:

[0254] Inputting the first content information into the trained scoring model to extract first feature data of the first content information, and inputting the second content information into the scoring model to extract second feature data of the second content information;

[0255] Performing feature fusion on the first feature data and the second feature data to obtain third feature data;

[0256] According to the third feature data, prediction is performed through the scoring model to determine the second scoring information of the target object for the target product.

[0257] Optionally, the comment information processing device in the embodiment of the present application further includes:

[0258] The training unit is used to obtain the third content information of the comments of the batch sample objects on the sample products and the evaluation labels corresponding to the third content information, wherein the evaluation labels are used to represent the real results of the scoring information of the sample objects on the sample products; input the third content information into the initialized scoring model, process the third content information through the scoring model to obtain the third scoring information; determine the loss value of the training according to the third scoring information and the evaluation labels; update the parameters of the scoring model according to the loss value to obtain the trained scoring model.

[0259] Optionally, the comment information processing device in the embodiment of the present application further includes:

[0260] The merging unit is used to add a line break symbol after the first content information and each second content information in response to the comment ending operation of the target object; and to splice the first content information and each second content information after adding the line break symbol to obtain the target comment information.

[0261] Optionally, the comment information processing device in the embodiment of the present application further includes:

[0262] The display unit is used to respond to the comment submission operation of the target object, perform permission verification on the target object, and perform content verification on the target comment information; when the permission verification of the target object passes and the content verification of the target comment information passes, the target comment information is published to the comment area corresponding to the target product for display.

[0263] It is understandable that if Figure 4 The contents of the embodiment of the method for processing comment information shown in the figure are applicable to the embodiment of the device for processing comment information. The functions specifically implemented by the embodiment of the device for processing comment information are similar to those in the embodiment of the method for processing comment information shown in the figure. Figure 4 The processing embodiment of the comment information shown is the same as that of the embodiment of the comment information shown in FIG. Figure 4 The beneficial effects achieved by the illustrated embodiment of processing comment information are also the same.

[0264] Reference Fig.16 , the embodiment of the present application further discloses an electronic device, including:

[0265] at least one processor 1610;

[0266] At least one memory 1620 stores a computer program. When the processor 1610 executes the computer program, the following is achieved: Figure 4 An embodiment of a method for processing comment information is shown.

[0267] It is understandable that if Figure 4 The contents of the embodiment of the method for processing comment information shown in the figure are applicable to the embodiment of the electronic device. The functions specifically implemented by the embodiment of the electronic device are similar to those in the embodiment of the figure. Figure 4 The processing method of comment information shown in the embodiment is the same as that of the embodiment of the present invention, and the beneficial effects achieved are the same as those of the embodiment of the present invention. Figure 4 The beneficial effects achieved by the illustrated embodiment of the method for processing comment information are also the same.

[0268] The present application also discloses a computer-readable storage medium in which a computer program executable by a processor is stored. When the computer program is executed by the processor, it is used to implement the following Figure 4 An embodiment of a method for processing comment information is shown.

[0269] Understandably, Figure 4 The contents of the embodiment of the method for processing comment information shown in the figure are applicable to the embodiment of the computer-readable storage medium. The functions specifically implemented by the embodiment of the computer-readable storage medium are similar to those of the embodiment of the computer-readable storage medium. Figure 4 The processing method of comment information shown in the embodiment is the same as that of Figure 4 The beneficial effects achieved by the illustrated embodiment of the method for processing comment information are also the same.

[0270] The present application also discloses a computer program product, including a computer program, which is used to implement Figure 4 An embodiment of a method for processing comment information is shown.

[0271] Understandably, Figure 4 The contents of the method for processing comment information shown in the embodiment are all applicable to the embodiment of the computer program product. The functions specifically implemented by the embodiment of the computer program product are similar to those of the embodiment of the computer program product. Figure 4 The processing method of comment information shown in the embodiment is the same as that of Figure 4 The beneficial effects achieved by the illustrated embodiment of the method for processing comment information are also the same.

[0272] In some selectable embodiments, the function / operation mentioned in the block diagram may not occur in the order mentioned in the operation diagram. For example, depending on the function / operation involved, the two boxes shown in succession can actually be executed substantially simultaneously or the boxes can sometimes be executed in reverse order. In addition, the embodiment presented and described in the flow chart of the application is provided by way of example, for the purpose of providing a more comprehensive understanding of technology. The disclosed method is not limited to the operation and logic flow presented herein. Selectable embodiments are expected, wherein the order of various operations is changed and the sub-operation of a part described as a larger operation is performed independently.

[0273] In addition, although the present application is described in the context of functional modules, it should be understood that, unless otherwise specified, one or more of the functions and / or features can be integrated into a single physical device and / or software module, or one or more functions and / or features can be implemented in a separate physical device or software module. It is also understood that a detailed discussion of the actual implementation of each module is unnecessary for understanding the present application. More specifically, in view of the properties, functions, and internal relationships of the various functional modules in the device disclosed herein, the actual implementation of the module will be understood within the conventional techniques of the engineer. Therefore, those skilled in the art can implement the present application set forth in the claims without excessive experimentation using ordinary techniques. It is also understood that the specific concepts disclosed are merely illustrative and are not intended to limit the scope of the present application, which is determined by the full scope of the attached claims and their equivalents.

[0274] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, and other media that can store program codes.

[0275] The logic and / or steps represented in the flowchart or otherwise described herein, for example, may be considered as an ordered list of executable instructions for implementing logical functions, and may be embodied in any computer-readable storage medium for use by an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, apparatus, or device and execute instructions), or in conjunction with such instruction execution system, apparatus, or device. For purposes of this specification, a "computer-readable storage medium" may be any device that can contain, store, communicate, propagate, or transmit a program for use by an instruction execution system, apparatus, or device, or in conjunction with such instruction execution system, apparatus, or device.

[0276] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0277] In the above description of this specification, the description with reference to the terms "one embodiment / example", "another embodiment / example" or "certain embodiments / examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0278] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present application, and that the scope of the present application is defined by the claims and their equivalents.

[0279] The above is a specific description of the preferred implementation of the present application, but the present application is not limited to the embodiments. Technical personnel familiar with the field can make various equivalent modifications or substitutions without violating the spirit of the present application. These equivalent modifications or substitutions are all included in the scope defined by the claims of the present application.

Claims

1. A method for processing comment information, characterized in that: The method comprises: In response to the target object initiating a comment operation on the target product, a comment editing interface is displayed; the comment editing interface includes a main input area and at least one secondary input area, and title information is displayed in each of the secondary input areas; When the input focus is in the main input area, in response to a first input operation of the target object, displaying first content information in the main input area; When the input focus is on the secondary input area, in response to a second input operation of the target object, second content information is displayed in the secondary input area, wherein the second content information includes the title information and information input by the second input operation; In response to a comment ending operation of the target object, target comment information is displayed, wherein the target comment information includes the first content information and the second content information.

2. The method for processing comment information according to claim 1, characterized in that: The review editing interface further includes a rating area, in which a rating selector is displayed. The method further includes: In response to the target object's selection operation on the rating selector, first rating information is displayed in the rating area.

3. The method for processing comment information according to claim 2, characterized in that: The rating selector includes at least one of a sliding rating selector, a star rating selector, a drop-down menu rating selector, or a scrolling rating selector, wherein a rating progress bar is displayed on the sliding rating selector, and the rating progress bar is used to represent at least two rating information; at least two rating stars are displayed on the star rating selector; at least two drop-down menu options of rating information are displayed on the drop-down menu rating selector, and at least two list options of rating information are displayed on the scrolling rating selector; In response to the target object's selection operation on the rating selector, displaying the first rating information in the rating area includes at least one of the following: In response to a sliding selection operation of the target object on the scoring progress bar, displaying the selected scoring information in the scoring area as first scoring information; Alternatively, in response to the target object's click selection operation on the rating star, the selected rating star is displayed in the rating area as the first rating information; Alternatively, in response to the target object's pull-down selection operation on the pull-down menu option, the selected rating information is displayed in the rating area as the first rating information; Alternatively, in response to the target object's scrolling selection operation on the list options, the selected rating information is displayed in the rating area as the first rating information.

4. The method for processing comment information according to claim 2 or 3, characterized in that: After the step of displaying the first rating information, the method further includes: Displaying the initialized first content information in the main input area, wherein the initialized first content information is associated with the first rating information; Alternatively, the title information displayed in at least one of the sub-input areas is updated.

5. The method for processing comment information according to claim 1, characterized in that: The step of displaying second content information in the secondary input area in response to a second input operation of the target object when the input focus is in the secondary input area includes: When the input focus is on the secondary input area, anchoring the cursor position to the back of the title information displayed in the secondary input area; In response to a second input operation of the target object, the input information is displayed after the title information in the secondary input area where the cursor is located.

6. The method for processing comment information according to claim 5, characterized in that: The method further comprises: When the cursor is located in the auxiliary input area, the auxiliary input area where the cursor is located is adjusted to be above the auxiliary input area that has not been edited.

7. The method for processing comment information according to claim 1, characterized in that: The title information is generated by the following steps: Acquire first rating information of the target object on the target product; The title information is generated according to the first rating information.

8. The method for processing comment information according to claim 7, characterized in that: The first rating information includes sub-rating information of multiple dimensions of the target product, and the generating the title information according to the first rating information includes: Acquire fourth content information of each dimension of the target product; Determine the evaluation feature words corresponding to each dimension according to the sub-rating information; For each dimension, the title information is generated according to the corresponding evaluation feature word and the fourth content information.

9. The method for processing comment information according to claim 1, characterized in that: The method further comprises: Determining second rating information of the target object for the target product according to the first content information and the second content information; According to the second rating information, the title information displayed in at least one unedited sub-input area is updated, or a sub-input area with new title information is added.

10. The method for processing comment information according to claim 9, characterized in that: The determining, according to the first content information and the second content information, second rating information of the target object for the target product includes: Inputting the first content information into a trained scoring model to extract first feature data of the first content information, and inputting the second content information into the scoring model to extract second feature data of the second content information; Performing feature fusion on the first feature data and the second feature data to obtain third feature data; According to the third feature data, prediction is performed through the scoring model to determine second scoring information of the target object for the target product.

11. The method for processing comment information according to claim 10, characterized in that: The scoring model is trained by the following steps: Acquire third content information of comments on sample products by batch sample objects and evaluation labels corresponding to the third content information, wherein the evaluation labels are used to represent the real results of the rating information of the sample objects on the sample products; Inputting the third content information into an initialized scoring model, and processing the third content information through the scoring model to obtain third scoring information; Determining a loss value of training according to the third scoring information and the evaluation label; The parameters of the scoring model are updated according to the loss value to obtain a trained scoring model.

12. The method for processing comment information according to claim 1, characterized in that: The target review information is obtained by following the steps below: In response to the comment ending operation of the target object, adding a line break symbol after the first content information and each of the second content information; The first content information after adding the line break symbol and each of the second content information are concatenated to obtain target comment information.

13. The method for processing comment information according to claim 1, characterized in that: The method further comprises: In response to the comment submission operation of the target object, performing permission verification on the target object and content verification on the target comment information; When the authority check of the target object passes and the content check of the target review information passes, the target review information is published to the review area corresponding to the target product for display.

14. A comment information processing device, characterized in that: The device comprises: An initiating unit, configured to display a review editing interface in response to a review initiation operation of a target object on a target product; the review editing interface comprises a main input area and at least one secondary input area, and title information is displayed in each of the secondary input areas; A first input unit, configured to display first content information in the main input area in response to a first input operation of the target object when the input focus is in the main input area; a second input unit, configured to display second content information in the secondary input area in response to a second input operation of the target object when the input focus is in the secondary input area, wherein the second content information includes the title information and information input by the second input operation; A display unit is configured to display target comment information in response to a comment ending operation of the target object, wherein the target comment information includes the first content information and the second content information.

15. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the method for processing comment information according to any one of claims 1 to 13 is implemented.

16. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method for processing comment information according to any one of claims 1 to 13 is implemented.

17. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the method for processing comment information according to any one of claims 1 to 13 is implemented.

Citation Information

Patent Citations

  • Method and device for automatically assessing satisfaction degree

    CN105654250A

  • User evaluation method and device based on interactive form

    CN108776903A

  • Information processing method and device

    CN113297466A

  • Scoring method and device, computer equipment and storage medium

    CN113793611A

  • Book comment submission processing method, computing device and storage medium

    CN113971214A