CN113992617B - Information interaction method and device, electronic equipment and storage medium - Google Patents

Information interaction method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN113992617B
CN113992617B CN202111146315.3A CN202111146315A CN113992617B CN 113992617 B CN113992617 B CN 113992617B CN 202111146315 A CN202111146315 A CN 202111146315A CN 113992617 B CN113992617 B CN 113992617B
Authority
CN
China
Prior art keywords
application program
message
identification
identifier
application
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
CN202111146315.3A
Other languages
Chinese (zh)
Other versions
CN113992617A (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.)
Qingdao Haier Technology Co Ltd
Haier Smart Home Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Haier Smart Home 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 Qingdao Haier Technology Co Ltd, Haier Smart Home Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN202111146315.3A priority Critical patent/CN113992617B/en
Publication of CN113992617A publication Critical patent/CN113992617A/en
Application granted granted Critical
Publication of CN113992617B publication Critical patent/CN113992617B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/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)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides an information interaction method, an information interaction device, electronic equipment and a storage medium, wherein the information interaction method comprises the following steps: receiving message data sent by a first application program; wherein the message data includes: a message sender identification, a message receiver identification, and message content of the second application; based on the message sender identification and the message receiver identification of the second application program, obtaining the corresponding message sender identification and message receiver identification of the first application program; based on the message receiver identification of the first application program, the message sender identification of the first application program and the message content are sent to the message receiver of the first application program. The invention provides an information interaction method, an information interaction device, electronic equipment and a storage medium, which can solve the defect that part of application programs shield information shared by external application programs in the prior art, solve the defect that the sharing information of the external application programs is maliciously shielded, and prompt user experience.

Description

Information interaction method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of network technologies, and in particular, to an information interaction method, an information interaction device, an electronic device, and a storage medium.
Background
Currently, a certain application program (namely, APP) is commonly used by citizens in China for instant messaging, and the instant messaging comprises interaction of characters, pictures, voices and files. When other types of application programs are used, the link information of the application programs is shared to friends in the instant messaging application programs, but part of the instant messaging application programs can maliciously shield and prevent the link information shared by part of external application programs for monopoly operation, so that the user experience is influenced, the principles of opening and fairness of the Internet are violated, and the healthy development of the market in the Internet field is not facilitated.
Disclosure of Invention
The invention provides an information interaction method, an information interaction device, electronic equipment and a storage medium, which are used for solving the defect that part of application programs shield information shared by external application programs in the prior art, solving the defect that the information shared by the external application programs is maliciously shielded, and improving user experience.
The invention provides an information interaction method, which comprises the following steps:
receiving message data sent by a first application program; wherein the message data includes: a message sender identification, a message receiver identification, and message content of the second application;
based on the message sender identification and the message receiver identification of the second application program, obtaining the corresponding message sender identification and message receiver identification of the first application program;
based on the message receiver identification of the first application program, the message sender identification of the first application program and the message content are sent to the message receiver of the first application program.
According to the information interaction method provided by the invention, the message sender identifier and the message receiver identifier of the first application program are obtained based on the message sender identifier and the message receiver identifier of the second application program, and the method comprises the following steps:
comparing the message sender identifier and the message receiver identifier of the second application program with a preset mapping relation table to obtain the corresponding message sender identifier and message receiver identifier of the first application program;
wherein the mapping relation table comprises: and the mapping relation between the preset user identities of the first application program and the preset user identities of the second application program.
The information interaction method provided by the invention further comprises the following steps:
before obtaining the message sender identifier and the message receiver identifier of the first application program, obtaining a user identity identifier registered by the first application program and a user identity identifier registered by the second application program;
and establishing the mapping relation table based on the user identity registered by the first application program and the user identity registered by the second application program.
The information interaction method provided by the invention further comprises the following steps:
and under the condition that the user identity registered through the first application program is acquired and the corresponding user identity registered through the second application program is not acquired, sending a registration request to a server of the second application program so as to register and acquire a new user identity.
The information interaction method provided by the invention further comprises the following steps:
and sending the message sender identifier, the message receiver identifier and the message content of the second application program to a server of the second application program, so as to send the message sender identifier and the message content of the second application program to the message receiver of the second application program based on the server.
According to the information interaction method provided by the invention, the sending of the message sender identifier, the message receiver identifier and the message content of the second application program to the server of the second application program comprises the following steps:
packaging the message sender identifier, the message receiver identifier and the message content of the second application program into json format data;
and transmitting the json format data to a server of the second application program based on the extensible communication and presentation protocol.
According to the information interaction method provided by the invention, the method for sending the message sender identifier of the first application program and the message content to the message receiver of the first application program comprises the following steps:
filtering the message sender identification of the first application program and the message content based on a preset information filtering rule;
and sending the filtered message sender identification of the first application program and the message content to a message receiver of the first application program.
The invention also provides an information interaction device, which comprises:
the receiving module is used for receiving message data sent by the first application program; wherein the message data includes: a message sender identification, a message receiver identification, and message content of the second application;
the processing module is used for obtaining the corresponding message sender identification and message receiver identification of the first application program based on the message sender identification and the message receiver identification of the second application program;
and the first sending module is used for sending the message sender identification of the first application program and the message content to the message receiver of the first application program based on the message receiver identification of the first application program.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the information interaction method as described in any of the above when executing the program.
The invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the information interaction method as described in any of the above.
The invention also provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of the information interaction method as described in any of the above.
According to the information interaction method, the information interaction device, the electronic equipment and the storage medium, the information sender identification and the information content of the second application program are sent to the information receiver of the first application program on the second terminal through the first application program on the first terminal, a user can send information to the user of the second application program without installing the second application program, and the information sent by the information sender of the second application program can be checked on the first application program, so that the second application program is bypassed.
When the second application program is used for carrying out malicious monopoly on messages of other application programs for self economic benefit, the first application program in the application can bypass the malicious monopoly of the second application program on the messages to communicate. Therefore, the method and the device can solve the defect that part of the application programs shield the information shared by the external application programs in the prior art, solve the defect that the information shared by the external application programs is maliciously shielded, and prompt the user experience.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of an information interaction method provided by the invention;
FIG. 2 is a logic block diagram of a server of a first application program in the information interaction method provided by the invention;
FIG. 3 is a mapping relationship diagram of a user identity of a first application program and a user identity of a second application program in the information interaction method provided by the invention;
FIG. 4 is a schematic diagram of an information interaction device according to the present invention;
fig. 5 is a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The information interaction method, apparatus, electronic device and storage medium of the present invention are described below with reference to fig. 1 to 5.
As shown in fig. 1, the present invention provides an information interaction method applied to a server corresponding to a first application program. The information interaction method comprises the following steps:
step 110, receiving message data sent by a first application program (WeChat); wherein the message data comprises: a message sender identification, a message receiver identification, and a message content of a second application (QQ).
It will be appreciated that the first application and the second application are two different applications, the server to which the first application corresponds and the server to which the second application corresponds are two different servers. The first application may communicate with its corresponding server, the second application may communicate with its corresponding server, and the first application may communicate with the second application.
The identification of the message sender may include ID information, name, avatar, etc. of the message sender. The identification of the message recipient may include ID information, name, avatar, etc. of the message recipient.
The message content, i.e. the content communicated between the message sender and the message receiver, may be a shared link of a certain shopping application or may be instant session content.
It should be noted that, the message sender may operate the first application program and the second application program on the terminal, call the first application program through the second application program on the terminal, and transmit the message sender identifier, the message receiver identifier and the message content of the second application program to the first application program of the same terminal.
The first application program and the second application program can be application programs which are adapted to operating systems such as Windows, iOS, harmony OS, android and the like, and can also be application programs which are adapted to Web terminals such as Chrome, edge, firefox, opera, safari (namely, a computer webpage terminal).
Step 120, obtaining the corresponding message sender identifier and message receiver identifier of the first application program based on the message sender identifier and message receiver identifier of the second application program.
It can be understood that the message sender identifier of the second application program has a corresponding relationship with the message sender identifier of the first application program, and the message receiver identifier of the second application program obtains the corresponding relationship with the message receiver identifier of the first application program.
Step 130, based on the message receiver identifier of the first application program, the message sender identifier of the first application program and the message content are sent to the message receiver of the first application program.
It will be appreciated that the message recipient of the first application may be determined based on the message recipient identification of the first application. The message sender identification and message content of the first application are transmitted to the message receiver of the first application, and the corresponding message sender and the transmitted message content can be viewed on the first application.
It should be noted that, in the main interactive interface of the first application program in the present application, a user name registered on the first application program is displayed, where the name may be an actual name of the user. Moreover, on the main interactive interface, an interactive button of the second application program is also arranged.
Clicking the interactive button of the second application program can enter the information receiving and transmitting interface of the second application program. The second application may include a plurality of different instant messaging applications. On the main interactive interface, interactive buttons of a plurality of different instant messaging application programs can be displayed, one interactive button is selected for clicking, and then the information receiving and transmitting interface of the instant messaging application program can be accessed, so that the interaction of a plurality of instant messaging software can be realized on the first application program.
In some embodiments, as shown in fig. 2, the server logic framework of the first application program is that the user logs in to the first application program, the first application program sends login information to the server of the first application program through HTTPS protocol (i.e. hypertext transfer security protocol), the server is based on public network resolution DNS (i.e. domain name system), and provides an API (Application Programming Interface, application program interface) for accessing the second application program background server and the electric pin service provider, and communication is performed between the server of the first application program and the electric pin service provider based on SAML (Security Assertion Markup Language ) protocol.
The server of the first application program sends the message sent by the first application program to the CDN (Content Delivery Network ) and WAF (Web Application Firewall, website application level intrusion prevention system), and then the message is processed by an internal load balancing and external load balancing processing module to obtain a micro service example.
In some embodiments, obtaining the message sender identification and the message receiver identification of the corresponding first application based on the message sender identification and the message receiver identification of the second application includes:
and comparing the message sender identifier and the message receiver identifier of the second application program with a preset mapping relation table to obtain the corresponding message sender identifier and message receiver identifier of the first application program.
As shown in fig. 3, the mapping relation table includes: mapping relation between a plurality of preset user identities of a first application program and a plurality of preset user identities of a second application program.
It will be appreciated that the message sender and message receiver of the first application are users of the first application; the message sender and the message receiver of the second application are users of the second application.
The user identity on the first application program and the user identity on the second application program have a one-to-one correspondence, namely a mapping relationship.
In some embodiments, the information interaction method further comprises:
before obtaining a message sender identifier and a message receiver identifier of a first application program, obtaining a user identity identifier registered through the first application program and a user identity identifier registered through a second application program;
and establishing a mapping relation table based on the user identity registered by the first application program and the user identity registered by the second application program.
It may be appreciated that when the user has registered on the first application, the user identity registered on the first application may be obtained directly through a server call of the first application. Also, when the user has registered with the second application, the user identification registered with the second application may be obtained directly through a server call of the second application.
It should be noted that, the user identity registered through the first application program and the user identity registered through the second application program are all identity identifiers authenticated by the real name of the user, that is, the user needs to be authenticated by the real name when registering on the first application program and the second application program, so as to ensure the security of the network information.
The mapping relationship between the user identity of the first application and the user identity of the second application is determined based on the real-name identity of the same user.
In some embodiments, the information interaction method further comprises:
and under the condition that the user identity registered through the first application program is acquired and the corresponding user identity registered through the second application program is not acquired, a registration request is sent to a server of the second application program so as to register and acquire a new user identity.
It can be understood that when the user registers the account only on the first application program, but does not register the account on the second application program, the user can directly initiate a registration request to the server of the second application program through the server of the first application program, so that the user can not download and install the second application program on the mobile phone terminal, the operation steps of the user are saved, and the operation efficiency and the user experience are improved.
In some embodiments, the information interaction method further comprises:
and transmitting the message sender identification, the message receiver identification and the message content of the second application program to a server of the second application program so as to transmit the message sender identification and the message content of the second application program to the message receiver of the second application program based on the server.
It will be appreciated that the server of the first application may send the message sender identification and message content of the second application to the message recipient of the second application in addition to the message sender identification and message content of the second application.
Thus, the user can view the content of the message sent by the message sender on the second application in addition to the first application.
When the user does not download the second application program on the terminal, the user can still view the message content sent by the message sender, and when the user downloads the second application program on the terminal and uses the second application program, the user does not need to switch to the first application program to view the message content, the use scene is more diversified, and the interactive experience of the user is improved.
Further, transmitting the message sender identification, the message receiver identification, and the message content of the second application to a server of the second application, comprising:
and identifying the message content, and transmitting the message sender identification and the message receiver identification of the second application program, the non-private content in the message content and the preset viewing reminding information to a server of the second application program under the condition that the message content contains the private content, so that the message sender identification of the second application program and the non-private content viewing reminding information in the message content are transmitted to a message receiver of the second application program based on the server.
The reminding information is used for reminding a user to view the privacy content in the first application program.
It is understood that the second application may be a third party application, and if the private content is sent to the server of the second application, the private content is easily abused by the server of the second application, resulting in privacy disclosure.
Therefore, in the embodiment, the information content is identified, the privacy content is intercepted, the privacy content is ensured to be intelligently checked in the first application program, the leakage on the second application program is avoided, and the privacy of the user is protected.
In some embodiments, sending the message sender identification, the message recipient identification, and the message content of the second application to the server of the second application includes:
packaging the message sender identification, the message receiver identification and the message content of the second application program into json (JavaScript Object Notation) format data;
the json format data is sent to the server of the second application based on the extensible messaging and presentation protocol.
It will be appreciated that the extensible messaging and presence protocol, i.e., the XMPP protocol, is a protocol based on a subset XML of the standard generic markup language (i.e., extensible markup language), which inherits the flexibility of expansion in the XML environment. Therefore, XMPP-based applications have a very strong scalability.
In some embodiments, sending the message sender identification of the first application and the message content to the message recipient of the first application includes:
filtering the message sender identification and the message content of the first application program based on a preset information filtering rule;
and sending the filtered message sender identification and the message content of the first application program to a message receiver of the first application program.
It will be appreciated that the information filtering rule may be a rule of information filtering time, for example, the message content in the target time period may be sent out. The information filtering rule may also be a filtering rule of the message sender, and the message receiver may be set to receive only part of the message content sent by the message sender.
In addition, the information filtering rule may be a keyword field of information filtering, and in the information content, the content related to the keyword field is filtered and not sent out. Based on the information filtering rules, individuation of information interaction can be achieved, and user experience is improved.
In summary, the information interaction method provided by the invention comprises the following steps: receiving message data sent by a first application program; wherein the message data comprises: a message sender identification, a message receiver identification, and message content of the second application; based on the message sender identification and the message receiver identification of the second application program, the message sender identification and the message receiver identification of the corresponding first application program are obtained; based on the message receiver identification of the first application, the message sender identification of the first application and the message content are sent to the message receiver of the first application.
According to the information interaction method provided by the invention, the information sender identification and the information content of the second application program can be sent to the information receiver of the first application program on the second terminal through the first application program on the first terminal, the user can send information to the user of the second application program without installing the second application program, and the information sent by the information sender of the second application program can be checked on the first application program, so that the second application program is bypassed.
When the second application program is used for carrying out malicious monopoly on messages of other application programs for self economic benefit, the first application program in the application can bypass the malicious monopoly of the second application program on the messages to communicate. Therefore, the method and the device can solve the defect that part of the application programs shield the information shared by the external application programs in the prior art, solve the defect that the information shared by the external application programs is maliciously shielded, and prompt the user experience.
The information interaction device provided by the invention is described below, and the information interaction device described below and the information interaction method described above can be correspondingly referred to each other.
As shown in fig. 4, the present invention provides an information interaction device 400 including: a receiving module 410, a processing module 420 and a first transmitting module 430.
The receiving module 410 is configured to receive message data sent by a first application program; wherein the message data comprises: a message sender identification, a message recipient identification, and message content of the second application.
It will be appreciated that the first application and the second application are two different applications, the server to which the first application corresponds and the server to which the second application corresponds are two different servers. The first application may communicate with its corresponding server, the second application may communicate with its corresponding server, and the first application may communicate with the second application.
The identification of the message sender may include ID information, name, avatar, etc. of the message sender. The identification of the message recipient may include ID information, name, avatar, etc. of the message recipient.
The message content, i.e. the content communicated between the message sender and the message receiver, may be a shared link of a certain shopping application or may be instant session content.
It should be noted that, the message sender may operate the first application program and the second application program on the terminal, call the first application program through the second application program on the terminal, and transmit the message sender identifier, the message receiver identifier and the message content of the second application program to the first application program of the same terminal.
The processing module 420 is configured to obtain the corresponding message sender identifier and message receiver identifier of the first application program based on the message sender identifier and the message receiver identifier of the second application program.
It can be understood that the message sender identifier of the second application program has a corresponding relationship with the message sender identifier of the first application program, and the message receiver identifier of the second application program obtains the corresponding relationship with the message receiver identifier of the first application program.
The first sending module 430 is configured to send the message sender identifier of the first application program and the message content to the message receiver of the first application program based on the message receiver identifier of the first application program.
It will be appreciated that the message recipient of the first application may be determined based on the message recipient identification of the first application. The message sender identification and message content of the first application are transmitted to the message receiver of the first application, and the corresponding message sender and the transmitted message content can be viewed on the first application.
It should be noted that, in the main interactive interface of the first application program in the present application, a user name registered on the first application program is displayed, where the name may be an actual name of the user. Moreover, on the main interactive interface, an interactive button of the second application program is also arranged.
Clicking the interactive button of the second application program can enter the information receiving and transmitting interface of the second application program. The second application may include a plurality of different instant messaging applications. On the main interactive interface, interactive buttons of a plurality of different instant messaging application programs can be displayed, one interactive button is selected for clicking, and then the information receiving and transmitting interface of the instant messaging application program can be accessed, so that the interaction of a plurality of instant messaging software can be realized on the first application program.
In some embodiments, the processing module 420 is further configured to compare the message sender identifier and the message receiver identifier of the second application program with a preset mapping relationship table, so as to obtain the message sender identifier and the message receiver identifier of the corresponding first application program.
Wherein, the mapping relation table comprises: mapping relation between a plurality of preset user identities of a first application program and a plurality of preset user identities of a second application program.
In some embodiments, the information interaction device 400 further includes: an acquisition module and a construction module.
The acquisition module is used for acquiring the user identity registered by the first application program and the user identity registered by the second application program before the message sender identity and the message receiver identity of the first application program are acquired.
The construction module is used for establishing a mapping relation table based on the user identity registered by the first application program and the user identity registered by the second application program.
In some embodiments, the information interaction device 400 further includes: and a registration module.
The registration module is used for sending a registration request to a server of the second application program to register and obtain a new user identity under the condition that the user identity registered through the first application program is obtained and the corresponding user identity registered through the second application program is not obtained.
In some embodiments, the information interaction device 400 further includes: and a second transmitting module.
The second sending module is used for sending the message sender identifier, the message receiver identifier and the message content of the second application program to the server of the second application program so as to send the message sender identifier and the message content of the second application program to the message receiver of the second application program based on the server.
The second sending module is further configured to identify the message content, and send, when the message content includes private content, a message sender identifier and a message receiver identifier of the second application program, and non-private content and preset viewing reminding information in the message content, to a server of the second application program, so as to send, based on the server, the message sender identifier of the second application program and the non-private content viewing reminding information in the message content, to a message receiver of the second application program.
The reminding information is used for reminding a user to view the privacy content in the first application program.
In some embodiments, the second transmitting module includes: a packaging unit and a first transmitting unit.
The packaging unit is used for packaging the message sender identification, the message receiver identification and the message content of the second application program into json format data.
The first sending unit is used for sending json format data to a server of the second application program based on the extensible communication and presentation protocol.
In some embodiments, the first transmission module 430 includes: a filtering unit and a second transmitting unit.
The filtering unit is used for filtering the message sender identification and the message content of the first application program based on a preset information filtering rule.
The second sending unit is used for sending the filtered message sender identification and the message content of the first application program to a message receiver of the first application program.
The electronic device, the computer program product and the storage medium provided by the invention are described below, and the electronic device, the computer program product and the storage medium described below and the information interaction method described above can be referred to correspondingly.
Fig. 5 illustrates a physical schematic diagram of an electronic device, as shown in fig. 5, which may include: processor 510, communication interface (Communications Interface) 520, memory 530, and communication bus 540, wherein processor 510, communication interface 520, memory 530 complete communication with each other through communication bus 540. Processor 510 may invoke logic instructions in memory 530 to perform a method of information interaction, the method comprising:
step 110, receiving message data sent by a first application program; wherein the message data comprises: a message sender identification, a message receiver identification, and message content of the second application;
step 120, obtaining a corresponding message sender identifier and message receiver identifier of the first application program based on the message sender identifier and the message receiver identifier of the second application program;
step 130, based on the message receiver identifier of the first application program, the message sender identifier of the first application program and the message content are sent to the message receiver of the first application program.
Further, the logic instructions in the memory 530 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product, the computer program product comprising a computer program, the computer program being storable on a non-transitory computer readable storage medium, the computer program, when executed by a processor, being capable of executing the information interaction method provided by the above methods, the method comprising:
step 110, receiving message data sent by a first application program; wherein the message data comprises: a message sender identification, a message receiver identification, and message content of the second application;
step 120, obtaining a corresponding message sender identifier and message receiver identifier of the first application program based on the message sender identifier and the message receiver identifier of the second application program;
step 130, based on the message receiver identifier of the first application program, the message sender identifier of the first application program and the message content are sent to the message receiver of the first application program.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform the information interaction method provided by the above methods, the method comprising:
step 110, receiving message data sent by a first application program; wherein the message data comprises: a message sender identification, a message receiver identification, and message content of the second application;
step 120, obtaining a corresponding message sender identifier and message receiver identifier of the first application program based on the message sender identifier and the message receiver identifier of the second application program;
step 130, based on the message receiver identifier of the first application program, the message sender identifier of the first application program and the message content are sent to the message receiver of the first application program.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (9)

