CN114125017A - Method and device for displaying media information, storage medium and electronic equipment - Google Patents

Method and device for displaying media information, storage medium and electronic equipment Download PDF

Info

Publication number
CN114125017A
CN114125017A CN202010797838.3A CN202010797838A CN114125017A CN 114125017 A CN114125017 A CN 114125017A CN 202010797838 A CN202010797838 A CN 202010797838A CN 114125017 A CN114125017 A CN 114125017A
Authority
CN
China
Prior art keywords
application
media information
started
information
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010797838.3A
Other languages
Chinese (zh)
Other versions
CN114125017B (en
Inventor
黄铁鸣
李斌
卢正坤
李平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010797838.3A priority Critical patent/CN114125017B/en
Publication of CN114125017A publication Critical patent/CN114125017A/en
Application granted granted Critical
Publication of CN114125017B publication Critical patent/CN114125017B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • H04L63/0435Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload wherein the sending and receiving network entities apply symmetric encryption, i.e. same key used for encryption and decryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • H04L69/162Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields involving adaptations of sockets based mechanisms

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Multimedia (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method and a device for displaying media information, a storage medium and electronic equipment. Wherein, the method comprises the following steps: the method comprises the steps of displaying first link information of first media information in a first application on a terminal, sending a first link address from the first application to a second application through first target connection under the condition that first interaction operation executed on the first link information is acquired in the first application, acquiring the first media information according to the first link address in the second application, and displaying the acquired first media information in the second application. The invention solves the technical problems of complex interaction mode and low efficiency in the process of acquiring the media information in the related technology.

Description

Method and device for displaying media information, storage medium and electronic equipment
Technical Field
The invention relates to the field of computers, in particular to a method and a device for displaying media information, a storage medium and electronic equipment.
Background
In the related art, monitoring that a related link is triggered on a terminal and acquiring corresponding media information is generally implemented by, for example, a url scheme, taking a link indicating to send a mail as an example, a browser monitors that the link is clicked, analyzes that the link points to a mailbox, and calls a system api to send the mail, specifically, a system finds a path of a plurality of applications capable of sending the mail by querying a system registry and displays an application list including the applications, after a user selects an application, the system starts the application and sends required data to the application, while in the related art, system level parameters need to be configured in advance, for example, an association relationship between an application program and a link attribute is configured in the system registry, and in addition, the user needs to perform operations for a plurality of times in using the related art, the link is opened to acquire corresponding media information, and when the media information is called for link opening in the related art, the media information is generally uniformly displayed for the application programs with the same connection configuration corresponding to the same type of media information, and it is difficult to configure different application programs for displaying the media information corresponding to the link for different applications.
Finally, there is also a problem that some applications in the application list cannot be started in some terminals during the use of the url scheme.
Therefore, the related art has a technical problem of low efficiency in acquiring media information.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a display method and device of media information, a storage medium and electronic equipment, which are used for at least solving the technical problem of low efficiency in the process of acquiring the media information in the related art.
According to an aspect of an embodiment of the present invention, there is provided a method for displaying media information, including:
displaying first link information of first media information in a first application on a terminal, wherein the first media information is media information which is allowed to be opened and displayed in a second application on the terminal, and the first link information comprises a first link address used for acquiring the first media information;
under the condition that first interaction operation executed on the first link information is acquired in the first application, sending the first link address from the first application to the second application through a first target connection, wherein the first target connection is a connection established between the started first application and the started second application after the first application is started, and the first target connection is used for sending data from the first application to the second application;
and acquiring the first media information in the second application according to the first link address, and displaying the acquired first media information in the second application.
Optionally, before displaying the first link information of the first media information in the first application on the terminal, the method further includes:
starting the second application on the terminal under the condition that the first application is started on the terminal and the second application is not started;
establishing the first target connection between the first application and the second application.
Before displaying the first link information of the first media information in the first application on the terminal, the method further includes:
sending a first authorization code from the first application to the second application through the first target connection under the condition that the first target connection is established between the started first application and the started second application, wherein the first authorization code is an authorization code acquired by the first application from a target server, and the target server is a server of the first application;
sending the first authorization code to the target server in the second application, wherein the target server stores the first authorization code and a first decryption key having a corresponding relationship;
and acquiring the first decryption key which is sent by the target server and has a corresponding relation with the first authorization code in the second application.
Optionally, the sending the first link address from the first application to the second application through the first target connection includes:
the first encrypted information is sent from the first application to the second application through the first target connection, where the first encrypted information is obtained by encrypting the first link address using a first encryption key, the first encryption key and the first decryption key are a key pair, and the first encryption key is an encryption key acquired by the first application from the target server.
Optionally, before displaying the first link information of the first media information in the first application on the terminal, the method further includes:
the method includes acquiring, in the first application, the first authorization code and a first encryption key sent by the target server under the condition that the first application is started on the terminal, where the first application is registered by a first account, the first encryption key and the first decryption key are a key pair, the first authorization code is an authorization code allocated to the first account, the first encryption key and the first decryption key are keys allocated to the first account, and the target server is configured to allocate different authorization codes, encryption keys, and decryption keys to different accounts in the first application.
Optionally, before displaying the first link information of the first media information in the first application on the terminal, the method further includes:
establishing a first pipe connection between the started first application and the started second application, wherein the first target connection comprises the first pipe connection, and the first pipe connection is used for transmitting data between a first process of the first application and a second process of the second application; or
And establishing a first socket connection between the started first application and the started second application, wherein the first target connection comprises the first socket connection, and the first socket connection is used for transmitting data between a first process of the first application and a second process of the second application.
Optionally, the method further comprises:
displaying second link information of second media information in the second application, wherein the second media information is media information which is allowed to be opened and displayed in the first application, and the second link information comprises a second link address used for acquiring the second media information;
sending the second link address from the second application to the first application through a second target connection when a second interactive operation executed on the second link information is acquired in the second application, wherein the second target connection is a connection established between the started first application and the started second application after the second application is started, and the second target connection is used for sending data from the second application to the first application;
and acquiring the second media information in the first application according to the second link address, and displaying the acquired second media information in the first application.
Optionally, before displaying the second link information of the second media information in the first application, the method further includes:
starting the second application on the terminal under the condition that the first application is started on the terminal and the second application is not started; establishing the second target connection between the first application and the second application; or
Starting the first application on the terminal under the condition that the second application is started on the terminal and the first application is not started; establishing the second target connection between the first application and the second application.
Optionally, before displaying the second link information of the second media information in the second application, the method further includes:
sending a second authorization code from the second application to the first application through the second target connection under the condition that the second target connection is established between the started first application and the started second application, wherein the second authorization code is an authorization code acquired by the second application from a target server, and the target server is a server of the second application;
sending the second authorization code to the target server in the first application, wherein the target server stores the second authorization code and a second decryption key having a corresponding relationship;
and acquiring the second decryption key which is sent by the target server and has a corresponding relation with the second authorization code in the first application.
Optionally, the sending a second authorization code from the second application to the first application through the second target connection includes: and sending second encryption information from the second application to the first application through a second target connection, where the second encryption information is obtained by encrypting the second link address using a second encryption key, the second encryption key and the second decryption key are a key pair, and the second encryption key is an encryption key acquired by the second application from the target server.
According to another aspect of the embodiments of the present invention, there is also provided a display device of media information, including:
the terminal comprises a display module, a first link module and a second link module, wherein the display module is used for displaying first link information of first media information in a first application on the terminal, the first media information is media information which is allowed to be opened and displayed in a second application on the terminal, and the first link information comprises a first link address used for acquiring the first media information;
a sending module, configured to send the first link address from the first application to the second application through a first target connection when a first interaction operation performed on the first link information is acquired in the first application, where the first target connection is a connection established between the started first application and the started second application after the first application is started, and the first target connection is used to send data from the first application to the second application;
and the processing module is used for acquiring the first media information in the second application according to the first link address and displaying the acquired first media information in the second application.
Optionally, the apparatus is further configured to: before first link information of first media information is displayed in a first application on a terminal, starting a second application on the terminal under the condition that the first application is started on the terminal and the second application is not started; establishing the first target connection between the first application and the second application.
Optionally, the apparatus is further configured to:
before first link information of first media information is displayed in a first application on a terminal, under the condition that a first target connection is established between the started first application and the started second application, sending a first authorization code from the first application to the second application through the first target connection, wherein the first authorization code is an authorization code acquired by the first application from a target server, and the target server is a server of the first application; sending the first authorization code to the target server in the second application, wherein the target server stores the first authorization code and a first decryption key having a corresponding relationship; and acquiring the first decryption key which is sent by the target server and has a corresponding relation with the first authorization code in the second application.
Optionally, the sending module includes:
a sending unit, configured to send first encryption information from the first application to the second application through a first target connection, where the first encryption information is obtained by encrypting the first link address using a first encryption key, the first encryption key and the first decryption key are a key pair, and the first encryption key is an encryption key obtained by the first application from the target server.
Optionally, the apparatus is further configured to:
before first link information of first media information is displayed in a first application on a terminal, under the condition that the first application is started on the terminal, the first authorization code and a first encryption key sent by a target server are obtained in the first application, wherein the first application is logged in by a first account, the first encryption key and the first decryption key are a key pair, the first authorization code is an authorization code distributed for the first account, the first encryption key and the first decryption key are keys distributed for the first account, and the target server is used for distributing different authorization codes, encryption keys and decryption keys for different accounts in the first application.
Optionally, the apparatus is further configured to:
before displaying first link information of first media information in a first application on a terminal, establishing a first pipeline connection between the started first application and the started second application, wherein the first target connection comprises the first pipeline connection, and the first pipeline connection is used for transmitting data between a first process of the first application and a second process of the second application; or
And establishing a first socket connection between the started first application and the started second application, wherein the first target connection comprises the first socket connection, and the first socket connection is used for transmitting data between a first process of the first application and a second process of the second application.
Optionally, the apparatus is further configured to:
displaying second link information of second media information in the second application, wherein the second media information is media information which is allowed to be opened and displayed in the first application, and the second link information comprises a second link address used for acquiring the second media information;
sending the second link address from the second application to the first application through a second target connection when a second interactive operation executed on the second link information is acquired in the second application, wherein the second target connection is a connection established between the started first application and the started second application after the second application is started, and the second target connection is used for sending data from the second application to the first application;
and acquiring the second media information in the first application according to the second link address, and displaying the acquired second media information in the first application.
Optionally, the apparatus is further configured to:
before second link information of second media information is displayed in the first application, starting the second application on the terminal under the condition that the first application is started on the terminal and the second application is not started; establishing the second target connection between the first application and the second application; or
Starting the first application on the terminal under the condition that the second application is started on the terminal and the first application is not started; establishing the second target connection between the first application and the second application.
Optionally, the apparatus is further configured to:
before second link information of second media information is displayed in the second application, sending a second authorization code from the second application to the first application through the second target connection under the condition that the second target connection is established between the started first application and the started second application, wherein the second authorization code is an authorization code acquired by the second application from a target server, and the target server is a server of the second application;
sending the second authorization code to the target server in the first application, wherein the target server stores the second authorization code and a second decryption key having a corresponding relationship;
and acquiring the second decryption key which is sent by the target server and has a corresponding relation with the second authorization code in the first application.
Optionally, the apparatus is further configured to send a second authorization code from the second application to the first application over the second target connection by: and sending second encryption information from the second application to the first application through a second target connection, where the second encryption information is obtained by encrypting the second link address using a second encryption key, the second encryption key and the second decryption key are a key pair, and the second encryption key is an encryption key acquired by the second application from the target server.
According to still another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned media information display method when running.
According to still another aspect of the embodiments of the present invention, there is also provided an electronic device, including a memory and a processor, where the memory stores therein a computer program, and the processor is configured to execute the above-mentioned method for displaying media information by the computer program.
In the embodiment of the present invention, first link information for displaying first media information in a first application on a terminal is used, in the case where a first interactive operation performed on the first link information is acquired in the first application, the first link address is transmitted from the first application to the second application through the first target connection, a mode of acquiring the first media information according to the first link address in the second application and displaying the acquired first media information in the second application, by pre-establishing the target connection of the first application and the second application, the aim of quickly and efficiently acquiring the media information is fulfilled, thereby realizing the technical effects of simplifying the mode of acquiring the media information, improving the efficiency of acquiring the media information and ensuring the safety of the process of acquiring the media information, and the technical problems of complex interaction mode and low efficiency in the process of acquiring the media information in the related technology are solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a schematic diagram of an application environment of an alternative media information display method according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating an alternative media information display method according to an embodiment of the invention;
FIG. 3 is a schematic diagram of an alternative method of displaying media information according to an embodiment of the invention;
FIG. 4 is a schematic diagram of an alternative method of displaying media information according to an embodiment of the invention;
FIG. 5 is a flow chart illustrating an alternative method of displaying media information according to an embodiment of the invention;
FIG. 6 is a diagram illustrating an alternative method of displaying media information according to an embodiment of the invention;
FIG. 7 is a flow chart illustrating a further alternative method for displaying media information according to an embodiment of the present invention;
FIG. 8 is a schematic structural diagram of an alternative media information display device according to an embodiment of the invention;
FIG. 9 is a schematic structural diagram of an alternative media information display device according to an embodiment of the invention;
fig. 10 is a schematic structural diagram of an alternative electronic device according to an embodiment of the invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The invention is illustrated below with reference to examples:
according to an aspect of the embodiment of the present invention, a method for displaying media information is provided, and optionally, in this embodiment, the method for displaying media information may be applied to a hardware environment formed by a server 101 and a user terminal 103 as shown in fig. 1. As shown in fig. 1, a server 101 is connected to a terminal 103 through a network, and may be configured to provide a service to a user terminal or a client installed on the user terminal, where the client may be a video client, an instant messaging client, a browser client, an education client, a game client, or the like. The database 105 may be provided on or separate from the server for providing data storage services for the server 101, such as game data storage servers, audio data storage servers, and the like, and the network may include, but is not limited to: a wired network, a wireless network, wherein the wired network comprises: a local area network, a metropolitan area network, and a wide area network, the wireless network comprising: bluetooth, WIFI, and other wireless communication enabled networks, the user terminal 103 may be a terminal configured with a media information application, an instant messaging application, and may include but is not limited to at least one of the following: a Mobile phone (such as an Android Mobile phone, an iOS Mobile phone, etc.), a notebook computer, a tablet computer, a palmtop computer, an MID (Mobile Internet Devices ), a PAD, a desktop computer, a smart television, etc., where the server may be a single server, or a server cluster consisting of a plurality of servers, or a cloud server, and may include but not limited to a router or a gateway, the first application 107 using the display method of the media information is displayed through a user terminal 103, the first media information 109 is displayed in the first application 107 through an entry of the first application 107 configured on the terminal for displaying the media information, and the first link information 111 is displayed in the first media information, the first application obtains a first interactive operation performed on the first link information 111, and the first interactive operation may respond in the second application 113, the first application 107 is connected to the server 101 through a network, and the first application 107 and the second application 113 may be configured as a web page, an applet, and an app (application) to display the first media information and execute a display method of the media information. The above is merely an example, and this is not limited in this embodiment.
Optionally, as an optional implementation manner, as shown in fig. 2, the method for displaying media information includes:
s202, displaying first link information of first media information in a first application on the terminal, wherein the first media information is media information which is allowed to be opened and displayed in a second application on the terminal, and the first link information comprises a first link address used for acquiring the first media information;
s204, under the condition that first interaction operation executed on first link information is acquired in a first application, a first link address is sent to a second application from the first application through a first target connection, wherein the first target connection is a connection established between the started first application and the started second application after the first application is started, and the first target connection is used for sending data from the first application to the second application;
s206, acquiring the first media information in the second application according to the first link address, and displaying the acquired first media information in the second application.
Optionally, in this embodiment, the terminal may include, but is not limited to, a terminal configured with a media information application and an instant messaging application, and may include, but is not limited to, at least one of the following: a Mobile phone (such as an Android Mobile phone, an iOS Mobile phone, etc.), a notebook computer, a tablet computer, a palm computer, an MID (Mobile Internet Devices), a PAD, a desktop computer, a smart television, and other computer Devices.
Optionally, in this embodiment, the first application and the second application may include, but are not limited to, a media information application, an instant messaging application, and the like.
Optionally, in this embodiment, the first media information may include, but is not limited to, a document, a video, an audio, an application program, a web page, and the like, and the first link information may include, but is not limited to, a link address or a link address displayed in a media information form, for example, a link address displayed in a picture form, and the like.
Optionally, in this embodiment, the first application is an instant messaging application, the second application is a media information application, and the media information is document information, which is taken as an example to further describe the embodiment.
As shown in fig. 3, the process includes the following steps:
s302, establishing a connection pipeline (corresponding to the first target connection) between the first application and the second application;
s304, the user clicks a document link (corresponding to the first link information), and sends data through the pipeline: opening a document;
s306, returning data: the opening is successful and the document (corresponding to the first media information) is opened at the second application.
Optionally, in this embodiment, the sending of the first link address from the first application to the second application through the first target connection may be based on a form of a data packet, where the form of the data packet may include, but is not limited to, html, protobuffer, json, xml, and the like, and the data packet may include, but is not limited to, a binary data packet, and the responding to the first link information is implemented by defining a packet header format and a packet body format.
For example, without limitation, the packet header may be configured to include the length of the packet body, whether the packet body is encrypted, the unencrypted field of the partition line, the packet body configured as json text, encrypted or unencrypted, and command characters may be added to the data packet to indicate the purpose of the data packet, e.g., openDoc (stands for open document).
Optionally, in this embodiment, the method for displaying media information may include, but is not limited to, being applied to an application scenario in which the first application is an instant messaging application, the second application is a media information application, and the media information is document information, and fig. 4 is a schematic diagram of an optional method for displaying media information according to an embodiment of the present invention, as shown in fig. 4, by acquiring the first link information 402 in a display interface 406 in the first application, and performing a corresponding interaction operation (click), and by responding to the interaction operation, displaying content of the first media information 404 corresponding to the first link information in a display interface 408 of the second application.
Optionally, in this embodiment, in the process of displaying the document information through, for example, a url scheme, an application program associated with the document information in the opening process needs to be configured as the second application, which needs to modify system level configuration parameters in advance to implement the above function, and in this implementation, by establishing a first target connection in the first application and the second application in advance, the first link address may be directly sent to the second application through the first target connection, and the second application acquires the media information according to the first link address, without changing the system level configuration parameters, which can achieve the technical effect of protecting the security of the system and the link.
Optionally, in this embodiment, in the process of displaying the document information through, for example, a url scheme, it is further necessary that after the user clicks the link, the user manually selects the application program associated with the link, which requires the user to perform multiple operations to implement the above function, and in this embodiment, by establishing the first target connection in the first application and the second application in advance, the first link address may be directly sent to the second application through the first target connection, the second application obtains the media information according to the first link address, and determines the type of the second application according to the type of the link address, so that the user does not need to specifically select the application program corresponding to the type of the link information, thereby avoiding repeated operations by the user, and achieving a technical effect of improving efficiency of displaying the media information.
Optionally, in this embodiment, in the process of displaying the document information through, for example, a url scheme, after the user selects an application program associated with a link, by changing the system registry, when media information corresponding to the link is displayed, wherever the first link address is obtained, the same application program pre-configured to have an association relationship is started for display, but in this embodiment, by establishing a first target connection in the first application and the second application in advance, the first link address may be directly sent to the second application through the first target connection, the second application obtains the media information according to the first link address, the type of the second application is determined according to the type of the link address, it may be implemented that the association program configuring the media information in the first application is the second application, and the global configuration of the system does not need to be changed, different other applications can be called for different applications when media information is opened, and the technical effect of optimizing the use experience of a user is achieved.
Optionally, in this embodiment, since the first target connection is already established after the first application is started, the speed of displaying the media information can be effectively increased, and the efficiency of displaying the media information is improved. Under the condition of starting the first application, pulling the second application in a form including but not limited to triggering, and placing the second application in a background, and may also include but not limited to pre-starting the second application, so that the second application program meets the establishment of the first target connection.
The above is merely an example, and the present embodiment is not particularly limited.
With the present embodiment, first link information for displaying first media information in a first application on a terminal is employed, in the case where a first interactive operation performed on the first link information is acquired in the first application, the first link address is transmitted from the first application to the second application through the first target connection, a mode of acquiring the first media information according to the first link address in the second application and displaying the acquired first media information in the second application, by pre-establishing the target connection of the first application and the second application, the aim of quickly and efficiently acquiring the media information is fulfilled, thereby realizing the technical effects of simplifying the mode of acquiring the media information, improving the efficiency of acquiring the media information and ensuring the safety of the process of acquiring the media information, and the technical problems of complex interaction mode and low efficiency in the process of acquiring the media information in the related technology are solved.
In an optional embodiment, before displaying the first link information of the first media information in the first application on the terminal, the method further comprises: starting a second application on the terminal under the condition that the first application is started on the terminal and the second application is not started; a first target connection is established between a first application and a second application.
Optionally, in this embodiment, the first application and the second application may include, but are not limited to, associated start, that is, after the first application is started, the second application is automatically started, the associated start may be implemented in a preconfigured manner, the second application may be set as one or more second applications according to different media information types, and the specific situation may be adjusted according to the fact.
Optionally, in this embodiment, after both the first application and the second application are in the start state, a target connection for data transmission is established between the first application and the second application.
Optionally, in this embodiment, the starting of the second application on the terminal may be triggered by the first application, for example, when it is detected that the first application has been started, the starting of the second application is automatically indicated by a trigger signaling.
Through the embodiment, the first target connection between the first application and the second application can be automatically established, and then the first media information corresponding to the first link information can be automatically displayed in the second application according to the first link information acquired in the first application, so that the aim of quickly and efficiently acquiring the media information is fulfilled, the mode of acquiring the media information is simplified, and the technical effect of improving the efficiency of acquiring the media information is improved.
In an optional embodiment, before displaying the first link information of the first media information in the first application on the terminal, the method further includes: under the condition that first target connection is established between a started first application and a started second application, sending a first authorization code from the first application to the second application through the first target connection, wherein the first authorization code is an authorization code acquired by the first application from a target server, and the target server is a server of the first application; sending the first authorization code to a target server in the second application, wherein the target server stores the first authorization code and the first decryption key which have a corresponding relationship; and acquiring a first decryption key which is sent by the target server and has a corresponding relation with the first authorization code in the second application.
Optionally, in this embodiment, the first authorization code may include, but is not limited to, a random authorization code generated by the target server, the first authorization code may be, but is not limited to, a time-efficient authorization code, and the first authorization code may be in a one-to-one correspondence with an account for logging in the first application, and may be in a one-to-one correspondence with a terminal where the first application is located.
Optionally, in this embodiment, the first authorization code corresponds to the first decryption private key, a correspondence between the first authorization code and the first decryption private key is stored in a target server, and the target server may include, but is not limited to, a cloud server and the like.
Through the embodiment, the safety of data communication of the first target connection can be ensured, and the technical effect of protecting the media information safety is achieved.
In an alternative embodiment, sending the first link address from the first application to the second application over the first target connection comprises: and sending first encryption information from the first application to the second application through the first target connection, wherein the first encryption information is obtained by encrypting the first link address by using a first encryption key, the first encryption key and the first decryption key are a key pair, and the first encryption key is an encryption key acquired by the first application from the target server.
Optionally, in this embodiment, the first encryption private key and the first decryption private key are stored in the target server and both correspond to the first authorization code.
Optionally, in this embodiment, a plurality of ways may be used for encryption, for example, a way of AES 256ECB symmetric encryption.
Through this embodiment, can realize the quick encryption to first chaining address to can reach the technological effect that the security of encryption information is high.
In an optional embodiment, before displaying the first link information of the first media information in the first application on the terminal, the method further comprises:
the method comprises the steps that under the condition that a first application is started on a terminal, a first authorization code and a first encryption key sent by a target server are obtained in the first application, wherein the first application is registered by a first account, the first encryption key and a first decryption key are a key pair, the first authorization code is an authorization code distributed for the first account, the first encryption key and the first decryption key are keys distributed for the first account, and the target server is used for distributing different authorization codes, encryption keys and decryption keys for different accounts in the first application.
Optionally, in this embodiment, the first account may include, but is not limited to, an account capable of logging in the first application and the second application at the same time, and may also include, but is not limited to, an account capable of logging in the first application or the second application, and may be configured according to actual needs, and this embodiment is not limited in particular.
Optionally, in this embodiment, the first encryption private key and the first decryption private key correspond to the first authorization code, and the first authorization code corresponds to the first account, but not limited to allocating the first encryption private key and the first decryption private key to the first account according to the first authorization code.
Through the embodiment, the encryption private key and the decryption private key are jointly associated with the first account, so that a user can log in the first application and/or the second application through the first account at any terminal to use the media information display method.
In an optional embodiment, before displaying the first link information of the first media information in the first application on the terminal, the method further comprises: establishing a first pipe connection between the started first application and the started second application, wherein the first target connection comprises a first pipe connection which is used for transmitting data between a first process of the first application and a second process of the second application; or establishing a first socket connection between the started first application and the started second application, wherein the first target connection comprises a first socket connection, and the first socket connection is used for transmitting data between a first process of the first application and a second process of the second application.
Optionally, in this embodiment, the first target poor may include, but is not limited to, inter-process communication connections, such as file mapping, shared memory, mail slot, sticky board, socket, url scheme, named pipe, WM _ copy data, and the like.
The above is only an example, and the type of the specific target connection may include one or a combination of more of the above, and may also include using different inter-process communication connection manners based on different application types.
In an alternative embodiment, fig. 5 is a schematic flowchart of a method for displaying alternative media information according to an embodiment of the present invention, and as shown in fig. 5, the method further includes the following steps:
s502, displaying second link information of second media information in a second application, wherein the second media information is media information which is allowed to be opened and displayed in the first application, and the second link information comprises a second link address used for acquiring the second media information;
s504, under the condition that a second interactive operation executed on second link information is acquired in a second application, a second link address is sent to the first application from the second application through a second target connection, wherein the second target connection is a connection established between the started first application and the started second application after the second application is started, and the second target connection is used for sending data from the second application to the first application;
s506, second media information is obtained in the first application according to the second link address, and the obtained second media information is displayed in the first application.
Optionally, in this embodiment, the second connection information of the media information may be displayed in the second application, and when the second interaction operation performed on the second link information is acquired in the second application, the second link address is sent from the second application to the first application through the second target connection, the second media information is acquired in the first application according to the second link address, and the acquired second media information is displayed in the first application.
Optionally, taking the above-mentioned first application as an instant messaging application, the second application as a media information application, and the second media information as a chat record as an example, the method may be as shown in fig. 6, and include the following steps:
s602, establishing a connection pipe (corresponding to the first target connection) between the first application and the second application;
s604, the user clicks the call record (corresponding to the second link information), and sends data through the pipe: opening a call record;
s606, returning data: the opening is successful and a call record (corresponding to the second media information) is opened at the first application.
By the embodiment, the intercommunication between the first application and the second application can be realized, the type of the first target connection can be the same as or different from that of the second target connection, and further, the intercommunication of the media information between the first application and the second application is quickly, safely and effectively realized.
In an optional embodiment, before displaying the second link information of the second media information in the first application, the method further comprises: starting a second application on the terminal under the condition that the first application is started on the terminal and the second application is not started; establishing a second target connection between the first application and the second application; or starting the first application on the terminal under the condition that the second application is started on the terminal and the first application is not started; a second target connection is established between the first application and the second application.
In an optional embodiment, before displaying the second link information of the second media information in the second application, the method further comprises: under the condition that second target connection is established between the started first application and the started second application, sending a second authorization code from the second application to the first application through the second target connection, wherein the second authorization code is an authorization code acquired by the second application from a target server, and the target server is a server of the second application; sending the second authorization code to a target server in the first application, wherein the target server stores the second authorization code and the second decryption key which have a corresponding relationship; and acquiring a second decryption key which is sent by the target server and has a corresponding relation with the second authorization code in the first application.
In an alternative embodiment, sending the second authorization code from the second application to the first application over the second target connection includes: and sending second encryption information from the second application to the first application through a second target connection, wherein the second encryption information is obtained by encrypting the second link address by using a second encryption key, the second encryption key and the second decryption key are a key pair, and the second encryption key is the encryption key acquired by the second application from the target server.
The invention is further illustrated by the following specific examples:
fig. 7 is a schematic diagram of an alternative media information display method according to an embodiment of the present invention, and as shown in fig. 7, the process includes the following steps:
s702, logging in a first application and a second application;
s704, opening a monitoring pipeline of the first application and a monitoring pipeline of the second application;
s706, the first application acquires a pipeline communication secret key and an authorization code;
s708, connecting the first application with the second application through a pipeline;
s710, the first application sends an authorization code to the second application;
s712, the second application obtains the pipe communication key through the authorization code;
s714, the target server returns the pipeline communication secret key to the second application;
s716, completing the establishment of the pipeline between the first application and the second application;
s718, the user clicks a document link, and the first application analyzes the link information;
s720, the first application sends data to the second application through a pipeline, and a document link is opened;
s722, the second application acquires the document data from the server;
s724, displaying a document interface in a second application;
s726, an acknowledgement message is returned to the first application.
The above-mentioned pipe between the first application and the second application may include, but is not limited to, two, the first application needs to be connected to the pipe created by the second application, and the second application also needs to be connected to the pipe created by the first application, wherein the encryption flow for the pipe is as follows:
after the first application is successfully logged in, a pipeline secret key and an authorization code are obtained from the first application server, wherein the secret key and the authorization code are different for each user and have timeliness.
And after the pipeline connection is successful, the first application sends an authorization code to the second application, and the second application sends the authorization code to the server background to acquire the pipeline secret key.
The encryption is carried out by using an AES 256ECB symmetric encryption mode, and the encryption mode has the advantages of high speed and safety.
The data passed by the pipe is binary and therefore requires unpacking of the packet.
Defining the format of the data packet to be divided into a packet header format and a packet body format, wherein the fields of the packet header include: the length of the bag body, whether the bag body is encrypted or not and a separation line. The header is not encrypted. The body of the packet is json text which is encrypted or not encrypted.
Each packet is preconfigured with command characters indicating what the packet is to do, e.g. openDoc (indicating opening a document), and the packet also contains other data, e.g. document links.
When a user clicks a document link on an interface, a first application monitors a click event, takes out the clicked link, packages the clicked link into a data packet, fills command characters and the document link, encrypts the data packet, and sends the data packet to a second application through a pipeline;
the second application decrypts the data packet, takes out the command characters and the document link, finds that a document interface needs to be opened after the command characters and the document link are analyzed, then requests the document link data from the server, and opens the document interface to display the document data after the server returns the data.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
According to another aspect of the embodiment of the present invention, there is also provided a display apparatus of media information for implementing the display method of media information described above. As shown in fig. 8, the apparatus includes:
a display module 802, configured to display first link information of first media information in a first application on a terminal, where the first media information is media information that is allowed to be opened and displayed in a second application on the terminal, and the first link information includes a first link address used for acquiring the first media information;
a sending module 804, configured to send a first link address from a first application to a second application through a first target connection when a first interaction operation performed on first link information is acquired in the first application, where the first target connection is a connection established between a started first application and a started second application after the first application is started, and the first target connection is used to send data from the first application to the second application;
the processing module 806 is configured to obtain the first media information according to the first link address in the second application, and display the obtained first media information in the second application.
In an alternative embodiment, the apparatus is further configured to: before first link information of first media information is displayed in a first application on a terminal, starting the first application on the terminal, and starting a second application on the terminal under the condition that the second application is not started; a first target connection is established between a first application and a second application.
In an alternative embodiment, the apparatus is further configured to:
before first link information of first media information is displayed in a first application on a terminal, under the condition that a first target connection is established between the started first application and a started second application, a first authorization code is sent to the second application from the first application through the first target connection, wherein the first authorization code is an authorization code acquired by the first application from a target server, and the target server is a server of the first application; sending the first authorization code to a target server in the second application, wherein the target server stores the first authorization code and the first decryption key which have a corresponding relationship; and acquiring a first decryption key which is sent by the target server and has a corresponding relation with the first authorization code in the second application.
In an alternative embodiment, as shown in fig. 9, the sending module 804 includes:
a sending unit 902, configured to send, through the first target connection, first encrypted information from the first application to the second application, where the first encrypted information is obtained by encrypting the first link address using a first encryption key, the first encryption key and the first decryption key are a key pair, and the first encryption key is an encryption key obtained by the first application from the target server.
In an alternative embodiment, the apparatus is further configured to:
before first link information of first media information is displayed in a first application on a terminal, under the condition that the first application is started on the terminal, a first authorization code and a first encryption key sent by a target server are obtained in the first application, wherein the first application is registered by a first account, the first encryption key and the first decryption key are a key pair, the first authorization code is an authorization code distributed for the first account, the first encryption key and the first decryption key are keys distributed for the first account, and the target server is used for distributing different authorization codes, encryption keys and decryption keys for different accounts in the first application.
In an alternative embodiment, the apparatus is further configured to:
before first link information of first media information is displayed in a first application on a terminal, establishing a first pipeline connection between the started first application and a started second application, wherein a first target connection comprises a first pipeline connection which is used for transmitting data between a first process of the first application and a second process of the second application; or
And establishing a first socket connection between the started first application and the started second application, wherein the first target connection comprises a first socket connection, and the first socket connection is used for transmitting data between a first process of the first application and a second process of the second application.
In an alternative embodiment, the apparatus is further configured to:
displaying second link information of second media information in a second application, wherein the second media information is media information which is allowed to be opened and displayed in the first application, and the second link information comprises a second link address used for acquiring the second media information;
under the condition that second interactive operation executed on second link information is acquired in a second application, a second link address is sent to the first application from the second application through a second target connection, wherein the second target connection is a connection established between the started first application and the started second application after the second application is started, and the second target connection is used for sending data from the second application to the first application;
and acquiring second media information in the first application according to the second link address, and displaying the acquired second media information in the first application.
In an alternative embodiment, the apparatus is further configured to:
before displaying second link information of second media information in the first application, starting the first application on the terminal, and starting the second application on the terminal under the condition that the second application is not started; establishing a second target connection between the first application and the second application; or
Starting a first application on the terminal under the condition that a second application is started on the terminal and the first application is not started; a second target connection is established between the first application and the second application.
In an alternative embodiment, the apparatus is further configured to:
before second link information of second media information is displayed in a second application, sending a second authorization code from the second application to the first application through a second target connection under the condition that the second target connection is established between the started first application and the started second application, wherein the second authorization code is an authorization code acquired by the second application from a target server, and the target server is a server of the second application;
sending the second authorization code to a target server in the first application, wherein the target server stores the second authorization code and the second decryption key which have a corresponding relationship;
and acquiring a second decryption key which is sent by the target server and has a corresponding relation with the second authorization code in the first application.
In an alternative embodiment, the apparatus is further configured to send the second authorization code from the second application to the first application over the second target connection by: and sending second encryption information from the second application to the first application through a second target connection, wherein the second encryption information is obtained by encrypting the second link address by using a second encryption key, the second encryption key and the second decryption key are a key pair, and the second encryption key is the encryption key acquired by the second application from the target server.
According to another aspect of the embodiment of the present invention, there is also provided an electronic device for implementing the above-mentioned method for displaying media information, where the electronic device may be a terminal device or a server shown in fig. 1. The present embodiment takes the electronic device as an example for explanation. As shown in fig. 10, the electronic device comprises a memory 1002 and a processor 1004, the memory 1002 having stored therein a computer program, the processor 1004 being arranged to execute the steps of any of the method embodiments described above by means of the computer program.
Optionally, in this embodiment, the electronic device may be located in at least one network device of a plurality of network devices of a computer network.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, displaying first link information of first media information in a first application on the terminal, wherein the first media information is media information which is allowed to be opened and displayed in a second application on the terminal, and the first link information comprises a first link address used for obtaining the first media information;
s2, under the condition that a first interactive operation executed on first link information is acquired in a first application, sending a first link address from the first application to a second application through a first target connection, wherein the first target connection is a connection established between the started first application and the started second application after the first application is started, and the first target connection is used for sending data from the first application to the second application;
and S3, acquiring the first media information according to the first link address in the second application, and displaying the acquired first media information in the second application.
Alternatively, it can be understood by those skilled in the art that the structure shown in fig. 10 is only an illustration, and the electronic device may also be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palmtop computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 10 is a diagram illustrating a structure of the electronic device. For example, the electronics may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 10, or have a different configuration than shown in FIG. 10.
The memory 1002 may be used to store software programs and modules, such as program instructions/modules corresponding to the method and apparatus for displaying media information in the embodiments of the present invention, and the processor 1004 executes various functional applications and data processing by running the software programs and modules stored in the memory 1002, that is, implements the above-described method for displaying media information. The memory 1002 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 1002 may further include memory located remotely from the processor 1004, which may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The memory 1002 may be used for storing media information, link information, and other information. As an example, as shown in fig. 10, the memory 1002 may include, but is not limited to, a display module 802, a sending module 804, and a processing module 806 in the display device that includes the media information. In addition, the media information display device may further include, but is not limited to, other module units in the media information display device, which is not described in detail in this example.
Optionally, the above-mentioned transmission device 1006 is used for receiving or sending data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 1006 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices so as to communicate with the internet or a local area Network. In one example, the transmission device 1006 is a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
In addition, the electronic device further includes: a display 1008 for displaying the media information; and a connection bus 1010 for connecting the respective module parts in the above-described electronic apparatus.
In other embodiments, the terminal device or the server may be a node in a distributed system, where the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting a plurality of nodes through a network communication. Nodes can form a Peer-To-Peer (P2P, Peer To Peer) network, and any type of computing device, such as a server, a terminal, and other electronic devices, can become a node in the blockchain system by joining the Peer-To-Peer network.
According to a further aspect of an embodiment of the invention, there is provided a computer program product or a computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to perform the methods provided in the various alternative implementations in the displaying or retrieving of the media information.
Alternatively, in the present embodiment, the above-mentioned computer-readable storage medium may be configured to store a computer program for executing the steps of:
s1, displaying first link information of first media information in a first application on the terminal, wherein the first media information is media information which is allowed to be opened and displayed in a second application on the terminal, and the first link information comprises a first link address used for obtaining the first media information;
s2, under the condition that a first interactive operation executed on first link information is acquired in a first application, sending a first link address from the first application to a second application through a first target connection, wherein the first target connection is a connection established between the started first application and the started second application after the first application is started, and the first target connection is used for sending data from the first application to the second application;
and S3, acquiring the first media information according to the first link address in the second application, and displaying the acquired first media information in the second application.
Alternatively, in this embodiment, a person skilled in the art may understand that all or part of the steps in the methods of the foregoing embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, network devices, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (15)

1. A method for displaying media information, comprising:
displaying first link information of first media information in a first application on a terminal, wherein the first media information is media information which is allowed to be opened and displayed in a second application on the terminal, and the first link information comprises a first link address used for acquiring the first media information;
under the condition that first interaction operation executed on the first link information is acquired in the first application, sending the first link address from the first application to the second application through a first target connection, wherein the first target connection is a connection established between the started first application and the started second application after the first application is started, and the first target connection is used for sending data from the first application to the second application;
and acquiring the first media information in the second application according to the first link address, and displaying the acquired first media information in the second application.
2. The method of claim 1, wherein before displaying the first link information of the first media information in the first application on the terminal, the method further comprises:
starting the second application on the terminal under the condition that the first application is started on the terminal and the second application is not started;
establishing the first target connection between the first application and the second application.
3. The method of claim 1, wherein before displaying the first link information of the first media information in the first application on the terminal, the method further comprises:
sending a first authorization code from the first application to the second application through the first target connection under the condition that the first target connection is established between the started first application and the started second application, wherein the first authorization code is an authorization code acquired by the first application from a target server, and the target server is a server of the first application;
sending the first authorization code to the target server in the second application, wherein the target server stores the first authorization code and a first decryption key having a corresponding relationship;
and acquiring the first decryption key which is sent by the target server and has a corresponding relation with the first authorization code in the second application.
4. The method of claim 3, wherein sending the first link address from the first application to the second application over the first target connection comprises:
the first encrypted information is sent from the first application to the second application through the first target connection, where the first encrypted information is obtained by encrypting the first link address using a first encryption key, the first encryption key and the first decryption key are a key pair, and the first encryption key is an encryption key acquired by the first application from the target server.
5. The method of claim 3, wherein before displaying the first link information of the first media information in the first application on the terminal, the method further comprises:
the method includes acquiring, in the first application, the first authorization code and a first encryption key sent by the target server under the condition that the first application is started on the terminal, where the first application is registered by a first account, the first encryption key and the first decryption key are a key pair, the first authorization code is an authorization code allocated to the first account, the first encryption key and the first decryption key are keys allocated to the first account, and the target server is configured to allocate different authorization codes, encryption keys, and decryption keys to different accounts in the first application.
6. The method of claim 1, wherein before displaying the first link information of the first media information in the first application on the terminal, the method further comprises:
establishing a first pipe connection between the started first application and the started second application, wherein the first target connection comprises the first pipe connection, and the first pipe connection is used for transmitting data between a first process of the first application and a second process of the second application; or
And establishing a first socket connection between the started first application and the started second application, wherein the first target connection comprises the first socket connection, and the first socket connection is used for transmitting data between a first process of the first application and a second process of the second application.
7. The method according to any one of claims 1 to 6, further comprising:
displaying second link information of second media information in the second application, wherein the second media information is media information which is allowed to be opened and displayed in the first application, and the second link information comprises a second link address used for acquiring the second media information;
sending the second link address from the second application to the first application through a second target connection when a second interactive operation executed on the second link information is acquired in the second application, wherein the second target connection is a connection established between the started first application and the started second application after the second application is started, and the second target connection is used for sending data from the second application to the first application;
and acquiring the second media information in the first application according to the second link address, and displaying the acquired second media information in the first application.
8. The method of claim 7, wherein before displaying the second link information of the second media information in the first application, the method further comprises:
starting the second application on the terminal under the condition that the first application is started on the terminal and the second application is not started; establishing the second target connection between the first application and the second application; or
Starting the first application on the terminal under the condition that the second application is started on the terminal and the first application is not started; establishing the second target connection between the first application and the second application.
9. The method of claim 7, wherein before displaying the second link information of the second media information in the second application, the method further comprises:
sending a second authorization code from the second application to the first application through the second target connection under the condition that the second target connection is established between the started first application and the started second application, wherein the second authorization code is an authorization code acquired by the second application from a target server, and the target server is a server of the second application;
sending the second authorization code to the target server in the first application, wherein the target server stores the second authorization code and a second decryption key having a corresponding relationship;
and acquiring the second decryption key which is sent by the target server and has a corresponding relation with the second authorization code in the first application.
10. The method of claim 9, wherein sending a second authorization code from the second application to the first application over the second target connection comprises:
and sending second encryption information from the second application to the first application through a second target connection, where the second encryption information is obtained by encrypting the second link address using a second encryption key, the second encryption key and the second decryption key are a key pair, and the second encryption key is an encryption key acquired by the second application from the target server.
11. A display device for media information, comprising:
the terminal comprises a display module, a first link module and a second link module, wherein the display module is used for displaying first link information of first media information in a first application on the terminal, the first media information is media information which is allowed to be opened and displayed in a second application on the terminal, and the first link information comprises a first link address used for acquiring the first media information;
a sending module, configured to send the first link address from the first application to the second application through a first target connection when a first interaction operation performed on the first link information is acquired in the first application, where the first target connection is a connection established between the started first application and the started second application after the first application is started, and the first target connection is used to send data from the first application to the second application;
and the processing module is used for acquiring the first media information in the second application according to the first link address and displaying the acquired first media information in the second application.
12. The apparatus of claim 11, wherein the apparatus is further configured to:
before first link information of first media information is displayed in a first application on a terminal, starting a second application on the terminal under the condition that the first application is started on the terminal and the second application is not started;
establishing the first target connection between the first application and the second application.
13. The apparatus of claim 11, wherein the apparatus is further configured to:
before first link information of first media information is displayed in a first application on a terminal, under the condition that a first target connection is established between the started first application and the started second application, sending a first authorization code from the first application to the second application through the first target connection, wherein the first authorization code is an authorization code acquired by the first application from a target server, and the target server is a server of the first application;
sending the first authorization code to the target server in the second application, wherein the target server stores the first authorization code and a first decryption key having a corresponding relationship;
and acquiring the first decryption key which is sent by the target server and has a corresponding relation with the first authorization code in the second application.
14. A computer-readable storage medium comprising a stored program, wherein the program when executed performs the method of any of claims 1 to 10.
15. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method of any of claims 1 to 10 by means of the computer program.
CN202010797838.3A 2020-08-10 2020-08-10 Media information display method and device, storage medium and electronic equipment Active CN114125017B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010797838.3A CN114125017B (en) 2020-08-10 2020-08-10 Media information display method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010797838.3A CN114125017B (en) 2020-08-10 2020-08-10 Media information display method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN114125017A true CN114125017A (en) 2022-03-01
CN114125017B CN114125017B (en) 2024-04-09

Family

ID=80373561

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010797838.3A Active CN114125017B (en) 2020-08-10 2020-08-10 Media information display method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN114125017B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080005752A1 (en) * 2006-06-30 2008-01-03 Robert Paul Morris Methods, systems, and computer program products for generating application processes by linking applications
AU2009225393A1 (en) * 2008-03-21 2009-09-24 Trimble Navigation Limited File access via conduit application
US20120210443A1 (en) * 2011-02-11 2012-08-16 Mocana Corporation Securing and managing apps on a device
CN104333807A (en) * 2014-10-22 2015-02-04 乐视网信息技术(北京)股份有限公司 Application processing method and device and smart television
US20150089370A1 (en) * 2013-09-25 2015-03-26 Tencent Technology (Shenzhen) Co., Ltd. Method and device for playing media data on a terminal
WO2017024842A1 (en) * 2015-08-12 2017-02-16 腾讯科技(深圳)有限公司 Internet access authentication method, client, computer storage medium
CN107153583A (en) * 2017-05-24 2017-09-12 努比亚技术有限公司 A kind of striding course interaction processing method, mobile terminal and computer-readable recording medium
WO2017193746A1 (en) * 2016-05-11 2017-11-16 阿里巴巴集团控股有限公司 Method and system for starting application
CN108334540A (en) * 2017-12-15 2018-07-27 深圳市腾讯计算机系统有限公司 Methods of exhibiting and device, storage medium, the electronic device of media information
WO2018157743A1 (en) * 2017-02-28 2018-09-07 腾讯科技(深圳)有限公司 Media data processing method, device, system and storage medium
WO2018161887A1 (en) * 2017-03-08 2018-09-13 腾讯科技(深圳)有限公司 Data interaction method and device, and storage medium
CN111385265A (en) * 2018-12-29 2020-07-07 北京奇虎科技有限公司 Communication method and device in iOS system

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080005752A1 (en) * 2006-06-30 2008-01-03 Robert Paul Morris Methods, systems, and computer program products for generating application processes by linking applications
AU2009225393A1 (en) * 2008-03-21 2009-09-24 Trimble Navigation Limited File access via conduit application
US20120210443A1 (en) * 2011-02-11 2012-08-16 Mocana Corporation Securing and managing apps on a device
US20150089370A1 (en) * 2013-09-25 2015-03-26 Tencent Technology (Shenzhen) Co., Ltd. Method and device for playing media data on a terminal
CN104333807A (en) * 2014-10-22 2015-02-04 乐视网信息技术(北京)股份有限公司 Application processing method and device and smart television
WO2017024842A1 (en) * 2015-08-12 2017-02-16 腾讯科技(深圳)有限公司 Internet access authentication method, client, computer storage medium
WO2017193746A1 (en) * 2016-05-11 2017-11-16 阿里巴巴集团控股有限公司 Method and system for starting application
CN107370775A (en) * 2016-05-11 2017-11-21 阿里巴巴集团控股有限公司 A kind of method and system for starting application
WO2018157743A1 (en) * 2017-02-28 2018-09-07 腾讯科技(深圳)有限公司 Media data processing method, device, system and storage medium
WO2018161887A1 (en) * 2017-03-08 2018-09-13 腾讯科技(深圳)有限公司 Data interaction method and device, and storage medium
CN107153583A (en) * 2017-05-24 2017-09-12 努比亚技术有限公司 A kind of striding course interaction processing method, mobile terminal and computer-readable recording medium
CN108334540A (en) * 2017-12-15 2018-07-27 深圳市腾讯计算机系统有限公司 Methods of exhibiting and device, storage medium, the electronic device of media information
CN111385265A (en) * 2018-12-29 2020-07-07 北京奇虎科技有限公司 Communication method and device in iOS system

Also Published As

Publication number Publication date
CN114125017B (en) 2024-04-09

Similar Documents

Publication Publication Date Title
US11616763B2 (en) Secure anonymous communications methods and apparatus
CN111428225A (en) Data interaction method and device, computer equipment and storage medium
KR102186114B1 (en) Method, system, and medium for using dynamic public key infrastructure to transmit and receive encrypted messages
CN111970240B (en) Cluster receiving and managing method and device and electronic equipment
CN104602238A (en) Wireless network connecting method, device and system
CN104917807A (en) Resource transfer method, apparatus and system
US11558320B2 (en) Method and system for providing interoperability for rich communication suite (RCS) messaging with local and remote applications
US11553314B2 (en) Method and system for providing interoperability for rich communication suite (RCS) messaging with local and remote applications with e-commerce and data collection
CN109862103A (en) File data secure sharing method and device based on block chain
US10855846B1 (en) Encrypting multiple party calls
WO2015027931A1 (en) Method and system for realizing cross-domain remote command
US9749422B2 (en) Method and system for telecommunication device monitoring
CN110213346B (en) Encrypted information transmission method and device
CN109714337B (en) Data encryption transmission method and equipment
US20230087220A1 (en) Data processing method and apparatus based on instant messaging, device, and storage medium
CN107343001B (en) Data processing method and device
CN113452513B (en) Key distribution method, device and system
CN110598427A (en) Data processing method, system and storage medium
CN114125017A (en) Method and device for displaying media information, storage medium and electronic equipment
CN113542231B (en) Communication method, electronic device, and storage medium
CN110995730B (en) Data transmission method and device, proxy server and proxy server cluster
CN112470438B (en) Method for discovering intermediate functions and selecting a path between two communication devices
CN111797417A (en) File uploading method and device, storage medium and electronic device
CN104394005A (en) Active group classification system based on background server
CN111585748B (en) Data transmission method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40064634

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant