CN107147557B - Method and device for modifying session information - Google Patents

Method and device for modifying session information Download PDF

Info

Publication number
CN107147557B
CN107147557B CN201610941421.3A CN201610941421A CN107147557B CN 107147557 B CN107147557 B CN 107147557B CN 201610941421 A CN201610941421 A CN 201610941421A CN 107147557 B CN107147557 B CN 107147557B
Authority
CN
China
Prior art keywords
information
modification
content
original
modified
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
CN201610941421.3A
Other languages
Chinese (zh)
Other versions
CN107147557A (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.)
Miaomiaoce Technology Beijing Co ltd
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Miaomiaoce Technology Beijing Co ltd
Beijing Xiaomi Mobile Software 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 Miaomiaoce Technology Beijing Co ltd, Beijing Xiaomi Mobile Software Co Ltd filed Critical Miaomiaoce Technology Beijing Co ltd
Priority to CN201610941421.3A priority Critical patent/CN107147557B/en
Publication of CN107147557A publication Critical patent/CN107147557A/en
Application granted granted Critical
Publication of CN107147557B publication Critical patent/CN107147557B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/224Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages

Abstract

The present disclosure provides a method and an apparatus for modifying session information, wherein the method includes: determining an information identifier and an information modification mode of target session information; modifying the original information content corresponding to the information identification according to the information modification mode; and replacing the original information content with the modified information content so that the modified session information is displayed by the information receiving end. By adopting the method for modifying the session information, the modified information content can be used for replacing the original information content corresponding to a certain information identifier in the session record, so that the information receiving end can display the replaced session information, the adverse effect on an information sending party caused by sending wrong information is reduced as much as possible, and the user experience of an instant messaging tool is improved.

Description

Method and device for modifying session information
Technical Field
The present disclosure relates to the field of computer communications technologies, and in particular, to a method and an apparatus for modifying session information.
Background
With the development of computer communication technology, instant messaging applications such as chat and WeChat have become important tools for people to communicate daily, and the immediacy of information transmission brings excellent communication experience to people.
However, the instant messaging tool is also twosided, when the sender sends wrong information or sends the information to a wrong destination by mistake, the sent information is difficult to modify, and after the receiver checks the wrong information, the receiver may cause bad evaluation on the sender or cause bad influence such as secret information leakage.
Disclosure of Invention
In view of this, the present disclosure provides a method and an apparatus for modifying session information, so that an information sender can modify and replace sent error information in time, and adverse effects on the information sender due to sending of the error information are reduced.
According to a first aspect of embodiments of the present disclosure, there is provided a method for modifying session information, the method including:
determining an information identifier and an information modification mode of target session information;
modifying the original information content corresponding to the information identification according to the information modification mode;
and replacing the original information content with the modified information content so that the modified session information is displayed by the information receiving end.
Optionally, the information modification mode is determined by at least one of:
monitoring a preset trigger event in an information modification interface corresponding to the target session information, and determining an information modification mode of the target session information according to a modification mode corresponding to the preset trigger event;
and determining an information modification mode of the target session information according to a time interval between a trigger time point of information modification and a recording time point of the original information content.
Optionally, the monitoring a preset trigger event in a modification interface corresponding to the target session information, and determining an information modification mode of the target session information according to a modification mode corresponding to the preset trigger event includes:
monitoring a first preset trigger event in a session interface of an instant messaging tool, and determining information content corresponding to the first preset trigger event as information to be modified in the target session information;
after the information to be modified is determined, monitoring a second preset trigger event, and providing a modification mode selection interface aiming at the information to be modified;
monitoring a third preset trigger event in the modification mode selection interface aiming at the information to be modified, and determining a modification mode corresponding to the third preset trigger event as the information modification mode of the information to be modified.
Optionally, the determining an information modification mode of the target session information according to a time interval between a trigger time point of information modification and a recording time point of the original information content includes:
recording a trigger time point of the modification of the trigger information of the information sender;
inquiring the recording time point of the original information content according to the information identifier;
calculating a time interval between a trigger time point of the information modification and the recording time point;
and comparing the time interval with a preset time range to determine different information modification modes.
Optionally, the modifying the original information content corresponding to the information identifier according to the information modification mode includes:
when the information modification mode is a first modification mode, receiving information updating content input by an information sender;
and modifying the original information content corresponding to the information identifier according to the information updating content.
Optionally, the modifying the original information content corresponding to the information identifier according to the information modification mode includes:
and when the information modification mode is a second modification mode, performing confusing modification on the original information content corresponding to the information identifier.
Optionally, the original information content corresponding to the information identifier is modified in an obfuscated manner by using at least one of the following modification manners:
rearranging the original information content;
adding randomly generated information to the original information content;
and carrying out information replacement on the original information content by adopting randomly generated information.
Optionally, the method for modifying session information further includes:
and after the information is modified, sending modification prompt information for prompting that the target session information is modified to the information sender and/or the information receiver.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for modifying session information, the apparatus including:
a modification information determination module configured to determine an information identification and an information modification mode of the target session information;
the modification execution module is configured to modify the original information content corresponding to the information identifier according to the information modification mode;
and the information replacement module is configured to replace the original information content with the modified information content so that the information receiving end displays the modified session information.
Optionally, the modification information determining module includes at least one of the following mode determining sub-modules:
the first mode determining submodule is configured to monitor a preset trigger event in an information modification interface corresponding to the target session information, and determine an information modification mode of the target session information according to a modification mode corresponding to the preset trigger event;
a second mode determination sub-module configured to determine an information modification mode of the target session information according to a time interval between a trigger time point of information modification and a recording time point of the original information content.
Optionally, the first mode determining sub-module includes:
the information to be modified determining unit is configured to monitor a first preset trigger event in a session interface of the instant messaging tool, and determine information content corresponding to the first preset trigger event as information to be modified in the target session information;
the mode option providing unit is configured to monitor a second preset trigger event and provide a modification mode selection interface aiming at the information to be modified after the information to be modified is determined;
the first mode determining unit is configured to monitor a third preset trigger event in the modification mode selection interface for the information to be modified, and determine a modification mode corresponding to the third preset trigger event as the information modification mode for the information to be modified.
Optionally, the second mode determining sub-module includes:
a modification trigger time determining unit configured to record a trigger time point of the information sender for triggering information modification;
a recording time query unit configured to query a recording time point of original information content according to the information identifier;
a calculation unit configured to calculate a time interval between a trigger time point of the information modification and the recording time point;
a second mode determination unit configured to compare the time interval with a preset time range and determine a different information modification mode.
Optionally, the modification executing module includes:
the update information receiving submodule is configured to receive information update content input by an information sending party under the condition that the information modification mode is a first modification mode;
and the first modification execution sub-module is configured to modify the original information content corresponding to the information identifier according to the information updating content.
Optionally, the modification executing module includes:
and the second modification execution sub-module is configured to perform obfuscated modification on the original information content corresponding to the information identifier under the condition that the information modification mode is the second modification mode.
Optionally, the second modification execution sub-module includes at least one of the following modification units:
a first modification unit configured to rearrange the original information content;
a second modification unit configured to add randomly generated information to the original information content;
a third modification unit configured to perform information replacement on the original information content using the randomly generated information.
Optionally, the apparatus for modifying session information further includes:
and the prompting module is configured to send modification prompting information for prompting that the target session information is modified to the information sending party and/or the information receiving party after the information is modified.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for modifying session information, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
determining an information identifier and an information modification mode of target session information;
modifying the original information content corresponding to the information identification according to the information modification mode;
and replacing the original information content with the modified information content so that the modified session information is displayed by the information receiving end.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
in the disclosure, under the condition that an information sender triggers modification operation on sent session information, an information identifier and an information modification mode of target session information are determined; then, modifying the original information content corresponding to the information identifier according to the information modification mode; and then, the modified information content is used for replacing the original information content corresponding to the information identifier, so that the information receiving end displays the replaced session information, the adverse effect on the information sending end caused by sending wrong information is reduced as much as possible, and the user experience of the instant messaging tool is improved.
In the disclosure, when determining the information modification mode of the target session information, monitoring a preset trigger event in an information modification interface for the target session information, and determining the information modification mode of the target session information according to an information modification mode corresponding to the preset trigger event; the information modification mode of the target session information can be intelligently determined according to the time interval between the triggering time point of the information modification and the recording time point of the original information content, so that the session information modification mode is diversified, the intelligent degree of the instant messaging user terminal or the application server is improved, and the user experience is improved.
In the present disclosure, in the process of determining the information modification mode by monitoring the preset trigger event, the user terminal that sends the information may first monitor the first preset trigger event of the target session information selected by the user in the session interface of the instant messaging, and determine the information to be modified of the target session information. And then, monitoring a second preset trigger event, and providing a modification mode selection interface aiming at the information to be modified, wherein at least two modification mode options can be provided in the interface. Monitoring a third preset trigger event for selecting options in the modification mode selection interface, and finally determining the information modification mode of the information to be modified, so that convenience is provided for a user to select the modification mode, the information sender can select different information modification modes according to the severity of information errors, and adverse effects caused by the information sending errors to the information sender are reduced.
In the disclosure, after detecting an event that a user triggers information modification, a user terminal or an application server may intelligently calculate a time interval between a trigger time point of the information modification and a recording time point of the target session information in a session history record; and comparing the time interval with a preset time range, and judging the emergency degree of information modification, thereby determining an information modification mode according to the emergency degree of the modification event. When the information sender needs to modify the information urgently, for example, the confidential information is sent by mistake, the user terminal or the application server can automatically modify the target session information according to a preset information modification strategy, so that the information modification efficiency is improved, the loss of the information sender is reduced as much as possible, and the user experience of the instant messaging information tool is improved.
In the present disclosure, if it is determined that the information modification mode of the target session information is the first modification mode, the information update content input by the information sender may be further received, and the user terminal or the application server may modify the information to be modified according to the information update content, so that the information sender may repair the information with the error.
In the disclosure, if it is determined that the modification mode of the target session information is the second modification mode, it is indicated that the information sender does not want the information receiver to view the target session information later, and the executor of the information modification can perform confusing modification on the information to be modified corresponding to the information identifier according to a preset policy, so that the modified session information is information with unknown semantics, and the loss of the information sender is reduced as much as possible.
In the method and the system, the original session information content can be modified in a confusing manner by adopting various modes such as rearranging the information content, increasing the randomly generated information, replacing the information to be modified by utilizing the random information and the like, so that the information safety of the user is ensured.
In the disclosure, after determining that the information modification is completed, the user terminal or the application server may send modification prompt information to the information sender to prompt the information sender that the information modification is completed, so as to reduce psychological stress of a user caused by an error in sending information. On the other hand, the modification prompt message can be sent to the information receiver, so that under the condition that the information receiver checks the target session information, the bad evaluation of the information receiver on the information sender due to the fact that the information receiver receives the error message can be reduced, and the user experience of the instant messaging tool is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a schematic diagram illustrating an application scenario for modifying session information according to an exemplary embodiment of the present disclosure;
FIG. 2 is a flow chart illustrating a method of modifying session information according to an exemplary embodiment of the present disclosure;
FIG. 3-1 is a flow chart illustrating another method of modifying session information according to an exemplary embodiment of the present disclosure;
3-2 is a flow chart illustrating another method of modifying session information according to an exemplary embodiment of the present disclosure;
FIG. 4 is a flow chart illustrating another method of modifying session information according to an exemplary embodiment of the present disclosure;
FIG. 5-1 is a schematic diagram illustrating an application scenario for modifying session information according to an exemplary embodiment of the present disclosure;
FIG. 5-2 is a schematic diagram illustrating another application scenario for modifying session information according to an example embodiment of the present disclosure;
5-3 are diagrams illustrating another application scenario for modifying session information according to an exemplary embodiment of the present disclosure;
FIG. 6 is a flow chart illustrating another method of modifying session information according to an exemplary embodiment of the present disclosure;
FIG. 7 is a block diagram illustrating an apparatus for modifying session information according to an example embodiment;
FIG. 8 is a block diagram illustrating another apparatus for modifying session information according to an example embodiment;
FIG. 9 is a block diagram illustrating another apparatus for modifying session information according to an example embodiment;
FIG. 10 is a block diagram illustrating another apparatus for modifying session information according to an example embodiment;
FIG. 11 is a block diagram illustrating an apparatus for modifying session information according to an example embodiment;
FIG. 12 is a block diagram illustrating another apparatus for modifying session information according to an example embodiment;
FIG. 13 is a block diagram illustrating another apparatus for modifying session information according to an example embodiment;
FIG. 14 is a block diagram illustrating another apparatus for modifying session information according to an example embodiment of the present disclosure;
fig. 15 is a schematic structural diagram illustrating an apparatus for modifying session information according to an exemplary embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The terminology used in the present disclosure is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
Referring to fig. 1, a schematic diagram of an application scenario for modifying session information is shown according to an exemplary embodiment, in the embodiment of the present disclosure, an involved execution main body includes: the user terminal 100 of the information sender, the user terminal 300 of the information receiver and the application server 200. The user terminal can be a smart phone, a personal computer, a personal digital assistant, a wearable device such as a smart watch, a smart bracelet and the like. The user terminal is provided with an instant messaging application APP, such as application software of Mi chat, WeChat, QQ and the like, and can also be mail receiving and sending application software of Outlook and the like; the user terminal can establish communication connection with the application server through the built-in communication module. The application server 200 may receive session information sent by any party of the communication participants, and send the session information to the opposite communication terminal in real time, so that the application interfaces of the instant messaging applications of the user terminals of the sender and the receiver display session records of two or more parties. In the embodiment of the present disclosure, the number of information receiving parties may be one or more, and the number of corresponding user terminals of the receiving party may also be one or more. In a specific implementation process, the user terminal and the application server are independent and are simultaneously associated with each other, and the technical scheme provided by the disclosure is implemented together. The following describes the method for modifying session information provided by the present disclosure in detail from the application server side with reference to fig. 2 to 7.
Referring to fig. 2, a flowchart of a method for modifying session information according to an exemplary embodiment may be applied in an application server, and includes the following steps:
in step 11, determining an information identifier and an information modification mode of the target session information;
in the embodiment of the present disclosure, the target session information is session information that has been sent by an information sender, and after the information is sent, the sender finds that the content of the sent information is incorrect or the session information is incorrectly sent to another contact, and needs to modify the sent incorrect information in time.
The target session information may be text information, voice information, picture information, and the like. For example, the embodiment of the present disclosure is described by taking the example that the target session information belongs to text information.
In the embodiment of the disclosure, each time a participant of instant messaging sends a piece of session information, the session information is sent to an information receiver through an application server. After receiving a piece of session information, the application server allocates a unique information identifier to the piece of session information, and may record the corresponding relationship between the information identifier and the information content in the form of an information recording table. Suppose the content of a session information is "i want to go to eat", and its information is identified as: 001, the information record table can be as shown in table one:
information identification Content of session information
001 I want to go to have a meal
Watch 1
The application server also sends the information mark of the session information to the information sending end and the information receiving end respectively for storage. When a communication participant triggers a selection operation on the session information in the session record displayed in the instant messaging application interface, the user terminal acquires an information identifier of the session information, such as 001. The user may select a part of text or all text in the target session information to perform a modification operation.
In the embodiment of the present disclosure, the information sender needs to modify the target session information, so that after the user terminal detects the information to be modified of the target session information selected by the user, and further detects an information modification event triggered by the user, the information modification mode of the information to be modified can be determined.
After acquiring the information identifier and the information modification mode of the target session information, the user terminal of the information sender may send the information identifier and the information modification mode to the application server.
In the embodiment of the present disclosure, the information modification mode of the target session information may be determined in at least two ways.
The first mode is as follows: monitoring a preset trigger event in a modification interface corresponding to the target session information, and determining an information modification mode of the target session information according to a modification mode corresponding to the preset trigger event;
in the embodiment of the disclosure, when an information sending end monitors an information modification operation triggered by a user on target session information, such as a preset gesture, a preset touch action, and the like, an information modification mode selection interface is provided, where the interface may include one or more modification mode options, such as a first modification mode, and in the first modification mode, information update content input by the user is received, and original information content is replaced by the information update content, which is suitable for a normal information modification situation; and in the second modification mode, the application server automatically modifies the original information content of the target session information according to a preset strategy, and is suitable for the situation that a sender needs to perform emergency modification on the target session information.
Specifically, referring to fig. 3-1, which is a flowchart illustrating another method for modifying session information according to an exemplary embodiment, the step of determining an information modification mode in step 11 may include the following steps:
in step 11-1, monitoring a first preset trigger event in a session interface of an instant messaging tool, and determining information content corresponding to the first preset trigger event as information to be modified;
the first preset trigger event may be a click event, a slide event, or an event of a gesture of a preset action triggered by the information sender in a session interface of the instant messaging tool, and is used to determine target session information selected by the user and information to be modified in the information. Here, the information to be modified in the target session information may be a part of the content in the target session information, or may be the entire content of the target session information.
In step 11-2, after the information to be modified is determined, monitoring a second preset trigger event, and providing a modification mode selection interface for the information to be modified;
similarly, the second preset trigger event may be a click event, a sliding event, an event of stroking a preset action gesture, and the like triggered by the information sender at the display position of the information to be modified, and is used for triggering the information sender to display the modification mode selection interface.
In step 11-3, a third preset trigger event is monitored in a modification mode selection interface for the information to be modified, and a modification mode corresponding to the third preset trigger event is determined as an information modification mode for the information to be modified.
Similarly, the third preset trigger event may be a click event, a slide event, or an event of stroking a preset action gesture, which is triggered by the information sender in the modification mode selection interface for the information to be modified, and is used to select a certain modification mode option displayed in the modification mode selection interface.
The second mode is as follows: and determining a modification mode of the information to be modified according to the time interval between the triggering time point of information modification and the recording time point of the original information content.
The second mode belongs to an information modification mode in which the application server automatically determines the target session information. Referring to fig. 3-2, which is a flowchart illustrating another method for modifying session information according to an exemplary embodiment, the step of determining an information modification pattern in step 11 may include the following steps:
in step 111, recording a trigger time point of the modification of the trigger information of the information sender;
when the user terminal of the information sender monitors that the user triggers a modification operation on the target session information, recording a trigger time point of the modification operation, such as 8: 30.
in step 112, inquiring the recording time point of the original information content according to the information identification;
taking the information identifier of the target session information as 001 as an example, querying the session information history record to obtain the recording time of the target session information, assuming that 8: 29.
in step 113, calculating a time interval between a trigger time point of the information modification and the recording time point;
from the recording time point of 001 and the modification trigger time point, a time interval is calculated, i.e., Δ t — 8: 30-8: and 29-1 minute.
In step 114, the time interval is compared with a preset time range to determine different information modification modes.
According to the common sense of life, the sender of the information can process the wrong information seriously, such as the wrong confidential information and the like, urgently for the first time, and can not process the information with less serious errors urgently. Based on this, in the embodiment of the present disclosure, a mode determination information table may be preset, and a corresponding relationship between a time interval between a modification trigger time point and an information recording time point and an information modification mode is recorded, as shown in table two:
time horizon Information modification mode
Delta t ≧ 2 minutes First modification mode
Δt<2 minutes Second modification mode
Watch two
The second table shows the judgment basis for judging the two information modification modes only by exemplarily using a time threshold, namely 2 minutes. It is known that when three or more information modification modes are preset in the application server, each information modification mode corresponds to a time range, and is not illustrated here.
According to the time interval obtained in step 113, still taking Δ t as 1 minute as an example, by referring to the above table two, the modification mode of the session information can be automatically determined to be the second modification mode.
Of course, the information modification mode for the target session information may also be determined by combining the two manners, for example, although the application server automatically determines that the application server is the second information modification mode, if an event that the user triggers to select the modification mode is monitored before the information modification is performed, the information modification mode actively selected by the user is used as the standard.
In step 12, modifying the original information content corresponding to the information identifier according to the information modification mode;
in the embodiment of the present disclosure, according to different information modification modes, modification modes of the target session information are different, and specifically, the following at least several cases may be included:
first case, modification for first information modification mode
Referring to fig. 4, which is a flowchart illustrating another method for modifying session information according to an exemplary embodiment, step 12 may include:
in step 121, when the information modification mode is the first modification mode, receiving information update content input by an information sender;
as described above, in the embodiment of the present disclosure, the first modification mode may also be referred to as a normal modification mode, and when the application server determines to modify the target session information in the first modification mode, a user operation entry for inputting updated content information may be provided to an information sending end, that is, an instant messaging interface. Namely, a user operation inlet for inputting information updating content is provided in an application interface of the instant messaging tool at the information sending end. Through the user operation entrance, the information sender can call the input method software to input the information updating content.
After obtaining the information update content, the user terminal of the information sender may send the information update content and the information identifier of the target session information to the application server.
In step 122, the original information content is modified according to the information update content.
And the application server replaces the information to be modified in the target session information with the information updating content according to the information identifier. In the embodiment of the present disclosure, the information to be modified in the target session information is information that needs to be modified and is selected by the information sender based on the target session information, and may be partial information in the original content information or all information of the original content information. Still taking the information identifier as 001 as an example, as shown in table one, the original content information is: i want to go to have a meal, the information to be modified may be "eat" or "i want to go to have a meal".
Assuming that the information to be modified is "eating", after the application server obtains the information update content, assuming that the information update content is "watching a movie", the application server will update the information content corresponding to the information identifier 001 to "i want to go to the movie". Then the information recording table is updated to table three:
information identification Content of session information
001 I want to go to see the movie
Watch III
Second case, modification for second modification mode
And when the information modification mode is a second modification mode, performing confusing modification on the original information content corresponding to the information identifier.
As described above, in the embodiment of the present disclosure, the second modification mode may also be referred to as an emergency modification mode. When the application server determines to modify the target session information in the second modification mode, because of an emergency, the information to be modified in the target session information can be modified in a confusing manner according to a preset strategy, and the information to be modified is modified into information with unknown semantics.
The obfuscated modification of the original information content corresponding to the information identifier may be performed in any of the following ways:
firstly, rearranging the original information content;
still taking the original information content as the text information as an example, assuming that the original information content corresponding to the information identifier 002 is "500 deals today", and the information is a piece of information related to business confidentiality erroneously sent by the information sender, the confusingly modified information may be "500 deals today".
When the original information content is picture information, the whole picture can be divided into a plurality of image blocks, and the image blocks are subjected to chaotic splicing according to a preset mode, so that an information receiver cannot identify the original image information.
Secondly, adding randomly generated information in the original information content;
still taking the original information content corresponding to the information identifier 002 as "the amount of daily commitment is 500 pieces", the information may be added with randomly generated characters "good, hit, all, 1, 2, 3, @,%, #, 0", so that the modified information is "the amount of daily commitment 1 is 35@ 0% 0# 0".
And thirdly, performing information replacement on the original information content by using randomly generated information.
As described above, the original information content corresponding to the information identifier 002 is "the daily volume is 500", the application server may randomly generate information "@,%, #" to replace the information to be modified in the original information content, and if the modified information is "the daily volume is @% # piece".
In step 13, the original information content is replaced by the modified information content, so that the information receiving end displays the modified session information.
After the modified information content corresponding to the information identifier is obtained in step 12, the application server updates the information recording table, and still taking the information identifier 001 as an example, the application server updates the table one to table three. And the corresponding relation between the information identifier 001 and the 'i want to see the movie' is sent to the information receiving terminal, so that the information receiving terminal displays the modified session information in a replacement mode. Referring to fig. 5-1, according to an exemplary embodiment, a scene diagram of modifying session information is shown, after an information sender bull triggers modification to "watch a movie" for information to be modified "eat" in target session information "i want to eat", in a chat-rice interface of a user terminal 300 with a small white information receiver, the "i want to eat" is displayed instead as "i want to see a movie".
In the embodiment of the present disclosure, if the modification mode is the first modification mode, when the information receiving end displays the modified session information, the revision mode may be further used to simultaneously display the original information content and the modified information content. As shown in fig. 5-2, according to another exemplary embodiment of a scene diagram of modifying session information, when an information sender bull modifies "eat" to "watch a movie" for information to be modified in target session information "i want to eat", the information before modification and the modified information are displayed in an information modification mode in a chat interface of a user terminal 300 with a small white information receiver.
If the modification mode is the second modification mode, when the application server sends the modified information to the information receiving terminal for displaying, the information receiving terminal displays the modified information content in the display interface of the instant communication tool only in the replacement mode. As shown in fig. 5-3, according to another scenario of modifying session information according to an exemplary embodiment, when the message sender big ox sends a message "the amount of daily turnover is 500 pieces" related to business secrets to the small white, and triggers the second modification mode, the user terminal 300 of the message receiver small white displays the modified message "the amount of daily turnover 1 233 is 35@ 0% 0#0 pieces" according to the above-mentioned two obfuscations.
Referring to fig. 6, a flowchart of another method for modifying session information according to an exemplary embodiment is shown, and on the basis of the embodiment shown in fig. 2, the method may further include:
in step 14, after the information modification, sending modification prompting information for prompting that the target session information is modified to the information sender and/or the information receiver.
In the embodiment of the disclosure, the application server may determine that the information receiving end has displayed the modified session information in the replacement mode according to the related art, and then send the modification prompt information to the information sending end to inform the information sending end that the target session information is modified, so as to reduce bad experience brought to the communication participants by the error information as much as possible, and simultaneously enable the information sending end to further determine that the information modification is successful, reduce psychological pressure generated by the information sending end due to the error information, and enhance user experience.
After the application server sends the modified information to the information receiving end for displaying the replacement mode, the application server can also send an information modification prompt to the information receiving end to remind an information receiving end to review the modified session information again, so that bad evaluation on the information sending end caused by the fact that the information sending end mistakenly sends the session information is reduced.
The above is a detailed description of the embodiment of the present disclosure, in which the execution subject of information modification is the application server 200. In another embodiment of the present disclosure, the execution subject of the information modification may also be a user terminal 100 of the information sender, that is, the information sender 100. In another embodiment of the present disclosure, the execution subject of the information modification may also be the user terminal 300 of the information receiver, i.e. the information receiving end 300. The above-mentioned information receiver and sender are both relative to the receiving and sending of the target session information.
When the execution subject of the information modification is the information sending end 100, the above process of modifying the information may be: after determining the information identifier, the information modification mode and the information update content, the information sending end 100 modifies the target session information, sends the corresponding relationship between the modified information and the information identifier to the application server 200, and the application server 200 sends the corresponding relationship between the information identifier and the modified information to the information receiving end 300; the information receiving end 300 replaces the original information content with the modified information content according to the information identifier, and displays only the modified information content corresponding to the information identifier in the session interface of the instant messaging tool.
When the main execution body of the information modification is the information receiving end 300, the above process of modifying the information may be: the information receiving end 300 obtains the information identifier, the information modification mode and the information update content sent by the information sending end through the application server 200, searches for the corresponding original information content locally according to the information identifier, then modifies the information content according to the information modification mode or the information update content, and performs replacement display on the modified information content in the session interface or displays the modified information content in the modification mode.
The embodiment of the present disclosure does not limit the execution subject of information modification.
While, for purposes of simplicity of explanation, the foregoing method embodiments have been described as a series of acts or combination of acts, it will be appreciated by those skilled in the art that the present disclosure is not limited by the order of acts, as some steps may, in accordance with the present disclosure, occur in other orders and concurrently.
Further, those skilled in the art should also appreciate that the embodiments described in the specification are exemplary embodiments and that acts and modules referred to are not necessarily required by the disclosure.
Corresponding to the embodiment of the application function implementation method, the disclosure also provides an embodiment of an application function implementation device and a corresponding terminal.
Referring to fig. 7, a block diagram of an apparatus for modifying session information is shown according to an example embodiment, the apparatus may include:
a modification information determination module 21 configured to determine an information identification and an information modification mode of the target session information;
the modification execution module 22 is configured to modify the original information content corresponding to the information identifier according to the information modification mode;
and the information replacing module 23 is configured to replace the original information content with the modified information content, so that the information receiving end displays the modified session information.
Referring to fig. 8, which is a block diagram of another apparatus for modifying session information according to an exemplary embodiment, on the basis of the embodiment shown in fig. 7, the modification information determining module 21 may include at least one of the following mode determining sub-modules:
the first mode determining submodule 211 is configured to monitor a preset trigger event in an information modification interface corresponding to the target session information, and determine an information modification mode of the target session information according to a modification mode corresponding to the preset trigger event;
a second mode determining sub-module 212 configured to determine an information modification mode of the target session information according to a time interval between a trigger time point of information modification and a recording time point of the original information content.
Referring to fig. 9, which is a block diagram of another apparatus for modifying session information according to an exemplary embodiment, on the basis of the embodiment shown in fig. 8, the first mode determining sub-module 211 may include:
the to-be-modified information determining unit 2111 is configured to monitor a first preset trigger event in a session interface of an instant messaging tool, and determine information content corresponding to the first preset trigger event as to-be-modified information in the target session information;
a mode option providing unit 2112, configured to monitor a second preset trigger event after determining the information to be modified, and provide a modification mode selection interface for the information to be modified;
a first mode determining unit 2113, configured to monitor a third preset trigger event in the modification mode selection interface for the information to be modified, and determine a modification mode corresponding to the third preset trigger event as the information modification mode of the information to be modified.
Referring to fig. 10, which is a block diagram of another apparatus for modifying session information according to an exemplary embodiment, on the basis of the embodiment shown in fig. 8, the second mode determining sub-module 212 may include:
a modification trigger time determining unit 2121 configured to record a trigger time point of the information sender trigger information modification;
a recording time query unit 2122 configured to query a recording time point of the original information content according to the information identifier;
a calculating unit 2123 configured to calculate a time interval between a trigger time point of the information modification and the recording time point;
a second mode determining unit 2124 configured to compare the time interval with a preset time range and determine a different information modification mode.
Referring to fig. 11, which is a block diagram of another apparatus for modifying session information according to an exemplary embodiment, on the basis of the embodiment shown in fig. 7, the modification performing module 22 may include:
an update information receiving sub-module 221, configured to receive information update content input by an information sender if the information modification mode is a first modification mode;
and a first modification execution sub-module 222 configured to modify the original information content corresponding to the information identifier according to the information update content.
Referring to fig. 12, which is a block diagram of another apparatus for modifying session information according to an exemplary embodiment, on the basis of the embodiment shown in fig. 7, the modification performing module 22 may include:
and a second modification execution sub-module 223 configured to, in a case that the information modification mode is the second modification mode, perform obfuscated modification on the original information content corresponding to the information identifier.
Referring to fig. 13, which is a block diagram of another apparatus for modifying session information according to an exemplary embodiment, on the basis of the embodiment shown in fig. 12, the second modification execution sub-module 223 includes at least one of the following modification units:
a first modification unit 2231 configured to rearrange the original information content;
a second modifying unit 2232 configured to add randomly generated information to the original information content;
a third modifying unit 2233 configured to replace the original information content with the randomly generated information.
Optionally, the embodiment of the present disclosure may further include a prompt module for prompting that the modification of the information is completed, on the basis of any one of the above apparatus embodiments. Referring to fig. 14, a block diagram of another apparatus for modifying session information according to an exemplary embodiment is shown, and on the basis of the embodiment shown in fig. 7, the apparatus may further include:
and the prompting module 24 is configured to send modification prompting information for prompting that the target session information is modified to the information sender and/or the information receiver after the information is modified.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the disclosed solution. One of ordinary skill in the art can understand and implement it without inventive effort.
Accordingly, in one aspect, an embodiment of the present disclosure provides an apparatus for modifying session information, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to:
determining an information identifier and an information modification mode of target session information;
modifying the original information content corresponding to the information identification according to the information modification mode;
and replacing the original information content with the modified information content so that the modified session information is displayed by the information receiving end. As shown in fig. 15, fig. 15 is a schematic structural diagram illustrating an apparatus 1500 for modifying session information according to an exemplary embodiment. For example, the apparatus 1500 may be provided as an application server. Referring to fig. 15, the apparatus 1500 includes a processing component 1522 that further includes one or more processors and memory resources, represented by memory 1516, for storing instructions, such as applications, that are executable by the processing component 1522. The applications stored in memory 1516 may include one or more modules each corresponding to a set of instructions. Further, the processing component 1522 is configured to execute instructions to perform the above-described method of modifying session information.
The device 1500 can also include a power component 1526 configured to perform power management of the device 1500, a wired or wireless network interface 1550 configured to connect the device 1500 to a network, and an input-output (I/O) interface 1558. The apparatus 1500 may operate based on an operating system stored in the memory 1516, such as Android, iOS, Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTMOr the like.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 1516 comprising instructions, executable by the processing component 1522 of the apparatus 1500 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Wherein the instructions in the memory 1516, when executed by the processing component 1522, enable the apparatus 1500 to perform a method of modifying session information comprising:
determining an information identifier and an information modification mode of target session information;
modifying the original information content corresponding to the information identification according to the information modification mode;
and replacing the original information content with the modified information content so that the modified session information is displayed by the information receiving end.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (9)

1. A method for modifying session information, applied to an application server, the method comprising:
determining an information identification and an information modification mode of target session information, wherein the information modification mode comprises the following steps: an emergency modification mode for performing confusion modification, wherein the confusion modification is used for modifying the original information content corresponding to the information identifier into information content with unknown semantics;
performing confusing modification on the original information content corresponding to the information identifier according to the emergency modification mode;
replacing the original information content with the modified information content to enable an information receiving end to display the modified session information;
determining the information modification mode by:
determining a time interval between a trigger time point of information modification and a recording time point of the original information content;
and determining the information modification mode corresponding to the time interval according to a plurality of groups of corresponding relations between the preset time interval and the information modification mode.
2. The method according to claim 1, wherein the determining a time interval between a trigger time point of information modification and a recording time point of the original information content, and the determining the information modification mode corresponding to the time interval according to a preset plurality of sets of corresponding relationships between the time interval and the information modification mode comprises:
recording a trigger time point of the modification of the trigger information of the information sender;
inquiring the recording time point of the original information content according to the information identifier;
calculating a time interval between a trigger time point of the information modification and the recording time point;
and comparing the time interval with a preset time range to determine different information modification modes.
3. The method of claim 1, wherein the original information content corresponding to the information identifier is modified in a confusing manner by at least one of the following modifications:
rearranging the original information content;
adding randomly generated information to the original information content;
and carrying out information replacement on the original information content by adopting randomly generated information.
4. The method according to any one of claims 1 to 3, further comprising:
and after the information is modified, sending modification prompt information for prompting that the target session information is modified to the information sender and/or the information receiver.
5. An apparatus for modifying session information, applied to an application server, the apparatus comprising:
a modification information determination module configured to determine an information identification and an information modification mode of the target session information, the information modification mode including: an emergency modification mode for performing confusion modification, wherein the confusion modification is used for modifying the original information content corresponding to the information identifier into information content with unknown semantics;
the modification execution module is configured to perform obfuscated modification on the original information content corresponding to the information identifier according to the emergency modification mode;
the information replacing module is configured to replace the original information content with the modified information content so that the information receiving end displays the modified session information;
the modification information determination module includes:
and the second mode determining submodule is configured to determine a time interval between a trigger time point of information modification and a recording time point of the original information content, and determine the information modification mode corresponding to the time interval according to a plurality of groups of corresponding relations between preset time intervals and information modification modes.
6. The apparatus of claim 5, wherein the second mode determination submodule comprises:
a modification trigger time determining unit configured to record a trigger time point of the information sender for triggering information modification;
a recording time query unit configured to query a recording time point of original information content according to the information identifier;
a calculation unit configured to calculate a time interval between a trigger time point of the information modification and the recording time point;
a second mode determination unit configured to compare the time interval with a preset time range and determine a different information modification mode.
7. The apparatus of claim 5, wherein the modification execution module is configured to rearrange the original information content, or configured to add randomly generated information to the original information content, or configured to replace the original information content with the randomly generated information.
8. The apparatus of any one of claims 5 to 7, further comprising:
and the prompting module is configured to send modification prompting information for prompting that the target session information is modified to the information sending party and/or the information receiving party after the information is modified.
9. An apparatus for modifying session information, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
determining an information identification and an information modification mode of target session information, wherein the information modification mode comprises the following steps: an emergency modification mode for performing confusion modification, wherein the confusion modification is used for modifying the original information content corresponding to the information identifier into information content with unknown semantics;
performing confusing modification on the original information content corresponding to the information identifier according to the emergency modification mode;
replacing the original information content with the modified information content to enable an information receiving end to display the modified session information;
determining the information modification mode by:
determining a time interval between a trigger time point of information modification and a recording time point of the original information content;
and determining the information modification mode corresponding to the time interval according to a plurality of groups of corresponding relations between the preset time interval and the information modification mode.
CN201610941421.3A 2016-10-25 2016-10-25 Method and device for modifying session information Active CN107147557B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610941421.3A CN107147557B (en) 2016-10-25 2016-10-25 Method and device for modifying session information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610941421.3A CN107147557B (en) 2016-10-25 2016-10-25 Method and device for modifying session information

Publications (2)

Publication Number Publication Date
CN107147557A CN107147557A (en) 2017-09-08
CN107147557B true CN107147557B (en) 2021-01-15

Family

ID=59783604

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610941421.3A Active CN107147557B (en) 2016-10-25 2016-10-25 Method and device for modifying session information

Country Status (1)

Country Link
CN (1) CN107147557B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110035091B (en) * 2018-01-11 2021-10-22 杭州海康威视数字技术股份有限公司 Method, device and server for modifying session information in network information system
CN108768827A (en) * 2018-05-17 2018-11-06 上海爱优威软件开发有限公司 A kind of information processing method and information processing system
CN111310460B (en) * 2018-12-12 2022-03-01 Tcl科技集团股份有限公司 Statement adjusting method and device
CN109873753B (en) * 2019-01-30 2021-10-26 北京达佳互联信息技术有限公司 Name modification method and device
CN112131540A (en) * 2020-09-27 2020-12-25 广州市优仪科技股份有限公司 Safety control method and device for test chamber, electronic equipment and storage medium
CN112688861B (en) * 2020-12-29 2023-02-24 上海掌门科技有限公司 Method and equipment for sending session information in social application
CN113141296B (en) * 2021-03-26 2023-06-13 维沃移动通信有限公司 Message display method and device and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102664832A (en) * 2012-05-21 2012-09-12 李艳平 Method and device for commenting and additionally modifying message
CN102932349A (en) * 2012-10-31 2013-02-13 成都主导软件技术有限公司 Data transmission method, device and system
CN103516576A (en) * 2012-06-21 2014-01-15 阿尔卡特朗讯公司 Method for processing instant message and device thereof
CN105208532A (en) * 2014-05-29 2015-12-30 展讯通信(上海)有限公司 Information interaction system and method and mobile terminal
CN105337988A (en) * 2015-11-20 2016-02-17 刘奇 Method and system for preventing sensitive information from leakage
CN105827499A (en) * 2015-07-30 2016-08-03 南京步步高通信科技有限公司 Modification method of sent information, electronic equipment and application server

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9756002B2 (en) * 2014-03-21 2017-09-05 Litera Technologies, LLC Systems and methods for email attachments management

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102664832A (en) * 2012-05-21 2012-09-12 李艳平 Method and device for commenting and additionally modifying message
CN103516576A (en) * 2012-06-21 2014-01-15 阿尔卡特朗讯公司 Method for processing instant message and device thereof
CN102932349A (en) * 2012-10-31 2013-02-13 成都主导软件技术有限公司 Data transmission method, device and system
CN105208532A (en) * 2014-05-29 2015-12-30 展讯通信(上海)有限公司 Information interaction system and method and mobile terminal
CN105827499A (en) * 2015-07-30 2016-08-03 南京步步高通信科技有限公司 Modification method of sent information, electronic equipment and application server
CN105337988A (en) * 2015-11-20 2016-02-17 刘奇 Method and system for preventing sensitive information from leakage

