CN112688861B - Method and equipment for sending session information in social application - Google Patents

Method and equipment for sending session information in social application Download PDF

Info

Publication number
CN112688861B
CN112688861B CN202011596193.3A CN202011596193A CN112688861B CN 112688861 B CN112688861 B CN 112688861B CN 202011596193 A CN202011596193 A CN 202011596193A CN 112688861 B CN112688861 B CN 112688861B
Authority
CN
China
Prior art keywords
session information
information
user
modification
session
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011596193.3A
Other languages
Chinese (zh)
Other versions
CN112688861A (en
Inventor
孙洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Zhangmen Science and Technology Co Ltd
Original Assignee
Shanghai Zhangmen Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Zhangmen Science and Technology Co Ltd filed Critical Shanghai Zhangmen Science and Technology Co Ltd
Priority to CN202011596193.3A priority Critical patent/CN112688861B/en
Publication of CN112688861A publication Critical patent/CN112688861A/en
Application granted granted Critical
Publication of CN112688861B publication Critical patent/CN112688861B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The application aims to provide a method and equipment for sending session information in a social application, and the method and equipment comprise the following steps: receiving first session information sent by first user equipment in response to a trigger event in a session interface of the social application, and sending the first session information to second user equipment; after the first session information is successfully sent, detecting whether the first session information has an area to be modified, if so, detecting a reading state of the first session information, and if the reading state includes that the first session information is not checked by a second user, executing modification of the first session information into second session information; and sending the second session information to the second user equipment. The method and the device can automatically correct errors in the session information.

Description

Method and equipment for sending session information in social application
Technical Field
The present application relates to the field of communications, and in particular, to a technique for sending session information in a social application.
Background
With the development of the internet and the popularization of mobile devices, social applications gradually become a main tool for people to perform social activities, users can input characters in a chat page of the social applications to perform social activities, and generally, even if the characters input or sent in the chat page by the users are wrong, the mobile devices can send the characters normally. Unless the user deletes the inputted text or revokes the transmitted text to correct the error, it is troublesome and cumbersome for the user to operate. And users often encounter problems such as: 1. when the characters are input, the user does not know that the characters are wrong, and the characters are sent out and then are found, so that the user at a sender is embarrassed; 2. because of the wrong input of the characters, the receiving party user does not understand the meaning of the sending party user, and the social communication is difficult.
Disclosure of Invention
One object of the present application is to provide a method and device for sending session information in a social application.
According to one aspect of the application, a method for sending session information in a social application is provided, and applied to a network device, the method includes:
receiving first session information sent by first user equipment in response to a trigger event in a session interface of a social application, and sending the first session information to second user equipment;
after the first session information is successfully sent, detecting whether the first session information has an area to be modified, if so, detecting a reading state of the first session information, and if the reading state includes that the first session information is not checked by a second user, executing modification of the first session information into second session information;
and sending the second session information to the second user equipment, wherein the second session information is used for replacing the position of the first session information in the second user equipment, or the second session information is used for being superposed and presented at the position of the first session information in the second user equipment.
According to another aspect of the present application, a method for sending session information in a social application is provided, which is applied to a network device, and includes:
receiving first session information sent by first user equipment in response to a first trigger event in a session interface of a social application, and sending the first session information to second user equipment;
receiving a first modification request sent by the first user equipment in response to a second trigger event in the social application, detecting a reading state of the first session information in response to the first modification request, and returning modification instruction information to the first user equipment if the reading state comprises that the first session information is not viewed by a second user, wherein the modification instruction information comprises permission of modification, and the first modification request comprises identification information of the first session information;
receiving a second modification request sent by the first user equipment in response to the modification instruction information, wherein the second modification request comprises second session information, and the second session information is generated after the first user edits the first session information;
and responding to the second modification request, sending the second session information to the second user equipment, and returning modification feedback information to the first user equipment, wherein the second session information is used for replacing the position of the first session information in the second user equipment, or the second session information is used for being superposed and presented at the position of the first session information in the second user equipment.
According to another aspect of the present application, a method for sending session information in a social application is provided, which is applied to a first user equipment, and includes:
responding to a first trigger event in a session interface of a social application, and sending first session information input by a first user to network equipment corresponding to the social application, wherein the network equipment is used for sending the first session information to second user equipment;
after the first session information is successfully sent, responding to a second trigger event in the social application, and sending a first modification request related to the first session information to the network equipment, wherein the first modification request comprises identification information of the first session information;
receiving modification instruction information returned by the network equipment in response to the first modification request, and if the modification instruction information comprises permission modification, executing modification of the first session information into second session information;
sending a second modification request to the network device, wherein the second modification request includes second session information;
and receiving modification feedback information returned by the network equipment in response to the second modification request, and if the modification feedback information comprises successful modification, presenting the second session information in the session interface.
According to yet another aspect of the present application, there is provided a method of transmitting session information in a social application, the method including:
responding to a first trigger event in a session interface of a social application, and sending first session information input by a first user to network equipment corresponding to the social application by first user equipment;
the network equipment receives the first session information and sends the first session information to second user equipment;
after the first session information is successfully sent, the first user equipment responds to a second trigger event in the social application and sends a first modification request about the first session information to the network equipment, wherein the first modification request comprises identification information of the first session information;
the network equipment receives the first modification request, responds to the first modification request, detects the reading state of the first session information, and returns modification instruction information to the first user equipment if the reading state comprises that the first session information is not viewed by a second user, wherein the modification instruction information comprises permission modification;
the first user equipment receives the network modification instruction information, if the modification instruction information comprises permission modification, the first user equipment modifies the first session information into second session information, and sends a second modification request to the network equipment, wherein the second modification request comprises the second session information;
the network equipment receives the second modification request, responds to the second modification request, sends the second session information to the second user equipment and returns modification feedback information to the first user equipment, wherein the second session information is used for replacing the position of the first session information in the second user equipment or is used for overlaying and presenting the position of the first session information in the second user equipment
And the first user equipment receives modification feedback information returned by the network equipment in response to the second modification request, and if the modification feedback information comprises successful modification, the second session information is presented in the session interface.
According to an aspect of the present application, there is provided a network device for sending session information in a social application, the device including:
the system comprises a one-to-one module, a first user equipment and a second user equipment, wherein the one-to-one module is used for receiving first session information sent by the first user equipment in response to a trigger event in a session interface of the social application and sending the first session information to the second user equipment;
a second module, configured to detect whether the first session information has an area to be modified after the first session information is successfully sent, if so, detect a reading state of the first session information, and if the reading state includes that the first session information is not checked by a second user, modify the first session information into second session information;
and a third module, configured to send the second session information to the second user equipment, where the second session information is used to replace a location of the first session information in the second user equipment, or the second session information is used to be superimposed on a location of the first session information in the second user equipment.
According to another aspect of the present application, there is provided a network device for transmitting session information in a social application, the device including:
the social application server comprises two modules, a first module and a second module, wherein the two modules are used for receiving first session information sent by first user equipment in response to a first trigger event in a session interface of a social application, and sending the first session information to second user equipment;
a second module, configured to receive a first modification request sent by the first user equipment in response to a second trigger event in the social application, detect, in response to the first modification request, a reading status of the first session information, and return modification instruction information to the first user equipment if the reading status includes that the first session information is not viewed by a second user, where the modification instruction information includes permission for modification, and the first modification request includes identification information of the first session information;
a second module, configured to receive a second modification request sent by the first user equipment in response to the modification instruction information, where the second modification request includes second session information, and the second session information is generated after the first user edits the first session information;
and a fourth module, configured to send the second session information to the second user equipment in response to the second modification request, and return modification feedback information to the first user equipment, where the second session information is used to replace a location of the first session information in the second user equipment, or the second session information is used to be superimposed on a location of the first session information in the second user equipment.
According to yet another aspect of the present application, there is provided a first user equipment for transmitting session information in a social application, the first user equipment comprising:
the social application service system comprises a third module, a second module and a third module, wherein the third module is used for responding to a first trigger event in a session interface of a social application and sending first session information input by a first user to network equipment corresponding to the social application, and the network equipment is used for sending the first session information to second user equipment;
a third module, configured to send a first modification request related to the first session information to the network device in response to a second trigger event in the social application after the first session information is successfully sent, where the first modification request includes identification information of the first session information;
a third module, configured to receive modification instruction information returned by the network device in response to the first modification request, and if the modification instruction information includes permission for modification, perform modification of the first session information into second session information;
a thirty-four module, configured to send a second modification request to the network device, where the second modification request includes second session information;
and a thirty-five module, configured to receive modification feedback information returned by the network device in response to the second modification request, and if the modification feedback information includes a successful modification, present the second session information in the session interface.
According to an aspect of the present application, there is provided an apparatus for transmitting session information in a social application, the apparatus including:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to perform the operations of any of the methods described above.
According to another aspect of the application, there is provided a computer readable medium storing instructions that, when executed, cause a system to perform the operations of any of the methods described above.
According to another aspect of the application, a computer program product is provided, comprising a computer program which, when executed by a processor, performs the operations of any of the methods described above.
Compared with the prior art, in the application, after the first user equipment successfully sends the first session information (namely after the second user equipment successfully receives the first session information), the network equipment can modify the successfully sent first session information based on the modification request of the first user, or the network equipment can actively identify the character error in the first session information, modify the first session information, and present the modified first session information (namely, the second session information) to the second user instead of the previously presented first session information.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the detailed description of non-limiting embodiments made with reference to the following drawings:
FIG. 1 illustrates a system topology according to the present application;
FIG. 2 is a flow diagram of a method for sending session information in a social application, applied to a network device, according to another embodiment of the present application;
FIG. 3 illustrates a flow diagram of a method for a system for sending session information in a social application, according to one embodiment of the present application;
FIG. 4 is a flow chart of a method for sending session information in a social application, applied to a network device, according to yet another embodiment of the present application;
FIG. 5 shows a flowchart of a method for sending session information in a social application, applied to a first user equipment, according to yet another embodiment of the present application;
FIG. 6 illustrates a schematic diagram of sending session information in a social application, according to one embodiment of the present application;
FIG. 7 is a device diagram of a network device for sending session information in a social application according to one embodiment of the present application;
FIG. 8 illustrates a device diagram of a network device sending session information in a social application, according to yet another embodiment of the present application;
FIG. 9 illustrates a device diagram of a first user device sending session information in a social application, in accordance with another embodiment of the present application;
FIG. 10 is a device diagram of a system device for sending session information in a social application according to another embodiment of the present application;
FIG. 11 illustrates an exemplary system that can be used to implement the various embodiments described in this disclosure.
The same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
The present application is described in further detail below with reference to the attached figures.
In a typical configuration of the present application, the terminal, the device serving the network, and the trusted party each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
The device referred to in this application includes, but is not limited to, a user device, a network device, or a device formed by integrating a user device and a network device through a network. The user equipment includes, but is not limited to, any mobile electronic product capable of performing human-computer interaction with a user (e.g., human-computer interaction through a touch panel), such as a smart phone, a tablet computer, and the like, and the mobile electronic product may employ any operating system, such as an android operating system, an iOS operating system, and the like. The network device includes an electronic device capable of automatically performing numerical calculation and information processing according to a preset or stored instruction, and hardware thereof includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded device, and the like. The network device includes but is not limited to a computer, a network host, a single network server, a plurality of network server sets or a cloud of a plurality of servers; here, the Cloud is composed of a large number of computers or web servers based on Cloud Computing (Cloud Computing), which is a kind of distributed Computing, one virtual supercomputer consisting of a collection of loosely coupled computers. Including, but not limited to, the internet, a wide area network, a metropolitan area network, a local area network, a VPN network, a wireless Ad Hoc network (Ad Hoc network), etc. Preferably, the device may also be a program running on the user device, the network device, or a device formed by integrating the user device and the network device, the touch terminal, or the network device and the touch terminal through a network.
Of course, those skilled in the art will appreciate that the foregoing is by way of example only, and that other existing or future devices, which may be suitable for use in the present application, are also encompassed within the scope of the present application and are hereby incorporated by reference.
In the description of the present application, "a plurality" means two or more unless specifically defined otherwise.
Fig. 1 illustrates a typical scenario of the present application, where a first user holds a first user device, a second user holds a second user device, a social application or an application with a social function (e.g., a communication function) is installed in both the first user device and the second user device, the first user device, the second user device, and a network device corresponding to the social application establish a communication connection in a wired or wireless manner, based on the communication connection, the first user sends first session information to the second user in a social chat interface of the social application, and after the first session information is successfully sent, the first session information is presented in the first user device. If the first user finds that an error (for example, a wrongly-written word or a homophone) exists in the sent first session information, responding to a triggering operation of the first user in a current social chat interface, the first user equipment sends a modification request to the network equipment to request to modify the first session information, the network equipment detects whether read information about the first session information sent by the second user equipment is received or not in real time, if the read information is not received, the network equipment sends an instruction for granting modification to the first user equipment in response to the modification request, the first user equipment presents the first session information in a dialog box of the social chat interface for the first user to modify based on the instruction, the first user modifies based on the first session information to generate second superimposed session information, and on the basis of determining the second session information, the network equipment receives the modification request sent by the first user equipment again and sends the second session information in the modification request to the second user equipment so that the second session information is used by the second user equipment for the first session information to be superimposed on the first session information, thereby hiding the first session information. And when the second user opens the social chat interface of the social application, the second user equipment presents the second session information to the second user, wherein the first user equipment is used for providing the second session information. The second user device includes, but is not limited to, a computing device (with a touch screen) such as a cell phone, tablet, and laptop.
Fig. 2 shows a method for sending session information in a social application, applied to a network device, according to an embodiment of the present application, where the method includes step S101, step S102, and step S103.
Specifically, in step S101, the network device receives first session information sent by the first user device in response to a trigger event in a session interface of the social application, and sends the first session information to the second user device. For example, a social application is installed in a first user device, the first user device presents a session interface of the social application, a first user inputs first session information in an input box in the session interface, where the first session information includes character information (e.g., text information, symbol information), expression information, and the like, the session interface is the session interface of the first user and a second user, the first user clicks a send button of the second user in the session interface to generate a trigger event, the first user device sends the first session information to a network device, and the network device sends the first session information to the second user device. In some embodiments, the session interface includes a chat interface between the first user and another user (e.g., one or more) and the second user device is any one of the other users (user a, user B, user C \8230;), not specifically, the first session information is viewed as long as any one user in the session interface views the first session information when the subsequent network device detects the reading state of the first session information.
In step S102, after the first session information is successfully sent, the network device detects whether the first session information has an area to be modified, if so, detects a reading state of the first session information, and if the reading state includes that the first session information is not checked by a second user, modifies the first session information into second session information. For example, the second user equipment has received the first session information, after which, the network device actively identifies whether there is an error in the first session information, for example, the first session message may contain a formal word error (e.g., the first user originally intended to send "your son is a few years old this year", but last sent is "your word is a few years old this year", e.g., the first user originally intended to send "i am sick, cough for a few days", but finally sent to the second user is "i am sick, cough for a few days"), or a semantic error may result in an entire text table being ill-defined (e.g., the first user originally intended to send "i want to detect if this application is really textbook-like", but last sent is "i want to detect if this application is really correct), harmonic sound words (e.g., fitting eyes-fitting glasses), sound confusion words (e.g., wandering girl-cowboy weaving), reverse order of words (e.g., diewood-allen), complementary words (e.g., love is natural-if there is natural), grammatical errors (e.g., hard-imagine girl), etc., the web device may use text-editing algorithms (e.g., the text-wrong words may modify the text based on a distance-correction model, LM-based on the first session model, the LM-based on the information, the LM model, etc., for example, the first session information may not be erroneous for a full segment of text, and may be a partial error (e.g., at the beginning, middle, or end of a full segment). If the first session information has an error, the network device acquires the reading state of the first session information in real time, and if the current reading state includes that the first session information is not viewed by the second user, the network device determines that the first session information can be modified under the condition that the second user does not sense, and modifies the first session information into the second session information based on a text error correction algorithm (for example, the first session information can be participled first and then fuzzy matching is adopted). In some embodiments, in step S102, after the first session information is successfully sent, the network device detects whether the first session information has a to-be-modified area, if so, detects a reading state of the first session information, and if the reading state includes that the first session information is not checked by a second user, obtains one or more pieces of to-be-modified information in the to-be-modified area, and performs modification on each piece of to-be-modified information to generate modified information; and generating second session information according to the correction information of each section and the first session information. For example, the network device detects that the area to be modified in the first session information is one or more, for example, the first session information is "we start to rain the AAAA at this point, the AAAAA is estimated to occur after a while, then, we wait for the aaaaaaaa" network device to determine that the first session information includes 3 segments of areas to be modified, which are AAAA, AAAAA, and AAAAAA, respectively, and the network device only needs to modify the three segments without modifying all of the first session information, thereby improving the efficiency of information modification, and certainly combining corresponding context information for the three segments of areas to be modified. For example, the network device modifies the three segments into AAAA ', AAAAA ', and aaaaaaaa ', respectively, and then generates the second session information by combining the first session information and replacing the three segments with the three segments of the area to be modified in the first session information.
In step S103, the network device sends the second session information to the second user device, where the second session information is used to replace a position of the first session information in the second user device, or the second session information is used to be superimposed on a position of the first session information in the second user device. On the basis of the modification of the second session information, the network device can send the second session information to the second user device under the condition that the second user does not perceive the second session information so as to replace the first session information to be presented in a session interface of the second user device. For example, after receiving the second session information, the second user equipment hides the first session information and superimposes the second session information on the first session information, or the second user equipment cancels the first session information and replaces the second session information for presentation. In some embodiments, in order to make the information that is seen by the first user and the second user finally opening the social application consistent and not misunderstood, after the second session information is successfully replaced by the first session information at the second user equipment, the network device sends the second session information to the first user equipment so as to replace the first session information presented in the first user equipment by the second session information, and the network device may notify the first user of the replacement of the information so as to improve user experience.
In some embodiments, in step S102, after the first session information is successfully sent, the network device detects whether an area to be modified exists in the first session information, if yes, detects a reading status of the first session information, and if the reading status includes that the first session information is not viewed by a second user, performs modification of the first session information into second session information, and sends modification inquiry information to the first user device, where the modification inquiry information includes modification of the first session information into the second session information; in step S103, the network device receives feedback information returned by the first user device based on the modification inquiry information, and sends the second session information to the second user device if the feedback information includes an agreement to modify, where the second session information is used to replace the location of the first session information in the second user device, or the second session information is used to be superimposed on the location of the first session information in the second user device. For example, on the basis that the network device determines that the first session information needs to be modified and the current first session information is not viewed, the network device modifies the first session information into the second session information by itself, and first sends the modification result to the first user device to inquire whether the first user device agrees with the modification, if the modification meets the meaning intended by the first user or the first user agrees with the modification, the first user device sends feedback information agreeing with the modification to the network device based on the modification inquiry information, so that the network device subsequently sends the second session information to the second user device based on the feedback information, in some embodiments, if the first user disagrees with the modification, the network device ignores the second session information and stops continuing the modification, in some embodiments, after receiving the modification inquiry information, the first user device may send the feedback information of the first user according to the modification of the network device, for example, the feedback information includes a result of the first user re-modification based on the modification of the network device, the network device may send the first user's feedback information to the second session information as the second session information to replace the second user device.
In some embodiments, in step S103, the network device continues to detect a reading status of the first session information, and if the reading status includes that the first session information has been viewed by a second user, sends the second session information to the second user device, and sends a message update prompt to the second user device, where the second session information is used to replace a location of the first session information in the second user device, or the second session information is used to be superimposed on a location of the first session information in the second user device. For example, after the first session information is successfully sent, the network device detects the reading state of the first session information in time, when the first session information is not checked by the second user, the network device modifies the first session information into the second session information, after the network device successfully modifies the first session information and before the first session information is not sent to the second user device, the network device continues to detect the reading state of the first session information to determine whether the first session information is checked by the second user, and if so, after the network device sends the second session information to the second user device, the network device sends a message update prompt (for example, the first session information "AAAAAA" has been updated to the second session information "AAAAAAA", please check in time) and timely prompts the second user to check the updated first session information. And after the second user opens the current session interface, replacing the position originally presenting the first session information in the second user equipment with the second session information.
In some embodiments, the method further includes step S104 (not shown), in step S104, the network device continues to detect the reading status of the first session information in the process of modifying the first session information into the second session information; in step S103, if the reading status includes that the first session information has been viewed by a second user, the network device sends the second session information to the second user device, and sends a message update prompt to the second user device, where the second session information is used to replace a location of the first session information in the second user device, or the second session information is used to be superimposed on a location of the first session information in the second user device, and the message update prompt includes the second session information. For example, after the first session information is successfully sent, the network device detects a reading state of the first session information in time, when the first session information is not viewed by the second user, the network device modifies the first session information into the second session information, in the process of modifying the first session information into the second session information, if the network device detects that the first session information is viewed by the second user in the process of continuing detection, after the first session information is modified into the second session information, the network device sends the second session information to the second user device, and the network device sends a message update prompt (for example, the first session information "AAAAAA" is updated into the second session information "AAAAAAA", and requests to view in time) and timely prompts the second user to view the updated first session information. And after the second user opens the current session interface, replacing the position originally presenting the first session information in the second user equipment with the second session information.
In some embodiments, the method further includes step S105 (not shown), in step S105, the network device continues to detect a reading status of the first session information during the process of modifying the first session information into the second session information, and if the reading status includes that the first session information has been viewed by the second user, cancels the process of modifying the first session information into the second session information, and sends a modification prompt message to the first user device, where the modification prompt message includes that the modification of the first session information is prohibited. For example, after the first session information is successfully sent, the network device detects the reading state of the first session information in time, when the first session information is not viewed by the second user, the first session information is modified into the second session information, and in the process of modifying the first session information into the second session information, if the network device detects that the first session information is viewed by the second user in the process of continuing detection, the network device cancels the execution of modifying the first session information into the second session information for the user experience consideration of the second user, and still keeps presenting the first session information to the second user.
In some embodiments, the method further includes step S107 (not shown), and in step S107, if the reading status includes that the first session information has been viewed by the second user, the network device ignores the modification request regarding the first session information. For example, even if the network device detects that there is a place where the sent first session information needs to be modified, in the case that the reading state includes that the first session information has been viewed by the second user, the network device does not make any modification to the first session information in order not to disturb the session information for the second user, and rejects the modification request of the other users (e.g., the sending user of the first session information) about the first session information.
In some embodiments, the method further includes step S106 (not shown), in step S106, if the reading status includes that the first session information has been viewed by the second user, the network device executes modifying the first session information into second session information, and sends first modified inquiry information to the first user device, where the first modified inquiry information includes modifying the first session information into the second session information; and receiving feedback information returned by the first user equipment based on the modification inquiry information, if the feedback information comprises the modification agreement, sending the second session information to the second user equipment, and sending a message updating prompt to the second user equipment, wherein the second session information is used for replacing the position of the first session information in the second user equipment, or the second session information is used for being superposed and presented at the position of the first session information in the second user equipment, and the message updating prompt comprises the second session information. For example, where the network device detects that there is a first session information that needs to be modified, even if the reading status includes that the first session information has been viewed by the second user, the network device performs modification of the first session information into the second session information, in order to make the modification of the network device conform to the intention of the transmitting user of the first session information, the network device autonomously modifies the first session information into the second session information and first transmits the modification result to the first user device to inquire whether the first user agrees with the modification, if the modification agrees with the intention that the first user wants to express or the first user agrees with the modification, the first user device transmits feedback information agreeing with the modification to the network device based on the modification inquiry information, so that the network device subsequently transmits the second session information to the second user device based on the feedback information, and after the second session information is received by the second user device, the network device updates the information about the first session information (e.g., when the second user does not open the application) to transmit the social messages to the second user for prompt of timely update. In some embodiments, if the first user does not agree with the aforementioned modification, the network device ignores the second session information, and in some embodiments, after receiving the modification solicitation information, the first user device may send feedback information of the first user according to the modification of the network device, where, for example, the feedback information includes a result of the first user performing the re-modification based on the modification of the network device, and the network device may send the result of the first user performing the re-modification to the second user device based on the feedback information, so as to present the second session information to the second user in place of the first session information.
In some embodiments, the detecting the reading state of the first session information comprises: receiving mark field information about the first session information sent by the second user equipment in real time, and if the mark field information is a first field, determining that the reading state comprises that the first session information is viewed by the second user; otherwise, determining that the reading status includes that the first session information is not viewed by the second user. For example, for all session information received by the second user equipment, the second user equipment marks each session information, for example, each session information is configured with flag field information, and if the flag field information is a first field (for example, 1), it is determined that the reading state includes that the first session information has been viewed by the second user; if the flag field information is a second field (e.g., 0), determining that the reading status includes that the first session information is not viewed by the second user. For another example, the second user device stores the IDs of the unread messages in all the received session messages in a second user table of the network device, and requests the network device to delete the corresponding IDs when the session messages exist, and the network device detects whether the first session messages exist according to the data in the user table, and if so, determines that the first session messages are not checked by the second user.
In some embodiments, in step S101, the network device receives candidate first session information sent by the first user equipment in response to a trigger event in a session interface of the social application, detects whether the candidate first session information has an area to be modified, and if so, modifies the candidate first session information into the first session information; and sending the first session information to a second user equipment. For example, after the network device receives candidate first session information sent by a first user, the network device does not send the candidate first session information to a second user device, if the network device detects the candidate first session information in advance to determine whether an area to be modified exists, and modifies the candidate first session information into the first session information when an error is detected, and sends the first session information to the second user device, that is, the information sent by the first user is detected and modified in advance.
Referring to the system shown in fig. 1, fig. 3 shows a system method for sending session information in a social application according to an embodiment of the present application, the method comprising:
responding to a first trigger event in a session interface of a social application, and sending first session information input by a first user to network equipment corresponding to the social application by first user equipment;
the network equipment receives the first session information and sends the first session information to second user equipment;
after the first session information is successfully sent, the first user equipment responds to a second trigger event in the social application and sends a first modification request about the first session information to the network equipment, wherein the first modification request comprises identification information of the first session information;
the network equipment receives the first modification request, responds to the first modification request, detects the reading state of the first session information, and returns modification instruction information to the first user equipment if the reading state comprises that the first session information is not viewed by a second user, wherein the modification instruction information comprises permission modification;
the first user equipment receives the network modification instruction information, if the modification instruction information comprises permission modification, the first user equipment modifies the first session information into second session information, and sends a second modification request to the network equipment, wherein the second modification request comprises the second session information;
the network device receives the second modification request, sends the second session information to the second user device in response to the second modification request, and returns modification feedback information to the first user device, wherein the second session information is used for replacing the position of the first session information in the second user device, or the second session information is used for being superposed and presented at the position of the first session information in the second user device;
and the first user equipment receives modification feedback information returned by the network equipment in response to the second modification request, and if the modification feedback information comprises successful modification, the second session information is presented in the session interface.
Fig. 4 shows a method for sending session information in a social application, applied to a network device, according to an embodiment of the present application, where the method includes step S201, step S202, step S203, and step S204.
Specifically, in step S201, the network device receives first session information sent by the first user device in response to a first trigger event in a session interface of the social application, and sends the first session information to the second user device. For example, a social application is installed in first user equipment, the first user equipment presents a session interface of the social application, a first user inputs first session information in an input box in the session interface, the first session information includes character information (e.g., text information, symbol information), expression information, and the like, the session interface is a session interface of the first user and a session interface of a second user, the first user clicks a send button of the second user in the session interface to generate a first trigger event, the first user equipment sends the first session information to network equipment, and the network equipment sends the first session information to the second user equipment. In some embodiments, the session interface includes a chat interface between the first user and another user (e.g., one or more) and the second user device is any one of the other users (user a, user B, user C \8230;), not specifically, the first session information is viewed as long as any one user in the session interface views the first session information when the subsequent network device detects the reading state of the first session information.
In step S202, the network device receives a first modification request sent by the first user device in response to a second trigger event in the social application, detects a reading status of the first session information in response to the first modification request, and returns modification instruction information to the first user device if the reading status includes that the first session information is not viewed by a second user, where the modification instruction information includes permission for modification, and the first modification request includes identification information of the first session information. For example, a button exists in a session interface of a first user device, the button has a function for requesting a first user to modify sent session information, in response to a triggering operation of the button by the first user, the first user device generates a second triggering event, and sends a first modification request to a network device based on the second triggering event, wherein the first modification request is used for requesting to acquire a right to modify the first session information, the network device responds to the first modification request, detects whether the first session information is viewed by a second user, if the first session information is not viewed, the network device determines that the first session information can be replaced subsequently without perception of the second user, and sends content that the first user wants to modify to the second user device, and the network device agrees that the first user acquires a modification right about the first session information, and returns modification instruction information allowing modification to the first user device. For another example, in response to a triggering operation (e.g., a revoke operation) of a first user on first session information in the session interface, the first user device generates a second triggering event and sends a first modification request to the network device based on the event, the network device returns an instruction to allow modification to the first user if the first session information is not viewed by the second user based on the first modification request, and performs a revoke operation (e.g., hides the first session information) on the first session information in the second user device to send content that the first user wants to modify to the second user device subsequently without the second user's perception.
In step S203, the network device receives a second modification request sent by the first user device in response to the modification instruction information, where the second modification request includes second session information, and the second session information is generated after the first user edits the first session information. For example, after the first user equipment receives the modification instruction information allowing modification, the first user equipment directly presents the first session information in a chat input box of a session interface of the first user equipment, the first user does not need to re-input the whole segment, the first user equipment directly modifies the first session information on the basis of the first session information, and after the first user finishes modifying the first session information, the first user equipment sends a second modification request to the network equipment in response to a re-triggering operation of the first user (for example, clicking a button after the modification is finished to send the modified first session information, that is, the second session information), and the second modification request is used for replacing the sent first session information with the second session information.
In step S204, the network device sends the second session information to the second user equipment in response to the second modification request, and returns modification feedback information to the first user equipment, where the second session information is used to replace a position of the first session information in the second user equipment, or the second session information is used to be superimposed on a position of the first session information in the second user equipment. For example, the network device sends the second session information to the second user device under the condition that the second user is unaware (that is, under the condition that the page where the first session information is located is not viewed), so that the second user device hides the first session information after receiving the second session information, and superimposes the second session information on the first session information, or the second user device withdraws the first session information, and replaces the second session information to present the second session information. In some embodiments, in order to make the information that the first user and the second user finally open the social application to see consistent and not cause misunderstanding, the first user device prepares to replace the first session information displayed in the first user device with the second session information when sending the second modification request. And after the network equipment successfully sends the second session information, returning the successfully modified information to the first user equipment, so that the second session information is also presented in the first user equipment.
For example, the first user enters the conversation information "we start raining at this point, and estimate that we stop after a while, and then we wait for the raining to come out of a party bar" in the chat input box of the conversation interface and send the information to the users in the conversation interface. The first user perceives that sent information is wrong (for example, the first user wants to send the information by snow), then requests to modify the network device, the network device responds to the request and detects that no user exists in a group corresponding to the conversation interface to view the conversation information, the modification request of the first user is agreed, the first user device presents ' the beginning of the rain on the side, the first user stops after estimating, then the party is sent out after waiting for the rain ' for the first user to modify, the first user modifies ' the beginning of the snow on the side, the user stops after estimating, the party is sent out after waiting for the snow to stop, the modified information is sent to the network device, the network device replaces ' the beginning of the rain on the side, the first user stops after estimating, the party is sent out after waiting for the rain ' to present to the user in the conversation interface, and the network device sends the modified information and presents the first modified information in the conversation interface before successfully sending the first user.
In some embodiments, the method further includes step S205 (not shown) before step S203, in step S205, the network device continues to detect a reading status of the first session information; in step S203, if the reading status includes that the first session information has been viewed by the second user, the network device receives a second modification request sent by the first user device in response to the modification instruction information, where the second modification request includes second session information, and the second session information is generated after the first user edits the first session information; in step S204, the network device sends the second session information to the second user equipment in response to the second modification request, sends a message update prompt to the second user equipment, and returns modification feedback information to the first user equipment, where the second session information is used to replace the location of the first session information in the second user equipment, or the second session information is used to be superimposed on the location of the first session information in the second user equipment, and the message update prompt includes the second session information. For example, when the network device allows the first user to modify the first session information, during the modification of the first session information by the first user, the network device continuously detects the reading status of the first session information, and if it is detected that the second user has viewed the first session information during the modification of the first session information, the network device may still receive the second modification request sent by the first user device, and send the second session information to the second user device based on the second modification request, only if the session information is changed, the network device immediately reminds the second user that the first session information has been modified (e.g., the first session information "AAAAAA" has been updated to the second session information "aaaaaaaaa", please view in time) on the premise that the second user has viewed the first session information.
In some embodiments, the method further includes step S206 (not shown) before step S203, in step S206, the network device continues to detect a reading status of the first session information; in step S203, if the reading status includes that the first session information has been viewed by the second user, the network device ignores a second modification request sent by the first user device in response to the modification instruction information, where the second modification request includes second session information, and the second session information is generated after the first user edits the first session information; in step S204, the network device returns modification feedback information to the first user equipment, where the modification feedback information includes a modification failure. For example, in the process that the network device allows the first user to modify the first session information, the network device continuously detects the reading state of the first session information during the process that the first user modifies the first session information, if it is detected that the second user has viewed the first session information during the process that the first session information is modified, in order to prevent confusion of information acquired by the second user, the network device determines not to modify the first session information, wherein the network device ignores a second modification request sent by the first user device for modifying the first session information, and returns modification feedback information which fails to modify or prohibits modification to the first user device so as to prompt the first user that the first session information still remains and cannot be modified.
In some embodiments, the detecting the reading state of the first session information comprises: receiving mark field information about the first session information sent by the second user equipment in real time, and if the mark field information is a first field, determining that the reading state includes that the first session information is viewed by the second user; otherwise, determining that the reading status includes that the first session information is not viewed by the second user. For example, for all session information received by the second user equipment, the second user equipment marks each session information, for example, each session information is configured with flag field information, and if the flag field information is a first field (for example, 1), it is determined that the reading state includes that the first session information has been viewed by the second user; if the flag field information is a second field (e.g., 0), determining that the reading status includes that the first session information is not viewed by the second user. For another example, the second user device stores the IDs of the unread messages in all the received session messages in a second user table of the network device, and requests the network device to delete the corresponding IDs when the session messages exist, and the network device detects whether the first session messages exist according to the data in the user table, and if so, determines that the first session messages are not checked by the second user.
In some embodiments, the method further includes step S207 (not shown), in step S207, if the reading status includes that the first session information has been viewed by the second user, the network device returns modification instruction information to the first user device, where the modification instruction information includes prohibition of modification. For example, after the network device sends the first session information to the second user device, the network device detects that the first session information has been viewed by the second user in response to the first modification request, based on which the network device determines that the first user is prohibited from modifying the first session information in order not to make it overly and cumbersome for the second user to obtain information, and keeps the first session information subsequently presented to the second user.
Fig. 5 shows a method for sending session information in a social application, applied to a first user equipment, according to an embodiment of the present application, where the method includes step S301, step S302, step S303, step S304, and step S305.
Specifically, in step S301, in response to a first trigger event in a session interface of a social application, a first user device sends first session information input by a first user to a network device corresponding to the social application, where the network device is configured to send the first session information to a second user device. For example, a social application is installed in first user equipment, the first user equipment presents a session interface of the social application, a first user inputs first session information in an input box in the session interface, the first session information includes character information (e.g., text information, symbol information), expression information, and the like, the session interface is a session interface between the first user and a second user, the first user clicks a send button of the second user in the session interface to generate a first trigger event, and the first user equipment sends the first session information to the network device.
In step S302, after the first session information is successfully sent, the first user equipment sends a first modification request about the first session information to the network device in response to a second trigger event in the social application, where the first modification request includes identification information of the first session information. For example, there is a button in the session interface of the first user equipment, the button has a function for the first user to request to modify the already sent session information, in response to the triggering operation of the button by the first user, the first user equipment generates a second triggering event, and sends a first modification request to the network equipment based on the second triggering event, wherein the first modification request is used for requesting to acquire the right to modify the first session information, and for example, in response to the triggering operation (for example, withdrawing operation) of the first user on the first session information in the session interface, the first user equipment generates the second triggering event, and sends a first modification request to the network equipment based on the event, so as to request the network equipment to withdraw the first session information sent to the second user equipment, and acquire the right to modify based on the first session information (for example, withdrawing the content of the first session information into the input box of the first user equipment for modification).
In step S303, the first user equipment receives modification instruction information returned by the network device in response to the first modification request, and if the modification instruction information includes permission to modify, modifies the first session information into second session information. For example, the network device responds to the first modification request, detects whether the first session information is already viewed by the second user, if not, the network device determines that the first session information can be replaced subsequently without perception of the second user, and sends the content which the first user wants to modify to the second user device, and the network device agrees that the first user obtains modification authority about the first session information and returns modification instruction information allowing modification to the first user device.
In step S304, the first user equipment sends a second modification request to the network device, where the second modification request includes second session information. For example, after the first user device receives the modification instruction information allowing modification, the first user device directly presents the first session information in a chat input box of the session interface of the first user device, the first user device directly modifies the first session information without inputting the first user device again, and after the first user device completes modification of the first session information, the first user device sends a second modification request to the network device in response to a re-triggering operation of the first user (for example, clicking a button to send the modified first session information, that is, the second session information after completion).
In step S305, the first user equipment receives modification feedback information returned by the network device in response to the second modification request, and if the modification feedback information includes a modification success, the second session information is presented in the session interface. For example, the network device sends the second session information to the second user device under the condition that the second user does not perceive (i.e., under the condition that the page where the first session information is located is not viewed), where the first user modifies successfully, and the network device sends modification feedback information that is modified successfully to the first user device. In some embodiments, in step S305, the first user equipment receives modification feedback information returned by the network device in response to the second modification request, where the modification feedback information includes a modification failure. If the network equipment detects that the reading state comprises that the first session information is viewed by the second user in the process of modifying the first session information by the first user, the network equipment returns modification instruction information for inhibiting modification to the first user equipment, so that the existence of the modified session information cannot disturb the second user.
In some embodiments, the method further includes step S306 (not shown), in step S306, the first user equipment receives modification instruction information returned by the network device in response to the first modification request, and ignores the second modification request if the modification instruction information includes prohibition of modification. For example, if the network device detects that the reading state includes that the first session information has been viewed by the second user, in order not to interfere with the second user, the network device returns modification instruction information for prohibiting modification to the first user device, and does not process a subsequent request sent by the first user device for modifying the first session information.
In some embodiments, in step S301, in response to a first trigger event in a session interface of a social application, a first user equipment detects whether a candidate first session information input by a first user in the first trigger event has a text region to be modified, and if so, presents the text region to be modified, where the text region to be modified includes text to be modified, recommended modified text, and modification identification information; responding to the modification operation of the first user in the character area to be modified, and executing the modification of the candidate first session information into first session information; and sending the first session information to network equipment corresponding to the social application, wherein the network equipment is used for sending the first session information to second user equipment. For example, a first user inputs subsequent first session information in an input box in the session interface, the first user clicks a send button of a second user in the session interface to generate a first trigger event, in response to the first trigger event, the first user device detects in advance whether a candidate first session information to be sent by the first user exists in a text area to be modified, if so, the first user device marks (e.g., highlights) a text in the text area to be modified in the first session information and marks the text as a prompt that the first user needs to modify the text area to be modified (e.g., whether the text needs to be modified), and presents a modified text style recommended by the first user device, the first user may directly agree with the modified text style recommended by the first user device to directly replace the text in the text area to be modified, or the first user directly modifies the text in the text area to be modified according to his own understanding to generate modified content (e.g., the first session information), and then, the first user device sends the first session information to the network device to modify the text area to generate modified content (e.g., the first session information), thereby detecting that the network device needs to modify the network information before detecting the network information.
Fig. 6 is a schematic diagram illustrating sending session information in a social application according to an embodiment of the present application, where a user opens a chat interface, the user edits text content in the chat interface, an intelligent system (e.g., a current user device) determines in real time whether the text content is wrong, if no error occurs, the user continues editing the text content, if an error occurs, the intelligent system marks and promotes an error area, the user determines whether to modify the text content, if so, the user modifies the text content according to an intelligent prompt and sends the modified text content after editing, otherwise, the user continues editing the content. If the intelligent system judges that the text content has errors in real time, the intelligent system modifies the error area and prompts the user after modification, the user judges whether the text content needs to be modified, if so, the user continues to edit the rest content and sends the content after editing, otherwise, the intelligent system changes the text content into the previous content. After the text content is sent to an intelligent system (here, a server), the server judges whether errors occur in the text content, and if the errors do not occur, the text content is sent to a friend; otherwise, the server modifies the error area, the modified content is sent to the user and prompts whether to determine the modified content, if so, the server sends the modified text content to the user, otherwise, the text content is sent to the friend without being modified, and in some embodiments, the server directly sends the modified text content to the friend without sending the modified content to the user and prompting whether to determine the modified content.
After the information is sent to the friend client side, under the condition that the friend checks the information, if the user finds that the sent text information is wrong, the user or an intelligent system (server) judges whether the wrong place needs to be modified, if so, the wrong area is directly modified, the modified content is sent to the friend, and the friend client side directly presents the modified content and a modification prompt; if only the intelligent device finds that the sent text information is wrong, the error area is directly modified, the modified content is sent to the friend, the friend client side directly presents the modified content and the message updating notice, and an error prompt is sent to the user.
After the information is sent to the friend client, under the condition that the friend does not check the information, if the user finds that the sent text information has errors, the user judges whether the error place needs to be modified or not, if so, the user or an intelligent system (server) directly modifies the error area and sends the modified content to the friend, the friend client directly presents the modified content, and if the friend checks the previous information in the modification process, the server prompts the friend to modify the content of the message; if the user finds that the sent text information is wrong, the user judges whether the wrong place needs to be modified or not, if so, the user or an intelligent system (server) directly modifies the wrong area and sends the modified content to the friend, the friend client side directly presents the modified content, and if the friend checks the previous information in the modification process, the server cancels the modification and improves that the user cannot modify the content.
After the information is sent to the friend client, under the condition that the friend does not check the information, the intelligent system checks that the character has an error, directly modifies the error area, prompts the user to modify the message content after modification, and prompts the server to modify the message content of the friend if the friend checks the previous information in the modification process; or if the friend checks the previous information in the modification process, the server prompts the friend to modify the content of the information, cancels the modification and improves that the user cannot modify the content.
Fig. 7 shows a network device for sending session information in a social application according to an embodiment of the present application, where the network device includes a one-module 101, a two-module 102, and a three-module 103.
Specifically, the one-to-one module 101 is configured to receive first session information sent by a first user equipment in response to a trigger event in a session interface of a social application, and send the first session information to a second user equipment. For example, a social application is installed in a first user device, the first user device presents a session interface of the social application, a first user inputs first session information in an input box in the session interface, where the first session information includes character information (e.g., text information, symbol information), expression information, and the like, the session interface is the session interface of the first user and a second user, the first user clicks a send button of the second user in the session interface to generate a trigger event, the first user device sends the first session information to a network device, and the network device sends the first session information to the second user device. In some embodiments, the session interface includes a chat interface between the first user and another user (e.g., one or more) and the second user device is any one of the other users (user a, user B, user C \8230;), not specifically, the first session information is viewed as long as any one user in the session interface views the first session information when the subsequent network device detects the reading state of the first session information.
A second module 102, configured to detect whether the first session information has an area to be modified after the first session information is successfully sent, and if so, detect a reading state of the first session information, and if the reading state includes that the first session information is not checked by a second user, modify the first session information into second session information. For example, the second user equipment has received the first session information, after which, the network device actively identifies whether there is an error in the first session information, for example, the first session message may contain a word-likeness error (e.g., the first user originally sent "your son is old today", but last sent "your word is old today", e.g., the first user originally sent "i ill, coughed for a few days", but finally sent to the second user "i ill, coughed for a few days"), or a semantic error may exist, resulting in an unclear overall word expression (e.g., the first user originally sent "i wanted to detect whether this application really has a teaching function", but last sent "i wanted to detect whether this application really has a correction function"), harmonic words (e.g., eye-glasses), confusing sound words (e.g., woven girl-cowboy), reversed order words (e.g., diewood-allen), completion words (e.g., love-if you have an idea), grammatical error (e.g., hard-imagining a text-editing using a network device (e.g., a distance-correction model may be based on a dictionary model, a distance-correction model of the first language, a LM model, etc., for example, the first session information may not be erroneous for a full segment of text, and may be a partial error (e.g., at the beginning, middle, or end of a full segment). If the first session information has errors, the network device acquires the reading state of the first session information in real time, and if the current reading state includes that the first session information is not viewed by the second user, the network device determines that the first session information can be modified under the condition that the second user does not perceive, and modifies the first session information into the second session information based on a text error correction algorithm (for example, the first session information can be subjected to word segmentation processing first and then a fuzzy matching mode is adopted).
A third module 103, configured to send the second session information to the second user equipment, where the second session information is used to replace a location of the first session information in the second user equipment, or the second session information is used to be superimposed on a location of the first session information in the second user equipment. On the basis of the modification of the second session information, the network device can send the second session information to the second user device under the condition that the second user is unaware of the second session information so as to replace the first session information to be presented in a session interface of the second user device. For example, after receiving the second session information, the second user equipment hides the first session information and superimposes the second session information on the first session information, or the second user equipment cancels the first session information and replaces the second session information for presentation. In some embodiments, in order to make the information that is seen by the first user and the second user finally opening the social application consistent and not misunderstood, after the second session information is successfully replaced by the first session information at the second user equipment, the network device sends the second session information to the first user equipment to replace the first session information presented in the first user equipment by the second session information, and may notify the first user of the replacement of the information to improve user experience.
In some embodiments, a second module 102 for
After the first session information is successfully sent, detecting whether the first session information has an area to be modified, if so, detecting a reading state of the first session information, if the reading state includes that the first session information is not checked by a second user, acquiring one or more pieces of information to be modified in the area to be modified, and modifying each piece of information to be modified to generate modified information;
and generating second session information according to each piece of correction information and the first session information. The related operations are the same as or similar to those of the embodiment shown in FIG. 2, and therefore are not described again, and are included herein by reference.
In some embodiments, a second module 102 for
After the first session information is successfully sent, detecting whether the first session information has an area to be modified, if so, detecting a reading state of the first session information, and if the reading state includes that the first session information is not checked by a second user, executing modification of the first session information into second session information, and sending modification inquiry information to the first user equipment, wherein the modification inquiry information includes modification of the first session information into the second session information;
a three-module 103 for
And receiving feedback information returned by the first user equipment based on the modification inquiry information, and if the feedback information includes the modification agreement, sending the second session information to the second user equipment, wherein the second session information is used for replacing the position of the first session information in the second user equipment, or the second session information is used for being superposed and presented in the position of the first session information in the second user equipment. The related operations are the same as or similar to those of the embodiment shown in FIG. 2, and therefore are not described again, and are included herein by reference.
In some embodiments, a three module 103 for
And continuously detecting the reading state of the first session information, if the reading state includes that the first session information is viewed by a second user, sending the second session information to the second user equipment, and sending a message updating prompt to the second user equipment, wherein the second session information is used for replacing the position of the first session information in the second user equipment, or the second session information is used for being superposed and presented at the position of the first session information in the second user equipment. The related operations are the same as or similar to those of the embodiment shown in FIG. 2, and therefore are not described again, and are included herein by reference.
In some embodiments, the network device further includes a quad-module 104 (not shown), a quad-module 104 for
Continuously detecting the reading state of the first session information in the process of modifying the first session information into the second session information;
a three-module 103 for
And if the reading state comprises that the first session information is viewed by a second user, sending the second session information to the second user equipment, and sending a message updating prompt to the second user equipment, wherein the second session information is used for replacing the position of the first session information in the second user equipment, or the second session information is used for being superposed and presented at the position of the first session information in the second user equipment, and the message updating prompt comprises the second session information. The related operations are the same as or similar to the embodiment shown in fig. 2, and therefore are not repeated herein, and are included herein by reference.
In some embodiments, the network device further comprises a five module 105 (not shown), a five module 105 for
And in the process of modifying the first session information into the second session information, continuously detecting the reading state of the first session information, if the reading state includes that the first session information is viewed by a second user, canceling the modification of the first session information into the second session information, and sending modification prompt information to the first user equipment, wherein the modification prompt information includes prohibition of modifying the first session information. The related operations are the same as or similar to the embodiment shown in fig. 2, and therefore are not repeated herein, and are included herein by reference.
In some embodiments, the network device further comprises a seven module 107 (not shown), a seven module 107 for
If the reading state includes that the first session information is viewed by the second user, ignoring the modification request regarding the first session information. The related operations are the same as or similar to the embodiment shown in fig. 2, and therefore are not repeated herein, and are included herein by reference.
In some embodiments, the network device further includes a sixth module 106 (not shown), the sixth module 106 is configured to modify the first session information into second session information if the reading status includes that the first session information has been viewed by the second user, and send first modified inquiry information to the first user device, where the first modified inquiry information includes modifying the first session information into the second session information;
and receiving feedback information returned by the first user equipment based on the modification inquiry information, if the feedback information includes the modification agreement, sending the second session information to the second user equipment, and sending a message update prompt to the second user equipment, wherein the second session information is used for replacing the position of the first session information in the second user equipment, or the second session information is used for being superposed and presented at the position of the first session information in the second user equipment, and the message update prompt includes the second session information. The related operations are the same as or similar to those of the embodiment shown in FIG. 2, and therefore are not described again, and are included herein by reference.
In some embodiments, the detecting the reading state of the first session information comprises:
receiving mark field information about the first session information sent by the second user equipment in real time, and if the mark field information is a first field, determining that the reading state comprises that the first session information is viewed by the second user; otherwise, determining that the reading status includes that the first session information is not viewed by the second user. The related operations are the same as or similar to those of the embodiment shown in FIG. 2, and therefore are not described again, and are included herein by reference.
In some embodiments, a module 101 for
Receiving candidate first session information sent by first user equipment in response to a trigger event in a session interface of a social application, detecting whether the candidate first session information has an area to be modified, and if so, modifying the candidate first session information into the first session information;
and sending the first session information to a second user equipment. The related operations are the same as or similar to the embodiment shown in fig. 2, and therefore are not repeated herein, and are included herein by reference.
Here, the specific implementation of the above-mentioned one-to-one module 101, the two-to-one module 102, and the one-to-three module 103 is the same as or similar to the embodiment related to steps S101, S102, and S103 in fig. 2, and therefore, the description thereof is omitted, and the detailed description thereof is incorporated herein by reference.
Fig. 8 shows a network device for sending session information in a social application according to an embodiment of the present application, where the network device includes a two-in-one module 201, a two-in-two module 202, a two-in-three module 203, and a two-in-four module 204.
Specifically, the first module 201 is configured to receive first session information sent by a first user equipment in response to a first trigger event in a session interface of a social application, and send the first session information to a second user equipment. For example, a social application is installed in first user equipment, the first user equipment presents a session interface of the social application, a first user inputs first session information in an input box in the session interface, the first session information includes character information (e.g., text information, symbol information), expression information, and the like, the session interface is a session interface of the first user and a session interface of a second user, the first user clicks a send button of the second user in the session interface to generate a first trigger event, the first user equipment sends the first session information to network equipment, and the network equipment sends the first session information to the second user equipment. In some embodiments, the session interface includes a chat interface between the first user and another user (e.g., one or more) and the second user device is any one of the other users (user a, user B, user C \8230;), not specifically, the first session information is viewed as long as any one user in the session interface views the first session information when the subsequent network device detects the reading state of the first session information.
A second module 202, configured to receive a first modification request sent by the first user equipment in response to a second trigger event in the social application, detect, in response to the first modification request, a reading status of the first session information, and return modification instruction information to the first user equipment if the reading status includes that the first session information is not viewed by a second user, where the modification instruction information includes permission for modification, and the first modification request includes identification information of the first session information. For example, a button exists in a session interface of a first user device, the button has a function for requesting a first user to modify sent session information, in response to a triggering operation of the button by the first user, the first user device generates a second triggering event, and sends a first modification request to a network device based on the second triggering event, wherein the first modification request is used for requesting to acquire a right to modify the first session information, the network device responds to the first modification request, detects whether the first session information is viewed by a second user, if the first session information is not viewed, the network device determines that the first session information can be replaced subsequently without perception of the second user, and sends content that the first user wants to modify to the second user device, and the network device agrees that the first user acquires a modification right about the first session information, and returns modification instruction information allowing modification to the first user device. For another example, in response to a triggering operation (e.g., a revocation operation) by the first user on the first session information in the session interface, the first user device generates a second triggering event and sends a first modification request to the network device based on the event, the network device returns an instruction to allow modification to the first user if the first session information is not viewed by the second user based on the first modification request, and performs a revocation operation (e.g., hides the first session information) on the first session information in the second user device to send content that the first user wants to modify to the second user device subsequently without the second user's perception.
A second-third module 203, configured to receive a second modification request sent by the first user equipment in response to the modification instruction information, where the second modification request includes second session information, and the second session information is generated after the first user edits the first session information. For example, after the first user device receives the modification instruction information allowing modification, the first user device directly presents the first session information in a chat input box of the session interface of the first user device, the first user device directly modifies the first session information without inputting the first user device again, and after the first user device completes modification of the first session information, the first user device sends a second modification request to the network device in response to a re-triggering operation of the first user device (for example, clicking a button after completion to send the modified first session information, that is, the second session information), where the second modification request is used to replace the sent first session information with the second session information.
A fourth module 204, configured to send the second session information to the second user equipment in response to the second modification request, and return modification feedback information to the first user equipment, where the second session information is used to replace a position of the first session information in the second user equipment, or the second session information is used to be superimposed on a position of the first session information in the second user equipment. For example, the network device sends the second session information to the second user device in a case where the second user is unaware of the second session information (i.e., in a case where the page where the first session information is located is not viewed), so that the second user device hides the first session information after receiving the second session information, and superimposes the second session information on the first session information, or the second user device cancels the first session information and replaces the second session information for presentation. In some embodiments, in order to make the information seen by the first user and the second user finally opening the social application consistent and not misunderstood, the first session information displayed in the first user equipment is replaced with the second session information when the first user equipment sends the second modification request. And after the network equipment successfully sends the second session information, returning the successfully modified information to the first user equipment.
Here, examples of specific implementation manners of the two-in-one module 201, the two-in-two module 202, the two-in-three module 203, and the two-in-four module 204 are the same as or similar to those of the embodiment related to steps S201, S202, S203, and S204 in fig. 4, and therefore are not repeated herein and are included herein by reference.
In some embodiments, the network device further comprises a twenty-five module 205 (not shown) before the twenty-three module 203, the twenty-five module 205 being configured to continue to detect the reading status of the first session information;
two and three modules 203 for
If the reading state comprises that the first session information is viewed by the second user, receiving a second modification request sent by the first user equipment in response to the modification instruction information, wherein the second modification request comprises second session information, and the second session information is generated after the first user edits the first session information;
two or four modules 204 for
And responding to the second modification request, sending the second session information to the second user equipment, sending a message update prompt to the second user equipment, and returning modification feedback information to the first user equipment, wherein the second session information is used for replacing the position of the first session information in the second user equipment, or the second session information is used for being superposed and presented at the position of the first session information in the second user equipment, and the message update prompt comprises second session information. The related operations are the same as or similar to the embodiment shown in fig. 4, and therefore are not repeated herein, and are included herein by reference.
In some embodiments, the network device further comprises a twenty-six module 206 (not shown) before the twenty-three module 203, the twenty-six module 206 for
Continuously detecting the reading state of the first session information;
two and three modules 203 for
If the reading state includes that the first session information is viewed by the second user, ignoring a second modification request sent by the first user equipment in response to the modification instruction information, wherein the second modification request includes second session information generated after the first user edits the first session information;
a fourth module 204, configured to return modification feedback information to the first user equipment, where the modification feedback information includes a modification failure. The related operations are the same as or similar to those of the embodiment shown in FIG. 4, and therefore are not described again, and are included herein by reference.
In some embodiments, the detecting the reading state of the first session information comprises:
receiving mark field information about the first session information sent by the second user equipment in real time, and if the mark field information is a first field, determining that the reading state includes that the first session information is viewed by the second user; otherwise, determining that the reading status includes that the first session information is not viewed by the second user. The related operations are the same as or similar to the embodiment shown in fig. 4, and therefore are not repeated herein, and are included herein by reference.
In some embodiments, the network device further comprises a twenty-seven module 207 (not shown), the twenty-seven module 207 for
And if the reading state comprises that the first session information is viewed by the second user, returning modification instruction information to the first user equipment, wherein the modification instruction information comprises prohibition of modification. The related operations are the same as or similar to those of the embodiment shown in FIG. 4, and therefore are not described again, and are included herein by reference.
Fig. 9 shows a first user equipment for sending session information in a social application according to an embodiment of the present application, where the first user equipment includes a three-in-one module 301, a three-in-two module 302, a three-in-three module 303, a three-in-four module 304, and a three-in-five module 305.
Specifically, the third module 301 is configured to, in response to a first trigger event in a session interface of a social application, send first session information input by a first user to a network device corresponding to the social application, where the network device is configured to send the first session information to a second user device. For example, a social application is installed in a first user device, the first user device presents a session interface of the social application, a first user inputs first session information in an input box in the session interface, where the first session information includes character information (e.g., text information, symbol information), emotion information, and the like, the session interface is a session interface of the first user and a second user, the first user clicks a send button of the second user in the session interface to generate a first trigger event, and the first user device sends the first session information to the network device.
A third and second module 302, configured to send a first modification request about the first session information to the network device in response to a second trigger event in the social application after the first session information is successfully sent, where the first modification request includes identification information of the first session information. For example, there is a button in the session interface of the first user equipment, the button has a function for the first user to request to modify the already sent session information, in response to the triggering operation of the button by the first user, the first user equipment generates a second triggering event, and sends a first modification request to the network equipment based on the second triggering event, wherein the first modification request is used for requesting to acquire the right to modify the first session information, and for example, in response to the triggering operation (for example, withdrawing operation) of the first user on the first session information in the session interface, the first user equipment generates the second triggering event, and sends a first modification request to the network equipment based on the event, so as to request the network equipment to withdraw the first session information sent to the second user equipment, and acquire the right to modify based on the first session information (for example, withdrawing the content of the first session information into the input box of the first user equipment for modification).
A third module 303, configured to receive modification instruction information returned by the network device in response to the first modification request, and if the modification instruction information includes permission to modify, modify the first session information into second session information. For example, the network device responds to the first modification request, detects whether the first session information is already viewed by the second user, if not, the network device determines that the first session information can be replaced subsequently without perception of the second user, and sends the content which the first user wants to modify to the second user device, and the network device agrees that the first user obtains modification authority about the first session information and returns modification instruction information allowing modification to the first user device.
A thirty-four module 304, configured to send a second modification request to the network device, where the second modification request includes second session information. For example, after the first user equipment receives the modification instruction information allowing modification, the first user equipment directly presents the first session information in a chat input box of a session interface of the first user equipment, the first user does not need to re-input the whole segment, the first user equipment directly modifies the first session information on the basis of the first session information, and after the first user finishes modifying the first session information, the first user equipment sends a second modification request to the network equipment in response to a re-triggering operation of the first user (for example, clicking a button to send the modified first session information, that is, the second session information after the modification is finished).
A thirty-five module 305, configured to receive modification feedback information returned by the network device in response to the second modification request, and if the modification feedback information includes a modification success, present the second session information in the session interface. For example, the network device sends the second session information to the second user device under the condition that the second user does not perceive (i.e., under the condition that the page where the first session information is located is not viewed), where the first user modifies successfully, and the network device sends modification feedback information that is modified successfully to the first user device. In some embodiments, the thirty-five module 305 is configured to receive modification feedback information returned by the network device in response to the second modification request, where the modification feedback information includes a modification failure. If the network equipment detects that the reading state comprises that the first session information is viewed by the second user in the process of modifying the first session information by the first user, the network equipment returns modification instruction information for prohibiting modification to the first user equipment, so that the second user is not disturbed by the existence of the modified session information. The related operations are the same as or similar to those of the embodiment shown in FIG. 5, and therefore are not described again, and are included herein by reference.
In some embodiments, the first user equipment further includes a thirty-six module 306 (not shown), where the thirty-six module 306 is configured to receive modification instruction information returned by the network device in response to the first modification request, and ignore the second modification request if the modification instruction information includes prohibition of modification. The related operations are the same as or similar to those of the embodiment shown in FIG. 5, and therefore are not described again, and are included herein by reference.
In some embodiments, a three-in-one module 301 for
Responding to a first trigger event in a session interface of a social application, detecting whether candidate first session information input by a first user in the first trigger event has a character area to be modified, and if so, presenting the character area to be modified, wherein the character area to be modified comprises characters to be modified, recommended modified characters and modification identification information;
responding to the modification operation of the first user in the text area to be modified, and executing the modification of the candidate first session information into first session information;
and sending the first session information to network equipment corresponding to the social application, wherein the network equipment is used for sending the first session information to second user equipment. The related operations are the same as or similar to those of the embodiment shown in FIG. 5, and therefore are not described again, and are included herein by reference.
Fig. 10 shows a system device for sending session information in a social application according to an embodiment of the present application, the system comprising:
responding to a first trigger event in a session interface of a social application, and sending first session information input by a first user to network equipment corresponding to the social application by first user equipment;
the network equipment receives the first session information and sends the first session information to second user equipment;
after the first session information is successfully sent, the first user equipment responds to a second trigger event in the social application and sends a first modification request about the first session information to the network equipment, wherein the first modification request comprises identification information of the first session information;
the network equipment receives the first modification request, responds to the first modification request, detects the reading state of the first session information, and returns modification instruction information to the first user equipment if the reading state comprises that the first session information is not viewed by a second user, wherein the modification instruction information comprises permission of modification;
the first user equipment receives the network modification instruction information, if the modification instruction information comprises permission modification, the first user equipment modifies the first session information into second session information, and sends a second modification request to the network equipment, wherein the second modification request comprises the second session information;
the network device receives the second modification request, sends the second session information to the second user device in response to the second modification request, and returns modification feedback information to the first user device, wherein the second session information is used for replacing the position of the first session information in the second user device, or the second session information is used for being superposed on the position of the first session information in the second user device;
and the first user equipment receives modification feedback information returned by the network equipment in response to the second modification request, and if the modification feedback information comprises successful modification, the second session information is presented in the session interface.
The present application also provides a computer readable storage medium having stored thereon computer code which, when executed, performs the method of any of the preceding claims.
The present application also provides a computer program product, which when executed by a computer device, performs the method of any of the preceding claims.
The present application further provides a computer device, comprising:
one or more processors;
a memory for storing one or more computer programs;
the one or more computer programs, when executed by the one or more processors, cause the one or more processors to implement the method of any preceding claim.
FIG. 11 illustrates an exemplary system that can be used to implement the various embodiments described in this application;
in some embodiments, as shown in FIG. 11, the system 300 can function as any of the devices in each of the described embodiments. In some embodiments, system 300 may include one or more computer-readable media (e.g., system memory or NVM/storage 320) having instructions and one or more processors (e.g., processor(s) 305) coupled with the one or more computer-readable media and configured to execute the instructions to implement modules to perform the actions described herein.
For one embodiment, system control module 310 may include any suitable interface controllers to provide any suitable interface to at least one of processor(s) 305 and/or any suitable device or component in communication with system control module 310.
The system control module 310 may include a memory controller module 330 to provide an interface to the system memory 315. Memory controller module 330 may be a hardware module, a software module, and/or a firmware module.
System memory 315 may be used to load and store data and/or instructions for system 300, for example. For one embodiment, system memory 315 may include any suitable volatile memory, such as suitable DRAM. In some embodiments, the system memory 315 may include a double data rate type four synchronous dynamic random access memory (DDR 4 SDRAM).
For one embodiment, system control module 310 may include one or more input/output (I/O) controllers to provide an interface to NVM/storage 320 and communication interface(s) 325.
For example, NVM/storage 320 may be used to store data and/or instructions. NVM/storage 320 may include any suitable non-volatile memory (e.g., flash memory) and/or may include any suitable non-volatile storage device(s) (e.g., one or more hard disk drive(s) (HDD (s)), one or more Compact Disc (CD) drive(s), and/or one or more Digital Versatile Disc (DVD) drive (s)).
NVM/storage 320 may include storage resources that are physically part of the device on which system 300 is installed or may be accessed by the device and not necessarily part of the device. For example, NVM/storage 320 may be accessible over a network via communication interface(s) 325.
Communication interface(s) 325 may provide an interface for system 300 to communicate over one or more networks and/or with any other suitable device. System 300 may wirelessly communicate with one or more components of a wireless network according to any of one or more wireless network standards and/or protocols.
For one embodiment, at least one of the processor(s) 305 may be packaged together with logic for one or more controller(s) (e.g., memory controller module 330) of the system control module 310. For one embodiment, at least one of the processor(s) 305 may be packaged together with logic for one or more controllers of the system control module 310 to form a System In Package (SiP). For one embodiment, at least one of the processor(s) 305 may be integrated on the same die with logic for one or more controller(s) of the system control module 310. For one embodiment, at least one of the processor(s) 305 may be integrated on the same die with logic for one or more controller(s) of the system control module 310 to form a system on a chip (SoC).
In various embodiments, system 300 may be, but is not limited to being: a server, a workstation, a desktop computing device, or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet, a netbook, etc.). In various embodiments, system 300 may have more or fewer components and/or different architectures. For example, in some embodiments, system 300 includes one or more cameras, a keyboard, a Liquid Crystal Display (LCD) screen (including a touch screen display), a non-volatile memory port, multiple antennas, a graphics chip, an Application Specific Integrated Circuit (ASIC), and speakers.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, as an Application Specific Integrated Circuit (ASIC), a general purpose computer or any other similar hardware device. In one embodiment, the software programs of the present application may be executed by a processor to implement the steps or functions described above. Likewise, the software programs (including associated data structures) of the present application may be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
In addition, some of the present application may be implemented as a computer program product, such as computer program instructions, which when executed by a computer, may invoke or provide methods and/or techniques in accordance with the present application through the operation of the computer. Those skilled in the art will appreciate that the form in which the computer program instructions reside on a computer-readable medium includes, but is not limited to, source files, executable files, installation package files, and the like, and that the manner in which the computer program instructions are executed by a computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Computer-readable media herein can be any available computer-readable storage media or communication media that can be accessed by a computer.
Communication media includes media by which communication signals, including, for example, computer readable instructions, data structures, program modules, or other data, are transmitted from one system to another. Communication media may include conductive transmission media such as cables and wires (e.g., fiber optics, coaxial, etc.) and wireless (non-conductive transmission) media capable of propagating energy waves such as acoustic, electromagnetic, RF, microwave, and infrared. Computer readable instructions, data structures, program modules, or other data may be embodied in a modulated data signal, for example, in a wireless medium such as a carrier wave or similar mechanism such as is embodied as part of spread spectrum techniques. The term "modulated data signal" means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. The modulation may be analog, digital or hybrid modulation techniques.
By way of example, and not limitation, computer-readable storage media may include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. For example, computer-readable storage media include, but are not limited to, volatile memory such as random access memory (RAM, DRAM, SRAM); and non-volatile memory such as flash memory, various read-only memories (ROM, PROM, EPROM, EEPROM), magnetic and ferromagnetic/ferroelectric memories (MRAM, feRAM); and magnetic and optical storage devices (hard disk, magnetic tape, CD, DVD); or other now known media or later developed that can store computer-readable information/data for use by a computer system.
An embodiment according to the present application comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform a method and/or a solution according to the aforementioned embodiments of the present application.
It will be evident to those skilled in the art that the application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not to denote any particular order.

Claims (21)

1. A method for sending session information in a social application is applied to a network device, wherein the method comprises the following steps:
receiving first session information sent by first user equipment in response to a trigger event in a session interface of the social application, and sending the first session information to second user equipment;
after the first session information is successfully sent, detecting whether the first session information has an area to be modified, if so, detecting a reading state of the first session information, and if the reading state includes that the first session information is not checked by a second user, executing modification of the first session information into second session information;
sending the second session information to the second user equipment, wherein the second session information is used for replacing the position of the first session information in the second user equipment, or the second session information is used for being superposed and presented at the position of the first session information in the second user equipment;
wherein the method further comprises:
if the reading state comprises that the first session information is checked by the second user, modifying the first session information into second session information, and sending first modification inquiry information to the first user equipment, wherein the first modification inquiry information comprises modifying the first session information into the second session information;
and receiving feedback information returned by the first user equipment based on the modification inquiry information, if the feedback information includes modification approval, sending the second session information to the second user equipment, and sending a message update prompt about the first session information to the second user equipment.
2. The method of claim 1, wherein the detecting whether the first session information has an area to be modified after the first session information is successfully sent, if so, detecting a reading status of the first session information, and if the reading status includes that the first session information is not viewed by a second user, performing the modification of the first session information into second session information comprises:
after the first session information is successfully sent, detecting whether the first session information has an area to be modified, if so, detecting a reading state of the first session information, if the reading state includes that the first session information is not checked by a second user, acquiring one or more pieces of information to be modified in the area to be modified, and modifying each piece of information to be modified to generate modified information;
and generating second session information according to the correction information of each section and the first session information.
3. The method of claim 2, wherein the detecting whether the first session information has an area to be modified after the first session information is successfully sent, if so, detecting a reading status of the first session information, and if the reading status includes that the first session information is not viewed by a second user, performing the modification of the first session information into second session information comprises:
after the first session information is successfully sent, detecting whether the first session information has an area to be modified, if so, detecting a reading state of the first session information, and if the reading state includes that the first session information is not checked by a second user, executing modification of the first session information into second session information, and sending modification inquiry information to the first user equipment, wherein the modification inquiry information includes modification of the first session information into the second session information;
the sending the second session information to the second user equipment comprises:
and receiving feedback information returned by the first user equipment based on the modification inquiry information, and if the feedback information includes the modification agreement, sending the second session information to the second user equipment, wherein the second session information is used for replacing the position of the first session information in the second user equipment, or the second session information is used for being superposed and presented in the position of the first session information in the second user equipment.
4. The method according to any one of claims 1 to 3, wherein the sending the second session information to the second user equipment comprises:
and continuously detecting the reading state of the first session information, if the reading state comprises that the first session information is viewed by a second user, sending the second session information to the second user equipment, and sending a message updating prompt to the second user equipment, wherein the second session information is used for replacing the position of the first session information in the second user equipment, or the second session information is used for overlaying and presenting the position of the first session information in the second user equipment.
5. The method of any of claims 1-3, wherein the method further comprises:
continuously detecting the reading state of the first session information in the process of modifying the first session information into the second session information;
the sending the second session information to the second user equipment includes:
and if the reading state comprises that the first session information is viewed by a second user, sending the second session information to the second user equipment, and sending a message updating prompt to the second user equipment, wherein the second session information is used for replacing the position of the first session information in the second user equipment, or the second session information is used for being superposed and presented at the position of the first session information in the second user equipment, and the message updating prompt comprises second session information.
6. The method of claim 1, wherein the method further comprises:
and in the process of modifying the first session information into the second session information, continuously detecting the reading state of the first session information, if the reading state comprises that the first session information is checked by a second user, canceling the process of modifying the first session information into the second session information, and sending modification prompt information to the first user equipment, wherein the modification prompt information comprises prohibition of modifying the first session information.
7. The method of claim 1, wherein the method further comprises:
if the reading status includes that the first session information has been viewed by the second user, ignoring the modification request with respect to the first session information.
8. The method of any one of claims 1 to 3, wherein the detecting the reading status of the first session information comprises:
receiving mark field information about the first session information sent by the second user equipment in real time, and if the mark field information is a first field, determining that the reading state comprises that the first session information is viewed by the second user; otherwise, determining that the reading status includes that the first session information is not viewed by the second user.
9. The method of any one of claims 1 to 3, wherein the receiving first session information sent by a first user device in response to a triggering event in a session interface of a social application and sending the first session information to a second user device comprises:
receiving candidate first session information sent by first user equipment in response to a trigger event in a session interface of a social application, detecting whether the candidate first session information has an area to be modified, and if so, modifying the candidate first session information into the first session information;
and sending the first session information to a second user equipment.
10. A method for sending session information in a social application is applied to a network device, wherein the method comprises the following steps:
receiving first session information sent by first user equipment in response to a first trigger event in a session interface of a social application, and sending the first session information to second user equipment;
receiving a first modification request sent by the first user equipment in response to a second trigger event in the social application, detecting a reading state of the first session information in response to the first modification request, and returning modification instruction information to the first user equipment if the reading state comprises that the first session information is not viewed by a second user, wherein the modification instruction information comprises permission of modification, and the first modification request comprises identification information of the first session information;
continuously detecting the reading state of the first session information;
receiving a second modification request sent by the first user equipment in response to the modification instruction information, wherein the second modification request comprises second session information, and the second session information is generated after the first user edits the first session information;
and sending the second session information to the second user equipment in response to the second modification request, and returning modification feedback information to the first user equipment, and if the reading state includes that the first session information is viewed by the second user, sending a message update prompt about the first session information to the second user equipment, wherein the second session information is used for replacing the position of the first session information in the second user equipment, or the second session information is used for overlaying the position of the first session information in the second user equipment.
11. The method of claim 10, wherein the method further comprises, before receiving a second modification request sent by the first user device in response to the modification instruction information, the second modification request including second session information generated after the first user edits the first session information:
continuously detecting the reading state of the first session information;
the receiving of the second modification request sent by the first user equipment in response to the modification instruction information comprises:
if the reading state comprises that the first session information is viewed by the second user, receiving a second modification request sent by the first user equipment in response to the modification instruction information, wherein the second modification request comprises second session information, and the second session information is generated after the first user edits the first session information;
the sending the second session information to the second user equipment in response to the second modification request, and returning modification feedback information to the first user equipment includes:
and responding to the second modification request, sending the second session information to the second user equipment, sending a message update prompt to the second user equipment, and returning modification feedback information to the first user equipment, wherein the second session information is used for replacing the position of the first session information in the second user equipment, or the second session information is used for being superposed and presented at the position of the first session information in the second user equipment, and the message update prompt comprises second session information.
12. The method of claim 10, wherein the method further comprises, before receiving a second modification request sent by the first user device in response to the modification instruction information, the second modification request including second session information generated after the first user edits the first session information:
continuously detecting the reading state of the first session information;
the receiving of the second modification request sent by the first user equipment in response to the modification instruction information comprises:
if the reading state comprises that the first session information is viewed by the second user, ignoring a second modification request sent by the first user equipment in response to the modification instruction information, wherein the second modification request comprises second session information which is generated after the first user edits the first session information;
the sending the second session information to the second user equipment in response to the second modification request, and returning modification feedback information to the first user equipment includes:
and returning modification feedback information to the first user equipment, wherein the modification feedback information comprises modification failure.
13. The method of any one of claims 10 to 12, wherein said detecting a reading state of the first session information comprises:
receiving mark field information about the first session information sent by the second user equipment in real time, and if the mark field information is a first field, determining that the reading state includes that the first session information is viewed by the second user; otherwise, determining that the reading status includes that the first session information is not viewed by the second user.
14. The method of any of claims 10 to 12, wherein the method further comprises:
and if the reading state comprises that the first session information is viewed by the second user, returning modification instruction information to the first user equipment, wherein the modification instruction information comprises prohibition of modification.
15. A method for sending session information in a social application is applied to a first user device, wherein the method comprises the following steps:
responding to a first trigger event in a session interface of a social application, and sending first session information input by a first user to network equipment corresponding to the social application, wherein the network equipment is used for sending the first session information to second user equipment;
after the first session information is successfully sent, responding to a second trigger event in the social application, and sending a first modification request about the first session information to the network equipment, wherein the first modification request comprises identification information of the first session information;
receiving modification instruction information returned by the network equipment in response to the first modification request, and if the modification instruction information comprises permission of modification, executing modification of the first session information into second session information, wherein the network equipment detects a reading state of the first session information, and if the reading state comprises that the first session information is not viewed by a second user, returning the modification instruction information to the first user equipment and continuously detecting the reading state of the first session information;
sending a second modification request to the network device, wherein the second modification request includes second session information;
receiving modification feedback information returned by the network equipment in response to the second modification request, if the modification feedback information includes successful modification, presenting the second session information in the session interface, wherein the network equipment sends the second session information to the second user equipment in response to the second modification request and returns modification feedback information to the first user equipment, and if the reading state includes that the first session information is viewed by the second user, the network equipment sends a message update prompt related to the first session information to the second user equipment.
16. The method of claim 15, wherein the method further comprises:
and receiving modification instruction information returned by the network equipment in response to the first modification request, and if the modification instruction information comprises prohibition of modification, ignoring the second modification request.
17. The method of claim 15, wherein the receiving modification feedback information returned by the network device in response to the second modification request, and if the modification feedback information includes a modification success, presenting the second session information in the session interface includes:
and receiving modification feedback information returned by the network equipment in response to the second modification request, wherein the modification feedback information comprises modification failure.
18. The method of any one of claims 15 to 17, wherein the sending first session information input by a first user to a network device corresponding to the social application in response to a first trigger event in a session interface of the social application comprises:
responding to a first trigger event in a session interface of a social application, detecting whether candidate first session information input by a first user in the first trigger event has a character area to be modified, and if so, presenting the character area to be modified, wherein the character area to be modified comprises characters to be modified, recommended modified characters and modification identification information;
responding to the modification operation of the first user in the character area to be modified, and executing the modification of the candidate first session information into first session information;
and sending the first session information to network equipment corresponding to the social application, wherein the network equipment is used for sending the first session information to second user equipment.
19. A method for sending session information in a social application, wherein the method comprises the following steps:
responding to a first trigger event in a session interface of a social application, and sending first session information input by a first user to network equipment corresponding to the social application by first user equipment;
the network equipment receives the first session information and sends the first session information to second user equipment;
after the first session information is successfully sent, the first user equipment responds to a second trigger event in the social application and sends a first modification request about the first session information to the network equipment, wherein the first modification request comprises identification information of the first session information;
the network equipment receives the first modification request, responds to the first modification request, detects the reading state of the first session information, and returns modification instruction information to the first user equipment if the reading state comprises that the first session information is not viewed by a second user, wherein the modification instruction information comprises permission of modification;
the network equipment continuously detects the reading state of the first session information;
the first user equipment receives the modification instruction information, if the modification instruction information comprises permission modification, the first user equipment modifies the first session information into second session information, and sends a second modification request to the network equipment, wherein the second modification request comprises the second session information;
the network device receives the second modification request, responds to the second modification request, sends the second session information to the second user device, and returns modification feedback information to the first user device, and if the reading state includes that the first session information is viewed by the second user, sends a message update prompt about the first session information to the second user device, wherein the second session information is used for replacing the position of the first session information in the second user device, or the second session information is used for being superposed on the position of the first session information in the second user device;
and the first user equipment receives modification feedback information returned by the network equipment in response to the second modification request, and if the modification feedback information comprises successful modification, the second session information is presented in the session interface.
20. A device for transmitting session information in a social application, wherein the device comprises:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to perform the method of any one of claims 1 to 18.
21. A computer-readable medium storing instructions that, when executed, cause a computer to perform the operations of any of claims 1 to 18.
CN202011596193.3A 2020-12-29 2020-12-29 Method and equipment for sending session information in social application Active CN112688861B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011596193.3A CN112688861B (en) 2020-12-29 2020-12-29 Method and equipment for sending session information in social application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011596193.3A CN112688861B (en) 2020-12-29 2020-12-29 Method and equipment for sending session information in social application

Publications (2)

Publication Number Publication Date
CN112688861A CN112688861A (en) 2021-04-20
CN112688861B true CN112688861B (en) 2023-02-24

Family

ID=75454239

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011596193.3A Active CN112688861B (en) 2020-12-29 2020-12-29 Method and equipment for sending session information in social application

Country Status (1)

Country Link
CN (1) CN112688861B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114629864B (en) * 2022-02-22 2024-04-16 维沃移动通信有限公司 Message sending method and device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103269304A (en) * 2012-12-18 2013-08-28 北京奇虎科技有限公司 Message handling method and device
CN104219138A (en) * 2014-07-31 2014-12-17 四川长虹电器股份有限公司 Mutual information correction method used for intelligent terminal
CN106326204A (en) * 2015-06-15 2017-01-11 微软技术许可有限责任公司 Content-based detection and processing for mistakes in message
CN107147557A (en) * 2016-10-25 2017-09-08 北京小米移动软件有限公司 Change the method and device of session information
CN110545236A (en) * 2019-09-04 2019-12-06 网易(杭州)网络有限公司 Instant messaging message modification method and device, storage medium and electronic equipment
CN110995919A (en) * 2019-11-08 2020-04-10 维沃移动通信有限公司 Message processing method and electronic equipment

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4107155B2 (en) * 2003-05-12 2008-06-25 日本電気株式会社 Network session control system, network management apparatus and program
US20090043848A1 (en) * 2007-08-11 2009-02-12 Alexander Kordun Method and system for providing collaborative moderation and correction of message history in an instant mesaging session
CN105426192A (en) * 2015-11-24 2016-03-23 魅族科技(中国)有限公司 Information modification method and terminal
CN106100972B (en) * 2016-06-02 2019-02-01 腾讯科技(深圳)有限公司 A kind of message treatment method, system, first terminal and second terminal
US20180039608A1 (en) * 2016-08-03 2018-02-08 Google Inc. Correction of previously received textual messages based on one or more later received textual messages
US11074036B2 (en) * 2017-05-05 2021-07-27 Nokia Technologies Oy Metadata-free audio-object interactions
CN110266748B (en) * 2019-04-24 2022-09-27 上海连尚网络科技有限公司 Game publishing method and device
CN111932230A (en) * 2020-07-17 2020-11-13 上海连尚网络科技有限公司 Method and equipment for modifying red envelope

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103269304A (en) * 2012-12-18 2013-08-28 北京奇虎科技有限公司 Message handling method and device
CN104219138A (en) * 2014-07-31 2014-12-17 四川长虹电器股份有限公司 Mutual information correction method used for intelligent terminal
CN106326204A (en) * 2015-06-15 2017-01-11 微软技术许可有限责任公司 Content-based detection and processing for mistakes in message
CN107147557A (en) * 2016-10-25 2017-09-08 北京小米移动软件有限公司 Change the method and device of session information
CN110545236A (en) * 2019-09-04 2019-12-06 网易(杭州)网络有限公司 Instant messaging message modification method and device, storage medium and electronic equipment
CN110995919A (en) * 2019-11-08 2020-04-10 维沃移动通信有限公司 Message processing method and electronic equipment

Also Published As

Publication number Publication date
CN112688861A (en) 2021-04-20

Similar Documents

Publication Publication Date Title
US20200285462A1 (en) Collaborative software development tool for resolving potential code-change conflicts in real time
CN110336735B (en) Method and equipment for sending reminding message
CN111080270A (en) Collaborative system application design method, system, device, server and storage medium
US20170083495A1 (en) Method for Modifying Webpage and Apparatus for Modifying Webpage
US11113126B2 (en) Verifying transfer of detected sensitive data
US20190289010A1 (en) Triggering and controlling workflows across applications and services used in cloud computing systems
CN112712902B (en) Infectious disease infection probability prediction method and device, storage medium, and electronic device
US11321153B1 (en) Contextual copy and paste across multiple devices
CN110333919B (en) Method and equipment for presenting social object information
CN110290557B (en) Method and equipment for loading page tags in application
US9411974B2 (en) Managing document revisions
CN105763505A (en) Operation method and device based on user account
CN112688861B (en) Method and equipment for sending session information in social application
CN105451223A (en) Information monitoring method and device, and mobile terminal
CN110795635B (en) Method and device for presenting books
CN110519250B (en) Method and equipment for providing information flow
CN104239514A (en) Webpage rendering method, device and mobile terminal
CN113157162B (en) Method, apparatus, medium and program product for revoking session messages
CN108009799B (en) Method and device for persistence of workflow, storage medium and electronic equipment
CN111367898B (en) Data processing method, device, system, electronic equipment and storage medium
CN114091909A (en) Collaborative development method, system, device and electronic equipment
WO2018196613A1 (en) Application control method and device using function switches, server, and medium
CN113704638A (en) Method and equipment for identifying presentation information in social group chat
CN114296651A (en) Method and equipment for storing user-defined data information
CN106851648B (en) Method, device and system for sharing access information of wireless access point

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant