CN111371773A - Information sending and displaying method, device, equipment and storage medium - Google Patents

Information sending and displaying method, device, equipment and storage medium Download PDF

Info

Publication number
CN111371773A
CN111371773A CN202010129562.1A CN202010129562A CN111371773A CN 111371773 A CN111371773 A CN 111371773A CN 202010129562 A CN202010129562 A CN 202010129562A CN 111371773 A CN111371773 A CN 111371773A
Authority
CN
China
Prior art keywords
target content
encrypted
content
sending
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010129562.1A
Other languages
Chinese (zh)
Inventor
顾星宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202010129562.1A priority Critical patent/CN111371773A/en
Publication of CN111371773A publication Critical patent/CN111371773A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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

Landscapes

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

Abstract

The application discloses an information sending and displaying method, device, equipment and storage medium, and relates to the technical field of computers, in particular to the technical field of information encryption. The specific implementation scheme is as follows: the method is applied to a sender and determines target content to be encrypted according to user operation; encrypting the target content and sending the encrypted target content to a receiver; or sending an encryption request carrying the target content to the server, so that the server encrypts the target content and sends the encrypted target content to the receiver. The sender can encrypt the target content and send the encrypted target content to the receiver, and also can send the target content to the server, and the encrypted target content is sent to the receiver through the server, so that the encryption efficiency is improved, the target content is prevented from being leaked, the sending form of the content is enriched, the use requirements of users are met, and the user experience is improved.

Description

Information sending and displaying method, device, equipment and storage medium
Technical Field
The embodiment of the application relates to the field of computers, in particular to the technical field of information encryption, and specifically relates to a method, a device, equipment and a storage medium for information transmission and display.
Background
With the development of communication technology, more and more users use electronic equipment to perform information interaction, and in a chat scene, after acquiring content to be sent by the users, the equipment sends the content to a receiver.
Currently, the content sent by the sender may include characters, emoticons, and the like. The expression picture is a richer expression form compared with characters in the process of using the input method by the user, and the input process of the user can be richer and more interesting. In the existing products related to the input method, sending various expressions and combinations of various expressions are very popular in order to make the expression more interesting.
However, the expression is directly sent to the receiving party, so that the using requirements of the user cannot be met, the playing method for sending the expression pictures is single, and the user experience is influenced.
Disclosure of Invention
The embodiment of the application discloses an information sending and displaying method, device, equipment and storage medium, which are used for realizing that a sender sends encrypted sending contents and a receiver displays the encrypted contents after decrypting the encrypted contents, thereby enriching the information sending and displaying forms.
In a first aspect, an embodiment of the present application discloses an information sending method, which is applied to a sender, and the method includes:
determining target content to be encrypted according to user operation;
encrypting the target content and sending the encrypted target content to a receiver; or sending an encryption request carrying the target content to the server, so that the server encrypts the target content and sends the encrypted target content to the receiver.
One embodiment in the above application has the following advantages or benefits: the sender can encrypt the target content and then send the encrypted target content to the receiver, or send the target content to the server, and the server encrypts the target content and sends the encrypted target content to the receiver. The feasibility of the content encryption process is jointly guaranteed by the sender and the server, the encryption efficiency is improved, the target content is prevented from being leaked, the content sending mode is enriched, the use requirements of users are met, and the user experience is improved.
In addition, according to the information transmission method of the above embodiment of the present application, the following additional technical features may also be provided:
optionally, the target content to be encrypted includes: a target picture or a target video.
One embodiment in the above application has the following advantages or benefits: the expression form of the target content is enriched, the use requirement of a user is met, and the user experience is improved.
Optionally, determining the target content to be encrypted according to the user operation includes:
acquiring content input or selected by a user through a current interface, and determining the content as target content; or,
acquiring at least one piece of information input or selected by a user through a current interface, determining content matched with the at least one piece of information, and taking the determined content as target content; or,
and acquiring a plurality of information input or selected by a user through a current interface, and synthesizing the plurality of information to obtain the target content.
One embodiment in the above application has the following advantages or benefits: the user can input the contents in different forms, and the contents in different forms can be converted or synthesized into the target content, so that the forming mode of the target content is enlarged, and the use requirements of the user are met.
Optionally, the current interface includes:
a panel interface of an input method keyboard of the current instant messaging interface; or,
an interface in an input method client; or,
and inputting an interface in the method applet.
One embodiment in the above application has the following advantages or benefits: the application range of encrypting and sending the target content is expanded, and the application requirements of users under different programs are met.
Optionally, the information includes at least one of a text, a picture, and a video.
One embodiment in the above application has the following advantages or benefits: the user can input contents in any form, the problem of single playing method caused by the fact that only pictures can be input is avoided, the using requirement of the user is met, and the user experience is improved.
Optionally, encrypting the target content includes:
and encrypting the target content into a character code, an expression code or a two-dimensional code.
One embodiment in the above application has the following advantages or benefits: the target content is encrypted into different forms, so that the encrypted playing method of the content is enriched, and the target content can be prevented from being leaked.
Optionally, sending the encrypted target content to the receiving party includes:
when the triggering operation of a sending control on the current instant messaging interface is detected, sending the encrypted target content to a receiver; or,
and when the triggering operation of the sharing/sending control on the interface in the input method client or the input method applet is detected, sending the encrypted target content to a receiver.
One embodiment in the above application has the following advantages or benefits: the sender can detect the triggering operation of the sending control on the current instant messaging interface, the sharing/sending control on the interface of the input method client or the input method applet, and sends the encrypted target content to the receiver after sensing the triggering operation, so that the sending time of the encrypted target content is prevented from being inconsistent with the requirements of the client, and the sending efficiency of the encrypted target content is improved.
In a second aspect, an embodiment of the present application discloses an information display method, which is applied to a receiving party, and the method includes:
receiving and displaying encrypted target content sent by a sender; the encrypted target content is obtained by encrypting the target content;
decrypting the encrypted target content to obtain corresponding target content;
and displaying the target content.
One embodiment in the above application has the following advantages or benefits: the receiver receives the encrypted target content, decrypts and displays the encrypted target content, the encrypted target content is prevented from being directly displayed on the receiver and being leaked, privacy protection of a user is enhanced, the form of user communication content is enriched, and the use requirement of the user is met.
In addition, according to the information display method of the above embodiment of the present application, the following additional technical features may be further provided:
optionally, the encrypted target content is a character code, an expression code or a two-dimensional code.
One embodiment in the above application has the following advantages or benefits: the target content is encrypted into different forms, so that the encrypted playing method of the expression pictures is enriched, and the target content can be prevented from being leaked.
Optionally, decrypting the encrypted target content to obtain a corresponding target content includes:
when the preset operation aiming at the encrypted target content is detected, decrypting the encrypted target content to obtain the corresponding target content; or,
and when the preset operation aiming at the encrypted target content is detected, sending a decryption request carrying the encrypted target content to the server, so that the server decrypts the encrypted target content and sends the decrypted target content to a receiver.
One embodiment in the above application has the following advantages or benefits: the receiver can detect the operation of the user on the encrypted target content, and can decrypt the encrypted target content when the operation of the user is detected to be a preset operation. The receiver may also send the encrypted target content to the server when detecting the preset operation, and the server decrypts the encrypted target content and sends the decrypted target content to the receiver. The feasibility of decryption operation is guaranteed, decryption efficiency is improved, user privacy is protected, and information leakage is prevented.
Optionally, the preset operation includes a copy operation.
One embodiment in the above application has the following advantages or benefits: the receiver can decrypt the displayed encrypted target content only when specific preset operation is detected, so that the encrypted target content is prevented from being viewed randomly, and the privacy of the user is protected.
In a third aspect, an embodiment of the present application discloses an information sending method, which is applied to a server, and the method includes:
receiving an encryption request carrying target content sent by a sender;
encrypting the target content;
and sending the encrypted target content to a receiver.
One embodiment in the above application has the following advantages or benefits: the server side can receive the target content and encrypt the target content, so that the sender and the server side can perform encryption work, the encryption process is prevented from being failed, and the encryption efficiency is improved.
In addition, according to the information display method of the above embodiment of the present application, the following additional technical features may be further provided:
optionally, encrypting the target content includes:
and encrypting the target content into a character code, an expression code or a two-dimensional code.
One embodiment in the above application has the following advantages or benefits: the target content is encrypted into different forms, so that the encrypted playing method of the expression pictures is enriched, and the target content can be prevented from being leaked.
Optionally, after sending the encrypted target content to the receiving party, the method further includes:
receiving a decryption request which is sent by the receiver and carries the encrypted target content;
decrypting the encrypted content according to the decryption request to obtain corresponding target content;
and sending the target content obtained by decryption to the receiving party.
One embodiment in the above application has the following advantages or benefits: the server can receive the encrypted target content for decryption and send the decrypted target content to the receiver, so that the receiver and the server can decrypt, the decryption process is prevented from being failed, and the decryption efficiency is improved.
In a fourth aspect, an embodiment of the present application discloses an information sending apparatus configured at a sender client, where the apparatus includes:
the target content determining module is used for determining target content to be encrypted according to user operation;
the encrypted content obtaining module is used for encrypting the target content and sending the encrypted target content to a receiver; or sending an encryption request carrying the target content to the server, so that the server encrypts the target content and sends the encrypted target content to the receiver.
In a fifth aspect, an embodiment of the present application discloses an information display apparatus configured at a receiving client, where the apparatus includes:
the encrypted content receiving module is used for receiving and displaying the encrypted target content sent by the sender; the encrypted target content is obtained by encrypting the target content;
the encrypted content decryption module is used for decrypting the encrypted target content to obtain corresponding target content;
and the target content display module is used for displaying the target content.
In a sixth aspect, an embodiment of the present application discloses an information sending apparatus, configured at a server, where the apparatus includes:
the encryption request receiving module is used for receiving an encryption request which is sent by a sender and carries target content;
the target content encryption module is used for encrypting the target content;
and the encrypted content sending module is used for sending the encrypted target content to a receiver.
In a seventh aspect, an embodiment of the present application discloses an electronic device, including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the information transmission and display method according to any one of the first aspect, the second aspect or the third aspect of the present application.
In an eighth aspect, embodiments of the present application disclose a non-transitory computer-readable storage medium storing computer instructions for causing a computer to perform the information sending and displaying method according to any one of the first, second, or third aspects of the present application.
One embodiment in the above application has the following advantages or benefits: the sender can encrypt the target content and then send the encrypted target content to the receiver, or send the target content to the server, and the server encrypts the target content and sends the encrypted target content to the receiver. The feasibility of the content encryption process is jointly guaranteed by the sender and the server, the encryption efficiency is improved, the target content is prevented from being leaked, the playing method of the sent content is enriched, the use requirements of users are met, and the user experience is improved.
Other effects of the above-described alternative will be described below with reference to specific embodiments.
Drawings
The drawings are included to provide a better understanding of the present solution and are not intended to limit the present application. Wherein:
fig. 1 is a flowchart illustrating an information sending method according to a first embodiment of the present application;
FIG. 2 is a schematic diagram of targeted content determination provided in accordance with a first embodiment of the present application;
FIG. 3 is a schematic diagram of an encryption scheme selection provided according to a first embodiment of the present application;
fig. 4 is a flowchart illustrating an information sending method according to a second embodiment of the present application;
fig. 5 is a schematic flow chart of an information display method according to a third embodiment of the present application;
FIG. 6 is a schematic illustration of a preset operation decryption provided according to a third embodiment of the present application;
fig. 7 is a flowchart illustrating an information sending method according to a fourth embodiment of the present application;
fig. 8 is a schematic structural diagram of an information transmitting apparatus according to a fifth embodiment of the present application;
fig. 9 is a schematic structural diagram of an information display device according to a sixth embodiment of the present application;
fig. 10 is a schematic structural diagram of an information transmitting apparatus according to a seventh embodiment of the present application;
fig. 11 is a block diagram of an electronic device for implementing the information transmission method of the first aspect of the present application;
FIG. 12 is a block diagram of an electronic device for implementing the information display method of the second aspect of the present application;
fig. 13 is a block diagram of an electronic device for implementing the information transmission method according to the third aspect of the present application.
Detailed Description
The following description of the exemplary embodiments of the present application, taken in conjunction with the accompanying drawings, includes various details of the embodiments of the application for the understanding of the same, which are to be considered exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present application. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
First embodiment
Fig. 1 is a schematic flow chart of an information sending method according to a first embodiment of the present application, where the method is applied to a sender, i.e., a sender client, and is implemented by an information sending apparatus, which may be implemented in software and/or hardware and may be integrated in an electronic device, which may be a mobile terminal or a computer, and the like. As shown in fig. 1, an information sending method provided in this embodiment may include:
and S110, determining target content to be encrypted according to user operation.
The user performs user operation on the sender client, determines the content to be sent after the operation as target content to be encrypted, wherein the user operation can be input, pasting or selection, and the target content is the content to be sent by the user before encryption.
In this embodiment, optionally, the target content to be encrypted includes: a target picture or a target video.
Specifically, the target picture may be an emoticon picture or other pictures, for example, the target content may be an emoticon picture.
In this embodiment, optionally, determining the target content to be encrypted according to a user operation includes: acquiring content input or selected by a user through a current interface, and determining the content as target content; or acquiring at least one piece of information input or selected by a user through a current interface, determining content matched with the at least one piece of information, and taking the determined content as target content; or acquiring a plurality of information input or selected by the user through the current interface, and synthesizing the plurality of information to obtain the target content.
Specifically, the user can directly input or select an expression picture on the current interface, the sender client acquires the expression picture and determines the expression picture as target content, and the expression picture can be an expression package picture or other pictures. For example, if the user selects an "happy" emoticon picture through the input method keyboard, the emoticon picture may be determined as the target content.
The user can also input or select at least one piece of information on the current interface, wherein the at least one piece of information can be characters, pictures, videos or the like. The sender client pre-stores content matching with different information, for example, the content matching with the text "happy" is a smiley face picture. The sending client acquires information input or selected by a user, and selects content matched with the content from pre-stored content as target content.
The user can also input or select a plurality of information on the current interface, wherein the plurality of information can be characters, pictures or videos. The sending party client acquires a plurality of information input by a user and synthesizes the plurality of information into target content. The synthesizing of the plurality of information may be synthesizing the plurality of information into one content, for example, the user inputs the text "happy" and a picture in the current interface, where the picture may be an emoticon picture or other pictures. The user can choose to add the text "happy" to the picture to get the target content. Fig. 2 is a schematic diagram illustrating target content determination in an embodiment of the present invention, where 200 is an area of a current interface for a user to input content, and a user may input or select content to be encrypted in the interface shown in fig. 2, and when the user clicks to start encryption, target content corresponding to the content input or selected by the user may be generated. The method has the advantages that the user can input or select the contents in various forms, the contents in different forms are converted into the target contents, the target contents are encrypted conveniently, the use requirements of the user on the contents in various forms are met, and the encryption efficiency of the target contents is improved.
In this embodiment, optionally, the current interface includes: a panel interface of an input method keyboard of the current instant messaging interface; or, an interface in the input method client; or an interface in an input method applet.
Specifically, the current interface of the user may be an instant messaging interface using an input method keyboard, and the content to be sent is input or selected through the input method keyboard, wherein the instant messaging interface may be a chat interface. The current interface may also be an input method client or an interface in an input method applet, for example, the input method client may be an Baidu input method APP (Application), and the input method applet may be an input method applet hosted in a WeChat APP. The content to be transmitted is input or selected by using an input method keyboard in the input method client or the input method applet. When the user sends the encrypted target content to the receiver through the current interface of the input method client or the input method applet, the current interface can be skipped to the instant messaging interface, so that the user can select the receiver, and the encrypted target content can be sent to the receiver. The beneficial effects of the setting are that the application range of encrypting and sending the target content is expanded, the method is not limited to the instant messaging interface of the user, the use requirements of the user in different interfaces are met, and the user experience is improved.
In this embodiment, optionally, the information includes at least one of a text, a picture, and a video.
Specifically, the user can send information in any form, and if the information sent by the user is a picture, the picture can be directly used as target content; if the information sent by the user is a character, searching the content matched with the character from the prestored content, for example, the content can be an expression picture, and taking the searched expression picture as the target content; if the information sent by the user is a video, searching the content matched with the video from the prestored content according to the video information or the screenshot in the video, and using the content as the target content, wherein the target content matched with the video can also be an expression picture. The beneficial effect that sets up like this lies in, richens the form that the user sent the information, makes the information of arbitrary form all can find corresponding target content, avoids the condition that the user can only input the picture, and convenience of customers operation effectively promotes user experience.
S120, encrypting the target content and sending the encrypted target content to a receiver.
After determining the target content, the client of the sending party encrypts the target content, converts the target content into a form or content different from the target content, takes the form or content as the encrypted target content, and sends the encrypted target content to the client of the receiving party.
In this embodiment, optionally, encrypting the target content includes: and encrypting the target content into a character code, an expression code or a two-dimensional code.
Specifically, the sender client may encrypt the target content into different forms of content, which may be character codes, expression codes, or two-dimensional codes. The client of the sending party selects an encryption form according to the user operation, for example, the encryption form selected by the user is character coding, a cat which cries and loses a face is drawn on the target content, and the characters are marked as 'happy face writing', then the target content can be encrypted into a character form which is not in accordance with the target content, and the encrypted characters can be 'happy percent'. Fig. 3 is a schematic diagram illustrating an encryption mode selection in an embodiment of the present invention, where a sender user may select a desired encryption mode on the interface shown in fig. 3 to encrypt target content. The beneficial effect who sets up like this lies in, and the user can be according to the demand, encrypts into different forms with the target content, has both richened the playing method of chatting, can protect user's privacy again, avoids information leakage.
In this embodiment, optionally, sending the encrypted target content to the receiving party includes: when the triggering operation of a sending control on the current instant messaging interface is detected, sending the encrypted target content to a receiver; or sending the encrypted target content to a receiver when the triggering operation of the sharing/sending control on the interface in the input method client or the input method applet is detected.
Specifically, after encrypting the target content into the encrypted target content, the sender client waits for the subsequent operation of the user. And if the current interface is the instant messaging interface, the sender client side detects that the user triggers a sending control on the current instant messaging interface, and sends the encrypted content to the receiver client side, wherein the encrypted content is the encrypted target content. And if the current interface is the interface of the input method client or the input method applet, and the sender client detects that the user triggers the sharing/sending control on the current interface, sending the encrypted content to the receiver client. The method has the advantages that on any current interface, the client of the sender needs to send the encrypted content after responding to the triggering operation of the user, so that the encrypted content is ensured to be sent in order, and the information sending efficiency is improved.
One embodiment in the above application has the following advantages or benefits: the sender determines the target content, encrypts the target content and sends the encrypted target content to the receiver. Target content is prevented from being revealed, playing methods and information sending modes of the sent content are enriched, using requirements of users are met, and user experience is improved.
Second embodiment
Fig. 4 is a schematic flow chart of an information sending method according to a second embodiment of the present application, which is a further optimization of the foregoing embodiment, and is used in a case where a sender sends a target content to a receiver, where the method may be executed by an information sending apparatus, and the apparatus may be implemented in a software and/or hardware manner, and may be integrated in an electronic device. As shown in fig. 4, an information sending method provided in this embodiment may include:
and S410, determining target content to be encrypted according to user operation.
The user determines the target content to be encrypted on the current interface, the current interface may be an instant messaging interface using an input method keyboard, and the content to be sent is input or selected through the input method keyboard, wherein the instant messaging interface may be a chat interface. The current interface may also be an input method client or an interface in an input method applet, for example, the input method client may be an Baidu input method APP (Application), and the input method applet may be an input method applet hosted in a WeChat APP. The content to be transmitted is input or selected by using an input method keyboard in the input method client or the input method applet. When the user sends the encrypted content to the receiver through the current interface of the input method client or the input method applet, the current interface can be skipped to the instant messaging interface, so that the user can select the receiver so as to send the encrypted content to the receiver.
And S420, sending an encryption request carrying the target content to the server, so that the server encrypts the target content and sends the encrypted target content to a receiver.
After determining the target content, the sender sends an encryption request to the server, and requests the server to encrypt the target content into encrypted target content, where the encryption request may carry the target content. And after receiving the encryption request, the server acquires the target content from the encryption request, and encrypts the target content into a character code, an expression code or a two-dimensional code according to the user operation. For example, the sender client receives an expression picture with content of 'happy' input by a user, responds to an instruction that the user encrypts the picture into a two-dimensional code, and sends an encryption request carrying the picture to the server. And the server receives the encryption request, acquires the picture in the encryption request, determines the picture as target content, and encrypts the picture into the two-dimensional code.
And if the client side of the sending party detects that the user triggers the sending control on the current interface, sending a sending instruction to the server side, and sending the encrypted target content to the client side of the receiving party by the server side, wherein the current interface can be a current instant messaging interface, an input method client side interface or an input method small program interface.
One embodiment in the above application has the following advantages or benefits: and determining the target content by the sender, and sending the encryption request carrying the target content to the server. And encrypting the target content by the server and sending the encrypted target content to a receiver. The client side and the server side of the sender are made to work clearly, the information sending efficiency is improved, the information sending form is enriched, the user requirements are met, and the use experience of the user is improved.
Third embodiment
Fig. 5 is a flowchart illustrating an information display method according to a third embodiment of the present application, where the method is applied to a receiving party, that is, a receiving party client, and can be executed by an information display apparatus, where the apparatus can be implemented in software and/or hardware and can be integrated in an electronic device, and the electronic device can be a mobile terminal or a computer. As shown in fig. 5, an information display method provided in this embodiment may include:
s510, receiving and displaying encrypted target content sent by a sender; and the encrypted target content is obtained by encrypting the target content.
The client side of the receiving party receives the encrypted content sent by the client side or the server side of the sending party, and displays the encrypted content on the current interface of the client side of the receiving party, wherein the encrypted content is obtained by encrypting the target content by the client side or the server side of the sending party and is the encrypted target content. The current interface of the recipient client can be the current instant messaging interface.
In this embodiment, optionally, the encrypted target content is a character code, an expression code, or a two-dimensional code.
Specifically, the client or the server of the sender encrypts the target content into encrypted content in the form of character codes, expression codes or two-dimensional codes according to user operation, and sends the encrypted content to the client of the receiver. The content received by the receiver client is the encrypted target content, namely the encrypted content received by the receiver client can be in the form of character codes, expression codes or two-dimensional codes, and a user cannot directly know the target content according to the encrypted content. The beneficial effect who sets up like this lies in, through showing the encryption content, strengthens the protection to the target content, prevents that user's privacy from being revealed, and the playing method that information display can be richened to different encryption content forms, promotes user's use and experiences.
S520, decrypting the encrypted target content to obtain the corresponding target content.
The receiving party client pre-defines the decryption operation on the encrypted content, and after receiving the encrypted content, the user decrypts the encrypted content according to the pre-defined decryption operation, wherein the decrypted content is the target content sent by the sending party.
In this embodiment, optionally, decrypting the encrypted target content to obtain the corresponding target content includes: when the preset operation aiming at the encrypted content is detected, decrypting the encrypted content to obtain the target content corresponding to the encrypted content; or when the preset operation aiming at the encrypted content is detected, a decryption request carrying the encrypted content is sent to the server, so that the server decrypts the encrypted content and sends the decrypted target content to the receiver.
For example, the target content determined by the sender client is an expression package picture of 'happy', the encrypted content is '# ¥ &', the content received by the receiver is the '# ¥ &', the user sends the decryption request carrying the encrypted content to the server after performing the preset operation on the receiver client, the server sends the encrypted content from the server to the server, the encrypted content from the server is the encrypted content, the server encrypts the encrypted content from the server, the server decrypts the encrypted content from the encrypted content, and the server decrypts the encrypted content from the encrypted content, the server decrypts the encrypted content from the encrypted content, and the server decrypts the expression package picture of '# ¥ &' as the expression package picture of 'happy', namely determines the target content as the 'happy' expression package picture of the server, and the decryption efficiency of the server is improved.
In this embodiment, optionally, the preset operation includes a copy operation, but may also be other operations.
Specifically, a preset operation is predefined in the receiver client for decryption, and the preset operation may be a copy operation. And the receiver user selects the encrypted content to be decrypted, clicks and copies to obtain the decrypted target content. As shown in fig. 6, fig. 6 is a schematic diagram of the decryption of the preset operation in this embodiment. And the receiver user selects the encrypted content to be decrypted, a copy control appears on the current interface, and the receiver user clicks the copy control to obtain the target content below the current interface.
And S530, displaying the target content.
And after the encrypted content is decrypted by the client or the server of the receiving party, the target content is displayed on the current interface for the user of the receiving party to check.
One embodiment in the above application has the following advantages or benefits: the receiver client receives the encrypted target content, decrypts and displays the encrypted target content, so that the target content is prevented from being directly displayed on the receiver client to be leaked, privacy protection of a user is enhanced, the display form of user communication content is enriched, and the use requirement of the user is met.
Fourth embodiment
Fig. 7 is a flowchart illustrating an information sending method according to a fourth embodiment of the present application, where the method is applied to a server for sending target content, and the method is implemented by an information sending apparatus, and the apparatus can be implemented in software and/or hardware and can be integrated into an electronic device, where the electronic device can be a mobile terminal or a computer. As shown in fig. 7, an information sending method provided in this embodiment may include:
and S710, receiving an encryption request carrying target content sent by a sender.
After determining the target content, the sender sends an encryption request to the server, wherein the encryption request carries the target content. The server receives the encryption request and acquires the target content from the encryption request.
S720, encrypting the target content.
The server side obtains the target content and encrypts the target content according to the user operation, and the obtained encrypted target content can be content irrelevant to the meaning of the target content.
In this embodiment, optionally, encrypting the target content includes: and encrypting the target content into a character code, an expression code or a two-dimensional code.
Specifically, the encrypted target content may be in a form of character code, expression code or two-dimensional code, the user may select a desired target encryption form on the sender client, and the server encrypts the target content into the target encryption form in response to an encryption form selection instruction of the user. The beneficial effect that sets up like this lies in, through diversified encryption form, can improve the user to the use interest of information sending function, satisfies user's individualized demand, promotes user experience.
And S730, sending the encrypted target content to a receiver.
The server encrypts the target content into encrypted content, and if a trigger instruction of a user for sending a control on a current interface is detected, the encrypted content is sent to a receiver client, and the receiver displays the encrypted content, wherein the encrypted content is the encrypted target content.
In this embodiment, optionally, after sending the encrypted target content to the receiving party, the method further includes: receiving a decryption request which is sent by a receiver and carries encrypted target content; decrypting the encrypted target content according to the decryption request to obtain corresponding target content; and sending the target content obtained by decryption to a receiving party.
Specifically, the recipient client may decrypt the encrypted content after receiving the encrypted content. The receiving party can send a decryption request carrying the encrypted content to the server, and the server receives the decryption request, determines the encrypted content, and decrypts the encrypted content into the corresponding target content. The server side sends the target content to the receiver side, and the receiver side client side displays the target content. The beneficial effect of setting like this lies in, receiver's customer end and server side can all decrypt the encryption content, guarantee that the decryption process goes on normally, improve decryption efficiency.
One embodiment in the above application has the following advantages or benefits: the server side can receive the target content and encrypt the target content, and both the sender and the server side can perform encryption work, so that the encryption process is prevented from being failed, and the encryption efficiency is improved.
Fifth embodiment
Fig. 8 is a schematic structural diagram of an information sending apparatus according to a fifth embodiment of the present application, which is configured at a sender client, and is capable of executing the information sending method according to the first aspect of the present application, and includes functional modules corresponding to the executing method and advantageous effects. As shown in fig. 8, the apparatus 800 may include:
a target content determining module 801, configured to determine target content to be encrypted according to a user operation;
an encrypted content obtaining module 802, configured to encrypt the target content and send the encrypted target content to the receiving party; or sending an encryption request carrying the target content to the server, so that the server encrypts the target content and sends the encrypted target content to the receiver.
Optionally, the target content to be encrypted includes: a target picture or a target video.
Optionally, the target content determining module 801 is specifically configured to:
acquiring content input or selected by a user through a current interface, and determining the content as target content; or,
acquiring at least one piece of information input or selected by a user through a current interface, determining content matched with the at least one piece of information, and taking the determined content as target content; or,
and acquiring a plurality of information input or selected by a user through the current interface, and synthesizing the plurality of information to obtain the target content.
Optionally, the current interface includes:
a panel interface of an input method keyboard of the current instant messaging interface; or,
an interface in an input method client; or,
and inputting an interface in the method applet.
Optionally, the information includes at least one of text, pictures and video.
Optionally, the encrypted content obtaining module 802 is specifically configured to:
and encrypting the target content into a character code, an expression code or a two-dimensional code.
Optionally, the encrypted content obtaining module 802 is further specifically configured to:
when the triggering operation of a sending control on the current instant messaging interface is detected, sending the encrypted target content to a receiver; or,
and when the triggering operation of the sharing/sending control on the interface in the input method client or the input method applet is detected, sending the encrypted target content to a receiver.
One embodiment in the above application has the following advantages or benefits: the client of the sending party of the user can encrypt the target content and then send the encrypted target content to the client of the receiving party, and can also send the target content to the server, and the encrypted target content is sent to the client of the receiving party by the server. The client side and the server side of the sending party jointly guarantee feasibility of a content encryption process, encryption efficiency is improved, target content is prevented from being leaked, playing methods of the sent content are enriched, using requirements of users are met, and user experience is improved.
EXAMPLE six
Fig. 9 is a schematic structural diagram of an information display apparatus according to a sixth embodiment of the present application, which is configured at a receiving-side client and is capable of executing the information display method according to the second aspect of the present application, and which has functional modules and beneficial effects corresponding to the execution method. As shown in fig. 9, the apparatus 900 may include:
an encrypted content receiving module 901, configured to receive and display an encrypted target content sent by a sender; the encrypted target content is obtained by encrypting the target content;
an encrypted content decryption module 902, configured to decrypt the encrypted target content to obtain a corresponding target content;
and a target content display module 903, configured to display the target content.
Optionally, the encrypted target content is a character code, an expression code or a two-dimensional code.
Optionally, the encrypted content decryption module 902 is specifically configured to:
when the preset operation aiming at the encrypted target content is detected, decrypting the encrypted target content to obtain the corresponding target content; or,
and when the preset operation aiming at the encrypted target content is detected, sending a decryption request carrying the encrypted target content to the server, so that the server decrypts the encrypted target content and sends the decrypted target content to the receiver.
Optionally, the preset operation includes a copy operation.
One embodiment in the above application has the following advantages or benefits: the receiver client receives the encrypted target content, decrypts and displays the encrypted target content, so that the target content is prevented from being directly displayed on the receiver client to be leaked, privacy protection of a user is enhanced, the form of user communication content is enriched, and the use requirement of the user is met.
EXAMPLE seven
Fig. 10 is a schematic structural diagram of an information sending apparatus according to a seventh embodiment of the present application, which is configured at a server and is capable of executing the information sending method according to the third aspect of the present application, and which has functional modules and beneficial effects corresponding to the execution method. As shown in fig. 10, the apparatus 1000 may include:
an encryption request receiving module 1001, configured to receive an encryption request with target content sent by a sender;
a target content encryption module 1002, configured to encrypt target content;
and an encrypted content sending module 1003, configured to send the encrypted target content to the receiving party.
Optionally, the target content encryption module 1002 is specifically configured to:
and encrypting the target content into a character code, an expression code or a two-dimensional code.
Optionally, the apparatus further comprises:
the decryption request receiving module is used for receiving a decryption request which is sent by a receiving party and carries the encrypted target content;
the target content obtaining module is used for decrypting the encrypted target content according to the decryption request to obtain corresponding target content;
and the target content sending module is used for sending the target content obtained by decryption to a receiving party.
One embodiment in the above application has the following advantages or benefits: the target content can be received by the server and encrypted, so that the client and the server can perform encryption work, the encryption process is prevented from being failed, and the encryption efficiency is improved.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
As shown in fig. 11, it is a block diagram of an electronic device according to the information transmission method of the first aspect of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 11, the electronic apparatus includes: one or more processors 1101, a memory 1102, and interfaces for connecting the various components, including a high speed interface and a low speed interface. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). In fig. 11, a processor 1101 is taken as an example.
The memory 1102 is a non-transitory computer readable storage medium as provided herein. The memory stores instructions executable by at least one processor to cause the at least one processor to perform the information sending method provided by the present application. The non-transitory computer-readable storage medium of the present application stores computer instructions for causing a computer to execute the information transmitting method provided by the present application.
Memory 1102, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules. The processor 1101 executes various functional applications of the server and data processing, i.e., implements the information transmitting method in the above method embodiment, by running non-transitory software programs, instructions, and modules stored in the memory 1102.
The memory 1102 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the electronic device, and the like. Further, the memory 1102 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 1102 may optionally include memory located remotely from the processor 1101, which may be connected to the electronic device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the information transmitting method may further include: an input device 1103 and an output device 1104. The processor 1101, the memory 1102, the input device 1103 and the output device 1104 may be connected by a bus or other means, and are exemplified by being connected by a bus in fig. 11.
The input device 1103 may receive input numeric or character information and generate key signal inputs related to user settings and function controls of the electronic apparatus, such as a touch screen, keypad, mouse, track pad, touch pad, pointer, one or more mouse buttons, track ball, joystick, or other input device. The output devices 1104 may include a display device, auxiliary lighting devices (e.g., LEDs), tactile feedback devices (e.g., vibrating motors), and the like. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including visual input, voice input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), the internet, and blockchain networks.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
According to the technical scheme of the embodiment of the application, the client of the sending party of the user can encrypt the target content and then send the encrypted target content to the client of the receiving party, and the client of the sending party can also send the target content to the server, and the server encrypts the target content and then sends the encrypted target content to the client of the receiving party. The client side and the server side of the sending party jointly guarantee feasibility of a content encryption process, encryption efficiency is improved, target content is prevented from being leaked, playing methods of the sent content are enriched, using requirements of users are met, and user experience is improved.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present application can be achieved, and the present invention is not limited herein.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
Fig. 12 is a block diagram of an electronic device according to the information display method of the second aspect of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 12, the electronic apparatus includes: one or more processors 1201, memory 1202, and interfaces for connecting the various components, including a high speed interface and a low speed interface. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). Fig. 12 illustrates an example of one processor 1201.
Memory 1202 is a non-transitory computer readable storage medium as provided herein. The memory stores instructions executable by at least one processor to cause the at least one processor to perform the information display method provided by the present application. The non-transitory computer-readable storage medium of the present application stores computer instructions for causing a computer to execute the information display method provided by the present application.
Memory 1202, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules. The processor 1201 executes various functional applications of the server and data processing, i.e., implements the information display method in the above-described method embodiments, by executing non-transitory software programs, instructions, and modules stored in the memory 1202.
The memory 1202 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the electronic device, and the like. Further, the memory 1202 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 1202 may optionally include memory located remotely from the processor 1201, which may be connected to the electronic device via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the information display method may further include: an input device 1203 and an output device 1204. The processor 1201, the memory 1202, the input device 1203, and the output device 1204 may be connected by a bus or other means, and the bus connection is exemplified in fig. 12.
The input device 1203 may receive input numeric or character information and generate key signal inputs related to user settings and function controls of the electronic apparatus, such as a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointing stick, one or more mouse buttons, a track ball, a joystick, or other input devices. The output devices 1204 may include a display device, auxiliary lighting devices (e.g., LEDs), tactile feedback devices (e.g., vibrating motors), and the like. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including visual input, voice input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), the internet, and blockchain networks.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
According to the technical scheme of the embodiment of the application, the receiver client receives the encrypted content, decrypts and displays the encrypted content, avoids the encrypted content from being directly displayed on the receiver client to be leaked, strengthens privacy protection on users, enriches the content communication form of the users, and meets the use requirements of the users.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present application can be achieved, and the present invention is not limited herein.
According to an embodiment of the present application, an electronic device and a readable storage medium are also provided.
As shown in fig. 13, is a block diagram of an electronic device according to the information transmission method of the third aspect of the present application. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the present application that are described and/or claimed herein.
As shown in fig. 13, the electronic apparatus includes: one or more processors 1301, memory 1302, and interfaces for connecting the various components, including high speed interfaces and low speed interfaces. The various components are interconnected using different buses and may be mounted on a common motherboard or in other manners as desired. The processor may process instructions for execution within the electronic device, including instructions stored in or on the memory to display graphical information of a GUI on an external input/output apparatus (such as a display device coupled to the interface). In other embodiments, multiple processors and/or multiple buses may be used, along with multiple memories and multiple memories, as desired. Also, multiple electronic devices may be connected, with each device providing portions of the necessary operations (e.g., as a server array, a group of blade servers, or a multi-processor system). Fig. 13 illustrates an example of a processor 1301.
Memory 1302 is a non-transitory computer readable storage medium as provided herein. The memory stores instructions executable by at least one processor to cause the at least one processor to perform the information sending method provided by the present application. The non-transitory computer-readable storage medium of the present application stores computer instructions for causing a computer to execute the information transmitting method provided by the present application.
Memory 1302, which is a non-transitory computer readable storage medium, may be used to store non-transitory software programs, non-transitory computer executable programs, and modules. The processor 1301 executes various functional applications and data processing of the server by running non-transitory software programs, instructions, and modules stored in the memory 1302, that is, implements the information transmission method in the above method embodiment.
The memory 1302 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to use of the electronic device, and the like. Further, the memory 1302 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, memory 1302 may optionally include memory located remotely from processor 1301, which may be connected to an electronic device through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The electronic device of the information transmitting method may further include: an input device 1303 and an output device 1304. The processor 1301, the memory 1302, the input device 1303 and the output device 1304 may be connected by a bus or other means, and fig. 13 illustrates the bus connection.
The input device 1303 may receive input numeric or character information and generate key signal inputs related to user settings and function control of the electronic apparatus, such as an input device like a touch screen, a keypad, a mouse, a track pad, a touch pad, a pointing stick, one or more mouse buttons, a track ball, a joystick, etc. The output devices 1304 may include a display device, auxiliary lighting devices (e.g., LEDs), tactile feedback devices (e.g., vibrating motors), and the like. The display device may include, but is not limited to, a Liquid Crystal Display (LCD), a Light Emitting Diode (LED) display, and a plasma display. In some implementations, the display device can be a touch screen.
Various implementations of the systems and techniques described here can be realized in digital electronic circuitry, integrated circuitry, application specific ASICs (application specific integrated circuits), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
These computer programs (also known as programs, software applications, or code) include machine instructions for a programmable processor, and may be implemented using high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. As used herein, the terms "machine-readable medium" and "computer-readable medium" refer to any computer program product, apparatus, and/or device (e.g., magnetic discs, optical disks, memory, Programmable Logic Devices (PLDs)) used to provide machine instructions and/or data to a programmable processor, including a machine-readable medium that receives machine instructions as a machine-readable signal. The term "machine-readable signal" refers to any signal used to provide machine instructions and/or data to a programmable processor.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including visual input, voice input, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), the internet, and blockchain networks.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
According to the technical scheme of the embodiment of the application, the server side can receive the target content and encrypt the target content, so that the client side and the server side can perform encryption work, the encryption process is prevented from being broken down, and the encryption efficiency is improved.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present application may be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present application can be achieved, and the present invention is not limited herein.
The above-described embodiments should not be construed as limiting the scope of the present application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made in accordance with design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (19)

1. An information sending method applied to a sender is characterized by comprising the following steps:
determining target content to be encrypted according to user operation;
encrypting the target content and sending the encrypted target content to a receiver; or sending an encryption request carrying the target content to the server, so that the server encrypts the target content and sends the encrypted target content to the receiver.
2. The method of claim 1, wherein the target content to be encrypted comprises: a target picture or a target video.
3. The method according to claim 1, wherein determining the target content to be encrypted according to a user operation comprises:
acquiring content input or selected by a user through a current interface, and determining the content as target content; or,
acquiring at least one piece of information input or selected by a user through a current interface, determining content matched with the at least one piece of information, and taking the determined content as target content; or,
and acquiring a plurality of information input or selected by a user through a current interface, and synthesizing the plurality of information to obtain the target content.
4. The method of claim 3, wherein the current interface comprises:
a panel interface of an input method keyboard of the current instant messaging interface; or,
an interface in an input method client; or,
and inputting an interface in the method applet.
5. The method of claim 3, wherein the information comprises at least one of text, pictures, and video.
6. The method of claim 1, wherein encrypting the target content comprises:
and encrypting the target content into a character code, an expression code or a two-dimensional code.
7. The method of claim 1, wherein sending the encrypted target content to the recipient comprises:
when the triggering operation of a sending control on the current instant messaging interface is detected, sending the encrypted target content to a receiver; or,
and when the triggering operation of the sharing/sending control on the interface in the input method client or the input method applet is detected, sending the encrypted target content to a receiver.
8. An information display method applied to a receiving party is characterized by comprising the following steps:
receiving and displaying encrypted target content sent by a sender; the encrypted target content is obtained by encrypting the target content;
decrypting the encrypted target content to obtain corresponding target content;
and displaying the target content.
9. The method according to claim 8, wherein the encrypted target content is a character code, an expression code or a two-dimensional code.
10. The method of claim 8, wherein decrypting the encrypted target content to obtain the corresponding target content comprises:
when the preset operation aiming at the encrypted target content is detected, decrypting the encrypted target content to obtain the corresponding target content; or,
and when the preset operation aiming at the encrypted target content is detected, sending a decryption request carrying the encrypted target content to the server, so that the server decrypts the encrypted target content and sends the decrypted target content to a receiver.
11. The method of claim 10, wherein the default operation comprises a copy operation.
12. An information sending method applied to a server side is characterized by comprising the following steps:
receiving an encryption request carrying target content sent by a sender;
encrypting the target content;
and sending the encrypted target content to a receiver.
13. The method of claim 12, wherein encrypting the target content comprises:
and encrypting the target content into a character code, an expression code or a two-dimensional code.
14. The method of claim 12, wherein after sending the encrypted target content to the recipient, the method further comprises:
receiving a decryption request which is sent by the receiver and carries the encrypted target content;
decrypting the encrypted target content according to the decryption request to obtain corresponding target content;
and sending the target content obtained by decryption to the receiving party.
15. An information transmission apparatus configured at a sender client, the apparatus comprising:
the target content determining module is used for determining target content to be encrypted according to user operation;
the encrypted content obtaining module is used for encrypting the target content and sending the encrypted target content to a receiver; or sending an encryption request carrying the target content to the server, so that the server encrypts the target content and sends the encrypted target content to the receiver.
16. An information display apparatus configured at a receiver client, the apparatus comprising:
the encrypted content receiving module is used for receiving and displaying the encrypted target content sent by the sender; the encrypted target content is obtained by encrypting the target content;
the encrypted content decryption module is used for decrypting the encrypted target content to obtain corresponding target content;
and the target content display module is used for displaying the target content.
17. An information transmission apparatus configured at a server, the apparatus comprising:
the encryption request receiving module is used for receiving an encryption request which is sent by a sender and carries target content;
the target content encryption module is used for encrypting the target content;
and the encrypted content sending module is used for sending the encrypted target content to a receiver.
18. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the method of transmitting information of any one of claims 1-7, or to perform the method of displaying information of any one of claims 8-11, or to perform the method of transmitting information of any one of claims 12-14.
19. A non-transitory computer-readable storage medium storing computer instructions for causing a computer to execute the information transmission method according to any one of claims 1 to 7, or execute the information display method according to any one of claims 8 to 11, or execute the information transmission method according to any one of claims 12 to 14.
CN202010129562.1A 2020-02-28 2020-02-28 Information sending and displaying method, device, equipment and storage medium Pending CN111371773A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010129562.1A CN111371773A (en) 2020-02-28 2020-02-28 Information sending and displaying method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010129562.1A CN111371773A (en) 2020-02-28 2020-02-28 Information sending and displaying method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN111371773A true CN111371773A (en) 2020-07-03