1. An information interaction method, comprising:
receiving message data sent by a first application program; wherein the message data includes: a message sender identification, a message receiver identification, and message content of the second application;
based on the message sender identification and the message receiver identification of the second application program, obtaining the corresponding message sender identification and message receiver identification of the first application program;
transmitting the message sender identifier of the first application program and the message content to the message receiver of the first application program based on the message receiver identifier of the first application program, wherein the corresponding message sender identifier and message receiver identifier of the first application program are obtained based on the message sender identifier and the message receiver identifier of the second application program, and the method comprises the following steps:
comparing the message sender identifier and the message receiver identifier of the second application program with a preset mapping relation table to obtain the corresponding message sender identifier and message receiver identifier of the first application program;
wherein the mapping relation table comprises: and the mapping relation between the preset user identities of the first application program and the preset user identities of the second application program is determined based on the real-name identity of the same user.
2. The information interaction method according to claim 1, further comprising:
before obtaining the message sender identifier and the message receiver identifier of the first application program, obtaining a user identity identifier registered by the first application program and a user identity identifier registered by the second application program;
and establishing the mapping relation table based on the user identity registered by the first application program and the user identity registered by the second application program.
3. The information interaction method according to claim 2, further comprising:
and under the condition that the user identity registered through the first application program is acquired and the corresponding user identity registered through the second application program is not acquired, sending a registration request to a server of the second application program so as to register and acquire a new user identity.
4. The information interaction method according to any one of claims 1 to 3, further comprising:
and sending the message sender identifier, the message receiver identifier and the message content of the second application program to a server of the second application program, so as to send the message sender identifier and the message content of the second application program to the message receiver of the second application program based on the server.
5. The information interaction method according to claim 4, wherein the transmitting the message sender identification, the message receiver identification, and the message content of the second application to the server of the second application includes:
packaging the message sender identifier, the message receiver identifier and the message content of the second application program into json format data;
and transmitting the json format data to a server of the second application program based on the extensible communication and presentation protocol.
6. The information interaction method according to claim 1, wherein the transmitting the message sender identification of the first application program and the message content to the message receiver of the first application program includes:
filtering the message sender identification of the first application program and the message content based on a preset information filtering rule;
and sending the filtered message sender identification of the first application program and the message content to a message receiver of the first application program.
7. An information interaction device, comprising:
the receiving module is used for receiving message data sent by the first application program; wherein the message data includes: a message sender identification, a message receiver identification, and message content of the second application;
the processing module is used for obtaining the corresponding message sender identification and message receiver identification of the first application program based on the message sender identification and the message receiver identification of the second application program, wherein the processing module realizes the message sender identification and the message receiver identification of the second application program based on the corresponding message sender identification and message receiver identification of the first application program by adopting the following modes:
comparing the message sender identifier and the message receiver identifier of the second application program with a preset mapping relation table to obtain the corresponding message sender identifier and message receiver identifier of the first application program;
wherein the mapping relation table comprises: the mapping relation between the preset user identities of the first application program and the preset user identities of the second application program is determined based on real-name identities of the same user;
and the first sending module is used for sending the message sender identification of the first application program and the message content to the message receiver of the first application program based on the message receiver identification of the first application program.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the information interaction method of any of claims 1 to 6 when the program is executed.
9. A non-transitory computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the information interaction method according to any of claims 1 to 6.
CN202111146315.3A 2021-09-28 2021-09-28 Information interaction method and device, electronic equipment and storage medium Active CN113992617B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111146315.3A CN113992617B (en) 2021-09-28 2021-09-28 Information interaction method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111146315.3A CN113992617B (en) 2021-09-28 2021-09-28 Information interaction method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN113992617A CN113992617A (en) 2022-01-28
CN113992617B true CN113992617B (en) 2023-07-21

Family

ID=79737136

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111146315.3A Active CN113992617B (en) 2021-09-28 2021-09-28 Information interaction method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113992617B (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107450998A (en) * 2017-07-31 2017-12-08 北京三快在线科技有限公司 Information real-time synchronization method, device, medium and electronic equipment between more applications

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100452775C (en) * 2003-12-08 2009-01-14 腾讯科技(深圳)有限公司 Method and system of sharing application programs in instant communication system
EP2280362A1 (en) * 2009-07-30 2011-02-02 Research In Motion Limited Apparatus and method for controlled sharing of personal information
CN103973545B (en) * 2014-04-22 2015-09-23 腾讯科技(深圳)有限公司 The processing method of instant message, Apparatus and system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107450998A (en) * 2017-07-31 2017-12-08 北京三快在线科技有限公司 Information real-time synchronization method, device, medium and electronic equipment between more applications

Also Published As

Publication number Publication date
CN113992617A (en) 2022-01-28

Similar Documents

Publication Publication Date Title
US10397210B2 (en) Method, device, client and server for interaction
US9268956B2 (en) Online-monitoring agent, system, and method for improved detection and monitoring of online accounts
US9571590B2 (en) System and method for improved detection and monitoring of online accounts
EP2418820B1 (en) Systems, methods, and apparatus to monitor and authenticate mobile internet activity.
CN108476165B (en) Information interaction method, client and device
CN108809890B (en) Vulnerability detection method, test server and client
WO2015073719A1 (en) Automated sdk ingestion
US20110106857A1 (en) Method for Automatically Adding an Address into an Address Book
US11770385B2 (en) Systems and methods for malicious client detection through property analysis
US9210574B2 (en) Method and apparatus for verifying the authenticity of mobile device information
CN106357609A (en) User creation method and system, public network server and private cloud equipment
WO2017088634A1 (en) Third-party application authentication method, authentication server, terminal and management server
CN107862091B (en) Control method and device for realizing webpage access
US11165768B2 (en) Technique for connecting to a service
WO2014122614A2 (en) A secure user interaction method performing defined actions on web resources over a separate channel and a system thereof
AU2014410591A1 (en) Connection establishment method, device, and system
CN111182537A (en) Network access method, device and system for mobile application
CN114978637A (en) Message processing method and device
CN113992617B (en) Information interaction method and device, electronic equipment and storage medium
CN112769757A (en) Data pushing method, device and system
CN105933339B (en) A kind of application login method and mobile terminal
CN111224918A (en) Real-time networking security control platform and access authentication method
CN114095463A (en) Data processing method, device, equipment and medium based on instant messaging
Kampanakis et al. Incident Object Description Exchange Format Usage Guidance
CN113812125A (en) Login behavior verification method, device and system, storage medium and electronic device

Legal Events

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