Information processing method, device, equipment and medium
By obtaining and displaying the editing results of messages in the instant messaging client, the problem of users viewing edited messages in multiple scenarios is solved, and the user experience is improved.
Patent Information
- Application Number
- CN202210912283.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-29
- Publication Date
- 2024-12-10
- Estimated Expiration
- 2042-07-29
AI Technical Summary
In an instant messaging client, messages sent by users may contain error messages, and it is difficult for prior art to effectively update the editing results of messages in multiple scenarios, especially when non-session message display pages.
Provide an information processing method, obtains the second information corresponding to the first message, and displays the second information at the position corresponding to the first message in the first page, including the edited message and its edited identifier, to ensure that the user can View edited messages on the non-session message display page.
This enables users to browse edited messages in time on other pages, improves user experience, and solves the problem of updating messages in multiple scenarios.
Smart Images

Figure CN115237291B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to an information processing method, device, equipment and medium. Background Art
[0002] At present, in order to improve communication efficiency, users will communicate information through instant messaging clients. In some application scenarios, when users send messages through communication clients, there may be erroneous information in the sent messages due to various reasons. In order to allow users to remedy the situation in time, they can use the recall function to recall the sent messages and re-edit them. Summary of the invention
[0003] In view of this, the embodiments of the present application provide an information processing method, apparatus, device and medium to display second information at a position corresponding to the first message in the first page, so that the user can view the edited message in the first page, thereby improving the user experience.
[0004] To achieve the above objectives, the technical solutions provided by this application are as follows:
[0005] In a first aspect of the present application, an information processing method is provided, the method comprising:
[0006] Acquire second information corresponding to a first message in a first page; wherein the first message is a message that has been sent in a first conversation and is re-edited and sent again, the second information indicates a result of the first message being edited, and the first page is not a conversation message display page of the first conversation;
[0007] The second information is displayed at a position corresponding to the first message in the first page.
[0008] In a second aspect of the present application, an information processing device is provided, the device comprising:
[0009] an acquisition unit, configured to acquire second information corresponding to a first message in a first page; wherein the first message is a message that has been sent in a first conversation and is re-edited and then sent again, the second information indicates a result of the first message being edited, and the first page is not a conversation message display page of the first conversation;
[0010] A display unit is used to display the second information at a position corresponding to the first message in the first page.
[0011] In a third aspect of the present application, an electronic device is provided, the device comprising: a processor and a memory;
[0012] The memory is used to store instructions or computer programs;
[0013] The processor is used to execute the instructions or computer programs in the memory so that the electronic device executes the method described in the first aspect.
[0014] In a fourth aspect of the present application, a computer-readable storage medium is provided, wherein instructions are stored in the computer-readable storage medium. When the instructions are executed on a device, the device executes the method described in the first aspect.
[0015] In a fifth aspect of the present application, a computer program product is provided, wherein the computer program product comprises a computer program / instructions, and when the computer program / instructions are executed by a processor, the method described in the first aspect is implemented.
[0016] It can be seen that the embodiments of the present application have the following beneficial effects:
[0017] In an embodiment of the present application, when a user re-edits a first message sent in a first conversation and re-sends it, the second information corresponding to the first message is obtained, and the second information indicates the result of editing the first message. The second information is displayed at a position corresponding to the first message in a first page including the first message, and the first page is not a session message display page of the first conversation, but other pages including the first message. That is, when the user edits and re-sends the first message in the first conversation, other pages including the first message will be updated in time, so that the user can also browse the edited message on other pages, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0019] Figure 1 A flow chart of an information processing method provided in an embodiment of the present application;
[0020] Figure 2 A schematic diagram of a session message display page provided in an embodiment of the present application;
[0021] Figure 3a A schematic diagram of a reply message details page provided in an embodiment of the present application;
[0022] Figure 3b A schematic diagram of another reply message details page provided in an embodiment of the present application;
[0023] Figure 4a A schematic diagram of a topic details page provided in an embodiment of the present application;
[0024] Figure 4b A schematic diagram of another topic details page provided in an embodiment of the present application;
[0025] Figure 5 A schematic diagram of triggering secondary editing provided in an embodiment of the present application;
[0026] Figure 6a A schematic diagram of a secondary editing input box provided in an embodiment of the present application;
[0027] Figure 6b A schematic diagram of another secondary editing input box provided in an embodiment of the present application;
[0028] Figure 7 A schematic diagram of a second information display provided in an embodiment of the present application;
[0029] Figure 8 A structural diagram of an information processing device provided in an embodiment of the present application;
[0030] Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0031] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0032] Currently, when users send messages through communication clients, there may be erroneous information in the messages due to various reasons. To facilitate users to remedy the situation in a timely manner, the secondary editing function can be used to re-edit and send the message without withdrawing the sent message. However, since a message may be referenced in multiple scenarios, for example, the message is used to create a topic. When the message is re-edited in a conversation, how to reflect it in other referenced scenarios is a technical problem that needs to be solved urgently.
[0033] Based on this, the present application provides an information processing method, when a user needs to browse a non-session message display page, that is, a first page, the second information corresponding to the first message in the first page is obtained. The first message is a message that has been sent in the first session and is re-edited and sent again, and the second information indicates the result of the first message after editing, for example, it may include the message after the first message is edited and an edited mark. When the second information is obtained, the second information is displayed at a position corresponding to the first message in the first page, so that the user can view the edited result of the first message in the first page, thereby improving the user experience.
[0034] It is understandable that before using the technical solutions of each embodiment of the present disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved will be informed to the user in an appropriate manner, and the user's authorization will be obtained.
[0035] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly remind the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can independently choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.
[0036] As an optional but non-limiting implementation, in response to receiving the user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0037] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.
[0038] To facilitate understanding of the technical solution provided by the embodiments of the present application, it will be described below with reference to the accompanying drawings.
[0039] See also Figure 1 , which is a flow chart of an information processing method provided in an embodiment of the present application. The method can be executed by an information processing client, which can be installed in an electronic device. The electronic device can include a mobile phone, a tablet computer, a laptop computer, a desktop computer, a vehicle terminal, a wearable electronic device, an all-in-one machine, a smart home device and other devices with communication functions, and can also be a device simulated by a virtual machine or a simulator. Figure 1 As shown, the method may include the following steps:
[0040] S101: Acquire second information corresponding to a first message in a first page.
[0041] The first message is a message that has been sent in the first conversation and is re-edited and sent again. Specifically, the user can trigger a secondary editing operation for the first message in the conversation interface corresponding to the first conversation, so as to re-edit the first message without withdrawing the first message. The second information indicates the result of the first message after editing, for example, it may include the message after the first message is edited and an edited mark, and the edited mark indicates that the first message has been edited twice. The first conversation can be a single chat conversation or a group conversation. When the first conversation is a group conversation, the first conversation can be a conversation group or a topic group.
[0042] The first page is not the session message display page of the first session, that is, the first page is not the session interface corresponding to the first session. Figure 2 The diagram of the session message display page of the first session is shown. In the session message display page 200, all messages sent or received by the user in the session can be displayed. The first page can be a reply message details page or a topic details page. The reply message details page displays the quoted reply message in the first session and the message that quotes the reply message. The first message is the quoted reply message in the first session, or the message that quotes and replies to other messages. The topic details page is used to display the message of the topic in the first session. The first message is the message in the topic created in the first session, and can be the main post or reply post in the topic.
[0043] The reply message details page and the topic details page can be displayed in the form of a sidebar of the first conversation, or can be displayed in a page independent of the first conversation. Figure 3a A schematic diagram of a reply message details page is shown. In this scenario, the message sent by user 1 is used as a quoted message, and both user 2 and user 3 reply to the message sent by user 1. When the user clicks on any reply message, the reply message details page 300 is displayed in the form of a sidebar, and a forwarding control 301 and a close control 302 can be displayed at the top of the reply message details page 300. Among them, the forwarding control 301 is used to merge and forward the messages in the page, and the close control 302 is used to close the reply message details page 300. The quoted message and the message to which it is replied can be displayed in the display area corresponding to the reply message details page 300. At the same time, a prompt 303 can also be displayed in the display area to prompt the number of reply messages.
[0044] See also Figure 3b , this figure is another display structure diagram of the reply message details page. In this scenario, the reply message details page is displayed as an independent page.
[0045] See also Figure 4a A schematic diagram of a topic details page is shown. In this scenario, a topic is created for a message sent by user 1. A topic details page 400 is displayed in a sidebar on the session interface of the first session. The topic details page 400 includes a forwarding control 401 and a close control 402. In the topic details page 400, the message sent by user 1 is the main post, and the message replied by user 2 is the reply post.
[0046] See also Figure 4b Another schematic diagram of a topic details page is shown. In this scenario, the topic details page is displayed as an independent page.
[0047] In one embodiment of the present disclosure, the second editing of the first message can be implemented in the following manner to obtain the second message corresponding to the first message, specifically including: in response to a trigger operation on the first message, controlling the first message to be in an editable state, where the editable state means allowing the first message to be re-edited; in response to an edit completion operation triggered on the first message, obtaining the second message corresponding to the first message. Figure 5 As shown, when user 1 triggers the message sent by himself, a message menu 501 can be displayed on the right side of the message, and the message menu 501 includes an edit message control 502. When the user clicks the edit message control 502, the message can be controlled to be in an editable state.
[0048] The presentation form of the first message in an editable state may include: in response to a message editing operation triggered for the first message in the conversation interface corresponding to the first conversation, a secondary editing input box may be displayed at the position of the first message in the conversation interface, and the first message may be displayed in the secondary editing input box, and the user may subsequently re-edit the first message in the secondary editing input box. Alternatively, in response to a message editing operation triggered for the first message in the conversation interface corresponding to the first conversation, a secondary editing input box may be displayed in the input panel corresponding to the conversation interface, and the first message may be displayed in the secondary editing input box. When the first message is displayed in the secondary editing input box, the cursor may be set to automatically be positioned at the end of the first message by default.
[0049] See also Figure 6a , is a schematic diagram of a secondary editing input box. In this scenario, the secondary editing input box 600 can be displayed at the location of the sent message, and the cursor is automatically positioned at the end of the message. The secondary editing input box 600 can include a cancel control 601 and a save control 602. The cancel control 602 is used to cancel the secondary editing of the message, and the save control 602 is used to display the edited message back on the screen, that is, after the user clicks the save control 602, the edited message can be displayed at the original message location.
[0050] See also Figure 6b The following is another schematic diagram of a secondary editing input box. Figure 5 After the edit message control 502 shown, the original message is displayed as highlighted text, and the original message is displayed in the secondary edit input box 603, that is, the input box of the panel, and the cursor is automatically positioned at the end of the original message in the input box. The secondary edit input box 603 includes a cancel control 604 and a save control 605.
[0051] It should be noted that the above figures all show that the secondary editing of the first message is triggered on the conversation message display page of the first conversation, but in actual applications, the user can also trigger the secondary editing of the first message on any page including the first message, for example, triggering the secondary editing of the first message on the reply message details page, or triggering the secondary editing of the first message on the topic details page.
[0052] In one embodiment of the present disclosure, in order to avoid frequently obtaining the second message corresponding to the first message and affecting the processing performance of the client, this embodiment can pre-set the trigger condition for obtaining the second message, and when the trigger condition is met, the second message corresponding to the first message is obtained.
[0053] In one case, in response to a trigger to open the first page, the second message corresponding to the first message is obtained from the server according to the message identifier corresponding to the first message. That is, when the user enters the first page from other pages, the client can actively obtain the second message corresponding to the first message from the server according to the message identifier corresponding to the first message. The message identifier of the first message is the same as the message identifier of the message obtained after editing the first message, so that the client can directly use the message identifier corresponding to the first message to obtain the result of the first message after editing from the server.
[0054] Another situation is that if the first page is open, the second message corresponding to the first message sent by the server is received. That is, when the user keeps the first page open, the server can broadcast the second information corresponding to the first message, and the client receives the second information broadcast by the server.
[0055] S102: Display second information at a position corresponding to the first message in the first page.
[0056] After the second information corresponding to the first message is obtained, the second message is displayed at the position corresponding to the first message in the first page, that is, the edited result is displayed at the position where the original message is located.
[0057] Wherein, the second message includes an edited message and an edited mark for the first message, and the marked message and the edited mark are displayed at the position corresponding to the first message.
[0058] For example, for Figure 3a The message sent by user 2 triggers the second editing, and the edited message is "OK, received", such as Figure 7 The edited message and the word "edited" will be displayed on the conversation message display page of the first conversation and the reply message details page at the same time.
[0059] In one embodiment of the present disclosure, in order to avoid affecting the display style of the edited message when displaying the edited mark, the present embodiment provides a method for displaying the edited mark, specifically, determining the display style of the edited mark according to the format of the last line of content corresponding to the edited message. That is, when displaying the edited mark, it is necessary to consider whether the last line of content corresponding to the edited message has a special format, such as the last line of content being a list, so as to display the edited mark without affecting the message display.
[0060] Specifically, if the last line of content corresponding to the edited message has the target format, the display style is determined to display an edited mark in a newly created input line. That is, when the last line of content corresponding to the edited message has a special format, a new input line is created after the last line to display the edited mark in the new input line.
[0061] If the last line of the edited message does not have the target format, the display style is determined to display an edited mark at the end of the last line. If the last line of the edited message does not have the special format, the edited mark is displayed at the end of the last line.
[0062] It can be seen that when the user re-edits the first message sent in the first conversation and re-sends it, the second information corresponding to the first message is obtained, and the second information indicates the result of the first message being edited. The second information is displayed at a position corresponding to the first message in the first page including the first message, and the first page is not the session message display page of the first conversation, but other pages including the first message. That is, when the user edits and re-sends the first message in the first conversation, other pages including the first message will be updated in time, so that the user can also browse the edited message on other pages, thereby improving the user experience.
[0063] In one embodiment of the present disclosure, in order to enable users to reply to other messages in a timely manner when secondary editing of the first message is triggered, a draft function is supported. Specifically, if a reply to a second message is triggered when the first message is in an editing state, the edited first content and the first identifier of the first message are stored, and the first identifier indicates that the first content is a secondary edited draft. Among them, the second message can be a message in the first conversation or a message in other conversations, which is not limited in this embodiment. That is, after temporarily exiting the editing of the first message, the edited first content and the first identifier will be saved so as to be distinguished from the reply draft by the first identifier. Since only one message in the same conversation is supported to be in an editing state, for the first conversation, it is possible to know that the stored first content is the content for the first message without storing the message identifier of the first message.
[0064] Furthermore, if the reply to the second message is triggered to exit, the second content and the second identifier of the reply to the second message are stored, and the second identifier indicates that the second content is a draft reply. The exit from the reply to the second message may be switching from the session where the second message is located to another session, or switching from the reply to the second message to the reply to the third message in the same session. Since the same session can support replies to multiple messages, when storing the second content of the reply to the second message, the message identifier corresponding to the second message needs to be stored so as to find the draft reply stored for the second message according to the message identifier.
[0065] In one embodiment of the present disclosure, in response to re-entering the editing state corresponding to the first message, the first content is obtained from the storage space and displayed in the secondary editing input box. That is, when the secondary editing mode is restored, the stored secondary editing draft is read from the storage space and displayed in the secondary editing input box, so that the user can continue editing, thereby improving the user experience.
[0066] Based on the above method embodiments, the embodiments of the present application provide an information processing device and equipment, which will be described below in conjunction with the accompanying drawings.
[0067] See also Figure 8 , which is a schematic diagram of the structure of an information processing device provided in an embodiment of the present application, such as Figure 8 As shown, the device 800 may include: an acquisition unit 801 and a display unit 802 .
[0068] The acquisition unit 801 is configured to acquire second information corresponding to a first message in a first page; wherein the first message is a message that has been sent in a first conversation and is re-edited and then sent again, the second information indicates a result of the first message being edited, and the first page is not a conversation message display page of the first conversation;
[0069] The display unit 802 is configured to display the second information at a position corresponding to the first message in the first page.
[0070] In one embodiment of the present disclosure, the acquisition unit 801 is specifically used to respond to a trigger to open the first page, and to obtain second information corresponding to the first message from the server according to the message identifier corresponding to the first message; or, if the first page is in an open state, to receive the second information corresponding to the first message sent by the server.
[0071] In one embodiment of the present disclosure, the first page includes one or more of the following:
[0072] A reply message details page; wherein the first message is a message that is quoted in reply in the first conversation, or a message that quotes and replies to other messages; the reply message details page is used to display the quoted reply message in the first conversation and the message that quotes and replies to it.
[0073] Topic details page; wherein, the first message is a message in the topic created in the first conversation; the topic details page is used to display the message of the topic in the first conversation.
[0074] In one embodiment of the present disclosure, the first conversation is a conversation group or a topic group.
[0075] In one embodiment of the present disclosure, the second information includes an edited message.
[0076] In one embodiment of the present disclosure, the second information also includes an edited mark, and the display unit 802 is specifically used to determine the display style of the edited mark according to the format of the last line of content corresponding to the edited message; and control the display of the edited mark at the position corresponding to the first message in the first page according to the display style.
[0077] In one embodiment of the present disclosure, the display unit 802 is specifically used to determine the display style to display the edited mark in a newly created input line if the last line of content corresponding to the edited message exists in the target format; if the last line of content corresponding to the edited message does not exist in the target format, determine the display style to display the edited mark at the end of the last line of content.
[0078] In one embodiment of the present disclosure, the acquisition unit 801 is specifically used to control the original first message to be in an editable state in response to a trigger operation on the first message, and the editable state means allowing the first message to be re-edited; in response to an editing completion operation triggered on the first message, obtain the second information corresponding to the first message.
[0079] In one embodiment of the present disclosure, the acquisition unit 801 is specifically used to display a secondary editing input box at the position of the first message in response to a message editing operation triggered for the first message, and display the first message in the secondary editing input box; or, in response to a message editing operation triggered for the first message, display a secondary editing input box in the input panel, and display the first message in the secondary editing input box.
[0080] In one embodiment of the present disclosure, the method further includes: a storage unit;
[0081] The storage unit is used to trigger a reply to the second message when the first message is in an editing state, and store the edited first content and a first identifier of the first message, wherein the first identifier indicates that the first content is a secondary editing draft.
[0082] In one embodiment of the present disclosure, the storage unit is also used to store the second content and the second identifier replied to the second message if the exit of replying to the second message is triggered when replying to the second message, and the second identifier indicates that the second content is a draft reply.
[0083] In one embodiment of the present disclosure, the acquisition unit 801 is further configured to acquire the first content from a storage space in response to re-entering an editing state corresponding to the first message, and display the first content in a secondary editing input box.
[0084] It should be noted that the specific implementation of each unit in this embodiment can refer to the relevant description in the above method embodiment. The division of units in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. The functional units in the embodiment of the present application can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. For example, in the above embodiment, the processing unit and the sending unit can be the same unit or different units. The above integrated units can be implemented in the form of hardware or in the form of software functional units.
[0085] See also Fig. 9, which shows a schematic diagram of the structure of an electronic device 900 suitable for implementing the embodiment of the present disclosure. The terminal device in the embodiment of the present disclosure may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle terminals (such as vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig. 9 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0086] like Fig. 9 As shown, the electronic device 900 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 901, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 902 or a program loaded from a storage device 908 into a random access memory (RAM) 903. In the RAM 903, various programs and data required for the operation of the electronic device 900 are also stored. The processing device 901, the ROM 902, and the RAM 903 are connected to each other via a bus 904. An input / output (I / O) interface 905 is also connected to the bus 904.
[0087] Typically, the following devices may be connected to the I / O interface 905: an input device 906 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 907 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 908 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 909. The communication device 909 may allow the electronic device 900 to communicate with other devices wirelessly or by wire to exchange data. Although Fig. 9 The electronic device 900 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.
[0088] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 909, or installed from a storage device 908, or installed from a ROM 902. When the computer program is executed by the processing device 901, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.
[0089] The electronic device provided by the embodiment of the present disclosure and the method provided by the above embodiment belong to the same inventive concept, and the technical details not fully described in this embodiment can be referred to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.
[0090] The embodiments of the present disclosure provide a computer storage medium on which a computer program is stored. When the program is executed by a processor, the method provided by the above embodiments is implemented.
[0091] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0092] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (Hyper Text Transfer Protocol), and may be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0093] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0094] The computer-readable medium carries one or more programs, and when the one or more programs are executed by the electronic device, the electronic device can execute the method.
[0095] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0096] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0097] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware, wherein the name of a unit / module does not, in some cases, constitute a limitation on the unit itself.
[0098] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0099] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0100] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other. For the system or device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.
[0101] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0102] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0103] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0104] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. An information processing method, characterized in that: The method comprises: Acquire second information corresponding to a first message in a first page; wherein the first message is a message that has been sent in a first conversation and is re-edited and sent again, the second information indicates a result of the first message being edited, and the first page is not a conversation interface of the first conversation; Displaying the second information at a position corresponding to the first message in the first page; The acquiring of the second information corresponding to the first message in the first page includes one or more of the following: In response to triggering to open the first page, obtaining second information corresponding to the first message from the server according to the message identifier corresponding to the first message; If the first page is in an open state, receiving second information corresponding to the first message sent by the server; The second information further includes an edited mark and an edited message, and the displaying of the second information at a position corresponding to the first message in the first page includes: Determining a display style of the edited mark according to the format of the last line of content corresponding to the edited message; The edited mark is displayed at a position corresponding to the first message in the first page according to the display style control.
2. The method according to claim 1, characterized in that: The first page includes one or more of the following: A reply message details page; wherein the first message is a message that is quoted in reply in the first conversation, or a message that quotes and replies to other messages; the reply message details page is used to display the quoted reply message in the first conversation and the message that quotes and replies to it; Topic details page; wherein, the first message is a message in the topic created in the first conversation; the topic details page is used to display the message of the topic in the first conversation.
3. The method according to claim 2, characterized in that The first conversation is a conversation group or a topic group.
4. The method according to claim 1, characterized in that: The step of determining the display style of the edited mark according to the format of the last line of content corresponding to the edited message includes: If the last line of content corresponding to the edited message exists in the target format, determining the display style to display the edited mark in a newly created input line; If the last line of content corresponding to the edited message does not have the target format, the display style is determined to be displaying the edited mark at the end of the last line of content.
5. The method according to claim 1, characterized in that Acquiring second information corresponding to the first message in the first page includes: In response to a trigger operation on the first message, controlling the first message to be in an editable state, wherein the editable state means allowing the first message to be re-edited; In response to an editing completion operation triggered on the first message, second information corresponding to the first message is acquired.
6. The method according to claim 5, characterized in that In response to the triggering operation on the first message, controlling the first message to be in an editable state includes: In response to a message editing operation triggered for the first message, displaying a secondary editing input box at the location of the first message, and displaying the first message in the secondary editing input box; Alternatively, in response to a message editing operation triggered for the first message, a secondary editing input box is displayed on the input panel, and the first message is displayed in the secondary editing input box.
7. The method according to claim 5 or 6, characterized in that: The method further comprises: If a reply to a second message is triggered when the first message is in an editing state, the edited first content and a first identifier of the first message are stored, and the first identifier indicates that the first content is a second-edited draft.
8. The method according to claim 7, characterized in that The method further comprises: If exiting the reply to the second message is triggered when replying to the second message, the second content and the second identifier replied to the second message are stored, and the second identifier indicates that the second content is a draft reply.
9. The method according to claim 8, characterized in that The method further comprises: In response to re-entering the editing state corresponding to the first message, the first content is obtained from the storage space, and the first content is displayed in the secondary editing input box.
10. An information processing device, characterized in that: The device comprises: an acquisition unit, configured to acquire second information corresponding to a first message in a first page; wherein the first message is a message that has been sent in a first conversation and is re-edited and then sent again, the second information indicates a result of the first message being edited, and the first page is not a conversation interface of the first conversation; the second information includes the edited message and an edited flag; A display unit, configured to display the second information at a position corresponding to the first message in the first page; The acquisition unit is specifically configured to, in response to triggering the opening of the first page, acquire second information corresponding to the first message from the server according to the message identifier corresponding to the first message; or, if the first page is in an open state, receive the second information corresponding to the first message sent by the server; The display unit is specifically used to determine the display style of the edited mark according to the format of the last line of content corresponding to the edited message; and control the display of the edited mark at the position corresponding to the first message in the first page according to the display style.
11. An electronic device, characterized in that: The device comprises: a processor and a memory; The memory is used to store instructions or computer programs; The processor is used to execute the instructions or computer programs in the memory so that the electronic device executes the method according to any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a device, the device executes the method according to any one of claims 1 to 9.