Family

ID=71211148

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010129562.1A Pending CN111371773A (en) 2020-02-28 2020-02-28 Information sending and displaying method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111371773A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112416210A (en) * 2020-11-11 2021-02-26 珠海格力电器股份有限公司 Information encryption and decryption method, system, storage medium and electronic equipment
WO2022161406A1 (en) * 2021-01-27 2022-08-04 维沃移动通信有限公司 Encryption method and apparatus, electronic device, and medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102638459A (en) * 2012-03-23 2012-08-15 腾讯科技(深圳)有限公司 Authentication information transmission system, authentication information transmission service platform and authentication information transmission method
CN104063427A (en) * 2014-06-06 2014-09-24 北京搜狗科技发展有限公司 Expression input method and device based on semantic understanding
CN104836782A (en) * 2014-04-03 2015-08-12 腾讯科技(北京)有限公司 Server, client slide, data access method and data access system
CN105512516A (en) * 2015-12-04 2016-04-20 腾讯科技(深圳)有限公司 Expression uploading method and device
WO2017026739A1 (en) * 2015-08-10 2017-02-16 라인 가부시키가이샤 System and method for obfuscating application code
CN106570405A (en) * 2016-11-04 2017-04-19 北京百度网讯科技有限公司 Method and apparatus for performing encryption/decryption on text in input method
CN106790009A (en) * 2016-12-13 2017-05-31 北京奇虎科技有限公司 Information processing method, device and mobile terminal
CN107277028A (en) * 2017-06-30 2017-10-20 阿里巴巴集团控股有限公司 The method and device, equipment, storage medium of chatting facial expression are transmitted between application
CN108647521A (en) * 2018-03-07 2018-10-12 韩润超 The input method and key management method and device of encryption and decryption
CN108667718A (en) * 2018-04-26 2018-10-16 济南浪潮高新科技投资发展有限公司 A kind of instantaneous communication system and its communication means

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102638459A (en) * 2012-03-23 2012-08-15 腾讯科技(深圳)有限公司 Authentication information transmission system, authentication information transmission service platform and authentication information transmission method
CN104836782A (en) * 2014-04-03 2015-08-12 腾讯科技(北京)有限公司 Server, client slide, data access method and data access system
CN104063427A (en) * 2014-06-06 2014-09-24 北京搜狗科技发展有限公司 Expression input method and device based on semantic understanding
WO2017026739A1 (en) * 2015-08-10 2017-02-16 라인 가부시키가이샤 System and method for obfuscating application code
CN105512516A (en) * 2015-12-04 2016-04-20 腾讯科技(深圳)有限公司 Expression uploading method and device
CN106570405A (en) * 2016-11-04 2017-04-19 北京百度网讯科技有限公司 Method and apparatus for performing encryption/decryption on text in input method
CN106790009A (en) * 2016-12-13 2017-05-31 北京奇虎科技有限公司 Information processing method, device and mobile terminal
CN107277028A (en) * 2017-06-30 2017-10-20 阿里巴巴集团控股有限公司 The method and device, equipment, storage medium of chatting facial expression are transmitted between application
CN108647521A (en) * 2018-03-07 2018-10-12 韩润超 The input method and key management method and device of encryption and decryption
CN108667718A (en) * 2018-04-26 2018-10-16 济南浪潮高新科技投资发展有限公司 A kind of instantaneous communication system and its communication means

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112416210A (en) * 2020-11-11 2021-02-26 珠海格力电器股份有限公司 Information encryption and decryption method, system, storage medium and electronic equipment
WO2022161406A1 (en) * 2021-01-27 2022-08-04 维沃移动通信有限公司 Encryption method and apparatus, electronic device, and medium

Similar Documents

Publication Publication Date Title
US20190306277A1 (en) Interaction between devices displaying application status information
WO2017166718A1 (en) Method, apparatus, and system for displaying bullet screen information
CN111934872B (en) Key processing method, device, electronic equipment and storage medium
TWI590157B (en) Compressed serialization of data for communication from a client-side application
CN111131317B (en) Data processing method, device, equipment and medium based on block chain
US20180341381A1 (en) Reproducing state of source environment when image was screen captured on a different computing device using resource location, resource navigation and positional metadata embedded in image
US11281761B2 (en) Method and system for using a plurality of accounts in an instant messaging application
US20180131656A1 (en) Taking actions on notifications using an incomplete data set from a message
CN111274591A (en) Method, device, electronic equipment and medium for accessing Kubernetes cluster
CN110909372A (en) Data processing method, device, equipment and medium
CN111371773A (en) Information sending and displaying method, device, equipment and storage medium
US20150142931A1 (en) Systems and methods for content browsing, generation, and interaction
CN113676395B (en) Information processing method, related device and readable storage medium
CN110968856B (en) Login method, login device, electronic equipment and storage medium
US20150156157A1 (en) Association method and device for communications modes
KR101416790B1 (en) Method and apparatus for establishing independent message page
CN109413119B (en) Webpage sharing method and related equipment
CN111752885B (en) Method and device for processing reading authority in reading material
CN113507407A (en) Information processing method, device, electronic equipment and storage medium
CN103186531A (en) Method and device for realizing interactive application function on the basis of microblog message
CN112417326A (en) URL conversion method and device, electronic equipment and storage medium
US20150295868A1 (en) Information processing method and device
CN112765615B (en) Data storage method and device and electronic equipment
KR20130143268A (en) System for input of contents, terminal, method for input of contents and computer readable recording medium recording prgram for implementing the method
CN111062047B (en) Data storage method, system, 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200703

RJ01 Rejection of invention patent application after publication