CN117938788A - Instant messaging method, device, equipment and computer readable storage medium - Google Patents

Instant messaging method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN117938788A
CN117938788A CN202311702451.5A CN202311702451A CN117938788A CN 117938788 A CN117938788 A CN 117938788A CN 202311702451 A CN202311702451 A CN 202311702451A CN 117938788 A CN117938788 A CN 117938788A
Authority
CN
China
Prior art keywords
message
sent
instant messaging
user
embedded
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
CN202311702451.5A
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 Qingmo Internet Technology Co ltd
Original Assignee
Beijing Qingmo Internet 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 Qingmo Internet Technology Co ltd filed Critical Beijing Qingmo Internet Technology Co ltd
Priority to CN202311702451.5A priority Critical patent/CN117938788A/en
Publication of CN117938788A publication Critical patent/CN117938788A/en
Pending legal-status Critical Current

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The present disclosure relates to an instant messaging method, apparatus, device, and computer-readable storage medium. According to the method and the device, the embedded instant messaging service interface is provided, the instant messaging page is embedded in the target Web page or the application program, so that the use of a user is facilitated, the instant messaging can be realized for the user without depending on instant messaging software or a platform of a third party, the operation flow is simplified, meanwhile, the message to be sent of the user is detected and processed, and further, the message to be sent is processed for the second time according to feedback of the detection result of the user, so that the two-stage sending process of the message is realized, and the flexibility and the reliability of the instant messaging are improved.

Description

Instant messaging method, device, equipment and computer readable storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to an instant messaging method, an instant messaging device, an instant messaging apparatus, and a computer readable storage medium.
Background
Instant messaging is a communication way for transmitting information such as text, voice, pictures, video and the like in real time through a network. At present, a plurality of instant messaging software or platforms exist in the market, and a convenient and quick communication channel is provided for users.
However, these instant messaging software or platforms generally require users to download and install client applications on specific operating systems or devices, and require users to register login accounts on specific websites, which may be cumbersome for users, limit the possibility of instant messaging for users on different devices, and prevent validity verification of the communication content, and have poor flexibility and reliability.
Disclosure of Invention
In order to solve the above technical problems, the present disclosure provides an instant messaging method, an apparatus, a device and a computer readable storage medium, so as to improve the flexibility and reliability of instant messaging.
In a first aspect, an embodiment of the present disclosure provides an instant messaging method, including:
responding to a communication request of a user, and calling an embedded instant communication service interface to generate an embedded instant communication page;
embedding the embedded instant messaging page into a target interface;
receiving a message to be sent from a user through the embedded instant messaging page;
detecting the message to be sent to obtain a detection result;
displaying the detection result in the target interface;
And processing the message to be sent according to feedback information of the user on the detection result.
In some embodiments, the detecting the message to be sent includes at least one or more of:
text detection is carried out on the message to be sent, logic detection is carried out on the message to be sent, and emotion detection is carried out on the message to be sent.
In some embodiments, the communication request includes a message sending request, and the processing the message to be sent according to feedback information of the user on the detection result includes:
if the feedback information indicates that the user agrees to send the message to be sent, acquiring a target communication address carried in the message sending request;
Converting the message to be sent into a communication message;
and sending the communication message to the target communication address.
In some embodiments, the processing the message to be sent according to feedback information of the user on the detection result includes:
If the feedback information indicates that the user needs to modify the message to be sent, receiving modification operation of the user on the message to be sent;
and generating a modified message according to the message to be sent and the modification operation.
In some embodiments, the method further comprises:
and displaying the sending state of the communication message in the embedded instant communication page.
In some embodiments, the communication request includes a message view request, and after embedding the embedded instant messaging page into the target interface, the method further includes:
acquiring a message to be checked; and displaying the message to be checked in the embedded instant messaging page in the target interface.
In some embodiments, before the calling the embedded instant messaging service interface to generate the embedded instant messaging page in response to the communication request of the user, the method further includes:
And displaying unread message reminding information corresponding to the message to be checked in the current interface.
In a second aspect, an embodiment of the present disclosure provides an instant messaging device, including:
The generation module is used for responding to the communication request of the user and calling the embedded instant messaging service interface to generate an embedded instant messaging page;
The embedded module is used for embedding the embedded instant messaging page into a target interface;
The receiving module is used for receiving the message to be sent from the user through the embedded instant messaging page;
the detection module is used for detecting the message to be sent to obtain a detection result;
The display module is used for displaying the detection result in the target interface;
and the processing module is used for processing the message to be sent according to the feedback information of the user on the detection result.
In a third aspect, an embodiment of the present disclosure provides an electronic device, including:
A memory;
A processor; and
A computer program;
wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method according to the first aspect.
In a fourth aspect, embodiments of the present disclosure provide a computer-readable storage medium having stored thereon a computer program for execution by a processor to implement the method of the first aspect.
In a fifth aspect, the disclosed embodiments also provide a computer program product comprising a computer program or instructions which, when executed by a processor, implement the instant messaging method as described above.
According to the instant messaging method, the device, the equipment and the computer readable storage medium, the embedded instant messaging service interface is provided, the instant messaging page is embedded in the target Web page or the application program, so that the use of a user is facilitated, the instant messaging can be realized for the user without depending on instant messaging software or a platform of a third party, the operation flow is simplified, meanwhile, the message to be sent of the user is detected and processed, and further, the message to be sent is processed secondarily according to feedback of the detection result of the user, so that a two-stage sending process of the message is realized, and the flexibility and the reliability of the instant messaging are improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
In order to more clearly illustrate the embodiments of the present disclosure or the solutions in the prior art, the drawings that are required for the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1 is a flowchart of an instant messaging method according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of an application scenario provided in an embodiment of the present disclosure;
Fig. 3 is a flowchart of an instant messaging method according to another embodiment of the present disclosure;
fig. 4 is a flowchart of an instant messaging method according to another embodiment of the present disclosure;
Fig. 5 is a schematic structural diagram of an instant messaging device according to an embodiment of the disclosure;
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure.
Detailed Description
In order that the above objects, features and advantages of the present disclosure may be more clearly understood, a further description of aspects of the present disclosure will be provided below. It should be noted that, without conflict, the embodiments of the present disclosure and features in the embodiments may be combined with each other.
In the following description, numerous specific details are set forth in order to provide a thorough understanding of the present disclosure, but the present disclosure may be practiced otherwise than as described herein; it will be apparent that the embodiments in the specification are only some, but not all, embodiments of the disclosure.
The embodiment of the disclosure provides an instant messaging method, and the method is described below with reference to specific embodiments.
Fig. 1 is a flowchart of an instant messaging method according to an embodiment of the disclosure. The method can be applied to an application scenario shown in fig. 2, wherein the application scenario comprises an instant messaging system, and specifically comprises a server 21 and a user side 22; wherein the server 21 is provided with an embedded instant messaging service program; the user terminal 22 may be a terminal, for example, a smart phone, a palm top computer, a tablet computer, a wearable device with a display screen, a desktop computer, a notebook computer, an all-in-one machine, a smart home device, and the like. It can be appreciated that the instant messaging method provided by the embodiment of the present disclosure may also be applied in other scenarios.
The instant messaging method shown in fig. 1 is described below in conjunction with the application scenario shown in fig. 2, and the method includes the following specific steps:
S101, responding to a communication request of a user, and calling an embedded instant messaging service interface to generate an embedded instant messaging page.
When the user has the demand of instant messaging, a messaging request is sent to the web server. The communication request may include a message sending request and a message viewing request, among others.
The web server is internally operated with an embedded instant messaging service program, and the program provides an embedded instant messaging service interface for the web server and is used for generating a corresponding embedded instant messaging page according to a communication request of a user.
In some embodiments, the embedded instant messaging page may be personalized according to the user's needs.
S102, embedding the embedded instant messaging page into a target interface.
The target interface may be an interface that is currently opened by the user. The target interface may be an interface in a web page or an interface in an application, which is not limited by the embodiments of the present disclosure.
After an embedded instant messaging page is generated by calling an embedded instant messaging service interface, the page is directly displayed in a target page in an embedded mode.
S103, receiving a message to be sent from the user through the embedded instant messaging page.
For example, the user may input a message to be sent in an embedded instant messaging page; and responding to the input operation of the user, and receiving the message to be sent from the user through the embedded instant messaging page.
Wherein, the input of the user in the embedded instant messaging page in the target interface can be any form of input, such as text information, voice information and the like.
And S104, detecting the message to be sent to obtain a detection result.
Specifically, the detecting the message to be sent at least includes one or more of text detection, logic detection and emotion detection of the message to be sent.
The text detection is carried out on the message to be sent and is mainly used for detecting whether wrongly written characters exist in the message to be sent; the logic detection is carried out on the message to be sent and is mainly used for detecting whether the message to be sent has grammar errors or not and whether the logic is smooth or not; and carrying out emotion detection on the message to be sent, wherein the emotion detection is mainly used for detecting whether the message to be sent lacks instant emotion or whether emotion expressed by the message to be sent is proper.
It will be appreciated that the above-described detection of a message to be sent may also include other types of detection, which are not limited by the embodiments of the present disclosure.
The detection result comprises a detection conclusion for the message to be sent, and is used for indicating whether the user is recommended to modify the message to be sent. If the detection finds that the message to be sent has the suggested user modification, the detection conclusion indicates that the suggested user modifies the message to be sent, and the detection result also comprises modification suggestions for the message to be sent and determination options for determining that the user modifies the message to be sent or directly sends the message to be sent; if the detection shows that the suggested user modification is not found in the message to be sent, the detection conclusion indicates that the suggested modification is not found, and the detection result also comprises a determination option for determining whether the user directly sends the message;
or in some embodiments, if the detected information to be sent does not find that the user modification is suggested, the information to be sent is directly sent.
S105, displaying the detection result in the target interface.
Specifically, the display result is displayed at any position in the target interface or a preset designated position of the user, wherein the preset designated position comprises any position or designated position in the embedded instant messaging page.
S106, processing the message to be sent according to feedback information of the user on the detection result.
The step is essentially that after the message to be sent is detected in the above step to obtain a detection result, the message to be sent is processed for a second time based on feedback information of the user on the detection result. Specifically, the secondary processing at least includes modifying the message to be sent, or sending the message to be sent.
The user can inform the processing mode of the message to be sent through the feedback information, at least comprising modifying the message to be sent or sending the message to be sent as described above.
And the terminal further processes the message to be sent according to the feedback information, at least comprising modifying the message to be sent or sending the message to be sent as described above.
Further, when the user agrees to send the message to be sent, the message to be sent is sent, so that an instant messaging flow of two-stage sending is realized.
According to the embodiment of the disclosure, the embedded instant messaging service interface is called to generate the embedded instant messaging page by responding to the communication request of the user; embedding the embedded instant messaging page into a target interface; receiving a message to be sent from a user through the embedded instant messaging page; detecting the message to be sent to obtain a detection result; displaying the detection result in the target interface; according to the feedback information of the detection result, the message to be sent is processed by providing an embedded instant messaging service interface, an instant messaging page is embedded in a target Web page or an application program, so that the use of the user is facilitated, the user can realize instant messaging without depending on instant messaging software or a platform of a third party, the operation flow is simplified, meanwhile, the message to be sent of the user is detected, and further, the message to be sent is processed secondarily according to the feedback of the detection result of the user, so that the two-stage sending process of the message is realized, and the flexibility and the reliability of the instant messaging are improved.
Based on the embodiment, the Web browser can be used as a client, the instant messaging server is used as a server, and the WebSocket protocol is used for communication, so that real-time message interaction is realized, instant messaging on any device supporting the Web browser is realized, the client application or the registration account number is not required to be downloaded and installed, and the flexibility of the instant messaging method is further improved.
Fig. 3 is a flowchart of an instant messaging method according to another embodiment of the present disclosure, as shown in fig. 3, the method includes the following steps:
s301, responding to a message sending request of a user, and generating an embedded instant messaging page by using an embedded instant messaging service interface.
In some embodiments, the communication request comprises a messaging request. When a user needs to send a message to a user or group of a target communication address, a message sending request is initiated. The web server is operated with an embedded instant messaging service program, the program provides an embedded instant messaging service interface for the web server, and the interface can generate an embedded instant messaging page according to a message sending request of a user for the user to send a message.
S302, embedding the embedded instant messaging page into a target interface.
Specifically, the implementation process and principle of S302 and S102 are consistent, and will not be described herein.
S303, receiving a message to be sent from a user through the embedded instant messaging page.
S304, detecting the message to be sent, and displaying the detection result in the target interface.
S305, receiving feedback information of the user on the detection result.
S306, judging whether the user agrees to send the message to be sent or not according to the feedback information. If yes, executing S307; if not, S310 is performed.
S307, the target communication address carried in the message sending request is obtained.
And if the feedback information indicates that the user agrees to send the message to be sent, acquiring a target communication address carried in the message sending request.
The target communication address is the communication address of the target user or the target group corresponding to the message sending request of the user.
In some embodiments, the user name and/or the group name and the corresponding communication address may be stored in the web server in advance, and the corresponding target communication address may be obtained according to the selection of the user name and/or the group name by the user.
S308, converting the message to be sent into a communication message.
After receiving the input of the user, the terminal converts the input into a communication message conforming to the network communication protocol.
S309, the communication message is sent to the target communication address.
The web server comprises a message receiving and transmitting queue, and after receiving the communication message of the user, the message receiving and transmitting queue is transmitted to the target communication address to finish the instant communication flow transmitted in the two stages.
S310, receiving the modification operation of the user on the message to be sent.
And if the feedback information indicates that the user needs to modify the message to be sent, receiving modification operation of the user on the message to be sent.
S311, generating a modified message according to the message to be sent and the modification operation.
Further, the modified message is detected again as the message to be sent until the user agrees to send the message to be sent. According to the embodiment of the disclosure, the embedded instant messaging service interface is provided, the instant messaging page is embedded in the target Web page or the application program, and the user can conduct instant messaging only by acquiring the target communication address through the interface, and meanwhile, the message to be sent of the user can be detected and corresponding modification suggestions are provided, so that the operation flow of timely communication is simplified, and the user experience is improved.
On the basis of the above embodiment, after sending the message to be sent, the method further includes: and displaying the sending state of the communication message in the embedded instant communication page.
Specifically, the sending status includes, but is not limited to, sent, successful sending, failed sending, read, unread, etc., for informing the user of the current status of the message.
Fig. 4 is a flowchart of an instant messaging method according to another embodiment of the present disclosure, as shown in fig. 4, the method includes the following steps:
s401, displaying unread message reminding information corresponding to the message to be checked in the current interface.
The current interface is the interface that the user is currently opening or browsing. When communication messages sent by other users and/or groups are received, unread message reminding information is displayed in the current interface so as to prompt the user to view the message to be viewed.
In some embodiments, the unread message alert information may be displayed in a blank space in the current interface, or in other positions in the current interface according to user-defined settings, which is not limited in the embodiments of the present disclosure.
In some embodiments, when communication messages from different users or groups are received, the unread message alert messages may be displayed separately according to the users or groups.
S402, responding to a message viewing request of a user, and calling an embedded instant messaging service interface to generate an embedded instant messaging page.
In some embodiments, the communication request includes a message view request, which the user may initiate by clicking on the unread message alert information.
In some embodiments, according to a message viewing request of a user for unread message reminding information of different users or groups, an embedded instant messaging service interface is called to generate an embedded instant messaging page corresponding to the user or the group.
S403, embedding the embedded instant messaging page into a target interface.
Specifically, the implementation process and principle of S403 and S102 are consistent, and will not be described herein.
S404, obtaining the message to be checked.
S405, displaying the message to be checked in the embedded instant messaging page in the target interface.
In some embodiments, when communication messages from different users or groups are received, the messages to be viewed of the different users or groups can be selectively displayed according to the message viewing requests of the users.
According to the embodiment of the disclosure, unread message reminding information corresponding to the message to be checked is displayed in the current interface; responding to a message viewing request of a user, and calling an embedded instant messaging service interface to generate an embedded instant messaging page; embedding the embedded instant messaging page into a target interface; acquiring a message to be checked; the message to be checked is displayed in the embedded instant messaging page in the target interface, and the message received and sent by the embedded instant messaging service program is displayed on the browser or the client of the user, and the user feedback message is provided, so that the real-time message interaction with other users or groups through the network in the target interface is realized, and the flexibility of the even-communication device is improved.
Meanwhile, the embodiment of the disclosure realizes a dynamic, flexible, customizable, expandable, integratable, portable and adaptable instant messaging mode by generating an embedded instant messaging page and embedding the embedded instant messaging page into a target Web page or an application program, can provide different instant messaging functions and interfaces according to different user requirements and service scenes, and improves the user experience and the compatibility of service systems.
Fig. 5 is a schematic structural diagram of an instant messaging device according to an embodiment of the disclosure. The instant messaging device may be an instant messaging system as described in the above embodiments, or the instant messaging device may be a component or assembly in the instant messaging system. The instant messaging device provided in the embodiments of the present disclosure may execute the processing flow provided in the embodiment of the instant messaging method, as shown in fig. 5, the instant messaging device 50 includes: the device comprises a generating module 51, an embedding module 52, a receiving module 53, a detecting module 54, a display module 55 and a processing module 56; the generating module 51 is configured to invoke an embedded instant messaging service interface to generate an embedded instant messaging page in response to a communication request of a user; the embedding module 52 is configured to embed the embedded instant messaging page into a target interface; the receiving module 53 is configured to receive a message to be sent from a user through the embedded instant messaging page; the detection module 54 is configured to detect the message to be sent, so as to obtain a detection result; the display module 55 is configured to display the detection result in the target interface; the processing module 56 is configured to process the message to be sent according to feedback information of the user on the detection result.
Optionally, the detecting the message to be sent includes at least one or more of the following: text detection is carried out on the message to be sent, logic detection is carried out on the message to be sent, and emotion detection is carried out on the message to be sent.
Optionally, the communication request includes a message sending request, and the processing module 56 includes an obtaining unit 561, a converting unit 562, and a sending unit 563; the obtaining unit 561 is configured to obtain the target communication address carried in the message sending request if the feedback information indicates that the user agrees to send the message to be sent; the conversion unit 562 is configured to convert the message to be sent into a communication message; the sending unit 563 is configured to send the communication message to the target communication address.
Optionally, the communication request includes a message viewing request, and the obtaining unit 561 is further configured to receive a modification operation of the user on the message to be sent if the feedback information indicates that the user needs to modify the message to be sent; the processing module 56 further includes a generating unit 564, configured to generate a modified message according to the message to be sent and the modifying operation.
Optionally, the processing module 56 further includes a display unit 565, configured to display the sending status of the communication message in the embedded instant messaging page.
Optionally, the receiving module 53 obtains a message to be checked; the display module 55 is further configured to display the message to be viewed in an embedded instant messaging page in the target interface.
Optionally, the display module 55 is further configured to display unread message reminding information corresponding to the message to be viewed in the current interface.
The instant messaging device of the embodiment shown in fig. 5 may be used to implement the technical solution of the above method embodiment, and its implementation principle and technical effects are similar, and are not described herein again.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the disclosure. The electronic device may operate the instant messaging system as described in the above embodiments. The electronic device provided in the embodiment of the present disclosure may execute the processing flow provided in the embodiment of the instant messaging method, as shown in fig. 6, the electronic device 60 includes: a memory 61, a processor 62, computer programs and a communication interface 63; wherein the computer program is stored in the memory 61 and configured to be executed by the processor 62 for the instant messaging method as described above.
Specifically, the processor when executing the computer program implements the following steps: responding to a communication request of a user, and calling an embedded instant communication service interface to generate an embedded instant communication page; embedding the embedded instant messaging page into a target interface; receiving a message to be sent from a user through the embedded instant messaging page; detecting the message to be sent to obtain a detection result; displaying the detection result in the target interface; and processing the message to be sent according to feedback information of the user on the detection result.
In some embodiments, the detecting the message to be sent includes at least one or more of: text detection is carried out on the message to be sent, logic detection is carried out on the message to be sent, and emotion detection is carried out on the message to be sent.
In some embodiments, the communication request comprises a messaging request, and the processor when executing the computer program performs the steps of: if the feedback information indicates that the user agrees to send the message to be sent, acquiring a target communication address carried in the message sending request; converting the message to be sent into a communication message; and sending the communication message to the target communication address.
In some embodiments, the processor when executing the computer program performs the steps of: if the feedback information indicates that the user needs to modify the message to be sent, receiving modification operation of the user on the message to be sent;
and generating a modified message according to the message to be sent and the modification operation.
In some embodiments, the processor when executing the computer program performs the steps of: and displaying the sending state of the communication message in the embedded instant communication page.
In some embodiments, the processor when executing the computer program performs the steps of: acquiring a message to be checked; and displaying the message to be checked in the embedded instant messaging page in the target interface.
In some embodiments, the processor when executing the computer program performs the steps of: and displaying unread message reminding information corresponding to the message to be checked in the current interface. According to the embodiment of the disclosure, the embedded instant messaging service interface is provided, the instant messaging page is embedded in the target Web page or the application program, so that the use of a user is facilitated, the instant messaging can be realized for the user without depending on the instant messaging software or platform of a third party, the operation flow is simplified, meanwhile, the message to be sent of the user is detected, and the flexibility and the reliability of the instant messaging are improved.
In some embodiments, the processor of the electronic device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The communication interface of the electronic device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, an operator network, near Field Communication (NFC) or other technologies. The computer program when executed by a processor implements an instant messaging method. In addition, the electronic display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be a key, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
In addition, the embodiment of the present disclosure further provides a computer readable storage medium having a computer program stored thereon, where the computer program is executed by a processor to implement the instant messaging method described in the foregoing embodiment.
Specifically, the computer readable storage medium stores a computer program thereon, which when executed by a processor, performs the steps of: responding to a communication request of a user, and calling an embedded instant communication service interface to generate an embedded instant communication page; embedding the embedded instant messaging page into a target interface; receiving a message to be sent from a user through the embedded instant messaging page; detecting the message to be sent to obtain a detection result; displaying the detection result in the target interface; and processing the message to be sent according to feedback information of the user on the detection result.
In some embodiments, the detecting the message to be sent includes at least one or more of: text detection is carried out on the message to be sent, logic detection is carried out on the message to be sent, and emotion detection is carried out on the message to be sent.
In some embodiments, the communication request comprises a messaging request, and the computer program when executed by the processor performs the steps of:
If the feedback information indicates that the user agrees to send the message to be sent, acquiring a target communication address carried in the message sending request; the message to be sent is converted into a communication message; and sending the communication message to the target communication address.
In some embodiments, the computer program when executed by a processor performs the steps of: if the feedback information indicates that the user needs to modify the message to be sent, receiving modification operation of the user on the message to be sent; and generating a modified message according to the message to be sent and the modification operation.
In some embodiments, the computer program when executed by a processor performs the steps of: and displaying the sending state of the communication message in the embedded instant communication page.
In some embodiments, the communication request comprises a message view request, the computer program when executed by the processor performing the steps of: acquiring a message to be checked; and displaying the message to be checked in the embedded instant messaging page in the target interface.
In some embodiments, the computer program when executed by a processor performs the steps of: and displaying unread message reminding information corresponding to the message to be checked in the current interface. According to the embodiment of the disclosure, the embedded instant messaging service interface is provided, the instant messaging page is embedded in the target Web page or the application program, so that the use of a user is facilitated, the instant messaging can be realized for the user without depending on the instant messaging software or platform of a third party, the operation flow is simplified, meanwhile, the message to be sent of the user is detected, and the flexibility and the reliability of the instant messaging are improved.
Furthermore, the embodiment of the disclosure also provides a computer program product, which comprises a computer program or instructions, and the computer program or instructions realize the instant messaging method when being executed by a processor.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, or the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static random access memory (Static Random Access Memory, SRAM), dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like.
It should be noted that in this document, relational terms such as "first" and "second" and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing is merely a specific embodiment of the disclosure to enable one skilled in the art to understand or practice the disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the disclosure. Thus, the present disclosure is not intended to be limited to the embodiments shown and described herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. An instant messaging method, the method comprising:
responding to a communication request of a user, and calling an embedded instant communication service interface to generate an embedded instant communication page;
embedding the embedded instant messaging page into a target interface;
receiving a message to be sent from a user through the embedded instant messaging page;
detecting the message to be sent to obtain a detection result;
displaying the detection result in the target interface;
And processing the message to be sent according to feedback information of the user on the detection result.
2. The method according to claim 1, wherein the detecting the message to be sent comprises at least one or more of:
text detection is carried out on the message to be sent, logic detection is carried out on the message to be sent, and emotion detection is carried out on the message to be sent.
3. The method according to claim 1, wherein the communication request includes a message sending request, and the processing the message to be sent according to feedback information of the user on the detection result includes:
if the feedback information indicates that the user agrees to send the message to be sent, acquiring a target communication address carried in the message sending request;
Converting the message to be sent into a communication message;
and sending the communication message to the target communication address.
4. A method according to claim 3, wherein the processing the message to be sent according to feedback information of the user on the detection result includes:
If the feedback information indicates that the user needs to modify the message to be sent, receiving modification operation of the user on the message to be sent;
and generating a modified message according to the message to be sent and the modification operation.
5. A method according to claim 3, characterized in that the method further comprises:
and displaying the sending state of the communication message in the embedded instant communication page.
6. The method of claim 1, wherein the communication request comprises a message view request, and wherein after embedding the embedded instant messaging page in a target interface, the method further comprises:
acquiring a message to be checked; and displaying the message to be checked in the embedded instant messaging page in the target interface.
7. The method of claim 6, wherein before invoking the embedded instant messaging service interface to generate the embedded instant messaging page in response to the user's communication request, the method further comprises:
And displaying unread message reminding information corresponding to the message to be checked in the current interface.
8. An instant messaging device, comprising: the generation module is used for responding to the communication request of the user and calling the embedded instant messaging service interface to generate an embedded instant messaging page;
The embedded module is used for embedding the embedded instant messaging page into a target interface;
The receiving module is used for receiving the message to be sent from the user through the embedded instant messaging page;
the detection module is used for detecting the message to be sent to obtain a detection result;
The display module is used for displaying the detection result in the target interface;
and the processing module is used for processing the message to be sent according to the feedback information of the user on the detection result.
9. An electronic device, comprising:
A memory;
A processor; and
A computer program;
Wherein the computer program is stored in the memory and configured to be executed by the processor to implement the method of any of claims 1-7.
10. A computer readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, implements the method according to any of claims 1-7.
CN202311702451.5A 2023-12-12 2023-12-12 Instant messaging method, device, equipment and computer readable storage medium Pending CN117938788A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311702451.5A CN117938788A (en) 2023-12-12 2023-12-12 Instant messaging method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311702451.5A CN117938788A (en) 2023-12-12 2023-12-12 Instant messaging method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN117938788A true CN117938788A (en) 2024-04-26

