A picture comment processing method and device, electronic equipment and storage medium

By allowing comments on local areas and marking the location after the picture is zoomed in, the problem of separated comment areas in the existing technology is solved, and a more intuitive and targeted picture commenting experience is achieved.

CN112215924BActive Publication Date: 2025-10-10TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202011164528.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-10-27
Publication Date
2025-10-10
Estimated Expiration
2040-11-14

AI Technical Summary

Technical Problem

In the prior art, picture comments can only be displayed in the comment area below the picture, which lacks visual intuitiveness and leads to poor comment effects.

Method used

By responding to the user's zooming in on the image, the system displays a local area and allows comments in that area. After the comment is posted, the location is marked in the image and the identity of the commenter is displayed, thus achieving a natural combination of comments and images.

Benefits of technology

It improves the pertinence and interactivity of comments, allowing users to intuitively view image details and comment on specific locations, enhancing the effectiveness of comments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112215924B_ABST
    Figure CN112215924B_ABST
Patent Text Reader

Abstract

The application relates to the computer technical field, in particular to a picture comment processing method and device, electronic equipment and storage medium, to improve the pertinence of picture comments and enhance the comment effect. The method comprises the following steps: in response to a zoom-in operation on a target picture, displaying the zoomed-in target picture; in response to a preset comment operation triggered by a local area in the zoomed-in target picture, displaying a zoomed-in picture containing the local area and a comment editing page containing comment content to be published for the local area; and in response to a comment publishing operation of publishing the comment content for the local area, displaying a first picture display page containing the target picture, the first picture display page displaying a position identifier of the published comment for the local area and an identity identifier of a comment publisher. The application can view details in the local area of the target picture which is commented, and comment on a specific position in the picture, thereby improving the pertinence and comment effect of the comment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the rapid development of Internet technology, people are interacting with each other in various ways through the Internet. Sharing pictures and making comments has become a popular way of interaction, and people are paying more and more attention to the quality and details of pictures.

[0003] However, currently, text comments on image dynamics can only be displayed separately from the original image. For example, when people want to express their opinions on a particular image, they can do so in the comment area below the image. Therefore, comments on the image can only be displayed in the comment area. For example, displaying the comments one by one in the comment area below the image is not very visual and intuitive, resulting in poor commenting effect. Summary of the Invention

[0004] The embodiments of the present application provide a method, device, electronic device, and storage medium for processing picture comments, so as to improve the pertinence of picture comments and enhance the comment effect.

[0005] The first method for processing picture comments provided in the embodiment of the present application includes:

[0006] In response to a zoom-in operation on a target image posted by a reviewed party, displaying the zoomed-in target image;

[0007] In response to a preset comment operation triggered by a zoomed-in local area in the target image, displaying a comment editing page including a first image display area and a comment editing area, wherein the first image display area displays an zoomed-in image of the local area, and the comment editing area displays the comment content to be published for the local area;

[0008] In response to the comment publishing operation of publishing the comment content for the local area, a first picture display page containing the target picture is displayed, and the first picture display page displays the location identifier of the comment published for the local area and the identity identifier of the commentator who published the comment.

[0009] The second method for processing picture comments provided in the embodiment of the present application includes:

[0010] Upon receiving a request to enlarge a target image posted by the reviewed party, obtaining the image identifier of the target image and information about the enlargement ratio of the target image, and associating the enlargement ratio information with the image identifier and storing the information;

[0011] After receiving a comment request for a local area in the enlarged target image, obtaining display information of the local area and an identity identifier of the commenter, and associating the display information and the identity identifier with the image identifier and saving the information;

[0012] After receiving a comment publishing request for publishing the comment content to be published for the local area, the comment content is associated with the identity identifier and saved, and the requesting party is notified so that the requesting party displays a first image display page containing the target image, wherein the first image display page displays the location identifier of the comment published for the local area and the identity identifier of the commenting party associated with the comment.

[0013] The first image comment processing device provided in the embodiment of the present application includes:

[0014] A first response unit, configured to respond to a zoom-in operation on a target image posted by a reviewed party and display the zoomed-in target image;

[0015] a second response unit, configured to, in response to a preset comment operation triggered by a local area in the enlarged target image, display a comment editing page including a first image display area and a comment editing area, wherein the first image display area displays an enlarged image of the local area, and the comment editing area displays the comment content to be published for the local area;

[0016] The third response unit is used to respond to the comment publishing operation of publishing the comment content for the local area, and display a first picture display page containing the target picture, wherein the first picture display page displays the location identifier of the comment published for the local area and the identity identifier of the commentator who published the comment.

[0017] Optionally, the device further includes:

[0018] a fourth response unit configured to, after the third response unit responds to the comment publishing operation for publishing the comment content for the local area, and in response to a triggering operation for viewing comments on the target image, display a second image display page containing the target image, wherein each comment position in the second image display page further displays a location identifier of the comment published for the target image and an identity identifier of the commentator associated with the location identifier, wherein the comment position is the location where the commentator published the comment in the local area;

[0019] In response to a viewing operation of comments on a target comment location, a comment details page is displayed that includes a second image display area and a first comment display area, wherein the second image display area displays an enlarged image of a local area associated with the target comment location, and the first comment display area displays comment content associated with the target comment location.

[0020] Optionally, the same comment location displays location identifiers of comments posted by multiple commentators and identity identifiers of the commentators associated with each location identifier; the fourth response unit is specifically configured to:

[0021] In response to a viewing operation triggered by the identity of the target commenter at the target comment location, a comment details page including a second image display area and a first comment display area is displayed, the second image display area displays an enlarged image of a local area associated with the target comment location, and the identity of the target commenter is also displayed at the target comment location, and the first comment display area displays the comment content posted by the target commenter at the target comment location.

[0022] Optionally, the first comment display area further displays a comment reply control; and the fourth response unit is further configured to:

[0023] In response to a triggering operation of the comment reply control by the commented party, a first chat page including a second comment display area and a comment reply area is displayed, wherein the second comment display area displays the comment content posted by the commenter on the target comment location;

[0024] In response to reply information edited by the reviewed party through the comment reply area to the comment content posted by the reviewer at the target comment location, the reply information is displayed in the second comment display area.

[0025] Optionally, the fourth response unit is specifically configured to:

[0026] A comment message card for the commenter is displayed in the second comment display area. The comment message card displays the target image and the comment content posted by the commenter for the target comment location.

[0027] Optionally, the first comment display area further displays the identity of the commenter; and the fourth response unit is further configured to:

[0028] In response to a triggering operation on the identity identifier of the commenter, displaying a personal details page of the commenter, wherein the personal details page displays the personal details information of the commenter and a chat control;

[0029] In response to a triggering operation on the chat control, a second chat page between the commenting party and the commented party is displayed.

[0030] Optionally, the third response unit is specifically configured to:

[0031] In response to a comment posting operation of posting the comment content at a target comment location, displaying multiple types of location identifiers;

[0032] In response to a triggering operation of selecting a location identifier of a target type, a first picture display page including the target picture is displayed, and a location identifier of the target type is displayed at the target comment position in the first picture display page.

[0033] The second image comment processing device provided in the embodiment of the present application includes:

[0034] a first associating unit configured to, upon receiving a request to enlarge a target image posted by a reviewed party, obtain an image identifier of the target image and information about an enlargement ratio of the target image, and associate the enlargement ratio information with the image identifier for storage;

[0035] a second associating unit configured to, upon receiving a comment request for a local area in the enlarged target image, obtain display information of the local area and an identity identifier of the commenter, and associate and store the display information and the identity identifier with the image identifier;

[0036] The notification unit is used to, after receiving a comment publishing request for comment content to be published for the local area, associate the comment content with the identity identifier and save it, and notify the requesting party so that the requesting party displays a first image display page containing the target image, wherein the first image display page displays the location identifier of the comment published for the local area and the identity identifier of the commenting party associated with the comment.

[0037] Optionally, the device further includes:

[0038] a first feedback unit, configured to send a notification message to a target application logged in by the reviewed party after the notification unit associates and saves the review content with the identity identifier;

[0039] After receiving a trigger request for viewing comments on the target image, querying comment location information of each comment location associated with the image identifier in the trigger request, as well as the identity identifier of the commenter associated with each comment location, and feeding back the information to the target application logged in by the commented party, so that the target application logged in by the commented party displays a second image display page containing the target image, wherein each comment location in the second image display page also displays the location identifier of the comment posted for the target image, as well as the identity identifier of the commenter associated with the location identifier;

[0040] After receiving a request to view comments on the target comment location, the comment content and identity identifier associated with the comment location information are returned to the target application logged in by the reviewed party, so that the target application logged in by the reviewed party displays a comment details page including a second image display area and a first comment display area, wherein the second image display area displays an enlarged image of a local area associated with the target comment location, and the first comment display area displays the comment content associated with the target comment location.

[0041] Optionally, the first comment display area further displays the identity of the commenter; the device further includes:

[0042] The second feedback unit, after receiving a trigger request for the identity identifier of the reviewer, feeds back the personal details of the reviewer to the target application logged in by the reviewed party, so that the target application logged in by the reviewed party displays the personal details page of the reviewer, and the personal details page displays the personal details of the reviewer.

[0043] Optionally, the display information of the local area includes center position information of a center position in the local area, comment position information of a target comment position in the local area, and display size information of the local area; the notification unit is specifically configured to:

[0044] Obtaining enlarged size information of the target image after enlargement according to the original size information of the target image and the enlargement ratio information;

[0045] Obtaining reference position information of a reference point located on the enlarged image according to the enlarged size information, the center position information, and the display size information of the local area;

[0046] The reference position information and the enlarged size information are fed back to the requesting party, so that the requesting party draws the enlarged picture in the local area according to the reference position information and the enlarged size information, and draws the position identifier of the target comment position in the local area according to the comment position information.

[0047] Optionally, the device further includes:

[0048] The first adjustment unit is configured to adjust the reference position information so that the adjusted reference position information meets the preset position condition when the reference position information does not meet the preset position condition; and simultaneously adjust the comment position information and the enlarged size information.

[0049] Optionally, the device further includes:

[0050] The second adjustment unit is used to adjust the reference position information of the reference point on the target image after enlargement when it is determined according to the center position information that the target comment position cannot appear in the local area, so that the target comment position can appear in the local area after adjustment.

[0051] An electronic device provided in an embodiment of the present application includes a processor and a memory, wherein the memory stores program code, and when the program code is executed by the processor, the processor executes the steps of any one of the above-mentioned picture comment processing methods.

[0052] The present application provides a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the steps of any of the above-described methods for processing image comments.

[0053] An embodiment of the present application provides a computer-readable storage medium, which includes program code. When the program product is run on an electronic device, the program code is used to enable the electronic device to execute the steps of any one of the above-mentioned picture comment processing methods.

[0054] The beneficial effects of this application are as follows:

[0055] The embodiments of the present application provide a method, device, electronic device, and storage medium for processing image comments. In the embodiments of the present application, users can intuitively view the details within the commented local area of ​​the target image and comment on a specific location in the enlarged local area of ​​the image, making the image comment more targeted. In addition, after the user comments on a specific location in the image, the location identifier and the commenter's identity identifier can be further displayed at that location, combining the comment with the original image in a more natural way and making the comment more intuitive. This is conducive to improving the interactivity between the commenting parties and enhancing the commenting effect.

[0056] Other features and advantages of the present application will be described in the following description, and in part will become apparent from the description, or will be understood by practicing the present application. The purposes and other advantages of the present application can be realized and obtained by the structures particularly pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0058] Figure 1A Schematic diagram of the first type of image content label in the related art;

[0059] Figure 1B Schematic diagram of the second type of image content label in the related art;

[0060] Figure 2 This is an optional schematic diagram of an application scenario in an embodiment of the present application;

[0061] Figure 3 This is a flowchart of a first method for processing picture comments in an embodiment of the present application;

[0062] Figure 4 A schematic diagram of a target image in an embodiment of the present application;

[0063] Figure 5A This is a schematic diagram of a comment editing page in an embodiment of the present application;

[0064] Figure 5B This is a schematic diagram of the first image display page in the embodiment of the present application;

[0065] Figure 5C This is a schematic diagram of the second first image display page in an embodiment of the present application;

[0066] Figure 6A This is a schematic diagram of the first second image display page in an embodiment of the present application;

[0067] Figure 6B This is a schematic diagram of a review details page in an embodiment of the present application;

[0068] Figure 6C This is a schematic diagram of the second type of second image display page in an embodiment of the present application;

[0069] Figure 7 This is a schematic diagram of the third second image display page in an embodiment of the present application;

[0070] Figure 8A This is a schematic diagram of the first chat page in an embodiment of the present application;

[0071] Figure 8B This is a schematic diagram of the second chat page in an embodiment of the present application;

[0072] Figure 8C This is a schematic diagram of a third chat page in an embodiment of the present application;

[0073] Figure 9 This is a schematic diagram of the first personal details page in an embodiment of the present application;

[0074] Figure 10 This is a schematic diagram of the second personal details page in an embodiment of the present application;

[0075] Figure 11 This is a schematic diagram for introducing a local area in an embodiment of the present application;

[0076] Figure 12 This is a flow chart of a second method for processing picture comments in an embodiment of the present application;

[0077] Figure 13 This is a schematic diagram of an optional interaction implementation timing flow in an embodiment of the present application;

[0078] Figure 14 This is a schematic diagram of the composition structure of a first image comment processing device in an embodiment of the present application;

[0079] Figure 15 This is a schematic diagram of the structure of a second image comment processing device in an embodiment of the present application;

[0080] Figure 16 A schematic diagram of the hardware structure of a first electronic device to which the embodiments of the present application are applied;

[0081] Figure 17 A schematic diagram of the hardware structure of a second electronic device to which an embodiment of the present application is applied. DETAILED DESCRIPTION

[0082] To make the purpose, technical solutions, and advantages of the embodiments of the present application more clear, the technical solutions of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the technical solutions of the present application, but not all of them. Based on the embodiments described in this application document, all other embodiments obtained by ordinary technicians in this field without making creative efforts shall fall within the scope of protection of the technical solutions of the present application.

[0083] The following is an introduction to some concepts involved in the embodiments of this application.

[0084] An application is a computer program that can perform one or more tasks, typically with a visual interface and user interaction. Examples include electronic maps and calendars. Some applications require installation on the device to function, while others don't, such as the mini-programs and web pages within certain social apps. Mini-programs don't require downloading or installation; users can simply scan or search for them to access them.

[0085] Application operation interface: It is the medium for interaction and information exchange between the application system and the user. It realizes the conversion between the internal form of information and the form acceptable to humans. The purpose is to enable users to operate the application conveniently and efficiently to achieve two-way interaction and complete the work they want to complete with the help of the application. In the embodiment of the present application, the application operation interface includes human-computer interaction and graphical user interface. The specific application operation interface includes an image display page, a comment editing page, a comment details page, a personal details page, a chat page, etc. Among them, different application operation interfaces are used to display different content to users and realize different information interactions between users and applications.

[0086] Image display page: A user-facing page used to display images to the user. In this embodiment of the present application, the image display page can display at least one target image, and can also display the location identifiers of the comments posted by each commenter at a specific location, as well as the identity identifier of the commenter who posted the comment.

[0087] Comment Edit Page: A user-friendly page used to edit comments to be published. In this embodiment of the present application, the comment edit page includes not only a comment editing area for users to edit their comments, but also an image display area for displaying a magnified image corresponding to the comment to be published. The magnified image is obtained by magnifying a specific area within the target image.

[0088] A review details page is a user-facing page that displays reviews. In this embodiment of the present application, the review details page also includes an image display area for displaying a magnified image, and a comment display area for displaying the review details. This allows users to intuitively view the details of the commented-on local area of ​​the target image, as well as the content of the comment.

[0089] Location markers: These are marks placed on an image where comments have been posted. In this embodiment of the present application, users can comment on specific locations within an image, and location markers can be displayed at these specific locations to alert the comment recipients. Furthermore, the location markers of multiple comment notifications can be aggregated and displayed on the same image, allowing users to see how many people have commented on their image and, based on the location markers, to intuitively understand which zoomed-in area of ​​the image is the most popular.

[0090] The party being commented on, the commenting party and the identity identifier: the commenting party and the party being commented on are relative concepts. Among them, the party being commented on refers to the party that posts the picture, and the commenting party refers to the party that comments on the picture posted by others. In an embodiment of the present application, the party being commented on can post the target picture in the target application, and the commenting party can comment on the target picture. The identity identifier of the commenting party is related to the location identifier and can be displayed to the user together with the location identifier. For example, if a commenting party posts a comment at a certain location in the target picture, the location identifier and the identity identifier of the commenting party can be marked at that location to prompt the party being commented on that post a comment at that location.

[0091] The following is a brief introduction to the design concept of the embodiment of this application:

[0092] At present, with the continuous development of network communication technology, in order to enhance the interaction between users and websites or applications, some websites or applications provide comment functions, so that users can post comments on the content of interest when using these websites or applications through smart terminals, or view other users' comments on the content of interest.

[0093] For example, users of social networking sites or instant messaging tools often post pictures of their daily lives on their social networking sites or instant messaging tools. Friends of the users can comment on the pictures posted by the users on the social networking sites or instant messaging tools, and users of social networking sites or instant messaging tools can also comment on the pictures posted by their friends on the social networking sites or instant messaging tools. Thus, by posting pictures, users of social networking sites or instant messaging tools can interact with their friends. When posting pictures and other content on a social networking site or instant messaging tool, the social networking site or instant messaging tool also creates a comment area on the picture's posting page. Users can leave comments on the pictures by leaving messages in this comment area, and these comments will be retained on the webpage for other users to view. Users can also perform operations such as replying to the comments they view. However, in related art, users can only discuss the picture as a whole and cannot clearly indicate which details of the picture they are discussing.

[0094] In addition, in some beautifying picture software, the owner can also put his own content tags in the comment position of the picture before publishing it, such as Figure 1A and Figure 1B shown. Figure 1A The page shown in the figure is the editing status of the person being commented on before posting the picture. The person being commented on can add content tags to the picture, such as "going out for fun on the weekend | 1 time", and can also further set the background music, stickers, etc. Figure 1B The page shown here shows the page displayed after the person being commented on has posted an image. It displays two content tabs, representing the content posted by the user. However, after posting an image, users cannot zoom in or add to it, nor can they comment on other people's images. Other users can only see content in a certain area of ​​the image, unable to zoom in or interact with it.

[0095] In view of this, the embodiments of the present application provide a method, device, electronic device, and storage medium for processing picture comments. In the embodiments of the present application, when a user leaves a comment on a picture, they can zoom in on the details of the picture and comment on a specific location in the picture. After leaving a comment, a mark is left at the comment location, making the picture comment more targeted and interesting, achieving a more natural combination between the comment and the original picture, allowing the user to easily view the comment content and the details of the commented picture, making the comment more targeted, thereby improving the interactivity between the commenting parties and enhancing the comment effect.

[0096] The preferred embodiments of the present application are described below in conjunction with the drawings in the specification. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application and are not used to limit the present application. In addition, the embodiments and features in the embodiments of the present application can be combined with each other if there is no conflict.

[0097] like Figure 2 As shown, it is a schematic diagram of an application scenario of an embodiment of the present application. The application scenario diagram includes two terminal devices 210 and a server 230, and the application operation interface 220 can be logged in through the terminal device 210. The terminal device 210 and the server 230 can communicate through a communication network.

[0098] In the embodiment of the present application, the application operation interface 220 can be a picture display page, a comment editing page, a comment details page, a chat page or a personal details page. For example, after user A (the commenter) logs in to the target application through the terminal device 210, he comments on the target picture posted by user B (the commented party). At this time, the target application on the terminal device 210 used by user A responds to the current user A's comment posting operation and sends a comment posting request to the server 230. The comment posting request can carry the comment content and its corresponding commenter information (including the commenter's identity, comment location information, etc.) so that the server 230 can review the comment content. If the review of the comment content is passed, the server 230 can return a notification based on the comment posting request, indicating that the comment content is successfully posted; alternatively, the server 230 may not review the comment content, but only associate this information with the picture identifier of the target picture and save it; then, when user B wants to view the comments, the target application on the terminal device 210 used by user B requests comments from the server 230. The server 230 can send the comment content corresponding to the picture identifier of the target picture, the comment location information, the commenter's identity, and other information to the target application, and the above-mentioned target application can display the comments at each comment location, so that the current user and other users can view the comments posted by the current user.

[0099] In an optional embodiment, the communication network is a wired network or a wireless network. The terminal device 210 and the server 230 can be directly or indirectly connected via wired or wireless communication, which is not limited in this application.

[0100] In the embodiment of the present application, the terminal device 210 is an electronic device used by the user. The electronic device can be a personal computer, mobile phone, tablet computer, notebook, e-book reader, smart home device, or other computer device with certain computing capabilities and running instant messaging software and websites or social networking software and websites. Each terminal device 210 is connected to the server 230 via a wireless network. The server 230 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), and big data and artificial intelligence platforms.

[0101] Each terminal device may be installed with a target application, which may be an application related to picture sharing, such as a beauty application, a picture sharing application, a picture commenting application, etc. The application involved in the embodiments of the present application may be software, or a client such as a web page or a mini-program, and the server is an application server corresponding to the software, web page, mini-program, etc., without limiting the specific type of the client.

[0102] See Figure 3 As shown, it is an implementation flow chart of a method for processing picture comments provided by an embodiment of the present application, which is applied to the terminal device 210. The specific implementation process of the method is as follows:

[0103] S31: In response to a zoom-in operation on a target image posted by the reviewed party, display the zoomed-in target image;

[0104] S32: In response to a preset comment operation triggered by the enlarged local area of ​​the target image, displaying a comment editing page including a first image display area and a comment editing area, wherein the first image display area displays an enlarged image of the local area, and the comment editing area displays the comment content to be published for the local area;

[0105] For example, when a user Xiao Ming publishes multiple pictures for others to browse through the target application, other users can select a picture. At this time, the terminal device responds to the trigger operation of viewing the target picture published by the commenting party and displays Figure 4 The page shown.

[0106] See Figure 4 As shown, it is a schematic diagram of a target image in an embodiment of the present application. Figure 4 The prompt "Tap anywhere to get their attention" indicates that users can tap anywhere on the image to trigger the preset comment action and then comment. Alternatively, users can tap Back to choose not to comment on the target image.

[0107] For example, when the user Xiaobai posts a comment in the target image, he can click anywhere to trigger the preset comment operation, or he can first zoom in on the target image to view the details in the target image, and then click anywhere in the local area of ​​the zoomed target image to trigger the preset comment operation. Of course, in addition to the click trigger listed above, the preset comment operation in the embodiment of the present application can also be a gesture trigger, a double-click trigger, a long press trigger, etc., which are not specifically limited here. The embodiments of the present application are all illustrated by clicking as an example. Among them, the comment content can be text content, or it can be a picture, emoticon, link, etc., which are not specifically limited here.

[0108] In the embodiments of the present application, a user can comment on a specific position in a picture published by another person, so that the comment and the picture are more naturally combined. Alternatively, when a user comments on a specific position in a published picture, the user can also zoom in the picture and drag the picture to adjust the specific position, and comment on the specific position. The picture-specific position comment refers to commenting on a coordinate position in the picture. The position and content of the comment are recorded, and when the comment is displayed to other users, the relative position of the comment content and the picture is preserved. The specific implementation manner is as follows.

[0109] In response to a preset comment operation on the target comment position triggered by the local area of the target picture, the terminal device displays a comment editing page including a first picture display area and a comment editing area. The first picture display area displays the zoomed-in picture in the local area. Then, when a user views the details in the local area and comments on a specific detail in detail, the terminal device displays the comment content to be published for the target comment position in response to the comment content edited in the comment editing area.

[0110] Referring to Figure 5A FIG. 1 is a schematic diagram of a comment editing page in an embodiment of the present application. As shown in Figure 5A The area in the rectangular box S51 shown in the above is the first picture display area. The picture displayed in the area is the zoomed-in picture of the local area of the target picture selected by the user, that is, the local part of the target picture selected by the user is zoomed in. The area in the dashed box S52 is the comment editing area. The user can input the comment content to be published in the area. As shown in Figure 5A When the user inputs the comment content to be published, the upper limit of the number of words can be set, for example, the upper limit requirement of the comment content is 100 words.

[0111] Specifically, when a user views a target picture published by another person, the user can zoom in and drag the picture with two fingers, click a specific position, and call up a comment input box, and then edit the comment content to be published in the comment input box. As shown in Figure 5A As shown in the figure, the user zooms in on the leg part of the target picture and clicks on the shoe, generates a marker, and calls up an input box. The user can input the text content and publish it. As shown in Figure 5A The comment content to be published can be edited in the "fill in the detail comment and send Hoo, the other party will receive it" shown in the figure.

[0112] In an embodiment of the present application, when the terminal responds to a preset comment operation triggered by a target comment location in a target image, it also sends a comment request to the server (referring to the target application server) for the target comment location in the target image posted by the reviewed party. After receiving the comment request, the server obtains the image ID of the target image, the comment location information of the target comment location, and the identity ID of the reviewer, and associates and stores the identity ID, comment location information, and image ID. In the above embodiment, the target comment location is the location on the shoe clicked by the user, and the reviewer is Xiaobai.

[0113] Optionally, when the user zooms in and drags the image, the server needs to further obtain the magnification ratio information of the local area, the center position information of the center position in the local area, the display size information of the local area, etc., and associate the magnification ratio information, center position information and display size information with the comment location information and save them.

[0114] For example Figure 5A As shown, the user Xiaobai has enlarged the legs of the target image, so it is necessary to further determine the display size information of the leg area enlarged by the user, specifically the length and width of the area, the coordinates of the center position of the area, and the enlargement ratio compared with the original target image.

