CN109309614A - A kind of message modification method, mobile terminal, server and storage medium - Google Patents

A kind of message modification method, mobile terminal, server and storage medium Download PDF

Info

Publication number
CN109309614A
CN109309614A CN201811458363.4A CN201811458363A CN109309614A CN 109309614 A CN109309614 A CN 109309614A CN 201811458363 A CN201811458363 A CN 201811458363A CN 109309614 A CN109309614 A CN 109309614A
Authority
CN
China
Prior art keywords
message
modification
client
request
server
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.)
Pending
Application number
CN201811458363.4A
Other languages
Chinese (zh)
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 CN201811458363.4A priority Critical patent/CN109309614A/en
Publication of CN109309614A publication Critical patent/CN109309614A/en
Pending legal-status Critical Current

Links

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/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes
    • 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]

Abstract

The embodiment of the invention discloses a kind of message modification methods, are applied to mobile terminal, which comprises receive the first operational order for first message in the first client;The first message is the hair message of first client to be modified;First request is sent to server based on first operational order;Wherein, first request is for modifying to the first message for server.In addition, the embodiment of the invention also provides a kind of mobile terminal, server and computer storage mediums.

Description

A kind of message modification method, mobile terminal, server and storage medium
Technical field
The present invention relates to the field of the communication technology more particularly to a kind of message modification method, mobile terminal, server and meters Calculation machine storage medium.
Background technique
In existing instant messaging technology, sender, can only if it find that message is wrong after sending message to recipient By recalling processing, however, but user utilize this function of revocation messages for no other reason than that have input the text or character of single error Can, it needs message just now being all re-entered into mobile terminal, it is clear that this is wasted time very much, is unfavorable for user experience.
Summary of the invention
It is a primary object of the present invention to propose a kind of message modification method, mobile terminal, server and computer storage Medium, it is intended to user experience caused by solving in the information exchange of existing mobile terminal that modification information is difficult, modification is complicated for operation etc. Bad problem.
To achieve the above object, on the one hand, the present invention proposes a kind of message modification method, is applied to mobile terminal, described Method includes:
Receive the first operational order for first message in the first client;The first message is to be modified described The hair message of first client;
First request is sent to server based on first operational order;Wherein, first request is for supplying Server modifies to the first message.
In above scheme, the method also includes:
Receive the second operational order for first message in the first client;
Based on the current time of second operational order, judge the time of the first message sending whether in pre- timing Between in range;
If receiving the first operational order for first message in the first client within the predetermined time.
In above scheme, the second operational order includes choosing instruction;
Second operational order received for first message in the first client, comprising:
Based on the selection instruction received, the wherein at least one conduct sent out in message in first client is chosen First message.
In above scheme, first operational order received for first message in the first client, comprising:
Receive the modification instruction for first message in the first client;
It is described that first request is sent to server based on first operational order, comprising:
It is instructed based on the modification, modifies to the first message, obtain second message;
The modification request for carrying second message is sent to the server.
It is described to be instructed based on the modification in above scheme, it modifies to the first message, obtains second message, Include:
It is instructed based on the modification, the volume for being directed to the first message is presented in the display interface of first client Collect frame;
Receive the modification information inputted in the edit box;
After instruction is completed in the input for receiving the modification information, the second message is obtained.
To achieve the above object, on the other hand, the present invention proposes a kind of message modification method, is applied to server, described Method includes:
Receive the first operation requests for first message sent from the first client;The first message is to be repaired The hair message of first client changed;
Based on first operation requests, the first message status is determined;
Based on the status of the first message, the modification strategy of first request is determined;
Based on the modification strategy, modify to the first message.
In above scheme, the first message status includes not sent to the second client state, wherein the second visitor Family end is the client of the first message to be received;
The status based on first message determines the modification strategy of first request, comprising:
Based on not sent to the second client state locating for the first message, the modification plan of first request is determined Slightly modified in service to the first message based on the first request.
In above scheme, the first message status includes being sent to the second client state, wherein described the Two clients are to receive the client of the first message;
The status based on first message determines the modification strategy of the first message, comprising:
Locating based on the first message has been sent to the second client state, determines the modification of the first message Strategy is to be modified in second client to first message based on the first request.
In above scheme, first request includes modification request;Wherein, the first client is carried in the modification request To the second message obtained after first message modification;
It is described to be modified in the server to the first message based on first request, comprising:
Based on the second message carried in modification request, the second message is replaced into the first message and is stored in service In device.
In above scheme, first request includes modification request;Wherein, the first client is carried in the modification request To the second message obtained after first message modification;
It is described to be modified in the second client to first message based on first request, comprising:
Based on the second message carried in modification request, the second message is replaced into first in second client Message.
In addition, to achieve the above object, the invention proposes a kind of mobile terminal, the mobile terminal include processor, And pass through communication bus memory connected to the processor;Wherein, the memory, for storing the program of message modification;
The processor, for executing the program of the message modification, to realize message described in any of the above-described scheme Amendment step.
In addition, to achieve the above object, the invention proposes a kind of server, the server includes processor, and Pass through communication bus memory connected to the processor;Wherein,
The memory, for storing the program of message modification;
The processor, for executing the program of the message modification, to realize that message described in any of the above-described scheme is repaired Change step.
To achieve the above object, the invention proposes a kind of computer storage medium, the computer storage medium storages There is one or more program, one or more of programs can be executed by one or more processor, so that described one A or multiple processors execute message amendment step described in any of the above-described scheme.
Therefore, compared to the prior art, the embodiment of the present invention is proposed message modification method, mobile terminal, server And computer storage medium, it is only necessary to by sending the first request, first request to server based on the first operational order For modifying for server to the first message, it can be realized and modify to the message having been sent from, not only avoid The wrong embarrassment of sender's message hair, while also avoiding in only a small number of information input mistakes using recalling function to mistake Message recalled after to entire message updated brought by problem complicated for operation, save the input information of user Time, improve the user experience of mobile terminal.
Detailed description of the invention
Fig. 1 to realize the present invention in each embodiment an optional mobile terminal hardware structural diagram;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is an optional method flow schematic diagram of message modification provided by the embodiment of the present invention;
Fig. 4 is an optional application scenarios schematic diagram of message modification provided by the embodiment of the present invention;
Fig. 5 is the concrete application scene schematic diagram of message modification provided by the embodiment of the present invention;
Fig. 6 is another concrete application scene schematic diagram of message modification provided by the embodiment of the present invention;
Fig. 7 is another optional method flow schematic diagram of message modification provided by the embodiment of the present invention;
Fig. 8 is another optional application scenarios schematic diagram of message modification provided by the embodiment of the present invention.
Appended drawing reference:
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 may include: RF (Radio Frequency, 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, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal 100:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, by base station Downlink information receive after, to processor 110 handle;In addition, the data of uplink are sent to base station.In general, radio frequency unit 101 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, penetrating Frequency unit 101 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication Standard or agreement, including but not limited to GSM (Global System of Mobile communication, global system for mobile telecommunications System), GPRS (General Packet Radio Service, general packet radio service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal 100 can help user to receive and dispatch by WiFi module 102 Email, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 WiFi module 102 is shown, but it is understood that, and it is not belonging to must be configured into for mobile terminal 100, it completely can root It is omitted within the scope of not changing the essence of the invention according to needs.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, and eNodeB2021 is connected to EPC203, ENodeB2021 can provide the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the method for the present invention is proposed.
To solve prior art problem, the embodiment of the present invention proposes a kind of method, mobile terminal and meter that matching is made friends Calculation machine storage medium, the technical solution of the present invention is further elaborated in the following with reference to the drawings and specific embodiments.
The embodiment of the present invention provides a kind of message modification method, is applied to mobile terminal, Fig. 3 embodiment to realize the present invention The optional method flow schematic diagram of the one of provided message modification, as shown in figure 3, the message modification method includes following step It is rapid:
Step S310: the first operational order for first message in the first client is received;The first message be to The hair message of first client of modification.
Wherein, client can be understood as a mobile terminal, for example, the mobile end realized based on short-range communication technique Information exchange between end and mobile terminal, for example, bluetooth, infrared etc..
Alternatively, client is also understood that be equipped with the mobile terminal that can be carried out communication software, for example, being equipped with short The mobile terminal of the softwares such as letter, Ali Wang Wang, Tencent QQ, wechat, mailbox.
Specifically, Fig. 4 is seen, Fig. 4 is an optional application scenarios of message modification provided by the embodiment of the present invention Schematic diagram can carry out the message via server as shown in figure 4, the first client transmits a message to the second client Forwarding.
Further, different clients here, it should be understood that it is the mobile terminal of the software of two different accounts, In fact, may be considered two different clients using the software that same mobile terminal logs in two different accounts, for example, The wechat of user A and the wechat of user B can log in the same mobile terminal, but belong to different clients End.If the wechat of B, due to not logging in, server can keep in the information that A is sent to B, B is sent to when B is logged in.
In one embodiment, the method also includes: the second operation received for first message in the first client refers to It enables;Based on the current time of second operational order, judge the time of the first message sending whether in predetermined time model In enclosing;If receiving the first operational order for first message in the first client within the predetermined time.
Here, a pre-set time range, for example, it may be presetting 1 minute, that is to say, that disappear first After breath sending in 1 minute, it can receive to the first operational order;The first operational order can be no longer received if beyond 1 minute. Here, the first operational order can no longer be received, it can be understood as, mobile terminal provides the first behaviour that can be inputted no longer for user Make the keypress function of the first operational order provided by the key or mobile terminal that instruct by automatic shield.In this way, using super When after can not directly receive the first operational order, analysis and processing to instruction can be reduced for mobile terminal, save shifting The resource and energy consumption of dynamic terminal.
Further, second operational order received for first message in the first client, comprising: based on reception It is instructed to obtaining choosing, the wherein at least one in message has been sent out in selection first client as first message.
Specifically, referring to Fig. 5, Fig. 5 is the concrete application scene signal of message modification provided by the embodiment of the present invention Figure, as shown in figure 5, user Zhang San chooses the message as first message, also by screen position where long-pressing message It is first message to be modified.In other embodiments, it can also select to determine first by other selection operations Message, for example, being selected etc. using key is chosen.
Further, it after having chosen the first message, pops up for inputting the corresponding of the first operational order for user Key, at this point, mobile terminal, which is based on user's operation, receives first operational order, for example, working as user please continue to refer to Fig. 5 Popping up operation buttons, the user such as " duplication ", " forwarding " " modification " after having chosen first message, on screen can choose " modification " and presses Key modifies to the first message that this is chosen.
Step S320: first request is sent to server based on first operational order;Wherein, it described first asks It asks for modifying for server to the first message.
Here, the step S310 can actually be: receive the modification instruction for first message in the first client.
Further, the step S320, comprising: instructed based on the modification, modify, obtain to the first message To second message;The modification request for carrying second message is sent to the server.
Specifically, Fig. 6 is seen, Fig. 6 is another concrete application scene of message modification provided by the embodiment of the present invention Schematic diagram modifies to first message, obtains second message, comprising: base as shown in fig. 6, described instructed based on the modification It is instructed in the modification, the edit box 51 for being directed to the first message is presented in the display interface of first client;It connects Receive the modification information inputted in the edit box;After instruction is completed in the input for receiving the modification information, described the is obtained Two message.Here, the modification information is it is to be understood that the information modified in edit box 51, here, user can pass through Cursor in mobile edit box 51 generates a modification based on this modification to needing to modify to the text at the text modified Information, which, which characterizes which character in this section of text, is modified, and modified character is substituted the character Generate second message.In this way, not needing integrally to replace whole section of text, not only when user level saves the modification of user Between, and also only need for computer system to replace the text of its modification, at the calculating for equally also saving computer Manage the time.
Here, you need to add is that, the first message and/or second message not only can be text information, can be with It is voice messaging or pictorial information etc..It is described that first message is revised as second message, it can be and be revised as text information Voice messaging or even pictorial information;Or voice messaging is revised as text information or even pictorial information.Here different an example It lifts.In short, all photos and sending messages of the present embodiment can initiate modification request to server based on modification instruction, sent out with modification Information.
Compared to the prior art, the message modification method that the embodiment of the present invention is proposed, it is only necessary to by based on the first behaviour It instructs to server and sends the first request, first request is for modifying to the first message for server, i.e., It can be achieved to modify to the message having been sent from, not only avoid the wrong embarrassment of sender's message hair, while also avoiding Only a small number of information input mistake when entire message is updated after function recalls error message using recalling Brought problem complicated for operation saves the time of the input information of user, improves the user experience of mobile terminal.
On the other hand, the embodiment of the invention also provides a kind of message modification methods, are applied to server, and Fig. 7 is to realize Another optional method flow schematic diagram of message modification provided by the embodiment of the present invention, as shown in fig. 7, the message modification side Method the following steps are included:
Step S710: the first operation requests for first message sent from the first client are received;Described first Message is the hair message of first client to be modified.
Here, first operation requests are to characterize the first client to request the modification of first message.
Step S720: first operation requests are based on, determine the first message status.
Here, it should be noted that the first message status can be understood as current first message whether by The state that server is issued or do not issued, in practical applications, after the first message is sent to server by the first client, In some embodiments, these message, which can be, is sent to the second client by server immediately;In further embodiments, These can be according to preparatory scheduled rules of interaction, such as be sent to the second client via server again after the predetermined time. It is worth noting that, either sending or sending immediately after the predetermined time, this message is required to by server, by servicing Device is sent to the second client after carrying out transfer processing to the first message that the first client is sent.
S730: the status based on the first message determines the modification strategy of first request.
S740: it based on the modification strategy, modifies to the first message.
In one embodiment, state described in the first message includes not sent to the second client state, wherein institute State the client that the second client is the first message to be received;The status based on first message, determine described in The modification strategy of first request, comprising: based on not sent to the second client state locating for the first message, determine described in The modification strategy of first request is to be modified in the server to the first message based on the first request.That is, this When, since first message is also not sent to the second client, at this moment only need to modify the first message in server, after Continuous retransmit to the message of the second client is then modified message, in this way, the user of the second client will not learn for the first time The information of the mistake of transmission avoids the embarrassment that the first client user sends error message, is conducive to user experience.
Specifically, first request includes modification request, wherein carries the first client pair in the modification request The second message obtained after first message modification.Here, it should be noted that being modified based on the first client to first message Afterwards, after mobile terminal receives modified determining order, the second message obtained after the modification is sent with modification request To server, server receives modification request, and receives obtained second message after modification, so as in the server more The new first message.Here, it is modified in the server to the first message based on first request, comprising: base The second message is replaced the first message storage in the server by the second message carried in modification request.
In another embodiment, the first message status include be sent to the second client state, that is, Say that certain server still has the Message Record of first message at this point, the first message has been sent to the second client, Wherein, second client is to receive the client of the first message;The status based on first message determines The modification strategy of first message, comprising: locating based on the first message has been sent to the second client state, determine described in The modification strategy of first message is to be modified in second client to first message based on the first request.
Specifically, first request includes modification request;Wherein, the first client pair is carried in the modification request The second message obtained after first message modification;It is described that first message is repaired in the second client based on first request Change, comprising: based on the second message carried in modification request, first that the second message is replaced second client disappears Breath.
Here, it should be noted that the second message to be replaced to the specific steps of the first message of second client Again include: that first message first in the server is replaced, be substituted for second message, then server is by replaced Two message are sent to client again to replace the previous first message shown in the second client.In some implementations In example, referring to Fig. 8, Fig. 8 is another optional application scenarios schematic diagram of message modification provided by inventive embodiments, such as scheme Shown in 1, when server sends second message again to replace first message, the second client will be received to first received The change of message prompts, such as the prompt of " other side has modified message ".Certainly, in further embodiments, the change prompt will It is intercepted by the second client, in this way, what is sent described in can modifying in the unware situation of at least part user's energy disappears Breath sends the embarrassment of error message to avoid sender, and further the user experience is improved.
Compared to the prior art, the message modification method that the embodiment of the present invention is proposed, it is only necessary to which server is based on receiving The first operation requests arrived, determine the status of first message, based on different states with different modification strategies to One message is modified, and the second client for receiving message is avoided to discover modification as far as possible, and sender's message is avoided to send out Wrong embarrassment, and modification efficiency is improved, the user experience is improved spends.
Further, the present invention provides a kind of mobile terminals, and please continue to refer to Fig. 1, the mobile terminal 100 includes place The memory 109 that reason device 110 and communication bus (not shown) are connect with processor 110;Wherein,
The memory 109, for storing message modification program;
The processor 110, for executing message modification program, to perform the steps of
Receive the first operational order for first message in the first client;The first message is to be modified described The hair message of first client;
First request is sent to server based on first operational order;Wherein, first request is for supplying Server modifies to the first message.
Optionally, the processor 110, for executing message modification program, to perform the steps of
Receive the second operational order for first message in the first client;
Based on the current time of second operational order, judge the time of the first message sending whether in pre- timing Between in range;
If receiving the first operational order for first message in the first client within the predetermined time.
Optionally, the second operational order includes choosing instruction;The processor 110, for executing described receive for the The program of second operational order of first message in one client, to perform the steps of
Based on the selection instruction received, the wherein at least one conduct sent out in message in first client is chosen First message.
Optionally, the processor 110, for executing first behaviour received for first message in the first client Make the program instructed, to perform the steps of
Receive the modification instruction for first message in the first client;
The processor 110 described sends the first request to server based on first operational order for executing Program, to perform the steps of
It is instructed based on the modification, modifies to the first message, obtain second message;
The modification request for carrying second message is sent to the server.
Optionally, the processor 110, it is described based on modification instruction for executing, the first message is carried out Modification, obtains the program of second message, to perform the steps of
It is instructed based on modification, the editor for being directed to the first message is presented in the display interface of first client Frame;
Receive the modification information inputted in the edit box;
After instruction is completed in the input for receiving the modification information, the second message is obtained.
Further, the present invention also provides a kind of servers, please continue to refer to Fig. 1, the server include processor, And communication bus memory connected to the processor;Wherein,
The memory, for storing message modification program;
The processor, for executing message modification program, to perform the steps of
Receive the first operation requests for first message sent from the first client;The first message is to be repaired The hair message of first client changed;
Based on first operation requests, the first message status is determined;
Based on the status of the first message, the modification strategy of first request is determined;
Based on the modification strategy, modify to the first message.
Optionally, the first message status includes not sent to the second client state, wherein the second client For the client of the first message to be received;The processor, for executing message modification program, to perform the steps of
Based on not sent to the second client state locating for the first message, the modification plan of first request is determined Slightly modified in service to the first message based on the first request.
Optionally, the first message status includes being sent to the second client state, wherein second visitor Family end is the client for receiving the first message;The processor, for executing message modification program, to realize following step It is rapid:
Locating based on the first message has been sent to the second client state, determines the modification of the first message Strategy is to be modified in second client to first message based on the first request.
Optionally, first request includes modification request;The first client is wherein carried in modification request to the The second message obtained after one message modification;The processor, for executing message modification program, to perform the steps of
Based on the second message carried in modification request, the second message is replaced into the first message and is stored in service In device.
Optionally, first request includes modification request;Wherein, the first client is carried in modification request to the The second message obtained after one message modification;The processor, for executing message modification program, to perform the steps of
It is described to be modified in the second client to first message based on first request, comprising:
Based on the second message carried in modification request, the second message is replaced into first in second client Message.
Further, the present invention also provides a kind of computer storage medium, the computer storage medium is stored with one A or multiple programs, one or more of programs can be executed by one or more processor, to perform the steps of
Receive the first operational order for first message in the first client;The first message is to be modified described The hair message of first client;
First request is sent to server based on first operational order;Wherein, first request is for supplying Server modifies to the first message.
Optionally, one or more of programs are also executed by one or more of processors, following to realize Step:
Receive the second operational order for first message in the first client;
Based on the current time of second operational order, judge the time of the first message sending whether in pre- timing Between in range;
If receiving the first operational order for first message in the first client within the predetermined time.
Optionally, the second operational order includes choosing instruction;One or more of programs also by one or Multiple processors execute, to realize following steps:
Based on the selection instruction received, the wherein at least one conduct sent out in message in first client is chosen First message.
Optionally, one or more of programs are also executed by one or more of processors, as follows to realize Step:
Receive the modification instruction for first message in the first client;
It is described that first request is sent to server based on first operational order, comprising:
It is instructed based on the modification, modifies to the first message, obtain second message;
The modification request for carrying second message is sent to the server.
Optionally, one or more of programs are also executed by one or more of processors, as follows to realize Step:
It is instructed based on the modification, the volume for being directed to the first message is presented in the display interface of first client Collect frame;
Receive the modification information inputted in the edit box;
After instruction is completed in the input for receiving the modification information, the second message is obtained.
Further, the present invention also provides a kind of computer storage medium, the computer storage medium is stored with one A or multiple programs, one or more of programs can be executed by one or more processor, to perform the steps of
Receive the first operation requests for first message sent from the first client;The first message is to be repaired The hair message of first client changed;
Based on first operation requests, the first message status is determined;
Based on the status of the first message, the modification strategy of first request is determined;
Based on the modification strategy, modify to the first message.
Optionally, the first message status includes not sent to the second client state, wherein the second client For the client of the first message to be received;One or more of programs are also held by one or more of processors Row, to realize following steps:
Based on not sent to the second client state locating for the first message, the modification plan of first request is determined Slightly modified in service to the first message based on the first request.
Optionally, the first message status includes being sent to the second client state, wherein second visitor Family end is the client for receiving the first message;One or more of programs are also by one or more of processors It executes, to realize following steps:
Locating based on the first message has been sent to the second client state, determines the modification of the first message Strategy is to be modified in second client to first message based on the first request.
Optionally, first request includes modification request;Wherein, the first client is carried in modification request to the The second message obtained after one message modification;One or more of programs are also held by one or more of processors Row, to realize following steps:
Based on the second message carried in modification request, the second message is replaced into the first message and is stored in service In device.
Optionally, first request includes modification request;The first client is wherein carried in modification request to the The second message obtained after one message modification;One or more of programs are also held by one or more of processors Row, to realize following steps:
Based on the second message carried in modification request, the second message is replaced into first in second client Message.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a mobile terminal (can be mobile phone, computer, clothes Business device, air conditioner or the network equipment, robot etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (13)

1. a kind of message modification method is applied to mobile terminal, which is characterized in that the described method includes:
Receive the first operational order for first message in the first client;The first message is to be modified described first The hair message of client;
First request is sent to server based on first operational order;Wherein, first request is for for service Device modifies to the first message.
2. the method according to claim 1, wherein the method also includes:
Receive the second operational order for first message in the first client;
Based on the current time of second operational order, judge the time of the first message sending whether in predetermined time model In enclosing;
If receiving the first operational order for first message in the first client within the predetermined time.
3. according to the method described in claim 2, it is characterized in that, the second operational order includes choosing instruction;
Second operational order received for first message in the first client, comprising:
Based on the selection instruction received, the wherein at least one in message has been sent out in selection first client as first Message.
4. method according to claim 1 or 2, which is characterized in that described to receive for first message in the first client The first operational order, comprising:
Receive the modification instruction for first message in the first client;
It is described that first request is sent to server based on first operational order, comprising:
It is instructed based on the modification, modifies to the first message, obtain second message;
The modification request for carrying second message is sent to the server.
5. according to the method described in claim 4, it is characterized in that,
It is described to be instructed based on the modification, it modifies to the first message, obtains second message, comprising:
It is instructed based on the modification, the editor for being directed to the first message is presented in the display interface of first client Frame;
Receive the modification information inputted in the edit box;
After instruction is completed in the input for receiving the modification information, the second message is obtained.
6. a kind of message modification method is applied to server, which is characterized in that the described method includes:
Receive the first operation requests for first message sent from the first client;The first message is to be modified The hair message of first client;
Based on first operation requests, the first message status is determined;
Based on the status of the first message, the modification strategy of first request is determined;
Based on the modification strategy, modify to the first message.
7. according to the method described in claim 6, it is characterized in that, the first message status includes not sent to second Client state, wherein the second client is the client of the first message to be received;
The status based on first message determines the modification strategy of first request, comprising:
Based on not sent to the second client state locating for the first message, determine that the modification strategy of first request is It is modified in service to the first message based on the first request.
8. according to the method described in claim 6, it is characterized in that, the first message status includes being sent to second Client state, wherein second client is to receive the client of the first message;
The status based on first message determines the modification strategy of the first message, comprising:
Locating based on the first message has been sent to the second client state, determines the modification strategy of the first message To be modified in second client to first message based on the first request.
9. the method according to the description of claim 7 is characterized in that first request includes modification request;Wherein, described to repair Change and carries the first client in request to the second message obtained after first message modification;
It is described to be modified in the server to the first message based on first request, comprising:
Based on the second message carried in modification request, the second message is replaced into the first message and is stored in server In.
10. according to the method described in claim 8, it is characterized in that, first request includes modification request;Wherein, described The first client is carried in modification request to the second message obtained after first message modification;
It is described to be modified in the second client to first message based on first request, comprising:
Based on the second message carried in modification request, the second message is replaced first in second client and is disappeared Breath.
11. a kind of mobile terminal, which is characterized in that the mobile terminal includes processor and passes through communication bus and handle The memory of device connection;Wherein,
The memory, for storing the program of message modification;
The processor is disappeared with realizing as described in any one of claim 1 to 5 for executing the program of the message modification Cease amendment step.
12. a kind of server, which is characterized in that the server includes processor, and is connected by communication bus and processor The memory connect;Wherein,
The memory, for storing the program of message modification;
The processor is disappeared with realizing as claim 6 to 10 is described in any item for executing the program of the message modification Cease amendment step.
13. a kind of computer storage medium, which is characterized in that the computer storage medium is stored with one or more journey Sequence, one or more of programs can be executed by one or more processor, so that one or more of processors Execute such as message amendment step described in any one of claim 1 to 5;Alternatively, so that one or more of processors are held Row such as the described in any item message amendment steps of claim 6 to 10.
CN201811458363.4A 2018-11-30 2018-11-30 A kind of message modification method, mobile terminal, server and storage medium Pending CN109309614A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811458363.4A CN109309614A (en) 2018-11-30 2018-11-30 A kind of message modification method, mobile terminal, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811458363.4A CN109309614A (en) 2018-11-30 2018-11-30 A kind of message modification method, mobile terminal, server and storage medium

Publications (1)

Publication Number Publication Date
CN109309614A true CN109309614A (en) 2019-02-05

Family

ID=65223344

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811458363.4A Pending CN109309614A (en) 2018-11-30 2018-11-30 A kind of message modification method, mobile terminal, server and storage medium

Country Status (1)

Country Link
CN (1) CN109309614A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110545236A (en) * 2019-09-04 2019-12-06 网易(杭州)网络有限公司 Instant messaging message modification method and device, storage medium and electronic equipment
CN111913625A (en) * 2020-08-20 2020-11-10 网易(杭州)网络有限公司 Message processing method and device and electronic equipment
CN113965638A (en) * 2021-10-21 2022-01-21 中国银行股份有限公司 APP message state control method and device
CN114629864A (en) * 2022-02-22 2022-06-14 维沃移动通信有限公司 Message sending method and device and electronic equipment
CN115134317A (en) * 2022-06-09 2022-09-30 网易(杭州)网络有限公司 Message display method, message display device, storage medium and electronic device
WO2023197960A1 (en) * 2022-04-11 2023-10-19 维沃移动通信有限公司 Message processing method and apparatus, electronic device, and readable storage medium
WO2024022472A1 (en) * 2022-07-29 2024-02-01 北京字跳网络技术有限公司 Information processing method and apparatus, device, and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047658A (en) * 2006-03-31 2007-10-03 腾讯科技(深圳)有限公司 Method for amending transmitted message and immediate communication device
CN103617519A (en) * 2013-11-01 2014-03-05 优视科技有限公司 Communication information processing method, device and system
US20140164478A1 (en) * 2012-12-07 2014-06-12 Linkedln Corporation Communication systems and methods
CN105827499A (en) * 2015-07-30 2016-08-03 南京步步高通信科技有限公司 Modification method of sent information, electronic equipment and application server
CN107248948A (en) * 2017-05-27 2017-10-13 佛山语奥科技有限公司 Send message treatment method and system
CN107395487A (en) * 2017-05-27 2017-11-24 佛山语奥科技有限公司 Message updating method and system
CN108377289A (en) * 2018-01-22 2018-08-07 努比亚技术有限公司 Information amending method, device and computer readable storage medium are sent

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047658A (en) * 2006-03-31 2007-10-03 腾讯科技(深圳)有限公司 Method for amending transmitted message and immediate communication device
US20140164478A1 (en) * 2012-12-07 2014-06-12 Linkedln Corporation Communication systems and methods
CN103617519A (en) * 2013-11-01 2014-03-05 优视科技有限公司 Communication information processing method, device and system
CN105827499A (en) * 2015-07-30 2016-08-03 南京步步高通信科技有限公司 Modification method of sent information, electronic equipment and application server
CN107248948A (en) * 2017-05-27 2017-10-13 佛山语奥科技有限公司 Send message treatment method and system
CN107395487A (en) * 2017-05-27 2017-11-24 佛山语奥科技有限公司 Message updating method and system
CN108377289A (en) * 2018-01-22 2018-08-07 努比亚技术有限公司 Information amending method, device and computer readable storage medium are sent

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110545236A (en) * 2019-09-04 2019-12-06 网易(杭州)网络有限公司 Instant messaging message modification method and device, storage medium and electronic equipment
CN111913625A (en) * 2020-08-20 2020-11-10 网易(杭州)网络有限公司 Message processing method and device and electronic equipment
CN113965638A (en) * 2021-10-21 2022-01-21 中国银行股份有限公司 APP message state control method and device
CN114629864A (en) * 2022-02-22 2022-06-14 维沃移动通信有限公司 Message sending method and device and electronic equipment
WO2023160457A1 (en) * 2022-02-22 2023-08-31 维沃移动通信有限公司 Message sending method and apparatus, and electronic device
CN114629864B (en) * 2022-02-22 2024-04-16 维沃移动通信有限公司 Message sending method and device and electronic equipment
WO2023197960A1 (en) * 2022-04-11 2023-10-19 维沃移动通信有限公司 Message processing method and apparatus, electronic device, and readable storage medium
CN115134317A (en) * 2022-06-09 2022-09-30 网易(杭州)网络有限公司 Message display method, message display device, storage medium and electronic device
CN115134317B (en) * 2022-06-09 2023-08-22 网易(杭州)网络有限公司 Message display method, device, storage medium and electronic device
WO2024022472A1 (en) * 2022-07-29 2024-02-01 北京字跳网络技术有限公司 Information processing method and apparatus, device, and medium

Similar Documents

Publication Publication Date Title
CN109309614A (en) A kind of message modification method, mobile terminal, server and storage medium
CN107395858A (en) A kind of reminding method of notification message, terminal and computer-readable recording medium
CN108768775A (en) Information processing method, electronic equipment and computer storage media
CN107749919A (en) A kind of application program page display method and equipment
CN109538538A (en) A kind of processing method of fan noise, mobile terminal and storage medium
CN108834157A (en) Internet wide band distribution, mobile terminal and computer readable storage medium
CN109697008A (en) A kind of content share method, terminal and computer readable storage medium
CN109062465A (en) A kind of application program launching method, mobile terminal and storage medium
CN108459803A (en) Picture sending method, mobile terminal and readable storage medium storing program for executing based on double-sided screen
CN110187808A (en) Dynamic wallpaper setting method, device and computer readable storage medium
CN109462700A (en) A kind of call method, mobile terminal and computer readable storage medium
CN109618049A (en) Terminal screen method for handover control, terminal and computer readable storage medium
CN108776600A (en) Application program pretrigger method, mobile terminal and computer readable storage medium
CN109165651A (en) A kind of identification code recognition methods, terminal and computer readable storage medium
CN109729199A (en) Screen display method, terminal and computer readable storage medium
CN109445660A (en) A kind of wearable device control method, mobile terminal and wearable device
CN109725976A (en) A kind of display interface method for refreshing, mobile terminal and storage medium
CN109348071A (en) Call-information display methods, terminal and computer readable storage medium
CN110020386A (en) Application page sharing method, mobile terminal and computer readable storage medium
CN108449736A (en) A kind of data transmission method, terminal and computer readable storage medium
CN107580357A (en) Limitation communication means, equipment and the computer-readable storage medium of a kind of black list user
CN109714460A (en) Press key expansion device, terminal, key expansion method and storage medium
CN109151163A (en) A kind of method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN109151184A (en) A kind of method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN108768831A (en) Sharing method, mobile terminal and the computer readable storage medium of chat record

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190205