CN105656758B - Messaging method, apparatus and system - Google Patents

Messaging method, apparatus and system Download PDF

Info

Publication number
CN105656758B
CN105656758B CN201511016350.8A CN201511016350A CN105656758B CN 105656758 B CN105656758 B CN 105656758B CN 201511016350 A CN201511016350 A CN 201511016350A CN 105656758 B CN105656758 B CN 105656758B
Authority
CN
China
Prior art keywords
text
string
multimedia object
replaced
message
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
CN201511016350.8A
Other languages
Chinese (zh)
Other versions
CN105656758A (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.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer 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 Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN201511016350.8A priority Critical patent/CN105656758B/en
Publication of CN105656758A publication Critical patent/CN105656758A/en
Application granted granted Critical
Publication of CN105656758B publication Critical patent/CN105656758B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/10Multimedia information
    • 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/06Message adaptation to terminal or network requirements
    • H04L51/066Format adaptation, e.g. format conversion or compression
    • 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/56Unified messaging, e.g. interactions between e-mail, instant messaging or converged IP messaging [CPM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/14Network architectures or network communication protocols for network security for detecting or protecting against malicious traffic
    • H04L63/1441Countermeasures against malicious traffic

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of messaging methods, apparatus and system, belong to field of communication technology.This method includes:Whether the text message of detection user's input, which carries, identifies identical text-string with multimedia object;Identical text-string is identified with multimedia object if carrying, at least one character in text-string is replaced according to the first Substitution Rules, obtains replaced text-string;The message for carrying replaced text-string is sent to reception client;After solving multimedia object mark leakage, the multimedia object that user is manually entered textual form is identified and is sent, and receiving client also can identify the problem of showing corresponding multimedia object according to multimedia object;Reach and the multimedia object being inserted into using the mode in addition to specific mode cannot all be shown, has prevented multimedia object from being used by malicious user by improper means, ensure the effect of the interests of associated user.

Description

Messaging method, apparatus and system
Technical field
The present embodiments relate to field of communication technology, in particular to a kind of messaging method, apparatus and system.
Background technique
Instant messaging (Instant message, IM) is the business for referring to send and receive internet message immediately, is used Family can be by being mounted with the terminal messaging of instant communication client.
User, can be in editor's message process in sending client when sending message by instant communication client It is inserted into expression.After user is inserted into expression in sending client, sends client and send expression mark corresponding with the expression To server, then it is sent to via server the reception client of message receiver.The reception client of message receiver according to Expression mark in the message received, inquires expression corresponding with expression mark and is shown.For example, the table of smiling face's expression Feelings mark can be [/e14].Expression mark is usually only transmitted between instant communication client, and user is invisible to its.
During realizing the embodiment of the present invention, the inventor finds that the existing technology has at least the following problems:Work as expression After mark is leaked, if user inputs the expression mark of textual form in the message manually, and it will be carried by transmission client The message of expression mark is sent to message receiver, and it is corresponding that the reception client of message receiver also can identify display according to expression Expression.Some users can send the charge expression that itself does not have access right by the loophole.
Summary of the invention
In order to solve to send the multimedia object mark that user is manually entered textual form when multimedia object is identified and revealed Know, receiving client also can identify the problem of showing corresponding multimedia object according to multimedia object, and the embodiment of the present invention mentions A kind of messaging method, apparatus and system are supplied.The technical solution is as follows:
According to a first aspect of the embodiments of the present invention, a kind of message method is provided, this method includes:
Whether the text message of detection user's input, which carries, identifies identical text-string with multimedia object, described Multimedia object mark be in instant communicating system with mark corresponding to expression or picture or video;
Identical text-string is identified with the multimedia object if carrying, it will be described according to the first Substitution Rules At least one character in text-string is replaced, and obtains replaced text-string;
The message for carrying the replaced text-string is sent to reception client.
Optionally, the multimedia object mark includes the first layout character;
It is described to be replaced at least one character in the text-string according to the first Substitution Rules, including:
First layout character in the text-string is replaced with into corresponding second layout character.
Optionally, this method further includes:
Whether the text message for detecting user's input carries multimedia object;
If carrying the multimedia object, the multimedia object is replaced with into the multimedia object and is identified;
The message for carrying the replaced multimedia object mark is sent to the reception client;
Wherein, the multimedia object is the plug and play object that espressiove or picture or video are encapsulated in program language.
According to a second aspect of the embodiments of the present invention, the embodiment of the invention provides a kind of message receival method, this method Including:
It detects in the message received and whether carries replaced text-string;The replaced text-string It is when sending client to be carried in the text message that user inputs with the multimedia object identical text-string of mark, to press At least one character in the text-string is replaced according to the first Substitution Rules;
If carrying the replaced text-string, according to the second Substitution Rules by the replaced text word Symbol string is restored, the text-string after being restored;
Display carries the message of the text-string after restoring;
Wherein, multimedia object mark be in instant communicating system with mark corresponding to expression or picture or video Know, second Substitution Rules are the Substitution Rules with the first Substitution Rules contrary.
Optionally, described to detect in the message received whether carry replaced text-string, including:
It detects in the message received and whether carries the second layout character;
It is described to restore the replaced text-string according to the second Substitution Rules, it is described after being restored Text-string, including:
Second layout character in the text-string is replaced with into corresponding first layout character.
Optionally, this method further includes:
Whether the multimedia object mark is carried in the message received described in detection;
If carrying the multimedia object mark, multimedia pair corresponding with multimedia object mark is inquired As;
Multimedia object mark is replaced with the multimedia object inquired to show;
Wherein, the multimedia object is the plug and play object that espressiove or picture or video are encapsulated in program language.
According to a third aspect of the embodiments of the present invention, the embodiment of the invention provides a kind of message sending device, the devices Including:
First detection module, it is identical as multimedia object mark whether the text message for detecting user's input carries Text-string, multimedia object mark be in instant communicating system with mark corresponding to expression or picture or video Know;
First replacement module, if identifying identical text-string with the multimedia object for carrying, according to At least one character in the text-string is replaced by the first Substitution Rules, obtains replaced text-string;
First sending module receives client for the message for carrying the replaced text-string to be sent to End.
Optionally, the multimedia object mark includes the first layout character;
First replacement module, it is corresponding for replacing with first layout character in the text-string Second layout character.
Optionally, which further includes:
Whether the second detection module, the text message for detecting user's input carry multimedia object;
Second replacement module, if being replaced with the multimedia object described for carrying the multimedia object Multimedia object mark;
Second sending module, for the message for carrying the replaced multimedia object mark to be sent to described connect Receive client;
Wherein, the multimedia object is the plug and play object that espressiove or picture or video are encapsulated in program language.
According to a fourth aspect of the embodiments of the present invention, the embodiment of the invention provides a kind of message receiving apparatus, the devices Including:
Whether third detection module carries replaced text-string for detecting in the message received;It is described Replaced text-string be transmitting terminal carried in the text message that user inputs with multimedia object identify it is identical When text-string, at least one character in the text-string is replaced according to the first Substitution Rules;
Restoration module, if for carrying the replaced text-string, it will be described according to the second Substitution Rules Replaced text-string is restored, the text-string after being restored;
First display module, for showing the message for carrying the text-string after restoring;
Wherein, multimedia object mark be in instant communicating system with mark corresponding to expression or picture or video Know, second Substitution Rules are the Substitution Rules with the first Substitution Rules contrary.
Optionally, whether the third detection module carries the second layout character for detecting in the message received;
The restoration module, for second layout character in the text-string to be replaced with corresponding first Layout character.
Optionally, which further includes:
Whether the 4th detection module carries the multimedia object mark for detecting in the message received;
Enquiry module, if for carrying the multimedia object mark, inquiry and multimedia object mark pair The multimedia object answered;
Second display module is carried out for multimedia object mark to be replaced with the multimedia object inquired Display;
Wherein, the multimedia object is the plug and play object that espressiove or picture or video are encapsulated in program language.
According to a fifth aspect of the embodiments of the present invention, the embodiment of the invention provides a kind of messaging system, the systems Including:
It sends client and receives client;
The transmission client includes the device as shown in the third aspect of the embodiment of the present invention;
The reception client includes the device as shown in the fourth aspect of the embodiment of the present invention.
Technical solution bring beneficial effect provided in an embodiment of the present invention is:
It is identical with multimedia object mark whether the text message by sending client detection user's input carries Text-string identifies identical text-string with multimedia object if carrying, and sends client according to the first replacement At least one character in text-string is replaced by rule, obtains replaced text-string, and sending client will The message for carrying replaced text-string is sent to reception client, and receiving in the message that client detection receives is It is no to carry replaced text-string, if carrying replaced text-string, receives client and replaced according to second It changes rule to restore replaced text-string, the text-string after being restored, receives client display and carry There is the message of the text-string after restoring;It solves when multimedia object is identified and revealed, sends user and be manually entered text The multimedia object of form identifies, and receiving client also can identify asking for the corresponding multimedia object of display according to multimedia object Topic;Having reached can identify whether multimedia object is to be inserted into using specific mode, enable using the mode in addition to specific mode The multimedia object of insertion cannot all be shown, prevented multimedia object from being used by malicious user by improper means, ensured phase Close the effect of the interests of user.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited It is open.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is the schematic diagram of implementation environment involved in messaging method provided by one embodiment of the present invention;
Fig. 2 is the flow chart for the messaging method that another embodiment of the present invention provides;
Fig. 3 A is the flow chart for the messaging method that another embodiment of the present invention provides;
Fig. 3 B is a kind of schematic illustration of the messaging method of Fig. 3 A illustrated embodiment offer in exemplary implementation;
Fig. 3 C is a kind of schematic illustration of the messaging method of Fig. 3 A illustrated embodiment offer in exemplary implementation;
Fig. 3 D is a kind of schematic illustration of the messaging method of Fig. 3 A illustrated embodiment offer in exemplary implementation;
Fig. 3 E is a kind of schematic illustration of the messaging method of Fig. 3 A illustrated embodiment offer in exemplary implementation;
Fig. 3 F is a kind of schematic illustration of the messaging method of Fig. 3 A illustrated embodiment offer in exemplary implementation;
Fig. 4 is the structural schematic diagram of message sending device provided by one embodiment of the present invention;
Fig. 5 is the structural schematic diagram for the message sending device that another embodiment of the present invention provides;
Fig. 6 is the structural schematic diagram of message receiving apparatus provided by one embodiment of the present invention;
Fig. 7 is the structural schematic diagram of message receiving apparatus provided by one embodiment of the present invention;
Fig. 8 be another embodiment of the present invention provides content seniority among brothers and sisters device structural schematic diagram.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
Referring to FIG. 1, it illustrates implementation environments involved in a kind of messaging method provided in an embodiment of the present invention Schematic diagram, as shown in Figure 1, the implementation environment may include send client 120, receive client end 140, server 160.
Sending client 120 is to have the equipment of data transmit-receive function, such as smart phone, tablet computer, PC (Personal Computer, personal computer) receives and is equipped with instant communication software in client 120, such as wechat, MSN。
Receiving client 140 and sending client 120 has the same or similar function.
Optionally, it sends client 120 to be also used as receiving client, similarly, receiving client 140 can also make To send client.
Server 160 has the function of data transmit-receive, and multimedia object and corresponding multimedia are stored in server 160 Object identity.Optionally, multimedia object is the plug and play object that espressiove or picture or video are encapsulated in program language.
Client 120 and server 160 are sent by cable network or wireless network connection, receives client 140 and clothes Business device 160 passes through cable network or wireless network connection.
When sending client 120 to when receiving client 160 and sending message, server 160 is first sent a message to, then by Message is pushed to and receives client 160 by server 160.
Referring to FIG. 2, it illustrates the flow charts of messaging method provided by one embodiment of the present invention.This method disappears Breath receiving/transmission method can be applied in messaging system as shown in Figure 1.As shown in Fig. 2, the messaging method may include Following steps:
In step 201, whether the text message for sending client detection user's input carries and multimedia object mark Know identical text-string.
Multimedia object mark be in instant communicating system with mark corresponding to expression or picture or video.
Identical text-string is identified with multimedia object if detecting and carrying in the text message of user's input, Execute step 202;Identical text word is identified with multimedia object if being not detected and carrying in the text message of user's input Symbol string, then be sent to reception client for the text message that user inputs.
In step 202, identify identical text-string with multimedia object if carrying, send client according to At least one character in text-string is replaced by the first Substitution Rules, obtains replaced text-string.
Optionally, the first Substitution Rules are the pre-defined rules for replacing character in text-string, by the first replacement The replaced text-string obtained after rule replacement text-string identical from multimedia object mark is different.
In step 203, it sends client and the message for carrying replaced text-string is sent to reception client End.
Optionally, it sends client and the message for carrying replaced text-string is sent to server, then by taking The message for carrying replaced text-string is sent to reception client by business device.
In step 204, it receives in the message that client detection receives and whether carries replaced text-string.
Replaced text-string is to send client to carry in the text message that user inputs and multimedia pair When as identifying identical text-string, at least one character in text-string is replaced according to the first Substitution Rules It obtains.
Receive client receive send client send message after, detect whether carried in the message received it is replaced Text-string carries replaced text-string if detecting, thens follow the steps 205 in the message received;If inspection It measures and does not carry replaced text-string in the message received, then show the message received.
In step 205, if carrying replaced text-string, receiving client will according to the second Substitution Rules Replaced text-string is restored, the text-string after being restored.
Second Substitution Rules are the Substitution Rules with the first Substitution Rules contrary.
In step 206, it receives client and shows the message for carrying the text-string after restoring.
It should be noted that above-mentioned steps 201 to step 203, which can be implemented separately, becomes the message transmission for sending client-side The message receival method for referred to as receiving client-side can be implemented separately in method, step 204 to step 206.
In conclusion messaging method provided in an embodiment of the present invention, detects user's input by sending client Whether text message, which carries, identifies identical text-string with multimedia object, identifies phase with multimedia object if carrying Same text-string, then send client and replace at least one character in text-string according to the first Substitution Rules It changes, obtains replaced text-string, the message for carrying replaced text-string is sent to by transmission client to be connect Client is received, receives in the message that client detection receives whether carry replaced text-string, is replaced if carrying Text-string after changing then receives client and restores replaced text-string according to the second Substitution Rules, obtains Text-string after to recovery receives client and shows the message for carrying the text-string after restoring;It solves more When media object identification is revealed, the multimedia object mark that user is manually entered textual form is sent, receiving client also can root The problem of showing corresponding multimedia object is identified according to multimedia object;Reached can identify multimedia object whether be using Specific mode insertion, it enables the multimedia object being inserted into using the mode in addition to specific mode that cannot all show, prevents multimedia Object is used by malicious user by improper means, ensures the effect of the interests of associated user.
Fig. 3 A is please referred to, it illustrates the flow charts for the messaging method that another embodiment of the present invention provides.The party Method messaging method can be applied in messaging system as shown in Figure 1.As shown in Figure 3A, which can be with Include the following steps:
In step 301, whether the text message for sending client detection user's input carries multimedia object.
Wherein, multimedia object is the plug and play object that espressiove or picture or video are encapsulated in program language.
Optionally, if user input text message in carry multimedia object, user's display interface can Show corresponding expression or picture or video.
If detecting whether the text message of user's input carries multimedia object, 302 are thened follow the steps;Otherwise, to Receive the text message that client sends user's input.
In step 302, if carrying multimedia object, client is sent by multimedia object and replaces with multimedia pair As mark.
Optionally, multimedia object and multimedia object mark correspond.By taking multimedia object is expression as an example, such as scheme Have eight different expressions shown in 3B, in figure, be happy 31 respectively, disdain 32, wail 33, smiling 34, suspecting 35, is surprised 36, Sad 37, anger 38, table one schematically illustrate the corresponding relationship between expression and expression mark.
Table one
Expression Expression mark
Happily [/e31]
Disdain [/e32]
It wails [/e33]
It smiles [/e34]
Suspect [/e35]
It is surprised [/e36]
It is sad [/e37]
It is angry [/e38]
Assuming that carrying espressiove " happy " in the text information of user's input, then expression " happy " is replaced with into expression and " opened The corresponding expression mark of the heart ", as shown in Figure 3 C, user inserts expression " happy " in Text Entry 45, then sends client Expression " happy " is replaced with expression mark " [/e31] " by end.
In step 303, it sends client and the message for carrying replaced multimedia object mark is sent to reception Client.
In step 304, it receives and whether carries multimedia object mark in the message that client detection receives.
After receiving client reception transmission client transmission message, detect in the message received whether carry multimedia pair As mark thens follow the steps 305 if testing result is to carry multimedia object mark in the message received;If not detecting It is identified to multimedia object, then shows the message received.
In step 305, if carrying multimedia object mark, client query and multimedia object mark pair are received The multimedia object answered.
Espressiove mark " [/e31] ", root are carried in the message that client is sent for example, receiving client and detecting to send Inquiring corresponding expression according to expression mark is " happy ".
Within step 306, multimedia object mark is replaced with the multimedia object inquired and shown by reception client Show.
For example, receiving client and identifying " [/e31] " to inquire corresponding expression according to expression is " happy ", expression " is opened The heart " is in the display of message sink region 46, as shown in Figure 3D.
In step 307, whether the text message for sending client detection user's input carries and multimedia object mark Know identical text-string.
Multimedia object mark be in instant communicating system with mark corresponding to expression or picture or video.
Optionally, multimedia object mark includes the first layout character.First layout character includes letter, number, symbol Number equal characters.
Identical text-string is identified with multimedia object if detecting and carrying in the text message of user's input, Execute step 308;Identical text word is identified with multimedia object if being not detected and carrying in the text message of user's input Symbol string, then be sent to reception client for the text message that user inputs.
In step 308, identical text-string is identified with multimedia object if carrying, sending client will be literary The first layout character in this character string replaces with corresponding second layout character, obtains replaced text-string.
Optionally, the second layout character is that the first layout character is replaced to obtain according to the first Substitution Rules, with the first lattice The different character of formula character.
Table two, which is schematically illustrated, identifies identical text-string with multimedia object, with replaced text character Relationship between string.
Table two
Identical text-string is identified with multimedia object Replaced text-string
[/e31] [/e31]]
[/e32] [/e32]]
[/e33] [/e33]]
[/e34] [/e34]]
[/e35] [/e35]]
[/e36] [/e36]]
[/e37] [/e37]]
[/e38] [/e38]]
By table two it can be seen that text-string in the first layout character be "] ", according to the first Substitution Rules replacement after The second obtained layout character is "]] ".
For example, as shown in FIGURE 3 E, the expression of expression " happy " known to user A is identified as " [/e31] ", and user A wishes Expression " happy " can not be sent yet by being inserted into control selection expression " happy " from expression, just the message in instant messaging is soft In input frame 41 edit message " where all right?[/e31] ", it sends in the message that client detects that user inputs and carries With the identical text-string " [/e31] " of " happy " mark of expression, then according to the first Substitution Rules by first in " [/e31] " Layout character "] " the second layout character "]] " is replaced with, obtain replaced character string " [/e31]] ".
In a step 309, it sends client and the message for carrying replaced text-string is sent to reception client End.
In the step 310, it receives in the message that client detection receives and whether carries the second layout character.
Optionally, the second layout character is the first layout character identified in identical text-string with multimedia object According to the character obtained after the replacement of the first Substitution Rules.
After receiving after client reception transmission client transmission message, detects and whether carry the second lattice in the message received Formula character carries the second layout character if receiving client and detecting, thens follow the steps 311 in the message received;If connecing Receipts client, which is not detected in the message received, carries the second layout character, then shows the message received.
In step 311, if carrying replaced text-string, client is received by the in text-string Two layout characters replace with corresponding first layout character.
Namely replaced text-string is restored according to the second Substitution Rules, the text character after being restored String.Wherein, the second Substitution Rules are the Substitution Rules with the first Substitution Rules contrary.According to the second Substitution Rules, the second format Character can be reduced to the first layout character.
As an example it is assumed that user A sends the message in such as Fig. 3 E in input frame 41 to user B, then client inspection is received Measure and carry the second layout character in the message received, then receive client the second layout character "]] " is replaced with "] ", Message after being reconditioned be " where all right?[/e31]".
In step 312, it receives client and shows the message for carrying the text-string after restoring.
It receives client and shows the message for carrying the text-string after restoring to user.
Assuming that user B receives carrying for user A transmission and disappearing for the expression identical text-string of " happy " mark Breath, then the message sink region 42 in instant communication software be shown as " where all right?[/e31] ", as illustrated in Figure 3 F.
It should be noted that step 307 to step 312 execution sequence without limitation, step 307 to step 312 may be used also To be executed before step 301.
In conclusion messaging method provided in an embodiment of the present invention, detects user's input by sending client Whether text message, which carries, identifies identical text-string with multimedia object, identifies phase with multimedia object if carrying At least one character in text-string, then be replaced according to the first Substitution Rules, replaced by same text-string Text-string after changing, and the message for carrying replaced text-string is sent to reception client, receive client Replaced text-string whether is carried in the message that end detection receives, if carrying replaced text-string, Then replaced text-string is restored according to the second Substitution Rules, the text-string after being restored, and shown Carry the message of the text-string after restoring;It solves when multimedia object is identified and revealed, sends user and be manually entered The multimedia object of textual form identifies, and the corresponding multimedia object of display can also be identified according to multimedia object by receiving client The problem of;Having reached can identify whether multimedia object is to be inserted into using specific mode, enable using in addition to specific mode The multimedia object that mode is inserted into cannot all be shown, prevented multimedia object from being used by malicious user by improper means, protected Hinder the effect of the interests of associated user.
Referring to FIG. 4, it illustrates the structural block diagrams of message sending device provided by one embodiment of the present invention.This disappears Ceasing sending device being implemented in combination with as the above-mentioned whole that can provide message method by software, hardware or both Or a part.As shown in figure 4, the device includes:
First detection module 410, whether the text message for detecting user's input carries identifies with multimedia object Identical text-string, multimedia object mark be in instant communicating system with mark corresponding to expression or picture or video Know;
First replacement module 420, if identifying identical text-string with multimedia object for carrying, according to the At least one character in text-string is replaced by one Substitution Rules, obtains replaced text-string;
First sending module 430, for the message for carrying replaced text-string to be sent to reception client.
In conclusion message sending device provided in an embodiment of the present invention, detects user's input by sending client Whether text message, which carries, identifies identical text-string with multimedia object, identifies phase with multimedia object if carrying At least one character in text-string, then be replaced according to the first Substitution Rules, replaced by same text-string Text-string after changing, and the message for carrying replaced text-string is sent to reception client;It solves more After media object identification leakage, after the multimedia object that user is manually entered textual form is identified and sent, client is received The problem of showing corresponding multimedia object can be identified according to multimedia object;The multimedia that identification user is manually entered is reached Mark, so that preventing multimedia object by malicious user in addition to the multimedia object for using specific mode to be inserted into cannot all be shown It is used by improper means, ensures the effect of the interests of associated user.
Referring to FIG. 5, the structural block diagram of the message sending device provided it illustrates another embodiment of the present invention.It should Message sending device can provide the complete of message method as above-mentioned by being implemented in combination with for software, hardware or both Portion or a part.As shown in figure 5, the device includes:
First detection module 510, whether the text message for detecting user's input carries identifies with multimedia object Identical text-string, multimedia object mark be in instant communicating system with mark corresponding to expression or picture or video Know;
First replacement module 520, if identifying identical text-string with multimedia object for carrying, according to the At least one character in text-string is replaced by one Substitution Rules, obtains replaced text-string;
First sending module 530, for the message for carrying replaced text-string to be sent to reception client.
Optionally, multimedia object mark includes the first layout character;
First replacement module 520, for the first layout character in text-string to be replaced with corresponding second format Character.
Optionally, which further includes:
Whether the second detection module 540, the text message for detecting user's input carry multimedia object;
Second replacement module 550, if multimedia object is replaced with multimedia object for carrying multimedia object Mark;
Second sending module 560, for the message for carrying replaced multimedia object mark to be sent to reception visitor Family end;
Wherein, multimedia object is the plug and play object that espressiove or picture or video are encapsulated in program language.
In conclusion message sending device provided in an embodiment of the present invention, detects user's input by sending client Whether text message, which carries, identifies identical text-string with multimedia object, identifies phase with multimedia object if carrying At least one character in text-string, then be replaced according to the first Substitution Rules, replaced by same text-string Text-string after changing, and the message for carrying replaced text-string is sent to reception client;It solves When multimedia object mark leakage, the multimedia object mark that user is manually entered textual form is sent, client is received and also can The problem of showing corresponding multimedia object is identified according to multimedia object;Having reached can identify whether multimedia object makes It is inserted into specific mode, enables the multimedia object being inserted into using the mode in addition to specific mode that cannot all show, prevent more matchmakers Body object is used by malicious user by improper means, ensures the effect of the interests of associated user.
Referring to FIG. 6, it illustrates the structural block diagrams of message receiving apparatus provided by one embodiment of the present invention.This disappears Ceasing reception device being implemented in combination with as the above-mentioned whole that can provide message receival method by software, hardware or both Or a part.As shown in fig. 6, the device includes:
Whether third detection module 610 carries replaced text-string for detecting in the message received;It replaces Text-string after changing is that transmitting terminal carries the identical text with multimedia object mark in the text message that user inputs When this character string, at least one character in text-string is replaced according to the first Substitution Rules;
Restoration module 620, if for carrying replaced text-string, after being replaced according to the second Substitution Rules Text-string restored, the text-string after being restored;
First display module 630, for showing the message for carrying the text-string after restoring;
Wherein, multimedia object mark be in instant communicating system with mark corresponding to expression or picture or video, Second Substitution Rules are the Substitution Rules with the first Substitution Rules contrary.
In conclusion message receiving apparatus provided in an embodiment of the present invention, is disappeared by what reception client detection received Replaced text-string whether is carried in breath, if carrying replaced text-string, is advised according to the second replacement Then replaced text-string is restored, the text-string after being restored, and shows the text carried after restoring The message of this character string;After solving multimedia object mark leakage, user is manually entered the multimedia object mark of textual form After knowing and sending, receiving client also can identify the problem of showing corresponding multimedia object according to multimedia object;Reach The multi-media tag that identification user is manually entered, so that in addition to the multimedia object for using specific mode to be inserted into cannot all be shown, It prevents multimedia object from being used by malicious user by improper means, ensures the effect of the interests of associated user.
Referring to FIG. 7, the structural block diagram of the message receiving apparatus provided it illustrates another embodiment of the present invention.It should Message receiving apparatus can provide the complete of message receival method as above-mentioned by being implemented in combination with for software, hardware or both Portion or a part.As shown in fig. 7, the device includes:
Whether third detection module 710 carries replaced text-string for detecting in the message received;It replaces Text-string after changing is that transmitting terminal carries the identical text with multimedia object mark in the text message that user inputs When this character string, at least one character in text-string is replaced according to the first Substitution Rules;
Restoration module 720, if for carrying replaced text-string, after being replaced according to the second Substitution Rules Text-string restored, the text-string after being restored;
First display module 730, for showing the message for carrying the text-string after restoring;
Wherein, multimedia object mark be in instant communicating system with mark corresponding to expression or picture or video, Second Substitution Rules are the Substitution Rules with the first Substitution Rules contrary.
Optionally, whether third detection module 710 carries the second layout character for detecting in the message received;
Restoration module 720, for the second layout character in text-string to be replaced with corresponding first layout character.
Optionally, which further includes:
Whether the 4th detection module 740 carries multimedia object mark for detecting in the message received;
Enquiry module 750, if being inquired corresponding more with multimedia object mark for carrying multimedia object mark Media object;
Second display module 760 is shown for multimedia object mark to be replaced with the multimedia object inquired;
Wherein, multimedia object is the plug and play object that espressiove or picture or video are encapsulated in program language.
In conclusion message receiving apparatus provided in an embodiment of the present invention, is disappeared by what reception client detection received Replaced text-string whether is carried in breath, if carrying replaced text-string, is advised according to the second replacement Then replaced text-string is restored, the text-string after being restored, and shows the text carried after restoring The message of this character string;It solves when multimedia object is identified and revealed, sends the multimedia that user is manually entered textual form Object identity, receiving client also can identify the problem of showing corresponding multimedia object according to multimedia object;Energy is reached Whether enough identification multimedia objects are to be inserted into using specific mode, enable the multimedia being inserted into using the mode in addition to specific mode Object cannot all be shown, prevented multimedia object from being used by malicious user by improper means, ensured the interests of associated user Effect.
Referring to FIG. 8, it illustrates the structural block diagrams of messaging system provided by one embodiment of the present invention.Such as figure Shown in 8, which includes:
It sends client 810 and receives client 820.
Sending client 810 includes such as Fig. 4 or device shown in fig. 5.
Receiving client 820 includes the device as described in Fig. 6 or Fig. 7.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (13)

1. a kind of message method, which is characterized in that the method includes:
Whether the text message of detection user's input, which carries, identifies identical text-string, more matchmakers with multimedia object Body object identity be in instant communicating system with mark corresponding to expression or picture or video;
Identical text-string is identified with the multimedia object if carrying, according to the first Substitution Rules by the text At least one character in character string is replaced, and obtains replaced text-string;
The message for carrying the replaced text-string is sent to reception client.
2. the method according to claim 1, wherein multimedia object mark includes the first format words Symbol;
It is described to be replaced at least one character in the text-string according to the first Substitution Rules, including:
First layout character in the text-string is replaced with into corresponding second layout character.
3. the method according to claim 1, wherein the method also includes:
Whether the text message for detecting user's input carries multimedia object;
If carrying the multimedia object, the multimedia object is replaced with into the multimedia object and is identified;
The message for carrying the replaced multimedia object mark is sent to the reception client;
Wherein, the multimedia object is the plug and play object that espressiove or picture or video are encapsulated in program language.
4. a kind of message receival method, which is characterized in that the method includes:
It detects in the message received and whether carries replaced text-string;The replaced text-string is hair When sending client to carry in the text message that user inputs to identify identical text-string with multimedia object, according to the At least one character in the text-string is replaced by one Substitution Rules;
If carrying the replaced text-string, according to the second Substitution Rules by the replaced text-string It is restored, the text-string after being restored;
Display carries the message of the text-string after restoring;
Wherein, multimedia object mark be in instant communicating system with mark corresponding to expression or picture or video, Second Substitution Rules are the Substitution Rules with the first Substitution Rules contrary.
5. according to the method described in claim 4, it is characterized in that, described detect in the message received whether carry replacement Text-string afterwards, including:
It detects in the message received and whether carries the second layout character;
It is described to restore the replaced text-string according to the second Substitution Rules, the text after being restored Character string, including:
Second layout character in the text-string is replaced with into corresponding first layout character.
6. according to the method described in claim 4, it is characterized in that, the method also includes:
Whether the multimedia object mark is carried in the message received described in detection;
If carrying the multimedia object mark, multimedia object corresponding with multimedia object mark is inquired;
Multimedia object mark is replaced with the multimedia object inquired to show;
Wherein, the multimedia object is the plug and play object that espressiove or picture or video are encapsulated in program language.
7. a kind of message sending device, which is characterized in that described device includes:
First detection module, whether the text message for detecting user's input, which carries, identifies identical text with multimedia object This character string, multimedia object mark be in instant communicating system with mark corresponding to expression or picture or video;
First replacement module, if identical text-string is identified with the multimedia object for carrying, according to first At least one character in the text-string is replaced by Substitution Rules, obtains replaced text-string;
First sending module, for the message for carrying the replaced text-string to be sent to reception client.
8. device according to claim 7, which is characterized in that the multimedia object mark includes the first format words Symbol;
First replacement module, for first layout character in the text-string to be replaced with corresponding second Layout character.
9. device according to claim 7, which is characterized in that described device further includes:
Whether the second detection module, the text message for detecting user's input carry multimedia object;
Second replacement module, if the multimedia object is replaced with more matchmakers for carrying the multimedia object Body object identity;
Second sending module, for the message for carrying the replaced multimedia object mark to be sent to the reception visitor Family end;
Wherein, the multimedia object is the plug and play object that espressiove or picture or video are encapsulated in program language.
10. a kind of message receiving apparatus, which is characterized in that described device includes:
Whether third detection module carries replaced text-string for detecting in the message received;The replacement Text-string afterwards is that transmitting terminal carries the identical text with multimedia object mark in the text message that user inputs When character string, at least one character in the text-string is replaced according to the first Substitution Rules;
Restoration module, if for carrying the replaced text-string, according to the second Substitution Rules by the replacement Text-string afterwards is restored, the text-string after being restored;
First display module, for showing the message for carrying the text-string after restoring;
Wherein, multimedia object mark be in instant communicating system with mark corresponding to expression or picture or video, Second Substitution Rules are the Substitution Rules with the first Substitution Rules contrary.
11. device according to claim 10, which is characterized in that the third detection module is received for detecting Whether second layout character is carried in message;
The restoration module, for second layout character in the text-string to be replaced with corresponding first format Character.
12. device according to claim 10, which is characterized in that described device further includes:
Whether the 4th detection module carries the multimedia object mark for detecting in the message received;
Enquiry module, if being inquired corresponding with multimedia object mark for carrying the multimedia object mark Multimedia object;
Second display module is shown for multimedia object mark to be replaced with the multimedia object inquired Show;
Wherein, the multimedia object is the plug and play object that espressiove or picture or video are encapsulated in program language.
13. a kind of messaging system, which is characterized in that the system comprises:It sends client and receives client;
The client that sends includes the device as described in claim 7 to 9 is any;
The client that receives includes the device as described in claim 10 to 12 is any.
CN201511016350.8A 2015-12-28 2015-12-28 Messaging method, apparatus and system Active CN105656758B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511016350.8A CN105656758B (en) 2015-12-28 2015-12-28 Messaging method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511016350.8A CN105656758B (en) 2015-12-28 2015-12-28 Messaging method, apparatus and system

Publications (2)

Publication Number Publication Date
CN105656758A CN105656758A (en) 2016-06-08
CN105656758B true CN105656758B (en) 2018-11-16

Family

ID=56477950

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511016350.8A Active CN105656758B (en) 2015-12-28 2015-12-28 Messaging method, apparatus and system

Country Status (1)

Country Link
CN (1) CN105656758B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111897441A (en) * 2020-07-14 2020-11-06 维沃移动通信有限公司 Expression adding method and device and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047923A (en) * 2007-04-10 2007-10-03 华为技术有限公司 Expression symbol call method and device
CN103647870A (en) * 2013-11-27 2014-03-19 宇龙计算机通信科技(深圳)有限公司 Terminal and terminal expression display method
CN103905293A (en) * 2012-12-28 2014-07-02 北京新媒传信科技有限公司 Method and device for obtaining expression information

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2014057743A1 (en) * 2012-10-10 2014-04-17 インターナショナル・ビジネス・マシーンズ・コーポレーション Detection of operational state of component by computer

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101047923A (en) * 2007-04-10 2007-10-03 华为技术有限公司 Expression symbol call method and device
CN103905293A (en) * 2012-12-28 2014-07-02 北京新媒传信科技有限公司 Method and device for obtaining expression information
CN103647870A (en) * 2013-11-27 2014-03-19 宇龙计算机通信科技(深圳)有限公司 Terminal and terminal expression display method

