[go: up one dir, main page]

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

Information interaction method, device, electronic device 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
identifier
receiver
message sender
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 present invention provides an information interaction method, device, electronic equipment, and storage medium. The information interaction method includes: receiving message data sent by a first application program; wherein, the message data includes: a message sender ID, a message receiver ID, and message content of a second application program; based on the message sender ID and message receiver ID of the second application program, the corresponding message sender ID and message receiver ID of the first application program are obtained; who. The present invention provides an information interaction method, device, electronic equipment, and storage medium, which can solve the defect that some application programs shield information shared by external application programs in the prior art, solve the defect that information shared by external application programs is maliciously shielded, and prompt users to experience.

Description

信息交互方法、装置、电子设备及存储介质Information interaction method, device, electronic device and storage medium

技术领域technical field

本发明涉及网络技术领域,尤其涉及一种信息交互方法、装置、电子设备及存储介质。The present invention relates to the field of network technology, in particular to an information interaction method, device, electronic equipment and storage medium.

背景技术Background technique

目前我国公民普遍使用某一到两个应用程序(即:APP)进行即时通讯,包括文字、图片、语音、文件的交互。在使用其他类型的应用程序时,会将该应用程序的链接信息分享给即时通讯应用程序中的好友,但是,部分即时通讯应用程序为了垄断经营,会将部分外部应用程序分享的链接信息进行恶意屏蔽、阻止,影响了用户体验,违背了互联网开放和公平的原则,不利于互联网领域市场的健康发展。At present, Chinese citizens generally use one or two application programs (ie: APP) for instant messaging, including the interaction of text, pictures, voice, and files. When using other types of applications, the link information of the application will be shared with friends in the instant messaging application. However, some instant messaging applications will maliciously block and block the link information shared by some external applications in order to monopolize the operation, which affects the user experience, violates the principle of openness and fairness of the Internet, and is not conducive to the healthy development of the Internet market.

发明内容Contents of the invention

本发明提供一种信息交互方法、装置、电子设备及存储介质,用以解决现有技术中部分应用程序屏蔽外部应用程序所分享信息的缺陷,解决外部应用程序分享信息被恶意屏蔽的缺陷,提升用户体验。The present invention provides an information interaction method, device, electronic equipment, and storage medium, which are used to solve the defect in the prior art that some applications shield information shared by external applications, solve the defect that information shared by external applications is maliciously shielded, and improve user experience.

本发明提供一种信息交互方法,包括:The present invention provides an information interaction method, including:

接收第一应用程序发送的消息数据;其中,所述消息数据包括:第二应用程序的消息发送者标识、消息接收者标识和消息内容;Receiving message data sent by the first application program; wherein, the message data includes: the message sender ID, message receiver ID and message content of the second application program;

基于所述第二应用程序的消息发送者标识和消息接收者标识,得到对应的所述第一应用程序的消息发送者标识和消息接收者标识;Obtaining the corresponding message sender ID and message receiver ID of the first application program based on the message sender ID and message receiver ID of the second application program;

基于所述第一应用程序的消息接收者标识,将所述第一应用程序的消息发送者标识以及所述消息内容发送至所述第一应用程序的消息接收者。Based on the message receiver identifier of the first application, send the message sender identifier of the first application and the message content to the message receiver of the first application.

根据本发明提供的信息交互方法,所述基于所述第二应用程序的消息发送者标识和消息接收者标识,得到对应的所述第一应用程序的消息发送者标识和消息接收者标识,包括:According to the information interaction method provided by the present invention, the obtaining of the corresponding message sender ID and message receiver ID of the first application program based on the message sender ID and message receiver ID of the second application program includes:

将所述第二应用程序的消息发送者标识和消息接收者标识,与预设的映射关系表进行比对,得到对应的所述第一应用程序的消息发送者标识和消息接收者标识;Comparing the message sender ID and message receiver ID of the second application program with a preset mapping relationship table to obtain the corresponding message sender ID and message receiver ID of the first application program;

其中,所述映射关系表,包括:预设的所述第一应用程序的多个用户身份标识,与预设的所述第二应用程序的多个用户身份标识之间的映射关系。Wherein, the mapping relationship table includes: a mapping relationship between preset multiple user identities of the first application and multiple preset user identities of the second application.

根据本发明提供的信息交互方法,还包括:According to the information interaction method provided by the present invention, it also includes:

在得到所述第一应用程序的消息发送者标识和消息接收者标识之前,获取通过所述第一应用程序注册的用户身份标识,以及通过所述第二应用程序注册的用户身份标识;Before obtaining the message sender ID and the message receiver ID of the first application program, obtain the user ID registered through the first application program and the user ID registered through the second application program;

基于通过所述第一应用程序注册的用户身份标识,以及通过所述第二应用程序注册的用户身份标识,建立所述映射关系表。The mapping table is established based on the user identity registered through the first application program and the user identity registered through the second application program.

根据本发明提供的信息交互方法,还包括:According to the information interaction method provided by the present invention, it also includes:

在获取到通过所述第一应用程序注册的用户身份标识,且未获取到对应的通过所述第二应用程序注册的用户身份标识的情况下,向所述第二应用程序的服务器发出注册请求,以注册得到新用户身份标识。When the user identity registered through the first application is obtained and the corresponding user identity registered through the second application is not obtained, a registration request is sent to the server of the second application to register a new user identity.

根据本发明提供的信息交互方法,还包括:According to the information interaction method provided by the present invention, it also includes:

将所述第二应用程序的消息发送者标识、消息接收者标识和消息内容,发送至所述第二应用程序的服务器,以基于所述服务器,将所述第二应用程序的消息发送者标识以及所述消息内容,发送至所述第二应用程序的消息接收者。Send the message sender ID, message receiver ID, and message content of the second application program to the server of the second application program, so that based on the server, send the message sender ID of the second application program and the message content to the message receiver of the second application program.

根据本发明提供的信息交互方法,所述将所述第二应用程序的消息发送者标识、消息接收者标识和消息内容,发送至所述第二应用程序的服务器,包括:According to the information interaction method provided by the present invention, the sending the message sender ID, message receiver ID and message content of the second application program to the server of the second application program includes:

将所述第二应用程序的消息发送者标识、消息接收者标识和消息内容打包成json格式数据;Packing the message sender ID, message receiver ID and message content of the second application program into json format data;

基于可扩展通讯和表示协议,将所述json格式数据发送至所述第二应用程序的服务器。Based on an extensible communication and presentation protocol, the data in json format is sent to the server of the second application program.

根据本发明提供的信息交互方法,所述将所述第一应用程序的消息发送者标识以及所述消息内容发送至所述第一应用程序的消息接收者,包括:According to the information interaction method provided by the present invention, the sending the message sender identifier of the first application program and the message content to the message receiver of the first application program includes:

基于预设的信息过滤规则,对所述第一应用程序的消息发送者标识以及所述消息内容进行过滤;Filtering the message sender identifier of the first application program and the message content based on preset information filtering rules;

将过滤后的所述第一应用程序的消息发送者标识以及所述消息内容发送至所述第一应用程序的消息接收者。Sending the filtered message sender identifier of the first application program and the message content to the message receiver of the first application program.

本发明还提供一种信息交互装置,包括:The present invention also provides an information interaction device, including:

接收模块,用于接收第一应用程序发送的消息数据;其中,所述消息数据包括:第二应用程序的消息发送者标识、消息接收者标识和消息内容;The receiving module is configured to receive the message data sent by the first application program; wherein, the message data includes: the message sender identification, the message receiver identification and the message content of the second application program;

处理模块,用于基于所述第二应用程序的消息发送者标识和消息接收者标识,得到对应的所述第一应用程序的消息发送者标识和消息接收者标识;A processing module, configured to obtain the corresponding message sender ID and message receiver ID of the first application program based on the message sender ID and message receiver ID of the second application program;

第一发送模块,用于基于所述第一应用程序的消息接收者标识,将所述第一应用程序的消息发送者标识以及所述消息内容发送至所述第一应用程序的消息接收者。The first sending module is configured to send the message sender ID of the first application program and the message content to the message receivers of the first application program based on the message receiver ID of the first application program.

本发明还提供一种电子设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现如上述任一种所述信息交互方法的步骤。The present invention also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the program, the steps of any one of the information interaction methods described above are implemented.

本发明还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如上述任一种所述信息交互方法的步骤。The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the steps of any one of the information interaction methods described above are implemented.

本发明还提供一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如上述任一种所述信息交互方法的步骤。The present invention also provides a computer program product, including a computer program. When the computer program is executed by a processor, the steps of any one of the information interaction methods described above are implemented.

本发明提供的信息交互方法、装置、电子设备及存储介质,通过第一终端上的第一应用程序,将第二应用程序的消息发送者标识和消息内容,发送至第二终端上的第一应用程序的消息接收者,用户可以不需要安装第二应用程序,就可以给第二应用程序的用户发送消息,而且还可以在第一应用程序上查看第二应用程序的消息发送者所发送的消息,从而绕开第二应用程序。The information interaction method, device, electronic device, and storage medium provided by the present invention send the message sender ID and message content of the second application program to the message receiver of the first application program on the second terminal through the first application program on the first terminal, and the user can send a message to the user of the second application program without installing the second application program, and can also view the message sent by the message sender of the second application program on the first application program, thereby bypassing the second application program.

当第二应用程序为了自身经济利益,对其他的应用程序的消息进行恶意垄断,采用本申请中的第一应用程序,就可以绕开第二应用程序对消息的恶意垄断,进行通信。因此,本发明可以解决现有技术中部分应用程序屏蔽外部应用程序所分享信息的缺陷,解决外部应用程序分享信息被恶意屏蔽的缺陷,提示用户体验。When the second application program maliciously monopolizes the messages of other application programs for its own economic benefit, the first application program in this application can circumvent the malicious monopoly of messages by the second application program and communicate. Therefore, the present invention can solve the defect that some applications shield the information shared by external applications in the prior art, solve the defect that the information shared by external applications is maliciously shielded, and prompt users to experience.

附图说明Description of drawings

为了更清楚地说明本发明或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the present invention or the technical solutions in the prior art, the following will briefly introduce the accompanying drawings that are required in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, other accompanying drawings can also be obtained based on these drawings without creative work.

图1是本发明提供的信息交互方法的流程示意图;Fig. 1 is a schematic flow chart of the information interaction method provided by the present invention;

图2是本发明提供的信息交互方法中第一应用程序的服务器的逻辑框图;Fig. 2 is a logical block diagram of the server of the first application program in the information interaction method provided by the present invention;

图3是本发明提供的信息交互方法中的第一应用程序的用户身份标识与第二应用程序的用户身份标识的映射关系图;Fig. 3 is a mapping relationship diagram between the user identity of the first application and the user identity of the second application in the information interaction method provided by the present invention;

图4是本发明提供的信息交互装置的结构示意图;Fig. 4 is a schematic structural diagram of an information interaction device provided by the present invention;

图5是本发明提供的电子设备的结构示意图。Fig. 5 is a schematic structural diagram of an electronic device provided by the present invention.

具体实施方式Detailed ways

为使本发明的目的、技术方案和优点更加清楚,下面将结合本发明中的附图,对本发明中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the present invention. Obviously, the described embodiments are some embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

下面结合图1-图5描述本发明的信息交互方法、装置、电子设备及存储介质。The information interaction method, device, electronic equipment and storage medium of the present invention will be described below with reference to FIGS. 1-5 .

如图1所示,本发明提供一种信息交互方法,应用于第一应用程序对应的服务器。信息交互方法包括:As shown in FIG. 1 , the present invention provides an information interaction method, which is applied to a server corresponding to a first application program. Information exchange methods include:

步骤110、接收第一应用程序(微信)发送的消息数据;其中,消息数据包括:第二应用程序(QQ)的消息发送者标识、消息接收者标识和消息内容。Step 110, receiving message data sent by the first application program (WeChat); wherein, the message data includes: message sender ID, message receiver ID and message content of the second application program (QQ).

可以理解的是,第一应用程序和第二应用程序是两个不同的应用程序,第一应用程序对应的服务器,与第二应用程序对应的服务器,是两个不同的服务器。第一应用程序可以与其对应的服务器进行通信,第二应用程序可以与其对应的服务器进行通信,第一应用程序的服务器与第二应用程序的服务器之间可以进行通讯。It can be understood that the first application program and the second application program are two different application programs, and the server corresponding to the first application program and the server corresponding to the second application program are two different servers. The first application program can communicate with its corresponding server, the second application program can communicate with its corresponding server, and the server of the first application program can communicate with the server of the second application program.

消息发送者的标识可以包括消息发送者的ID信息、名称以及头像等。消息接收者的标识可以包括消息接收者的ID信息、名称以及头像等。The identifier of the message sender may include the message sender's ID information, name, avatar, and the like. The identifier of the message recipient may include ID information, name, avatar, etc. of the message recipient.

消息内容也即是消息发送者与消息接收者之间所传达的内容,可以是某个购物应用程序的分享链接,也可以是即时会话内容。The content of the message is the content communicated between the message sender and the message receiver, which can be a sharing link of a shopping application or the content of an instant conversation.

需要说明的是,消息发送者可以在终端上操作第一应用程序和第二应用程序,通过终端上的第二应用程序调用第一应用程序,并将第二应用程序的消息发送者标识、消息接收者标识和消息内容,传到同一个终端的第一应用程序。It should be noted that the message sender can 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 pass the message sender ID, message receiver ID and message content of the second application program to the first application program on the same terminal.

第一应用程序以及第二应用程序,可以是适配于Windows、iOS、Harmony OS、Android等操作系统的应用程序,还可以适配与Chrome、Edge、Firefox、Opera、Safari等Web端(即:电脑网页端)的应用程序。The first application program and the second application program can be applications adapted to operating systems such as Windows, iOS, Harmony OS, and Android, and can also be adapted to applications on web terminals such as Chrome, Edge, Firefox, Opera, and Safari (ie: computer web pages).

步骤120、基于第二应用程序的消息发送者标识和消息接收者标识,得到对应的第一应用程序的消息发送者标识和消息接收者标识。Step 120, based on the message sender ID and message receiver ID of the second application program, obtain the corresponding message sender ID and message receiver ID of the first application program.

可以理解的是,第二应用程序的消息发送者标识与第一应用程序的消息发送者标识之间具有对应关系,第二应用程序的消息接收者标识,得到对应的第一应用程序的消息接收者标识之间具有对应关系。It can be understood that there is a corresponding relationship between the message sender ID of the second application program and the message sender ID of the first application program, and there is a corresponding relationship between the message receiver ID of the second application program and the corresponding message receiver ID of the first application program.

步骤130、基于第一应用程序的消息接收者标识,将第一应用程序的消息发送者标识以及消息内容发送至第一应用程序的消息接收者。Step 130, based on the message receiver ID of the first application program, send the message sender ID of the first application program and the message content to the message receivers of the first application program.

可以理解的是,基于第一应用程序的消息接收者标识,就可以确定第一应用程序的消息接收者。将第一应用程序的消息发送者标识以及消息内容发送至第一应用程序的消息接收者,在第一应用程序上就可以查看对应的消息发送者,以及所发送的消息内容。It can be understood that, based on the message receiver identifier of the first application program, the message receiver of the first application program can be determined. Send the message sender ID and message content of the first application program to the message receiver of the first application program, and the corresponding message sender and the sent message content can be viewed on the first application program.

需要说明的是,本申请中的第一应用程序的主交互界面,显示有在第一应用程序上注册的用户名称,该名称可以是用户的实际名字。而且,在主交互界面上,还设置有第二应用程序的交互按钮。It should be noted that the main interactive interface of the first application program in this application displays the name of the user registered on the first application program, and the name may be the actual name of the user. Moreover, on the main interaction interface, an interaction button of the second application program is also provided.

点击第二应用程序的交互按钮,就可以进入第二应用程序的信息收发界面。第二应用程序可以包括多个不同的即时通讯应用程序。在主交互界面上,可以显示多个不同的即时通讯应用程序的交互按钮,选择其中一个交互按钮进行点击,就可以进入该即时通讯应用程序的信息收发界面,因而在第一应用程序上,就可以实现多个即时通讯软件的交互。Click the interaction button of the second application program to enter the information sending and receiving interface of the second application program. The second application program may include multiple different instant messaging application programs. On the main interactive interface, multiple interactive buttons of different instant messaging applications can be displayed. Select one of the interactive buttons and click to enter the information sending and receiving interface of the instant messaging application. Therefore, on the first application, the interaction of multiple instant messaging software can be realized.

在一些实施例中,第一应用程序的服务器逻辑框架如图2所示,用户登录第一应用程序,第一应用程序将登录信息通过HTTPS协议(即:超文本传输安全协议)发送至第一应用程序的服务器,该服务器基于公网解析DNS(即:域名系统),并提供访问第二应用程序后台服务器以及电销服务商的API(Application Programming Interface,应用程序接口),第一应用程序的服务器与电销服务商之间基于SAML(Security Assertion MarkupLanguage,安全断言标记语言)协议进行通信。In some embodiments, the server logic framework of the first application program is as shown in Figure 2. The user logs in to the first application program, and the first application program sends the login information to the server of the first application program through the HTTPS protocol (ie: hypertext transfer security protocol). upLanguage, Security Assertion Markup Language) protocol for communication.

第一应用程序的服务器将第一应用程序发送的消息,发送至CDN(ContentDelivery Network,内容分发网络)以及WAF(Web Application Firewall,网站应用级入侵防御系统),再经过内部负载均衡和外部负载均衡处理模块进行处理,得到微服务示例。The server of the first application program sends the message sent by the first application program to CDN (ContentDelivery Network, content distribution network) and WAF (Web Application Firewall, website application-level intrusion prevention system), and then processes it through internal load balancing and external load balancing processing modules to obtain a microservice example.

在一些实施例中,基于第二应用程序的消息发送者标识和消息接收者标识,得到对应的第一应用程序的消息发送者标识和消息接收者标识,包括:In some embodiments, based on the message sender ID and the message receiver ID of the second application program, the corresponding message sender ID and message receiver ID of the first application program are obtained, including:

将第二应用程序的消息发送者标识和消息接收者标识,与预设的映射关系表进行比对,得到对应的第一应用程序的消息发送者标识和消息接收者标识。The message sender ID and message receiver ID of the second application program are compared with the preset mapping relationship table to obtain the corresponding message sender ID and message receiver ID of the first application program.

其中,如图3所示,映射关系表,包括:预设的第一应用程序的多个用户身份标识,与预设的第二应用程序的多个用户身份标识之间的映射关系。Wherein, as shown in FIG. 3 , the mapping relationship table includes: a mapping relationship between a plurality of preset user identities of the first application program and a plurality of preset user identities of the second application program.

可以理解的是,第一应用程序的消息发送者和消息接收者,是第一应用程序的用户;第二应用程序的消息发送者和消息接收者,是第二应用程序的用户。It can be understood that the message sender and message receiver of the first application program are users of the first application program; the message sender and message receiver of the second application program are users of the second application program.

第一应用程序上的用户身份标识,与第二应用程序上的用户身份标识之间具有一一对应关系,也即是映射关系。There is a one-to-one correspondence between the user ID on the first application program and the user ID on the second application program, that is, a mapping relationship.

在一些实施例中,信息交互方法还包括:In some embodiments, the information interaction method also includes:

在得到第一应用程序的消息发送者标识和消息接收者标识之前,获取通过第一应用程序注册的用户身份标识,以及通过第二应用程序注册的用户身份标识;Before obtaining the message sender ID and the message receiver ID of the first application program, obtain the user ID registered through the first application program and the user ID registered through the second application program;

基于通过第一应用程序注册的用户身份标识,以及通过第二应用程序注册的用户身份标识,建立映射关系表。Based on the user identity registered through the first application program and the user identity registered through the second application program, a mapping relationship table is established.

可以理解的是,当用户已在第一应用程序上注册过,则可以直接通过第一应用程序的服务器调用获取已通过第一应用程序注册的用户身份标识。同样,当用户已在第二应用程序上注册过,则可以直接通过第二应用程序的服务器调用获取已通过第二应用程序注册的用户身份标识。It can be understood that, when the user has already registered on the first application program, the user identity that has been registered through the first application program can be obtained directly through the server call of the first application program. Similarly, when the user has already registered on the second application program, the user identity that has been registered through the second application program can be obtained directly through the server call of the second application program.

需要说明的是,通过第一应用程序注册的用户身份标识,以及通过第二应用程序注册的用户身份标识,均是用户实名认证过的身份标识,也即是用户在第一应用程序以及第二应用程序上注册时,是需要实名认证的,以保障网络信息安全。It should be noted that the user IDs registered through the first application program and the user IDs registered through the second application program are both IDs that have been authenticated by the user's real name, that is, when the user registers on the first application program and the second application program, real-name authentication is required to ensure network information security.

第一应用程序的用户身份标识,与第二应用程序的用户身份标识之间的映射关系,是基于同一个用户的实名身份确定的。The mapping relationship between the user identity of the first application program and the user identity of the second application program is determined based on the real-name identity of the same user.

在一些实施例中,信息交互方法还包括:In some embodiments, the information interaction method also includes:

在获取到通过第一应用程序注册的用户身份标识,且未获取到对应的通过第二应用程序注册的用户身份标识的情况下,向第二应用程序的服务器发出注册请求,以注册得到新用户身份标识。When the user identity registered through the first application is obtained and the corresponding user identity registered through the second application is not obtained, a registration request is sent to the server of the second application to register a new user identity.

可以理解的是,在用户只在第一应用程序上注册账户,但是没有在第二应用程序上注册账户时,可以直接通过第一应用程序的服务器向第二应用程序的服务器发起注册请求,这样,用户就可以不用在手机终端下载安装第二应用程序,节省了用户的操作步骤,提高操作效率以及用户体验。It can be understood that when the user only registers an account on the first application program but does not register an account on the second application program, the server of the first application program can directly initiate a registration request to the server of the second application program. In this way, the user does not need to download and install the second application program on the mobile phone terminal, which saves the user's operation steps, improves operation efficiency and user experience.

在一些实施例中,信息交互方法还包括:In some embodiments, the information interaction method also includes:

将第二应用程序的消息发送者标识、消息接收者标识和消息内容,发送至第二应用程序的服务器,以基于服务器,将第二应用程序的消息发送者标识以及消息内容,发送至第二应用程序的消息接收者。Send the message sender ID, message receiver ID and message content of the second application program to the server of the second application program, so as to send the message sender ID and message content of the second application program to the message receivers of the second application program based on the server.

可以理解的是,第一应用程序的服务器除了可以将,第二应用程序的消息发送者标识和消息内容发送至第一应用程序的消息接收者,还可以将第二应用程序的消息发送者标识和消息内容发送至第二应用程序的消息接收者。It can be understood that, in addition to sending the message sender ID and message content of the second application program to the message receivers of the first application program, the server of the first application program can also send the message sender ID and message content of the second application program program to the message receivers of the second application program.

因此,用户除了可以在第一应用程序上查看消息发送者发送的消息内容,还可以在第二应用程序上查看消息发送者发送的内容。Therefore, in addition to viewing the message content sent by the message sender on the first application program, the user can also view the content sent by the message sender on the second application program.