[0115] Next, after editing the comment to be published, the user can click the publish button ( Figure 5A (not shown) or a shortcut such as the Enter key triggers the comment publishing operation. At this time, the terminal device executes the following step S33.

[0116] S33: In response to a comment publishing operation for publishing comment content for a local area, a first picture display page including a target picture is displayed. The first picture display page displays a location identifier of the comment published for the local area and an identity identifier of the commentator who published the comment.

[0117] For example, after user Xiaobai triggers the comment posting operation, it will be displayed Figure 5B The page shown. Figure 5B This is a schematic diagram of a first image display page in an embodiment of the present application. The target comment location on this page displays the location identifier of the comment posted by user Xiaobai regarding the image, such as the heart-shaped peach pattern shown on the left side of the dotted box S53, and the user Xiaobai's profile picture (identification identifier), as shown on the right side of the dotted box S53. In the embodiment of the present application, the target comment location refers to a specific location.

[0118] In the embodiment of the present application, the terminal device also sends a comment publishing request for publishing the comment content to be published to the target comment position to the server in response to the comment publishing operation of publishing the comment content at the target comment position. After the server receives the comment publishing request for publishing the comment content to be published to the target comment position in the local area, the server saves the comment content in association with the identity identifier and notifies the target application logged in by the commentor Xiaobai that the comment has been successfully published. Further, the target application logged in by the commentor Xiaobai can display the page as shown in Figure 5B

[0119] Further, the user can change the position identifier when publishing the picture comment. The default love peach pattern is listed in the diagram of the present application. Of course, the user can also select different pattern markers, such as lightning, flowers, diamonds, and the like. The specific process is as follows:

[0120] The terminal device displays a plurality of types of position identifiers in response to the comment publishing operation of publishing the comment content at the target comment position. The terminal device displays a first picture display page containing a target picture in response to the trigger operation of selecting the target type of position identifier. The target type of position identifier is displayed at the target comment position in the picture display page.

[0121] Optionally, the user can also change the position identifier directly in the first picture display page. For example, the user displays the page as shown in Figure 5C by long-pressing the position identifier at the target comment position. The page displays a plurality of types of pre-configured position identifiers in the dashed box above the currently displayed position identifier. In addition to the current love peach pattern, the types of position identifiers can also be triangular, pentagonal star, and the like. The user can select one type as the target type from the types of position identifiers other than the love peach pattern or customize the position identifier, for example, draw the position identifier by hand, select the position identifier from an album, and the like. Further, after the user selects the target type of position identifier, the terminal device switches the position identifier in the first picture display page to the target type of position identifier.

[0122] Optionally, the server also sends a notification message to the target application logged in by the commented person Xiaoming after receiving the comment publishing request, to notify Xiaoming that a new comment has been published.

[0123] In the embodiment of the present application, the terminal device displays a second picture display page containing a target picture in response to the trigger operation of viewing the comment of the target picture. The terminal device displays a position identifier of a comment published for the target picture and an identity identifier of a commentor associated with the position identifier at each comment position in the second picture display page.

[0124] As shown in Figure 6A ​As shown, it is a schematic diagram of a second picture display page in an embodiment of the present application. There are position identifiers displayed at two comment positions in the schematic diagram, indicating that there are two comments for the target picture. The two comments currently displayed in the page: one is located at the bag, and one is located at the shoes. In addition, the position identifier of the love peach pattern and the avatar of the associated commenter are also displayed at each comment position.

[0125] Optionally, when the commenter receives the picture-specific position comment, the commenter can view the comment in the enlarged position of the original picture, display the enlarged picture and position when publishing, and view the full text content of the comment. The specific implementation process is: the terminal device displays a comment detail page containing a second picture display area and a first comment display area in response to the viewing operation of the comment for the target comment position, the second picture display area displays the enlarged picture of the local area associated with the target comment position, and the first comment display area displays the comment content associated with the target comment position.

[0126] Among them, the user can click any comment position or the position identifier or identity identifier of the position to trigger the viewing operation to view the corresponding comment. For example, the user clicks the position identifier of the shoes as shown in Figure 6A , which triggers the viewing operation of the comment for the target comment position, and displays a comment detail page containing a second picture display area and a first comment display area, refer to Figure 6B As shown, it is a schematic diagram of a comment detail page in an embodiment of the present application, which displays an enlarged picture of a local area associated with a target comment position in a second picture display area S61, i.e. an enlarged picture of the leg part in the target picture. The first comment display area S62 displays the comment content associated with the target comment position. The target comment position is the shoe position. In addition, the shoe in S61 can also be marked with a position identifier, such as Figure 6B the love peach pattern in

[0127] Optionally, the same comment position can also display the position identifier of the comment published by multiple commenters and the identity identifier of the commenters associated with each position identifier; at this time, the user can click the corresponding commenter identity identifier to view a comment at the target comment position.

[0128] As shown in Figure 6C , it is a schematic diagram of another second picture display page in an embodiment of the present application. In Figure 6CThere are two reviewers who have posted comments on the shoes. At this time, the user can select a reviewer as the target reviewer and click on the reviewer's avatar. At this time, the terminal device responds to the viewing operation triggered by the identity of the target reviewer at the target review position, and displays the review details page including the second image display area and the first review display area. The second image display area displays an enlarged image of a local area associated with the target review position, and the identity of the target reviewer is also displayed at the target review position. The first review display area displays the review content posted by the target reviewer at the target review position, such as Figure 6B shown.

[0129] In addition, when a commenter posts multiple comments, the number of comments can be further displayed after the commenter's identity. Figure 6B The comment display area in the page shown displays the content of each comment and information such as the comment time, which is not specifically limited here.

[0130] In the above implementation, in addition to the host state editing content at a specific location on their own image, other users can specify the location when editing content, post comments targeting specific locations, and zoom in on the image to adjust the location in more detail. Images can also be zoomed in when making comment notifications, and when the finished image is displayed to the public, the guest state can also zoom in on the commented portion of the image for viewing. The host state refers to the party that initiates the action, such as the user who posts the image or makes a comment. The guest state refers to the party that receives the action or notification, such as the user who receives a comment message or image message.

[0131] Optionally, the first comment display area also displays a comment reply control. When the user clicks Figure 7 When you click the heart shown on the left, the person being commented on and the commenter can follow each other. If both parties are matched successfully, the following will be displayed: Figure 7 The page shown on the right, S70 in this page is the comment reply control.

[0132] When the user clicks on the comment reply control, the terminal device responds to the triggering operation of the comment reply control by the commentee and displays the first chat page including the second comment display area and the comment reply area. The second comment display area displays the comment content posted by the commentee on the target comment position. Figure 8A As shown, the second comment display area S81 in the page shown on the right displays the comment content posted by the comment party for the target comment position. In addition, the user can also enter reply information for the comment content in the comment reply area S82.

[0133] Afterwards, the terminal responds to the reply information edited by the reviewee through the comment reply area for the comment content posted by the reviewer at the target comment position, and displays the reply information in the second comment display area, such as Figure 8B In addition, the chat page also displays a small topic "Let's get to know each other better by guessing their occupation!", which guides the commenter and the person being commented on to chat and improves the interactivity between the two parties.

[0134] Optionally, the comment content posted by the commenter for the target comment location displayed in the second comment display area may be in the form of a comment message card, in which the comment message card displays the target image and the comment content posted by the commenter for the target comment location.

[0135] like Figure 8C As shown, the comment message card can directly display the target image and the comment posted by the commenter on the target image to the user, and more intuitively display it to the commented party, guiding the commented party to reply to the comment.

[0136] Optionally, the first comment display area also displays the commenter's identity; thus, the person being commented on can also view the commenter's personal details page by clicking on the commenter's identity. Figure 8A When the commenter "Xiaobai"'s avatar appears in the comment display area of ​​the comment details page shown on the left, the terminal device can respond to the trigger operation for the commenter's identity and send a trigger request for the commenter's identity to the server. The server will feedback the commenter's personal details to the target application logged in by the commenter, and then the target application logged in by the commenter will display the commenter's personal details page, which displays the commenter's personal details and chat controls. Figure 9 As shown, it is a schematic diagram of a personal details page in an embodiment of the present application, which shows the personal homepage of the commenter "Xiaobai", that is, the personal details page, which displays the user Xiaobai's latest shared pictures, style, age, city of residence, occupation and other information.

[0137] The person being commented on clicks Figure 9 The heart at the bottom of the page shown can be matched with the commenter Xiaobai to jump to Figure 10 The page shown indicates that the reviewee and the reviewer have been successfully matched, and by clicking Figure 10 The control at S100 in FIG. 100 enters the chat page between the two parties. That is, the terminal device displays the second chat page between the commenter and the commented party in response to the triggering operation on the chat control.

[0138] Of course, the implementation methods listed in the embodiments of this application for triggering the display of pages by the commenter also apply to the commenter. That is, commenters can also view each other's comments, conduct relevant matching, and chat with each other, ensuring interaction between commenters. The specific implementation methods are also referred to in the above embodiments and are not specifically limited here. In the embodiments of this application, the example of the commented party is mainly used as an example for illustration.

[0139] In the above implementation, the interaction between the commentator and the commented party can be realized.

[0140] See Figure 11 As shown, it is a schematic diagram of a local area introduction in an embodiment of the present application. In this embodiment of the present application, the terminal device first needs to upload information related to the target image after the user zooms in, specifically including the current zoom ratio r (i.e., the zoom ratio information mentioned above), the local area center coordinates x1 and y1 (i.e., the center position information mentioned above), the comment position coordinates x2 and y2 (i.e., the comment position information mentioned above), the original image size w1 and h1 (i.e., the original size information), etc.; after the server receives this information, it initializes the image zoom when receiving the comment. The specific implementation process is as follows:

[0141] S111: Obtaining enlarged size information of the target image after enlargement according to the original size information and the enlargement ratio information of the target image;

[0142] Combine Figure 11 This step refers to calculating the width and height of the enlarged target image: w2 and h2 based on the original target image size w1 and h1 and the enlargement ratio r.

[0143] S112: Obtaining reference position information of a reference point on the enlarged target image according to the enlarged size information, the center position information, and the display size information of the local area;

[0144] Combine Figure 11 Calculate the coordinates x3 and y3 of the upper left corner of the enlarged target image based on the width and height w2 and h2 of the enlarged target image, the center coordinates x1 and y1 of the local area, and the size w3 and h3 of the current display area (referring to the local area). The click point in the upper left corner of the enlarged target image is used as the reference point.

[0145] S113: Feedback the reference position information and the enlarged size information to the requester, so that the requester draws the enlarged target image in the local area according to the reference position information and the enlarged size information, and draws the position mark of the target comment position in the local area according to the comment position information.

[0146] In this embodiment of the present application, the requester can be the target application used by the person being reviewed, or can be the target application used by another reviewer who wants to view related reviews. The requester can draw the enlarged image in the display area based on the coordinates x3 and y3 of the upper left corner of the enlarged target image, and the width and height w2 and h2, and draw the reviewer's avatar in the display area based on the coordinates x2 and y2 of the review location.

[0147] In addition, in the embodiment of the present application, the server or terminal device can further determine whether there are special circumstances, and further handle special circumstances when there are special circumstances. Two possible special circumstances are listed below:

[0148] Special case 1: The reference location information does not meet the preset location conditions.

[0149] In an embodiment of the present application, when the reference position information does not meet the preset position condition, the reference position information is adjusted so that the adjusted reference position information meets the preset position condition; and the comment position information and the enlarged size information are adjusted at the same time.

[0150] For example, if the calculated coordinates x3 and y3 of the upper left corner of the enlarged target image are greater than 0, it is considered an outlier and does not meet the preset position conditions. The solution is to adjust x3 and y3 to be less than or equal to 0 by translation or other means, and simultaneously adjust the enlarged image width and height w2 and h2, and the comment position coordinates x2 and y2.

[0151] Special case 2: The target comment location determined based on the center location information cannot appear in the local area.

[0152] When it is determined based on the center position information that the target comment position cannot appear in the local area, the reference position information of the reference point on the enlarged target image is adjusted so that the adjusted target comment position can appear in the local area.

[0153] For example, when the comment location coordinates x2 and y2 cannot appear in the display area, the solution is: adjust the coordinates x3 and y3 of the upper left corner of the enlarged target image by translation or other methods to ensure that x2 and y2 are within the display area.

[0154] In the above implementation, based on the location and magnification ratio recording information, the location information and magnification ratio of the content can be effectively recorded, which is flexible and simple. In actual projects, users can quickly locate text content and restore images. This allows users to more finely customize the location of the message and display it to the recipient as it is.

[0155] See Figure 12FIG. 2 is a flowchart of another method for processing picture comments provided in an embodiment of the present application, which is applied to the server 230. The specific implementation process of the method is as follows:

[0156] S121: After receiving a request to enlarge a target image posted by the reviewed party, obtain the image ID of the target image and information about the enlargement ratio of the target image, and associate the enlargement ratio information with the image ID and save the information;

[0157] S122: After receiving a comment request for a local area in the enlarged target image, obtaining display information of the local area and an identity identifier of the commenter, and associating the display information and the identity identifier with the image identifier and saving the information;

[0158] Among them, the center position information of the center position in the local area, the display size information of the local area, the comment position information of the target comment position in the local area, etc. all belong to the display information of the local area. In addition to obtaining the center position information of the center position in the local area, the position information of the four vertices can also be obtained, etc., which are not specifically limited here.

[0159] S123: After receiving a comment publishing request for comment content to be published for a local area, the comment content is associated with the identity identifier and saved, and the requesting party is notified so that the requesting party displays a first image display page containing the target image. The first image display page displays the location identifier of the comment published for the local area and the identity identifier of the commenting party associated with the comment.

[0160] Optionally, after associating the comment content with the identity identifier and saving it, the method further includes:

[0161] Send a notification message to the target application logged in by the reviewed party;

[0162] After receiving a trigger request for viewing comments on a target image, querying comment location information of each comment location associated with the image identifier in the trigger request, as well as the identity identifier of the commenter associated with each comment location, and feeding back the information to a target application logged in by the commented party, so that the target application logged in by the commented party displays a second image display page containing the target image, wherein each comment location in the second image display page also displays the location identifier of the comment posted for the target image, as well as the identity identifier of the commenter associated with the location identifier;

[0163] After receiving a request to view comments on the target comment location, the comment content and identity identifier associated with the comment location information will be returned to the target application logged in by the commented party, so that the target application logged in by the commented party will display a comment details page including a second image display area and a first comment display area, the second image display area displays an enlarged image of a local area associated with the target comment location, and the first comment display area displays the comment content associated with the target comment location.

[0164] Optionally, the first comment display area further displays a comment reply control; the method further includes:

[0165] After receiving a trigger request for a comment reply control from the reviewed party, the comment content posted by the reviewer for the target comment location is fed back to the target application logged in by the reviewed party, so that the target application logged in by the reviewed party displays the first chat page including the second comment display area and the comment reply area, and the second comment display area displays the comment content posted by the reviewer for the target comment location;

[0166] After receiving the reply request triggered by the commented party through the comment reply area, the reply information edited by the commented party regarding the comment content posted by the commenter at the target comment location is obtained, and the reply information is fed back to the target application logged in by the commenter, so that the target application logged in by the commenter displays the reply information.

[0167] Optionally, the first comment display area further displays an identity identifier of the commenter; the method further includes:

[0168] After receiving the trigger request for the identity identifier of the commenter, the commenter's personal details are fed back to the target application logged in by the commenter, so that the target application logged in by the commenter displays the commenter's personal details page, which displays the commenter's personal details.

[0169] Optionally, the display information of the local area includes center position information of a center position in the local area, comment position information of a comment position in the local area, and display size information of the local area; notifying the requesting party so that the requesting party displays a first image display page containing the target image, wherein the target comment position in the first image display page displays a location identifier of a comment posted for the target image, and an identity identifier of the commenting party associated with the comment, specifically including:

[0170] Obtaining the enlarged size information of the target image after enlargement according to the original size information and the enlargement ratio information of the target image;

[0171] Obtaining reference position information of a reference point located on the enlarged image according to the enlarged size information, the center position information, and the display size information of the local area;

[0172] The reference position information and the enlarged size information are fed back to the requester, so that the requester draws the enlarged picture in the local area according to the reference position information and the enlarged size information, and draws the position mark of the target comment position in the local area according to the comment position information.

[0173] Optionally, the method further includes:

[0174] When the reference position information does not meet the preset position condition, the reference position information is adjusted so that the adjusted reference position information meets the preset position condition; and the comment position information and the enlarged size information are adjusted simultaneously.

[0175] Optionally, the method further includes:

[0176] When it is determined according to the center position information that the target comment position cannot appear in the local area, the reference position information of the reference point on the enlarged target image is adjusted so that the adjusted target comment position can appear in the local area.

[0177] It should be noted that the specific implementation of any of the above-listed methods for processing picture comments applied on the server side can be found in the description on the terminal device side, and repeated parts will not be repeated here.

[0178] As can be seen from the above implementation, in this embodiment of the application, users can specify a specific location in a picture posted by others to comment on it. When posting a comment on a specific location on a picture, they can zoom in and drag the picture to adjust the specific details. When the person being commented on receives a comment on a specific location on the picture, they can view the zoomed-in location of the comment on the original picture and the relevant comment content, which helps to improve the relevance of the picture comment and enhance the comment effect.

[0179] The following combination Figure 13 The interaction between the terminal device and the server is described in detail, where the terminal device has a target application and the server refers to the target application server.

[0180] See Figure 13 As shown in FIG, it is an interactive sequence diagram of a method for processing picture comments. The specific implementation process of this method is as follows:

[0181] Step S1301: The target application displays the target image in response to a triggering operation to view the target image posted by the reviewed party;

[0182] Step S1302: In response to a preset comment operation for a target comment location triggered by a partial area of ​​a target image, the target application displays a comment editing page including a first image display area and a comment editing area, wherein the partial area is obtained by magnifying a partial area of ​​the target image, and the image in the partial area is displayed in the first image display area;

[0183] Step S1303: The target application sends a comment request to the server for the target comment position in the target image published by the reviewed party;

[0184] Step S1304: After receiving the comment request, the server obtains the image ID of the target image in the comment request, the comment location information of the target comment location, and the identity of the commenter, and associates and stores the identity, comment location, and image ID.

[0185] Step S1305: the target application displays the comment content to be published for the target comment location in response to the comment content edited in the comment editing area;

[0186] Step S1306: In response to the comment publishing operation for publishing the comment content at the target comment location, the target application sends a comment publishing request to the server for publishing the comment content to be published at the target comment location;

[0187] Step S1307: After receiving the comment publishing request, the server associates the comment content with the identity identifier and saves it, and notifies the target application;

[0188] Step S1308: The target application displays a first image display page containing the target image, and the location identifier of the comment posted for the target image and the identity identifier of the commenter who posted the comment are displayed at the target comment location in the first image display page;

[0189] Step S1309: the target application sends a trigger request for viewing the comments of the target image to the server in response to the trigger operation for viewing the comments of the target image;

[0190] Step S1310: After receiving the trigger request, the server queries the comment location information of each comment location associated with the image identifier in the trigger request, as well as the identity identifier of the commenter associated with each comment location, and feeds back the information to the target application logged in by the commenter;

[0191] Step S1311: The target application displays a second image display page containing the target image. Each comment position in the second image display page also displays a location identifier of the comment posted for the target image and an identity identifier of the commenter associated with the location identifier.

[0192] Step S1312: the target application sends a request to the server to view the comments on the target comment location in response to the viewing operation on the comments on the target comment location;

[0193] Step S1313: After receiving the request to view the comment on the target comment location, the server returns the comment content and identity associated with the comment location information to the target application logged in by the commentee;

[0194] Step S1314: The target application displays a comment details page including a second image display area and a first comment display area. The second image display area displays an enlarged image of a local area associated with the target comment location, and the first comment display area displays comment content associated with the target comment location.

[0195] It should be noted that Figure 13 This is just a brief introduction to users making comments at a specific location and viewing comments at a specific location. The specific implementation method can still refer to the above embodiment and is not specifically limited here.

[0196] Based on the same inventive concept, the embodiment of the present application also provides a device for processing picture comments. Figure 14 As shown, it is a structural diagram of a picture comment processing device 1400 in an embodiment of the present application, which may include:

[0197] The first responding unit 1401 is configured to respond to a zoom-in operation on a target image posted by a reviewed party and display the zoomed-in target image;

[0198] The second response unit 1402 is configured to, in response to a preset comment operation triggered by a zoomed-in local area in the target image, display a comment editing page including a first image display area and a comment editing area, wherein the first image display area displays an zoomed-in image of the local area, and the comment editing area displays a comment to be published for the local area;

[0199] The third response unit 1403 is used to respond to the comment posting operation for posting the comment content for the local area, and display the first picture display page containing the target picture, the first picture display page displays the location identifier of the comment posted for the local area, and the identity identifier of the commenter who posted the comment

[0200] Optionally, the device further comprises:

[0201] The fourth response unit 1404 is configured to, after the third response unit 1403 responds to the comment posting operation of posting the comment content at the target comment location, respond to the triggering operation of viewing the comment of the target image, display a second image display page containing the target image, wherein each comment location in the second image display page further displays a location identifier of the comment posted for the target image and an identity identifier of the commenter associated with the location identifier, wherein the comment location is the location where the commenter posted the comment in the local area;

[0202] In response to a viewing operation on the comment of the target comment position, a comment detail page containing a second picture display area and a first comment display area is displayed, the second picture display area displays an enlarged picture of a local area associated with the target comment position, and the first comment display area displays comment content associated with the target comment position.

[0203] Optionally, the same comment position displays position identifiers of comments published by multiple commenters and identity identifiers of the commenters associated with the position identifiers.

[0204] In response to a viewing operation triggered by the identity identifier of the target commenter at the target comment position, a comment detail page containing a second picture display area and a first comment display area is displayed, the second picture display area displays an enlarged picture of a local area associated with the target comment position, and the identity identifier of the target commenter is also displayed at the target comment position, and the first comment display area displays comment content published by the target commenter at the target comment position.

[0205] Optionally, the first comment display area also displays a comment reply control.

[0206] In response to a triggering operation of the comment reply control by the commented party, a first chat page including a second comment display area and a comment reply area is displayed, the second comment display area displays comment content published by the commenter at the target comment position.

[0207] In response to reply information edited by the commented party in the comment reply area and directed to the comment content published by the commenter at the target comment position, the reply information is displayed in the second comment display area.

[0208] Optionally, the fourth response unit 1404 is specifically configured to:

[0209] A comment message card for the commenter is displayed in the second comment display area, the comment message card displays a target picture and comment content published by the commenter at the target comment position.

[0210] Optionally, the first comment display area also displays an identity identifier of the commenter.

[0211] In response to a triggering operation on the identity identifier of the commenter, a personal detail page of the commenter is displayed, the personal detail page displays personal detail information of the commenter and a chat control.

[0212] In response to a triggering operation on the chat control, a second chat page between the commenter and the commented party is displayed.

[0213] Optionally, the third responding unit 1403 is specifically configured to:

[0214] In response to a comment posting operation of posting comment content at a target comment location, displaying multiple types of location identifiers;

[0215] In response to a triggering operation of selecting a location identifier of a target type, a first picture display page including a target picture is displayed, and a location identifier of the target type is displayed at a target comment position in the first picture display page.

[0216] Based on the same inventive concept, the embodiment of the present application also provides a device for processing picture comments. Figure 15 As shown, it is a structural diagram of a picture comment processing device 1500 in an embodiment of the present application, which may include:

[0217] The first associating unit 1501 is configured to, upon receiving a request to enlarge a target image posted by a reviewee, obtain an image identifier of the target image and information about an enlargement ratio of the target image, and associate the enlargement ratio information with the image identifier for storage;

[0218] The second associating unit 1502 is configured to, upon receiving a comment request for a local area in the enlarged target image, obtain display information of the local area and an identity identifier of the commenter, and associate the display information and the identity identifier with the image identifier for storage;

[0219] Notification unit 1503 is used to, after receiving a comment publishing request for comment content to be published for a local area, associate the comment content with an identity identifier and save it, and notify the requesting party so that the requesting party can display a first image display page containing a target image. The first image display page displays a location identifier of the comment published for the local area and the identity identifier of the commenting party associated with the comment.

[0220] Optionally, the device further comprises:

[0221] The first feedback unit 1504 is configured to send a notification message to the target application logged in by the reviewed party after the notification unit 1503 associates and saves the review content with the identity identifier;

[0222] After receiving a trigger request for viewing comments on a target image, querying comment location information of each comment location associated with the image identifier in the trigger request, as well as the identity identifier of the commenter associated with each comment location, and feeding back the information to a target application logged in by the commented party, so that the target application logged in by the commented party displays a second image display page containing the target image, wherein each comment location in the second image display page also displays the location identifier of the comment posted for the target image, as well as the identity identifier of the commenter associated with the location identifier;

[0223] After receiving a request to view comments on the target comment location, the comment content and identity identifier associated with the comment location information will be returned to the target application logged in by the commented party, so that the target application logged in by the commented party will display a comment details page including a second image display area and a first comment display area, the second image display area displays an enlarged image of a local area associated with the target comment location, and the first comment display area displays the comment content associated with the target comment location.

[0224] Optionally, the first comment display area further displays an identity identifier of the commenter; the device further includes:

[0225] The second feedback unit 1505 is used to feedback the personal details of the reviewer to the target application logged in by the reviewed party after receiving the trigger request for the reviewer's identity identifier, so that the target application logged in by the reviewed party displays the reviewer's personal details page, and the personal details page displays the reviewer's personal details.

[0226] Optionally, the display information of the local area includes central position information of the central position in the local area, comment position information of the target comment position in the local area, and display size information of the local area; the notification unit 1503 is specifically configured to:

[0227] Obtaining the enlarged size information of the target image after enlargement according to the original size information and the enlargement ratio information of the target image;

[0228] Obtaining reference position information of a reference point located on the enlarged image according to the enlarged size information, the center position information, and the display size information of the local area;

[0229] The reference position information and the enlarged size information are fed back to the requester, so that the requester draws the enlarged picture in the local area according to the reference position information and the enlarged size information, and draws the position mark of the target comment position in the local area according to the comment position information.

[0230] Optionally, the device further comprises:

[0231] The first adjusting unit 1506 is configured to adjust the reference position information so that the adjusted reference position information meets the preset position condition when the reference position information does not meet the preset position condition; and to adjust the comment position information and the enlarged size information simultaneously.

[0232] Optionally, the device further comprises:

[0233] The second adjusting unit 1507 is configured to adjust the reference position information of the reference point on the enlarged target image so that the adjusted target comment position can appear in the local area when it is determined based on the center position information that the target comment position cannot appear in the local area.

[0234] For the convenience of description, the above parts are divided into modules (or units) according to their functions and described separately. Of course, when implementing this application, the functions of each module (or unit) can be implemented in the same or multiple software or hardware.

[0235] After introducing the method and apparatus for processing picture comments according to an exemplary embodiment of the present application, an electronic device according to another exemplary embodiment of the present application will be introduced next.

[0236] Those skilled in the art will appreciate that various aspects of the present application can be implemented as systems, methods, or program products. Therefore, various aspects of the present application can be specifically implemented in the following forms: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or an implementation that combines hardware and software aspects, which may be collectively referred to herein as a "circuit," "module," or "system."

[0237] Based on the same inventive concept as the above method embodiment, an electronic device is also provided in the embodiment of the present application. The electronic device can be used for transfer control of resource objects. In one embodiment, the electronic device can be a server, such as Figure 2 In this embodiment, the structure of the electronic device can be as follows: Figure 16 As shown, it includes a memory 1601 , a communication module 1603 and one or more processors 1602 .

[0238] Memory 1601 is used to store computer programs executed by processor 1602. Memory 1601 may mainly include a program storage area and a data storage area. The program storage area may store an operating system and programs required for running instant messaging functions, while the data storage area may store various instant messaging messages and operating instruction sets.

[0239] Memory 1601 may be a volatile memory, such as random-access memory (RAM); a non-volatile memory, such as read-only memory, flash memory, a hard disk drive (HDD), or a solid-state drive (SSD); or any other medium capable of carrying or storing desired program code in the form of instructions or data structures and accessible by a computer, but is not limited thereto. Memory 1601 may be a combination of the aforementioned memories.

[0240] The processor 1602 may include one or more central processing units (CPUs) or digital processing units, etc. The processor 1602 is configured to implement any of the above-mentioned methods for processing picture comments applied to the server 230 when calling the computer program stored in the memory 1601 .

[0241] The communication module 1603 is used to communicate with terminal devices and other servers.

[0242] The specific connection medium between the memory 1601, the communication module 1603 and the processor 1602 is not limited in the embodiment of the present application. Figure 16 In the embodiment, the memory 1601 and the processor 1602 are connected via a bus 1604. Figure 16 The connections between the other components are shown in bold lines, which are only for illustration and are not intended to be limiting. The bus 1604 can be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, Figure 16 Only one thick line is used in the diagram, but this does not mean that there is only one bus or one type of bus.

[0243] The memory 1601 stores a computer storage medium, which stores computer executable instructions. The computer executable instructions are used to implement the method for processing picture comments in the embodiment of the present application. The processor 1602 is used to execute any of the above-mentioned methods for processing picture comments applied to the server 230, such as Figure 12 shown.

[0244] In another embodiment, the electronic device may also be other electronic devices, such as Figure 2 The terminal device 210 shown in FIG. In this embodiment, the structure of the electronic device can be as follows: Figure 17 As shown, it includes: a communication component 1710, a memory 1720, a display unit 1730, a camera 1740, a sensor 1750, an audio circuit 1760, a Bluetooth module 1770, a processor 1780 and other components.

[0245] The communication component 1710 is used to communicate with the server. In some embodiments, it can include a WiFi (Wireless Fidelity) module. The WiFi module is a short-range wireless transmission technology. Electronic devices can help users send and receive information through the WiFi module.

[0246] The memory 1720 can be used to store software programs and data. The processor 1780 executes various functions and data processing of the terminal device 210 by running the software programs or data stored in the memory 1720. The memory 1720 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. The memory 1720 stores an operating system that enables the terminal device 210 to run. In the present application, the memory 1720 can store the operating system and various application programs, and may also store code for executing any one of the picture comment processing methods applied to the terminal device 210 in the embodiments of the present application.

[0247] The display unit 1730 can also be used to display information edited by the user or provided to the user, as well as a graphical user interface (GUI) of various menus of the terminal device 210. Specifically, the display unit 1730 may include a display screen 1732 disposed on the front of the terminal device 210. The display screen 1732 may be configured in the form of a liquid crystal display, a light-emitting diode, etc. The display unit 1730 can be used to display the application operation page 220 in the embodiment of the present application.

[0248] The display unit 1730 can also be used to receive edited digital or character information and generate signal input related to user settings and function control of the terminal device 210. Specifically, the display unit 1730 may include a touch screen 1731 set on the front of the terminal device 210, which can collect user touch operations on or near it, such as clicking a button, dragging a scroll box, etc.

[0249] The touch screen 1731 can be covered on the display screen 1732, or the touch screen 1731 and the display screen 1732 can be integrated to realize the input and output functions of the terminal device 210. The integrated touch screen can be simply called a touch display screen. In this application, the display unit 1730 can display applications and corresponding operation steps.

[0250] The camera 1740 can be used to capture still images, and the user can send the image captured by the camera 1740 to the user of the other chat partner through the target application. The camera 1740 can be one or more. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the light signal into an electrical signal, and then transmits the electrical signal to the processor 1780 to convert it into a digital image signal.

[0251] The terminal device may further include at least one sensor 1750, such as an acceleration sensor 1751, a distance sensor 1752, a fingerprint sensor 1753, and a temperature sensor 1754. The terminal device may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, a light sensor, and a motion sensor.

[0252] The audio circuit 1760, speaker 1761, and microphone 1762 can provide an audio interface between the user and the terminal device 210. The audio circuit 1760 can convert the received audio data into an electrical signal and transmit it to the speaker 1761, which converts it into a sound signal for output. The terminal device 210 can also be equipped with a volume button for adjusting the volume of the sound signal. On the other hand, the microphone 1762 converts the collected sound signal into an electrical signal, which is received by the audio circuit 1760 and converted into audio data. The audio data is then output to the communication component 1710 for transmission to, for example, another terminal device 210, or the audio data is output to the memory 1720 for further processing.

[0253] The Bluetooth module 1770 is used to exchange information with other Bluetooth devices having a Bluetooth module through the Bluetooth protocol. For example, the terminal device can establish a Bluetooth connection with a wearable electronic device (such as a smart watch) that also has a Bluetooth module through the Bluetooth module 1770 to exchange data.

[0254] Processor 1780 is the control center of the terminal device, connecting the various parts of the entire terminal using various interfaces and lines. It executes various functions of the terminal device and processes data by running or executing software programs stored in memory 1720 and calling data stored in memory 1720. In some embodiments, processor 1780 may include one or more processing units; processor 1780 may also integrate an application processor and a baseband processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the baseband processor mainly processes wireless communications. It is understandable that the above-mentioned baseband processor may not be integrated into processor 1780. In this application, processor 1780 can run the operating system, application programs, user interface display and touch response, as well as the image comment processing method of the embodiment of this application. In addition, processor 1780 is coupled to display unit 1730.

[0255] In some possible implementations, various aspects of the method for processing picture comments provided by the present application may also be implemented in the form of a program product, which includes program code. When the program product is run on a computer device, the program code is used to enable the computer device to execute the steps of the method for processing picture comments applied to the terminal device 210 according to various exemplary embodiments of the present application described above in this specification. For example, the computer device may execute the following steps: Figure 3 Follow the steps shown in .

[0256] The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination thereof. More specific examples of readable storage media (a non-exhaustive list) include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0257] The program product of the embodiment of the present application may be a portable compact disc read-only memory (CD-ROM) and include program code, and can be run on a computing device. However, the program product of the present application is not limited thereto. In this document, a readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with a command execution system, device, or device.

[0258] A readable signal medium may include a data signal transmitted in baseband or as part of a carrier wave, which carries readable program code. Such a transmitted data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination thereof. A readable signal medium may also be any readable medium other than a readable storage medium that can transmit, propagate, or transfer a program for use by or in conjunction with a command execution system, apparatus, or device.

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

[0260] Those skilled in the art will understand that all or part of the steps of implementing the above-mentioned method embodiments may be accomplished by hardware associated with program instructions, and the aforementioned program may be stored in a computer-readable storage medium. When the program is executed, the program executes the steps of the above-mentioned method embodiments; and the aforementioned storage medium includes various media that can store program codes, such as mobile storage devices, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical disks.

[0261] Alternatively, if the above-mentioned integrated unit of the embodiment of the present application is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the embodiment of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the methods described in each embodiment of the embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.

[0262] Obviously, those skilled in the art may make various changes and modifications to this application without departing from the spirit and scope of this application. Thus, if such changes and modifications fall within the scope of the claims of this application and their equivalents, this application is intended to include such changes and modifications.

Claims

1. A method for processing picture comments, characterized in that: The method includes: In response to a zoom-in operation on a target image posted by the commented party, displaying the zoomed-in target image; In response to a preset comment operation on a partial area of ​​the enlarged target image, displaying a comment editing page, displaying an enlarged image of the partial area in a first image display area of ​​the comment editing page, and displaying a comment content entered for the partial area in the comment editing area; In response to a comment posting operation for the comment content, displaying a location identifier of the comment content and an identity identifier of the corresponding commenter at a comment location corresponding to the local area in the original target image; If you view the comments on the target comment location in the target image, the corresponding comment details page will be displayed, and an enlarged image of the local area associated with the target comment location, the comment content associated with the target comment location and the comment reply control will be displayed in the comment details page. The comment reply control is used to view the chat page between the commenter associated with the target comment location and the commented party.

2. The method according to claim 1, wherein If a comment on a target comment location in the target image is viewed, the corresponding comment details page is displayed, and an enlarged image of a local area associated with the target comment location is displayed on the comment details page. The comment content associated with the target comment location includes: In response to a triggering operation of viewing comments on the target image, a second image display page including the target image is displayed, wherein each comment location in the second image display page further displays a location identifier of the comment posted for the target image and an identity identifier of the commenter associated with the location identifier, wherein the comment location is the location where the commenter posted the comment in the local area; In response to a viewing operation of comments on a target comment location, a comment details page is displayed that includes a second image display area and a first comment display area, wherein the second image display area displays an enlarged image of a local area associated with the target comment location, and the first comment display area displays comment content associated with the target comment location.

3. The method according to claim 2, wherein The same comment location displays location identifiers of comments posted by multiple commenters and identity identifiers of the commenters associated with each location identifier; in response to a review operation for a target comment location, displaying a comment details page including a second image display area and a first comment display area, specifically including: In response to a viewing operation triggered by the identity of the target commenter at the target comment location, a comment details page including a second image display area and a first comment display area is displayed, the second image display area displays an enlarged image of a local area associated with the target comment location, and the identity of the target commenter is also displayed at the target comment location, and the first comment display area displays the comment content posted by the target commenter at the target comment location.

4. The method according to claim 2, wherein The first comment display area further displays the comment reply control; the method further includes: In response to a triggering operation of the comment reply control by the commented party, a first chat page including a second comment display area and a comment reply area is displayed, wherein the second comment display area displays the comment content posted by the commenter on the target comment location; In response to reply information edited by the reviewed party through the comment reply area to the comment content posted by the reviewer at the target comment location, the reply information is displayed in the second comment display area.

5. The method according to claim 4, wherein The second comment display area displays the comment content posted by the commenter for the target comment location, specifically including: A comment message card for the commenter is displayed in the second comment display area. The comment message card displays the target image and the comment content posted by the commenter for the target comment location.

6. The method according to claim 2, wherein The first comment display area also displays the identity of the commenter; the method further includes: In response to a triggering operation on the identity identifier of the commenter, displaying a personal details page of the commenter, wherein the personal details page displays the personal details information of the commenter and a chat control; In response to a triggering operation on the chat control, a second chat page between the commenting party and the commented party is displayed.

7. The method according to any one of claims 1 to 6, wherein The step of displaying a first image display page including the target image in response to the comment posting operation of posting the comment content at the target comment location specifically includes: In response to a comment posting operation of posting the comment content at a target comment location, displaying multiple types of location identifiers; In response to a triggering operation of selecting a location identifier of a target type, a first picture display page including the target picture is displayed, and a location identifier of the target type is displayed at the target comment position in the first picture display page.