Also Published As

Publication number Publication date
CN105656758A (en) 2016-06-08

Similar Documents

Publication Publication Date Title
CN106503584B (en) A kind of session content methods of exhibiting and system
US10585566B2 (en) Reproducing state of source environment when image was screen captured on a different computing device using resource location, resource navigation and positional metadata embedded in image
US7502831B1 (en) System and method of sending and receiving categorized messages in instant messaging environment
CN102209044B (en) Method for displaying picture message, apparatus and system thereof
CN102405474A (en) User challenge using information based on geography or user identity
US20160127282A1 (en) System and method of adding an anonymous participant to a chat session
CN104144106B (en) A kind of message forwarding method, Apparatus and system
US10887272B2 (en) Automatic response system based on body language
CN107277244A (en) Screenshot processing method and device
CN108777655A (en) A kind of instant communication method and its device, equipment, storage medium
US20180046707A1 (en) Providing searching strategy in connection with answering question in message
CN104901937A (en) Data processing method and system thereof, terminal, server
CN105656758B (en) Messaging method, apparatus and system
CN106209584A (en) User profile processing method based on the Internet, client and server
CN113449829A (en) Data transmission method based on optical character recognition technology and related device
CN104618227A (en) Method and device for protecting relevant information of instant message contact
CN108092873A (en) A kind of instant communication method and system
US20160294787A1 (en) Secure and confidential messaging systems
CN106055416B (en) Method and device for data cross-application transfer
CN101095154A (en) A method and system for preventing reception of unwanted electronic messages, such as spam-mails
US8380733B2 (en) Methods and apparatuses for dynamically displaying search suggestions
CN105378789A (en) Creating a contact list and pre-populated user accounts
CN106982242A (en) The method and device of many registration terminal synchronizing informations
CN112597529A (en) Multimedia content processing method and device, storage medium and electronic equipment
KR101833538B1 (en) Mobile page connecting controling apparatus and system and method of the same

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 510660 Guangzhou City, Guangzhou, Guangdong, Whampoa Avenue, No. 315, self - made 1-17

Applicant after: Guangzhou KuGou Networks Co., Ltd.

Address before: 510000 B1, building, No. 16, rhyme Road, Guangzhou, Guangdong, China 13F

Applicant before: Guangzhou KuGou Networks Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant