CN107743086B - Message processing method and system, and message sending and receiving device - Google Patents

Message processing method and system, and message sending and receiving device Download PDF

Info

Publication number
CN107743086B
CN107743086B CN201610907305.XA CN201610907305A CN107743086B CN 107743086 B CN107743086 B CN 107743086B CN 201610907305 A CN201610907305 A CN 201610907305A CN 107743086 B CN107743086 B CN 107743086B
Authority
CN
China
Prior art keywords
message
hiding
instant messaging
sending
hidden
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
CN201610907305.XA
Other languages
Chinese (zh)
Other versions
CN107743086A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610907305.XA priority Critical patent/CN107743086B/en
Publication of CN107743086A publication Critical patent/CN107743086A/en
Application granted granted Critical
Publication of CN107743086B publication Critical patent/CN107743086B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities

Landscapes

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

Abstract

The embodiment of the invention discloses a message processing method and a system, and a message sending and receiving device; the embodiment of the invention adopts a hidden sending receiving instruction, then obtains an instant communication message to be sent according to the hidden sending instruction, the instant communication message carries a user identifier of a receiver and message hiding triggering condition information, and sends the instant communication message to a server, so that the server sends the instant communication message to a receiving terminal corresponding to the user identifier, and the instant communication message in a message display interface is hidden according to the message hiding triggering condition information; the scheme can improve the safety of the instant communication message.

Description

Message processing method and system, and message sending and receiving device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a message processing method and system, and a message sending and receiving apparatus.
Background
IM (instant messaging) software is software for realizing on-line chat and communication by an instant messaging technology, and provides a real-time communication service for users to establish private chat rooms on the internet.
In the current instant messaging message interaction, instant messaging messages can be stolen and seen by lawbreakers during display, and some privacy messages can be leaked, so that the security of the instant messaging messages is lower. For example, when a user makes a conversation in an IM conversation interface, a lawless person may steal some privacy messages in the conversation interface and the privacy information of the user will be leaked because the conversation interface will show historical instant messaging messages of the user.
Disclosure of Invention
The embodiment of the invention provides a message processing method and system and a message sending and receiving device, which can improve the safety of instant messaging messages.
The embodiment of the invention provides a message processing method, which comprises the following steps:
receiving a hidden sending instruction;
acquiring an instant communication message to be sent according to the hidden sending instruction, wherein the instant communication message carries a user identifier of a receiver and message hiding triggering condition information;
sending the instant communication message to a server so that the server sends the instant communication message to a receiving terminal corresponding to the user identifier;
and hiding the instant messaging message in a message display interface according to the message hiding trigger condition information.
Correspondingly, an embodiment of the present invention further provides a message sending apparatus, including:
a receiving unit, configured to receive a hidden sending instruction;
an obtaining unit, configured to obtain an instant messaging message to be sent according to the hidden sending instruction, where the instant messaging message carries a user identifier of a receiver and message hiding trigger condition information;
a sending unit, configured to send the instant messaging message to a server, so that the server sends the instant messaging message to a receiving terminal corresponding to the user identifier;
and the hiding unit is used for hiding the instant messaging message in the message display interface according to the message hiding trigger condition information.
The embodiment of the invention provides another message processing method, which comprises the following steps:
receiving an instant messaging message sent by a server, wherein the instant messaging message carries message hiding triggering condition information;
detecting whether the instant communication message is checked;
and if so, hiding the instant messaging message in a message display interface according to the message hiding triggering condition information.
Correspondingly, an embodiment of the present invention further provides a message receiving apparatus, including:
a receiving unit, configured to receive a hidden sending instruction;
an obtaining unit, configured to obtain an instant messaging message to be sent according to the hidden sending instruction, where the instant messaging message carries a user identifier of a receiver and message hiding trigger condition information;
a sending unit, configured to send the instant messaging message to a server, so that the server sends the instant messaging message to a receiving terminal corresponding to the user identifier;
and the hiding unit is used for hiding the instant messaging message in the message display interface according to the message hiding trigger condition information.
In addition, the embodiment of the invention also provides a message processing system, which comprises a sending terminal, a receiving terminal and a server; the sending terminal comprises any message sending device provided by the embodiment of the invention, and the receiving terminal comprises any message receiving device provided by the embodiment of the invention.
The embodiment of the invention adopts a hidden sending receiving instruction, then obtains an instant communication message to be sent according to the hidden sending instruction, the instant communication message carries a user identifier of a receiver and message hiding triggering condition information, and sends the instant communication message to a server, so that the server sends the instant communication message to a receiving terminal corresponding to the user identifier, and the instant communication message in a message display interface is hidden according to the message hiding triggering condition information; the scheme can hide the instant messaging message in the message display interface after the instant messaging message is sent, so that the message is prevented from being leaked when the instant messaging message is displayed, and the safety of the instant messaging message can be improved compared with the prior art.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1a is a schematic diagram of a scenario of a message processing system according to an embodiment of the present invention;
FIG. 1b is a flowchart of a message processing method according to an embodiment of the present invention;
fig. 1c is a schematic diagram of a session interface of a first sender according to an embodiment of the present invention;
fig. 1d is a schematic diagram of a session interface of a second sender according to an embodiment of the present invention;
fig. 1e is a schematic diagram of a session interface of a third sender according to an embodiment of the present invention;
fig. 2a is another flowchart of a message processing method according to an embodiment of the present invention;
FIG. 2b is a schematic diagram of a session interface of a first receiving party according to an embodiment of the present invention;
FIG. 3a is a schematic diagram of another scenario of a message processing system according to an embodiment of the present invention;
fig. 3b is another flowchart of a message processing method according to an embodiment of the present invention;
fig. 3c is a schematic diagram of a session interface of a fourth sender according to an embodiment of the present invention;
FIG. 3d is a diagram illustrating a session interface of a second receiving party according to an embodiment of the present invention;
fig. 3e is a schematic diagram of a session interface of a fifth sender according to an embodiment of the present invention;
fig. 3f is a schematic diagram of a session interface of a sixth sender according to an embodiment of the present invention;
fig. 4a is a flow chart of message hiding provided by the embodiment of the present invention;
FIG. 4b is another flow chart of message hiding provided by the embodiment of the present invention;
fig. 5a is a schematic structural diagram of a message sending apparatus according to an embodiment of the present invention;
fig. 5b is another schematic structural diagram of a message sending apparatus according to an embodiment of the present invention;
fig. 6a is a schematic structural diagram of a message receiving apparatus according to an embodiment of the present invention;
fig. 6b is another schematic structural diagram of a message receiving apparatus according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a message processing method and system and a message sending and receiving device.
The message processing system may include any message sending device provided in the embodiment of the present invention and any message receiving device provided in the embodiment of the present invention, and the message sending device and the message receiving device may be specifically integrated in different terminals, such as a mobile phone. In addition, the message processing system may also include other network devices, such as servers and the like.
For example, taking the case that the message sending apparatus is specifically integrated in the sending terminal and the message receiving apparatus is specifically integrated in the receiving terminal, referring to fig. 1a, the message processing system includes: a transmitting terminal, an access stratum server, and a receiving terminal. Wherein the sending terminal may be configured to: the method comprises the steps of receiving a hidden sending instruction, then obtaining an instant communication message to be sent according to the hidden sending instruction, sending the instant communication message to a server by the instant communication message carrying a user identifier of a receiver and message hiding trigger condition information, so that the server sends the instant communication message to a receiving terminal corresponding to the user identifier, and hiding the instant communication message in a message display interface according to the message hiding trigger condition information, thereby preventing the instant communication message from being stolen by other users during message display and improving the message safety.
The sending terminal can be further configured to receive a message checked command returned by the server after sending the message to the server, where the message checked command carries an identifier of the instant messaging message, determine a corresponding instant messaging message from the local message storage file according to the identifier, and prompt the instant messaging message to be checked by the receiver in a message display interface (e.g., a session interface, a message recording interface, and the like), so that the terminal can be prevented from repeatedly executing the sending operation of the same message, and compared with the prior art, system resources of the terminal can be saved. The access layer server in the message processing system may be configured to send the instant messaging message to a receiving terminal corresponding to the user identifier, and return a message checked command to the sending terminal according to the message checked information sent by the receiving terminal. In addition, the access layer server may be further configured to verify a tag of the instant messaging message and verify a user identifier of the sender, where, for example, whether the sent user identifier is a user identifier shielded by the receiver is verified, if so, the instant messaging message is discarded, and if not, the instant messaging message is sent to the receiving terminal, and so on.
The receiving terminal in the message processing system may be configured to: receiving an instant communication message sent by a server, wherein the instant communication message carries message hiding triggering condition information, then detecting whether the instant communication message is checked, and if so, hiding the instant communication message in a message display interface according to the message hiding triggering condition information. In addition, in order to save resources of the terminal system, the receiving terminal may further generate a viewing notification message when detecting that the message has been viewed, where the viewing notification message carries the identifier of the instant messaging message and the user identifier of the sender, and send the viewing notification message to the server, so that the server sends a message viewed command carrying the identifier to the sending terminal corresponding to the user identifier according to the viewing notification message.
In practical applications, the message processing system of this embodiment may further include a message processing server, where the message processing server may be configured to check whether the sender and the receiver have been attacked by the security model before when sending the instant messaging message, discard the message if the sender and the receiver have been attacked by the security model before, send the message to the access stratum server if the sender and the receiver have not been attacked, and send the message to the receiving terminal by the access stratum server
The following are detailed below.
The first embodiment,
The embodiment will be described from the perspective of a message processing apparatus, where the message processing apparatus may be specifically integrated in a device such as a terminal, and the terminal may be specifically a device such as a mobile phone or a tablet computer; the message processing apparatus may be used to transmit a message, and thus, the message processing apparatus may be referred to as a message transmission apparatus.
A method of message processing, comprising: receiving a hidden sending instruction, then obtaining an instant communication message to be sent according to the hidden sending instruction, wherein the instant communication message carries a user identifier of a receiver and message hiding triggering condition information, sending the instant communication message to a server, so that the server sends the instant communication message to a receiving terminal corresponding to the user identifier, and hiding the instant communication message in a message display interface according to the message hiding triggering condition information.
As shown in fig. 1b, a specific flow of a message processing method may be as follows:
101. and receiving a hidden sending instruction.
The hidden sending instruction may be triggered by a trigger interface such as a preset trigger key or an input box in the trigger terminal, for example, when a user clicks or slides an icon, the hidden sending instruction is triggered to be generated, at this time, the message processing apparatus may receive the hidden sending instruction, for example, receive the graphical interface processing request through a preset instruction receiving interface, and the like.
The hidden sending instruction may indicate to hide the currently sent instant messaging message, and may also indicate to hide all the sent instant messaging messages afterwards.
For example, when the hidden sending instruction indicates to hide the currently sent instant messaging message, in practical application, referring to fig. 1c, an icon button of "hidden sending at regular time" may be added at the bottom of the session window, if the sender needs to hide the currently sent message at regular time, the sender may select to click the button to send the message, when the sender clicks the icon button of "hidden sending at regular time", the hidden sending instruction is triggered to be generated, and at this time, the message processing apparatus receives the instruction.
For another example, when the hidden sending instruction indicates to hide all the sent instant messaging messages later, in practical application, an icon button of "hidden sending" may be added at the bottom of the session window, referring to fig. 1d, an option of "hidden sending message" may be added in a pull-down menu at the bottom of the session window, when sending all the sent messages later needs to be hidden at regular time, the option may be selected in the pull-down menu, after selecting the option of "hidden sending message", the sender triggers generation of the hidden sending instruction each time the sender clicks the "sending" button to send a message, and at this time, the message processing apparatus receives the instruction.
102. And acquiring an instant communication message to be sent according to the hidden sending instruction, wherein the instant communication message carries the user identification of the receiver and the message hidden triggering condition information.
For example, the message hiding trigger condition information, the user identifier of the receiving party and the message content input by the user are obtained according to the hiding sending instruction, and then the instant messaging message is generated according to the message content, the user identifier and the message hiding trigger time, wherein the instant messaging message carries the user identifier of the receiving party and the message hiding trigger condition information.
In this embodiment, there are various ways to obtain the message content input by the user, for example, the message content input by the user may be obtained through the message input interface. The message input interface can be in various forms, such as an input box, an icon and the like.
In practical application, a user can input message content to be sent in an input box in a conversation window, and at this time, corresponding message content can be acquired through the input box.
In this embodiment, the type of the instant messaging message may be various, such as text, picture, video, and the like. The user identifier may be an instant messaging number, such as a micro signal.
In order to improve the flexibility of message hiding and the user experience, the embodiment may set a trigger condition for triggering hiding of the message, that is, message hiding trigger condition information. The message hiding triggering condition information may be a condition for triggering hiding of a message after the sender sends the message, and/or a condition for triggering hiding of a message after the receiver views the message. The message hiding trigger condition information may be a trigger condition agreed by the sender and the receiver, and the condition may be set by the sender or may be a default condition of the system.
The message hiding trigger condition information may be set according to actual requirements, for example, the message hiding trigger condition information may include a time condition for triggering message hiding, authentication information for triggering message hiding, user information for triggering message hiding, or other conditions for triggering message hiding.
The time condition may be set according to actual requirements, and the time condition may include message hiding when the current time is a preset time, and at this time, the time condition may include a hiding trigger time, for example, hiding a message when the current time is 2016, 10, 1, 12 o' clock.
The time condition may further include that the time is started at a certain time until the current timing duration is greater than a preset duration, and at this time, the time condition may include a message hiding trigger duration. Such as time conditions including: when the message hiding triggering time length is long, the instant messaging message can be hidden when the experience time length after the instant messaging message is sent reaches the message hiding triggering time length, or the instant messaging message can be hidden when the experience time length after the receiver checks the instant messaging reaches the hidden triggering time length. The hidden trigger time period may be set according to actual requirements, for example, 1 minute, 2 minutes … … 10 minutes, and the like.
The authentication information hidden in the trigger message may include: character password information (e.g., a digital password, etc.), or other authentication information.
103. And sending the instant communication message to a server so that the server sends the instant communication message to a receiving terminal corresponding to the user identifier.
Specifically, the instant messaging message may be sent to an access stratum server through a network, and the access stratum server may send the instant messaging message to a receiving terminal corresponding to the user identifier. For example, the access stratum server may send the instant messaging message to other servers of the access stratum, and the other servers send the instant messaging message to the receiving terminal corresponding to the user identifier.
104. And hiding the instant messaging message in the message display interface according to the message hiding trigger condition information.
The message display interface is an interface for displaying an instant messaging message, and may be, for example, a chat interface (i.e., a conversation window), a message record display interface, or the like, and preferably, may be a message output box in the conversation window.
In this embodiment, the process of hiding the message may also be different according to the difference of the message hiding trigger condition information. The following were used:
(1) the message hiding trigger condition information may include a time condition for triggering message hiding.
Under the condition that the triggering condition information comprises a time condition for triggering message hiding, message hiding can be carried out when the current timing duration meets the time condition; namely, the step of "hiding the instant messaging message in the message display interface according to the message hiding trigger condition information" may include:
acquiring the current timing duration;
and hiding the instant messaging message in the message display interface when the timing duration meets the time condition.
The time condition may be set according to an actual requirement, and for example, the time condition may include message hiding performed when the current time is a preset time, or starting timing at a certain time until the current timing duration is greater than a preset duration, and the like.
The time condition may include a message hiding trigger duration, and at this time, it may be determined that the time condition is satisfied when the timing duration is greater than the message hiding trigger duration, otherwise, it is determined that the time condition is not satisfied. In the method of this embodiment, before the current timing duration is obtained, a timing step may be further included, where the timing sequence of the timing step may be various, that is, timing is started at various times, and the timing may be set according to actual requirements.
For example, the timing may be started when or after the hidden sending instruction is received, the timing may be started when or after the instant messaging message to be sent is acquired, the timing is started when or after the instant messaging message is sent to the server, or the timing may be started when or after the instant messaging message is displayed on the message display interface. In practical applications, the timer may even be started when the user inputs the message content, such as when the message input interface (message input box) is triggered, and so on.
Preferably, the timing duration is a duration from the beginning of timing to the current time when the instant messaging message is displayed on the message display interface, or a duration from the beginning of timing to the current time after the instant messaging message is sent to the server.
The timing manner is various, for example, the time may be accumulated from 0, or the time may be decreased from a predetermined time period, etc.
In this embodiment, the message hiding trigger times of the sender and the receiver hiding messages are the same, and it should be understood that in other embodiments, the message hiding trigger times of the sender and the receiver are different, for example, the sender terminal hides the sent message 5 minutes after the sent message, and the receiver terminal hides the message 10 minutes after the message is viewed.
(2) And the message hiding trigger condition information comprises message authentication information for triggering message hiding.
At this time, the step of "hiding the instant messaging message in the message presentation interface according to the message hiding trigger condition information" may include:
receiving a message hiding request, wherein the message hiding request carries authentication information input by a user;
verifying the authentication information input by the user according to the message authentication information;
and if the verification is passed, hiding the instant communication message in the message display interface.
The message hiding request may indicate to hide the instant messaging message, for example, may carry an identifier of the instant messaging message that needs to be hidden. At this time, the step of "hiding the instant messaging message in the message display interface" may include hiding the instant messaging message corresponding to the identifier in the message display interface.
The message hiding request can trigger triggering interfaces such as a preset triggering key or an input box in the terminal to trigger; for example, when a user clicks an icon button of a hidden message, an information input interface may be provided, the user inputs corresponding authentication information through the information input interface (e.g., an input box, etc.), and when the authentication information is input, a message hiding request is triggered to be generated, and at this time, the message processing apparatus may receive the message hiding request.
In practical application, when a user clicks an icon button of a hidden message, such as a display frame (e.g., a bubble) of a certain message, a hidden message button newly added in a message display interface, and the like, an authentication information input frame may be provided, the user may input password information in the input frame, and a message hiding request is triggered and generated when the input is completed, at this time, the message processing apparatus may receive the message hiding request.
The process of verifying the input authentication information may include: and matching the message authentication information with the authentication information input by the user, if the message authentication information is successful, determining that the verification is passed, and hiding the instant communication message in the message display interface at the moment. For example, a password input by the user is matched with a password transmitted by the sender, and the like. For example, if the hidden password is 123456, after the instant messaging message a is sent, the user will hide the message a when the user inputs the password 123456 for the message a. Specifically, a bubble of the message a may be clicked, at this time, the terminal provides a password input box, when the user inputs 123456 in the password input box, the terminal triggers generation of the carried password 123456 and the message identifier a, at this time, the terminal passes the password authentication because the hidden password is 123456, and then, the message corresponding to the message identifier a is hidden.
It should be understood that, although the hidden authentication information of the trigger message of the sending party is the same as the hidden authentication information of the trigger message of the receiving party in the present embodiment, the authentication information of the sending party and the authentication information of the receiving party may not be the same in other embodiments, for example, the authentication information of the receiving party is the authentication information obtained by applying a predetermined algorithm to the authentication information of the sending party.
In this embodiment, hiding the instant messaging message refers to: the real content of the instant messaging message is made invisible in the message display presentation interface. There are many ways to hide the message, for example, the content of the message may be converted into scrambling codes, the content of the message may be replaced with a specific symbol such as "", or a blur mask may be added to the message. Namely, the step of "hiding the instant messaging message in the message display interface" may include: and adding a fuzzy mask for the instant messaging message in a message display interface so as to hide the instant messaging message.
Specifically, the display position of the instant messaging message in the message display interface can be determined; then, adding a fuzzy mask for the instant messaging message according to the display position so as to shield the content of the instant messaging message. For example, an added position of the position determination mask may be shown, and then the blur mask is added at the added position.
The fuzzy mask is a cover which covers the message content and can shield the message content, the fuzzy mask can be composed of mosaics, depth colors and the like, for example, the fuzzy mask can be composed of black colors, the shape of the fuzzy mask can be a rectangle, an ellipse, a rounded rectangle and the like, and the specific shape can be set according to actual requirements.
Referring to fig. 1c and fig. 1d, taking an example that the message processing apparatus is integrated in a terminal, a sender may input "my number is 13866668888" in an input box of a session interface provided by the terminal, and after the sender clicks a "timed hidden send" button, the terminal sends a hidden instant messaging message whose content is "my number is 13866668888" to a server, where the hidden instant messaging message carries a user identifier of a receiver and a message hiding trigger duration, and then, the terminal starts to time, and when the timed duration reaches the message hiding trigger duration (e.g. 5 minutes); or inputting authentication information (such as a digital password, fingerprint information and the like) matched with the message authentication information at the user; or when other message hiding triggering conditions are met, add a blur mask to the message to block the content "my number is 13866668888" of the message. Therefore, the private messages can be prevented from being leaked, and the safety of the messages is improved.
Optionally, in order to enable the hidden message to be viewed safely and prevent the message from leaking, the embodiment may require the user to input the authentication information when viewing the hidden message, and if the authentication information is verified, the hidden message is displayed. That is, after hiding the instant messaging message in the message display interface, the message processing method further includes:
receiving a message checking instruction of the instant communication message, wherein the message checking instruction carries authentication information;
verifying the authentication information;
and if the verification is passed, displaying the hidden instant messaging message on the message display interface.
The authentication information may be a password or the like.
The message viewing instruction may be triggered by a trigger interface such as a preset trigger key or an input box in the trigger terminal, for example, when a user clicks a display box (e.g., a bubble) of the hidden message, an information input interface is provided, the user inputs corresponding authentication information through the information input interface (e.g., the input box), when the authentication information is input, a message viewing instruction is triggered and generated, and at this time, the message processing apparatus may receive the message viewing instruction.
When the message is hidden by the fuzzy mask, the fuzzy mask of the instant messaging message can be removed after the verification is passed so as to show the content of the instant messaging message. For example, the blur mask in FIG. 1d is removed to show the message content "My Numbers 13866668888".
The embodiment may permanently display the hidden message after the verification passes, or temporarily display the hidden message, for example, when the verification passes, the hidden instant messaging message is displayed on the message display interface (e.g., removing the fuzzy mask), and the timing is started, and when the timing duration reaches the hiding trigger duration again, the instant messaging message is hidden again (e.g., adding the fuzzy mask).
Optionally, in a case that the receiving terminal hides the instant messaging message in the message display interface, if the receiving terminal wants to view the hidden message, the receiving terminal needs to be informed by the sender to view the message. That is, after hiding the instant messaging message, the message processing method further includes:
receiving a hidden message viewing request sent by the receiving terminal;
and returning a viewing approval command to the receiving terminal according to the hidden message viewing request, so that the receiving terminal displays the hidden instant messaging message according to the viewing approval command.
The hidden message view request may be in various forms, for example, a C2C (client-to-client) request. The hidden message viewing request can also carry an identification of the instant messaging message to be viewed, so that the sender knows which message needs to be viewed.
The consent viewing command may be triggered by a trigger interface such as a preset trigger key or an input box in the trigger terminal. Taking the message processing apparatus integrated in the sending terminal as an example, after receiving the hidden message viewing request of the receiving terminal, the terminal may provide a prompting interface (e.g. a prompt box) according to the hidden message viewing request, where the prompting interface is provided with a first triggering interface (which may be in the form of an icon button, such as an "ok" button, etc.) for triggering sending of the approval viewing command and a second triggering interface (which may be in the form of an icon button, such as an "disagree" button, etc.) for triggering sending of the rejection viewing command, and if the user clicks the first triggering interface, such as the "ok" button, the sending terminal will send the approval viewing command to the receiving terminal, and if the user clicks the second triggering interface, such as the "disagree" button, the sending terminal will send the rejection viewing command to the receiving terminal.
In view of the above, at present, a sender cannot know whether a message is sent to and checked by a receiver, and the sender repeatedly sends the message to the receiver through a terminal, that is, the terminal repeatedly executes a sending operation of the same message, so as to ensure that the message is sent to and checked by the receiver, which results in a relatively large consumption of system resources of the terminal. Therefore, in order to reduce system resource consumption, the present embodiment may prompt the sender that the instant messaging message has been viewed by the receiver after the sender sends the instant messaging message, that is, after sending the instant messaging message to the server, the message processing method of the present embodiment may further include:
receiving a message checked command returned by the server, wherein the message checked command carries the identification of the instant communication message;
determining corresponding instant communication information from a local information storage file according to the identification;
and prompting that the instant communication message is viewed by the receiver in a message display interface.
Wherein the identification of the instant messaging message may be a unique identification code (ID) of the message.
In this embodiment, the message viewed command may be in various forms, such as an S2C (server to client) command, and the like.
Specifically, the viewed message command is analyzed to obtain an identifier of the instant messaging message, and then the corresponding instant messaging message is determined from the local message storage file according to the identifier.
The local message storage file may be a message storage file locally stored by the IM software, and the message storage file includes all the sent and received instant messaging messages. Chat log files, such as IM software
For example, after determining the instant messaging message, a prompt event message may be sent to the interface layer, and the interface layer prompts the instant messaging message to be viewed by the recipient in a message presentation interface according to the prompt event message.
In this embodiment, the manner in which the prompt message has been viewed by the recipient may be various, for example, a manner in which the message that has been viewed is animated in the message presentation interface, a manner in which the message that has been viewed is marked (for example, special effects, color marks, and the like) in the message presentation interface, and the like, and may also be a manner in which the prompt message is added in the message presentation interface. Specifically, the step of "prompting in the message presentation interface that the instant messaging message has been viewed by the recipient" may include:
determining the display position of the instant messaging message in a message display interface according to the message viewed command;
and adding corresponding prompt information in the message display interface according to the display position to prompt that the instant communication message is viewed by the receiver.
For example, the adding position of the prompt message may be determined according to the display position, and then the corresponding prompt message may be added at the adding position.
The adding position may include multiple types, and may be specifically set according to actual requirements, for example, prompt information may be added at a tail position, a lower position, and an upper position of the instant messaging message in the session interface. The prompt message can also be set according to actual requirements, for example, the prompt message can be read label information.
Referring to fig. 1e, taking an example that the message processing apparatus is integrated in a terminal, the sender may input "hello" in an input box of a session interface provided by the terminal, click a "send" button, and then the terminal may send a "hello" instant messaging message to the server, where the instant messaging message carries a user identifier of the recipient, and then the terminal receives a message viewed command returned by the server, and the terminal may determine, according to the message identifier carried by the message viewed command, that the message that has been viewed is a "hello" instant messaging message from a local storage file, at this time, the terminal may add a read tag, that is, "[ read ]" in fig. 1c, to a tail of the message "hello" in the session interface. The sender can thus know that the message "hello" has arrived and has been viewed by the recipient, as well as for messages "i want to please have a dinner". Therefore, the embodiment of the invention can add the indication information aiming at each message which is received and viewed in the message display interface to remind the user that the message is sent to and viewed by the opposite side, so that the sending is very convenient to know which messages are discarded and which message users are viewed, the sending side is prevented from repeatedly sending the same message, and the system resource of the terminal is saved.
As can be seen from the above, in the embodiment of the present invention, a hidden sending instruction is received, then, an instant messaging message to be sent is obtained according to the hidden sending instruction, the instant messaging message carries a user identifier of a receiving party and message hiding trigger condition information, and the instant messaging message is sent to a server, so that the server sends the instant messaging message to a receiving terminal corresponding to the user identifier, and hides the instant messaging message in a message display interface according to the message hiding trigger condition information; the scheme can hide the instant messaging message in the message display interface after the instant messaging message is sent, so that the message leakage is prevented when the instant messaging message is displayed, and the safety of the instant messaging message can be improved compared with the prior art.
In addition, the embodiment of the invention can also prompt the sender to check the message by the receiver after the sender sends the instant communication message, so that the sender can know whether the message receiver sees the sent message or not, and can also know which messages are possibly lost; therefore, the message which is checked by the receiving party is conveniently sent to the receiving party without repeatedly sending the message to the receiving party through the terminal, the terminal is prevented from repeatedly executing the sending operation of the same message, and compared with the prior art, the system resource of the terminal can be saved.
Example II,
In this embodiment, it will be described from the perspective of another message processing apparatus, where the message processing apparatus may be specifically integrated in a device such as a terminal, and the terminal may be specifically a device such as a mobile phone or a tablet computer; the message processing apparatus may be configured to receive messages, and thus, may be referred to as a message receiving apparatus.
A method of message processing, comprising: receiving an instant communication message sent by a server, wherein the instant communication message carries message hiding triggering condition information, then detecting whether the instant communication message is checked, and if so, hiding the instant communication message in a message display interface according to the message hiding triggering condition information.
As shown in fig. 2a, a message processing method may specifically include the following processes:
201. and receiving an instant messaging message sent by the server, wherein the instant messaging message carries message hiding triggering condition information.
For example, an instant messaging message sent by an access stratum server may be received over a network. In practical application, the instant messaging message may carry information such as user identifications of the sender and the receiver.
Taking the above message processing apparatus integrated in a terminal as an example, after the terminal receives an instant messaging message, the terminal may prompt the user that a new message arrives.
In this embodiment, the type of the instant messaging message may be various, such as text, picture, video, and the like.
The message hiding trigger condition information is a trigger condition for triggering hiding of the message. The message hiding trigger condition information may be a trigger condition for message hiding agreed by the sender and the receiver, and the trigger condition information may be set by the sender and may be a default condition of the system.
The message hiding trigger condition information may be set by the sender according to actual requirements, for example, the message hiding trigger condition information may include a time condition for triggering message hiding, authentication information for triggering message hiding, user information for triggering message hiding, or other conditions for triggering message hiding. Specifically, reference may be made to the description of the message hiding trigger condition in the first embodiment, which is not described herein again.
202. And detecting whether the instant communication message is checked, if so, executing the step 203, and if not, returning to the step 202 to continue the detection.
For example, it may be detected whether there is a message view instruction for the message, and if so, it is determined that the message is viewed, otherwise, it is determined that the message is not viewed.
203. And hiding the instant messaging message in the message display interface according to the message hiding trigger condition information.
The message display interface is an interface for displaying an instant messaging message, and may be, for example, a chat interface (i.e., a conversation window), a message record display interface, or the like, and preferably, may be a message output box in the conversation window.
Optionally, the message hiding trigger condition information may include a time condition for triggering message hiding. The time condition is a time condition used for triggering message hiding after the receiver views the message. The time condition may include: and hiding the triggering time length of the message, wherein the instant messaging message can be hidden when the elapsed time length reaches the hiding triggering time length after the instant messaging message is detected to be checked. The hidden trigger time period may be set according to actual requirements, for example, 5 minutes, 2 minutes … … 10 minutes, and the like.
The time conditions may include: in the case of the message hiding trigger duration, the step "hiding the instant messaging message in the message display interface according to the message hiding trigger condition information" may include:
timing when detecting that the instant communication message is checked;
and hiding the instant communication message in the message display interface when the timed duration is longer than the message hiding trigger duration.
In this embodiment, the timing manner is various, for example, the time may be accumulated from 0, or the time may be reduced from a predetermined time period, and so on.
It should be understood that there are many ways to start timing in this embodiment, for example, in some other embodiments, timing may be started when an instant messaging message is received, or before the message is hidden after the instant messaging message is detected to have been viewed, and so on.
Optionally, the message hiding trigger condition information may include message authentication information for triggering message hiding, and at this time, the step of "hiding the instant messaging message in the message presentation interface according to the message hiding trigger condition information" may include:
receiving a message hiding request, wherein the message hiding request carries authentication information input by a user;
verifying the authentication information input by the user according to the message authentication information;
and if the verification is passed, hiding the instant communication message in the message display interface.
The message hiding request may indicate to hide the instant messaging message, for example, may carry an identifier of the instant messaging message that needs to be hidden. The message hiding request can trigger a trigger interface such as a preset trigger key or an input box in the terminal to trigger.
The process of verifying the input authentication information may include: and matching the message authentication information with the authentication information input by the user, if the message authentication information is successful, determining that the verification is passed, and hiding the instant communication message in the message display interface at the moment. For example, the password information input by the user is matched with the password information sent by the sender, and the like.
The authentication information may include
For example, when the hidden password is wang, after the instant messaging message b is sent, when the user inputs the password wang for the message b, the message b is hidden. Specifically, the bubble of the message b can be clicked, at this time, the terminal provides a password input box, when the user inputs wang in the password input box, the user triggers generation of the carried password wang and the message identifier b, because the hidden password is wang, at this time, the terminal passes the password authentication, and then, the message corresponding to the message identifier b is hidden.
In this embodiment, hiding the instant messaging message refers to: the real content of the instant messaging message is made invisible in the message display presentation interface. There are many ways to hide the message, for example, the content of the message may be converted into scrambling codes, the content of the message may be replaced with a specific symbol such as "", or a blur mask may be added to the message. Namely, the step of "hiding the instant messaging message in the message display interface" may include: and adding a fuzzy mask for the instant messaging message in a message display interface so as to hide the instant messaging message.
Specifically, the display position of the instant messaging message in the message display interface can be determined; then, adding a fuzzy mask for the instant messaging message according to the display position so as to shield the content of the instant messaging message. For example, an added position of the position determination mask may be shown, and then the blur mask is added at the added position.
The fuzzy mask is a cover which covers the message content and can shield the message content, the fuzzy mask can be composed of mosaics, depth colors and the like, for example, the fuzzy mask can be composed of black colors, the shape of the fuzzy mask can be a rectangle, an ellipse, a rounded rectangle and the like, and the specific shape can be set according to actual requirements.
Referring to fig. 2b, taking the case that the message processing apparatus is integrated in the terminal, after the terminal detects that the message "my number is 13866668888" is viewed, the terminal starts to count time, and the time length reaches 10 minutes; or when it is detected that the password input by the receiver matches the password sent by the sender successfully after the message "my number is 13866668888" is viewed, a fuzzy mask is added to the message to block the content "my number is 13866668888" of the message.
Optionally, in order to make the hidden message viewed safely, the message is prevented from leaking; if the recipient wants to view the hidden message, the sender will have approval to view the message. That is, after hiding the instant messaging message, the message processing method further includes:
sending a hidden message viewing request to a message sending terminal;
receiving a checking approval command returned by the sending terminal according to the hidden message checking request;
and displaying the hidden instant communication message in the message display interface according to the consent viewing command.
For example, a viewing instruction of the instant messaging message may be received; and sending a hidden message viewing request to the sending terminal according to the viewing instruction.
The viewing instruction may be triggered by a trigger interface such as a preset trigger key or an input box in the trigger terminal, for example, when a user clicks a display box (e.g., a bubble) of the hidden message, the viewing instruction for generating the message may be triggered, at this time, the message processing apparatus may receive the instruction, and then the message processing apparatus may send a hidden message viewing request to the sending terminal according to the instruction. For another example, when the user right clicks on the hidden message, a viewing instruction for generating the message is triggered, at this time, the message processing apparatus may receive the instruction, and then the message processing apparatus sends a hidden message viewing request to the sending terminal according to the instruction.
The hidden message view request may be in various forms, for example, a C2C (client-to-client) request. The hidden message viewing request can also carry an identification of the instant messaging message to be viewed, so that the sender knows which message needs to be viewed.
The embodiment may permanently display the hidden message after receiving the approval viewing command, or may temporarily display the hidden message, for example, when the message display interface displays the hidden instant messaging message (e.g., removes the blur mask), timing is started, and when the timing duration reaches the concealment trigger duration again, the instant messaging message is concealed again (e.g., adds the blur mask).
Optionally, in order to enable the message sender to know that the message has been viewed, the present embodiment may generate a viewing notification message to be reported to the server after the recipient views the message, and notify the message sender through the server that the message has been viewed. That is, after detecting that the instant messaging message has been viewed, the message processing method further includes
Generating a viewing notification message, wherein the viewing notification message carries the identification of the instant messaging message and the user identification of the sender;
and sending the viewing notification message to a server, so that the server sends a message viewed command carrying the identifier to a sending terminal corresponding to the user identifier according to the viewing notification message.
For example, when the received message is viewed by the recipient, a viewing notification message may be generated, where the viewing notification message is used to indicate that the instant messaging message has been viewed by the receiving party, for example, the viewing notification message also carries indication information used to indicate that the instant messaging message has been viewed by the receiving party.
Specifically, the viewing notification message may be sent to the access stratum server, and then the access stratum server generates a message viewed command carrying the identifier according to the viewing notification message, and sends the message viewed command to the sending terminal corresponding to the user identifier.
The message viewed command may be in various forms, such as an S2C (server to client) command, and so on.
As can be seen from the above, in the embodiment of the present invention, an instant messaging message sent by a receiving server is adopted, where the instant messaging message carries message hiding trigger condition information, and then, whether the instant messaging message has been checked is detected, and if so, the instant messaging message in a message display interface is hidden according to the message hiding trigger condition information. The scheme can hide the received message in the message display interface after receiving the instant messaging message, can protect some important privacy messages to a certain extent, can prevent the message leakage caused by the reason such as being peeped by others or account number theft, and the like, and improves the safety of the instant messaging message.
In addition, the embodiment of the invention can also report the notification message to the server when the received instant communication message is checked, and the server sends a message checking command to the sending terminal according to the report notification message, so that the sending terminal can remind the user that the message is checked; the scheme can enable the sender to know whether the message receiver sees the sent message or not, and also can enable the sender to know which messages are possibly lost; therefore, the message which is checked by the receiving party is conveniently sent to the receiving party without repeatedly sending the message to the receiving party through the terminal, the terminal is prevented from repeatedly executing the sending operation of the same message, and compared with the prior art, the system resource of the terminal can be saved.
Example III,
The method according to the embodiments one and two will be described in further detail below by way of example.
In this embodiment, a message processing apparatus (i.e., a message transmitting apparatus) provided in the first embodiment is integrated in a transmitting terminal, and a message processing apparatus (i.e., a message receiving apparatus) provided in the second embodiment is integrated in a receiving terminal.
Referring to fig. 3a, the present embodiment provides a message processing system, including: the system comprises a sending terminal, an access layer server, a message server and a receiving terminal; the sending terminal, the receiving terminal and the access layer server are connected through a network, and the access layer server and the message server are connected through the network.
The message processing method provided by the invention will be described based on the message processing system.
As shown in fig. 3b, a message processing method specifically includes the following processes:
301. and the sending terminal sends the instant communication message to the access layer server, starts timing, and hides the instant communication message in the message display interface when the timing time reaches the message hiding triggering time.
The instant messaging message carries a user identifier of a sender, a user identifier of a receiver and message hiding trigger time.
For example, the sending terminal obtains the message content input by the user, the user identifier of the sending party, the user identifier of the receiving party, and the set message hiding trigger duration, and generates the instant messaging message.
The message hiding trigger time duration may be set according to an actual requirement, for example, 2 minutes.
For example, sender A opens the recipient's session window, enters "B, you so! After the sender a clicks the "send" button at the bottom of the session window, the sending terminal sends the content "B, hello | to the access stratum server! "instant messaging message.
Optionally, in order to improve the security of the message, the sending terminal may further send a timing hidden message, that is, the instant messaging message may be a timing hidden message, and at this time, the instant messaging message may further carry a message hiding trigger duration. The sending terminal can start timing after sending the instant communication message to the access layer server, and hide the instant communication message in the message display interface (conversation interface, message recording interface, etc.) when the timing duration is longer than the message hiding trigger duration. For example, a fuzzy mask is added to the instant messaging message in the message display interface to hide the instant messaging message. The message hiding trigger time length may be set according to actual requirements, such as 10 minutes.
Specifically, the sending terminal can determine the display position of the instant messaging message in the message display interface; then, adding a fuzzy mask for the instant messaging message according to the display position so as to shield the content of the instant messaging message. For example, an added position of the position determination mask may be shown, and then the blur mask is added at the added position.
In practical application, a button for timed hidden sending can be added at the bottom of a conversation window, if a sender needs to perform timed hiding on a private message, the sender can select to click the button to send the message, the default is hiding after 10 minutes, and if a user needs to modify, the hidden trigger time can be customized in a pull-down menu.
For example, when the sender a needs to send a timing hiding message, referring to fig. 3c, the "my payment account is 6553355568888888" may be input in the input box of the session window, and then a "timing hiding send" button at the bottom of the session window is clicked, at this time, the sending terminal may send a timing hiding message to the access layer, where the message may carry the user identifier of the sender, the user identifier of the receiver, and the set message hiding trigger duration (e.g., 10 minutes). When the timing duration reaches 10 minutes after the sending terminal sends the timing hiding message to the access stratum server, a fuzzy mask is added to the message "my payment account is 6553355568888888" in the session window with reference to fig. 3c to hide the real content of the message.
When a sender needs to check the hidden message, the sender terminal can redisplay the hidden message in the message display interface only by inputting a correct password. For example, the sending terminal receives a message viewing instruction of the instant messaging message, the message viewing instruction carries authentication information, the authentication information is verified, and if the authentication information passes, the hidden instant messaging message is displayed on the message display interface.
302. The access layer server checks the instant messaging message, if the instant messaging message passes, step 303 is executed, and if the instant messaging message does not pass, step 311 is executed.
For example, the access stratum server may detect whether the user identifier of the sender is the shielding identifier of the receiver, if not, perform step 303, and if not, perform step 311.
Optionally, in practical application, the access stratum server further needs to detect whether the signature of the instant messaging message meets a preset condition (for example, whether the signature of the temporary session is included), and if so, detect whether the sender is shielded by the receiver; in an embodiment, it may be detected whether the sender is masked by the receiver, and if not, the signature of the instant messaging message may be checked.
In addition, the access stratum server in this embodiment may also check a relationship between the receiving party and the sending party before detecting the signature of the message, for example, detect whether the two are in a friend relationship, and if not, check whether the signature of the message meets a preset condition.
303. And the access layer server sends the instant communication message to a message server.
For example, after a series of checks by the access stratum server, an instant message "B, you so! "to the message server.
304. The message server verifies the identifier carried by the instant messaging message, if the verification passes step 305, if the verification does not pass step 311.
For example, the message server detects whether the user id of the receiver or the sender has previously hit the message security hit model, if not, step 305 is executed, and if so, step 311 is executed.
For example, the message hit model of the secure platform part is hit by a large amount of spam messages sent by a receiver or a sender before, and therefore, the message sent by the sender will be discarded or filtered within a certain time to purify the message.
305. And the message server sends the instant communication message to the access layer server.
For example, the messaging server may send an instant message "B, hello!upon detecting that neither recipient B nor sender A has hit the message security hit model! "to the access stratum server.
For another example, when the instant messenger message is a timed hidden message, and the message server checks that neither the receiver B nor the sender a has hit the message security attack model, the instant messenger message "my payment account is 6553355568888888" may be sent to the access stratum server.
306. And the access layer server sends the instant communication message to a receiving terminal corresponding to the user identification of the receiving party.
For example, the access stratum server will send the instant message "B, you so! And sending the user identifier to a receiving terminal corresponding to the user identifier of the receiving party B.
For another example, when the instant messaging message is a timed hidden message, the access stratum server sends the instant messaging message "my payment account is 6553355568888888" to the receiving terminal corresponding to the user identifier of the receiving party B
307. And when detecting that the instant communication message is checked, the receiving terminal starts timing and sends a checking notification message to the access layer server, and when the timing duration reaches the message hiding trigger duration, the instant communication message in the message display interface is hidden.
Wherein, the viewing notification message carries the identification of the instant communication message and the user identification of the sender.
The receiving terminal can detect whether the message is checked after receiving the instant communication message, and if so, the receiving terminal sends a checking notification message to the access layer server, wherein the checking notification message can indicate that the instant communication message is checked. The viewing notification message carries an ID of the instant messaging message, a user ID of the sender, a user ID of the receiver, and the like.
For example, after receiving the instant messaging message, the receiving terminal may remind the user that a new message arrives, and if an unread message is reminded, the receiving terminal may send a view notification message to the access layer server when the receiving terminal B views the unread message, that is, the receiving terminal views the instant messaging message.
Optionally, when the received message is a timed hidden message, the receiving terminal may further start timing after detecting that the message has been checked, and when the timed duration reaches the message hiding trigger duration, add a fuzzy mask to the message to block the content of the instant messaging message. For example, an added position of the position determination mask may be shown, and then the blur mask is added at the added position.
For example, referring to fig. 3d, when the timed hidden message is "my payment account is 6553355568888888" and the message hiding trigger time is 10 minutes, the receiving terminal may start timing after detecting that the message has been viewed, and when the timed time reaches 10 minutes, add a fuzzy mask to "my payment account is 6553355568888888" to block the content of the instant messaging message, that is, block "my payment account is 6553355568888888".
When the receiver needs to check the hidden message, the sender is required to be asked to agree, and the receiver terminal can redisplay the hidden message in the message display interface after the sender agrees. For example, the receiving terminal initiates a hidden message viewing request to the sending terminal, the sending terminal may return an approval viewing command to the receiving terminal according to the request, and the receiving terminal displays the hidden instant messaging message in a message display interface according to the command.
308. And the access layer server sends a message checked command to the sending terminal corresponding to the sender user identifier according to the check notification message, wherein the message checked command carries the identifier of the instant communication message.
The message viewed command may be in the form of a command such as S2C.
For example, recipient B viewed instant message "B, you so! When the instant messaging message is "A, you are so! "denotes the symbol C.
For another example, when the receiver B views the timed hidden message "my payment account is 6553355568888888", the viewed message command carries the identifier D of the instant messaging message "my payment account is 6553355568888888
309. The sending terminal analyzes the checked message command to obtain the identification of the instant communication message, and determines the corresponding instant communication message from the local message storage file according to the identification.
For example, the sending terminal determines, according to the identifier C, that the instant message viewed by the receiving party B in the local message storage file is the instant message "B, hello |)! ".
For another example, the sending terminal determines that the instant message viewed by the recipient B is the instant message "my payment account is 6553355568888888" in the local message storage file according to the identifier D.
310. And the sending terminal prompts that the instant communication message is viewed by the receiver in a message display interface.
The manner in which the prompt message has been viewed by the recipient may be various, for example, a manner in which the message that has been viewed may be animated in the message presentation interface, a manner in which the message that has been viewed is marked (for example, by adding a special effect, a color mark, and the like) in the message presentation interface, and the like, and may also be a manner in which the prompt message is added in the message presentation interface.
Specifically, the sending terminal may determine a display position of the instant messaging message in a message display interface, and add corresponding prompt information to the message display interface according to the display position to prompt that the instant messaging message has been viewed by the receiving party.
For example, the prompt message may be added to the session interface or the message recording interface at the tail position, the lower position, and the upper position of the instant messaging message. The prompt message can also be set according to actual requirements, for example, the prompt message can be read label information.
Specifically, the sending terminal may notify the interface layer through the event message, and after receiving the event message, the interface layer may refresh the interface where the message is displayed to a read state, and add a read tag to the tail of the message. Thus, the sender can easily know which messages are discarded and which messages have been viewed by the user.
For example, referring to FIG. 3e, an instant messenger message "B, you so! "the tail of which is added with the tag that has been read. In this embodiment, the sender a may send "is there today available in the evening? "," i want you to eat "to recipient B. As can be seen from the above steps, if the message has been viewed by recipient B, then a "[ read ]" tag is added or marked. Referring to FIG. 3e, there is only a message "B, you so! The tail of the message, i.e. the message i wants to please eat, is provided with a tag of 'read', at which time the sender A can know the message 'B', i.e. the person you like! ", message" i want to ask you to eat "has arrived and has been viewed by recipient B; however, the message "is there today available in the evening? The tail of "has no tag of" [ read ] ", so sender a can know that the message failed to be sent, and the message may be discarded.
Referring to fig. 3f, when the message is a timed hidden message, such as the message "my payment account is 6553355568888888", a read tag may be added at the end of the instant messaging message "my payment account is 6553355568888888" in the session window, and the sender a may know that the message has been delivered and viewed by the receiver B.
311. The instant messaging message is discarded.
As can be seen from the above, in the embodiment of the present invention, a hidden sending instruction is received, then, an instant messaging message to be sent is obtained according to the hidden sending instruction, the instant messaging message carries a user identifier of a receiving party and a message hiding trigger time, and the instant messaging message is sent to a server, so that the server sends the instant messaging message to a receiving terminal corresponding to the user identifier, and hides the instant messaging message in a message display interface according to the message hiding trigger time; the scheme can hide the instant messaging message in the message display interface after the instant messaging message is sent, can prevent the message from being leaked due to the reason that the message is peeped by others or the account number is stolen, and the like, and improves the safety of the instant messaging message.
In addition, the embodiment of the invention can also prompt the sender to check the message by the receiver after the sender sends the instant communication message, so that the sender can know whether the message receiver sees the sent message or not, and can also know which messages are possibly lost; therefore, the message which is checked by the receiving party is conveniently sent to the receiving party without repeatedly sending the message to the receiving party through the terminal, the terminal is prevented from repeatedly executing the sending operation of the same message, compared with the prior art, the system resource of the terminal can be saved, the experience in a chat scene can be optimized, and diversified forms are provided for sending, receiving and displaying of multiple messages.
Example four,
The method according to the embodiments one and two will be described in further detail below by way of example.
In this embodiment, a message processing apparatus (i.e., a message transmitting apparatus) provided in the first embodiment is integrated in a transmitting terminal, and a message processing apparatus (i.e., a message receiving apparatus) provided in the second embodiment is integrated in a receiving terminal.
The message processing method provided by the present invention will be described based on the message processing system shown in fig. 3 a.
As shown in fig. 4a, a message hiding method is applied to a sending terminal, and includes the following specific processes:
401. and the sending terminal sends the instant communication message to the access layer server so that the access layer server sends the instant communication message to a receiving terminal corresponding to the user identifier of the receiving party.
The instant communication message carries a first password hidden by the trigger message, a user identifier of the sender and a user identifier of the receiver.
Specifically, a hidden sending instruction is received, an instant messaging message to be sent is obtained according to the hidden sending instruction, and then the instant messaging message is sent to an access layer server.
For example, after the sender a opens the session window of the receiver and inputs the content XXXX, and the sender a clicks the "hidden send" button at the bottom of the session window, the sending terminal sends an instant messaging message with the content XXXX to the access stratum server.
The first password is a password which is agreed by the sending terminal and the receiving terminal together and is used for triggering the hiding of the message.
402. And the sending terminal acquires a message hiding request triggered by the sending user through an interface, wherein the message hiding request carries a second password input by the sending user and a message identifier of the instant messaging message.
The interface may be in various forms, such as an input box, icon buttons, and the like.
For example, when the sender user clicks a bubble or a message in the message presentation interface, a password input box is provided, and the sender user may trigger generation of a message hiding request after inputting a password in the input box.
403. The sending terminal compares the first password with the second password, if the first password and the second password are the same, step 404 is executed, and if the first password and the second password are not the same, step 405 is executed.
404. And the sending terminal hides the instant communication message corresponding to the message identifier in the message display interface.
405. And the sending terminal prompts the user that the password is input incorrectly.
Specifically, the sending terminal can determine the display position of the instant messaging message in the message display interface; then, adding a fuzzy mask for the instant messaging message according to the display position so as to shield the content of the instant messaging message. For example, an added position of the position determination mask may be shown, and then the blur mask is added at the added position.
In this embodiment, a process of sending a message to a receiving terminal server by an access server may be that an access layer server checks an instant messaging message, if the instant messaging message does not pass through the access layer server, the message is discarded, if the instant messaging message passes through the access layer server, the message server verifies an identifier carried by the instant messaging message, if the instant messaging message does not pass through the verification, the message is discarded, if the instant messaging message passes through the verification, the message server sends the instant messaging message to the access layer server, and then the access layer server sends the instant messaging message to a receiving terminal corresponding to a user identifier of a receiving party.
The check process of the access stratum and the check process of the message server may refer to the specific description in the third embodiment, which is not described herein again.
In addition, when receiving a message viewed command sent by the access stratum server, the sending terminal can determine a corresponding instant messaging message from a local message storage file according to the command, and then prompt the instant messaging message to be viewed by the receiving party in a message display interface.
As shown in fig. 4b, another message hiding method is applied to a receiving terminal, and the specific flow is as follows:
501. the receiving terminal receives the instant communication message sent by the access layer server, and the instant communication message is sent by the sending terminal.
502. The receiving terminal detects whether the instant communication message is checked, if yes, step 503 is executed, otherwise, step 502 is returned to continue the detection.
503. And the receiving terminal acquires a message hiding request triggered by the receiver user through an interface, wherein the message hiding request carries a third password input by the receiver user and the message identifier of the instant messaging message.
504. The receiving terminal compares the first password with the second password, if the first password and the second password are the same, step 505 is executed, and if the first password and the second password are not the same, step 506 is executed.
505. And the receiving terminal hides the instant communication message corresponding to the message identifier in the message display interface.
506. And the receiving terminal prompts the user that the password is input incorrectly.
In this embodiment, when detecting that the instant messaging message has been checked, the receiving terminal may further send a check notification message to the access stratum server, so that the access stratum server sends a message checked command to the sending terminal according to the notification message, where the message checked command carries an identifier of the instant messaging message.
The viewing notification message carries an ID of the instant messaging message, a user ID of the sender, a user ID of the receiver, and the like.
For example, after receiving the instant messaging message, the receiving terminal may remind the user that a new message arrives, and if an unread message is reminded, the receiving terminal may send a view notification message to the access layer server when the receiving terminal B views the unread message, that is, the receiving terminal views the instant messaging message.
As can be seen from the above, in the embodiment of the present invention, a hidden sending instruction is received, then, an instant messaging message to be sent is obtained according to the hidden sending instruction, the instant messaging message carries a user identifier of a receiving party and a message hiding trigger time, and the instant messaging message is sent to a server, so that the server sends the instant messaging message to a receiving terminal corresponding to the user identifier, and hides the instant messaging message in a message display interface according to the message hiding trigger time; the scheme can hide the instant messaging message in the message display interface after the instant messaging message is sent, can prevent the message from being leaked due to the reason that the message is peeped by others or the account number is stolen, and the like, and improves the safety of the instant messaging message.
In addition, the embodiment of the invention can also prompt the sender to check the message by the receiver after the sender sends the instant communication message, so that the sender can know whether the message receiver sees the sent message or not, and can also know which messages are possibly lost; therefore, the message which is checked by the receiving party is conveniently sent to the receiving party without repeatedly sending the message to the receiving party through the terminal, the terminal is prevented from repeatedly executing the sending operation of the same message, compared with the prior art, the system resource of the terminal can be saved, the experience in a chat scene can be optimized, and diversified forms are provided for sending, receiving and displaying of multiple messages.
Example V,
In order to better implement the method, an embodiment of the present invention further provides a message processing apparatus, which can be used to send a message, and therefore, the message processing apparatus is also a message sending apparatus. As shown in fig. 5a, the message sending apparatus may include a receiving unit 601, an obtaining unit 602, a sending unit 603, and a hiding unit 604, as follows:
(1) a receiving unit 601;
the receiving unit 601 is configured to receive a hidden sending instruction.
The hidden sending instruction may be triggered by a trigger interface such as a preset trigger key or an input box in the trigger terminal, for example, when a user clicks or strokes an icon, the hidden sending instruction is triggered to be generated, that is:
the receiving unit 601 is specifically configured to receive a hidden sending instruction triggered by a user through a trigger interface.
(2) An acquisition unit 602;
an obtaining unit 602, configured to obtain, according to the hidden sending instruction, an instant messaging message to be sent, where the instant messaging message carries a user identifier of a receiver and message hiding trigger condition information.
The type of the instant communication message can be various, such as text, picture, video, and the like.
For example, the obtaining unit 602 may specifically be configured to: the method comprises the steps of obtaining message content, message hiding trigger time and user identification of a receiver, which are input by a user, and then generating the instant messaging message based on the message content, the message hiding trigger time and the user identification of the receiver.
(3) A transmitting unit 603;
a sending unit 603, configured to send the instant messaging message to a server, so that the server sends the instant messaging message to a receiving terminal corresponding to the user identifier.
(4) A concealment unit 604;
the hiding unit 604 is configured to hide the instant messaging message in the message display interface according to the message hiding trigger condition information.
The message display interface is an interface for displaying an instant messaging message, and may be, for example, a chat interface (i.e., a conversation window), a message record display interface, or the like, and preferably, may be a message output box in the conversation window.
Specifically, the message hiding trigger condition information includes a time condition for triggering message hiding. The hiding unit 604 specifically includes:
the timing acquisition subunit is used for acquiring the current timing duration;
and the hiding subunit is used for hiding the instant messaging message in the message display interface when the timing duration meets the time condition.
Optionally, in a case that the message hiding trigger condition information includes message authentication information for triggering message hiding, the hiding unit 604 may specifically include:
the receiving subunit is used for receiving a message hiding request, wherein the message hiding request carries authentication information input by a user;
the verification subunit is used for verifying the authentication information input by the user according to the message authentication information;
and the hiding subunit is used for hiding the instant communication message in the message display interface when the verification of the verification subunit is passed.
The hiding subunit may be specifically configured to add a fuzzy mask to the instant messaging message in the message display interface to hide the instant messaging message.
For example, the hidden subunit is specifically configured to:
determining the display position of the instant communication message in a message display interface;
and adding a fuzzy mask for the instant messaging message according to the display position.
Optionally, the message sending apparatus in this embodiment may further include:
an instruction receiving unit, configured to receive a message viewing instruction of the instant messaging message after the hiding unit 604 hides the instant messaging message in the message display interface, where the message viewing instruction carries authentication information;
the verification unit is used for verifying the authentication information;
and the display unit is used for displaying the hidden instant communication message on the message display interface when the verification unit passes the verification.
Optionally, the message sending apparatus in this embodiment may further include:
a request receiving unit, configured to receive a hidden message viewing request sent by the receiving terminal after the hiding unit 604 hides the instant messaging message;
and the command returning unit is used for returning a viewing approval command to the receiving terminal according to the hidden message viewing request so that the receiving terminal displays the hidden instant communication message according to the viewing approval command.
Optionally, in order to let the sender know whether the message is checked, so as to avoid the terminal repeatedly performing the sending operation of the same message, and save system resources of the terminal, referring to fig. 5b, the message sending apparatus in this embodiment may further include:
a command receiving unit 605, configured to receive a message checked command returned by the server, where the message checked command carries an identifier of the instant messaging message;
a determining unit 606, configured to determine a corresponding instant messaging message from the local message storage file according to the identifier;
the prompting unit 607 is configured to prompt, in the message presentation interface, that the instant messaging message has been viewed by the recipient.
Wherein the identification of the instant messaging message may be a unique identification code (ID) of the message. In this embodiment, the message viewed command may be in various forms, such as an S2C (server to client) command, and the like.
For example, the determining unit 606 may be specifically configured to parse the message viewed command to obtain an identifier of the instant messaging message, and then determine the corresponding instant messaging message from the local message storage file according to the identifier.
Specifically, the prompt unit 607 may specifically include:
the position determining subunit is used for determining the display position of the instant messaging message in the message display interface according to the message viewed command;
and the adding subunit is used for adding corresponding prompt information in the message display interface according to the display position so as to prompt that the instant communication message is viewed by the receiver.
For example, the adding subunit may be specifically configured to determine an adding position of the prompt message according to the display position, and then add the corresponding prompt message at the adding position to prompt that the instant messaging message has been viewed by the recipient.
The adding position may include multiple types, and may be specifically set according to actual requirements, for example, prompt information may be added at a tail position, a lower position, and an upper position of the instant messaging message in the session interface. The prompt message can also be set according to actual requirements, for example, the prompt message can be read label information.
In a specific implementation, the above units may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and the specific implementation of the above units may refer to the foregoing method embodiments, which are not described herein again.
The message sending device may be specifically integrated in a terminal or other devices, and the terminal may be specifically a mobile phone or a tablet computer or other devices.
As can be seen from the above, in the embodiment of the present invention, the receiving unit 601 is adopted to receive the hidden sending instruction, then the obtaining unit 602 obtains the instant messaging message to be sent according to the hidden sending instruction, where the instant messaging message carries the user identifier of the receiving party and the message hiding trigger condition information, the sending unit 603 sends the instant messaging message to the server, so that the server sends the instant messaging message to the receiving terminal corresponding to the user identifier, and the hiding unit 604 hides the instant messaging message in the message display interface according to the message hiding trigger condition information; the scheme can hide the instant messaging message in the message display interface after the instant messaging message is sent, so that the message leakage is prevented when the instant messaging message is displayed, and the safety of the instant messaging message can be improved compared with the prior art.
In addition, the embodiment of the invention can also prompt the sender to check the message by the receiver after the sender sends the instant communication message, so that the sender can know whether the message receiver sees the sent message or not, and can also know which messages are possibly lost; therefore, the message which is checked by the receiving party is conveniently sent to the receiving party without repeatedly sending the message to the receiving party through the terminal, the terminal is prevented from repeatedly executing the sending operation of the same message, and compared with the prior art, the system resource of the terminal can be saved.
Example six,
In order to better implement the method, an embodiment of the present invention further provides a message processing apparatus, which can be used to receive a message, and therefore, the message processing apparatus is also a message receiving apparatus. As shown in fig. 6a, the message receiving apparatus may include a receiving unit 701, a detecting unit 702, and a hiding unit 703, as follows:
(1) a receiving unit 701;
a receiving unit 701, configured to receive an instant messaging message sent by a server, where the instant messaging message carries message hiding trigger condition information.
(2) A detection unit 702;
a detecting unit 702, configured to detect whether the instant messaging message has been checked.
(3) A concealment unit 703;
the hiding unit 703 is configured to hide the instant messaging message in the message display interface according to the message hiding trigger condition information when the detecting unit detects that the instant messaging message has been viewed.
Wherein the message hiding triggering condition information includes: and the time condition for triggering the hiding of the message after the receiver views the message, and the like. The message hiding trigger time may include: hiding the trigger time length, and at the moment, hiding the instant messaging message when the elapsed time length reaches the hidden trigger time length after the instant messaging message is detected to be checked. The hidden trigger time period may be set according to actual requirements, for example, 5 minutes, 2 minutes … … 10 minutes, and the like.
Specifically, the hiding unit 703 is configured to start timing after detecting that the instant messaging message has been viewed, and hide the instant messaging message in the message display interface when a timing duration is longer than a hiding trigger duration.
For example, the hiding unit 703 may be configured to add a fuzzy mask to the instant message in the message display interface to hide the instant message.
Optionally, the message receiving apparatus in this embodiment may further include:
a request sending unit, configured to send a hidden message viewing request to the sending terminal;
the command receiving unit is used for receiving a view approval command returned by the sending terminal according to the hidden message view request;
and the hidden display unit is used for displaying the hidden instant messaging message in the message display interface according to the view approval command.
Optionally, referring to fig. 6b, the message receiving apparatus in this embodiment may further include:
a generating unit 703, configured to generate a viewing notification message when the detecting unit 702 detects that the message has been viewed, where the viewing notification message carries an identifier of the instant messaging message and a user identifier of the sender;
a sending unit 704, configured to send the viewing notification message to a server, so that the server sends a message viewed command carrying the identifier to a sending terminal corresponding to the user identifier according to the viewing notification message.
In a specific implementation, the above units may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and the specific implementation of the above units may refer to the foregoing method embodiments, which are not described herein again.
The message receiving apparatus may be specifically integrated in a device such as a terminal, and the terminal may be specifically a device such as a mobile phone or a tablet computer.
As can be seen from the above, in the embodiment of the present invention, the receiving unit 701 is adopted to receive the instant messaging message sent by the server, where the instant messaging message carries the message hiding trigger condition information, then the detecting unit 702 detects whether the instant messaging message has been checked, and if so, the hiding unit 703 hides the instant messaging message in the message display interface according to the message hiding trigger condition information. The scheme can hide the received message in the message display interface after receiving the instant messaging message, can protect some important privacy messages to a certain extent, can prevent the message leakage caused by the reason such as being peeped by others or account number theft, and the like, and improves the safety of the instant messaging message.
In addition, the embodiment of the invention can also report the notification message to the server when the received instant communication message is checked, and the server sends a message checking command to the sending terminal according to the report notification message, so that the sending terminal can remind the user that the message is checked; the scheme can enable the sender to know whether the message receiver sees the sent message or not, and also can enable the sender to know which messages are possibly lost; therefore, the message which is checked by the receiver is conveniently sent to the receiver without repeatedly sending the message to the receiver through the terminal, the terminal is prevented from repeatedly executing the sending operation of the same message, and compared with the prior art, the system resource of the terminal can be saved
Example seven,
Correspondingly, the embodiment of the invention also provides a message processing system, which comprises a sending terminal, a receiving terminal and a server; the sending terminal comprises any message sending device provided by the embodiment of the invention, and the receiving terminal comprises any message receiving device provided by the embodiment of the invention. See, in particular, the above examples; specifically, the following may be mentioned:
the sending terminal is used for receiving a hidden sending instruction, then obtaining an instant communication message to be sent according to the hidden sending instruction, wherein the instant communication message carries a user identifier of a receiver and message hiding triggering time, sending the instant communication message to a server, so that the server sends the instant communication message to a receiving terminal corresponding to the user identifier, and hiding the instant communication message in a message display interface according to the message hiding triggering time.
The receiving terminal is used for receiving the instant communication message sent by the server, the instant communication message carries message hiding triggering time, then whether the instant communication message is checked or not is detected, and if yes, the instant communication message in the message display interface is hidden according to the message hiding triggering time.
The specific implementation of each device can be referred to the previous embodiment, and is not described herein again.
Since the message system may include any message sending device and any message receiving device provided in the embodiments of the present invention, beneficial effects that can be achieved by any message sending device or any message receiving device provided in the embodiments of the present invention may be achieved, which may specifically refer to the foregoing embodiments and are not described herein again.
Example eight,
In addition, as shown in fig. 7, the terminal according to an embodiment of the present invention may include a Radio Frequency (RF) circuit 801, a memory 802 including one or more computer-readable storage media, an input unit 803, a display unit 804, a sensor 805, an audio circuit 806, a Wireless Fidelity (WiFi) module 807, a processor 808 including one or more processing cores, and a power supply 809. Those skilled in the art will appreciate that the terminal structure shown in fig. 7 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 801 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receive downlink information from a base station and then send the received downlink information to one or more processors 808 for processing; in addition, data relating to uplink is transmitted to the base station. In general, the RF circuitry 801 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuitry 801 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Message Service (SMS), and the like.
The memory 802 may be used to store software programs and modules, and the processor 808 may execute various functional applications and data processing by operating the software programs and modules stored in the memory 802. The memory 802 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the terminal, etc. Further, the memory 802 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 802 may also include a memory controller to provide the processor 808 and the input unit 803 access to the memory 802.
The input unit 803 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, in a particular embodiment, the input unit 803 may include a touch-sensitive surface as well as other input devices. The touch-sensitive surface, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface using a finger, a stylus, or any other suitable object or attachment) thereon or nearby, and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 808, and can receive and execute commands sent by the processor 808. In addition, touch sensitive surfaces may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 803 may include other input devices in addition to the touch-sensitive surface. In particular, other input devices may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 804 may be used to display information input by or provided to a user and various graphical user interfaces of the terminal, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 804 may include a Display panel, and optionally, the Display panel may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch-sensitive surface may overlay the display panel, and when a touch operation is detected on or near the touch-sensitive surface, the touch operation is transmitted to the processor 808 to determine the type of touch event, and the processor 808 then provides a corresponding visual output on the display panel according to the type of touch event. Although in FIG. 7 the touch-sensitive surface and the display panel are two separate components to implement input and output functions, in some embodiments the touch-sensitive surface may be integrated with the display panel to implement input and output functions.
The terminal may also include at least one sensor 805, such as light sensors, motion sensors, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel according to the brightness of ambient light, and a proximity sensor that may turn off the display panel and/or the backlight when the terminal is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured in the terminal, detailed description is omitted here.
Audio circuitry 806, a speaker, and a microphone may provide an audio interface between the user and the terminal. The audio circuit 806 may transmit the electrical signal converted from the received audio data to a speaker, and convert the electrical signal into an audio signal for output; on the other hand, the microphone converts the collected sound signal into an electric signal, converts the electric signal into audio data after being received by the audio circuit 806, and then outputs the audio data to the processor 808 for processing, and then passes through the RF circuit 801 to be transmitted to, for example, another terminal, or outputs the audio data to the memory 802 for further processing. The audio circuit 806 may also include an earbud jack to provide peripheral headset communication with the terminal.
WiFi belongs to short distance wireless transmission technology, and the terminal can help the user to send and receive e-mail, browse web page and access streaming media etc. through WiFi module 807, which provides wireless broadband internet access for the user. Although the WiFi module 807 is shown at 76, it is understood that it does not belong to the essential constitution of the terminal, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 808 is a control center of the terminal, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the terminal and processes data by operating or executing software programs and/or modules stored in the memory 802 and calling data stored in the memory 802, thereby integrally monitoring the mobile phone. Optionally, processor 808 may include one or more processing cores; preferably, the processor 808 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 808.
The terminal also includes a power supply 809 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 808 via a power management system to manage charging, discharging, and power consumption via the power management system. The power supply 809 may also include one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, or any other component.
Although not shown, the terminal may further include a camera, a bluetooth module, and the like, which will not be described herein. Specifically, in this embodiment, the processor 808 in the terminal loads the executable file corresponding to the process of one or more application programs into the memory 802 according to the following instructions, and the processor 808 runs the application programs stored in the memory 802, thereby implementing various functions:
receiving a hidden sending instruction, then obtaining an instant communication message to be sent according to the hidden sending instruction, wherein the instant communication message carries a user identifier of a receiver and message hiding triggering condition information, sending the instant communication message to a server, so that the server sends the instant communication message to a receiving terminal corresponding to the user identifier, and hiding the instant communication message in a message display interface according to the message hiding triggering condition information.
Optionally, the message hiding trigger condition information includes a time condition for triggering message hiding; the hiding the instant messaging message in the message display interface according to the message hiding trigger condition information specifically includes:
acquiring the current timing duration;
and hiding the instant messaging message in the message display interface when the timing duration meets the time condition.
Optionally, the message hiding trigger condition information includes message authentication information for triggering message hiding; the hiding the instant messaging message in the message display interface according to the message hiding triggering condition information comprises the following steps:
receiving a message hiding request, wherein the message hiding request carries authentication information input by a user;
verifying the authentication information input by the user according to the message authentication information;
and if the verification is passed, hiding the instant communication message in the message display interface.
Hiding the instant messaging message in the message display interface, wherein the hiding the instant messaging message in the message display interface comprises the following steps:
and adding a fuzzy mask for the instant messaging message in a message display interface so as to hide the instant messaging message.
For example, adding a fuzzy mask to the instant messaging message in the message display interface may include:
determining the display position of the instant messaging message in a message display interface;
and adding a fuzzy mask for the instant messaging message according to the display position.
The processor 608 may also implement:
after the instant communication message in the message display interface is hidden, receiving a message viewing instruction of the instant communication message, wherein the message viewing instruction carries authentication information;
verifying the authentication information;
and if the verification is passed, displaying the hidden instant messaging message on the message display interface.
The processor 608 may also implement:
after the instant communication message is hidden, a hidden message viewing request sent by the receiving terminal is received, and a viewing approval command is returned to the receiving terminal according to the hidden message viewing request, so that the receiving terminal displays the hidden instant communication message according to the viewing approval command.
The processor 608 may also implement:
receiving a message checked command returned by a server, wherein the message checked command carries an identifier of the instant communication message;
determining corresponding instant communication information from a local information storage file according to the identification;
and prompting that the instant communication message is viewed by the receiver in a message display interface.
The above operations can be referred to the foregoing method embodiments, and are not described herein again.
As can be seen from the above, the terminal according to the embodiment of the present invention receives a hidden sending instruction, then obtains an instant messaging message to be sent according to the hidden sending instruction, where the instant messaging message carries a user identifier of a receiving party and message hiding trigger condition information, and sends the instant messaging message to a server, so that the server sends the instant messaging message to a receiving terminal corresponding to the user identifier, and hides the instant messaging message in a message display interface according to the message hiding trigger condition information; the scheme can hide the instant messaging message in the message display interface after the instant messaging message is sent, so that the message leakage is prevented when the instant messaging message is displayed, and the safety of the instant messaging message can be improved compared with the prior art.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
The above detailed description is provided for a message processing method and system, and a message sending and receiving device according to the embodiments of the present invention, and a specific example is applied in this document to explain the principle and implementation manner of the present invention, and the description of the above embodiments is only used to help understanding the method and the core idea of the present invention; meanwhile, for those skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (20)

1. A message processing method, comprising:
displaying a message display interface, wherein the message display interface comprises a trigger interface for triggering hidden transmission;
receiving a hidden sending instruction of a user through the trigger interface, wherein the hidden sending instruction indicates that the instant messaging message sent currently is hidden;
acquiring message hiding trigger condition information, a user identifier of a receiver and message content according to the hiding sending instruction, wherein the message hiding trigger condition information is message hiding trigger condition information agreed by the sender and the receiver together, and comprises conditions for triggering to hide a sent message after the sender sends the message and/or conditions for triggering to hide a received message after the receiver checks the message;
generating an instant messaging message to be sent according to the message hiding trigger condition information, the user identification of the receiver and the message content, wherein the instant messaging message carries the user identification of the receiver and the message hiding trigger condition information;
sending the instant communication message to a server so that the server sends the instant communication message to a receiving terminal corresponding to the user identifier;
and hiding the sent instant messaging message in a message display interface according to the message hiding trigger condition information.
2. The message processing method according to claim 1, wherein the message hiding trigger condition information includes a time condition that triggers message hiding;
the hiding the instant messaging message sent in the message display interface according to the message hiding triggering condition information comprises the following steps:
acquiring the current timing duration;
and hiding the instant messaging message sent in the message display interface when the timing duration meets the time condition.
3. The message processing method according to claim 1, wherein the message hiding trigger condition information includes message authentication information triggering message hiding;
the hiding the instant messaging message in the message display interface according to the message hiding triggering condition information comprises the following steps:
receiving a message hiding request, wherein the message hiding request carries authentication information input by a user;
verifying the authentication information input by the user according to the message authentication information;
and if the verification is passed, hiding the sent instant communication message in the message display interface.
4. A message processing method according to claim 2 or 3, wherein hiding the instant messaging message sent in the message presentation interface comprises:
and adding a fuzzy mask for the sent instant messaging message in a message display interface so as to hide the instant messaging message.
5. The message processing method of claim 3, wherein adding a fuzzy mask to the instant messaging message in a message presentation interface comprises:
determining the display position of the instant messaging message in a message display interface;
and adding a fuzzy mask for the instant messaging message according to the display position.
6. The message processing method of claim 1, wherein after hiding the instant messaging message in the message presentation interface, the message processing method further comprises:
receiving a message checking instruction of the instant communication message, wherein the message checking instruction carries authentication information;
verifying the authentication information;
and if the verification is passed, displaying the hidden instant messaging message on the message display interface.
7. The message processing method of claim 1, wherein after hiding the instant messenger message, the message processing method further comprises:
receiving a hidden message viewing request sent by the receiving terminal;
and returning a viewing approval command to the receiving terminal according to the hidden message viewing request, so that the receiving terminal displays the hidden instant messaging message according to the viewing approval command.
8. The message processing method of claim 1, wherein after sending the instant messenger message to a server, the message processing method further comprises:
receiving a message checked command returned by a server, wherein the message checked command carries an identifier of the instant communication message;
determining corresponding instant communication information from a local information storage file according to the identification;
and prompting that the instant communication message is viewed by the receiver in a message display interface.
9. A message processing method, comprising:
receiving an instant messaging message which is forwarded by a server and sent by a sending terminal, wherein the instant messaging message carries message hiding triggering condition information, the message hiding triggering condition information is message hiding triggering condition information which is agreed by a sender and a receiver together, and the message hiding triggering condition information comprises a condition for triggering to hide the sent message after the sender sends the message and/or a condition for triggering to hide the received message after the receiver checks the message;
detecting whether the instant communication message is checked;
and if so, hiding the instant messaging message in a message display interface according to the message hiding triggering condition information.
10. The message processing method of claim 9, wherein after hiding the instant messenger message, the message processing method further comprises:
sending a hidden message viewing request to a message sending terminal;
receiving a view approval command returned by the sending terminal according to the hidden message view request;
and displaying the hidden instant messaging message in the message display interface according to the view agreement command.
11. The message processing method of claim 9, wherein after detecting that the instant messaging message has been viewed, the message processing method further comprises:
generating a viewing notification message, wherein the viewing notification message carries the identification of the instant messaging message and the user identification of the sender;
and sending the viewing notification message to a server, so that the server sends a message viewed command carrying the identifier to a sending terminal corresponding to the user identifier according to the viewing notification message.
12. A message transmission apparatus, comprising:
the message display interface comprises a trigger interface for triggering hidden sending; receiving a hidden sending instruction of a user through the trigger interface, wherein the hidden sending instruction indicates that the instant messaging message sent currently is hidden;
an obtaining unit, configured to obtain, according to the hidden sending instruction, message hiding trigger condition information, a user identifier of a receiving party, and message content, where the message hiding trigger condition information is trigger condition information of message hiding agreed by the sending party and the receiving party, and includes a condition for triggering to hide a sent message after the sending party sends the message, and/or a condition for triggering to hide a received message after the receiving party views the message; generating an instant messaging message to be sent according to the message hiding trigger condition information, the user identification of the receiver and the message content, wherein the instant messaging message carries the user identification of the receiver and the message hiding trigger condition information;
a sending unit, configured to send the instant messaging message to a server, so that the server sends the instant messaging message to a receiving terminal corresponding to the user identifier;
and the hiding unit is used for hiding the instant messaging message in the message display interface according to the message hiding trigger condition information.
13. The message transmission apparatus according to claim 12, wherein the message hiding trigger condition information includes a time condition that triggers message hiding;
the hidden unit specifically includes:
the timing acquisition subunit is used for acquiring the current timing duration;
and the hiding subunit is used for hiding the instant messaging message in the message display interface when the timing duration meets the time condition.
14. The message transmission apparatus as claimed in claim 12, wherein the message hiding trigger condition information includes message authentication information triggering message hiding;
the hidden unit specifically includes:
the receiving subunit is used for receiving a message hiding request, wherein the message hiding request carries authentication information input by a user;
the verification subunit is used for verifying the authentication information input by the user according to the message authentication information;
and the hiding subunit is used for hiding the instant communication message in the message display interface when the verification of the verification subunit is passed.
15. The message sending apparatus according to claim 13 or 14, wherein the hiding subunit is specifically configured to:
determining the display position of the instant messaging message in a message display interface;
and adding a fuzzy mask for the instant messaging message according to the display position.
16. The message transmitting apparatus as claimed in claim 12, further comprising:
the command receiving unit is used for receiving a message checked command returned by the server, wherein the message checked command carries the identification of the instant communication message;
a determining unit, configured to determine a corresponding instant messaging message from a local message storage file according to the identifier;
and the prompt unit is used for prompting that the instant communication message is viewed by the receiver in a message display interface.
17. A message receiving apparatus, comprising:
the receiving unit is used for receiving an instant messaging message which is forwarded by a server and sent by a sending terminal, wherein the instant messaging message carries message hiding triggering condition information, the message hiding triggering condition information is message hiding triggering condition information which is agreed by a sender and a receiver together, and the message hiding triggering condition information comprises a condition which is used for triggering to hide the sent message after the sender sends the message and/or a condition which is used for triggering to hide the received message after the receiver checks the message;
the detection unit is used for detecting whether the instant communication message is checked;
and the hiding unit is used for hiding the instant messaging message in the message display interface according to the message hiding triggering condition information when the detection unit detects that the instant messaging message is checked.
18. The message receiving apparatus of claim 17, further comprising:
the generating unit is used for generating a viewing notification message after the detecting unit detects that the message is viewed, wherein the viewing notification message carries the identification of the instant messaging message and the user identification of the sender;
and the sending unit is used for sending the viewing notification message to a server so that the server sends a message viewed command carrying the identifier to a sending terminal corresponding to the user identifier according to the viewing notification message.
19. A message processing system is characterized by comprising a sending terminal, a receiving terminal and a server; the sending terminal comprising a message sending apparatus according to any one of claims 12 to 16, and the receiving terminal comprising a message receiving apparatus according to any one of claims 17 to 18.
20. A computer-readable storage medium storing a computer program for message processing, wherein the computer program causes a computer to perform the method of any one of claims 1-11.
CN201610907305.XA 2016-10-18 2016-10-18 Message processing method and system, and message sending and receiving device Active CN107743086B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610907305.XA CN107743086B (en) 2016-10-18 2016-10-18 Message processing method and system, and message sending and receiving device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610907305.XA CN107743086B (en) 2016-10-18 2016-10-18 Message processing method and system, and message sending and receiving device