8. A method for processing picture comments, characterized in that: The method includes: Upon receiving a request to enlarge a target image posted by the reviewed party, obtaining the image identifier of the target image and information about the enlargement ratio of the target image, and associating the enlargement ratio information with the image identifier and storing the information; After receiving a comment request for a local area in the enlarged target image, obtaining display information of the local area and an identity identifier of the commenter, and associating the display information and the identity identifier with the image identifier and saving the information; Upon receiving a comment publishing request for publishing a comment content to be published for the local area, the comment content is associated with the identity identifier and stored, and the requesting party is notified so that the requesting party displays the location identifier of the comment content and the identity identifier of the corresponding commenter at the comment location corresponding to the local area in the original target image; If a request to view the comments on the target comment location in the target image is received, the comment content and identity identifier associated with the corresponding comment location information will be returned to the target application logged in by the commented party, so that the target application logged in by the commented party displays an enlarged image of the local area associated with the target comment location, the comment content associated with the target comment location and a comment reply control, and the comment reply control is used to view the chat page between the commentator associated with the target comment location and the commented party.

9. The method according to claim 8, wherein If a request for viewing a comment on a target comment location in the target image is received, the comment content and identity associated with the corresponding comment location information are returned to the target application logged in by the commented party, including: Sending a notification message to the target application logged in by the reviewed party; After receiving a trigger request for viewing comments on the target image, querying comment location information of each comment location associated with the image identifier in the trigger request, as well as the identity identifier of the commentator associated with each comment location, and feeding back the information to the target application logged in by the commented party, so that the target application logged in by the commented party displays a second image display page containing the target image, wherein each comment location in the second image display page also displays the location identifier of the comment posted for the target image, and the identity identifier of the commentator associated with the location identifier, wherein the comment location is the location where the commentator posted the comment in the local area; After receiving a request to view comments on the target comment location, the comment content and identity identifier associated with the comment location information are returned to the target application logged in by the reviewed party, so that the target application logged in by the reviewed party displays a comment details page including a second image display area and a first comment display area, wherein the second image display area displays an enlarged image of a local area associated with the target comment location, and the first comment display area displays the comment content associated with the target comment location.

10. The method according to claim 9, wherein The first comment display area further displays the comment reply control; the method further includes: After receiving a trigger request from the reviewed party for the comment reply control, the comment content posted by the review party for the target comment location is fed back to the target application logged in by the reviewed party, so that the target application logged in by the reviewed party displays a first chat page including a second comment display area and a comment reply area, wherein the second comment display area displays the comment content posted by the review party for the target comment location; After receiving the reply request triggered by the commented party through the comment reply area, the reply information edited by the commented party to the comment content posted by the commenting party at the target comment location is obtained, and the reply information is fed back to the target application logged in by the commenting party, so that the target application logged in by the commenting party displays the reply information.

11. The method according to claim 9, wherein The first comment display area also displays the identity of the commenter; the method further includes: After receiving a trigger request for the identity identifier of the reviewer, the personal details of the reviewer are fed back to the target application logged in by the reviewed party, so that the target application logged in by the reviewed party displays the personal details page of the reviewer, and the personal details page displays the personal details of the reviewer.

12. A device for processing picture comments, characterized in that: include: A first response unit, configured to respond to a zoom-in operation on a target image posted by a reviewed party and display the zoomed-in target image; a second response unit, configured to, in response to a preset comment operation on a local area in the enlarged target image, display a comment editing page, display an enlarged image of the local area in the first image display area of ​​the comment editing page, and display a comment content entered for the local area in the comment editing area; a third response unit, configured to, in response to a comment posting operation on the comment content, display a location identifier of the comment content and an identity identifier of a corresponding commenter at a comment location corresponding to the local area in the original target image; The fourth response unit is used to display the corresponding comment details page when viewing the comments of the target comment location in the target image, and to display an enlarged image of the local area associated with the target comment location in the comment details page, the comment content associated with the target comment location and a comment reply control, wherein the comment reply control is used to view the chat page between the commenter associated with the target comment location and the commented party.

13. A device for processing picture comments, characterized in that: include: a first associating unit configured to, upon receiving a request to enlarge a target image posted by a reviewed party, obtain an image identifier of the target image and information about an enlargement ratio of the target image, and associate the enlargement ratio information with the image identifier for storage; a second associating unit configured to, upon receiving a comment request for a local area in the enlarged target image, obtain display information of the local area and an identity identifier of the commenter, and associate and store the display information and the identity identifier with the image identifier; a notification unit configured to, upon receiving a comment publishing request for publishing a comment content to be published for the local area, associate the comment content with the identity identifier and store it, and notify the requesting party so that the requesting party displays the position identifier of the comment content and the identity identifier of the corresponding commenting party at the comment position corresponding to the local area in the original target image; The first feedback unit is configured to return the comment content and identity identifier associated with the corresponding comment location information to the target application logged in by the commented party if a request for viewing the comment on the target comment location in the target image is received, so that the target application logged in by the commented party displays an enlarged image of the local area associated with the target comment location, the comment content associated with the target comment location and a comment reply control, wherein the comment reply control is used to view the chat page between the commentator associated with the target comment location and the commented party.

14. An electronic device, characterized in that: The method comprises a processor and a memory, wherein the memory stores program code, and when the program code is executed by the processor, the processor executes the steps of the method according to any one of claims 1 to 7 or the steps of the method according to any one of claims 8 to 11.

15. A computer-readable storage medium, characterized in that The method comprises a program code, and when the program code is run on an electronic device, the program code is used to enable the electronic device to execute the steps of any method described in claims 1 to 7 or the steps of any method described in claims 8 to 11.

Citation Information

Patent Citations

  • Information processing system, information processing apparatus and processing method thereof

    CN102169433A

  • Comment method and device, computer equipment and storage medium

    CN111240543A