当用户在没有在终端上下载第二应用程序,仍然可以查看消息发送者发送的消息内容,并且,当用户在终端上已经下载了第二应用程序,并且正在使用第二应用程序时,不需要再切换至第一应用程序查看消息内容,使用场景更加多样化,提升了用户的交互体验。When the user has not downloaded the second application program on the terminal, he can still view the content of the message sent by the message sender, and when the user has downloaded the second application program on the terminal and is using the second application program, he does not need to switch to the first application program to view the content of the message. The usage scenarios are more diverse, which improves the user's interactive experience.

进一步,将第二应用程序的消息发送者标识、消息接收者标识和消息内容,发送至第二应用程序的服务器,包括:Further, sending the message sender ID, message receiver ID and message content of the second application program to the server of the second application program, including:

对消息内容进行识别,在消息内容中包含有隐私内容的情况下,将第二应用程序的消息发送者标识和消息接收者标识,以及消息内容中的非隐私内容和预设的查看提醒信息发送至第二应用程序的服务器,以基于服务器,将第二应用程序的消息发送者标识以及消息内容中的非隐私内容查看提醒信息,发送至第二应用程序的消息接收者。Identify the message content, and if the message content contains private content, send the message sender ID and message receiver ID of the second application program, as well as the non-private content in the message content and the preset viewing reminder information to the server of the second application program, so that based on the server, the message sender ID of the second application program and the non-private content viewing reminder information in the message content are sent to the message receivers of the second application program.

其中,查看提醒信息,用于提醒用户在第一应用程序中查看隐私内容。Wherein, viewing reminder information is used to remind the user to view private content in the first application program.

可以理解的是,第二应用程序可以是第三方的应用程序,如果隐私内容发送至第二应用程序的服务器,容易被第二应用程序的服务器滥用,造成隐私泄露。It can be understood that the second application program may be a third-party application program, and if the private content is sent to the server of the second application program, it is easy to be abused by the server of the second application program, resulting in privacy leakage.

因此,本实施例中,采取对消息内容进行识别,拦截其中的隐私内容,保证该隐私内容智能在第一应用程序中查看,避免在第二应用程序上泄露,保护了用户的隐私。Therefore, in this embodiment, the content of the message is identified, and the private content is intercepted to ensure that the private content can be viewed intelligently in the first application program, avoiding leakage on the second application program, and protecting the user's privacy.

在一些实施例中,将第二应用程序的消息发送者标识、消息接收者标识和消息内容,发送至第二应用程序的服务器,包括:In some embodiments, sending the message sender ID, message receiver ID, and message content of the second application program to the server of the second application program includes:

将第二应用程序的消息发送者标识、消息接收者标识和消息内容打包成json(JavaScript Object Notation)格式数据;Packing the message sender identification, message receiver identification and message content of the second application program into json (JavaScript Object Notation) format data;

基于可扩展通讯和表示协议,将json格式数据发送至第二应用程序的服务器。Based on the extensible communication and presentation protocol, the data in json format is sent to the server of the second application program.

可以理解的是,可扩展通讯和表示协议也即是XMPP协议,XMPP协议是基于标准通用标记语言的子集XML(即:可扩展标记语言)的协议,它继承了在XML环境中灵活的发展性。因此,基于XMPP的应用具有超强的可扩展性。It can be understood that the Extensible Communication and Presentation Protocol is also the XMPP protocol. The XMPP protocol is a protocol based on XML (ie, Extensible Markup Language), a subset of the standard general markup language, and it inherits the flexible development in the XML environment. Therefore, XMPP-based applications have super scalability.

在一些实施例中,将第一应用程序的消息发送者标识以及消息内容发送至第一应用程序的消息接收者,包括:In some embodiments, sending the message sender identifier and message content of the first application program to the message receiver of the first application program includes:

基于预设的信息过滤规则,对第一应用程序的消息发送者标识以及消息内容进行过滤;Filtering the message sender ID and message content of the first application program based on preset information filtering rules;

将过滤后的第一应用程序的消息发送者标识以及消息内容发送至第一应用程序的消息接收者。Send the filtered message sender ID and message content of the first application program to the message receiver of the first application program.

可以理解的是,信息过滤规则,可以是信息过滤时间的规则,例如在目标时间段内的消息内容才可以发送出去。信息过滤规则,还可以是消息发送者的过滤规则,可以设置消息接收者,只接收部分消息发送者所发送的消息内容。It can be understood that the information filtering rule may be a rule of information filtering time, for example, only message content within a target time period can be sent out. The information filtering rule can also be the filtering rule of the message sender, and the message receiver can be set to only receive part of the message content sent by the message sender.

此外,信息过滤规则,还可以是信息过滤的关键词字段,在信息内容中与关键词字段相关的内容会被过滤掉,不会发出。基于信息过滤规则,可以实现信息交互的个性化,提高用户体验。In addition, the information filtering rule may also be a keyword field for information filtering, and content related to the keyword field in the information content will be filtered out and will not be sent out. Based on the information filtering rules, the personalization of information interaction can be realized and the user experience can be improved.

综述所示,本发明提供的信息交互方法,包括:接收第一应用程序发送的消息数据;其中,消息数据包括:第二应用程序的消息发送者标识、消息接收者标识和消息内容;基于第二应用程序的消息发送者标识和消息接收者标识,得到对应的第一应用程序的消息发送者标识和消息接收者标识;基于第一应用程序的消息接收者标识,将第一应用程序的消息发送者标识以及消息内容发送至第一应用程序的消息接收者。As shown in the overview, the information interaction method provided by the present invention includes: receiving message data sent by the first application program; wherein, the message data includes: the message sender ID, message receiver ID and message content of the second application program; based on the message sender ID and message receiver ID of the second application program, the corresponding message sender ID and message receiver ID of the first application program are obtained; based on the message receiver ID of the first application program, the message sender ID and message content of the first application program are sent to the message receiver of the first application program.

