[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN106713110B - Instant messaging method, client and electronic equipment - Google Patents

Instant messaging method, client and electronic equipment Download PDF

Info

Publication number
CN106713110B
CN106713110B CN201510783647.0A CN201510783647A CN106713110B CN 106713110 B CN106713110 B CN 106713110B CN 201510783647 A CN201510783647 A CN 201510783647A CN 106713110 B CN106713110 B CN 106713110B
Authority
CN
China
Prior art keywords
information
application interface
application
preset
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510783647.0A
Other languages
Chinese (zh)
Other versions
CN106713110A (en
Inventor
甘浩
毛艺霖
段青龙
林子钧
裘钰钢
付磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nail Holding (cayman) Ltd
Original Assignee
Nail Holding Cayman 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 Nail Holding Cayman Co ltd filed Critical Nail Holding Cayman Co ltd
Priority to CN201510783647.0A priority Critical patent/CN106713110B/en
Publication of CN106713110A publication Critical patent/CN106713110A/en
Application granted granted Critical
Publication of CN106713110B publication Critical patent/CN106713110B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides an instant messaging method, a client and electronic equipment. The method comprises the following steps: receiving an instant communication message packaged with application interface information, and displaying preset information in a session window; the application interface information is packaged with a code for realizing an interactive function with a user; when the preset message is triggered, calling application software corresponding to the application interface information, and displaying an application interface; receiving a preset instruction, and replacing the displayed application interface with the session window; and canceling the display of the preset information in the conversation window.

Description

Instant messaging method, client and electronic equipment
Technical Field
The present application belongs to the field of computer software, and in particular, relates to an instant messaging method, a client, and an electronic device.
Background
Instant Messaging tools based on Instant Messaging (IM) enable users to identify online users and exchange messages with them in real time, which is popular among people because of its good communication flexibility and timeliness.
With the development of instant messaging technology, a user can send application information to other users through an instant messaging tool. For example, a user may send a friend business card to other users through an instant messaging tool, and the other users may enable corresponding application software to open an application interface according to the friend business card, and may perform an operation on the application interface, for example, add a friend.
In some cases, messages sent between users may want the other party to know, but not to propagate. Or, after the other party is expected to know, even if the other party propagates, the identity information of the original information sender is not leaked. So an instant messaging message to burn after reading appears. After the receiver reads the message, the content of the message is automatically deleted.
As more and more people use instant messaging software, more demands are also raised. For example, one user may need to send interface information for one application to another user. For example, business cards, map interfaces, shopping interfaces, and the like may be sent. In some scenarios, a message sender user may wish to not propagate interface information for the application after the message recipient user consults the interface information. So the method of burning after reading is adopted. However, in the conventional instant messaging software, when the interface information of the application is sent, the interface information of the application is often formed into a picture through screenshot software, and then the picture is sent to a message receiver, and after the message receiver refers to the picture, the picture is automatically deleted.
However, the above application interface transmitted by picture is not convenient for the message receiver to operate and use. Specifically, for example, the user B may receive a picture sent by the user a and containing an application interface opened according to the business card of the user C, and the user B wants to add the user C as a friend, and needs to obtain, within the picture display time, related information for adding the user C as the friend, for example, at least one of a name, a user-defined name, and a phone number, and open corresponding application software, so that the operation of adding a friend can be performed by using the related information, which is cumbersome. In addition, in the process of acquiring the related information, the user B may be confused due to short picture display time, and cannot acquire the related information correctly, which results in a failure of the operation of adding a friend.
Disclosure of Invention
The embodiment of the application provides an instant messaging method, a client and electronic equipment which are convenient to operate on the premise of protecting user privacy.
To achieve the above object, an aspect of the present application provides an instant messaging method, where the method includes: receiving an instant communication message packaged with application interface information, and displaying preset information in a session window; the application interface information is packaged with a code for realizing an interactive function with a user; when the preset message is triggered, calling application software corresponding to the application interface information, and displaying an application interface; receiving a preset instruction, and replacing the displayed application interface with the session window; and canceling the display of the preset information in the conversation window.
To achieve the above object, another aspect of the present application provides a client, including: the receiving module is used for receiving the instant communication message encapsulated with the application interface information and displaying preset information in a session window; the application interface information is packaged with a code for realizing an interactive function with a user; the calling module is used for calling the application software corresponding to the application interface information and displaying the application interface when the preset message is triggered; the instruction receiving module is used for receiving a preset instruction and replacing the displayed application interface with the session window; and the canceling module is used for canceling the display of the preset information in the conversation window.
The present application further provides an electronic device, which includes: a touch-sensitive display; a communication terminal capable of network data communication; a memory storing application software; the processor is used for controlling the touch display to display preset information in a conversation window when receiving the instant messaging message encapsulated with the application interface information through the communication terminal; the application interface information is packaged with a code for realizing an interactive function with a user; when the preset message is triggered, controlling to call the application software stored in the memory, and displaying an application interface on the touch display; when a preset instruction is received, controlling the touch display to replace the displayed application interface with the conversation window; and controlling the touch display to cancel the display of the preset information in the conversation window.
According to the technical scheme provided by the embodiment of the application, the application interface information encapsulated with the codes for realizing the interactive function with the user is sent, so that the message receiver can call the corresponding application software to display the application interface, and the receiver user can conveniently perform related operations on the displayed application interface. Thereby improving the convenience of operation. And moreover, the application interface is controlled to replace the session window according to the preset instruction, namely the display canceling time of the application interface is allowed to allow the receiver user to control the display time and the display canceling time of the application interface according to the actual situation of the receiver user, so that the privacy and the safety of the user can be better protected.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a flowchart of an instant messaging method according to an embodiment of the present application;
fig. 2 is a flowchart of an instant messaging method according to an embodiment of the present application;
FIG. 3 is a block diagram of a client according to an embodiment of the present application;
fig. 4a is a preset information displaying step of the instant messaging method according to an embodiment of the present application;
fig. 4b is a step of triggering preset information of the instant messaging method according to an embodiment of the present application;
fig. 4c is a step of displaying an application interface of the instant messaging method according to an embodiment of the present application;
fig. 4d is a step of performing an operation on an application interface of the instant messaging method according to an embodiment of the present application;
fig. 4e is a step of canceling the display of the preset information in the countdown of the instant messaging method according to an embodiment of the present application;
fig. 5 is a block diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art without any inventive work based on the embodiments in the present application are within the scope of protection of the present application.
Please refer to fig. 1. The embodiment of the application provides an instant messaging method, which comprises the following steps.
Step S11: receiving an instant communication message packaged with application interface information, and displaying preset information in a session window; and the application interface information is packaged with a code for realizing the interactive function with the user.
In this embodiment, the instant messaging method may be implemented by a client. The client can be a mobile smart phone, a computer (including a notebook computer and a desktop computer), a tablet electronic device, a Personal Digital Assistant (PDA), or a smart wearable device and other terminal devices with a data communication function. The client may also be software that can run on any of the listed terminal devices. The client can receive the instant messaging message sent by the sending user through the modes of 2G/3G/4G, Wi-Fi, Bluetooth and the like.
In this embodiment, the functions, business logic, and application internal architecture implemented by each application may be different. So that different data structures can be made between the application software. When the application interface information of an application software is sent as the content of the instant messaging message, the data of the application interface information needs to be packaged so as to meet the requirement of the instant messaging message on the data structure. Again, such encapsulation requires interactive functionality to maintain application interface information. Generally, codes of application interface information can be maintained, codes of data which need to be called and are used for realizing an interaction function with a user in the application interface information are packaged, and a plurality of code programs are added on the basis of the codes of the data which need to be called and need to be called in the application interface information, and the added code programs can be identified by instant messaging software. Thus, the code of the application interface information can be sent out as the content of the instant communication message.
In this embodiment, the application interface information may include content data called by the instruction code in the application interface. For example, the application software is "contact", the sent application interface information is a contact name card, and names, telephones, addresses, work units, head images, groups and the like which are specifically related to the contact in the contact name card interface can be packaged as the application interface information. Where names, telephones, addresses, work units, avatars, packets, etc. may be the content data called for by the instruction code of the "contacts" application. The instruction code may be code that controls the flow of data and logic control within the application software. Only the content data may be included in the application interface information, and the instruction code portion of the application interface is not included; of course, the application interface information may also include the instruction code of the application interface and the content data called by the instruction code.
Further by way of example in this embodiment, the application interface may include a business card interface, a favorite page, a group chat page, a life circle dynamic page, and so on. And when the application interface is encapsulated into the instant messaging message, the interactive function of the application interface can be maintained, so that a user can conveniently perform corresponding operation. For example, when the application interface is a business card interface, information such as a name, a telephone, an address, a work unit, a head portrait, a group and the like of a user can be acquired through the business card interface, a user corresponding to the business card interface can be added as a friend through the business card interface, and a message and the like can be sent to the user corresponding to the business card interface; when the application interface is a favorite page, the corresponding page can be viewed and can be forwarded to friends or shared to a friend circle; when the application interface is a group chat page, applying for joining a chat group, and adding members in the chat group as friends; when the application interface is a life circle dynamic page, the moods issued by other users in the life circle can be checked, and praise, comment, forwarding and the like can be realized. In some embodiments, the application interface may also include other forms, and the embodiments of the present application are not limited thereto.
In this embodiment, the session window may be an interface provided by the client for performing information interaction with the user, and may mainly include an information input area and an information display area, where the preset information may be displayed in the information display area.
In this embodiment, after receiving the instant messaging message encapsulated with the application interface information, the preset information may be displayed in the session window. The preset information is used for indicating that the currently received instant messaging message encapsulated with the application interface information is received. Specifically, the preset information itself may be a character string, and the content of the character string is "you receive an application message and please click to view. "; the preset information itself may also be a preset image, and the image is displayed in the session window to remind the user of receiving the instant messaging message encapsulated with the application interface information. The preset image may be a designated image, and may not change for the received instant messaging message encapsulated with the application interface information. Of course, the preset image may also show different images for different application software corresponding to the application interface information. Specifically, the preset image may be an icon of the application software corresponding to the application interface information. The preset information may also be a combination of text and images. Of course, other modifications are possible in the light of the above teachings and may be within the scope of the present disclosure as long as they perform the same or similar function and effect as those of the present disclosure.
Step S13: and when the preset message is triggered, calling the application software corresponding to the application interface information, and displaying the application interface.
In this embodiment, the manner in which the preset message is triggered may include that the preset message has a click event. Wherein the execution subject of the trigger may be a finger of a user. In most application scenarios, the client may be configured with a touch display or may run on a terminal device having a touch display. A user can typically use a finger to perform a clicking operation on the touch sensitive display. In some embodiments, the trigger execution body may also include other forms, for example, a touch auxiliary device that performs the same operation on the touch display, such as a commonly used capacitive pen, an electromagnetic induction pen, an infrared-based short-distance remote control device, and the like. The client is a notebook or a desktop computer, and can also be clicked through a mouse. Of course, the embodiments of the present application are not limited to the above-mentioned examples.
In one embodiment, the touch display may be an inductive display device capable of receiving input signals, and when triggered, for example, when some operation with a predetermined gesture is performed at a corresponding position or area of the touch display, the touch display correspondingly generates an electrical signal to realize the input of the signals and drives corresponding application software. Specifically, in this embodiment, the touch display may receive a signal input by the trigger operation, and may further call application software corresponding to the application interface information to display the application interface. Of course, in other application scenarios, the instant messaging message sent by the sending user may be received by a client installed on a computer (including a laptop computer and a desktop computer). The display hardware of the computer for displaying the conversation window-the display screen may be a touch display, which may then receive the trigger operation of the execution body, as described above. Of course, the display screen of the computer may not be the touch display, that is, the display may be a non-touch display, and the receiving user may operate another hardware input device, such as a mouse, to input signals, so as to drive the corresponding application software. Specifically, in this embodiment, the computer may receive a signal that is triggered by a mouse to realize input, and may further call application software corresponding to the application interface information to display the application interface.
In this embodiment, after the corresponding application software is called to display the application interface, the receiver user can conveniently use the application interface to perform operations. Corresponding to the foregoing description, when the application interface information only includes content data, the application software may provide corresponding program framework data according to the content data to implement interface presentation. When the corresponding application interface information includes all data, namely content data and program frame data, the application software provides environment support for displaying the application interface. Such as data interfaces, further program interaction, etc. In a specific embodiment, for example, when the application interface information is business card information, the application software may provide a frame of the business card interface, and correspondingly present the content of the received business card interface information in the frame. Or, the application software provides a data interface and an operating environment for further interaction for the business card interface, such as saving as a contact function, setting a group, providing some public plug-ins for interface display, and the like. In another specific embodiment, for example, the application interface information is geographical location information, and in this case, the application interface information may only include a character string indicating the specific geographical location information, and may also include predetermined range map data of the specific location corresponding to the geographical location information. And corresponding application software can provide a map interface and identify a specific position corresponding to the geographic position information on the map interface. Or the application software can show the map data of the preset range and the identification of the specific position corresponding to the geographic position information, and provide services such as navigation, peripheral information search and the like.
In the embodiment, after the application interface is displayed, the conversation window can be covered, so that the risk of privacy disclosure of a message sender caused by the fact that the content of the callback window and the content of the interface information are in the same picture in a screenshot mode and the like can be avoided.
Step S15: and receiving a preset instruction, and replacing the displayed application interface with the session window.
In this embodiment, a preset instruction is received to indicate that the application interface provided by the current application software needs to be converted back to the session window. The preset command itself may be an electrical signal input. For example, an electrical signal generated by a touch display being triggered, or an electrical signal generated by a mouse click. Of course, a button may be provided on the application interface, which button is considered to receive a preset instruction when clicked. In a specific implementation manner, when a user completes corresponding operations by using application software, for example, successfully adding a friend, completing sending of a message, completing forwarding or sharing of a page, and the like, the application software may use the operations as a preset instruction when determining that the operations are completed, so that the client automatically completes replacement from an application interface to a session window. Or after the map application navigates to the geographic position corresponding to the application interface information, the navigation is finished and used as a preset instruction, and the preset instruction is automatically replaced by a conversation window. Of course, after the above operations are completed, the preset button provided by the application interface may be clicked, and an electrical signal obtained by clicking the preset button may be used as the preset instruction.
Step S17: and canceling the display of the preset information in the conversation window.
In this embodiment, in order to protect the privacy of the user completely, the displayed application interface is replaced with the session window, and the display of the preset information in the session window may be cancelled. At this time, the record of the preset information in the session window is deleted, and the user can not call application software to display the application interface through the preset information any more, so that the privacy and the safety of the user are protected. Specifically, after the application interface is cancelled to be displayed, the display of the client may resume displaying the session window, and a countdown indicator may be displayed in a corresponding area of the session window, for example, on the right side of the preset information, for example, the countdown indicator may count down for 3 s. And when the countdown is finished, canceling the display of the preset information displayed in the conversation window, wherein the preset information can disappear gradually in a vivid mode such as flame burning, paper crushing or eraser wiping to cancel the display. Of course, the time length of the countdown is not limited to 3s, and may be set according to actual needs, for example, it may be 1s, 2s, 4s, 5s, and the like, and the embodiment of the present application is not limited thereto. In addition, the embodiment of the present application may also not be limited to canceling the displaying of the preset information in the session window after the countdown is ended, for example, the displaying of the preset information may be canceled immediately after the map display interface is canceled, and the embodiment of the present application is not limited thereto.
According to the method and the device, the application interface information packaged with the codes for realizing the interactive function with the user is sent, so that the message receiver can call the corresponding application software to display the application interface, and the receiver user can conveniently perform related operations on the displayed application interface. Thereby improving the convenience of operation. And moreover, the application interface is controlled to replace the session window according to the preset instruction, namely the display canceling time of the application interface is allowed to allow the receiver user to control the display time and the display canceling time of the application interface according to the actual situation of the receiver user, so that the privacy and the safety of the user can be better protected.
In one embodiment, the step of canceling the presentation of the preset information in the session window may further include: and deleting the instant messaging message encapsulated with the application interface information.
In this embodiment, after canceling the display of the preset information, the instant messaging message encapsulated with the application interface information may be deleted. More specifically, the data of the instant messaging message encapsulated with the application interface information can be deleted on the terminal equipment of the receiver user, so that the possibility that the instant messaging message encapsulated with the application interface information is recovered can be prevented, and the privacy and safety of the user are protected to the maximum extent. Furthermore, the instant messaging message encapsulated with the application interface information can be prevented from being independently opened by other application software stored in the memory.
In one embodiment, the preset information may include: at least one of a character string, an image, voice, and video.
In this embodiment, the preset information is displayed on the session window in a predetermined style, and the content included in the application interface information may be covered or replaced, so as to prevent the information leakage caused by the peeping of other people when the application interface information is not displayed. Specifically, the preset information may be a character string with a predetermined length, such as "you receive an application message, click view! "; the icon can also be an image with predetermined content, for example, an icon capable of playing a role of identification, and the icon can also have a predetermined display style, for example, an image of a small animal or a dynamic cartoon figure, and can also be a thumbnail with a smaller size; the image may also have patches of predetermined area and shape, for example rectangular patches of red; the preset information may also be voice or video which can be automatically broadcasted or played, for example, the voice may be "you receive an application message", or the video may be video played in a predetermined area of the conversation window, content played by the video may be set according to actual needs, for example, a tutorial on how to operate in an application interface may be demonstrated for a person, the person may explain during the demonstration, and the content explained by the person may be synchronously output in a voice form, so as to remind a user to view the content. In some embodiments, the preset information may also include other forms, and the embodiments of the present application are not limited thereto. As can be seen from the above description, by displaying the preset information using the content represented by the character string, the image, the voice, or the video, the content included in the application interface information can be covered or replaced, so that the possibility of information leakage when the application interface information is not displayed is effectively prevented, and the privacy security of the user is better protected.
In one embodiment, an application identifier may be attached to the instant messaging message encapsulated with the application interface information. The step of presenting the preset information may include: and displaying the application identification.
In this embodiment, the application identifier may be used to identify the application software corresponding to the application interface information.
In this embodiment, the application identifier may be a graphic or a text having a predetermined content. Specifically, the application identifier may be a name or an icon of the application software. Specifically, for example, when the application software corresponding to the packaged application interface information is "pan for mobile phone", the application identifier may be a "pan" word or a picture with the "pan" word.
In this embodiment, the application identifier may be a part of the preset information. In the step of displaying the preset information, only the application identifier may be directly displayed, or a combination of the application identifier and at least one of text and voice may also be displayed.
In this embodiment, the attaching the application identifier to the instant messaging message may include using the application identifier as a part of the content of the instant messaging message, or using the application identifier as an attachment to the instant messaging message.
Please refer to fig. 2. In one embodiment, the instant messaging message encapsulated with the application interface information may be accompanied with application identity information. In the step S11, the step of presenting the preset information may include the following steps.
Step S19: searching preset information matched with the application identity information in a preset information set; and the preset information set correspondingly records application identity information and preset information.
Step S21: and displaying the found preset information.
In this embodiment, the application identity information itself may be a preset character string that uniquely identifies an application software. The method for attaching the application identity information to the instant messaging message may include using the application identity information as a part of the content of the instant messaging message, or using the application identity information as an attachment to the instant messaging message.
In this embodiment, the preset information set may correspondingly record application identity information and preset information. The application identity information and the preset information in the preset information set may be preset. Specifically, the client may be preset and stored, or may be set by the server and then pushed to the client.
In this embodiment, after the corresponding relationship between the application identity information in the preset information set and the preset information is set, the application identity information and the preset information may be stored correspondingly. Specifically, as shown in table 1, the application identity information and the preset information may be stored correspondingly in a data table manner, for example. One column of data in the data table may be application identity information, the other column of data may be preset information, and the application identity information in the same row corresponds to the preset information. The preset information can be uniquely determined according to the application identity information through the corresponding records.
TABLE 1 corresponding storage schematic of application identity information and preset information
Applying identity information Preset information
Mobile phone treasure Preset information 1
Tianmao mall Preset information 2
High map Preset information 3
Payment device Preset information 4
In addition, when the application identity information attached to the instant messaging message is different from the application identity information in the preset information set, a default preset information can be set in the client in advance. When the above situation occurs, the default preset information can be obtained according to the current application identity information.
In this embodiment, after searching for and acquiring the preset information corresponding to the application identity information, the searched preset information may be displayed in the callback window.
In the embodiment, different preset information can be correspondingly displayed according to different application identity information, so that the user can be reminded in a targeted manner. Can meet the diversified use requirements of users.
In one embodiment, the step of receiving the preset instruction may include: the preset instruction is automatically generated after the appointed function of the application software is executed; or, a preset button of the application interface is triggered to generate the preset instruction.
In this embodiment, the user may perform corresponding operations, such as adding a friend, sending a message, forwarding or sharing a page, by using the application software. And the application software judges that the operation is successfully completed, so that the application software can be considered to receive a preset instruction, and the current application interface can be automatically switched back to the conversation window.
In this embodiment, when a preset button provided by the application interface is triggered, an electrical signal generated by the triggering may also be used as the preset instruction. The signal generated according to the preset instruction can execute corresponding operation. Specifically, in this embodiment, the displayed application interface may be replaced by the session window, so that the display resumes displaying the session window.
In one embodiment, after the step of triggering the preset information, the method may further include: and sending the prompt information that the instant communication message is read to the sender user of the instant communication message encapsulated with the application interface information.
In this embodiment, according to the preset instruction, the application interface may be controlled to replace the session window, that is, the time for canceling the display of the application interface. Once the preset instruction is received, it may be indicated that the receiver user completes corresponding operations, such as successfully adding a friend, completing sending of a message, completing forwarding or sharing of a page, and the like, by using the application software, at this time, a prompt message that the instant messaging message has read may be sent to the sender user, specifically, for example, "processed", "added as a friend", and "shared by your friends". The user of the sender of the instant communication message can know the state of the message sent by the user according to the prompt message so as to carry out the next operation. For example, the sender user may delete the instant messaging message record encapsulated with the application interface information sent on the terminal device of the sender user, so as to prevent the instant messaging message record from being viewed by other users and protect the privacy of the sender user.
Please refer to fig. 3. The embodiment of the present application further provides a client 10, where the client 10 may include a receiving module 11, a calling module 13, an instruction receiving module 15, and a cancelling module 17.
The receiving module 11 may be configured to receive an instant messaging message encapsulated with application interface information, and display preset information in a session window; and the application interface information is packaged with a code for realizing the interactive function with the user.
In this embodiment, the instant messaging method may be implemented by a client. The client can be a mobile smart phone, a computer (including a notebook computer and a desktop computer), a tablet electronic device, a Personal Digital Assistant (PDA), or a smart wearable device and other terminal devices with a data communication function. The client may also be software that can run on any of the listed terminal devices. The client can receive the instant messaging message sent by the sending user through the modes of 2G/3G/4G, Wi-Fi, Bluetooth and the like.
In this embodiment, the functions, business logic, and application internal architecture implemented by each application may be different. So that different data structures can be made between the application software. When the application interface information of an application software is sent as the content of the instant messaging message, the data of the application interface information needs to be packaged so as to meet the requirement of the instant messaging message on the data structure. Again, such encapsulation requires interactive functionality to maintain application interface information. Generally, codes of application interface information can be maintained, codes of data which need to be called and are used for realizing an interaction function with a user in the application interface information are packaged, and a plurality of code programs are added on the basis of the codes of the data which need to be called and need to be called in the application interface information, and the added code programs can be identified by instant messaging software. Thus, the code of the application interface information can be sent out as the content of the instant communication message.
In this embodiment, the application interface information may include content data called by the instruction code in the application interface. For example, the application software is "contact", the sent application interface information is a contact name card, and names, telephones, addresses, work units, head images, groups and the like which are specifically related to the contact in the contact name card interface can be packaged as the application interface information. Where names, telephones, addresses, work units, avatars, packets, etc. may be the content data called for by the instruction code of the "contacts" application. The instruction code may be code that controls the flow of data and logic control within the application software. Only the content data may be included in the application interface information, and the instruction code portion of the application interface is not included; of course, the application interface information may also include the instruction code of the application interface and the content data called by the instruction code.
Further by way of example in this embodiment, the application interface may include a business card interface, a favorite page, a group chat page, a life circle dynamic page, and so on. And when the application interface is encapsulated into the instant messaging message, the interactive function of the application interface can be maintained, so that a user can conveniently perform corresponding operation. For example, when the application interface is a business card interface, information such as a name, a telephone, an address, a work unit, a head portrait, a group and the like of a user can be acquired through the business card interface, a user corresponding to the business card interface can be added as a friend through the business card interface, and a message and the like can be sent to the user corresponding to the business card interface; when the application interface is a favorite page, the corresponding page can be viewed and can be forwarded to friends or shared to a friend circle; when the application interface is a group chat page, applying for joining a chat group, and adding members in the chat group as friends; when the application interface is a life circle dynamic page, the moods issued by other users in the life circle can be checked, and praise, comment, forwarding and the like can be realized. In some embodiments, the application interface may also include other forms, and the embodiments of the present application are not limited thereto.
In this embodiment, the session window may be an interface provided by the client for performing information interaction with the user, and may mainly include an information input area and an information display area, where the preset information may be displayed in the information display area.
In this embodiment, after receiving the instant messaging message encapsulated with the application interface information, the preset information may be displayed in the session window. The preset information is used for indicating that the currently received instant messaging message encapsulated with the application interface information is received. Specifically, the preset information itself may be a character string, and the content of the character string is "you receive an application message and please click to view. "; the preset information itself may also be a preset image, and the image is displayed in the session window to remind the user of receiving the instant messaging message encapsulated with the application interface information. The preset image may be a designated image, and may not change for the received instant messaging message encapsulated with the application interface information. Of course, the preset image may also show different images for different application software corresponding to the application interface information. Specifically, the preset image may be an icon of the application software corresponding to the application interface information. The preset information may also be a combination of text and images. Of course, other modifications are possible in the light of the above teachings and may be within the scope of the present disclosure as long as they perform the same or similar function and effect as those of the present disclosure.
The calling module 13 may be configured to call the application software corresponding to the application interface information when the preset message is triggered, so as to display the application interface.
In this embodiment, the manner in which the preset message is triggered may include that the preset message has a click event. Wherein the execution subject of the trigger may be a finger of a user. In most application scenarios, the client may be configured with a touch display or may run on a terminal device having a touch display. A user can typically use a finger to perform a clicking operation on the touch sensitive display. In some embodiments, the trigger execution body may also include other forms, for example, a touch auxiliary device that performs the same operation on the touch display, such as a commonly used capacitive pen, an electromagnetic induction pen, an infrared-based short-distance remote control device, and the like. The client is a notebook or a desktop computer, and can also be clicked through a mouse. Of course, the embodiments of the present application are not limited to the above-mentioned examples.
In one embodiment, the touch display may be an inductive display device capable of receiving input signals, and when triggered, for example, when some operation with a predetermined gesture is performed at a corresponding position or area of the touch display, the touch display correspondingly generates an electrical signal to realize the input of the signals and drives corresponding application software. Specifically, in this embodiment, the touch display may receive a signal input by the trigger operation, and may further call application software corresponding to the application interface information to display the application interface. Of course, in other application scenarios, the instant messaging message sent by the sending user may be received by a client installed on a computer (including a laptop computer and a desktop computer). The display hardware of the computer for displaying the conversation window-the display screen may be a touch display, which may then receive the trigger operation of the execution body, as described above. Of course, the display screen of the computer may not be the touch display, that is, the display may be a non-touch display, and the receiving user may operate another hardware input device, such as a mouse, to input signals, so as to drive the corresponding application software. Specifically, in this embodiment, the computer may receive a signal that is triggered by a mouse to realize input, and may further call application software corresponding to the application interface information to display the application interface.
In this embodiment, after the corresponding application software is called to display the application interface, the receiver user can conveniently use the application interface to perform operations. Corresponding to the foregoing description, when the application interface information only includes content data, the application software may provide corresponding program framework data according to the content data to implement interface presentation. When the corresponding application interface information includes all data, namely content data and program frame data, the application software provides environment support for displaying the application interface. Such as data interfaces, further program interaction, etc. In a specific embodiment, for example, when the application interface information is business card information, the application software may provide a frame of the business card interface, and correspondingly present the content of the received business card interface information in the frame. Or, the application software provides a data interface and an operating environment for further interaction for the business card interface, such as saving as a contact function, setting a group, providing some public plug-ins for interface display, and the like. In another specific embodiment, for example, the application interface information is geographical location information, and in this case, the application interface information may only include a character string indicating the specific geographical location information, and may also include predetermined range map data of the specific location corresponding to the geographical location information. And corresponding application software can provide a map interface and identify a specific position corresponding to the geographic position information on the map interface. Or the application software can show the map data of the preset range and the identification of the specific position corresponding to the geographic position information, and provide services such as navigation, peripheral information search and the like.
In the embodiment, after the application interface is displayed, the conversation window can be covered, so that the risk of privacy disclosure of a message sender caused by the fact that the content of the callback window and the content of the interface information are in the same picture in a screenshot mode and the like can be avoided.
The instruction receiving module 15 may also be configured to receive a preset instruction, and replace the displayed application interface with the session window.
In this embodiment, a preset instruction is received to indicate that the application interface provided by the current application software needs to be converted back to the session window. The preset command itself may be an electrical signal input. For example, an electrical signal generated by a touch display being triggered, or an electrical signal generated by a mouse click. Of course, a button may be provided on the application interface, which button is considered to receive a preset instruction when clicked. In a specific implementation manner, when a user completes corresponding operations by using application software, for example, successfully adding a friend, completing sending of a message, completing forwarding or sharing of a page, and the like, the application software may use the operations as a preset instruction when determining that the operations are completed, so that the client automatically completes replacement from an application interface to a session window. Or after the map application navigates to the geographic position corresponding to the application interface information, the navigation is finished and used as a preset instruction, and the preset instruction is automatically replaced by a conversation window. Of course, after the above operations are completed, the preset button provided by the application interface may be clicked, and an electrical signal obtained by clicking the preset button may be used as the preset instruction.
The cancellation module 17 may be configured to cancel the preset information in the session window.
In this embodiment, in order to protect the privacy of the user completely, the displayed application interface is replaced with the session window, and the display of the preset information in the session window may be cancelled. At this time, the record of the preset information in the session window is deleted, and the user can not call application software to display the application interface through the preset information any more, so that the privacy and the safety of the user are protected. Specifically, after the application interface is cancelled to be displayed, the display of the client may resume displaying the session window, and a countdown indicator may be displayed in a corresponding area of the session window, for example, on the right side of the preset information, for example, the countdown indicator may count down for 3 s. And when the countdown is finished, canceling the display of the preset information displayed in the conversation window, wherein the preset information can disappear gradually in a vivid mode such as flame burning, paper crushing or eraser wiping to cancel the display. Of course, the time length of the countdown is not limited to 3s, and may be set according to actual needs, for example, it may be 1s, 2s, 4s, 5s, and the like, and the embodiment of the present application is not limited thereto. In addition, the embodiment of the present application may also not be limited to canceling the displaying of the preset information in the session window after the countdown is ended, for example, the displaying of the preset information may be canceled immediately after the map display interface is canceled, and the embodiment of the present application is not limited thereto.
According to the method and the device, the application interface information packaged with the codes for realizing the interactive function with the user is sent, so that the message receiver can call the corresponding application software to display the application interface, and the receiver user can conveniently perform related operations on the displayed application interface. Thereby improving the convenience of operation. And moreover, the application interface is controlled to replace the session window according to the preset instruction, namely the display canceling time of the application interface is allowed to allow the receiver user to control the display time and the display canceling time of the application interface according to the actual situation of the receiver user, so that the privacy and the safety of the user can be better protected.
In one embodiment, the client 1 may further include a deleting module 19, and the deleting module 19 may be configured to delete the instant messaging message encapsulated with the application interface information.
In this embodiment, after canceling the display of the preset information, the instant messaging message encapsulated with the application interface information may be deleted. More specifically, the data of the instant messaging message encapsulated with the application interface information can be deleted on the terminal equipment of the receiver user, so that the possibility that the instant messaging message encapsulated with the application interface information is recovered can be prevented, and the privacy and safety of the user are protected to the maximum extent. Furthermore, the instant messaging message encapsulated with the application interface information can be prevented from being independently opened by other application software stored in the memory.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate a dedicated integrated circuit chip 2. Furthermore, nowadays, instead of manually making an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Language Description Language), traffic, pl (core unified Programming Language), HDCal, JHDL (Java Hardware Description Language), langue, Lola, HDL, laspam, hardbyscript Description Language (vhr Description Language), and the like, which are currently used by Hardware compiler-software (Hardware Description Language-software). It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
Referring to fig. 4a to 4e, in a specific application scenario, a terminal device of a receiving user may receive an instant messaging message encapsulated with business card interface information sent by a sending user. As shown in fig. 4a, when the terminal device of the receiving user just receives the instant messaging message, an icon, that is, the preset information, may be displayed in the session window. As shown in FIG. 4b, the recipient user may click on the icon with a finger to invoke the business card application to expose the business card interface. As shown in fig. 4c, information such as name, gender, age, constellation, city, and personal signature of the user corresponding to the business card interface may be displayed. As shown in fig. 4d, a personal homepage may be clicked to view the mood published by the user corresponding to the business card interface, and the user may also add the user as a friend or perform operations such as reporting and adding to a blacklist. After completing the corresponding operation by using the business card application software, for example, successfully adding a friend, the receiving user may click a predetermined button provided on the business card interface with his finger, for example, a "back" button in the upper left corner cancels the display of the business card interface. As shown in fig. 4e, the icon displayed in the conversation window may be further cancelled, for example, a countdown indicator may be displayed on the touch display screen of the terminal device to the right of the icon, and the user is prompted in a countdown manner about the remaining time for the icon to disappear. And then, the data of the instant messaging message encapsulated with the business card interface information on the terminal equipment can be completely deleted, so that the privacy and the safety of the user are protected. As can be seen from the above description, in the embodiment of the application, the corresponding application software is called to display the application interface, so that the receiver user can perform related operations on the displayed application interface, thereby improving the convenience of the operations. And the application interface is controlled to replace the session window according to the preset instruction, namely the display canceling time of the application interface, so that the receiver user is allowed to control the display time and the display canceling time of the application interface according to the actual situation of the receiver user, and the privacy and the safety of the user can be better protected.
Please refer to fig. 5. The application also provides the electronic equipment, so that when a user uses the terminal equipment comprising the electronic equipment of the embodiment of the application, the user can provide convenient operation for a receiver user on the premise of protecting the privacy of the user. The electronic device may include: a touch-sensitive display 30, communication terminals 32, a memory 34, and a processor 36.
The communication terminal 32 enables network data communication. Specifically, the communication terminal may be designed and manufactured according to protocols such as Http, TCP/IP, and the like. In this way, the communication terminal 32 can perform network data communication in accordance with protocols such as Http, TCP/IP, and the like.
A memory 34 in which application software is stored.
The processor 36 can control the touch display to display preset information in a conversation window when receiving an instant messaging message encapsulated with application interface information through the communication terminal; the application interface information is packaged with a code for realizing an interactive function with a user; when the preset message is triggered, controlling to call the application software stored in the memory, and displaying an application interface on the touch display; when a preset instruction is received, controlling the touch display to replace the displayed application interface with the conversation window; and controlling the touch display to cancel the display of the preset information in the conversation window.
From the above description of the embodiments, it is clear to those skilled in the art that the present application can be implemented by software plus necessary general hardware platform. With this understanding in mind, the present solution, or portions thereof that contribute to the prior art, may be embodied in the form of a software product, which in a typical configuration includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory. The computer software product may include instructions for causing a computing device (which may be a personal computer, a server, or a network device, etc.) to perform the methods described in the various embodiments or portions of embodiments of the present application. The computer software product may be stored in a memory, which may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium. Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include transitory computer readable media (transient media), such as modulated data signals and carrier waves.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments can be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the electronic device embodiment, since the operation of the processor is substantially similar to that of the method embodiment, the description is simple, and for relevant points, reference may be made to part of the description of the method embodiment.
Although the present application has been described in terms of embodiments, those of ordinary skill in the art will recognize that there are numerous variations and permutations of the present application without departing from the spirit of the application, and it is intended that the appended claims encompass such variations and permutations without departing from the spirit of the application.

Claims (10)

1. An instant messaging method, the method comprising:
receiving an instant communication message packaged with application interface information, and displaying preset information in a session window; the application interface information is packaged with a code for realizing an interactive function with a user; the application interface information comprises content data and program frame data called by instruction codes in the application interface;
when the preset information is triggered, calling application software corresponding to the application interface information, displaying an application interface, and covering the session window;
receiving a preset instruction, and replacing the displayed application interface with the session window;
and canceling the display of the preset information in the conversation window.
2. The method of claim 1, wherein the step of canceling the presentation of the preset information in the session window further comprises:
and deleting the instant messaging message encapsulated with the application interface information.
3. The method of claim 1, wherein the preset information comprises: at least one of a character string, an image, voice, and video.
4. The method of claim 1, wherein an application identifier is attached to the instant messaging message encapsulated with the application interface information; the step of displaying the preset information comprises the following steps: and displaying the application identification.
5. The method of claim 1, wherein the instant messaging message encapsulated with the application interface information is accompanied by application identity information; the step of displaying the preset information comprises the following steps:
searching preset information matched with the application identity information in a preset information set; the preset information set is correspondingly recorded with application identity information and preset information;
and displaying the found preset information.
6. The method of claim 1, wherein the step of receiving the preset instruction comprises:
the preset instruction is automatically generated after the appointed function of the application software is executed;
or,
and triggering a preset button of the application interface to generate the preset instruction.
7. The method of claim 1, wherein after the preset information is triggered, the method further comprises:
and sending the prompt information that the instant communication message is read to the sender user of the instant communication message encapsulated with the application interface information.
8. A client, the client comprising:
the receiving module is used for receiving the instant communication message encapsulated with the application interface information and displaying preset information in a session window; the application interface information is packaged with a code for realizing an interactive function with a user; the application interface information comprises content data and program frame data called by instruction codes in the application interface;
the calling module is used for calling the application software corresponding to the application interface information when the preset information is triggered, displaying an application interface, and covering the session window;
the instruction receiving module is used for receiving a preset instruction and replacing the displayed application interface with the session window;
and the canceling module is used for canceling the display of the preset information in the conversation window.
9. The client of claim 8, wherein the client further comprises:
and the deleting module is used for deleting the instant communication message encapsulated with the application interface information.
10. An electronic device, characterized in that the electronic device comprises:
a touch-sensitive display;
a communication terminal capable of network data communication;
a memory storing application software;
the processor is used for controlling the touch display to display preset information in a conversation window when receiving the instant messaging message encapsulated with the application interface information through the communication terminal; the application interface information is packaged with a code for realizing an interactive function with a user; the application interface information comprises content data and program frame data called by instruction codes in the application interface; when the preset information is triggered, controlling to call application software stored in the memory, displaying an application interface on the touch display, and covering the conversation window; when a preset instruction is received, controlling the touch display to replace the displayed application interface with the conversation window; and controlling the touch display to cancel the display of the preset information in the conversation window.
CN201510783647.0A 2015-11-16 2015-11-16 Instant messaging method, client and electronic equipment Active CN106713110B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510783647.0A CN106713110B (en) 2015-11-16 2015-11-16 Instant messaging method, client and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510783647.0A CN106713110B (en) 2015-11-16 2015-11-16 Instant messaging method, client and electronic equipment

Publications (2)

Publication Number Publication Date
CN106713110A CN106713110A (en) 2017-05-24
CN106713110B true CN106713110B (en) 2021-06-04

Family

ID=58931898

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510783647.0A Active CN106713110B (en) 2015-11-16 2015-11-16 Instant messaging method, client and electronic equipment

Country Status (1)

Country Link
CN (1) CN106713110B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108762728A (en) * 2018-04-13 2018-11-06 杭州朗和科技有限公司 By integrated method, medium, device and the computing device in the application of communication function
CN109165533B (en) * 2018-08-04 2022-06-03 深圳市马博士网络科技有限公司 Anti-peeping method of short video based on cross-group mechanism
CN110875868A (en) * 2018-08-31 2020-03-10 阿里巴巴集团控股有限公司 Information interaction method and device and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103379451A (en) * 2013-06-21 2013-10-30 宇龙计算机通信科技(深圳)有限公司 Check method and system for information instantly burned after being read
CN104219640A (en) * 2013-05-31 2014-12-17 腾讯科技(深圳)有限公司 Method and device of displaying short message
CN104486458A (en) * 2014-12-15 2015-04-01 北京国双科技有限公司 Cross-domain session data processing method and device
CN104899080A (en) * 2014-03-05 2015-09-09 腾讯科技(深圳)有限公司 Method and apparatus for switching real-time image in instant messaging

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120192119A1 (en) * 2011-01-24 2012-07-26 Lester F. Ludwig Usb hid device abstraction for hdtp user interfaces
CN102387093B (en) * 2011-10-06 2017-07-21 福建爱特点信息科技有限公司 The method and system that a kind of instant messaging good friend shares with group
CN103428073B (en) * 2012-05-24 2015-06-17 腾讯科技(深圳)有限公司 User interface-based instant messaging method and apparatus
CN102829795B (en) * 2012-07-17 2016-03-30 广东好帮手电子科技股份有限公司 A kind of navigational system and control method thereof
CN104142964B (en) * 2013-06-13 2019-11-05 腾讯科技(北京)有限公司 The method and device of information matches
CN104980447A (en) * 2015-07-07 2015-10-14 珠海赞友科技有限公司 Method for safely transmitting chatting and other information through network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104219640A (en) * 2013-05-31 2014-12-17 腾讯科技(深圳)有限公司 Method and device of displaying short message
CN103379451A (en) * 2013-06-21 2013-10-30 宇龙计算机通信科技(深圳)有限公司 Check method and system for information instantly burned after being read
CN104899080A (en) * 2014-03-05 2015-09-09 腾讯科技(深圳)有限公司 Method and apparatus for switching real-time image in instant messaging
CN104486458A (en) * 2014-12-15 2015-04-01 北京国双科技有限公司 Cross-domain session data processing method and device

Also Published As

Publication number Publication date
CN106713110A (en) 2017-05-24

Similar Documents

Publication Publication Date Title
US11256381B2 (en) Method for providing message function and electronic device thereof
USRE49367E1 (en) Automated generation of recommended response messages
CN112041791B (en) Method and terminal for displaying virtual keyboard of input method
US20190028418A1 (en) Apparatus and method for providing information
CN105453612B (en) Message service providing apparatus and method of providing content via the same
EP3454192A1 (en) Method and device for displaying page
US20180165634A1 (en) Method and device for displaying logistics information and computer readable storage medium
US11704001B2 (en) Method and device for displaying web page content
CN109725947A (en) A kind of processing method and terminal of unread message
CN108924029B (en) Method and device for sending customer service data
US9384073B2 (en) Cross-extension messaging using a browser as an intermediary
WO2019047728A1 (en) Method for opening shortcut function, device, mobile terminal, and storage medium
CN112333086B (en) Service method and device based on chat group and electronic equipment
KR20150111221A (en) Method for constructing page and electronic device supporting the same
TW201836373A (en) Communication method and device
US11516169B2 (en) Electronic messaging platform that allows users to change the content and attachments of messages after sending
US20150163341A1 (en) Virtual personal operator
CN114827914A (en) Short message processing method and device and electronic equipment
US20180239511A1 (en) Mobile terminal and control method therefor
KR20150075140A (en) Message control method of electronic apparatus and electronic apparatus thereof
CN106713110B (en) Instant messaging method, client and electronic equipment
AU2018393399A1 (en) Notification prompt method, group addition method and apparatus, terminal and storage medium
CN105468606B (en) Webpage saving method and device
WO2024131568A1 (en) Session information processing method and related device
CN106708353B (en) Instant messaging method, client and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20180816

Address after: 31119KY1 - 1205, Furong Road mailbox, 802 West Bay Road, Cayman Islands

Applicant after: Nail holding (Cayman) Limited

Address before: Cayman Islands Grand Cayman

Applicant before: Alibaba Group Holding Co., Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant