Data processing method, device and system, electronic equipment and storage medium
By encrypting the indication information of the target information on the server side of the first application, generating ciphertext information, and passing it to the client of the second application, the problem of restricted message forwarding types between apps in the prior art is solved, and type extension and secure transmission of cross-application message forwarding are realized.
Patent Information
- Application Number
- CN202311428702.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-30
- Publication Date
- 2025-05-02
AI Technical Summary
When forwarding messages between apps in the terminal, the prior art can only transmit specific types of messages, and the message forwarding capability cannot be improved.
By encrypting the indication information of the target information on the server side of the first application, ciphertext information is generated, and passed it to the client of the second application, and sending it to the second server through the client of the second application, the second server decrypts the terminal display information that obtains the forwarding information from the first server and sends it to the second terminal to display.
It extends the type of cross-application message forwarding, is not restricted by the data type transmitted by the SDK interface, ensures the security of information transmission, and improves the ability of cross-application message forwarding.
Smart Images

Figure CN119922160A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of computer technology and may involve fields such as communications, data security, and cloud technology. Specifically, the present application relates to a data processing method, device, system, electronic device, and storage medium. Background Art
[0002] With the rapid development of science and technology, various applications have emerged in an endless stream and have become an indispensable part of people's daily lives. People can install various types of applications (applications, apps) on their terminals to achieve various functions such as communication, shopping, and entertainment.
[0003] When people use an app, they can share the app's message content with other users in other apps, such as forwarding pictures to friends on other apps, sharing the short videos they watch with groups on other apps, etc.
[0004] At present, when messages are forwarded between apps in a terminal, the message to be forwarded can be forwarded to other users on other apps through a software development kit (SDK) interface with an information sharing function of the receiving app.
[0005] However, only specific types of messages can be transmitted through the SDK interface, so how to improve the message forwarding capability has become one of the important issues of concern in this field. Summary of the invention
[0006] The purpose of the embodiments of the present application is to provide a data processing method, device, system, electronic device and storage medium that can expand the types of cross-application message forwarding and improve the cross-application message forwarding capabilities. To achieve this purpose, the technical solutions provided by the embodiments of the present application are as follows:
[0007] On the one hand, an embodiment of the present application provides a data processing method, which is executed by a first terminal and includes:
[0008] In response to a cross-application forwarding operation of the target object on at least one target information in a client of the first application, a cross-application forwarding request is sent to the first server; the cross-application forwarding request includes first indication information of the at least one target information, the first indication information identifies terminal display information of the target information, the first server is a server of the first application, and the target receiving object of the cross-application forwarding operation is at least one object in the second application;
[0009] receiving first ciphertext information returned by the first server, where the first ciphertext information is obtained by encrypting first indication information of the at least one piece of target information;
[0010] The first ciphertext information is transmitted to the client of the second application, so that the first ciphertext information is sent to the second server through the client of the second application, so that the second server performs the following operations:
[0011] Based on the first ciphertext information, terminal display information of the at least one target information is obtained from the first server, and the terminal display information of the at least one target information is sent to the second terminal of the target recipient for display, wherein the second server is a server of the second application.
[0012] On the other hand, an embodiment of the present application further provides a data processing device, which is deployed in a first terminal and includes:
[0013] a request module, configured to send a cross-application forwarding request to a first server in response to a cross-application forwarding operation of a target object on at least one target information in a client of a first application; the cross-application forwarding request includes first indication information of the at least one target information, the first indication information identifies terminal display information of the target information, the first server is a server of the first application, and the target receiving object of the cross-application forwarding operation is at least one object in a second application;
[0014] A ciphertext receiving module, configured to receive first ciphertext information returned by the first server, where the first ciphertext information is obtained by encrypting first indication information of the at least one piece of target information;
[0015] A ciphertext sending module is used to pass the first ciphertext information to the client of the second application, so as to send the first ciphertext information to the second server through the client of the second application, so that the second server performs the following operations: based on the first ciphertext information, obtain the terminal display information of the at least one target information from the first server, and send the terminal display information of the at least one target information to the second terminal of the target receiving object for display, wherein the second server is the server of the second application.
[0016] Optionally, the terminal display information of the at least one piece of target information is acquired by the second server in the following manner:
[0017] Based on the first ciphertext information, sending an information decryption request to the first server, so that the first server obtains the first information of the at least one target information by decrypting the first ciphertext information; the first information includes the terminal display information of the at least one target information;
[0018] Receive the first information returned by the first server.
[0019] Optionally, the second server includes a fourth server and a fifth server;
[0020] The sending, by the client of the second application, the first ciphertext information to the second server, includes:
[0021] Sending the first ciphertext information to the fourth server through the client of the second application;
[0022] The fourth server acquires the terminal display information of the at least one target information from the first server based on the first ciphertext information;
[0023] The fourth server sends the terminal display information of the at least one target information to the fifth server through the client of the second application of the first terminal, so that the fifth server sends the terminal display information of the at least one target information to the second terminal of the target receiving object for display.
[0024] Optionally, the first ciphertext information corresponding to the at least one piece of target information is obtained by encrypting the first indication information of the at least one piece of target information and an information index of the at least one piece of target information by the first server; the information index is used to obtain the target information from the third server when an information acquisition request for any target information is obtained, and provide it to the requesting end;
[0025] The information index of the at least one piece of target information is obtained by the first server in the following manner:
[0026] In response to the cross-application forwarding request, sending the at least one piece of target information to the third server for storage, and receiving a third index of each piece of target information in the at least one piece of target information returned by the third server, the third index being an information index of the target information;
[0027] The first information corresponding to the at least one piece of target information also includes an information index of the at least one piece of target information.
[0028] Optionally, for any target information, the information type of the target information is the first type or the second type, the terminal display information corresponding to the first type of target information is the target information, and the terminal display information corresponding to the second type of target information is the prompt information of the target information;
[0029] The information index of the second type of target information is obtained by the first server in the following manner:
[0030] If the at least one target information includes target information of the second type, the target information of the second type is sent to the third server for storage, and the third index of the target information of the second type returned by the third server is received; wherein the first ciphertext information is obtained by encrypting the first indication information of the at least one target information and the information index of the target information of the second type in the at least one target information.
[0031] Optionally, the data processing device further includes an index generating module, and the index generating module can be used to:
[0032] If the at least one piece of target information includes target information of the second type, and the target information of the second type includes local information, in response to the cross-application forwarding operation, the local information is stored in a local shared storage space of the first application and the second application, and a local index of the local information is generated;
[0033] The cross-application forwarding request also includes a local index of local information in the at least one piece of target information, and the first ciphertext information is obtained by encrypting the first indication information of the at least one piece of target information, the local index of local information in the at least one piece of target information, and the information index of the second type of target information in the at least one piece of target information;
[0034] The data processing device further includes an information acquisition module, which can be used to:
[0035] Receiving the first information returned by the second server through the client of the second application, and displaying the terminal display information of the at least one target information in the client of the second application;
[0036] For any target information of the second type in the at least one target information, in response to the information acquisition operation of the target object on the target information in the client of the second application, if the first information includes a local index of the target information, the target information is read from the local shared storage space according to the local index; if the first information does not include a local index of the target information, an information acquisition request is sent to the third server according to the third index of the target information in the first information, and the target information returned by the third server is received.
[0037] Optionally, the index generation module is further used to:
[0038] Determine an operating system type of the first terminal, where the operating system type is a first type or a second type;
[0039] If the operating system type of the first terminal is the first type, the local information is stored in a local shared storage space of the first application and the second application.
[0040] Optionally, the at least one piece of target information is displayed in the second terminal in the following manner:
[0041] Determine the information format of the terminal display information of each target information in the at least one target information;
[0042] For each target information in the at least one target information, if the information format of the terminal display information of the target information does not belong to the target format set, format conversion is performed on the terminal display information of the target information, and the terminal display information after format conversion is sent to the second terminal of the target receiving object for display; wherein the target format set is a set of information formats supported by the second application;
[0043] If the information format of the terminal display information of the target information belongs to the target format set, the terminal display information of the target information is sent to the second terminal of the target receiving object for display. On the other hand, an embodiment of the present application also provides a data processing system, the data processing system includes a first terminal, at least one second terminal, a first server and a second server, wherein:
[0044] The first terminal is used to send a cross-application forwarding request to the first server when receiving a cross-application forwarding operation of the target object for at least one target information in the client of the first application; the cross-application forwarding request includes first indication information of the at least one target information, the first indication information identifies the terminal display information of the target information, the first server is the server of the first application, and the target receiving object of the cross-application forwarding operation is at least one object in the second application; it is also used to receive the first ciphertext information and transmit the first ciphertext information to the client of the second application; it is also used to send the first ciphertext information to the second server through the client of the second application, and the second server is the server of the second application;
[0045] The first server is configured to encrypt the first indication information of the at least one target information based on the cross-application forwarding request to obtain first ciphertext information, and return the first ciphertext information to the first terminal; and is further configured to decrypt the first ciphertext information upon receiving an information decryption request, and return the first information obtained after decryption to the second server; the first information includes terminal display information of the at least one target information;
[0046] The second server is used to obtain the terminal display information of the at least one target information from the first server based on the first ciphertext information; and is also used to send the terminal display information of the at least one target information to a second terminal of the target receiving object;
[0047] The second terminal is used to display the at least one target information according to the received terminal display information.
[0048] On the other hand, an embodiment of the present application further provides a data processing method, the method being executed by a first server, the first server being a server of a first application, the method comprising:
[0049] receiving a cross-application forwarding request sent by a first terminal through a client of the first application; the cross-application forwarding request is sent when the first terminal receives a cross-application forwarding operation of a target object on at least one target information in the client of the first application, the cross-application forwarding request includes first indication information of the at least one target information, the first indication information identifies terminal display information of the target information, and the target receiving object of the cross-application forwarding operation is at least one object in the second application;
[0050] Based on the cross-application forwarding request, encrypt the first indication information of the at least one target information to obtain first ciphertext information, and send the first ciphertext information to the first terminal;
[0051] receiving an information decryption request sent by a second server; the information decryption request is sent when the second server receives first ciphertext information sent by the first terminal through the client of the second application, the first ciphertext information is transmitted by the client of the first application in the first terminal to the client of the second application, and the second server is a server of the second application;
[0052] The first ciphertext information is decrypted, and the first information obtained after decryption is sent to the second server; so that the second server sends the first information to the second terminal of the target receiving object for display, and the first information includes the terminal display information of the at least one target information.
[0053] On the other hand, an embodiment of the present application further provides a data processing device, which is deployed in a first server and includes:
[0054] a forwarding request receiving module, configured to receive a cross-application forwarding request sent by a first terminal through a client of the first application; the cross-application forwarding request is sent when the first terminal receives a cross-application forwarding operation of a target object in the client of the first application for at least one target information, the cross-application forwarding request includes first indication information of the at least one target information, the first indication information identifies terminal display information of the target information, and the target receiving object of the cross-application forwarding operation is at least one object in the second application;
[0055] an encryption and sending module, configured to encrypt the first indication information of the at least one target information based on the cross-application forwarding request, obtain first ciphertext information, and send the first ciphertext information to the first terminal;
[0056] a decryption request receiving module, configured to receive an information decryption request sent by a second server; the information decryption request is sent when the second server receives first ciphertext information sent by the first terminal through the client of the second application, the first ciphertext information is transmitted by the client of the first application in the first terminal to the client of the second application, and the second server is a server of the second application;
[0057] A decryption and sending module is used to decrypt the first ciphertext information and send the first information obtained after decryption to the second server; so that the second server sends the first information to the second terminal of the target receiving object for display, and the first information includes the terminal display information of the at least one target information.
[0058] An embodiment of the present application further provides an electronic device, which includes a memory and a processor, wherein a computer program is stored in the memory, and the processor executes the computer program to implement a method provided in any optional embodiment of the present application.
[0059] On the other hand, an embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the method provided in any optional embodiment of the present application is implemented.
[0060] On the other hand, an embodiment of the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, it implements the method provided in any optional embodiment of the present application.
[0061] The beneficial effects of the technical solution provided by the embodiment of the present application are as follows:
[0062] The data processing method provided in the embodiment of the present application, when implementing cross-application information forwarding from the first application to the second application, encrypts the first indication information of the information to be forwarded through the server of the first application, and transmits the encrypted first ciphertext information to the client of the second application, and sends it to the second server through the client of the second application, so that the second server decrypts and obtains the terminal display information of the forwarded information from the first server and sends it to the second terminal for display. Based on the first indication information after the forwarding information is encrypted, the terminal display information is decrypted and obtained from the first server, which is not limited by the data type transmitted by the SDK interface in the first terminal, expands the type of cross-application forwarding information, ensures the security of information transmission, improves the ability of cross-application forwarding information, and better meets the actual application needs. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in describing the embodiments of the present application are briefly introduced below.
[0064] Figure 1 A schematic diagram of the structure of a data processing system provided in an embodiment of the present application;
[0065] Figure 2 A schematic diagram of data transmission between a first application and a second application provided in an embodiment of the present application;
[0066] Figure 3 A schematic diagram of an information acquisition method provided in an embodiment of the present application;
[0067] Figure 4 A schematic diagram of information transmission based on a local shared storage space provided in an embodiment of the present application;
[0068] Figure 5 A schematic diagram of the structure of a data processing system provided in an embodiment of the present application;
[0069] Figure 6 A schematic diagram of cross-application video forwarding provided in an embodiment of the present application;
[0070] Figure 7 A schematic diagram of cross-application text forwarding provided in an embodiment of the present application;
[0071] Figure 8 and Fig. 9 A flowchart of a data processing method provided in an embodiment of the present application;
[0072] Fig.10 and Fig.11 A schematic diagram of the structure of a data processing device provided in this application;
[0073] Fig.12A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0074] The embodiments of the present application are described below in conjunction with the drawings in the present application. It should be understood that the implementation methods described below in conjunction with the drawings are exemplary descriptions for explaining the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions of the embodiments of the present application.
[0075] It will be understood by those skilled in the art that, unless specifically stated, the singular forms "one", "said", and "the" used herein may also include plural forms. It should be further understood that the terms "including" and "comprising" used in the embodiments of the present application refer to that the corresponding features can be implemented as the presented features, information, data, steps, operations, elements and / or components, but do not exclude the implementation as other features, information, data, steps, operations, elements, components and / or combinations thereof supported by the technical field. It should be understood that when we say that an element is "connected" or "coupled" to another element, the one element may be directly connected or coupled to the other element, or it may refer to that the one element and the other element establish a connection relationship through an intermediate element. In addition, the "connection" or "coupling" used herein may include wireless connection or wireless coupling. The term "and / or" used herein indicates at least one of the items defined by the term, for example, "A and / or B" may be implemented as "A", or as "B", or as "A and B". When describing multiple (two or more) items, if the relationship between the multiple items is not clearly defined, the multiple items may refer to one, multiple or all of the multiple items. For example, the description of "parameter A includes A1, A2, A3" can be implemented as parameter A including A1 or A2 or A3, and can also be implemented as parameter A including at least two of the three items A1, A2, A3.
[0076] The embodiment of the present application provides a data processing method, device, system, electronic device and storage medium. The method can be applied to the process of information forwarding between clients of different applications in the same terminal. When implementing information forwarding from the sending end app to the receiving end app in the terminal, the first indication information of the information to be forwarded is encrypted by the sending end server, and the encrypted first ciphertext information is transmitted to the receiving end, and sent to the receiving end server by the receiving end, so that the terminal display information of the forwarded information is obtained by decrypting from the first server through the receiving end server and sending it to the second terminal for display. The receiving end decrypts and obtains the terminal display information from the first server of the sending end based on the first indication information encrypted by the forwarding information, which is not limited by the data type transmitted by the SDK interface, expands the type of information forwarded across applications, ensures the security of information transmission, improves the ability to forward information across applications, and better meets the actual application needs.
[0077] Optionally, the solution provided by the embodiment of the present application may involve cloud technology. For example, the solution of the embodiment of the present application may be executed by a server or a user terminal, or may be implemented by a server and a user terminal in cooperation. Among them, the server may be a cloud server, and the data processing involved in the implementation of the solution may be implemented based on cloud technology, and the data storage involved in the implementation may adopt cloud storage. For example, the encryption and decryption of the target indication information may be implemented using cloud technology, and the resources (video, image, etc.) of the target information to be forwarded may be data stored in the cloud server.
[0078] Among them, cloud technology is a general term for network technology, information technology, integration technology, management platform technology, application technology, etc. based on the cloud computing business model application, which can form a resource pool and be used on demand, flexibly and conveniently. Cloud computing technology will become an important support. Cloud storage is a new concept extended and developed from the concept of cloud computing. Distributed cloud storage system (hereinafter referred to as storage system) refers to a storage system that uses cluster applications, grid technology, and distributed storage file systems to bring together a large number of different types of storage devices (storage devices are also called storage nodes) in the network through application software or application interfaces to work together and provide data storage and business access functions to the outside world.
[0079] It should be noted that in the optional embodiments of the present application, the data related to the object information (images, texts, videos, etc. forwarded by users) involved, when the embodiments in the present application are applied to specific products or technologies, need to obtain the permission or consent of the object, and the collection, use and processing of the relevant data need to comply with the relevant laws, regulations and standards of the relevant countries and regions. In other words, if the embodiments of the present application involve data related to the object, it needs to be obtained with the authorization and consent of the object, the authorization and consent of the relevant departments, and in compliance with the relevant laws, regulations and standards of the country and region. If personal information is involved in the embodiments, the acquisition of all personal information needs to obtain the consent of the individual. If sensitive information is involved, the separate consent of the information subject needs to be obtained. The embodiments also need to be implemented with the authorization and consent of the object.
[0080] The following describes several embodiments to illustrate the technical solutions of the embodiments of the present application and the technical effects produced by the technical solutions of the present application. It should be noted that the following embodiments can refer to, draw on or combine with each other, and the same terms, similar features and similar implementation steps in different embodiments will not be described repeatedly.
[0081] The solution shown in the embodiment of the present application can be executed by any electronic device, such as a user terminal or a server, and can also be implemented by a plurality of electronic devices in cooperation.
[0082] Among them, the above-mentioned server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server (also called the cloud) that provides cloud computing services. The terminal (also called a user terminal or user device) can be a smart phone, a tablet computer, a laptop computer, a desktop computer, an intelligent voice interaction device (such as a smart speaker), a wearable electronic device (such as a smart watch), a car terminal, a smart home appliance (such as a smart TV), an AR / VR device, etc., but is not limited to this. The terminal and the server can be directly or indirectly connected via wired or wireless communication, and this application is not limited here.
[0083] Figure 1 A schematic diagram of the structure of a data processing system provided in an embodiment of the present application, the data processing system can be applied to the process of cross-application information forwarding between clients of different applications. The data processing system includes a first terminal 10, at least one second terminal 20, a first server 30 and a second server 40.
[0084] Among them, the first terminal 10 is the terminal of the sender (target object) of the forwarded information, the second terminal 20 is the terminal of the receiver (target receiving object) of the forwarded information, the first server 30 is the server of the first application, the second server 40 is the server of the second application, the first application and the second application are two different applications that realize cross-application information forwarding, and the target object can forward the target information to be forwarded in the client of the first application to the target receiving object in the second application. The first application and the second application are running in the first terminal 10 of the sender, and information can be transmitted between the first application and the second application. At least the second application is running in the second terminal 20 of the receiver, and the terminal display information that can receive the forwarded target information can be displayed.
[0085] Specifically, when forwarding information across applications, the target object can forward at least one target information across applications in the client of the first application of the first terminal 10. The first terminal 10 can determine the first indication information of each target information in response to the cross-application forwarding operation of the target object, and carry the first indication information of each target information in the cross-application request and send it to the first server 30.
[0086] The target object may be any user who forwards information, and the target receiving object of the cross-application forwarding operation is at least one object in the second application. The object in the second application may be a user in the second application or a group in the second application. The first application is the sending end of information forwarding, and the second application is the receiving end of information forwarding. The first application and the second application may be any application with information sharing function, such as instant messaging application, video application (short video application, long video application, etc.), e-commerce application, food delivery application, map application, etc. The target information may be any information that can be forwarded in the client of the first application, and the target information may be various types of information, such as text, image, video, mini program, map data, audio, product link, etc.
[0087] The first indication information of the target information may identify the terminal display information of the target information. For example, when the target information is an image, the corresponding first indication information may include image size, image size, and image identification (IdentityDocument, ID); when the target information is a video, the first indication information may include the video title, video size, and video resource address (Uniform Resource Locator, URL) of the video; when the target information is a document, the first indication information may include the document name, document size, etc.; when the target information is a mini program, the first indication information may include the mini program type, mini program ID, etc.; when the target information is audio, the first indication information may include audio duration, audio text, etc.; when the target information is text, the first indication information may include text content.
[0088] Optionally, when the target object determines the target information to be forwarded in the client of the first application, the target information can be selected from multiple pieces of information, or the currently displayed information can be used as the target information. Furthermore, when there are multiple different types of information in the client of the first application, the selected target information can include multiple different types. For example, when the first application is an instant messaging application, part of the conversation content can be selected from multiple conversation contents contained in the conversation record as the target information, wherein the target information can include different types of information such as images and texts; when the first application is a video application, the currently playing video can be used as the target information to be forwarded.
[0089] After receiving the cross-application request sent by the first terminal 10, the first server 30 may encrypt the first indication information contained in the cross-application request to obtain the first ciphertext information, and return the first ciphertext information to the first terminal 10. The embodiment of the present application does not limit the encryption algorithm used for encrypting the first indication information, and it can be set as needed, such as using a symmetric encryption algorithm for encryption.
[0090] like Figure 2As shown, in the first terminal, after the first terminal 10 receives the first ciphertext information through the client of the first application, the client of the first application transmits the first ciphertext information to the client of the second application. The first terminal 10 can send the first ciphertext information to the second server 40 through the client of the second application.
[0091] Among them, when the first terminal 10 is a mobile terminal, the client of the first application can wake up the client of the second application based on the page jump protocol scheme, and call the SDK interface of the second application with information forwarding capability, and pass the first ciphertext information to the client of the second application through the clipboard, and the SDK interface of the second application is integrated in the first application. When the first terminal 10 is a personal computer (PC), the first ciphertext information can be passed to the client of the second application through cross-process communication.
[0092] After receiving the first ciphertext information, the second server 40 may send an information decryption request to the first server 30. The first server 30 decrypts the first ciphertext information in the information decryption request to obtain the first plaintext information, determines the terminal display information of each target information based on the first indication information of each target information in the first plaintext information, determines the first information based on the terminal display information of each target information, and returns it to the second server 40. For example, when the first indication information is text, the terminal display information may be text; when the first indication information is a video ID, the terminal display information may include display information such as a video cover and a video title.
[0093] The second server 40 may send the first information to the second terminal 20 of the target receiving object. The second terminal 20 may display the terminal display information of each target information in the first information in the client of the second application. When the target receiving object is a group, the second server 40 sends the first information to the second terminal 20 of each user in the group respectively.
[0094] The second server 40 may also send the first information to the first terminal 10 of the target object, and the first terminal 10 may display the terminal display information of each target information in the first information in the client of the second application.
[0095] Optionally, since there are differences in the information formats supported by the first application and the second application, before the second server 40 sends the first information to the first terminal 10 or the second terminal 20 and displays it through the client of the second application, it is necessary to determine the information format of the terminal display information of each target information contained in the first information. For each forwarded target information, if the information format of the terminal display information of the target information does not belong to the target format set, the terminal display information of the target information is format-converted, and the terminal display information after format conversion is sent to the second terminal 20 of the target receiving object for display; if the information format of the terminal display information of the target information belongs to the target format set, the terminal display information of the target information is sent to the second terminal 20 of the target receiving object for display. The target information format set is a set of information formats supported by the second application, and the converted information format belongs to one of the target information formats.
[0096] Optionally, when the target information forwarded from the client of the first application is information not supported by the second application (e.g., the format is not supported or the type is not supported), the second server 40 may determine the content prompt information of the target information based on the terminal display information of the target information to prompt the target receiving object about the content of the target information forwarded. For example, if the second application does not support the forwarding of mini-programs, when the target object forwards the mini-program from the client of the first application to the client of the second application, the second server 40 may determine the content prompt information as "the forwarded information is a mini-program N of type M in the first application" based on the type M and name N in the terminal display information of the received mini-program, and provide it to the second terminal 20 for display.
[0097] based on Figure 1 In the data processing system shown, the receiving end decrypts and obtains the terminal display information from the first server of the sending end based on the first indication information encrypted after the forwarding information is forwarded. It is not limited by the data type transmitted by the SDK interface, expands the type of information forwarded across applications, ensures the security of information transmission, improves the ability to forward information across applications, and better meets actual application needs.
[0098] In the embodiment of the present application, for any target information, the target information can be divided into a first type and a second type based on the difference in terminal display information. The terminal display information corresponding to the first type of target information is the target information itself, such as the terminal display information of text is the text content; the terminal display information corresponding to the second type of target information is the prompt information of the target information, such as the terminal display information of an image is the thumbnail of the image, and the terminal display information of a video is the video cover and the play control (or download control).
[0099] When the forwarded target information includes the second type of target information, for the second type of target information, the second terminal can display the prompt information of the target information based on the terminal display information of the target information, and the second terminal needs to download to obtain the complete content of the target information. Since the target information is the information in the client of the first application, the first server stores the target information. When the target receiving object downloads the target information through the second terminal, the second terminal can obtain the target information from the first server through the second server.
[0100] Alternatively, the first server may also transfer the target information to a third server, where the third server may be a cloud storage server of the second application. When the target receiving object subsequently downloads the target information through the second terminal, the second terminal may directly obtain the target information from the third server without having to obtain the target information from the first server through the second server, thereby shortening the information acquisition path and reducing the time it takes for the second server to obtain and store data from the first server, further shortening the information acquisition time.
[0101] Optionally, when the forwarded target information includes the second type of target information and the forwarded target information is transferred to the third server, after receiving the cross-application forwarding request, the first server may store each target information of the second type in the target information to be forwarded to the third server, such as Figure 3 As shown, the third index of each target information of the second type returned by the third server is received, wherein the third index is the information index of the target information and may include a file identifier (fileid) and a URL resource address. The first server may encrypt the first indication information of each target information and the third index of the target information of the second type to obtain the first ciphertext information.
[0102] When the forwarded target information includes target information of the second type, the first information obtained by decryption by the first server also includes the information index (third index) of each target information of the second type, so that when the target information of the second type is subsequently downloaded, the target information can be obtained from the third server through the third index.
[0103] Optionally, when the forwarded target information includes the second type of target information, and the second type of target information is stored in the first server, the first server may encrypt the first indication information of each target information and the first index of the second type of target information therein to obtain the first ciphertext information. The first index may be used to obtain the target information from the first server, and the first index may be an information identifier of the target information corresponding to the first server.
[0104] When the forwarded target information includes target information of the second type, the first information obtained by decrypting the first server also includes an information index (first index) of each target information of the second type, so that when the target information of the second type is subsequently downloaded, the target information can be obtained from the first server through the second server based on the first index.
[0105] Optionally, when the forwarded target information includes the second type of target information, prompt information of the second type of target information is displayed in the client of the second application of the first terminal after the information is forwarded, and the target object can perform an information acquisition operation (such as downloading) on the prompt information to obtain the second type of target information. Since the information forwarding is forwarded from the client of the first application of the first terminal to the client of the second application, the target information may have been stored locally in the first terminal. Therefore, when the target information is local information of the first terminal, the client of the second application can directly read the target information locally.
[0106] Since the storage spaces of the first application and the second application are independent of each other, when the forwarded target information includes the second type of target information, and the second type of target information includes the local information of the first terminal, for any local information in the forwarded second type of target information, when the first terminal receives the cross-application forwarding operation, Figure 4 As shown, the local information can be stored in the local shared storage space of the first application and the second application, and a local index of the local information can be generated. The local information refers to the target information stored locally in the first terminal, and the local index can be the local storage path of the local information in the local shared storage space.
[0107] When the first terminal sends a cross-application forwarding request to the first server, the cross-application forwarding request carries a local index of local information. The first server can encrypt the first indication information of each target information, the information index of the second type of target information in each target information, and the local index of the local information in each target information based on the cross-application forwarding request to obtain the first ciphertext information.
[0108] After the second server obtains the first information from the first server, it sends the first information to the first terminal, and displays the terminal display information of each forwarded target information through the client of the second application. Wherein, when the forwarded target information includes the second type of target information, for any target information of the second type, the prompt information of the target information, such as a thumbnail of an image, is displayed in the client of the second application.
[0109] For any target information of the second type in the forwarded target information, when acquiring the target information, the acquisition path of the target information can be determined based on whether the local index is included. Specifically, in response to the target object's information acquisition operation for the target information in the client of the second application, if the first information includes the local index of the target information, the target information is read from the local shared storage space according to the local index. If the first information does not include the local index of the target information, an information acquisition request is sent to the third server according to the third index of the target information in the first information, and the target information returned by the third server is received.
[0110] Optionally, the first ciphertext information is transmitted through the SDK interface, and there are certain restrictions on the amount of data transmitted. Therefore, when the forwarded target information includes the first type of target information, different first indication information can be determined based on the different data amounts of the first type of target information.
[0111] Taking the first type of target information as text as an example, if the total amount of forwarded text data is greater than the first threshold, the first indication information of each text may be a text identifier, which is used to identify the content of each text. For example, the text identifier may include a session object and a session time. If the total amount of forwarded text data is not greater than the first threshold, the first indication information of each text is the text content. Among them, the data volume of the text identifier is less than the data volume of the text content. The first threshold can be set according to business needs.
[0112] For example, when the target object selects thousands of text contents from the client of the first application to forward across applications, since the forwarded text contents exceed the maximum limit, the first indication information of the text contents can be set as the text identifier corresponding to the thousands of text contents. When the first server decrypts based on the first ciphertext information, it can obtain thousands of text contents based on the text identifier in the decrypted first plaintext information, and carry them in the first information to send to the second terminal, so that the thousands of text contents can be displayed through the client of the second application.
[0113] Optionally, since not all operating systems support different applications sharing storage space, before determining to read the target information locally from the first terminal, the operating system type of the first terminal needs to be determined, where the operating system type can be divided into a first type and a second type.
[0114] When the operating system type of the first terminal is the first type, the local information is written into the local shared storage space of the first application and the second application, such as Figure 4 The first type of operating system is an operating system that supports local shared storage space.
[0115] Moreover, when obtaining the target information in the client of the second application of the first terminal, if the first information corresponding to the target information includes the local index of the target information, and the operating system type of the first terminal is the first type, it means that the target information is local information and is stored in the local shared storage space. Therefore, based on the local index, the target information can be read from the local shared storage space through the client of the second application.
[0116] In addition, in the embodiments of the present application, in order to facilitate equipment maintenance, the server functions can be decoupled based on the different functions implemented. Figure 5 As shown, the second server of the second application can be divided into a fourth server 41 and a fifth server 42, the fourth server 41 is the information acquisition server of the second application, and the fifth server 42 is the information forwarding server of the second application.
[0117] After the first ciphertext information is transmitted to the client of the second application, the first ciphertext information can be sent to the fourth server 41 through the client of the second application. The fourth server 41 obtains the terminal display information of each target information forwarded from the first server based on the first ciphertext information, and returns the obtained terminal display information of each target information to the first terminal.
[0118] The first terminal can send the terminal display information of each target information to the fifth server 42 through the client of the second application, so that the fifth server 42 sends the terminal display information of each target information to the second terminal of the target recipient for display through the client of the second application of the second terminal.
[0119] In order to better understand and explain the method provided in the embodiment of the present application, the optional implementation methods of the method provided in the present application are introduced below in combination with a specific scenario embodiment. In this scenario embodiment, the first application and the second application are both instant messaging applications.
[0120] Assume that user A forwards the second type of target information from the client of the first application to user B of the second application. Figure 6 As shown, in the client of the first application, user A selects a video in the conversation record with user C, performs a forwarding operation on the video, and forwards the video to the second application in the first selection interface of the receiving object, wherein the video is a video stored locally in user terminal A. In the second selection interface of the receiving object, based on user A's selection operation on the target receiving object user B in the second application, the video is forwarded to user B in the second application.
[0121] In response to the cross-application forwarding operation of user A, user terminal a determines the first indication information of the forwarded video and determines whether the operating system type of user terminal a is the first type. If the operating system type of user terminal a is the first type, the video can be written to the local shared storage space and a local storage path of the video is generated. Based on the first indication information of the video and the local storage path, a cross-application forwarding request is sent to the first server. The first indication information includes the video identifier, the video size, the video title, etc.
[0122] The first server can transfer the video to the third server based on the first indication information in the cross-application forwarding request, and receive the third index returned by the third server. According to the first indication information of the video, the local storage path of the video and the third index, the first ciphertext information is encrypted and returned to the user terminal a. After that, the client of the first application transmits the first ciphertext information to the client of the second application through the SDK interface, and the user terminal a sends the first ciphertext information to the fourth server through the client of the second application.
[0123] The fourth server may send an information decryption request to the first server based on the first ciphertext information, and the first server may decrypt the first ciphertext information to obtain the first plaintext information, and determine the terminal display information of the video based on the first indication information in the first plaintext information, and return the first information to the first server according to the terminal display information of the video, the local storage path of the video and the third index. The fourth server may send the first information to user terminal a and user terminal b of user B.
[0124] User terminal a can display the video through the client of the second application according to the terminal display information of the video in the first information. Among them, since the video belongs to the second type of target information, the prompt information of the displayed video includes the video cover and the play control, such as Figure 6 When user A plays a video, user terminal a responds to the play operation of user A and reads the video from the local shared storage space according to the local storage path of the video in the first information.
[0125] User terminal b can display the video through the client of the second application according to the terminal display information of the video in the first information. When user B plays the video, user terminal b responds to user B's video playing operation and obtains the video from the third server according to the third index of the video in the first information.
[0126] In another embodiment of the present application, when the video selected by user A in the conversation record with user C is not a video stored locally by user terminal a, user terminal a, in response to the cross-application forwarding operation of user A, can determine the first indication information for forwarding the video and send a cross-application forwarding request to the first server.
[0127] The first server can transfer the video to the third server based on the first indication information and receive the third index returned by the third server. The first ciphertext information is obtained by encryption according to the first indication information of the video and the third index of the video, and the first ciphertext information is returned to the user terminal a. After that, the client of the first application transmits the first ciphertext information to the client of the second application through the SDK interface, and the user terminal a sends the first ciphertext information to the fourth server through the client of the second application.
[0128] The fourth server may send an information decryption request to the first server based on the first ciphertext information, and the first server may decrypt the first ciphertext information to obtain the first plaintext information, and determine the terminal display information of the video based on the first indication information in the first plaintext information, and return the first information to the first server according to the terminal display information of the video and the third index of the video. The fourth server may send the first information to user terminal a and user terminal b of user B.
[0129] User terminal a can display the video through the client of the second application according to the terminal display information of the video in the first information. When user A plays the video, user terminal a responds to the play operation of user A and obtains the video from the third server according to the third index of the video in the first information.
[0130] In one embodiment of the present application, it is assumed that user A forwards the first type of target information from the client of the first application to group 4 of the second application. Figure 7 As shown, in the client of the first application, user A selected a text in the conversation record with user C, the content of the text is "work task", and forwarded the text. In the first selection interface of the receiving object, it is selected to forward the text to the second application. In the second selection interface of the receiving object, based on user A's selection operation on the target receiving object group 4 in the second application, the text is forwarded to group 4 in the second application.
[0131] In response to the cross-application forwarding operation of user A, user terminal a determines first indication information for forwarding the video and sends a cross-application forwarding request to the first server, wherein the first indication information includes text content.
[0132] The first server can encrypt the first ciphertext information based on the first indication information and return the first ciphertext information to the user terminal a. Then, the client of the first application passes the first ciphertext information to the client of the second application through the SDK interface, and the user terminal a sends the first ciphertext information to the fourth server through the client of the second application.
[0133] The fourth server may send an information decryption request to the first server based on the first ciphertext information. The first server may decrypt the first ciphertext information to obtain the first plaintext information, and determine the terminal display information of the video based on the first indication information in the first plaintext information. According to the terminal display information of the video, the first information is returned to the first server. The first indication information of the text is the same as the terminal display information. The fourth server may send the first information to user terminal a and user terminal b of user B.
[0134] User terminal a may display the text through the client of the second application according to the terminal display information of the text in the first information.
[0135] In an embodiment of the present application, the target object may select multiple target information for cross-application forwarding, wherein the multiple target information may include information of different types (first type and second type). When the target object forwards multiple different types of target information across applications in the client of the first application, the terminal display information of the first type of target information and the terminal display information of the second type may be obtained through the above method for display.
[0136] When the target object obtains (downloads) the target information of the second type through the first terminal, if the first information contains the local index of the target information, the target information is read from the local shared storage space, otherwise, the target information is obtained from the third server according to the third index of the target information in the first information returned by the second server. Or, according to the first index of the target information in the first information, the target information is obtained from the first server through the second server.
[0137] When the target receiving object downloads the target information of the second type through the second terminal, the target information is acquired from the third server according to the third index of the target information in the first information.
[0138] based on Figure 1 The data processing system shown in the figure, the embodiment of the present application also provides a data processing method, such as Figure 8 shown.
[0139] Figure 8A flow chart of a data processing method provided in an embodiment of the present application, the data processing method can be executed by a first terminal, in which a first application and a second application are running, and includes the following steps S210 to S230.
[0140] Step S210: In response to a cross-application forwarding operation of the target object on at least one target information in the client of the first application, a cross-application forwarding request is sent to the first server.
[0141] Among them, the target object can be any user who forwards information, the first application is the sender of information forwarding, the target information can be any forwardable information in the client of the first application, and the target information can be various types of information such as text, images, videos, mini programs, map data, audio, product links, etc.
[0142] Specifically, the target object can select at least one target information in the client of the first application, and perform a cross-application forwarding operation on the at least one target information, and obtain the first indication information of the at least one target information. And based on the first indication information of each target information, a cross-application forwarding request is sent to the first server. The first indication information identifies the terminal display information of the target information.
[0143] When the target object selects only one target information to be forwarded, the corresponding cross-application forwarding operation is a single forwarding operation; when the target object selects multiple target information to be forwarded, the corresponding cross-application forwarding operation can be a forwarding operation one by one or a combined forwarding operation. In addition, the types of the multiple target information selected by the target object are not necessarily the same, that is, the target object can select multiple different types of information for combined forwarding.
[0144] It should be noted that the information forwarding process of the forwarding operation one by one and the combined forwarding operation is the same, that is, multiple target information selected by the target object are forwarded to the first server for encryption, and then decrypted from the first server to obtain the target information in the subsequent steps, but there are differences in the display results of the forwarding interface of the second application. For example, the combined forwarding of information displays the sender information, the application identifier of the first application, and the target information, while the forwarding of one by one only displays the information content, and does not display the sender information and the application identifier of the first application.
[0145] Step S220: Receive the first ciphertext information returned by the first server.
[0146] Step S230: passing the first ciphertext information to the client of the second application, so as to send the first ciphertext information to the second server through the client of the second application.
[0147] In an embodiment of the present application, after receiving the cross-application request sent by the first terminal, the first server may encrypt the first indication information included in the cross-application request to obtain first ciphertext information, and return the first ciphertext information to the first terminal.
[0148] After receiving the first ciphertext information, the first terminal may transmit the first ciphertext information to the client of the second application through the client of the first application, and the first terminal may send the first ciphertext information to the second server through the client of the second application.
[0149] Among them, when the first terminal is a mobile terminal, the client of the first application can wake up the client of the second application based on the page jump protocol scheme, and pass the first ciphertext information to the client of the second application by calling the SDK interface of the second application with information forwarding capability, and the SDK interface of the second application is integrated in the first application. When the first terminal is a PC terminal, the first ciphertext information can be passed to the client of the second application through cross-process communication.
[0150] After receiving the first ciphertext information, the second server may send an information decryption request to the first server. The first server may decrypt the first ciphertext information in the information decryption request to obtain the first plaintext information, determine the terminal display information of each target information based on the first indication information of each target information in the first plaintext information, determine the first information based on the terminal display information of each target information, and return it to the second server.
[0151] The second server may send the first information to the second terminal of the target receiving object, and the second terminal may display the terminal information of each target information in the first information in the client of the second application.
[0152] It should be noted that other achievable methods in the process of cross-application information forwarding have been described in detail in the above-mentioned data processing system, and this application will not repeat them here, and you can refer to the above content.
[0153] Another data processing method provided in the embodiment of the present application is as follows: Fig. 9 As shown, the data processing method can be executed by a first server, which is a server of a first application, and includes the following steps S310 to S340.
[0154] Step S310: receiving a cross-application forwarding request sent by a first terminal through a client of a first application.
[0155] Step S320: based on the cross-application forwarding request, encrypt the first indication information of at least one target information to obtain first ciphertext information, and send the first ciphertext information to the first terminal.
[0156] When cross-application information forwarding is performed in the embodiment of the present application, the target object can perform cross-application forwarding for at least one target information in the client of the first application of the first terminal. In response to the cross-application forwarding operation of the target object, the first terminal can determine the first indication information of each target information, and carry the first indication information of each target information in the cross-application request and send it to the first server. The target object can be any user who forwards the information, the first indication information is the identifier of the terminal display information of the target information, and the target receiving object of the cross-application forwarding operation is at least one object in the second application.
[0157] The first server may receive a cross-application forwarding request sent by the first terminal through the client of the first application, and based on the cross-application forwarding request, encrypt the first indication information of each forwarded target information to obtain first ciphertext information, and send the first ciphertext information to the first terminal.
[0158] Step S330: receiving an information decryption request sent by the second server.
[0159] Step S340: decrypt the first ciphertext information, and send the first information obtained after decryption to the second server.
[0160] The client of the first application in the first terminal can transmit the first ciphertext information to the client of the second application, so as to send an information decryption request to the server through the client of the second application.
[0161] After receiving the information decryption request sent by the second server, the first server can decrypt the first ciphertext information to obtain the first plaintext information, and determine the terminal display information of the target information based on the first indication information in the first plaintext information, and return the first information to the second server according to the terminal display information of the target information. The first information includes the terminal display information of each target information, so that the second server sends the first information to the second terminal of the target receiving object for display.
[0162] It should be noted that other achievable methods in the process of cross-application information forwarding have been described in detail in the above-mentioned data processing system, and this application will not repeat them here, and you can refer to the above content.
[0163] based on Figure 8 and Fig. 9 In the data processing method shown, the receiving end decrypts and obtains the terminal display information from the first server of the sending end based on the first indication information encrypted after the forwarding information is forwarded. It is not limited by the data type transmitted by the SDK interface, expands the type of information forwarded across applications, ensures the security of information transmission, improves the ability to forward information across applications, and better meets actual application needs.
[0164] Based on the same principle as the data processing method provided in the embodiment of the present application, the embodiment of the present application provides a data processing device, such as Fig.10 As shown, the data processing device 400 is deployed in the first terminal, and the data processing device 400 may include a request module 410 , a ciphertext receiving module 420 , and a ciphertext sending module 430 .
[0165] The request module 410 is configured to send a cross-application forwarding request to the first server in response to a cross-application forwarding operation of a target object on at least one target information in a client of the first application; the cross-application forwarding request includes first indication information of the at least one target information, the first indication information identifies terminal display information of the target information, the first server is a server of the first application, and the target receiving object of the cross-application forwarding operation is at least one object in the second application;
[0166] The ciphertext receiving module 420 is configured to receive first ciphertext information returned by the first server, where the first ciphertext information is obtained by encrypting the first indication information of the at least one piece of target information;
[0167] The ciphertext sending module 430 is used to pass the first ciphertext information to the client of the second application, so as to send the first ciphertext information to the second server through the client of the second application, so that the second server performs the following operations: based on the first ciphertext information, obtain the terminal display information of the at least one target information from the first server, and send the terminal display information of the at least one target information to the second terminal of the target receiving object for display, wherein the second server is the server of the second application.
[0168] Optionally, the terminal display information of the at least one piece of target information is acquired by the second server in the following manner:
[0169] Based on the first ciphertext information, sending an information decryption request to the first server, so that the first server obtains the first information of the at least one target information by decrypting the first ciphertext information; the first information includes the terminal display information of the at least one target information;
[0170] Receive the first information returned by the first server.
[0171] Optionally, the second server includes a fourth server and a fifth server;
[0172] The sending, by the client of the second application, the first ciphertext information to the second server, includes:
[0173] Sending the first ciphertext information to the fourth server through the client of the second application;
[0174] The fourth server acquires the terminal display information of the at least one target information from the first server based on the first ciphertext information;
[0175] The fourth server sends the terminal display information of the at least one target information to the fifth server through the client of the second application of the first terminal, so that the fifth server sends the terminal display information of the at least one target information to the second terminal of the target receiving object for display.
[0176] Optionally, the first ciphertext information corresponding to the at least one piece of target information is obtained by encrypting the first indication information of the at least one piece of target information and an information index of the at least one piece of target information by the first server; the information index is used to obtain the target information from the third server when an information acquisition request for any target information is obtained, and provide it to the requesting end;
[0177] The information index of the at least one piece of target information is obtained by the first server in the following manner:
[0178] In response to the cross-application forwarding request, sending the at least one piece of target information to the third server for storage, and receiving a third index of each piece of target information in the at least one piece of target information returned by the third server, the third index being an information index of the target information;
[0179] The first information corresponding to the at least one piece of target information also includes an information index of the at least one piece of target information.
[0180] Optionally, for any target information, the information type of the target information is the first type or the second type, the terminal display information corresponding to the first type of target information is the target information, and the terminal display information corresponding to the second type of target information is the prompt information of the target information;
[0181] The information index of the second type of target information is obtained by the first server in the following manner:
[0182] If the at least one target information includes target information of the second type, the target information of the second type is sent to the third server for storage, and the third index of the target information of the second type returned by the third server is received; wherein the first ciphertext information is obtained by encrypting the first indication information of the at least one target information and the information index of the target information of the second type in the at least one target information.
[0183] Optionally, the data processing device further includes an index generating module, and the index generating module can be used to:
[0184] If the at least one piece of target information includes target information of the second type, and the target information of the second type includes local information, in response to the cross-application forwarding operation, the local information is stored in a local shared storage space of the first application and the second application, and a local index of the local information is generated;
[0185] The cross-application forwarding request also includes a local index of local information in the at least one piece of target information, and the first ciphertext information is obtained by encrypting the first indication information of the at least one piece of target information, the local index of local information in the at least one piece of target information, and the information index of the second type of target information in the at least one piece of target information;
[0186] The data processing device further includes an information acquisition module, which can be used to:
[0187] Receiving the first information returned by the second server through the client of the second application, and displaying the terminal display information of the at least one target information in the client of the second application;
[0188] For any target information of the second type in the at least one target information, in response to the information acquisition operation of the target object on the target information in the client of the second application, if the first information includes a local index of the target information, the target information is read from the local shared storage space according to the local index; if the first information does not include a local index of the target information, an information acquisition request is sent to the third server according to the third index of the target information in the first information, and the target information returned by the third server is received.
[0189] Optionally, the index generation module is further used to:
[0190] Determine an operating system type of the first terminal, where the operating system type is a first type or a second type;
[0191] If the operating system type of the first terminal is the first type, the local information is stored in a local shared storage space of the first application and the second application.
[0192] Optionally, the at least one piece of target information is displayed in the second terminal in the following manner:
[0193] Determine the information format of the terminal display information of each target information in the at least one target information;
[0194] For each target information in the at least one target information, if the information format of the terminal display information of the target information does not belong to the target format set, format conversion is performed on the terminal display information of the target information, and the terminal display information after format conversion is sent to the second terminal of the target receiving object for display; wherein the target format set is a set of information formats supported by the second application;
[0195] If the information format of the terminal display information of the target information belongs to the target format set, the terminal display information of the target information is sent to the second terminal of the target receiving object for display.
[0196] The present application also provides a data processing device, such as Fig.11 As shown, the data processing device 500 is deployed in the first server, and the data processing device 500 may include a forwarding request receiving module 510, an encryption and sending module 520, a decryption request receiving module 530, and a decryption and sending module 540, wherein:
[0197] A forwarding request receiving module 510 is configured to receive a cross-application forwarding request sent by a first terminal through a client of the first application; the cross-application forwarding request is sent when the first terminal receives a cross-application forwarding operation of a target object in the client of the first application for at least one target information, the cross-application forwarding request includes first indication information of the at least one target information, the first indication information identifies terminal display information of the target information, and the target receiving object of the cross-application forwarding operation is at least one object in the second application;
[0198] An encryption and sending module 520, configured to encrypt the first indication information of the at least one target information based on the cross-application forwarding request to obtain first ciphertext information, and send the first ciphertext information to the first terminal;
[0199] a decryption request receiving module 530, configured to receive an information decryption request sent by a second server; the information decryption request is sent when the second server receives first ciphertext information sent by the first terminal through the client of the second application, the first ciphertext information is transmitted by the client of the first application in the first terminal to the client of the second application, and the second server is a server of the second application;
[0200] The decryption and sending module 540 is used to decrypt the first ciphertext information and send the first information obtained after decryption to the second server; so that the second server sends the first information to the second terminal of the target receiving object for display, and the first information includes the terminal display information of the at least one target information.
[0201] The device of the embodiments of the present application can execute the method provided by the embodiments of the present application, and the implementation principles are similar. The actions performed by each module in the device of each embodiment of the present application correspond to the steps in the method of each embodiment of the present application. For the detailed functional description of each module of the device, please refer to the description in the corresponding method shown in the previous text, which will not be repeated here.
[0202] based on Fig.10 and Fig.11 In the data processing device shown, the receiving end decrypts and obtains the terminal display information from the first server of the sending end based on the first indication information encrypted after the forwarding information is forwarded. It is not limited by the data type transmitted by the SDK interface, expands the type of information forwarded across applications, ensures the security of information transmission, improves the ability to forward information across applications, and better meets actual application needs.
[0203] An embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory. When the processor executes the computer program stored in the memory, the method in any optional embodiment of the present application can be implemented.
[0204] Fig.12 FIG. 1 is a schematic diagram showing a structure of an electronic device to which an embodiment of the present invention is applicable. Fig.12 As shown, the electronic device may be a server or a user terminal, and the electronic device may be used to implement the method provided in any embodiment of the present invention.
[0205] like Fig.12 As shown in FIG. 1 , the electronic device 2000 may mainly include at least one processor 2001 ( Fig.12 2004, a memory 2002, a communication module 2003, an input / output interface 2004 and other components are shown in FIG. Optionally, each component can be connected and communicated through a bus 2005. It should be noted that Fig.12 The structure of the electronic device 2000 shown in the figure is merely illustrative and does not constitute a limitation on the electronic device to which the method provided in the embodiment of the present application is applicable.
[0206] The memory 2002 may be used to store operating systems and application programs, etc. The application program may include a computer program that implements the method shown in the embodiment of the present invention when called by the processor 2001, and may also include a program for implementing other functions or services. The memory 2002 may be a ROM (Read Only Memory) or other types of static storage devices that can store static information and instructions, a RAM (Random Access Memory) or other types of dynamic storage devices that can store information and computer programs, or an EEPROM (Electrically Erasable Programmable Read Only Memory), a CD-ROM (Compact Disc Read Only Memory) or other optical disk storage, optical disk storage (including compressed optical disk, laser disk, optical disk, digital versatile disk, Blu-ray disk, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto.
[0207] The processor 2001 is connected to the memory 2002 via the bus 2005, and implements the corresponding functions by calling the application program stored in the memory 2002. Among them, the processor 2001 can be a CPU (Central Processing Unit), a general processor, a DSP (Digital Signal Processor), an ASIC (Application Specific Integrated Circuit), an FPGA (Field Programmable Gate Array) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof, which can implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of the present invention. The processor 2001 can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc.
[0208] The electronic device 2000 can be connected to the network through the communication module 2003 (which may include but is not limited to components such as a network interface) to communicate with other devices (such as a user terminal or a server, etc.) through the network to achieve data interaction, such as sending data to other devices or receiving data from other devices. Among them, the communication module 2003 may include a wired network interface and / or a wireless network interface, etc., that is, the communication module may include at least one of a wired communication module or a wireless communication module.
[0209] The electronic device 2000 can be connected to the required input / output devices, such as a keyboard, a display device, etc., through the input / output interface 2004. The electronic device 2000 itself can have a display device, and can also be connected to other display devices through the interface 2004. Optionally, a storage device, such as a hard disk, can also be connected through the interface 2004, so that data in the electronic device 2000 can be stored in the storage device, or data in the storage device can be read, and data in the storage device can also be stored in the memory 2002. It can be understood that the input / output interface 2004 can be a wired interface or a wireless interface. Depending on the actual application scenario, the device connected to the input / output interface 2004 can be a component of the electronic device 2000, or it can be an external device connected to the electronic device 2000 when needed.
[0210] The bus 2005 for connecting the components may include a path to transmit information between the above components. The bus 2005 may be a PCI (Peripheral Component Interconnect) bus or an EISA (Extended Industry Standard Architecture) bus, etc. According to different functions, the bus 2005 may be divided into an address bus, a data bus, a control bus, etc.
[0211] Optionally, for the solution provided by the embodiment of the present invention, the memory 2002 can be used to store a computer program for executing the solution of the present invention, and run by the processor 2001. When the processor 2001 runs the computer program, the action of the method or device provided by the embodiment of the present invention is implemented.
[0212] Based on the same principle as the method provided in the embodiment of the present application, the embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the corresponding content of the aforementioned method embodiment can be implemented.
[0213] An embodiment of the present application also provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the corresponding content of the aforementioned method embodiment can be implemented.
[0214] It should be noted that the terms "first", "second", "third", "fourth", "1", "2", etc. (if any) in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchangeable where appropriate, so that the embodiments of the application described herein can be implemented in an order other than that shown or described in the drawings.
[0215] It should be understood that, although each operation step is indicated by arrows in the flowchart of the embodiment of the present application, the implementation order of these steps is not limited to the order indicated by the arrows. Unless clearly stated herein, in some implementation scenarios of the embodiment of the present application, the implementation steps in each flowchart can be performed in other orders according to demand. In addition, some or all of the steps in each flowchart may include multiple sub-steps or multiple stages based on actual implementation scenarios. Some or all of these sub-steps or stages may be executed at the same time, and each sub-step or stage in these sub-steps or stages may also be executed at different times respectively. In different scenarios of execution time, the execution order of these sub-steps or stages may be flexibly configured according to demand, and the embodiment of the present application does not limit this.
[0216] The above is only an optional implementation method for some implementation scenarios of the present application. It should be pointed out that for ordinary technicians in this technical field, without departing from the technical concept of the solution of the present application, other similar implementation methods based on the technical ideas of the present application are also within the protection scope of the embodiments of the present application.
Claims
1. A data processing method, characterized in that: The method is performed by a first terminal, and includes: In response to a cross-application forwarding operation of the target object on at least one target information in a client of the first application, a cross-application forwarding request is sent to the first server; the cross-application forwarding request includes first indication information of the at least one target information, the first indication information identifies terminal display information of the target information, the first server is a server of the first application, and the target receiving object of the cross-application forwarding operation is at least one object in the second application; receiving first ciphertext information returned by the first server, where the first ciphertext information is obtained by encrypting first indication information of the at least one piece of target information; The first ciphertext information is transmitted to the client of the second application, so that the first ciphertext information is sent to the second server through the client of the second application, so that the second server performs the following operations: Based on the first ciphertext information, terminal display information of the at least one target information is obtained from the first server, and the terminal display information of the at least one target information is sent to the second terminal of the target recipient for display, wherein the second server is a server of the second application.
2. The method according to claim 1, characterized in that The acquiring, from the first server, the terminal display information of the at least one piece of target information based on the first ciphertext information includes: Based on the first ciphertext information, sending an information decryption request to the first server, so that the first server obtains first information corresponding to the at least one target information by decrypting the first ciphertext information; the first information includes terminal display information of the at least one target information; Receive the first information returned by the first server.
3. The method according to claim 1, characterized in that The second server includes a fourth server and a fifth server; The sending, by the client of the second application, the first ciphertext information to the second server, includes: Sending the first ciphertext information to the fourth server through the client of the second application; The acquiring, based on the first ciphertext information, the terminal display information of the at least one target information from the first server, and sending the terminal display information of the at least one target information to the second terminal of the target receiving object for display, comprises: The fourth server obtains the terminal display information of the at least one target information from the first server based on the first ciphertext information; The fourth server sends the terminal display information of the at least one target information to the fifth server through the client of the second application of the first terminal, so that the fifth server sends the terminal display information of the at least one target information to the second terminal of the target receiving object for display.
4. The method according to claim 2, characterized in that: The first ciphertext information corresponding to the at least one piece of target information is obtained by encrypting the first indication information of the at least one piece of target information and the information index of the at least one piece of target information by the first server; The information index is used to obtain the target information from the third server when an information acquisition request for any target information is obtained, and provide it to the requesting end; The information index of the at least one piece of target information is obtained by the first server in the following manner: In response to the cross-application forwarding request, sending the at least one piece of target information to the third server for storage, and receiving a third index of each piece of target information in the at least one piece of target information returned by the third server, the third index being an information index of the target information; The first information corresponding to the at least one piece of target information also includes an information index of the at least one piece of target information.
5. The method according to claim 4, characterized in that For any target information, the information type of the target information is the first type or the second type, the terminal display information corresponding to the target information of the first type is the target information, and the terminal display information corresponding to the target information of the second type is the prompt information of the target information; The sending the at least one piece of target information to the third server for storage, and receiving a third index of each piece of target information in the at least one piece of target information returned by the third server, comprises: If the at least one target information includes target information of the second type, the target information of the second type is sent to the third server for storage, and the third index of the target information of the second type returned by the third server is received; wherein the first ciphertext information is obtained by encrypting the first indication information of the at least one target information and the information index of the target information of the second type in the at least one target information.
6. The method according to claim 5, characterized in that If the at least one piece of target information includes target information of the second type, and the target information of the second type includes local information, the method further includes: In response to the cross-application forwarding operation, storing the local information in a local shared storage space of the first application and the second application, and generating a local index of the local information; The cross-application forwarding request also includes a local index of local information in the at least one piece of target information, and the first ciphertext information is obtained by encrypting the first indication information of the at least one piece of target information, the local index of local information in the at least one piece of target information, and the information index of the second type of target information in the at least one piece of target information; The method further comprises: Receiving the first information returned by the second server through the client of the second application, and displaying the terminal display information of the at least one target information in the client of the second application; For any target information of the second type in the at least one target information, in response to the information acquisition operation of the target object on the target information in the client of the second application, if the first information includes a local index of the target information, the target information is read from the local shared storage space according to the local index; if the first information does not include a local index of the target information, an information acquisition request is sent to the third server according to the third index of the target information in the first information, and the target information returned by the third server is received.
7. The method according to claim 6, characterized in that The method further comprises: Determine an operating system type of the first terminal, where the operating system type is a first type or a second type; The storing the local information into a local shared storage space of the first application and the second application includes: If the operating system type of the first terminal is the first type, the local information is stored in a local shared storage space of the first application and the second application.
8. The method according to claim 1, characterized in that The sending the terminal display information of the at least one target information to the second terminal of the target receiving object for display includes: Determine the information format of the terminal display information of each target information in the at least one target information; For each target information in the at least one target information, if the information format of the terminal display information of the target information does not belong to the target format set, format conversion is performed on the terminal display information of the target information, and the terminal display information after format conversion is sent to the second terminal of the target receiving object for display; wherein the target format set is a set of information formats supported by the second application; If the information format of the terminal display information of the target information belongs to the target format set, the terminal display information of the target information is sent to the second terminal of the target receiving object for display.
9. A data processing system, characterized in that: The data processing system includes a first terminal, at least one second terminal, a first server and a second server, wherein: The first terminal is used to send a cross-application forwarding request to the first server when receiving a cross-application forwarding operation of the target object for at least one target information in the client of the first application; the cross-application forwarding request includes first indication information of the at least one target information, the first indication information identifies the terminal display information of the target information, the first server is the server of the first application, and the target receiving object of the cross-application forwarding operation is at least one object in the second application; it is also used to receive the first ciphertext information and transmit the first ciphertext information to the client of the second application; it is also used to send the first ciphertext information to the second server through the client of the second application, and the second server is the server of the second application; The first server is configured to encrypt the first indication information of the at least one piece of target information based on the cross-application forwarding request to obtain first ciphertext information, and return the first ciphertext information to the first terminal; The second server is used to obtain the terminal display information of the at least one target information from the first server based on the first ciphertext information; and is also used to send the terminal display information of the at least one target information to a second terminal of the target receiving object; The second terminal is used to display the at least one target information according to the received terminal display information.
10. A data processing method, characterized in that: The method is executed by a first server, where the first server is a server of a first application, and the method includes: receiving a cross-application forwarding request sent by a first terminal through a client of the first application; the cross-application forwarding request is sent when the first terminal receives a cross-application forwarding operation of a target object on at least one target information in the client of the first application, the cross-application forwarding request includes first indication information of the at least one target information, the first indication information identifies terminal display information of the target information, and the target receiving object of the cross-application forwarding operation is at least one object in the second application; Based on the cross-application forwarding request, encrypt the first indication information of the at least one target information to obtain first ciphertext information, and send the first ciphertext information to the first terminal; receiving an information decryption request sent by a second server; the information decryption request is sent when the second server receives first ciphertext information sent by the first terminal through the client of the second application, the first ciphertext information is transmitted by the client of the first application in the first terminal to the client of the second application, and the second server is a server of the second application; The first ciphertext information is decrypted, and the first information obtained after decryption is sent to the second server; so that the second server sends the first information to the second terminal of the target receiving object for display, and the first information includes the terminal display information of the at least one target information.
11. A data processing device, characterized in that: The device is deployed in a first terminal and includes: a request module, configured to send a cross-application forwarding request to a first server in response to a cross-application forwarding operation of a target object on at least one target information in a client of a first application; the cross-application forwarding request includes first indication information of the at least one target information, the first indication information identifies terminal display information of the target information, the first server is a server of the first application, and the target receiving object of the cross-application forwarding operation is at least one object in a second application; A ciphertext receiving module, configured to receive first ciphertext information returned by the first server, where the first ciphertext information is obtained by encrypting first indication information of the at least one piece of target information; A ciphertext sending module is used to pass the first ciphertext information to the client of the second application, so as to send the first ciphertext information to the second server through the client of the second application, so that the second server performs the following operations: based on the first ciphertext information, obtain the terminal display information of the at least one target information from the first server, and send the terminal display information of the at least one target information to the second terminal of the target receiving object for display, wherein the second server is the server of the second application.
12. A data processing device, characterized in that: The device is deployed in a first server and includes: a forwarding request receiving module, configured to receive a cross-application forwarding request sent by a first terminal through a client of the first application; the cross-application forwarding request is sent when the first terminal receives a cross-application forwarding operation of a target object in the client of the first application for at least one target information, the cross-application forwarding request includes first indication information of the at least one target information, the first indication information identifies terminal display information of the target information, and the target receiving object of the cross-application forwarding operation is at least one object in the second application; an encryption and sending module, configured to encrypt the first indication information of the at least one target information based on the cross-application forwarding request, obtain first ciphertext information, and send the first ciphertext information to the first terminal; a decryption request receiving module, configured to receive an information decryption request sent by a second server; the information decryption request is sent when the second server receives first ciphertext information sent by the first terminal through the client of the second application, the first ciphertext information is transmitted by the client of the first application in the first terminal to the client of the second application, and the second server is a server of the second application; A decryption and sending module is used to decrypt the first ciphertext information and send the first information obtained after decryption to the second server; so that the second server sends the first information to the second terminal of the target receiving object for display, and the first information includes the terminal display information of the at least one target information.
13. An electronic device, characterized in that: The electronic device comprises a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the method according to any one of claims 1 to 8 or claim 10.
14. A computer-readable storage medium, characterized in that: The storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 8 or claim 10 is implemented.