本发明提供的信息交互方法,可以通过第一终端上的第一应用程序,将第二应用程序的消息发送者标识和消息内容,发送至第二终端上的第一应用程序的消息接收者,用户可以不需要安装第二应用程序,就可以给第二应用程序的用户发送消息,而且还可以在第一应用程序上查看第二应用程序的消息发送者所发送的消息,从而绕开第二应用程序。The information interaction method provided by the present invention can send the message sender ID and message content of the second application program to the message receiver of the first application program on the second terminal through the first application program on the first terminal, and the user can send a message to the user of the second application program without installing the second application program, and can also view the message sent by the message sender of the second application program on the first application program, thereby bypassing the second application program.

当第二应用程序为了自身经济利益,对其他的应用程序的消息进行恶意垄断,采用本申请中的第一应用程序,就可以绕开第二应用程序对消息的恶意垄断,进行通信。因此,本发明可以解决现有技术中部分应用程序屏蔽外部应用程序所分享信息的缺陷,解决外部应用程序分享信息被恶意屏蔽的缺陷,提示用户体验。When the second application program maliciously monopolizes the messages of other application programs for its own economic benefit, the first application program in this application can circumvent the malicious monopoly of messages by the second application program and communicate. Therefore, the present invention can solve the defect that some applications shield the information shared by external applications in the prior art, solve the defect that the information shared by external applications is maliciously shielded, and prompt users to experience.

下面对本发明提供的信息交互装置进行描述,下文描述的信息交互装置与上文描述的信息交互方法可相互对应参照。The information interaction device provided by the present invention is described below, and the information interaction device described below and the information interaction method described above can be referred to in correspondence.

如图4所示,本发明提供信息交互装置400包括:接收模块410、处理模块420和第一发送模块430。As shown in FIG. 4 , the information exchange device 400 provided by the present invention includes: a receiving module 410 , a processing module 420 and a first sending module 430 .

接收模块410用于接收第一应用程序发送的消息数据;其中,消息数据包括:第二应用程序的消息发送者标识、消息接收者标识和消息内容。The receiving module 410 is configured to receive message data sent by the first application program; wherein, the message data includes: message sender ID, message receiver ID and message content of the second application program.

可以理解的是,第一应用程序和第二应用程序是两个不同的应用程序,第一应用程序对应的服务器,与第二应用程序对应的服务器,是两个不同的服务器。第一应用程序可以与其对应的服务器进行通信,第二应用程序可以与其对应的服务器进行通信,第一应用程序的服务器与第二应用程序的服务器之间可以进行通讯。It can be understood that the first application program and the second application program are two different application programs, and the server corresponding to the first application program and the server corresponding to the second application program are two different servers. The first application program can communicate with its corresponding server, the second application program can communicate with its corresponding server, and the server of the first application program can communicate with the server of the second application program.

消息发送者的标识可以包括消息发送者的ID信息、名称以及头像等。消息接收者的标识可以包括消息接收者的ID信息、名称以及头像等。The identifier of the message sender may include the message sender's ID information, name, avatar, and the like. The identifier of the message recipient may include ID information, name, avatar, etc. of the message recipient.

消息内容也即是消息发送者与消息接收者之间所传达的内容,可以是某个购物应用程序的分享链接,也可以是即时会话内容。The content of the message is the content communicated between the message sender and the message receiver, which can be a sharing link of a shopping application or the content of an instant conversation.

需要说明的是,消息发送者可以在终端上操作第一应用程序和第二应用程序,通过终端上的第二应用程序调用第一应用程序,并将第二应用程序的消息发送者标识、消息接收者标识和消息内容,传到同一个终端的第一应用程序。It should be noted that the message sender can 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 pass the message sender ID, message receiver ID and message content of the second application program to the first application program on the same terminal.

处理模块420用于基于第二应用程序的消息发送者标识和消息接收者标识,得到对应的第一应用程序的消息发送者标识和消息接收者标识。The processing module 420 is configured to obtain the corresponding message sender ID and message receiver ID of the first application program based on the message sender ID and message receiver ID of the second application program.

可以理解的是,第二应用程序的消息发送者标识与第一应用程序的消息发送者标识之间具有对应关系,第二应用程序的消息接收者标识,得到对应的第一应用程序的消息接收者标识之间具有对应关系。It can be understood that there is a corresponding relationship between the message sender ID of the second application program and the message sender ID of the first application program, and there is a corresponding relationship between the message receiver ID of the second application program and the corresponding message receiver ID of the first application program.

第一发送模块430用于基于第一应用程序的消息接收者标识,将第一应用程序的消息发送者标识以及消息内容发送至第一应用程序的消息接收者。The first sending module 430 is configured to send the message sender ID and message content of the first application program to the message receivers of the first application program based on the message receiver ID of the first application program.

可以理解的是,基于第一应用程序的消息接收者标识,就可以确定第一应用程序的消息接收者。将第一应用程序的消息发送者标识以及消息内容发送至第一应用程序的消息接收者,在第一应用程序上就可以查看对应的消息发送者,以及所发送的消息内容。It can be understood that, based on the message receiver identifier of the first application program, the message receiver of the first application program can be determined. Send the message sender ID and message content of the first application program to the message receiver of the first application program, and the corresponding message sender and the sent message content can be viewed on the first application program.

需要说明的是,本申请中的第一应用程序的主交互界面,显示有在第一应用程序上注册的用户名称,该名称可以是用户的实际名字。而且,在主交互界面上,还设置有第二应用程序的交互按钮。It should be noted that the main interactive interface of the first application program in this application displays the name of the user registered on the first application program, and the name may be the actual name of the user. Moreover, on the main interaction interface, an interaction button of the second application program is also provided.