Family

ID=90765638

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311702451.5A Pending CN117938788A (en) 2023-12-12 2023-12-12 Instant messaging method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN117938788A (en)

Similar Documents

Publication Publication Date Title
US10154529B2 (en) Method and apparatus for connecting peripheral devices
US10049161B2 (en) Information processing apparatus, method of controlling the same, and storage medium
JP6667993B2 (en) Server, server control method and program
US11157959B2 (en) Multimedia information processing method, apparatus and system, and computer storage medium
US20140325323A1 (en) Online video playing method and apparatus and computer readable medium
CN106027631B (en) Data transmission method and device
US20160248843A1 (en) Data upload method using shortcut
WO2014176906A1 (en) Online video playing method and apparatus and computer readable medium
WO2015176352A1 (en) Android system-based method and device for information exchange between applications
CN107038024B (en) Operation configuration method and equipment thereof
CN108984417B (en) Software testing method, device, terminal and storage medium
JP2020030851A (en) Terminal, control method of terminal and program
CN112788090B (en) Network resource transmission method, device and system
WO2015043451A1 (en) Method and device for displaying patterning page in cgs mode
CN114827704A (en) Vehicle-mounted system interaction method with vehicle, storage medium and mobile terminal
WO2015081716A1 (en) Method, system, and related device for providing application service
CN117938788A (en) Instant messaging method, device, equipment and computer readable storage medium
CN112770142A (en) Interactive video interaction method and device and electronic equipment
TWI641969B (en) Electronic device and operation method thereof and server host device
CN113141530B (en) Remote control interaction based method and device, electronic equipment and storage medium
JP6555789B2 (en) Server, server control method and program
CN113849117A (en) Interaction method, interaction device, computer equipment and computer-readable storage medium
JP6021723B2 (en) Management server, communication terminal, user registration system, and user registration method
CN105791568B (en) Information processing method and terminal thereof
KR20110101414A (en) Url information transmitting method

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