Information processing method and apparatus, device, medium, and product
Patent Information
- Application Number
- CN202510175854.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-17
- Publication Date
- 2026-08-18
AI Technical Summary
[0004]这种方式的交互流程过于冗余,且容易使得用户错失社交的关键时机,不利于用户的社交体验
Smart Images

Figure CN122597022A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of human-computer interaction, and in particular to an information processing method, apparatus, equipment, medium and product. Background Technology
[0002] AI (Artificial Intelligence) rewriting refers to the process of using AI models to refine original text and create new text. AI rewriting has garnered widespread attention in the social media sphere by leveraging AI's superior text optimization capabilities. Users can use AI rewriting to address various social scenarios, especially those involving social barriers, such as relationships between couples or superiors / subordinates.
[0003] However, in related technologies, AI rewriting functions are usually found in some smart assistants. When users want to use the AI rewriting function in social media software, they need to separately wake up the smart assistant, describe the specific social scenario to the smart assistant, and repeatedly interact with the smart assistant to obtain a satisfactory rewriting result before they can open the social media software to continue socializing.
[0004] This type of interaction process is too redundant and can easily cause users to miss key opportunities for social interaction, which is not conducive to the user's social experience. Summary of the Invention
[0005] This application provides an information processing method, apparatus, device, medium, and product, the technical solution of which is as follows:
[0006] According to one aspect of this application, an information processing method is provided, the method being executed by a first client, the method comprising:
[0007] Displays the edited first social message and the box element associated with the first social message;
[0008] In response to a scaling operation on the frame element, the first social message is abbreviated or expanded into a second social message, the length of which is related to the area of the frame element;
[0009] In response to the sending operation of the second social message, the second social message is sent.
[0010] According to one aspect of this application, an information processing method is provided, the method being executed by a first client, the method comprising:
[0011] In response to an editing operation, determine the first input content;
[0012] Display the edited first input content and the box element associated with the first input content;
[0013] In response to a scaling operation on the box element, the first input content is abbreviated or expanded into a second input content, the length of which is related to the area of the box element.
[0014] According to one aspect of this application, an information processing apparatus is provided, the apparatus comprising:
[0015] The first display module is used to display the edited first social message and the box-shaped elements associated with the first social message;
[0016] A first processing module is configured to, in response to a scaling operation on the frame element, abbreviate or expand the first social message into a second social message, wherein the length of the second social message is related to the area of the frame element.
[0017] The sending module is used to send the second social message in response to the sending operation for the second social message.
[0018] According to one aspect of this application, an information processing apparatus is provided, the apparatus comprising:
[0019] The second display module is used to determine the first input content in response to the editing operation;
[0020] The second display module is also used to display the edited first input content and the box-shaped element associated with the first input content;
[0021] The second processing module is used to, in response to a scaling operation on the frame element, abbreviate or expand the first input content into a second input content, wherein the length of the second input content is related to the area of the frame element.
[0022] According to one aspect of this application, a computer device is provided, the computer device including a processor and a memory, the memory storing a computer program, the computer program being loaded and executed by the processor to implement an information processing method.
[0023] According to one aspect of this application, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements an information processing method.
[0024] According to one aspect of this application, a computer program product is provided, the computer program product comprising a computer program stored in a computer-readable storage medium; the computer program is read from and executed by a processor of a computer device from the computer-readable storage medium, causing the computer device to perform an information processing method.
[0025] The beneficial effects of the technical solution provided in this application include at least the following:
[0026] This paper demonstrates how scaling a box-shaped element associated with a first social message allows for abbreviation or expansion of that message. The length of the resulting second social message is related to the area of the box-shaped element. On one hand, this integrates abbreviation and / or rewriting functionality into social networking applications, enabling users to directly refine and modify their first social message within the application without needing to open other applications that support abbreviation or expansion, input the message, and then copy the abbreviation or expansion back to the social networking application. This shortens the user's interaction path and improves efficiency. It also allows for smooth abbreviation or expansion of the first social message within the application, enhancing the user experience. On the other hand, scaling the box-shaped element controls the length of the abbreviation or expansion of the second social message. The length of the second social message is controlled by the area of a box element. Users can directly judge the length of the abbreviated or expanded second social message by observing the changes in the area of the box element. This achieves a visual setting of the length of the second social message. Compared to setting the length of the second social message by a number, the area of the box element is obviously a more clear and intuitive way for users to judge the length. This method is conducive to improving the user's interaction efficiency and user experience. Attached Figure Description
[0027] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0028] Figure 1 An architectural diagram of a computer system provided in an exemplary embodiment of this application is shown;
[0029] Figure 2 A schematic diagram of an information processing method provided in an exemplary embodiment of this application is shown;
[0030] Figure 3 A schematic diagram of an information processing method provided in an exemplary embodiment of this application is shown;
[0031] Figure 4 A schematic diagram of an information processing method provided in an exemplary embodiment of this application is shown;
[0032] Figure 5 A schematic diagram of an information processing method provided in an exemplary embodiment of this application is shown;
[0033] Figure 6 A flowchart illustrating an exemplary embodiment of the information processing method provided in this application is shown;
[0034] Figure 7 A flowchart illustrating an exemplary embodiment of the information processing method provided in this application is shown;
[0035] Figure 8 A schematic diagram of an information processing method provided in an exemplary embodiment of this application is shown;
[0036] Figure 9 A schematic diagram of an information processing method provided in an exemplary embodiment of this application is shown;
[0037] Figure 10 A flowchart illustrating an exemplary embodiment of the information processing method provided in this application is shown;
[0038] Figure 11 A flowchart illustrating an exemplary embodiment of the information processing method provided in this application is shown;
[0039] Figure 12 A schematic diagram of an information processing method provided in an exemplary embodiment of this application is shown;
[0040] Figure 13 A schematic diagram of an information processing method provided in an exemplary embodiment of this application is shown;
[0041] Figure 14 A flowchart illustrating an exemplary embodiment of the information processing method provided in this application is shown;
[0042] Figure 15 A schematic diagram of an information processing method provided in an exemplary embodiment of this application is shown;
[0043] Figure 16 A flowchart illustrating an exemplary embodiment of the information processing method provided in this application is shown;
[0044] Figure 17 This invention provides a structural block diagram of an information processing apparatus according to an exemplary embodiment of the present application.
[0045] Figure 18 This invention provides a structural block diagram of an information processing apparatus according to an exemplary embodiment of the present application.
[0046] Figure 19 A schematic diagram of the structure of a computer device provided in an exemplary embodiment of this application is shown. Detailed Implementation
[0047] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0048] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0049] The terminology used in this disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The singular forms “a,” “the,” and “the” as used in this disclosure and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.
[0050] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions. For example, the settings and operation information involved in this application were obtained with full authorization.
[0051] It should be understood that although the terms first, second, etc., may be used in this disclosure to describe various information, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, a first parameter may also be referred to as a second parameter without departing from the scope of this disclosure, and similarly, a second parameter may also be referred to as a first parameter. Depending on the context, the word "if" as used herein may be interpreted as "when," "when," or "in response to determination."
[0052] Figure 1 An architectural diagram of a computer system provided in an exemplary embodiment of this application is shown. The computer system 100 includes: a first terminal 110, a server 120, and a second terminal 130.
[0053] The first terminal 110 has a first client 111 installed and running. The first client 111 is a client for the target application. For example, the first client 111 can be an application with instant messaging functionality or a web client. When the first terminal 110 runs the first client 111, the user interface of the first client 111 is displayed on the screen of the first terminal 110. The target application can be any one of the following: instant messaging program, social interaction program, voice call program, conferencing program, online community program, payment program, shopping program, dating program, marriage and dating program, translation program, video playback program, note-taking program, educational program, editing program, and browser. The target application is a program that supports information input, and the target application also supports abbreviation or expansion of the input information. In this embodiment, the application is an instant messaging program as an example. The first terminal 110 is the terminal used by the first user 112, and the first account of the first user 112 is logged in on the first client 111. This application embodiment uses an instant messaging program as an example for description.
[0054] The second terminal 130 installs and runs the second client 131, which is a client for the target application. For example, the second client 131 can be an application with instant messaging functionality or a web client. When the second terminal 130 runs the second client 131, the user interface of the second client 131 is displayed on the screen of the second terminal 130. This application can be any one of the following: instant messaging program, social interaction program, voice call program, conferencing program, online community program, payment program, shopping program, dating program, marriage and dating program, translation program, video playback program, note-taking program, educational program, editing program, or browser. The target application is a program that supports information input, and the target application also supports abbreviation or expansion of the input information. In this embodiment, an instant messaging program is used as an example. The second terminal 130 is the terminal used by the second user 132, and the second account of the second user 132 is logged in on the second client 131.
[0055] Optionally, the first and second accounts can be friends in the communication list or have temporary communication permissions.
[0056] Optionally, the target application installed on the first terminal 110 and the second terminal 130 is the same, or the application installed on the two terminals is the same type of target application on different operating system platforms (Android or iOS). The first terminal 110 can refer to one of a plurality of terminals, and the second terminal 130 can refer to another of a plurality of terminals. This embodiment only uses the first terminal 110 and the second terminal 130 as examples. The device types of the first terminal 110 and the second terminal 130 may be the same or different, and the device types include at least one of the following: smartphone, tablet computer, e-book reader, MP3 player, MP4 player, laptop computer, and desktop computer.
[0057] Figure 1 Only two terminals are shown in the diagram, but in different embodiments, multiple other terminals 140 can access the server 120. Optionally, one or more terminals 140 may also be terminals corresponding to developers, on which a development and editing platform supporting instant messaging clients is installed. Developers can edit and update the client on the terminal 140 and transmit the updated application installation package to the server 120 via wired or wireless network. The first terminal 110 and the second terminal 130 can download the application installation package from the server 120 to update the client.
[0058] The first terminal 110, the second terminal 130, and other terminals 140 are connected to the server 120 via a wireless network or a wired network.
[0059] Server 120 includes at least one of a single server, multiple servers, a cloud computing platform, and a virtualization center. Server 120 is used to provide backend services for clients supporting three-dimensional instant messaging. Optionally, server 120 undertakes the main computing work, and the terminal undertakes the secondary computing work; or, server 120 undertakes the secondary computing work, and the terminal undertakes the main computing work; or, server 120 and the terminal use a distributed computing architecture for collaborative computing.
[0060] In an illustrative example, server 120 includes processor 122, user account database 123, instant messaging service module 124, and user-facing input / output interface (I / O interface) 125. Processor 122 loads instructions stored in server 120 and processes data in user account database 123 and instant messaging service module 124. User account database 123 stores user account data used by first terminal 110, second terminal 130, and other terminals 140, such as user account avatars, nicknames, and group memberships. Instant messaging service module 124 provides multiple chat rooms (two-person or multi-person chat) for users to chat, send emoticons, send red envelopes, etc., in real-time. User-facing I / O interface 125 establishes communication and exchanges data with first terminal 110 and / or second terminal 130 via wireless or wired network.
[0061] The information processing method provided in this application will be described in conjunction with the above embodiments, taking the execution subject of the method as... Figure 1 The terminal shown is illustrated using a client running on it, with a message bubble as an example. This terminal runs a client, such as an instant messaging application.
[0062] For example, such as Figures 2 to 5 As shown. The first client logs in with a first account and displays the first chat interface 10. The first chat interface 10 is a two-person chat interface, which is the chat interface between user "Xiao A" and user "Xiao B". For easy distinction, the user interface displayed by the first client used by user "Xiao A" is referred to as the first chat interface 10. Figure 2 As shown, the user interface displayed by the second client used by user "Xiao B" is called the second chat interface, such as... Figure 3 As shown. Specifically, user "Xiao B" first sends a greeting to user "Xiao A" asking, "Has the baby had dinner yet?" After user "Xiao A" replies "Yes" in input box 11, they consider this social message inappropriate for the context and therefore add the first keyword "[]" to the end of the message. This first keyword is used to activate the abbreviation and / or expansion functions. Specifically, after user "Xiao A" sends the first social message 12, the abbreviation and / or expansion functions are activated.
[0063] (1) Send the first social message.
[0064] like Figure 2As shown, after the first social message 12 is sent, the first message bubble 13 is displayed on the first chat interface 10. The first message bubble 13 is used to present the first social message, and a first border is displayed on the first message bubble 13. The first border includes at least one control point, which is used to support the user to drag to scale the first message bubble (i.e., the box element).
[0065] Optionally, if the first social message includes a first keyword, in response to the sending operation of the first social message, a first message bubble 13 for presenting the first social message is displayed, and the first keyword in the first social message presented in the first message bubble 13 is deleted or canceled from display.
[0066] Optionally, if the first social message includes the first keyword, sending the first social message will not synchronize the first social message to other users in the chat interface; that is, the first social message will not be synchronized to user "Xiao B". In other words, when user "Xiao A" performs the "send" operation, the first social message will not be displayed in the second chat interface 20. Figure 3 As shown in part (1) of the document.
[0067] (2) Scaling box elements.
[0068] Specifically, user "Xiao A" enlarges the first message bubble by dragging the control point in the first border. After user "Xiao A" finishes dragging, or during the dragging process, the first social message within the first message bubble will be expanded into the second social message. Conversely, if user "Xiao A" shrinks the first message bubble by dragging the control point in the first border, after user "Xiao A" finishes dragging, or during the dragging process, the first social message within the first message bubble will be abbreviated into the second social message. This explanation uses user "Xiao A's" dragging action of enlarging the first message bubble as an example.
[0069] like Figure 2 As shown, when user "Xiao A" enlarges the first message bubble, a first message bubble 14 is obtained to present the second social message. The second social message is a social message expanded from the first social message. The length of the second social message is related to the area of the enlarged first message bubble. Under normal circumstances, the second social message will fill the first message bubble as much as possible, or in other words, it will fill the height of the first message bubble.
[0070] Optionally, user "Xiao A" can adjust the length of the second social message by repeatedly adjusting the first message bubble, which can be understood as the richness of the content in the second social message.
[0071] Optionally, when the first social message includes the first entity, the generated second social message may also include at least one multimedia element. For example, such as... Figure 4 As shown in part (1), the first social message is "ate at XXX store []", which includes the first entity "XXX store", and the generated second social message includes the information card 16 of the location information corresponding to the first entity "XXX store", such as Figure 4 As shown in part (2) of the document. When the user further enlarges the area of the first message bubble, the generated second social message may also include the corresponding image 17 of the first entity "XXX store". Image 17 may include images of the products sold in the store, images of the store environment, images of the menu, etc. Figure 4 As shown in part (3) of the document.
[0072] For example, such as Figure 5 As shown in part (1), the first social message is “XX (singer name)’s XXX (song name) is very good []”. The first social message includes two first entities, namely “XX (singer name)” and “XXX (song name)”. However, there is a relationship between these two first entities. It can be understood as one first entity, namely “XX (singer name)’s XXX (song name)”. Then, the generated second social message can include the information card 18 of the song information corresponding to the first entity, such as Figure 5 As shown in section (2), the information card 18 also includes a playback control to support playing the song in a two-person chat interface.
[0073] (3) Send a second social message.
[0074] like Figure 2 As shown, when user "Xiao A" is satisfied with the second social message he / she has expanded, he / she can officially send the second social message by tapping (e.g., double-tapping) the first message bubble containing the second social message.
[0075] Once the second social message is sent, it will be synchronized to other users in the two-person chat interface, namely user "Xiao B's" second chat interface 20, that is, as shown below. Figure 3 As shown in part (2) of the document, a second message bubble 21 for presenting the second social message is displayed in the second chat interface 20. For the first chat interface, when the second social message is sent, the display of the first border in the first message bubble is canceled, which can also be understood as canceling the display of the first message bubble and displaying the second message bubble 15 for presenting the second social message.
[0076] Figure 6A flowchart illustrating an exemplary embodiment of the information processing method provided in this application is shown. The method is executed by a first client, which can install and run applications such as... Figure 1 In the first terminal shown, the method includes:
[0077] Step 210: Display the edited first social message and the box elements associated with the first social message.
[0078] During the editing process of the first social message, the first social message being edited and the box-shaped elements associated with the first social message are displayed; or, during the editing process of the first social message, the first social message being edited is displayed, and when the first social message is finished being edited, the edited first social message and the box-shaped elements associated with the first social message are displayed.
[0079] Optionally, the box element associated with the first social message includes at least one of the following: a box element surrounding the first social message; a box element surrounding the first social message; or a box element used to present the first social message.
[0080] Optionally, the shape of the frame element can be a regular or irregular shape. For example, a frame element can be a rectangle, circle, triangle, ellipse, pentagon, hexagon, pentagram, rounded rectangle, sector, etc. A frame element can also be a cloud shape, flower shape, tree shape, etc. A frame element can also be a shape other than those shown above, or a combination of multiple shapes shown above. A frame element can also be an element with personalized decorations, such as a fill, which can be a solid color fill, gradient fill, pattern fill, or picture fill. A solid color fill refers to a continuous and uniform color coverage inside the frame element, displaying the entire frame element as one color; a gradient fill is a fill method that blends two or more colors; a pattern fill refers to filling the internal area of the frame element with repeating pattern units (such as lines, squares, geometric shapes, etc.), which can be system presets or user-defined. A picture fill refers to a fill method that covers the inside of the frame element with an image.
[0081] Optionally, the frame element may include some decorative elements, which are displayed inside or on the frame element to decorate it. These decorative elements may be customizable by the user.
[0082] Optionally, the initial area of the box element is related to the length of the first social message. The more content the first social message contains, the larger the area of the box element typically becomes, such as through greater length and / or height; conversely, the less content the first social message contains, the smaller the area of the box element typically becomes, such as through smaller length and / or height. The area of the box element adaptively changes according to the content contained in the first social message.
[0083] Optionally, the first social message may include at least one of text, image, audio, and video. Typically, a maximum width is set for the frame element, but its height is not limited. This is because, from a human-computer interaction perspective, users are generally more comfortable scrolling vertically to display more content than horizontally. However, in other embodiments, a maximum width may be set without limiting the height, or neither width nor height may be limited. Taking limiting the maximum width of the frame element as an example, for text in the first social message, the number of characters that can be displayed per line in the frame element is determined based on the set font, font size, and the maximum width of the frame element. Based on the total number of characters in the text, the number of lines of text is determined. Then, based on the number of lines of text and the set line spacing, the display area of the text is determined. For images in the first social message, the display area of the image is determined based on the original size (or original image ratio) of the image and the maximum width of the frame element. For example, if the element size of the image is 1920×1080 pixels, then the maximum width and the length of the image (1920 pixels) are used to determine the display area. The image's display area is determined by scaling the image to a height of 1080 pixels and then using that scaling factor. For audio in the first social message, it's typically displayed using audio elements (like a speaker icon), which can be triggered to play the audio. The size of these audio elements can be fixed or adaptively change based on the audio length. In this case, the display area of the audio element is the same as the display area of the audio element, which can be determined with reference to the image's display area. For video in the first social message, the display area can be determined by referring to the method used to determine the image's display area, based on the video's display size. Specifically, when the first social message includes multiple elements such as text, images, audio, and video, the display area of the first social message can be determined based on the display areas of the text, images, audio, and video.
[0084] Step 220: In response to a scaling operation on the box element, shorten or expand the first social message to a second social message, the length of which is related to the area of the box element.
[0085] In response to a shrinking operation on a box-shaped element, the first social message is abbreviated to the second social message; or, in response to a zooming operation on a box-shaped element, the first social message is expanded to the second social message.
[0086] Optionally, the length of the second social message is related to the area of the frame element. This can be understood as the richness of the content of the second social message being related to the area of the frame element; it can also be understood as the display area of the second social message being related to the area of the frame element. This can be referenced to the relationship between the area of the first social message and the area of the frame element, but here the display area of the second social message is adaptively adjusted based on the area of the frame element, whereas the above example shows the adaptation of the frame element's area based on the display area of the first social message. Specifically, the difference between the display area of the second social message and the area of the frame element is within a preset range.
[0087] For example, the length of the second social message is positively correlated with the area of the box element; that is, the larger the area of the box element, the longer the second social message. It should be noted that the second social message can include at least one of text, images, audio, and video. In other words, the length of the second social message cannot be measured solely based on the number of characters in the text; the display area of images, audio, and video, etc., must also be considered.
[0088] Optionally, abbreviation refers to a modification method that retains the main idea of the original text without changing the meaning of the sentence. The first social message is abbreviated to the second social message. That is, for the first social message, the length of the abbreviated second social message is determined based on the area of the box element. The content of the first social message is summarized to obtain the second social message. In other words, the abbreviated second social message only includes the key sentences, keywords, and core concepts from the first social message, removing all or part of the redundant content from the first social message. Of course, the length of the redundant content from the first social message included in the second social message varies depending on the area of the box element. That is, when the second social message is obtained by abbreviating the first social message, the length of the first social message is greater than the length of the second social message. For example, the first social message might be, "I tried the hot pot restaurant you recommended to me before today, and it really suited my taste, especially the tripe and duck intestines, which were very fresh and crispy." When the area of the box element is the first area, the second social message A is "I tried the hot pot restaurant you recommended today, and the tripe and duck intestines were delicious"; when the area of the box element is the second area, the second social message B is "I tried the hot pot restaurant you recommended, and it was delicious." Since the first area is larger than the second area, the length of the second social message A is greater than the length of the second social message B.
[0089] Optionally, expansion refers to enriching the content of the original text without changing the meaning of the sentence. Expanding the first social message into a second social message involves determining the length of the abbreviated second social message based on the area of the box element, and then adding modifiers, details, examples, and background information to the first social message. In other words, the expanded second social message includes all or part of the content of the first social message, plus the modifiers, details, etc., shown above. When the second social message is obtained by expanding the first social message, the length of the first social message is shorter than the length of the second social message. For example, the first social message might be, "I tried the hot pot restaurant you recommended to me before today, and it really suited my taste, especially the tripe and duck intestines, which were very fresh and crispy." With the area of the frame element being the first area, the second social message A is: "Today I specifically tried the hot pot restaurant you recommended before, and it was just right for my taste. Especially the tripe and duck intestines, the texture was particularly good, fresh and crisp, every bite was unforgettable. The restaurant environment was also very comfortable, and the service was very attentive. I will definitely bring my friends to go again next time." With the area of the frame element being the second area, the second social message B is: "Today I specifically tried the hot pot restaurant you recommended before, and it was just right for my taste. Especially the tripe and duck intestines, the texture was particularly good, fresh and crisp, every bite was unforgettable." Since the first area is larger than the second area, the length of the second social message A is greater than the length of the second social message B.
[0090] Step 230: In response to the sending operation for the second social message, send the second social message.
[0091] In response to an operation to send a second social message, a second social message is sent to a second client, which is the recipient of the first or second social message; or, in response to an operation to send a second social message, a second social message is sent to the backend server of the first client, and the backend server sends the second social message to the second client.
[0092] Optionally, the sending of a second social message can be achieved by triggering a send control, by triggering the second social message itself, by triggering a box element used to display the second social message, or by automatically triggering it under certain conditions without user interaction. For example, a user can send a second social message by clicking the send control; or by double-clicking the second social message; or by long-pressing the second social message; or by dragging the second social message; or by double-clicking the box element; or by long-pressing the box element; or by dragging the second social message; or, if no user interaction is received within a first time period after the second social message is abbreviated or expanded, the second social message is automatically sent, and so on.
[0093] In summary, the method provided in this application demonstrates how scaling operations on a frame-shaped element associated with a first social message can be used to abbreviate or expand the first social message, and the length of the abbreviated or expanded second social message is related to the area of the frame-shaped element. On one hand, this integrates abbreviation and / or rewriting functions into social networking applications, allowing users to directly refine and modify the first social message they want to send within the social networking application, without needing to open other applications that support abbreviation or expansion, input the first social message, and then copy the abbreviated or expanded result back to the social networking application. This shortens the user's interaction path for using abbreviation and / or expansion functions, improving interaction efficiency. It also allows users to smoothly abbreviate or expand the first social message within the social networking application, improving the user experience. On the other hand, scaling operations on the frame-shaped element control the length of the abbreviated or expanded second social message. The length of the second social message is controlled by the area of a box element. Users can directly judge the length of the abbreviated or expanded second social message by observing the changes in the area of the box element. This achieves a visual setting of the length of the second social message. Compared to setting the length of the second social message by a number, the area of the box element is obviously a more clear and intuitive way for users to judge the length. This method is conducive to improving the user's interaction efficiency and user experience.
[0094] The following section will provide a further introduction to information processing methods.
[0095] 1. Scaling operations for box-shaped elements.
[0096] First, we will introduce how to perform scaling operations on box-shaped elements.
[0097] Based on Figure 6 In an alternative embodiment, such as Figure 7 As shown, step 220 can be implemented as steps 221 and 222.
[0098] Step 221: In response to scaling operations on the box element, update the area of the box element.
[0099] Optionally, in response to a shrink operation on a box element, the area of the box element is reduced; or, in response to a zoom operation on a box element, the area of the box element is enlarged.
[0100] Optionally, scaling operations for box-shaped elements include at least one of the following: swipe operation; click operation; long press operation; gesture operation; button operation; voice control operation; motion control operation.
[0101] Keypad operation refers to scaling frame elements using physical buttons such as keyboards, mice, and gamepads. This includes setting shortcut keys or directly using physical buttons. Gesture operation refers to combinations of swiping, clicking, and long-pressing actions using one or more fingers on a touchscreen or touchpad, such as pinching with two fingers or swiping down with three fingers. It's worth noting that gestures can also be air gestures, where the user's hand movements are captured by the terminal's camera. Voice control operation refers to scaling frame elements using voice commands, such as saying "zoom in" or "zoom out" to adjust the size. Motion control operation scales frame elements based on user actions. This involves using the terminal's gyroscope, motion sensors, or camera to capture and recognize user movements, thus determining how to scale the frame element and its area accordingly.
[0102] It should be noted that the operation methods of other triggering operations shown in this application can also refer to the above-described scaling operation for box-shaped elements. The operation methods of other triggering operations will not be listed one by one in the embodiments of this application, but the protection scope of the embodiments of this application is not limited thereto.
[0103] For example, in response to a scaling operation on a box-shaped element, the continuous area change of the box-shaped element is displayed, that is, during the scaling process of the box-shaped element, the area of the box-shaped element is displayed in real time following the scaling operation; or, in response to a scaling operation on a box-shaped element, an animation of the area change of the box-shaped element is displayed based on the scaling operation. For example, if the scaling operation is a voice command, when the voice command is "shrink the box-shaped element to 50%", the box-shaped element is directly shrunk to 50% of its original area after the user finishes saying the voice command; or, an animation of the area change of the box-shaped element gradually shrinking from its original area to 50% of its original area is displayed.
[0104] Optionally, in response to a scaling operation on the box-shaped element, the display of the first social message is canceled; or, in response to a scaling operation on the box-shaped element, if the box-shaped element has fill, the display of the first social message is canceled. That is, when the box-shaped element is scaled, the first social message is no longer displayed, only the box-shaped element is displayed, allowing users to focus more clearly on the box-shaped element and more intuitively perceive the length of the abbreviated or expanded second social message from the change in the area of the box-shaped element.
[0105] For example, such as Figure 8 As shown, the first box element 50 is displayed. The first box element 50 is a box element used to present the first social message, which is "I tried the hot pot restaurant you recommended to me before today. It really suited my taste, especially the tripe and duck intestines, which were very fresh and crispy." During the zoom operation on the first box element 50, the display of the first social message in the box element is canceled, that is, only the second box element 51 is displayed. The second box element 51 is a box element that does not display the first social message, or in other words, the second box element 51 is a box element that does not display any message.
[0106] Optionally, in response to a scaling operation on the box-shaped element, the first social message is replaced with a preview message, which indicates the expected length of the abbreviated or expanded second social message. That is, when the box-shaped element is scaled, the first social message is no longer displayed; instead, a preview message is shown, allowing users to more clearly and intuitively perceive the length of the abbreviated or expanded second social message.
[0107] For example, such as Figure 9As shown, the display consists of a first frame element 50, which is used to present a first social message: "I tried the hot pot restaurant you recommended to me before today, and it really suited my taste, especially the tripe and duck intestines, which were very fresh and crispy." During the zoom operation on the first frame element 50, the first social message displayed in the frame element is replaced with a preview message, that is, a third frame element 52 is displayed, which is used to present the preview message. Optionally, the length of the preview message will be updated in real time with the zoom operation on the frame element. If the area of the third frame element 52 is smaller than the area of the fourth frame element 53, the length of the preview message displayed in the third frame element 52 is longer than the length of the preview message displayed in the fourth frame element 53.
[0108] Step 222: Following the change in the area of the box element, shorten or expand the first social message to the second social message.
[0109] Optionally, following the change in the area of the box element, the first social message is abbreviated or expanded into the second social message during the process of the change in the area of the box element; or, following the change in the area of the box element, the first social message is abbreviated or expanded into the second social message after the change in the area of the box element ends.
[0110] In some embodiments, step 222 may be implemented as follows: when the scaling operation on the box element ends, the first social message is abbreviated or expanded into a second social message following the change in the area of the box element; or, in response to the scaling operation on the box element satisfying a first condition, the first social message is abbreviated or expanded into a second social message following the change in the area of the box element; wherein, the first condition includes at least one of the following: the interaction duration of the scaling operation reaches a duration threshold; the interaction distance of the scaling operation reaches a distance threshold; the interaction range of the scaling operation reaches a range threshold.
[0111] Optionally, after the scaling operation on the box element ends, the first social message is abbreviated or expanded into a second social message following the change in the area of the box element. This can be understood as follows: after the scaling operation on the box element ends, the degree of area change, the range of area change, or the new area of the box element is determined; based on the degree of area change, the range of area change, or the new area, the length or length range of the second social message is determined; based on the length or length range of the second social message (the maximum and / or minimum value), it is compared with the length of the first social message to determine whether to activate the abbreviation function or the expansion function, and to activate the abbreviation function or the expansion function; the abbreviation function is used to abbreviate the first social message into the second social message, or the expansion function is used to expand the first social message into the second social message.
[0112] Optionally, in response to a scaling operation on a box-shaped element satisfying a first condition, the first social message is abbreviated or expanded into a second social message following the area change of the box-shaped element. That is, in response to a scaling operation on a box-shaped element satisfying the first condition, the degree of area change, the range of area change, or the new area of the box-shaped element is determined; based on this degree of area change, the range of area change, or the new area, the length or length range of the second social message is determined; based on the length or length range of the second social message (the maximum and / or minimum value within it), it is compared with the length of the first social message to determine whether to activate the abbreviation or expansion function, and to activate either function; the abbreviation function is used to abbreviate the first social message into the second social message, or the expansion function is used to expand the first social message into the second social message. In other words, when the scaling operation on the box-shaped element causes the area of the box-shaped element to reach a certain area threshold, the abbreviation or expansion function is activated to abbreviate or expand the first social message into the second social message. If the user is satisfied with the second social message, the scaling operation can be ended directly. If the user is not satisfied with the length and content of the generated second social message, the scaling operation can continue to adjust the area of the box-shaped element. If this continued scaling operation meets the first condition, the first social message will be abbreviated or expanded into the second social message again according to the changes in the area of the box-shaped element.
[0113] Optionally, the duration threshold, distance threshold, and range threshold can be set by the developer or by the user. When the area of the bounding element updates in real time with the user's zooming operation on the bounding element, the first condition can also include the area range of the bounding element reaching the area threshold. This area threshold can be set by the developer or by the user. Furthermore, the aforementioned interaction duration, interaction distance, and interaction range can refer to the duration, distance, and range from the start of the zooming operation to the current interaction, or they can refer to the duration, distance, and range from the i-th sample to the current sample (i.e., the (i+1)-th sample) in the current zooming operation. This application does not limit these aspects.
[0114] For example, the zoom operation is a drag operation for a box-shaped element. When the user starts the zoom operation for the box-shaped element, at least one of the initial point of the zoom operation (i.e., the position clicked when the user starts the zoom operation) and the initial time (i.e., the time clicked when the user starts the zoom operation) is determined. During the user's dragging process, a sample is taken every 0.5 seconds. After the first sample, the user's current first touch point and / or first time is determined. The distance between the first touch point and the initial point is the interaction distance, and / or the duration between the first moment and the initial moment is the interaction duration. If the interaction distance reaches a distance threshold, and / or the interaction duration reaches a duration threshold, then the abbreviation or expansion of the first social message is initiated. The abbreviation or expansion is determined based on the difference between the area of the frame element at the first sampling and the original area of the frame element. If the user continues to drag after obtaining the second social message through abbreviation or expansion, then a sampling is performed at an interval of 0.5 seconds, and the distance between the i-th touch point and the (i-1)-th touch point obtained at the sampling time is taken as the interaction distance, and the duration between the i-th moment and the (i-1)-th moment is taken as the interaction duration for judgment.
[0115] In some embodiments, if the box element is used to display a social message (i.e., a first social message or a second social message), the first social message is abbreviated or expanded to the second social message as the area of the box element changes, including: abbreviating the first social message to the second social message when the area of the box element decreases; and expanding the first social message to the second social message when the area of the box element increases.
[0116] In some embodiments, the first social message is abbreviated or expanded into a second social message according to the change in the area of the box element, including: abbreviating the first social message into a second social message when the area of the box element increases; and expanding the first social message into a second social message when the area of the box element decreases.
[0117] Optionally, when the scaling operation on the box element ends and the area of the box element decreases, the first social message is abbreviated to the second social message; or, when the scaling operation on the box element ends and the area of the box element increases, the first social message is expanded to the second social message.
[0118] Optionally, in response to the scaling operation on the box-shaped element satisfying a first condition, if the area of the box-shaped element decreases, the first social message is abbreviated to the second social message; or, in response to the scaling operation on the box-shaped element satisfying a first condition, if the area of the box-shaped element increases, the first social message is expanded to the second social message; wherein the first condition includes at least one of the following: the interaction duration of the scaling operation reaches a duration threshold; the interaction distance of the scaling operation reaches a distance threshold; the interaction range of the scaling operation reaches a range threshold.
[0119] Optionally, the area change of the frame element refers to the change between the current area of the frame element and the area of the frame element before the scaling operation began (e.g., area difference); or, the area change of the frame element refers to the change between the current area of the frame element and a first area, where the first area refers to the area of the frame element in the last instance of abbreviating or expanding the first social message. In other words, the i-th area change of the frame element refers to the change between the area of the frame element during the i-th abbreviation or expansion and the area during the (i-1)-th abbreviation or expansion, where the i-th abbreviation or expansion is the abbreviation or expansion performed after the i-th scaling operation of the frame element satisfies the first condition. The first area change of the frame element refers to the change between the area of the frame element during the first abbreviation or expansion and the initial area of the frame element, where the initial area of the frame element is the area of the frame element before this scaling operation.
[0120] In summary, the method provided in this application illustrates the operation mode of scaling a box-shaped element. During or after the scaling operation, the area of the box-shaped element is determined, and the first social message is abbreviated or expanded into a second social message based on the change in the area of the box-shaped element. For the user, the change in the area of the box-shaped element is updated in real time and is visible during the scaling operation. The area of the box-shaped element is related to the length of the second social message. That is, the user can directly use the change in the area of the box-shaped element to determine the length of the abbreviated or expanded second social message, realizing a visual setting of the length of the second social message. Compared with setting the length of the second social message by a number, the area of the box-shaped element is obviously a more explicit and intuitive way of judging the length for the user. This judgment method is conducive to improving the user's interaction efficiency and user experience.
[0121] In addition, a triggering method for abbreviating or expanding the first social message is shown. This triggering method can be triggered after the zoom operation is completed, that is, after the user determines the area of the box element, the abbreviation or expansion of the first social message is triggered. In other words, each zoom operation by the user will trigger an abbreviation or expansion of the first social message, reducing the number of times the abbreviation or expansion of the first social message is triggered, reducing the computing pressure on the client or server, and avoiding errors such as lag and calculation abnormalities caused by insufficient computing power, which will affect the user experience.
[0122] This triggering method can also be triggered during the zooming operation if the first condition is met. Compared to the above method of performing the abbreviation or expansion of the first social message after the zooming operation ends, this method can generate the abbreviation or expansion of the second social message for the user during the abbreviation or expansion process if the first condition is met. The user can then determine the subsequent operation based on whether they are satisfied with the generated second social message. This process does not require ending the zooming operation, that is, it does not require adjusting the length and content of the generated second social message through multiple zooming operations, simplifying the adjustment process. At the same time, it allows the user to preview the abbreviation or expansion of the second social message during the zooming process, generating interactive feedback in a timely manner for the user's interactive behavior, which helps to improve the user's interactive experience. Furthermore, setting a first condition instead of abbreviating or expanding the first social message in real time during the change of the area of the frame element is also a way to reduce the computational pressure on the client or server. For abbreviation and expansion, different areas of the frame element represent different lengths of the second social message. If the expansion of the first social message into the second social message is displayed in real time during the change of the area of the frame element, then during the scaling process, part of the second social message will be displayed first. If the user continues to perform scaling operations, since the beginning of the generated second social message may not be the same as the beginning of the previously generated second social message, it will cause the beginning of the second social message to be constantly displayed and refreshed, which can easily increase the burden on the client or server and is not good for the user experience.
[0123] Furthermore, the relationship between changes in the area of a box element and abbreviation or expansion is shown. When a box element is used to display a social message (first social message or second social message), when the area of the box element increases, it indicates that the length of the second social message that the box element can display increases, which is confirmed as an expansion operation; when the area of the box element decreases, it indicates that the length of the second social message that the box element can display decreases, which is confirmed as an abbreviation operation.
[0124] 2. Abbreviation or expansion function.
[0125] Based on Figure 6 In an alternative embodiment, such as Figure 10 As shown, step 220 above can be implemented as step 223.
[0126] Step 223: In response to a scaling operation on a box-shaped element, if the first social message includes a first entity, abbreviate or expand the first social message into a second social message including at least one multimedia element, wherein the at least one multimedia element is an element related to the first entity.
[0127] Optionally, the first entity refers to something that objectively exists in the objective world. The first entity can be organic or inorganic, and can be natural or man-made. An organic entity can be a living thing, such as an animal, plant, or a person. An inorganic entity can be an inanimate thing, such as a machine or a commodity. A natural thing can be something that exists naturally in nature, such as mountains or rivers. A man-made thing can be something artificially created, such as clothing, vehicles, songs, or films.
[0128] Optionally, the first entity can be pre-set by the developer or set by the user. When setting the first entity, the developer or user can set a specific entity name or an entity category.
[0129] For example, the first entity can be set as an entity name, such as "XX Road", "XX Building", "XX Burger Shop", "XX Burger", etc.; or, the first entity can be set by entity category, such as address, song, shop, item, video.
[0130] In some embodiments, the first entity is any one of the following: address; song; shop; item; video.
[0131] In some embodiments, when the first entity is a first address, at least one multimedia element includes an information card displaying location information of the first address; or, when the first entity is a first song, at least one multimedia element includes an information card displaying playback controls for the first song; or, when the first entity is a first store, at least one multimedia element includes at least one of the following: store reviews, location information, and signature dishes; or, when the first entity is a first item, at least one multimedia element includes at least one of the following: item display image, item price, item description, and recommended stores; or, when the first entity is a first film, at least one multimedia element includes at least one of the following: film description, rating, and location information of the cinema playing the first film.
[0132] An information card is an interactive component that includes multimedia information. Information cards are used to display key information in a simple and intuitive way.
[0133] Optionally, each multimedia element in at least one multimedia element may be displayed after the text in the second social message, or in the middle of the text in the second social message, or at the beginning of the second social message, etc.
[0134] In some embodiments, the method further includes: displaying a target page corresponding to the first multimedia element in response to a triggering operation on a first multimedia element among at least one multimedia element; or, launching an application corresponding to the first multimedia element in response to a triggering operation on the first multimedia element among at least one multimedia element, wherein the application displays the target page corresponding to the first multimedia element. The triggering operation on the first multimedia element may be performed before or after the second social message is sent.
[0135] In some embodiments, the first multimedia element is associated with a target link, meaning that a target page can be accessed by triggering an action on the first multimedia element, such as using a browser to access the target page; or, the target link is associated with an application, such as if the target link is provided by the application, or is a webpage link of the application, etc., in which case the application is launched and the target page corresponding to the target link is displayed.
[0136] For example, if the target link is a link with location information of a first address and the first multimedia element is an information card with location information of the first address, then in response to a trigger operation on the first multimedia element, a navigation program is launched and a navigation page navigating to the first address is displayed; if the target link is a link with a first song and the first multimedia element is an information card with playback control for the first song, then in response to a trigger operation on the first multimedia element, a music playback program is launched and the playback interface of the first song or the information interface of the first song is displayed, or the user can also play the first song in a social application by triggering the playback control.
[0137] Optionally, if the first social message includes at least one multimedia element, the second social message may also include all or part of at least one multimedia element from the first social message.
[0138] In summary, the method illustrated in this application demonstrates a method for adding multimedia elements to a second social message when the first social message includes a first entity. That is, the generated second social message can include multimedia elements in addition to text, enriching its presentation and enhancing its richness. Furthermore, the content of at least one multimedia element in the second social message varies depending on the type of the first entity, further enriching the second social message. In addition, at least one multimedia element in the second social message supports user interaction, thereby enabling various rich functions on the first client, such as playing audio and video. Moreover, when the first multimedia element in at least one multimedia element is associated with an external link, it supports redirection to a target page, eliminating the need for the user to copy the link and manually open the corresponding target page, shortening the user's interaction process and improving interaction efficiency.
[0139] It should be noted that the above "1. Scaling operation for box-shaped elements" and "2. Abbreviation or expansion function" are optional embodiments for step 220. The methods shown in the above "1. Scaling operation for box-shaped elements" and "2. Abbreviation or expansion function" can be implemented as independent embodiments or as combined embodiments.
[0140] For example, “1. Scaling operation for box-shaped elements” shows the operation method for scaling operation for box-shaped elements, the triggering method for abbreviating or expanding the first social message, and the relationship between the area change of the box-shaped element and abbreviation or expansion. All of these can be combined with the method for generating the second social message shown in “2. Abbreviation or expansion function”.
[0141] For example, in response to a scaling operation on a box element, the area of the box element is updated; following the change in the area of the box element, if the first social message includes a first entity, the first social message is abbreviated or expanded to a second social message including at least one multimedia element, wherein the at least one multimedia element is an element related to the first entity.
[0142] For example, in response to a scaling operation on a box-shaped element, the area of the box-shaped element is updated; if the scaling operation on the box-shaped element ends and the first social message includes the first entity, the first social message is abbreviated or expanded to include at least one multimedia element, following the change in the area of the box-shaped element; or, in response to a scaling operation on a box-shaped element, the area of the box-shaped element is updated; in response to a scaling operation on a box-shaped element satisfying a first condition and the first social message including the first entity, the first social message is abbreviated or expanded to include at least one multimedia element, following the change in the area of the box-shaped element; wherein the first condition includes at least one of the following: the interaction duration of the scaling operation reaches a duration threshold; the interaction distance of the scaling operation reaches a distance threshold; the interaction range of the scaling operation reaches a range threshold.
[0143] For example, when the area of the box element is reduced and the first social message includes the first entity, the first social message is abbreviated to a second social message with at least one multimedia element; when the area of the box element is increased and the first social message includes the first entity, the first social message is expanded to a second social message with at least one multimedia element.
[0144] 3. Showing and hiding box-shaped elements.
[0145] (1) Display of box-shaped elements.
[0146] In some embodiments, the box element associated with the first social message may be displayed automatically or triggered by the user. Optionally, the box element is displayed in the user interface before the first social message is edited. For example, the box element may be an input box through which the first social message is edited; or, the box element may be a message bubble that is displayed only after the first social message is sent.
[0147] Based on Figure 6 In an alternative embodiment, such as Figure 11 As shown, step 210 can be implemented as steps 211 and 212.
[0148] Step 211: Display the edited first social message.
[0149] Optionally, the editing of the first social message is achieved through an input box; or, the editing of the first social message is achieved through speech-to-text conversion.
[0150] Step 212: In response to the triggered action for the first social message, display the box element associated with the first social message.
[0151] Optionally, the triggering operation for the first social message can be a click operation for the first social message; or a selection operation for the first social message; or a long press operation for the first social message; or a drag operation for the first social message; or, when the first social message is selected, a triggering operation for the display control of the box-shaped element, etc.
[0152] In some embodiments, step 212 above may be implemented as at least one of the following: in response to a sending operation for a first social message, displaying a box element associated with the first social message; in response to a triggering operation for a first social message and the first social message includes a first keyword, displaying a box element associated with the first social message, wherein the first keyword is used to trigger the display of the box element.
[0153] Optionally, in response to the sending operation of the first social message, a box element associated with the first social message is displayed. This box element may be visible only to the first client or to multiple clients, which are clients that have established a chat connection or clients that are in the same chat interface.
[0154] Optionally, if the box element is visible to multiple clients, the box element may only support interaction from the first client. That is, although other clients can see the box element, they cannot interact with it to perform abbreviation or expansion of the first social message.
[0155] Optionally, the box element can be visible and interactive to multiple clients; that is, other clients can both see the box element and zoom in and out to abbreviate or expand the first social message. In some embodiments, only one client is allowed to zoom in and out of the box element at any given time. Specifically, when one client is zooming in and out of the box element, the box element is locked, preventing other clients from interacting with it. In other embodiments, if a preview message, a first social message, or a second social message is displayed during the zooming process of the box element, these preview messages, first social messages, or second social messages cannot be edited by other clients.
[0156] Optionally, in response to a triggering action on a first social message, and if the first social message includes a first keyword, a box element associated with the first social message is displayed. This can be understood as follows: after the user triggers the action on the first social message, it is determined whether the first social message includes the first keyword. If the first social message includes the first keyword, the box element associated with the first social message is displayed; if the first social message does not include the first keyword, the box element associated with the first social message is not displayed. The first keyword can be set by the developer or by the user. The first keyword can be natural language text, a graphic symbol, or punctuation.
[0157] Optionally, the first keyword can be located at the beginning of the first social message; or, the first keyword can be located at the end of the first social message; or, the first keyword includes a first sub-word and a second sub-word, with the first sub-word located at the beginning of the first social message and the second sub-word located at the end of the first social message; or, the first keyword can be located in the middle of the first social message. Wherein, when the first keyword is located at the beginning of the first social message, the first character of the first keyword is the first character of the first social message; when the first keyword is located at the end of the first social message, the last character of the first keyword is the last character of the first social message; similarly, when the first sub-word of the first keyword is located at the beginning of the first social message, the first character of the first sub-word is the first character of the first social message; similarly, when the second sub-word of the first keyword is located at the end of the first social message, the last character of the second sub-word is the last character of the first social message; when the first keyword is located in the middle of the first social message, it means that the first keyword is consecutive characters in the first social message.
[0158] Optionally, in response to a triggering operation on a first social message and the first social message includes a first keyword, a box element associated with the first social message is displayed, and after displaying the box element associated with the first social message, the first keyword in the first social message is deleted; or, in response to a triggering operation on a first social message and the first social message includes a first keyword, a box element associated with the first social message is displayed, and the box element displays the first social message with the first keyword deleted.
[0159] For example, if the first keyword is square brackets "[]" and is located at the end of the first social message, then if the first social message is "I tried the hot pot restaurant you recommended to me before today, and it really suited my taste, especially the tripe and duck intestines, which were very fresh and crispy []", and the user performs a trigger action on the first social message, then the box element associated with the first social message will be displayed, and the first keyword in the first social message will be deleted. Alternatively, if the first keyword is square brackets "[]" and includes a first sub-word and a second sub-word, where the first sub-word is a left bracket "[" and the second sub-word is a right bracket "]", then if the first social message is "[I tried the hot pot restaurant you recommended to me before today, and it really suited my taste, especially the tripe and duck intestines, which were very fresh and crispy]", and the user performs a trigger action on the first social message, then the box element associated with the first social message will be displayed, and the first keyword in the first social message will be deleted.
[0160] Optionally, in response to a triggered action on the first social message, a box element associated with the first social message is displayed, and the display style of the first social message is updated. This display style can be set by the user or by the developer. The display style includes at least one of font, font size, and font color.
[0161] For example, when a box element is used to present the first social message and the first social message is part of the social message displayed in the user interface, such as the user interface displaying the social message "I tried the hot pot restaurant you recommended to me before today, and it really suited my taste, especially the tripe and duck intestines, which were very fresh and crispy", and the first social message is "[The tripe and duck intestines were very fresh and crispy]", in addition to displaying a box element around the first social message, the first social message will also be highlighted.
[0162] In summary, the method provided in this application illustrates a triggering display method for box-shaped elements. That is, the box-shaped elements do not appear unconditionally, but require a triggering operation in response to a first social message to be displayed. This gives users control over whether the abbreviation or expansion function is activated, improving user operability and the flexibility of the abbreviation or expansion function. Furthermore, a specific triggering display method for box-shaped elements is also shown, namely, sending a first social message and / or detecting that the first social message includes a first keyword, further improving user operability and the flexibility of the abbreviation or expansion function.
[0163] (2) Cancel the display of box-shaped elements.
[0164] In some embodiments, the method further includes: in response to a cancel operation on the box element, canceling the display of the box element and restoring the second social message to the first social message. This step is performed between steps 220 and 230 above, that is, after the second social message is generated and before it is sent.
[0165] Optionally, the user interface displays a cancel display control for box-shaped elements. The cancel display operation for box-shaped elements can be a trigger operation for the cancel display control of box-shaped elements, such as a click operation, a double-click operation, a long press operation, a swipe operation, etc.
[0166] Optionally, in response to an undo operation on the box element, the second social message is restored to the first social message. That is, in some embodiments, in response to an undo operation on the box element, the second social message displayed in the box element is restored to the first social message.
[0167] Optionally, in response to a cancellation operation on the box-shaped element, the display of the box-shaped element is cancelled, the second social message is restored to the first social message, and the first social message is sent. That is, after the display of the box-shaped element is cancelled, not only is the second social message restored to the first social message, but the first social message is also synchronized with other clients, which are the clients included in the chat interface that edits the first social message.
[0168] In some embodiments, the display of the box element is canceled in response to an operation to send a second social message.
[0169] In summary, the method shown in this application restores the second social message to the first social message when the user cancels the display of the box-shaped element and the second social message has not been sent. This eliminates the need for the user to re-enter the first social message if they are not satisfied with the second social message, making the operation more user-friendly.
[0170] In some embodiments, for social applications, box-shaped elements can be message bubbles, input boxes, message editing areas, etc.
[0171] Next, we will take the message bubble as an example to further introduce the above information processing method.
[0172] In some embodiments, displaying an edited first social message and a box element associated with the first social message includes: displaying the edited first social message and displaying a first message bubble for presenting the first social message.
[0173] Optionally, in response to a sending operation for an edited first social message, the edited first social message and the box element associated with the first social message are displayed.
[0174] In some embodiments, in response to a scaling operation on a box-shaped element, abbreviating or expanding a first social message into a second social message includes: in response to a scaling operation on a first message bubble, abbreviating or expanding a first social message in a first message bubble into a second social message, wherein the second social message is presented through the first message bubble.
[0175] Optionally, in response to a scaling operation on the first message bubble, the first social message in the first message bubble is abbreviated or expanded to a second social message; or, in response to a scaling operation on the first message bubble, the display of the first social message in the first message bubble is canceled, and the second social message is displayed in the first message bubble, the second social message being obtained based on the abbreviation or expansion of the first social message.
[0176] Optionally, in response to an operation to send a second social message, a second social message is sent.
[0177] In some embodiments, the operation of sending a first social message and the operation of sending a second social message may be performed in the same or different ways.
[0178] For example, sending a first social message is a sending operation for an input field, such as clicking the send control associated with the input field. Sending a second social message is a trigger operation for a first message bubble displaying the second social message; that is, the second social message is sent in response to a trigger operation for a first message bubble displaying the second social message. Further, the second social message is sent in response to a double-click operation on the first message bubble; and / or, the second social message is sent in response to a long-press operation on the first message bubble.
[0179] In some embodiments, the first message bubble includes a first border, and the first border includes at least one control point for scaling the first message bubble. The control point may also be referred to as a control handle, operation handle, etc. The control point allows the user to clearly understand that the first message bubble supports area adjustment, and the display of the control point helps guide the user's scaling operation. For example, as shown... Figure 12 As shown, the first message bubble 54 is surrounded by a first border 55, and control points 56 are displayed on the three corners of the first border 55.
[0180] For example, in response to a scaling operation on a first message bubble, abbreviating or expanding a first social message in the first message bubble into a second social message includes: in response to a drag operation on a first control point in a first border, abbreviating or expanding a first social message in the first message bubble into a second social message.
[0181] In some embodiments, when the first message bubble includes a first border, if the user determines that the current second social message is the second social message the user expects, the user can officially synchronize the social message with other users, that is, send the second social message. Specifically, in response to the sending operation for the second social message, the first message bubble is updated to display as the second message bubble, which does not include the first border.
[0182] In summary, this application embodiment illustrates the case where the box element is a message bubble. When the box element is the first message bubble, the user can abbreviate or expand the first social message by scaling the first message bubble used to present the first social message. The length of the abbreviated or expanded second social message is related to the area of the first message bubble. On one hand, it integrates abbreviation and / or rewriting functions into social applications, allowing users to directly refine and modify the first social message they want to send within the social application, without having to open other applications that support abbreviation or expansion, input the first social message, and then copy the abbreviated or expanded result back to the social application. This shortens the user's interaction path for using abbreviation and / or expansion functions and improves interaction efficiency. It also allows users to smoothly abbreviate or expand the first social message within the social application, improving the user experience. On the other hand, the length of the abbreviated or expanded second social message can be controlled by scaling the first message bubble. The length of the second social message is controlled by adjusting the area of the first message bubble. Users can directly judge the length of the abbreviated or expanded second social message by observing changes in the area of the box element, achieving a visual setting of the second social message length. Compared to setting the length of the second social message using numbers, the area of the box element is clearly a more explicit and intuitive way for users to judge the length, improving user interaction efficiency and user experience. Furthermore, displaying the abbreviated or expanded second social message directly on the first message bubble allows users to preview the display status after the message is sent. In addition, the sending method of the second social message is shown; it can be triggered by the action of the first message bubble. When the first social message is sent via a send control or other conventional methods, the special sending method for the second social message helps users distinguish between different sending methods and avoids negative experiences caused by accidental operation.
[0183] In other embodiments, the box element is an input box. For example, such as... Figure 13As shown in section (1), an input box and AI control 57 are displayed in the chat interface. The AI control is used to activate the abbreviation and / or expansion function. When the user edits the first social message in the input box, the abbreviation and / or expansion function can be activated by clicking the AI control 57. After the abbreviation and / or expansion function is activated, the AI control will switch from the first display state to the second display state, as shown in section (1). Figure 13 As shown in section (2) of the diagram, AI control 58 is also present. Furthermore, after the abbreviation and / or expansion functions are activated, control point 59 can be displayed on the input box. Control point 59 is used to scale the input box. Specifically, as shown... Figure 13 As shown in section (3), drag control point 59 to enlarge the input box to begin expanding the first social message, and expand the first social message into a second social message in the input box. Then, by sending the second social message, a message bubble is displayed in the chat interface to represent the second social message. Optionally, if the user is not satisfied with the length of the second social message after it is generated, they can readjust the area of the input box using control point 59 to generate a new second social message. When the user is satisfied with the generated second social message, they can send it to other users through the sending operation, such as... Figure 13 As shown in section (4) of the document. Optionally, the user can restore the second social message to the first social message by exiting the abbreviation and / or expansion function, such as by setting a dedicated exit control, or by clicking the AI control 58 to switch the AI control from the second display state back to the first display state.
[0184] The above illustrates an application of an interactive method for abbreviations or expansions in a social networking application. However, the interactive method for abbreviations or expansions shown in this application embodiment can also be used in other applications that support content input, in addition to social networking applications. Specifically, Figure 14 A flowchart illustrating an exemplary embodiment of the information processing method provided in this application is shown. The method is executed by a first client, which can be installed and run on the aforementioned... Figure 1 The first terminal is shown in the figure. The method includes:
[0185] Step 310: In response to the editing operation, determine the first input content.
[0186] Optionally, the editing of the first input content is achieved through an input box; or, the editing of the first input content is achieved through speech-to-text conversion.
[0187] Step 320: Display the edited first input content and the box element associated with the first input content.
[0188] During the editing process of the first input content, the first input content being edited and the box element associated with the first input content are displayed; or, during the editing process of the first input content, the first input content being edited is displayed, and when the first input content is finished being edited, the edited first input content and the box element associated with the first input content are displayed.
[0189] Optionally, the box element associated with the first input content includes at least one of the following: a box element surrounding the first input content; a box element surrounding the first input content; and a box element used to present the first input content.
[0190] Optionally, the shape of the frame element can be a regular or irregular shape. For example, a frame element can be a rectangle, circle, triangle, ellipse, pentagon, hexagon, pentagram, rounded rectangle, sector, etc. A frame element can also be a cloud shape, flower shape, tree shape, etc. A frame element can also be a shape other than those shown above, or a combination of multiple shapes shown above. A frame element can also be an element with personalized decorations, such as a fill, which can be a solid color fill, gradient fill, pattern fill, or picture fill. A solid color fill refers to a continuous and uniform color coverage inside the frame element, displaying the entire frame element as one color; a gradient fill is a fill method that blends two or more colors; a pattern fill refers to filling the internal area of the frame element with repeating pattern units (such as lines, squares, geometric shapes, etc.), which can be system presets or user-defined. A picture fill refers to a fill method that covers the inside of the frame element with an image.
[0191] Optionally, the frame element may include some decorative elements, which are displayed inside or on the frame element to decorate it. These decorative elements may be customizable by the user.
[0192] Optionally, the initial area of the box element is related to the length of the first input content. The more content the first input content contains, the larger the area of the box element typically becomes, such as through greater length and / or height; conversely, the less content the first input content contains, the smaller the area of the box element typically becomes, such as through smaller length and / or height. The area of the box element adaptively changes according to the content contained in the first input content.
[0193] Optionally, the first input content may include at least one of text, image, audio, and video. Typically, a maximum width is set for the frame element, but its height is not limited. This is because, from a human-computer interaction perspective, users are generally more comfortable scrolling vertically to display more content than horizontally. However, in other embodiments, a maximum width may be set without limiting the height, or neither width nor height may be limited. Taking limiting the maximum width of the frame element as an example, for text in the first input content, the number of characters that can be displayed per line in the frame element is determined based on the set font, font size, and the maximum width of the frame element. Based on the total number of characters in the text, the number of lines of text is determined. Then, based on the number of lines of text and the set line spacing, the display area of the text is determined. For images in the first input content, the display area of the image is determined based on the original size (or original image ratio) of the image and the maximum width of the frame element. For example, if the element size of the image is 1920×1080 pixels, then the maximum width and the length of the image (1920 pixels) are used to determine the display area. The image's scaling ratio, combined with its height of 1080 pixels and the scaling ratio, determines the image's display area. For audio in the first input content, it's typically displayed through audio elements (like a speaker icon), which can be triggered to play the audio. The size of these audio elements can be fixed or adaptively change based on the audio length. In this case, the audio's display area is the same as the audio element's display area, which can be determined with reference to the image's display area. For video in the first input content, the video's display size can be determined using the same method as for determining the image's display area. Specifically, when the first input content includes multiple types of text, images, audio, and video, the display area of the first input content can be determined based on the display areas of the text, images, audio, and video.
[0194] Step 330: In response to a scaling operation on the box element, shorten or expand the first input content into a second input content, the length of which is related to the area of the box element.
[0195] In response to a shrinking operation on a box-shaped element, the first input content is abbreviated to the second input content; or, in response to a zooming operation on a box-shaped element, the first input content is expanded to the second input content.
[0196] Optionally, the length of the second input content is related to the area of the frame element. This can be understood as the richness of the second input content being related to the area of the frame element; it can also be understood as the display area of the second input content being related to the area of the frame element. This can be referenced to the relationship between the first input content and the area of the frame element described above. However, here, the display area of the second input content is adaptively adjusted based on the area of the frame element, whereas the above example shows the adaptation of the frame element's area based on the display area of the first input content. Specifically, the difference between the display area of the second input content and the area of the frame element is within a preset range.
[0197] For example, the length of the second input content is positively correlated with the area of the box element; that is, the larger the area of the box element, the longer the second input content. It should be noted that the second input content can include at least one of text, images, audio, and video. In other words, the length of the second input content cannot be measured solely based on the number of characters in the text; the display area of images, audio, and video, etc., must also be considered.
[0198] Optionally, abbreviation refers to a modification method that retains the main idea of the original text without changing the meaning of the sentence. The first input content is abbreviated to the second input content. That is, for the first input content, the length of the abbreviated second input content is determined based on the area of the box element. The content of the first input content is summarized to obtain the second input content. In other words, the abbreviated second input content only includes the key sentences, keywords, and core concepts from the first input content, removing all or part of the redundant content. Of course, the length of the redundant content in the second input content varies depending on the area of the box element. In other words, when the second input content is obtained by abbreviating the first input content, the length of the first input content is greater than the length of the second input content. For example, the first input content might be, "I tried the hot pot restaurant you recommended to me before today, and it really suited my taste, especially the tripe and duck intestines, which were very fresh and crispy." When the area of the box element is the first area, the second input content A is "I tried the hot pot restaurant you recommended today, the tripe and duck intestines were delicious"; when the area of the box element is the second area, the second input content B is "I tried the hot pot restaurant you recommended, it was delicious". Since the first area is larger than the second area, the length of the second input content A is greater than the length of the second input content B.
[0199] Optionally, expansion refers to enriching the content of the original text without changing the meaning of the sentence. The first input content is expanded into the second input content. That is, for the first input content, the length of the abbreviated second input content is determined based on the area of the box element. The second input content is obtained by adding modifiers, details, examples, and background to the first input content. In other words, the expanded second input content includes all or part of the content of the first input content, plus the modifiers, details, etc., shown above. When the second input content is obtained by expanding the first input content, the length of the first input content is shorter than the length of the second input content. For example, the first input content is: "I tried the hot pot restaurant you recommended to me before today, and it really suited my taste, especially the tripe and duck intestines, which were very fresh and crispy." With the area of the frame element being the first area, the second input content A is: "Today I specifically tried the hot pot restaurant you recommended before, and it was just right for my taste. Especially the tripe and duck intestines, the texture was particularly good, fresh and crisp, every bite was unforgettable. The restaurant environment was also very comfortable, and the service was very attentive. I will definitely bring my friends to go again next time." With the area of the frame element being the second area, the second input content B is: "Today I specifically tried the hot pot restaurant you recommended before, and it was just right for my taste. Especially the tripe and duck intestines, the texture was particularly good, fresh and crisp, every bite was unforgettable." Since the first area is larger than the second area, the length of the second input content A is greater than the length of the second input content B.
[0200] In summary, the method provided in this application illustrates how scaling operations on a box-shaped element associated with the first input content can be used to abbreviate or expand the first input content, and the length of the abbreviated or expanded second input content is related to the area of the box-shaped element. On one hand, this integrates abbreviation and / or rewriting functions into the application, allowing users to directly refine and modify the first input content they want to send within the application, without needing to open other applications that support abbreviation or expansion, input the first input content, and then copy the abbreviated or expanded result back to the application. This shortens the user's interaction path for using abbreviation and / or expansion functions, improving interaction efficiency. It also allows users to smoothly abbreviate or expand the first input content within the application, improving the user experience. On the other hand, scaling operations on the box-shaped element control the length of the abbreviated or expanded second input content. The length of the second input content is controlled by the area of a box element. For users, the length of the abbreviated or expanded second input content can be directly judged by the change in the area of the box element. This achieves a visual setting of the length of the second input content. Compared with setting the length of the second input content by a number, the area of the box element is obviously a more clear and intuitive way for users to judge. This judgment method is conducive to improving the user's interaction efficiency and user experience.
[0201] The following section will provide a further introduction to information processing methods.
[0202] 1. Scaling operations for box-shaped elements.
[0203] First, we will introduce how to perform scaling operations on box-shaped elements.
[0204] In some embodiments, in response to a scaling operation on a box element, abbreviating or expanding the first input content into the second input content includes: updating the area of the box element in response to a scaling operation on the box element; and abbreviating or expanding the first input content into the second input content as the area of the box element changes.
[0205] In some embodiments, abbreviating or expanding the first input content into the second input content in accordance with the area change of the box element can be implemented as follows: when the scaling operation on the box element ends, the first input content is abbreviated or expanded into the second input content in accordance with the area change of the box element; or, in response to the scaling operation on the box element satisfying a first condition, the first input content is abbreviated or expanded into the second input content in accordance with the area change of the box element; wherein, the first condition includes at least one of the following: the interaction duration of the scaling operation reaches a duration threshold; the interaction distance of the scaling operation reaches a distance threshold; the interaction range of the scaling operation reaches a range threshold.
[0206] In some embodiments, if the box element is used to display social messages (i.e., the first input content or the second input content), the first input content is abbreviated or expanded to the second input content as the area of the box element changes, including: abbreviating the first input content to the second input content when the area of the box element decreases; and expanding the first input content to the second input content when the area of the box element increases.
[0207] In some embodiments, the first input content is abbreviated or expanded to the second input content in accordance with the change in the area of the box element, including: abbreviating the first input content to the second input content when the area of the box element increases; and expanding the first input content to the second input content when the area of the box element decreases.
[0208] For details, please refer to the above. Figure 6 The corresponding optional embodiment, "1. Scaling operation for box-shaped elements", will not be described again here.
[0209] 2. Abbreviation or expansion function.
[0210] In some embodiments, in response to a scaling operation on a box-shaped element, when the first input content includes a first entity, the first input content is abbreviated or expanded to a second input content including at least one multimedia element, wherein the at least one multimedia element is an element associated with the first entity.
[0211] In some embodiments, the first entity is any one of the following: address; song; shop; item; video.
[0212] In some embodiments, when the first entity is a first address, at least one multimedia element includes an information card displaying location information of the first address; or, when the first entity is a first song, at least one multimedia element includes an information card displaying playback controls for the first song; or, when the first entity is a first store, at least one multimedia element includes at least one of the following: store reviews, location information, and signature dishes; or, when the first entity is a first item, at least one multimedia element includes at least one of the following: item display image, item price, item description, and recommended stores; or, when the first entity is a first film, at least one multimedia element includes at least one of the following: film description, rating, and location information of the cinema playing the first film.
[0213] In some embodiments, the method further includes: displaying a target page corresponding to the first multimedia element in response to a trigger operation on a first multimedia element among at least one multimedia element; or, launching an application corresponding to the first multimedia element in response to a trigger operation on the first multimedia element among at least one multimedia element, wherein the application displays the target page corresponding to the first multimedia element. The trigger operation on the first multimedia element may be performed before or after the second input content is sent.
[0214] For details, please refer to the above. Figure 6 The "2. Abbreviation or Expansion Function" in the corresponding optional embodiment will not be described again here.
[0215] 3. Showing and hiding box-shaped elements.
[0216] (1) Display of box-shaped elements.
[0217] In some embodiments, the box element associated with the first input content may be displayed automatically or triggered by the user. Optionally, the box element is displayed in the user interface before the first input content is edited. For example, the box element may be an input box through which the first input content is edited; or, the box element may be a message bubble that is displayed only after the first input content is sent.
[0218] In some embodiments, displaying edited first input content and a box element associated with the first input content includes: displaying the edited first input content; and displaying a box element associated with the first input content in response to a triggering operation on the first input content.
[0219] In some embodiments, displaying a box element associated with the first input content in response to a triggering operation on the first input content can be implemented in at least one of the following ways: displaying a box element associated with the first input content in response to a sending operation on the first input content; or displaying a box element associated with the first input content in response to a triggering operation on the first input content and the first input content includes a first keyword, wherein the first keyword is used to trigger the display of the box element.
[0220] (2) Cancel the display of box-shaped elements.
[0221] In some embodiments, the method further includes: in response to a cancel operation on the box element, canceling the display of the box element and restoring the second input content to the first input content.
[0222] Optionally, the user interface displays a cancel display control for box-shaped elements. The cancel display operation for box-shaped elements can be a trigger operation for the cancel display control of box-shaped elements, such as a click operation, a double-click operation, a long press operation, a swipe operation, etc.
[0223] Optionally, in response to an undo operation on a box element, the second input content is restored to the first input content. That is, in some embodiments, in response to an undo operation on a box element, the second input content displayed in the box element is restored to the first input content.
[0224] For details, please refer to the above. Figure 6 The corresponding optional embodiment, "3. Displaying and canceling the display of box-shaped elements", will not be described again here.
[0225] For example, let's take applications that support rich text editing, such as utility programs, note-taking programs, translation programs, etc., as examples for illustration. Figure 15 As shown in section (1), the user interface is displayed. The user interface can display a toolbar area 60 and a rich text editing area 61. Users can edit the input content using various tools shown in the toolbar area 60. For example, if a user edits some text content in the rich text editing area 61, and after editing, the user feels that part of the input content does not meet their needs and wants to further shorten or expand that content, then the user can select all or part of the input content displayed in the rich text editing area 61 to shorten or expand that part of the content. For example... Figure 15 As shown in section (2), the user selects the first input content 62 and activates the abbreviation or expansion function for the first input content 62. This function can be activated via a shortcut key, a control displayed in the toolbar area 60, or voice input. After the user activates the abbreviation or expansion function, as shown in section (2), the user selects the first input content 62 and activates the abbreviation or expansion function for that content. Figure 15 As shown in section (3), a box element 63 and the first input content located within the box element 63 are displayed. For the box element 63, it can be as follows: Figure 15 The floating window shown, which is displayed in any area of the user interface, can also be similar to the box-shaped element in the social application described above, which is displayed around the first input content in the user interface. This application embodiment does not limit this.
[0226] Optionally, a cancel display control and at least one control point may be displayed around the box element 63. The functionality of the cancel display control and control point will not be elaborated here. It should be noted that the box element 63 may also not display the cancel display control and / or at least one control point, but instead, the scaling and cancel display operations for the box element can be implemented through other triggering methods. For example, when the user zooms in on the box element 63, the first input content in the box element 63 is abbreviated or expanded to the second input content, such as... Figure 15 As shown in section (4) of the document. If the user is satisfied with the generated second input content, the user can replace the first input content with the second input content by confirming the second input content.
[0227] The information processing methods described above correspond to a system primarily viewed from four perspectives: the message sender, the message sender client, the server, and the message receiver. The process begins with the message sender sending a message and ends with the message receiver receiving the message. For example... Figure 16 As shown.
[0228] Step 1: The message sender edits and sends a message with the suffix "【】" in the input box.
[0229] The brackets “【】” can be called the primary keyword, which is used to activate the abbreviation and / or expansion functions. The primary keyword can be set by the developer or by the user. The primary keyword can be natural language text, graphic symbols, or punctuation marks.
[0230] In addition, the first keyword can be located at the beginning of the original content; or, the first keyword can be located at the end of the original content; or, the first keyword includes a first subword and a second subword, with the first subword located at the beginning of the original content and the second subword located at the end of the original content; or, the first keyword can be located in the middle of the original content.
[0231] Step 2: Display a bubble with zoom function for the message sender, containing the original input content.
[0232] A bubble with zoom functionality is a bubble that includes a first border, which contains at least one control point, and displays the original input content within the bubble. This bubble is invisible to the message recipient.
[0233] Step 3: Display the original message without expansion to the message recipient.
[0234] If the user double-clicks the bubble to send, the recipient will see the original message without any expansion.
[0235] Step 4: The message sender clicks and holds the bottom left corner of the bubble to drag and resize it.
[0236] During the drag-and-drop process, the occurrence of drag events will be determined. Specifically, when a user drags a bubble using the abbreviation or expansion function, touch events (touchstart, touchmove, touchend) will be used to determine the user's needs. The bubble size will be updated in real time during the drag-and-drop process. Specifically, in the touchmove event, the new bubble width or height will be calculated based on the distance the finger has moved, and the bubble size will be updated in real time, but the original content will not be processed.
[0237] Step 5: Has the drag-and-drop interaction ended?
[0238] Determine whether the message sender's drag-and-drop interaction has ended. If the drag-and-drop interaction has ended, proceed to step 6; if the drag-and-drop interaction has not ended, proceed to step 4 to update the bubble size in real time.
[0239] Step 6: Compare the chat box size before and after the interaction to determine whether the user's request is an abbreviation or expansion, and the required number of characters.
[0240] When the drag-and-drop interaction ends, the word count requirement is identified. That is, at the end of the drag-and-drop (touchend event), the length of the current bubble content is obtained and compared with the length of the original message. If it is longer than the original message, it is identified as an expansion; otherwise, it is an abbreviation.
[0241] Step 7: The AI model sent to the server performs inference or calculation and outputs the results.
[0242] Send the original content and requirements information to the server. For example, the requirements information can be expanded to include the character "X".
[0243] For the server side, Natural Language Processing (NLP) techniques are used to analyze the input text. NLP libraries (such as spaCy, NLTK, and Transformers) can be used to process the text.
[0244] Specifically, this may include the following steps:
[0245] (1) Text Recognition and Keyword Extraction: NLP libraries such as spaCy, NLTK, and Transformers are used to process the text. Specifically, text preprocessing is the first step, typically including word segmentation, stop word removal, and stemming. For example, the spaCy library is used to break down a text into words and filter out common, meaningless words. Next, the TF-IDF (Term Frequency-Inverse Document Frequency) algorithm is applied to quickly select candidate keywords. This method helps identify the most representative words by calculating the importance of each word in the document. Furthermore, deep learning models such as TextRank or BERT can be used to optimize these candidate keywords to ensure that the extracted keywords are more relevant and accurate.
[0246] (2) Sentence Compression and Expansion: The purpose of sentence compression is to simplify sentences by removing redundant words and unnecessary modifiers, making them more concise and clear. For example, a simple function can be written to identify and remove modifiers such as "very" or "especially," making the sentence more direct. Sentence expansion, on the other hand, enriches the content of sentences by adding details and modifiers, making them more vivid. For example, when describing a product, details about its quality or performance can be added to enhance the expressiveness of the sentence.
[0247] (3) Link Generation: When the text contains authorized links (such as music, movie, or shopping links), these links need to be identified and output in a formatted manner generated. Regular expressions can be used to find links in the text, and a search engine (such as Elasticsearch or Solr) can be used to quickly retrieve whether there are relevant authorized links in the database. If the database contains link information, the link will be incorporated into the output as supplementary content.
[0248] (4) Generate new text and links using pre-trained large language models: By using the Transformers library, these models can be loaded and text related to the input content can be generated. This not only expands the existing content but also identifies potential links in the generated text, thus providing users with richer information.
[0249] Step 8: Check if the results contain a trusted link.
[0250] Trusted links are links that are matched through a whitelist mechanism and are considered trustworthy.
[0251] Step 9: Extract the source data (such as images, music players, etc.) and display the preview content and functions below the text in the bubble.
[0252] For example, extracting titles, descriptions, and images from the metadata of links (Open Graph, JSON-LD).
[0253] At the same time, the server returns the generated content to the message sender client.
[0254] Step 10: The message sender's client displays the generated content in the bubble.
[0255] The message sender client displays a bubble to present the generated content based on the received content.
[0256] Step 11: Does the user double-click the bubble to send?
[0257] Detect whether the user double-clicks the bubble to send the generated content. If the user double-clicks the bubble, send the generated content to the message recipient and proceed to step 14; if the user does not double-click the bubble, proceed to step 12.
[0258] Step 12: Does the user want to edit again?
[0259] Determine if the user resizes the bubble. If the user re-edits it, proceed to step 4; otherwise, continue to step 13.
[0260] Step 13: The user clicks the close button in the upper left corner of the bubble.
[0261] If a user clicks the close button in the upper left corner of the bubble, the generated content can be restored to its original state, the bubble can be canceled, or the original content can be sent directly to the message recipient.
[0262] Step 14: The message recipient displays the expanded message.
[0263] After receiving the generated content, the message receiver displays the expanded message.
[0264] Figure 17 A structural block diagram of an information processing apparatus provided in an exemplary embodiment of this application is shown. The apparatus has the functionality to implement the information processing method example described above; the functionality can be implemented in hardware or by hardware executing corresponding software. The apparatus can be the terminal described above, or it can be installed within a terminal. The apparatus includes a first display module 410, a first processing module 420, and a sending module 430.
[0265] The first display module 410 is used to display the edited first social message and the box-shaped elements associated with the first social message.
[0266] The first processing module 420 is configured to, in response to a scaling operation on the frame element, abbreviate or expand the first social message into a second social message, wherein the length of the second social message is related to the area of the frame element.
[0267] The sending module 430 is used to send the second social message in response to the sending operation for the second social message.
[0268] In some embodiments, the first processing module 420 includes: a first update submodule and a first processing submodule.
[0269] The first update submodule is used to update the area of the box element in response to a scaling operation on the box element.
[0270] The first processing submodule is used to abbreviate or expand the first social message into the second social message as the area of the frame element changes.
[0271] In some embodiments, the first processing submodule is further configured to, upon completion of the scaling operation on the frame element, abbreviate or expand the first social message into the second social message following the area change of the frame element; or, in response to the scaling operation on the frame element satisfying a first condition, abbreviate or expand the first social message into the second social message following the area change of the frame element; wherein the first condition includes at least one of the following: the interaction duration of the scaling operation reaches a duration threshold; the interaction distance of the scaling operation reaches a distance threshold; the interaction range of the scaling operation reaches a range threshold.
[0272] In some embodiments, the first processing module 420 or the first processing submodule further includes a first abbreviation unit and a first expansion unit.
[0273] The first abbreviation unit is used to abbreviate the first social message to the second social message when the area of the frame element is reduced;
[0274] The first expansion unit is used to expand the first social message into the second social message when the area of the frame element increases.
[0275] In some embodiments, the first processing module 420 is further configured to, in response to a scaling operation on the frame element, abbreviate or expand the first social message into a second social message including at least one multimedia element, wherein the at least one multimedia element is an element related to the first entity, if the first social message includes a first entity.
[0276] In some embodiments, the first entity is any one of the following: address; song; shop; item; video.
[0277] In some embodiments, when the first entity is a first address, the at least one multimedia element includes an information card displaying the location information of the first address; or, when the first entity is a first song, the at least one multimedia element includes an information card displaying playback controls for the first song; or, when the first entity is a first store, the at least one multimedia element includes at least one of the store's review information, location information, and signature dishes; or, when the first entity is a first item, the at least one multimedia element includes at least one of the first item's display image, price, description, and recommended stores; or, when the first entity is a first film, the at least one multimedia element includes at least one of the first film's description, rating, and location information of the cinema playing the first film.
[0278] In some embodiments, the first display module 410 is further configured to display a target page corresponding to the first multimedia element in response to a trigger operation on the first multimedia element among the at least one multimedia elements; or, in response to a trigger operation on the first multimedia element among the at least one multimedia elements, launch an application corresponding to the first multimedia element, wherein the application displays the target page corresponding to the first multimedia element.
[0279] In some embodiments, the first display module 410 is further configured to display the edited first social message; and in response to a triggering operation on the first social message, to display a box-shaped element associated with the first social message.
[0280] In some embodiments, the first display module 410 is further configured to display a box-shaped element associated with the first social message in response to a sending operation for the first social message; and to display a box-shaped element associated with the first social message in response to a triggering operation for the first social message and the first social message including a first keyword, wherein the first keyword is used to trigger the display of the box-shaped element.
[0281] In some embodiments, the first display module 410 is further configured to, in response to a cancel display operation on the frame element, cancel the display of the frame element and restore the second social message to the first social message.
[0282] In some embodiments, the box-shaped element associated with the first social message is a first message bubble; the first display module 410 is further configured to display the edited first social message and display a first message bubble for presenting the first social message; the first processing module 420 is further configured to, in response to a scaling operation on the first message bubble, abbreviate or expand the first social message in the first message bubble to the second social message, and the second social message is presented through the first message bubble.
[0283] In some embodiments, the first message bubble includes a first border, the first border including at least one control point for scaling the first message bubble.
[0284] In some embodiments, the first processing module 420 is further configured to, in response to a drag operation on a first control point in the first border, abbreviate or expand the first social message in the first message bubble to the second social message.
[0285] In some embodiments, the sending module 430 is further configured to send the second social message in response to a triggering operation on the first message bubble displaying the second social message.
[0286] In some embodiments, the sending module 430 is further configured to send the second social message in response to a double-click operation on the first message bubble; and to send the second social message in response to a long-press operation on the first message bubble.
[0287] In some embodiments, the first display module 410 is further configured to update the display of the first message bubble to a second message bubble in response to a sending operation for the second social message, wherein the second message bubble does not include the first border.
[0288] Figure 18 This diagram illustrates a structural block diagram of an information processing apparatus provided in an exemplary embodiment of this application. The apparatus has the functionality to implement the information processing method example described above; the functionality can be implemented in hardware or by hardware executing corresponding software. The apparatus can be the terminal described above, or it can be installed within a terminal. The apparatus includes a second display module 510 and a second processing module 520.
[0289] The second display module 510 is used to determine the first input content in response to the editing operation.
[0290] The second display module 510 is also used to display the edited first input content and the box-shaped element associated with the first input content.
[0291] The second processing module 520 is used to, in response to a scaling operation on the frame element, abbreviate or expand the first input content into a second input content, wherein the length of the second input content is related to the area of the frame element.
[0292] In some embodiments, the second processing module 520 includes: a second update submodule and a second processing submodule.
[0293] The second update submodule is used to update the area of the box element in response to a scaling operation on the box element.
[0294] The second processing submodule is used to abbreviate or expand the first input content into the second input content as the area of the frame element changes.
[0295] In some embodiments, the second processing submodule is further configured to, upon completion of the scaling operation on the box-shaped element, abbreviate or expand the first input content into the second input content following the area change of the box-shaped element; or, in response to the scaling operation on the box-shaped element satisfying a first condition, abbreviate or expand the first input content into the second input content following the area change of the box-shaped element; wherein the first condition includes at least one of the following: the interaction duration of the scaling operation reaches a duration threshold; the interaction distance of the scaling operation reaches a distance threshold; the interaction range of the scaling operation reaches a range threshold.
[0296] In some embodiments, the second processing module 520 or the second processing submodule further includes a second abbreviation unit and a second expansion unit.
[0297] The second abbreviation unit is used to abbreviate the first input content to the second input content when the area of the frame element is reduced;
[0298] The second expansion unit is used to expand the first input content into the second input content when the area of the frame element increases.
[0299] In some embodiments, the second processing module 520 is further configured to, in response to a scaling operation on the box-shaped element, abbreviate or expand the first input content to a second input content including at least one multimedia element, wherein the at least one multimedia element is an element associated with the first entity, when the first input content includes a first entity.
[0300] In some embodiments, the first entity is any one of the following: address; song; shop; item; video.
[0301] In some embodiments, when the first entity is a first address, the at least one multimedia element includes an information card displaying the location information of the first address; or, when the first entity is a first song, the at least one multimedia element includes an information card displaying playback controls for the first song; or, when the first entity is a first store, the at least one multimedia element includes at least one of the store's review information, location information, and signature dishes; or, when the first entity is a first item, the at least one multimedia element includes at least one of the first item's display image, price, description, and recommended stores; or, when the first entity is a first film, the at least one multimedia element includes at least one of the first film's description, rating, and location information of the cinema playing the first film.
[0302] In some embodiments, the second display module 510 is further configured to display a target page corresponding to the first multimedia element in response to a trigger operation on the first multimedia element among the at least one multimedia elements; or, in response to a trigger operation on the first multimedia element among the at least one multimedia elements, launch an application corresponding to the first multimedia element, wherein the application displays the target page corresponding to the first multimedia element.
[0303] In some embodiments, the second display module 510 is further configured to display the edited first input content; and in response to a trigger operation on the first input content, to display a box element associated with the first input content.
[0304] In some embodiments, the second display module 510 is further configured to display a box element associated with the first input content in response to a sending operation for the first input content; and to display a box element associated with the first input content in response to a triggering operation for the first input content and the first input content includes a first keyword, wherein the first keyword is used to trigger the display of the box element.
[0305] In some embodiments, the second display module 510 is further configured to, in response to a cancel display operation on the frame element, cancel the display of the frame element and restore the second input content to the first input content.
[0306] It should be noted that the specific limitations of the embodiments of the one or more information processing devices provided above can be found in the limitations of the information processing methods above, and will not be repeated here. Each module of the above-mentioned device can be implemented entirely or partially by software, hardware, or a combination thereof. Each module can be embedded in the processor of the computer device in hardware form or independent of the processor of the computer device, or it can be stored in the memory of the computer device in software form, so that the processor can call and execute the corresponding operations of each module.
[0307] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0308] This application also provides a computer device, which includes a processor and a memory. The memory stores at least one computer program, which is loaded and executed by the processor to implement the information processing methods provided in the above-described method embodiments.
[0309] Figure 19 This illustration shows a structural block diagram of a computer device 800 provided in an exemplary embodiment of this application. The computer device 800 may be a portable mobile terminal, such as a smartphone, tablet computer, MP3 player (Moving Picture Experts Group Audio Layer III), or MP4 player (Moving Picture Experts Group Audio Layer IV). The computer device 800 may also be referred to as a user device, portable terminal, or other names. Typically, the computer device 800 includes a processor 801 and a memory 802.
[0310] Processor 801 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 801 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field Programmable Gate Array), and PLA (Programmable Logic Array). Processor 801 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 801 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content to be displayed on the screen. In some embodiments, processor 801 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.
[0311] The memory 802 may include one or more computer-readable storage media, which may be tangible and non-transitory. The memory 802 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 802 are used to store at least one instruction, which is executed by the processor 801 to implement the information processing method provided in the embodiments of this application.
[0312] In some embodiments, the computer device 800 may also optionally include a peripheral device interface 803 and at least one peripheral device. The processor 801, memory 802, and peripheral device interface 803 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 803 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: a radio frequency circuit 804, a touch display screen 805, a camera assembly 806, an audio circuit 807, and a power supply 808.
[0313] Peripheral device interface 803 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 801 and memory 802. In some embodiments, processor 801, memory 802 and peripheral device interface 803 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 801, memory 802 and peripheral device interface 803 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.
[0314] The radio frequency (RF) circuit 804 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 804 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 804 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. Optionally, the RF circuit 804 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 804 can communicate with other terminals through at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or Wi-Fi (Wireless Fidelity) networks. In some embodiments, the RF circuit 804 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.
[0315] The touch display screen 805 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. The touch display screen 805 also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to the processor 801 for processing. The touch display screen 805 is used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one touch display screen 805, located on the front panel of the computer device 800; in other embodiments, there may be at least two touch display screens, respectively located on different surfaces of the computer device 800 or in a folded design; in some embodiments, the touch display screen 805 may be a flexible display screen, located on a curved or folded surface of the computer device 800. Furthermore, the touch display screen 805 may be configured as a non-rectangular, irregular shape, i.e., a non-rectangular screen. The touch display screen 805 may be made of materials such as LCD (Liquid Crystal Display) or OLED (Organic Light-Emitting Diode).
[0316] The camera assembly 806 is used to acquire images or videos. Optionally, the camera assembly 806 includes a front-facing camera and a rear-facing camera. Typically, the front-facing camera is used for video calls or selfies, and the rear-facing camera is used for taking photos or videos. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, and a wide-angle camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, and panoramic shooting and VR shooting by fusion of the main camera and the wide-angle camera. In some embodiments, the camera assembly 806 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash is a combination of a warm-light flash and a cool-light flash, which can be used for light compensation at different color temperatures.
[0317] Audio circuitry 807 provides an audio interface between the user and computer device 800. Audio circuitry 807 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting the sound waves into electrical signals that are input to processor 801 for processing, or input to radio frequency circuitry 804 for voice communication. For stereo sound acquisition or noise reduction purposes, multiple microphones may be used, each located at a different location within computer device 800. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert electrical signals from processor 801 or radio frequency circuitry 804 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, audio circuitry 807 may also include a headphone jack.
[0318] Power supply 808 is used to supply power to various components in computer device 800. Power supply 808 can be alternating current, direct current, a disposable battery, or a rechargeable battery. When power supply 808 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, while a wireless rechargeable battery is a battery that is charged via a wireless coil. The rechargeable battery can also be used to support fast charging technology.
[0319] In some embodiments, the computer device 800 further includes one or more sensors 809. The one or more sensors 809 include, but are not limited to, an accelerometer 810, a gyroscope 811, a pressure sensor 812, an optical sensor 813, and a proximity sensor 814.
[0320] Accelerometer 810 can detect the magnitude of acceleration on the three coordinate axes of a coordinate system established by computer device 800. For example, accelerometer 810 can be used to detect the components of gravitational acceleration on the three coordinate axes. Processor 801 can control touch screen 805 to display the user interface in landscape or portrait view based on the gravitational acceleration signal collected by accelerometer 810. Accelerometer 810 can also be used for games or to collect user motion data. Gyroscope 811 can detect the orientation and rotation angle of computer device 800. Gyroscope 811 can work in conjunction with accelerometer 810 to collect 3D movements of the user on computer device 800. Based on the data collected by gyroscope 811, processor 801 can perform the following functions: motion sensing (e.g., changing the UI based on the user's tilt operation), image stabilization during shooting, game control, and inertial navigation.
[0321] The pressure sensor 812 can be disposed on the side bezel of the computer device 800 and / or on the lower layer of the touch display screen 805. When the pressure sensor 812 is disposed on the side bezel of the computer device 800, it can detect the user's grip signal on the computer device 800 and perform left / right hand recognition or quick operation based on the grip signal. When the pressure sensor 812 is disposed on the lower layer of the touch display screen 805, it can control operable controls on the UI interface based on the user's pressure operation on the touch display screen 805. Operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.
[0322] An optical sensor 813 is used to collect ambient light intensity. In one embodiment, the processor 801 can control the display brightness of the touch screen 805 based on the ambient light intensity collected by the optical sensor 813. Specifically, when the ambient light intensity is high, the display brightness of the touch screen 805 is increased; when the ambient light intensity is low, the display brightness of the touch screen 805 is decreased. In another embodiment, the processor 801 can also dynamically adjust the shooting parameters of the camera assembly 806 based on the ambient light intensity collected by the optical sensor 813.
[0323] A proximity sensor 814, also known as a distance sensor, is typically located on the front of the computer device 800. The proximity sensor 814 is used to detect the distance between the user and the front of the computer device 800. In one embodiment, when the proximity sensor 814 detects that the distance between the user and the front of the computer device 800 is gradually decreasing, the processor 801 controls the touchscreen display 805 to switch from a screen-on state to a screen-off state; when the proximity sensor 814 detects that the distance between the user and the front of the computer device 800 is gradually increasing, the processor 801 controls the touchscreen display 805 to switch from a screen-off state to a screen-on state.
[0324] Those skilled in the art will understand that the above structure does not constitute a limitation on the computer device 800, and may include more or fewer components than shown in the figure, or combine certain components, or use different component arrangements.
[0325] This application also provides a computer-readable storage medium storing at least one computer program, which is loaded and executed by a processor to implement the information processing methods provided in the above-described method embodiments.
[0326] This application also provides a computer program product, which includes at least one computer program stored in a computer-readable storage medium; the at least one computer program is read from and executed by a processor of a computer device from the computer-readable storage medium, causing the computer device to perform the information processing methods provided in the above-described method embodiments.
[0327] It should be understood that "multiple" as used herein refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. Furthermore, the step numbers described herein are merely illustrative of one possible execution order. In some other embodiments, the steps may not be executed in numerical order, such as two steps with different numbers being executed simultaneously, or two steps with different numbers being executed in the reverse order of the illustration. This application does not limit this.
[0328] Those skilled in the art will understand that all or part of the steps of the above embodiments can be implemented by hardware or by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk.
[0329] The above description is merely an optional embodiment of this application and is not intended to limit this application. Any modifications, equivalent switching, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. An information processing method, characterized in that, The method is executed by a first client, and the method includes: Displays the edited first social message and the box element associated with the first social message; In response to a scaling operation on the frame element, the first social message is abbreviated or expanded into a second social message, the length of which is related to the area of the frame element; In response to the sending operation of the second social message, the second social message is sent.
2. The method according to claim 1, characterized in that, The step of abbreviating or expanding the first social message into a second social message in response to a scaling operation on the frame element includes: In response to a scaling operation on the box element, update the area of the box element; Following the change in the area of the frame element, the first social message is abbreviated or expanded to the second social message.
3. The method according to claim 2, characterized in that, The step of abbreviating or expanding the first social message to the second social message based on the area change of the frame element includes: When the scaling operation on the frame element ends, the first social message is abbreviated or expanded to the second social message, following the change in the area of the frame element. Alternatively, in response to a scaling operation on the frame element satisfying a first condition, the first social message is abbreviated or expanded to the second social message following the change in the area of the frame element; The first condition includes at least one of the following: the interaction duration of the zoom operation reaches a duration threshold; the interaction distance of the zoom operation reaches a distance threshold; the interaction range of the zoom operation reaches a range threshold.
4. The method according to claim 2 or 3, characterized in that, The step of abbreviating or expanding the first social message to the second social message based on the area change of the frame element includes: When the area of the frame element is reduced, the first social message is abbreviated to the second social message; When the area of the frame element is increased, the first social message is expanded into the second social message.
5. The method according to any one of claims 1 to 4, characterized in that, The step of abbreviating or expanding the first social message into a second social message in response to a scaling operation on the frame element includes: In response to a scaling operation on the frame element, if the first social message includes a first entity, the first social message is abbreviated or expanded to a second social message including at least one multimedia element, wherein the at least one multimedia element is an element related to the first entity.
6. The method according to claim 5, characterized in that, The first entity can be any of the following: address; song; shop; item; video.
7. The method according to claim 6, characterized in that, When the first entity is a first address, the at least one multimedia element includes an information card that displays the location information of the first address; Alternatively, if the first entity is a first song, the at least one multimedia element includes an information card that displays playback controls for the first song; Alternatively, if the first entity is a first store, the at least one multimedia element includes at least one of the following: review information, location information, and signature dishes of the first store; Alternatively, if the first entity is a first item, the at least one multimedia element includes at least one of the following: a display image of the first item, the item price, the item description, and recommended stores; Alternatively, if the first entity is a first film, the at least one multimedia element includes at least one of the following: film introduction, rating, and location information of the cinema playing the first film.
8. The method according to any one of claims 5 to 7, characterized in that, The method further includes: In response to a trigger operation on a first multimedia element among the at least one multimedia elements, the target page corresponding to the first multimedia element is displayed; Alternatively, in response to a trigger operation on a first multimedia element among the at least one multimedia element, an application corresponding to the first multimedia element is launched, and the application displays the target page corresponding to the first multimedia element.
9. The method according to any one of claims 1 to 8, characterized in that, The display of the edited first social message and the box-shaped element associated with the first social message includes: Display the edited first social message; In response to a triggered action on the first social message, a box element associated with the first social message is displayed.
10. The method according to claim 9, characterized in that, The action of displaying a box element associated with the first social message in response to a triggering operation on the first social message includes at least one of the following: In response to the sending operation of the first social message, display the box element associated with the first social message; In response to a trigger operation on the first social message and the first social message includes a first keyword, a box element associated with the first social message is displayed, wherein the first keyword is used to trigger the display of the box element.
11. The method according to any one of claims 1 to 10, characterized in that, The method further includes: In response to the cancellation operation for the frame element, the display of the frame element is cancelled and the second social message is restored to the first social message.
12. The method according to any one of claims 1 to 11, characterized in that, The box-shaped element associated with the first social message is the first message bubble; The display of the edited first social message and the box-shaped element associated with the first social message includes: Display the edited first social message and display a first message bubble for presenting the first social message; The step of abbreviating or expanding the first social message into a second social message in response to a scaling operation on the frame element includes: In response to a scaling operation on the first message bubble, the first social message in the first message bubble is abbreviated or expanded to the second social message, and the second social message is presented through the first message bubble.
13. The method according to claim 12, characterized in that, The first message bubble includes a first border, the first border including at least one control point, the at least one control point being used to scale the first message bubble.
14. The method according to claim 12 or 13, characterized in that, The step of sending the second social message in response to an operation to send the second social message includes: In response to a triggering operation on the first message bubble displaying the second social message, the second social message is sent.
15. An information processing method, characterized in that, The method is executed by a first client, and the method includes: In response to an editing operation, determine the first input content; Display the edited first input content and the box element associated with the first input content; In response to a scaling operation on the box element, the first input content is abbreviated or expanded into a second input content, the length of which is related to the area of the box element.
16. An information processing device, characterized in that, The device includes: The first display module is used to display the edited first social message and the box-shaped elements associated with the first social message; A first processing module is configured to, in response to a scaling operation on the frame element, abbreviate or expand the first social message into a second social message, wherein the length of the second social message is related to the area of the frame element. The sending module is used to send the second social message in response to the sending operation for the second social message.
17. An information processing device, characterized in that, The device includes: The second display module is used to determine the first input content in response to the editing operation; The second display module is also used to display the edited first input content and the box-shaped element associated with the first input content; The second processing module is used to, in response to a scaling operation on the frame element, abbreviate or expand the first input content into a second input content, wherein the length of the second input content is related to the area of the frame element.
18. A computer device, characterized in that, The computer device includes a processor and a memory, the memory storing a computer program, which is loaded and executed by the processor to implement the information processing method as described in any one of claims 1 to 15.
19. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the information processing method as described in any one of claims 1 to 15.
20. A computer program product, characterized in that, The computer program product includes a computer program stored in a computer-readable storage medium; the computer program is read from and executed by a processor of a computer device, causing the computer device to perform the information processing method as described in any one of claims 1 to 15.