点击第二应用程序的交互按钮,就可以进入第二应用程序的信息收发界面。第二应用程序可以包括多个不同的即时通讯应用程序。在主交互界面上,可以显示多个不同的即时通讯应用程序的交互按钮,选择其中一个交互按钮进行点击,就可以进入该即时通讯应用程序的信息收发界面,因而在第一应用程序上,就可以实现多个即时通讯软件的交互。Click the interaction button of the second application program to enter the information sending and receiving interface of the second application program. The second application program may include multiple different instant messaging application programs. On the main interactive interface, multiple interactive buttons of different instant messaging applications can be displayed. Select one of the interactive buttons and click to enter the information sending and receiving interface of the instant messaging application. Therefore, on the first application, the interaction of multiple instant messaging software can be realized.

在一些实施例中,处理模块420进一步用于将第二应用程序的消息发送者标识和消息接收者标识,与预设的映射关系表进行比对,得到对应的第一应用程序的消息发送者标识和消息接收者标识。In some embodiments, the processing module 420 is further configured to compare the message sender ID and message receiver ID of the second application program with the preset mapping relationship table to obtain the corresponding message sender ID and message receiver ID of the first application program.

其中,映射关系表,包括:预设的第一应用程序的多个用户身份标识,与预设的第二应用程序的多个用户身份标识之间的映射关系。Wherein, the mapping relationship table includes: a mapping relationship between a plurality of preset user identities of the first application program and a plurality of preset user identities of the second application program.

在一些实施例中,信息交互装置400还包括:获取模块和构建模块。In some embodiments, the information interaction device 400 further includes: an acquisition module and a construction module.

获取模块用于在得到第一应用程序的消息发送者标识和消息接收者标识之前,获取通过第一应用程序注册的用户身份标识,以及通过第二应用程序注册的用户身份标识。The obtaining module is used to obtain the user identity registered through the first application program and the user identity registered through the second application program before obtaining the message sender ID and the message receiver ID of the first application program.

构建模块用于基于通过第一应用程序注册的用户身份标识,以及通过第二应用程序注册的用户身份标识,建立映射关系表。The building module is used to establish a mapping relationship table based on the user ID registered through the first application program and the user ID registered through the second application program.

在一些实施例中,信息交互装置400还包括:注册模块。In some embodiments, the information interaction device 400 further includes: a registration module.

注册模块用于在获取到通过第一应用程序注册的用户身份标识,且未获取到对应的通过第二应用程序注册的用户身份标识的情况下,向第二应用程序的服务器发出注册请求,以注册得到新用户身份标识。The registration module is used to send a registration request to the server of the second application to register a new user identity when the user identity registered through the first application is obtained and the corresponding user identity registered through the second application is not obtained.

在一些实施例中,信息交互装置400还包括:第二发送模块。In some embodiments, the information interaction device 400 further includes: a second sending module.

第二发送模块用于将第二应用程序的消息发送者标识、消息接收者标识和消息内容,发送至第二应用程序的服务器,以基于服务器,将第二应用程序的消息发送者标识以及消息内容,发送至第二应用程序的消息接收者。The second sending module is used to send the message sender ID, message receiver ID and message content of the second application program to the server of the second application program, so as to send the message sender ID and 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 used to identify the message content. In the case that the message content contains private content, send the message sender ID and the message receiver ID of the second application program, as well as the non-private content in the message content and the preset viewing reminder information to the server of the second application program, so as to send the message sender ID of the second application program and the non-private content viewing reminder information in the message content to the message receiver of the second application program based on the server.

其中,查看提醒信息,用于提醒用户在第一应用程序中查看隐私内容。Wherein, viewing reminder information is used to remind the user to view private content in the first application program.

在一些实施例中,第二发送模块包括:打包单元和第一发送单元。In some embodiments, the second sending module includes: a packing unit and a first sending unit.

打包单元用于将第二应用程序的消息发送者标识、消息接收者标识和消息内容打包成json格式数据。The packaging unit is used to package the message sender ID, message receiver ID and message content of the second application program into json format data.

第一发送单元用于基于可扩展通讯和表示协议,将json格式数据发送至第二应用程序的服务器。The first sending unit is used for sending the data in json format to the server of the second application program based on the extensible communication and presentation protocol.

在一些实施例中,第一发送模块430包括:过滤单元和第二发送单元。In some embodiments, the first sending module 430 includes: a filtering unit and a second sending unit.

过滤单元用于基于预设的信息过滤规则,对第一应用程序的消息发送者标识以及消息内容进行过滤。The filtering unit is configured to filter the message sender ID and message content of the first application program based on preset information filtering rules.

第二发送单元用于将过滤后的第一应用程序的消息发送者标识以及消息内容发送至第一应用程序的消息接收者。The second sending unit is configured to send the filtered message sender ID and message content of the first application program to the message receivers of the first application program.

下面对本发明提供的电子设备、计算机程序产品以及存储介质进行描述,下文描述的电子设备、计算机程序产品以及存储介质与上文描述的信息交互方法可相互对应参照。The electronic device, computer program product, and storage medium provided by the present invention are described below, and the electronic device, computer program product, and storage medium described below and the information interaction method described above may be referred to in correspondence.

图5示例了一种电子设备的实体结构示意图,如图5所示,该电子设备可以包括:处理器(processor)510、通信接口(Communications Interface)520、存储器(memory)530和通信总线540,其中,处理器510,通信接口520,存储器530通过通信总线540完成相互间的通信。处理器510可以调用存储器530中的逻辑指令,以执行信息交互方法,该方法包括:FIG. 5 illustrates a schematic diagram of the physical structure of an electronic device. As shown in FIG. 5 , the electronic device may include: a processor (processor) 510, a communication interface (Communications Interface) 520, a memory (memory) 530, and a communication bus 540, wherein the processor 510, the communication interface 520, and the memory 530 complete mutual communication through the communication bus 540. The processor 510 may invoke logic instructions in the memory 530 to execute an information interaction method, the method including:

