CN108377289B - Sent information modification method and device and computer readable storage medium - Google Patents

Sent information modification method and device and computer readable storage medium Download PDF

Info

Publication number
CN108377289B
CN108377289B CN201810060324.2A CN201810060324A CN108377289B CN 108377289 B CN108377289 B CN 108377289B CN 201810060324 A CN201810060324 A CN 201810060324A CN 108377289 B CN108377289 B CN 108377289B
Authority
CN
China
Prior art keywords
message
modification
sent
modified
user
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
CN201810060324.2A
Other languages
Chinese (zh)
Other versions
CN108377289A (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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201810060324.2A priority Critical patent/CN108377289B/en
Publication of CN108377289A publication Critical patent/CN108377289A/en
Application granted granted Critical
Publication of CN108377289B publication Critical patent/CN108377289B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/109Font handling; Temporal or kinetic typography
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/103Formatting, i.e. changing of presentation of documents
    • G06F40/117Tagging; Marking up; Designating a block; Setting of attributes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72436User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. short messaging services [SMS] or e-mails

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Artificial Intelligence (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a sent message modification method, which is applied to application with conversation messages, wherein the method adds modification options in a menu bar of the sent message in advance; when a modification event occurs in a sent message is detected, characters needing to be modified in the message are marked; executing modification operation of the user on the message; and after the modification is finished, resending the message; the invention also discloses a sent message modification device and a computer readable storage medium. The invention carries out the modification process of the sent message in the dialog box, and increases the visual content of the long message; the problem that the sent message cannot be modified in the dialog box in the prior art is solved, the dialog speed is improved, and the user experience is improved.

Description

Sent information modification method and device and computer readable storage medium
Technical Field
The present invention relates to the field of communications, and in particular, to a sent message modification method, a sent message modification apparatus, and a computer-readable storage medium.
Background
Mobile terminals have been developed as simple communication devices with mobile communications for decades. From 2007, the gene mutation of the mobile terminal is intelligently triggered, and the traditional positioning of the terminal as a mobile network terminal is fundamentally changed. The mobile intelligent terminal is almost instantly changed into a key entrance and a main innovation platform of internet business, a novel media, electronic commerce and information service platform, the most important hub of internet resources, mobile network resources and environment interaction resources, and an operating system and a processor chip of the mobile intelligent terminal even become the strategic high points of the whole ICT industry at present. The subversive change caused by the mobile intelligent terminal opens the sequence of mobile internet industry development and opens a new technical industry period. With the continuous development of the mobile intelligent terminal, the influence of the mobile intelligent terminal is more extensive than that of a shoulder radio, a television and the internet (PC), and the mobile intelligent terminal becomes a 4 th terminal product which has wide penetration, rapid popularization and great influence and can reach the aspects of human social life historically.
The intelligent mobile terminal is ubiquitous in daily life, particularly the intelligent mobile phone has the most basic telephone communication function, and various applications are layered endlessly, so that a user can complete various work and entertainment activities through the intelligent mobile terminal; the chat application is basically one of the most frequently used applications of all users; in the current application with message interaction, after the message is sent out, the message cannot be modified; for the error found after the message is sent, the message is withdrawn or deleted, and the correct message is rewritten and sent; or withdraw or delete after copying, paste into input box and send after modifying; for the two methods, the user experience is still good for the short messages; but for long messages with more contents, re-input takes as much time as before, or longer than before due to reorganization of language, forgetting, etc.; for the modification mode of pasting into the input box, because the input box is usually smaller, for the long messages with more contents, the whole contents cannot be displayed, the user needs to find up and down in the process of self-searching for errors, and then inserts the cursor by self after finding, and because the number of words displayed by the input box is limited, the cursor is difficult to be accurately inserted into the position to be modified, so that the user is difficult to search for the position to be modified. Furthermore, existing methods do not allow sent messages to be modified in a dialog box, whether rewritten or pasted into an input box modification.
Disclosure of Invention
The invention aims to provide a sent message modification method, a sent message modification device and a computer readable storage medium, so as to solve the problem that once a dialog message is sent out, the dialog message cannot be modified in a dialog box in the prior art.
The invention provides a sent message modification method, which is suitable for application with a dialogue message, and the method adds modification options in a menu bar of the sent message in advance; and when detecting that the sent message has a modification event, executing the following steps:
marking the characters needing to be modified in the message;
executing the modification operation of the user to the message; and after the modification is finished, the message is retransmitted.
Preferably, before marking the text needing to be modified in the message, the method further performs the following steps:
checking whether the message has a stored modification state;
if yes, loading the modification state;
otherwise, searching the characters needing to be modified in the message; the words to be modified include wrongly written words and/or phrases.
Preferably, the method, while searching for the text that needs to be modified in the message, further performs the following steps of changing message attributes:
changing the font color of the message into a first color;
checking the sent time length of the message;
judging the size of the sent time length and the preset withdrawable time length;
if the sent time length is less than or equal to the withdrawable time length, withdrawing the message in a dialog box of the opposite side and displaying the message to withdraw;
if the sent time length is longer than the revocable time length, the state of the message is changed to be modified in the dialog box of the opposite party.
Preferably, the method marks the text to be modified with a second color and/or a modification line.
Preferably, the step of executing the operation of modifying the message by the user specifically includes:
automatically generating associated characters in the character selection box according to the context of the characters which need to be modified currently;
receiving user operation and judging the current operation type;
if the current operation type is deletion, executing deletion operation;
and if the current operation is input, replacing the current character needing to be modified by the character input by the user, and displaying the modified character by a third color.
Preferably, the method further performs the following steps simultaneously during the modification process:
receiving a user instruction, and judging the type of the instruction;
if the instruction is an exit instruction, the current modification state of the message is saved, and the modification is exited;
and if the command is a modification ending command, accepting all modifications to the message, canceling all modification marks, and displaying the message by the font color set by the current conversation.
Preferably, the menu bar of the sent message is preset with a sending option, and the menu bar of the sent message is called by pressing the sent message for a long time.
The present invention also provides a sent message modification apparatus, the apparatus comprising:
the marking program module is used for marking the characters needing to be modified in the sent message;
and the modification program module is used for receiving and executing the modification operation of the user on the sent message, and resending the message after the modification is finished.
Preferably, the apparatus further comprises a control program module, wherein,
the marking program module is used for checking whether the sent message with the modification event has a stored modification state; when the message has a stored modification state, loading the modification state; when the message has no stored modification state, searching characters needing to be modified in the message;
the control program module is used for changing the attribute of the sent message; and the message processing device is used for receiving a user instruction, judging the type of the instruction, saving the current modification state of the message when the instruction is an exit instruction, and exiting modification; when the instruction is a modification ending instruction, receiving all modifications to the message, canceling all modification marks, and displaying the message by using the font color set by the current conversation;
the modification program module is used for automatically generating associated characters in the character selection frame according to the context of the characters needing to be modified currently; used for judging the received operation type; and when the operation type is deleting, executing deleting operation; and when the operation type is input, replacing the characters needing to be modified currently by the characters input by the user, and displaying the modified characters by using a third color.
The present invention further provides a computer readable storage medium having stored thereon a program or instructions executable by a processor for implementing the steps of the sent message modification method described above.
The invention provides a way for triggering the sent message modification event for the user by presetting options in the menu bar of the sent message, and automatically searches for errors and marks the errors for the user to refer when the sent message modification event is detected; the invention carries out the modification process of the sent message in the dialog box, and increases the visual content of the long message; the problem that the sent message cannot be modified in the dialog box in the prior art is solved, the dialog speed is improved, and the user experience is improved.
Drawings
Fig. 1 is a schematic diagram of a hardware structure of an optional mobile terminal for implementing various embodiments of the present invention;
fig. 2 is a diagram of a communication network system architecture according to an embodiment of the present invention;
FIG. 3 is a flow chart of a first preferred embodiment of a sent message modification method according to the present invention;
FIG. 4 is a flowchart of a second preferred embodiment of a sent message modification method according to the present invention;
FIG. 5 is a flowchart of a third preferred embodiment of a sent message modification method in accordance with the present invention;
FIG. 6 is a diagram illustrating an application example of a sent message modification method according to the present invention;
FIG. 7 is a schematic block diagram of a first preferred embodiment of a sent message modification apparatus according to the present invention;
fig. 8 is a schematic block diagram of a second preferred embodiment of the transmitted message modification apparatus according to the present invention.
Reference numerals:
Figure GDA0002469254880000051
Figure GDA0002469254880000061
Figure GDA0002469254880000071
the implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
In the following description, suffixes such as "module", "component", or "unit" used to denote elements are used only for facilitating the explanation of the present invention, and have no specific meaning in itself. Thus, "module", "component" or "unit" may be used mixedly.
The terminal may be implemented in various forms. For example, the terminal described in the present invention may include a mobile terminal such as a mobile phone, a tablet computer, a notebook computer, a palmtop computer, a Personal Digital Assistant (PDA), a Portable Media Player (PMP), a navigation device, a wearable device, a smart band, a pedometer, and the like, and a fixed terminal such as a Digital TV, a desktop computer, and the like.
The following description will be given by way of example of a mobile terminal, and it will be understood by those skilled in the art that the construction according to the embodiment of the present invention can be applied to a fixed type terminal, in addition to elements particularly used for mobile purposes.
Referring to fig. 1, which is a schematic diagram of a hardware structure of a mobile terminal for implementing various embodiments of the present invention, the mobile terminal 100 may include: RF (Radio Frequency) unit 101, WiFi module 102, audio output unit 103, a/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, and power supply 111. Those skilled in the art will appreciate that the mobile terminal architecture shown in fig. 1 is not intended to be limiting of mobile terminals, which may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile terminal in detail with reference to fig. 1:
the radio frequency unit 101 may be configured to receive and transmit signals during information transmission and reception or during a call, and specifically, receive downlink information of a base station and then process the downlink information to the processor 110; in addition, the uplink data is transmitted to the base station. Typically, radio frequency unit 101 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 101 can also communicate with a network and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA2000(Code Division Multiple Access 2000), WCDMA (Wideband Code Division Multiple Access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access), FDD-LTE (Frequency Division duplex Long Term Evolution), and TDD-LTE (Time Division duplex Long Term Evolution).
WiFi belongs to short-distance wireless transmission technology, and the mobile terminal can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 102, and provides wireless broadband internet access for the user. Although fig. 1 shows the WiFi module 102, it is understood that it does not belong to the essential constitution of the mobile terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The audio output unit 103 may convert audio data received by the radio frequency unit 101 or the WiFi module 102 or stored in the memory 109 into an audio signal and output as sound when the mobile terminal 100 is in a call signal reception mode, a call mode, a recording mode, a voice recognition mode, a broadcast reception mode, or the like. Also, the audio output unit 103 may also provide audio output related to a specific function performed by the mobile terminal 100 (e.g., a call signal reception sound, a message reception sound, etc.). The audio output unit 103 may include a speaker, a buzzer, and the like.
The a/V input unit 104 is used to receive audio or video signals. The a/V input Unit 104 may include a Graphics Processing Unit (GPU) 1041 and a microphone 1042, the Graphics processor 1041 Processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The processed image frames may be displayed on the display unit 106. The image frames processed by the graphic processor 1041 may be stored in the memory 109 (or other storage medium) or transmitted via the radio frequency unit 101 or the WiFi module 102. The microphone 1042 may receive sounds (audio data) via the microphone 1042 in a phone call mode, a recording mode, a voice recognition mode, or the like, and may be capable of processing such sounds into audio data. The processed audio (voice) data may be converted into a format output transmittable to a mobile communication base station via the radio frequency unit 101 in case of a phone call mode. The microphone 1042 may implement various types of noise cancellation (or suppression) algorithms to cancel (or suppress) noise or interference generated in the course of receiving and transmitting audio signals.
The mobile terminal 100 also includes at least one sensor 105, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor that can adjust the brightness of the display panel 1061 according to the brightness of ambient light, and a proximity sensor that can turn off the display panel 1061 and/or a backlight when the mobile terminal 100 is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
The display unit 106 is used to display information input by a user or information provided to the user. The Display unit 106 may include a Display panel 1061, and the Display panel 1061 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like.
The user input unit 107 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the mobile terminal. Specifically, the user input unit 107 may include a touch panel 1071 and other input devices 1072. The touch panel 1071, also referred to as a touch screen, may collect a touch operation performed by a user on or near the touch panel 1071 (e.g., an operation performed by the user on or near the touch panel 1071 using a finger, a stylus, or any other suitable object or accessory), and drive a corresponding connection device according to a predetermined program. The touch panel 1071 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 110, and can receive and execute commands sent by the processor 110. In addition, the touch panel 1071 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. In addition to the touch panel 1071, the user input unit 107 may include other input devices 1072. In particular, other input devices 1072 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like, and are not limited to these specific examples.
Further, the touch panel 1071 may cover the display panel 1061, and when the touch panel 1071 detects a touch operation thereon or nearby, the touch panel 1071 transmits the touch operation to the processor 110 to determine the type of the touch event, and then the processor 110 provides a corresponding visual output on the display panel 1061 according to the type of the touch event. Although the touch panel 1071 and the display panel 1061 are shown in fig. 1 as two separate components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 1071 and the display panel 1061 may be integrated to implement the input and output functions of the mobile terminal, and is not limited herein.
The interface unit 108 serves as an interface through which at least one external device is connected to the mobile terminal 100. For example, the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device having an identification module, an audio input/output (I/O) port, a video I/O port, an earphone port, and the like. The interface unit 108 may be used to receive input (e.g., data information, power, etc.) from external devices and transmit the received input to one or more elements within the mobile terminal 100 or may be used to transmit data between the mobile terminal 100 and external devices.
The memory 109 may be used to store software programs as well as various data. The memory 109 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 109 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The processor 110 is a control center of the mobile terminal, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by operating or executing software programs and/or modules stored in the memory 109 and calling data stored in the memory 109, thereby performing overall monitoring of the mobile terminal. Processor 110 may include one or more processing units; preferably, the processor 110 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The mobile terminal 100 may further include a power supply 111 (e.g., a battery) for supplying power to various components, and preferably, the power supply 111 may be logically connected to the processor 110 via a power management system, so as to manage charging, discharging, and power consumption management functions via the power management system.
Although not shown in fig. 1, the mobile terminal 100 may further include a bluetooth module or the like, which is not described in detail herein.
In order to facilitate understanding of the embodiments of the present invention, a communication network system on which the mobile terminal of the present invention is based is described below.
Referring to fig. 2, fig. 2 is an architecture diagram of a communication Network system according to an embodiment of the present invention, where the communication Network system is an LTE system of a universal mobile telecommunications technology, and the LTE system includes a UE (User Equipment) 201, an E-UTRAN (Evolved UMTS Terrestrial Radio Access Network) 202, an EPC (Evolved Packet Core) 203, and an IP service 204 of an operator, which are in communication connection in sequence.
Specifically, the UE201 may be the terminal 100 described above, and is not described herein again.
The E-UTRAN202 includes eNodeB2021 and other eNodeBs 2022, among others. Among them, the eNodeB2021 may be connected with other eNodeB2022 through backhaul (e.g., X2 interface), the eNodeB2021 is connected to the EPC203, and the eNodeB2021 may provide the UE201 access to the EPC 203.
The EPC203 may include an MME (Mobility Management Entity) 2031, an HSS (Home Subscriber Server) 2032, other MMEs 2033, an SGW (Serving gateway) 2034, a PGW (PDN gateway) 2035, and a PCRF (Policy and Charging Rules Function) 2036, and the like. The MME2031 is a control node that handles signaling between the UE201 and the EPC203, and provides bearer and connection management. HSS2032 is used to provide registers to manage functions such as home location register (not shown) and holds subscriber specific information about service characteristics, data rates, etc. All user data may be sent through SGW2034, PGW2035 may provide IP address assignment for UE201 and other functions, and PCRF2036 is a policy and charging control policy decision point for traffic data flow and IP bearer resources, which selects and provides available policy and charging control decisions for a policy and charging enforcement function (not shown).
The IP services 204 may include the internet, intranets, IMS (IP Multimedia Subsystem), or other IP services, among others.
Although the LTE system is described as an example, it should be understood by those skilled in the art that the present invention is not limited to the LTE system, but may also be applied to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA, and future new network systems.
Based on the above mobile terminal hardware structure and communication network system, the present invention provides various embodiments of the method.
As shown in fig. 3, it is a flowchart of a first preferred embodiment of the sent message modification method according to the present invention, and the present embodiment includes the following steps:
step S100: detecting that a modification event occurs to the sent message, and simultaneously executing the step S101 and the step S102;
the invention adds modification options in the menu bar of the sent message in advance, and the user can call the menu bar by the sent message modified according to the requirement, and then selects the modification options to trigger modification events; that is, when a user needs to modify a certain sent message, the user only needs to press the message for a long time and select a modification option in a popped-up menu bar to trigger the invention.
Step S101: changing the attribute of the message; the font color included in the local dialog box and the current state in the counterpart dialog box; turning to step S103 for execution;
the method specifically comprises the following steps:
step S1010: changing the font color of the message in the local dialog box into a first color;
step S1011: checking the sent duration L of the message;
step S1012: judging the sent time length L and the preset withdrawable time length L0The size of (d); if the sent time length L is less than or equal to the revocable time length L0Then, go to step S1013; if the sent duration L is greater than the revocable duration L0Then go to step S1014;
step S1013: withdrawing the message in the dialog box of the opposite party and displaying the message withdrawal; the position of the message in the local dialog box is unchanged;
that is, the sent message is modified for a certain time, and the message is equivalent to withdrawal for the opposite user; for a local user, the position of the message in the dialog box is directly modified, the user can adjust the display position of the original dialog box information by sliding the screen up and down, and the message is displayed in the dialog box, so that the message can be completely displayed, and the user can conveniently read and check the message; and after the modification is finished, the message is retransmitted.
Step S1014: the position of the message in the dialog boxes of the two parties is not changed, but the dialog box of the other party prompts that the message is being modified;
that is, after a period of time, the sent message cannot perform the withdrawal operation, and at this time, if the message needs to be modified, the other party can only be informed that the message is being modified in a notification manner; and after the modification is finished, the message is retransmitted.
Step S102: searching and marking the characters needing to be modified in the message;
in this step, the character to be modified can be marked with a second color and/or a modification line; for example, displayed in red and scratched out with a single or double strikethrough.
The characters to be modified comprise wrongly written characters and/or phrases.
Step S103: executing modification operation of the user on the message;
the method specifically comprises the following steps:
step S1030: automatically generating associated characters in the character selection box according to the context of the characters which need to be modified currently for selection by a user;
the user can slide and insert a cursor or select the cursor on the character to be modified by fingers; that is, the invention can input the correct character to modify the error after deleting the character which needs to be modified by inserting the cursor, and can also select the character which needs to be modified, and modify the error by selecting the character to be replaced in the character selecting box or inputting the correct character to replace the selected character.
Step S1031: receiving user operation;
step S1032: judging the current operation type; if the deletion is detected, step S1033 is executed; if yes, go to step S1034;
step S1033: executing the deleting operation, and finishing the execution of the current operation;
step S1034: replacing the characters needing to be modified currently by the input characters, marking the modified characters by a third color, and finishing the current operation execution;
the user can execute corresponding operation according to the requirement until all the characters needing to be modified are modified.
Step S104: after receiving a modification ending instruction, receiving all modifications to the message and canceling all modification marks, and displaying the message by using a default font color of a dialog box; simultaneously resending the message; the current message processing ends.
In practical applications, the enter command may be defined as a modified end command.
In the invention, if the color of the font set by the current conversation is black, the first color can be selected from gray, the second color can be selected from red, and the third color can be selected from green; that is, all three colors are distinguished from the font color of the current dialog setting to indicate that the message is in modification.
The embodiment provides an example of modifying any sent message, and solves the problems that in the prior art, once the message is sent, the message is required to be modified or withdrawn after being copied, and then is pasted and edited in an input box; or directly withdrawing and re-inputting; the problem of being unable to make modifications on the basis of sent messages.
In the actual modification process, the situation that temporary quitting is needed in the midway may exist, and in the modification process, whether a quitting instruction is received or not can be detected at the same time; if yes, all modifications of the current message by the user are saved; and then, if the user selects to modify the message again, directly entering an interface for modifying the message last time, and continuing to modify the message last time.
Fig. 4 is a flowchart of a second preferred embodiment of the sent message modification method according to the present invention; the embodiment comprises the following steps:
step S200: detecting that a modification event occurs to a sent message;
step S201: judging whether the message has a stored modification state, if so, executing step S209; otherwise, step S202 and step S207 are executed simultaneously;
step S202: changing the font color of the message to a first color;
in various applications with interactive messages, the default message font color is generally black, and the message font color to be modified by the present invention is displayed in a first color, such as gray, to illustrate that the message is being modified to distinguish it from the message sent without modification, so that the user can more easily see the message being modified.
Step S203: checking the sent duration L of the message;
step S204: judging the sent time length L and the preset withdrawable time length L0The size of (d); if the sent time length L is less than or equal to the revocable time length L0Then, go to step S205; if the sent duration L is greater than the revocable duration L0Then, go to step S206;
step S205: withdrawing the message in the dialog box of the opposite party and displaying the message withdrawal; the position of the message in the local dialog box is unchanged; executing step S210;
that is, the sent message is modified for a certain time, and the message is equivalent to withdrawal for the opposite user; for a local user, the position of the message in the dialog box is directly modified, the user can adjust the display position of the original dialog box information by sliding the screen up and down, and the message is displayed in the dialog box, so that the message can be completely displayed, and the user can conveniently read and check the message; after the modification is completed, the retransmission can be selected.
Step S206: the position of the message in the dialog boxes of the two parties is not changed, but the dialog box of the other party prompts that the message is being modified; executing step S210;
that is, after a period of time, the sent message cannot perform the withdrawal operation, and at this time, if the message needs to be modified, the other party can only be informed that the message is being modified in a notification manner;
step S207: searching the characters needing to be modified in the message;
the characters to be modified comprise wrongly written characters and/or phrases.
In the step, the characters needing to be modified can be searched according to the historical information and the context of the characters or phrases in the information;
step S208: marking the searched characters needing to be modified; executing step S210;
the step can mark the character needing to be modified by using a second color and/or a modifying line; for example, text that needs to be modified may be displayed in red and scratched out with a single or double strikethrough.
Step S209: loading the saved modified state of the message;
after loading, the modified state will be re-presented to the user when the last mid-way exit is made, and the user can continue with the previous modification. For example, there are three wrong words in a message, before exiting, the user has modified two of them, the modified two words are displayed in the third color, and the unmodified word is still displayed in the second color; after the user selects to exit, the state is saved, and after the state is emphasized again, the state which is still presented to the user before exiting is presented to the user.
Step S210: detecting whether a modification ending instruction is received, if yes, executing step S218; otherwise, go to step S211;
step S211: detecting whether an exit instruction is received, if yes, executing step S217; otherwise, go to step S212;
step S212: automatically generating associated characters or phrases in a character selection frame according to the context of the characters needing to be modified currently and the commonly used characters and phrases of the user for the user to select;
step S213: receiving user operation;
step S214: judging the current operation type; if the deletion is detected, go to step S215; if yes, go to step S216;
step S215: executing the deleting operation, and turning to the step S210;
step S216: replacing the current character to be modified with the character input by the user, marking the modified character with a third color, and turning to step S210;
the user can modify the characters required to be modified in sequence according to the requirement until the modification is finished or quitting.
Step S217: saving a current modification state of the message; the current message processing is finished;
and then, if the user selects to modify the message again, directly entering an interface for modifying the message last time, and continuing to modify the message last time.
Step S218: accepting all modifications to the message and canceling all modification flags, displaying the message in the font color set by the current dialog; and resending the message, and finishing the current message processing.
Compared with the first embodiment, the difference is that the present embodiment provides a function of quitting in the middle of the modification process, for example, when a user wants to check a new message in the modification process, the user can choose to quit the modification, at this time, the previous modification is saved, when the user selects the message again for modification, the saved modification is directly loaded, the user continues to modify the message, the message does not need to be modified again, the modification speed is higher, and the user experience is better.
In practical applications, there may be situations where a user modifies a sent message but does not want to resend it; therefore, the invention presets the sending option in the menu bar of the sent message in advance, and the user can set the message which is modified to be automatically or manually resent; when the user selects the modification end automatic retransmission, that is, as shown in the second embodiment, and when the user selects the modification end manual retransmission, the message can be retransmitted by selecting to transmit the message after the modification is finished by calling the menu bar of the message in a pop-up manner, for example, as shown in the third embodiment shown in fig. 5.
As shown in fig. 5, which is a flowchart of a third preferred embodiment of the method of the present invention, this embodiment sets modification and sending options in a menu bar of a sent message in advance, and specifically includes the following steps:
step S300: detecting that a menu bar of a sent message is called;
step S301: judging the received option type, if the option type is modified, executing step S302; if the transmission is yes, go to step S318;
step S302: judging whether the message has a stored modification state, if so, executing a step S309; otherwise, step S303 and step S308 are executed simultaneously;
step S303: changing the font color of the message to a first color;
in various applications with interactive messages, the default message font color is generally black, and the message font color to be modified by the present invention is displayed in a first color, such as gray, to indicate that the message is being modified to be distinguished from the message that is not being modified, so that the user can more easily see the message being modified.
Step S304: checking the sent duration L of the message;
step S305: judging the sent time length L and the preset withdrawable time length L0The size of (d); if the sent time length L is less than or equal to the revocable time length L0Then, go to step S306; if the sent duration L is greater than the revocable duration L0Then, go to step S307;
step S306: withdrawing the message in the dialog box of the opposite party and displaying the message withdrawal; the position of the message in the local dialog box is unchanged; step S311 is executed;
that is, the sent message is modified for a certain time, and the message is equivalent to withdrawal for the opposite user; for a local user, the position of the message in the dialog box is directly modified, the user can adjust the display position of the original dialog box information by sliding the screen up and down, and the message is displayed in the dialog box, so that the message can be completely displayed, and the user can conveniently read and check the message; after the modification is completed, the retransmission can be selected.
Step S307: the position of the message in the dialog boxes of the two parties is not changed, but the dialog box of the other party prompts that the message is being modified; step S311 is executed;
that is, after a period of time, the sent message cannot perform the withdrawal operation, and at this time, if the message needs to be modified, the other party can only be informed that the message is being modified in a notification manner;
step S308: searching and marking the characters needing to be modified in the message; step S310 is executed;
in the step, the characters needing to be modified can be searched according to the historical information and the context of the characters or phrases in the information;
in this step, the character to be modified can be marked with a second color and/or a modification line; for example, text that needs to be modified may be displayed in red and scratched out with a single or double strikethrough.
Step S309: loading the saved modified state;
step S310: detecting whether a modification ending instruction is received, if so, executing step S317; otherwise, go to step S311;
step S311: detecting whether an exit instruction is received, if yes, executing step S316; otherwise, go to step S312;
step S312: automatically generating associated characters or phrases in a character selection frame according to the context of the current characters needing to be modified for a user to select;
step S313: receiving user operation and judging the operation type; if the deletion is detected, go to step S314; if yes, go to step S315;
step S314: executing a deleting operation; step S310 is executed;
step S315: replacing the current character to be modified with the character input by the user, and displaying the modified character with a third color; step S310 is executed;
the user can modify the characters required to be modified in sequence according to the requirement until the modification is finished or quitting.
Step S316: saving the current modification state of the message, and quitting modification; the current operation processing is finished;
and then, if the user selects to modify the message again, directly entering an interface for modifying the message last time, and continuing to modify the message last time.
Step S317: accepting all modifications to the message and canceling all modification flags, displaying the message in the font color set by the current dialog; the current operation processing is finished;
step S318: and re-sending the message, and finishing the operation processing.
The embodiment not only provides modification options for the user, but also provides sending options, the user can resend the sent message by simply clicking, and compared with the existing method for resending the sent message, the method for resending the sent message is simple and convenient because the message needs to be copied firstly and then pasted into the input box, and then the sent message is sent again.
FIG. 6 is a diagram illustrating an exemplary application of the method of the present invention; in this example, the character to be modified is an error character, and after the user selects a modification option in the popped-up menu bar, the screen display is as shown in the figure, wherein 1 is the searched error character and marked by a single deletion line; 2, selecting a character box, wherein the character is an association character automatically generated according to the found wrong character, and 3, selecting an input box; 4 is a keyboard, in the figure, the message sent by the user a is: what is RIA? The message replied by the user B is: RIA is a light tool to help users improve reading efficiency. According to the context, find out that the 'light' in the 'light of things' is a wrongly written word, and the association words generated according to the conversation context and the user common words are 1-sign, 2-work, 3-Jie and 4-profit in sequence. If the character in the character selecting frame has the correct character, the user can select to use the character in the character selecting frame to modify the wrong character or input the correct character by himself, and when the user inputs the character in the character selecting frame becomes the character input by the user. The user may click on the screen blank to exit the modification and click on the completion link bundle modification on the keyboard.
Fig. 7 is a schematic block diagram of a first preferred embodiment of the sent message modification apparatus according to the present invention, which includes a marking program module 10 and a modification program module 20, wherein,
a marking program module 10, which is used for marking the characters needing to be modified in the sent message;
and the modification program module 20 is used for receiving and executing the modification operation of the user on the sent message, and resending the message after the modification is finished.
Fig. 8 is a schematic block diagram of a second preferred embodiment of the sent message modification apparatus according to the present invention, where the second preferred embodiment includes a marking program module 10, a modification program module 20, and a control program module 30, where the marking program module 10 is configured to check whether a sent message that has a modification event has a stored modification state; when the message has a stored modification state, directly loading the modification state; when the message has no stored modification state, searching the characters needing to be modified in the message, and marking the characters needing to be modified by using a second color and/or a modification line;
a modification program module 20, configured to receive and execute a modification operation of the sent message by the user; the method specifically comprises the following steps: the method comprises the steps of automatically generating associated characters in a character selection box according to the context of the characters needing to be modified currently; used for judging the received operation type; and when the operation type is deleting, executing deleting operation; when the operation type is input, replacing the current character needing to be modified by the character input by the user, and marking the modified character by a third color; and resending the message when the modification is finished;
the control program module 30 is configured to, when a modification event occurs to a sent message, change an attribute of the message, and specifically includes: changing the font color of the message to a first color; checking the sent time length of the message; judging the size of the sent time length and a preset withdrawable time length; and when the sent time length is less than or equal to the withdrawable time length, withdrawing the message in a dialog box of the opposite party and displaying the message withdrawal; when the sent time length is greater than the revocable time length, the state of the message is marked as being modified in a dialog box of the opposite party; and the message processing device is used for receiving a user instruction, judging the type of the instruction, saving the current modification state of the message when the instruction is an exit instruction, and exiting modification; and when the instruction is a modification ending instruction, accepting all modifications to the message and canceling all modification marks, and displaying the message in the font color set by the current conversation.
The invention also discloses a computer readable storage medium, which stores program or instruction that can be executed by a processor for implementing the sent message modification method steps.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (8)

1. A sent message modification method is applied to an application with a dialogue message and is characterized in that a modification option is added in a menu bar of the sent message in advance; and when detecting that the sent message has a modification event, executing the following steps:
the method for modifying the message attribute while searching the text to be modified in the message specifically comprises the following steps: changing the font color of the message to a first color;
checking the sent time length of the message;
judging the size of the sent time length and a preset withdrawable time length;
if the sent time length is less than or equal to the withdrawable time length, withdrawing the message in a dialog box of the opposite side and displaying the message withdrawal;
if the sent time length is longer than the withdrawable time length, the state of the message is changed to be modified in a dialog box of the opposite side;
checking whether the message has a stored modification state;
if yes, loading the modification state;
otherwise, searching the characters needing to be modified in the message; the characters needing to be modified comprise wrongly written characters and/or phrases, and the characters needing to be modified in the message are marked; executing modification operation of the user on the message; and resending the message after the modification is finished.
2. A sent message modification method according to claim 1, characterized in that the method marks the text to be modified with a second color and/or a modification line.
3. The sent message modification method according to claim 1, wherein the step of performing the user modification operation on the message specifically comprises:
automatically generating associated characters in the character selection box according to the context of the characters which need to be modified currently;
receiving user operation and judging the current operation type;
if the current operation type is deletion, executing deletion operation;
and if the current operation is input, replacing the current character needing to be modified by the character input by the user, and displaying the modified character by a third color.
4. A sent message modification method according to claim 1, characterized in that said method, during modification, also performs simultaneously the following steps:
receiving a user instruction, and judging the type of the instruction;
if the message is an exit instruction, the current modification state of the message is stored, and the message exits from modification;
and if the command is a modification ending command, accepting all modifications to the message and canceling all modification marks, and simultaneously displaying the message in the font color set by the current conversation.
5. The sent message modification method according to claim 1, wherein the menu bar of the sent message is preset with a sending option, and the menu bar of the sent message is called by long-pressing the sent message.
6. A sent message modification apparatus, the apparatus comprising:
the program control module is configured to change an attribute of a sent message when a modification event occurs to the message, and specifically includes: changing the font color of the message to a first color;
checking the sent time length of the message;
judging the size of the sent time length and a preset withdrawable time length;
if the sent time length is less than or equal to the withdrawable time length, withdrawing the message in a dialog box of the opposite side and displaying the message withdrawal;
if the sent time length is longer than the withdrawable time length, the state of the message is changed to be modified in a dialog box of the opposite side;
the marking program module is used for checking whether the sent message with the modification event has a stored modification state; when the message has the stored modification state, loading the modification state; when the message has no stored modification state, searching characters needing to be modified in the message, wherein the characters needing to be modified comprise wrongly written characters and/or phrases, and marking the characters needing to be modified in the sent message;
and the modification program module is used for receiving and executing the modification operation of the user on the sent message, and resending the message after the modification is finished.
7. The sent message modification apparatus of claim 6, wherein said apparatus further comprises a control program module, wherein,
the control program module is used for changing the attribute of the sent message; and the message processing device is used for receiving a user instruction, judging the type of the instruction, saving the current modification state of the message when the instruction is an exit instruction, and exiting modification; when the instruction is a modification ending instruction, accepting all modifications to the message and canceling all modification marks, and displaying the message in the font color set by the current conversation;
the modifying program module is used for automatically generating associated characters in the character selecting frame according to the context of the characters needing to be modified currently; used for judging the received operation type; and when the operation type is deleting, executing deleting operation; and when the operation type is input, replacing the characters needing to be modified currently by the characters input by the user, and displaying the modified characters by using a third color.
8. A computer-readable storage medium having stored thereon a program or instructions executable by a processor for implementing the steps of the sent message modification method of any of claims 1-5.
CN201810060324.2A 2018-01-22 2018-01-22 Sent information modification method and device and computer readable storage medium Active CN108377289B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810060324.2A CN108377289B (en) 2018-01-22 2018-01-22 Sent information modification method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810060324.2A CN108377289B (en) 2018-01-22 2018-01-22 Sent information modification method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN108377289A CN108377289A (en) 2018-08-07
CN108377289B true CN108377289B (en) 2021-02-09

Family

ID=63016661

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810060324.2A Active CN108377289B (en) 2018-01-22 2018-01-22 Sent information modification method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN108377289B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109309614A (en) * 2018-11-30 2019-02-05 努比亚技术有限公司 A kind of message modification method, mobile terminal, server and storage medium
CN109558054A (en) * 2018-11-30 2019-04-02 努比亚技术有限公司 A kind of message treatment method of mobile terminal, mobile terminal and storage medium
CN110545236A (en) * 2019-09-04 2019-12-06 网易(杭州)网络有限公司 Instant messaging message modification method and device, storage medium and electronic equipment
CN110995919B (en) * 2019-11-08 2021-07-20 维沃移动通信有限公司 Message processing method and electronic equipment
CN111913625A (en) * 2020-08-20 2020-11-10 网易(杭州)网络有限公司 Message processing method and device and electronic equipment
CN112035206B (en) * 2020-09-01 2021-08-24 腾讯科技(深圳)有限公司 Message processing method and device
CN113065345A (en) * 2021-04-01 2021-07-02 南京维沃软件技术有限公司 Information processing method and information processing apparatus
CN116155845A (en) * 2021-11-19 2023-05-23 腾讯科技(深圳)有限公司 Group message processing method, group message processing device, storage medium and computer program product

Family Cites Families (5)

* 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
CN104281649B (en) * 2014-09-09 2017-04-19 北京搜狗科技发展有限公司 Input method and device and electronic equipment
CN104735631B (en) * 2014-12-09 2019-05-10 惠州Tcl移动通信有限公司 The method and system of simultaneously operating note data
CN107241257A (en) * 2016-03-29 2017-10-10 阿里巴巴集团控股有限公司 A kind of information interacting method and device
CN106201554A (en) * 2016-07-25 2016-12-07 珠海市魅族科技有限公司 A kind of the text field modification method and device

Also Published As

Publication number Publication date
CN108377289A (en) 2018-08-07

Similar Documents

Publication Publication Date Title
CN108377289B (en) Sent information modification method and device and computer readable storage medium
CN108037893B (en) Display control method and device of flexible screen and computer readable storage medium
CN108572764B (en) Character input control method and device and computer readable storage medium
CN108009136B (en) Message correction method, mobile terminal and computer readable storage medium
CN108093123A (en) A kind of message informing processing method, terminal and computer readable storage medium
CN109905545B (en) Message processing method, terminal and computer readable storage medium
CN109697008B (en) Content sharing method, terminal and computer readable storage medium
CN107807767B (en) Communication service processing method, terminal and computer readable storage medium
CN107168626B (en) Information processing method and device and computer readable storage medium
CN109766119B (en) Recovery partition upgrade method, terminal and computer readable storage medium
CN112306799A (en) Abnormal information acquisition method, terminal device and readable storage medium
CN108196774B (en) Message lookup method, flexible screen terminal and computer readable storage medium
CN109408187B (en) Head portrait setting method and device, mobile terminal and readable storage medium
CN108200287B (en) Information processing method, terminal and computer readable storage medium
CN107317930B (en) Desktop icon layout method and device and computer readable storage medium
CN110083294B (en) Screen capturing method, terminal and computer readable storage medium
CN111931155A (en) Verification code input method, verification code input equipment and storage medium
CN109495643B (en) Object multi-chat frame setting method and terminal
CN109522064B (en) Interaction method and interaction device of portable electronic equipment with double screens
CN113064536B (en) Processing method, processing device and readable storage medium
CN115494997A (en) Information reading method, intelligent terminal and storage medium
CN109544170B (en) Transaction snapshot verification method, device and computer readable storage medium
CN109656658B (en) Editing object processing method and device and computer readable storage medium
CN109144747B (en) Data processing method, terminal and computer readable storage medium
CN108063865B (en) Information display method, mobile terminal and readable storage medium

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