Also Published As

Publication number Publication date
CN107147557A (en) 2017-09-08

Similar Documents

Publication Publication Date Title
CN107147557B (en) Method and device for modifying session information
US9967245B2 (en) User authentication using unique hidden identifiers
US9392039B2 (en) Method and apparatus for implementing user relationship in social network application
CN100536500C (en) Transmission of personal data combined with private sign
EP3131264B1 (en) Method, device and system for establishing communication
WO2016124113A1 (en) Information push method, information presentation method and related apparatus, system
US10567533B2 (en) System and method to determine the presence status of a registered user on a network
US10541951B2 (en) Enhancing network messaging with a real-time, interactive representation of current messaging activity of a user&#39;s contacts and associated contacts
CN108900690B (en) Voice message receiving and transmitting system and method
CN111130986B (en) Message sending method, device, equipment and storage medium
WO2015139598A1 (en) Instant messaging method, instant messaging apparatus and instant messaging terminal
US20190325156A1 (en) System and method for remotely deleting data from a client device
CN104376022B (en) Data processing method and device
CN105453072A (en) User centric data maintenance
CN106790738B (en) User contact information query method and server
CN103701836B (en) Information processing method, terminal device and server
US9165327B1 (en) Method and apparatus for managing business and social contacts
CN103490984B (en) A kind of method and apparatus obtaining user profile
US10320737B2 (en) Device and method for temporal correlation of communication types
CN108377357B (en) Visual platform call method and device
CN109120498B (en) Method and device for sending information
CN111752885B (en) Method and device for processing reading authority in reading material
CN113905022A (en) Group chat construction method, equipment and storage medium
TWI690190B (en) Communication method capable of managing privacy right with virtual account
CN108737670B (en) Method and apparatus for controlling incoming call forwarding at a communication terminal

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