步骤110、接收第一应用程序发送的消息数据;其中,消息数据包括:第二应用程序的消息发送者标识、消息接收者标识和消息内容;Step 110, receiving message data sent by the first application program; wherein, the message data includes: the message sender ID, message receiver ID and message content of the second application program;

步骤120、基于第二应用程序的消息发送者标识和消息接收者标识,得到对应的第一应用程序的消息发送者标识和消息接收者标识;Step 120, based on the message sender ID and message receiver ID of the second application program, obtain the corresponding message sender ID and message receiver ID of the first application program;

步骤130、基于第一应用程序的消息接收者标识,将第一应用程序的消息发送者标识以及消息内容发送至第一应用程序的消息接收者。Step 130, based on the message receiver ID of the first application program, send the message sender ID of the first application program and the message content to the message receivers of the first application program.

此外,上述的存储器530中的逻辑指令可以通过软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。In addition, the above logic instructions in the memory 530 may be implemented in the form of software function units and be stored in a computer-readable storage medium when sold or used as an independent product. Based on such an understanding, the technical solution of the present invention can be embodied in the form of a software product in essence or the part that contributes to the prior art or a part of the technical solution. The computer software product is stored in a storage medium and includes several instructions to make a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disk or optical disk and other media that can store program codes.

另一方面,本发明还提供一种计算机程序产品,所述计算机程序产品包括计算机程序,计算机程序可存储在非暂态计算机可读存储介质上,所述计算机程序被处理器执行时,计算机能够执行上述各方法所提供的信息交互方法,该方法包括:On the other hand, the present invention also provides a computer program product, the computer program product includes a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, when the computer program is executed by a processor, the computer can execute the information interaction method provided by the above methods, the method includes:

步骤110、接收第一应用程序发送的消息数据;其中,消息数据包括:第二应用程序的消息发送者标识、消息接收者标识和消息内容;Step 110, receiving message data sent by the first application program; wherein, the message data includes: the message sender ID, message receiver ID and message content of the second application program;

步骤120、基于第二应用程序的消息发送者标识和消息接收者标识,得到对应的第一应用程序的消息发送者标识和消息接收者标识;Step 120, based on the message sender ID and message receiver ID of the second application program, obtain the corresponding message sender ID and message receiver ID of the first application program;

步骤130、基于第一应用程序的消息接收者标识,将第一应用程序的消息发送者标识以及消息内容发送至第一应用程序的消息接收者。Step 130, based on the message receiver ID of the first application program, send the message sender ID of the first application program and the message content to the message receivers of the first application program.

又一方面,本发明还提供一种非暂态计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现以执行上述各方法提供的信息交互方法,该方法包括:In yet another aspect, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the information interaction method provided by the above-mentioned methods is implemented, and the method includes:

步骤110、接收第一应用程序发送的消息数据;其中,消息数据包括:第二应用程序的消息发送者标识、消息接收者标识和消息内容;Step 110, receiving message data sent by the first application program; wherein, the message data includes: the message sender ID, message receiver ID and message content of the second application program;

步骤120、基于第二应用程序的消息发送者标识和消息接收者标识,得到对应的第一应用程序的消息发送者标识和消息接收者标识;Step 120, based on the message sender ID and message receiver ID of the second application program, obtain the corresponding message sender ID and message receiver ID of the first application program;

步骤130、基于第一应用程序的消息接收者标识,将第一应用程序的消息发送者标识以及消息内容发送至第一应用程序的消息接收者。Step 130, based on the message receiver ID of the first application program, send the message sender ID of the first application program and the message content to the message receivers of the first application program.

以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are only illustrative, and the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may also be distributed to multiple network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. It can be understood and implemented by those skilled in the art without any creative efforts.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the above description of the implementations, those skilled in the art can clearly understand that each implementation can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware. Based on this understanding, the above-mentioned technical solution essentially or the part that contributes to the prior art can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes several instructions to make a computer device (which can be a personal computer, server, or network device, etc.) execute the methods described in various embodiments or some parts of the embodiments.

最后应说明的是:以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still be Modifications are made to the technical solutions described in the foregoing embodiments, or equivalent replacements are made to some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various 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, device, electronic device 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, device, electronic device 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, device, electronic device 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, device, electronic device 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
US12003547B1 (en) Protecting web applications from untrusted endpoints using remote browser isolation
US11768951B2 (en) Systems and methods of gesture triggered automatic erasure on a private network
US11463418B2 (en) Systems and methods of enforcing communications semantics on a private network
JP6559694B2 (en) Automatic SDK acceptance
US9361652B2 (en) Accessing third-party communication service via a social networking system
EP3761196B1 (en) Password protect feature for application in mobile device during a remote session
CN104135563B (en) A kind of communication processing method and system
US20150156183A1 (en) System and method for filtering network communications
US20120180135A1 (en) System and method for improved detection and monitoring of online accounts
US20170257374A1 (en) Social media login and interaction management
WO2019047513A1 (en) Internet defense method and authentication server
CN103404113A (en) Notice pushing method, device and system
CN106357609B (en) A kind of method and system, public network server and private clound equipment creating user
CN113905030A (en) Intranet and extranet communication method and device, intranet terminal and proxy server
US11134044B1 (en) Message attachment provisioning
CN114553804B (en) Message transmission method and device, electronic equipment and computer readable storage medium
US9197591B2 (en) Method and system for validating email from an internet application or website
CN109302397B (en) Network security management method, platform and computer readable storage medium
CN116319764B (en) Cloud desktop security management and control method, device, storage medium and system
CN104519037A (en) Comment message display method and device
CN106453349A (en) An account number login method and apparatus
CN117879940A (en) Trusted detection method and device for domain front-end attack, storage medium and electronic equipment
WO2022028198A1 (en) Data processing method and apparatus based on instant messaging, device, and medium
CN115484086B (en) Cloud mobile phone screen sharing method and electronic equipment and computer-readable storage media
CN113992617B (en) Information interaction method, device, electronic device and storage medium

Legal Events

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