Publications (2)

Publication Number Publication Date
CN107743086A CN107743086A (en) 2018-02-27
CN107743086B true CN107743086B (en) 2020-03-17

Family

ID=61235154

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610907305.XA Active CN107743086B (en) 2016-10-18 2016-10-18 Message processing method and system, and message sending and receiving device

Country Status (1)

Country Link
CN (1) CN107743086B (en)

Families Citing this family (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110555183A (en) * 2018-05-31 2019-12-10 视联动力信息技术股份有限公司 Text data processing method and device
CN108718425B (en) * 2018-05-31 2021-01-01 东莞市华睿电子科技有限公司 Picture sharing method applied to channels
CN109728996B (en) * 2018-06-01 2021-05-11 平安科技(深圳)有限公司 Communication information display method, user equipment, storage medium and device
CN109074560A (en) * 2018-07-10 2018-12-21 威富通科技有限公司 Payment result information processing method and terminal device
CN112434328B (en) * 2019-08-26 2024-04-05 钉钉控股(开曼)有限公司 Message forwarding (transferring) mail forwarding method and electronic equipment
WO2021077353A1 (en) * 2019-10-24 2021-04-29 Citrix Systems, Inc. Content protection in electronic messaging systems
CN112929488B (en) * 2019-12-06 2022-04-05 腾讯科技(深圳)有限公司 Message transformation method and device, electronic equipment and storage medium
CN111949177B (en) * 2020-08-11 2022-07-12 深圳传音控股股份有限公司 Information transmission method, terminal device, and computer-readable storage medium
CN112311660A (en) * 2020-10-30 2021-02-02 维沃移动通信有限公司 Message deleting method and device and electronic equipment
CN112702256B (en) * 2020-12-07 2023-05-02 上海连尚网络科技有限公司 Method and equipment for carrying out message communication
CN112764607A (en) * 2021-01-08 2021-05-07 北京达佳互联信息技术有限公司 Timing message processing method, device, terminal and storage medium
CN113312662B (en) * 2021-05-28 2022-10-21 维沃移动通信有限公司 Message processing method and device and electronic equipment
CN113452530B (en) * 2021-06-29 2023-02-03 维沃移动通信有限公司 Information transmission method and device
CN115576456A (en) * 2022-09-21 2023-01-06 北京字跳网络技术有限公司 Session page display method, device, equipment, readable storage medium and product

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2787465A1 (en) * 2013-04-02 2014-10-08 Samsung Electronics Co., Ltd. Method for transmitting hidden messages and electronic device thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104966030B (en) * 2015-06-19 2018-03-23 深圳天珑无线科技有限公司 information security processing method and device and mobile terminal
CN105162693B (en) * 2015-09-16 2018-09-11 小米科技有限责任公司 message display method and device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2787465A1 (en) * 2013-04-02 2014-10-08 Samsung Electronics Co., Ltd. Method for transmitting hidden messages and electronic device thereof

Also Published As

Publication number Publication date
CN107743086A (en) 2018-02-27

Similar Documents

Publication Publication Date Title
CN107743086B (en) Message processing method and system, and message sending and receiving device
US20190197226A1 (en) Information Displaying Method for Terminal Device and Terminal Device
US9819784B1 (en) Silent invocation of emergency broadcasting mobile device
CN106059894B (en) Message processing method and device
WO2016150270A1 (en) Method and apparatus for processing group session message
CN106973330B (en) Screen live broadcasting method, device and system
CN111124221B (en) File sending method and terminal equipment
US9940448B2 (en) Unlock processing method and device
WO2016078504A1 (en) Identity authentication method and device
CN108551521B (en) Login information prompting method and mobile terminal
CN107977563B (en) Message processing method and device and mobile terminal
CN109600740A (en) Document down loading method, device and computer readable storage medium
CN106775262A (en) A kind of method and system of mark display management of not interpreting blueprints
CN110555171A (en) Information processing method, device, storage medium and system
CN111357245B (en) Information searching method, terminal, network equipment and system
CN106453514B (en) Method and device for distinguishing and synchronizing chat information
CN108012270A (en) A kind of method of information processing, equipment and computer-readable recording medium
CN105553718B (en) Guidance information display methods and device
CN110784394A (en) Prompting method and electronic equipment
CN109656431A (en) Information display method, device and storage medium
CN108984231A (en) A kind of login method and mobile terminal of application program account
CN109451143B (en) Call method and mobile terminal
CN107148011B (en) Method, device and system for executing target service
CN108573141B (en) Information access method and device
CN109728918B (en) Virtual article transmission method, virtual article reception method, device, and storage medium

Legal Events

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