CN114942812A - Multimedia information sharing method and device and electronic equipment - Google Patents

Multimedia information sharing method and device and electronic equipment Download PDF

Info

Publication number
CN114942812A
CN114942812A CN202210609818.8A CN202210609818A CN114942812A CN 114942812 A CN114942812 A CN 114942812A CN 202210609818 A CN202210609818 A CN 202210609818A CN 114942812 A CN114942812 A CN 114942812A
Authority
CN
China
Prior art keywords
multimedia information
desktop
information
media source
communication service
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
CN202210609818.8A
Other languages
Chinese (zh)
Other versions
CN114942812B (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.)
Shanghai Jiache Information Technology Co ltd
Original Assignee
Shanghai Jiache Information Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Jiache Information Technology Co ltd filed Critical Shanghai Jiache Information Technology Co ltd
Priority to CN202210609818.8A priority Critical patent/CN114942812B/en
Priority claimed from CN202210609818.8A external-priority patent/CN114942812B/en
Publication of CN114942812A publication Critical patent/CN114942812A/en
Application granted granted Critical
Publication of CN114942812B publication Critical patent/CN114942812B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/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

Abstract

The application provides a multimedia information sharing method, a multimedia information sharing device and electronic equipment, wherein the method can be applied to a terminal using an android system and can comprise the following steps: establishing communication connection between a multimedia communication service process and a desktop process and a media source application program; and acquiring target multimedia information from the media source application program by using the multimedia communication service process, and sharing the target multimedia information to the desktop process. The method can share the target multimedia information to be displayed to the desktop from the media source application program so as to directly display the target multimedia information through the desktop. Therefore, the terminal can not create a background process in the media source application program, and the purpose of improving the performance of displaying the target multimedia information is achieved.

Description

Multimedia information sharing method and device and electronic equipment
Technical Field
The present application relates to the field of information processing, and in particular, to a multimedia information sharing method, apparatus and electronic device.
Background
With the rapid development of science and technology, the popularization rate of the intelligent terminal is higher and higher. People can watch movies, listen to music and other entertainment behaviors through the intelligent terminal.
In the related art, when displaying multimedia information such as video information and audio information, an intelligent terminal using the android system is implemented by using a digital living NETWORK ALLIANCE protocol technology (DIGITAL LIVING NETWORK ALLIANCE, DLNA for short). However, DLNA requires the media source application and the presenter (e.g., desktop) to create a corresponding background process, which may involve additional performance, which in turn results in lower performance.
Disclosure of Invention
An embodiment of the present application aims to provide a multimedia information sharing method, a multimedia information sharing apparatus, and an electronic device, so as to achieve the purpose of improving performance when displaying target multimedia information.
In a first aspect, an embodiment of the present application provides a multimedia information sharing method, where the method is applied to a terminal using an android system, and the method may include: establishing communication connection between a multimedia communication service process and a desktop process and a media source application program; and acquiring target multimedia information from the media source application program by using the multimedia communication service process, and sharing the target multimedia information to the desktop process. Therefore, the terminal can not create a background process in the media source application program, and the purpose of improving the performance of displaying the target multimedia information is achieved.
Optionally, the establishing a communication connection between the multimedia communication service process and the desktop process and the media source application includes: establishing communication connection between the multimedia communication service process and a desktop process and a media source application program through a communication component/file; the communication component/file includes a content provider, a media browser, or an android interface definition language file. Therefore, the method can be applied to more media source application programs, and the practicability is stronger.
Optionally, when the communication connection is established through the media browser, the obtaining, by using the multimedia communication service process, target multimedia information from the media source application includes: sending a to-be-shown instruction and metadata corresponding to the target multimedia information to the media source application program by utilizing the multimedia communication service process; and returning the sharing address information of the target multimedia information by using the media source application program according to the instruction to be displayed and the metadata. In this way, the shared address information of the target multimedia information can be transmitted through the Media Browser to enable transmission of the video content.
Optionally, the sharing the target multimedia information to the desktop process by using the multimedia communication service process includes: sharing the shared address information to the desktop process by utilizing the multimedia communication service process; and acquiring the information content corresponding to the target multimedia information by utilizing the desktop process according to the shared address information. Thus, the target multimedia information in the presentation page can be directly presented on the desktop.
Optionally, the obtaining, by the multimedia communication service process, target multimedia information from the media source application and sharing the target multimedia information to the desktop process includes: and after the information content corresponding to the target multimedia information is loaded by using the multimedia communication service process, sharing the information content to the desktop process. Here, a way of loading information content corresponding to target multimedia information through a multimedia communication service process is provided.
Optionally, after the obtaining, by the multimedia communication service process, target multimedia information from the media source application and sharing the target multimedia information to the desktop process, the multimedia information sharing method further includes: the desktop process is utilized to carry out layout on the display window on the desktop according to the type of the target multimedia information; or the desktop process is utilized to layout the display windows on the desktop according to the layout instruction for laying out the desktop. Therefore, the terminal can lay out the display window on the desktop based on the type or the layout instruction of the target multimedia information, so that the target multimedia information can be displayed in the laid-out display window without full-screen display, occupation of a GPU (graphics processing unit), a CPU (central processing unit) and an operating memory during full-screen display is saved, and system performance is improved.
Optionally, after the obtaining, by the multimedia communication service process, target multimedia information from the media source application and sharing the target multimedia information to the desktop process, the multimedia information sharing method further includes: receiving a control instruction by using the desktop process, forwarding the control instruction to the media source application program by using the multimedia communication service process, and executing a control operation according to the control instruction by using the media source application program; the control instruction is used for controlling the display effect of the target multimedia information. Therefore, the control instruction can be received through the desktop process so as to achieve the purpose of controlling the display effect of the target multimedia information. Therefore, the user can not send a control instruction at the media source application program, the complicated operation flow is saved to a certain extent, and the user experience is improved.
In a second aspect, an embodiment of the present application provides a multimedia information sharing apparatus, where the apparatus is applied to a terminal using an android system, and the apparatus may include: the establishing module is used for establishing communication connection between the multimedia communication service process and the desktop process as well as the media source application program; and the sharing module is used for acquiring target multimedia information from the media source application program by using the multimedia communication service process and sharing the target multimedia information to the desktop process. Therefore, the terminal can not create a background process in the media source application program, and the purpose of improving the performance of displaying the target multimedia information is achieved.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, where the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the steps in the method as provided in the first aspect are executed.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, performs the steps in the method as provided in the first aspect.
Additional features and advantages of the present application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the embodiments of the present application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a flowchart of a multimedia information sharing method according to an embodiment of the present application;
fig. 2 is a schematic layout diagram of a display window according to an embodiment of the present application;
fig. 3 is a schematic layout diagram of a display window according to an embodiment of the present application;
fig. 4 is a block diagram of a multimedia information sharing apparatus according to an embodiment of the present disclosure;
fig. 5 is a schematic structural diagram of an electronic device for performing a multimedia information sharing method according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, as generally described and illustrated in the figures herein, could be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, as presented in the figures, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
It should be noted that the embodiments or technical features of the embodiments in the present application may be combined without conflict.
In the related art, a terminal using an android system has the problem of low performance when multimedia information is displayed; in order to solve the problem, the application provides a multimedia information sharing method, a multimedia information sharing device and electronic equipment; furthermore, the target multimedia information to be displayed is shared to the desktop process from the media source application program where the target multimedia information is located, so that the target multimedia information is directly displayed through the desktop process. Therefore, the aim of displaying the target multimedia information can be fulfilled without opening the media source application program. And then, a background process corresponding to the media source application program is not required to be created, and the system performance is improved.
In some application scenarios, the terminal using the android system may include a mobile phone terminal or a vehicle-mounted terminal using the android system. The application is exemplarily applied to vehicle-mounted terminal literary texts.
The above solutions in the related art are all the results of practical and careful study of the inventor, and therefore, the discovery process of the above problems and the solutions proposed by the following embodiments of the present invention to the above problems should be the contribution of the inventor to the present invention in the course of the present invention.
Please refer to fig. 1, which shows a flowchart of a multimedia information sharing method according to an embodiment of the present application. As shown in fig. 1, the multimedia information sharing method includes the following steps 101 to 102.
Step 101, establishing communication connection between a multimedia communication service process and a desktop process and a media source application program;
the multimedia communication service process may be regarded as a process created for a functional module for providing a multimedia information transmission service in a terminal; the multimedia information may include, for example, video information, audio information, image information, animation information, and the like.
The media source application may be considered an application that may provide multimedia information. Which may include, for example, applications capable of watching movies, applications capable of listening to music, etc. In some application scenarios, a media source application may include multiple processes such as a foreground process, a visual process, a service process, a background process, a null process, and the like.
In some application scenarios, the terminal may establish a communication connection between the multimedia communication service process, the desktop process, and the media source application in the native machine. In these application scenarios, a communication connection between the three may be established, for example, by a communication protocol, a communication component, or the like.
And 102, acquiring target multimedia information from the media source application program by using the multimedia communication service process, and sharing the target multimedia information to the desktop process.
After the terminal establishes the communication connection between the multimedia communication service process and the desktop process and the media source application program, the terminal can further acquire target multimedia information from the media source application program by using the multimedia communication service process. The target multimedia information can be regarded as multimedia information indicated by the user.
In some application scenarios, the desktop process may expose an initial media window when the terminal is started. The initial media window may present initial options such as "video", "audio", and so forth. The user can enter a next-level media window which provides video content or audio content through the selection operation of the initial option.
If the user selects a media window for providing video content, the desktop process may communicate with the multimedia communication service process to obtain a current list of multimedia content from the media source application using the multimedia communication service process.
In some application scenarios, the multimedia content list may show a primary video content option such as "variety", "movie", "tv show", etc. The user may select any one of the primary video content options in the media window of the desktop into a list of multimedia content items including secondary video content options such as "XXX", "yyyy", and the like. Here, "XXX" and "YYY" may be, for example, the names of arbitrary art, movies, or television shows. Then, if the user selects the heddles "XXX", the heddles can be regarded as the target multimedia information.
In other application scenarios, the multimedia content list may show a level of music content options such as "music library 1", "music library 2", "music library 3", and so on. The user may also select any one of the primary music content options in the media window of the desktop into a list of multimedia content items that includes secondary music content options such as "xxx", "yyyy", etc. Here, "xxx" and "yyy" may be any song names, for example. Then, if the user selects the song "xxx", the song can be regarded as the target multimedia information.
In some application scenarios, the terminal may determine a layout manner of a presentation window for presenting the target multimedia information according to the acquired multimedia content list. For example, when the multimedia content list includes a primary video content option, the target multimedia information may be regarded as video content, and then the specification of a presentation window for presenting the target multimedia information may be adjusted to be larger, so as to view the video content. If the multimedia content list includes the first-level music content option, the target multimedia information may be regarded as audio content, and then the specification of the display window displaying the target multimedia information may be adjusted to be smaller, so as to increase the display space of the display window displaying other display windows such as vehicle condition information, weather information, and the like.
After the terminal acquires the target multimedia information by using the multimedia communication service process, the target multimedia information can be shared to the desktop process. For example, after the user selects the art "XXX", the multimedia communication service process may obtain information content corresponding to the art "XXX" or information (e.g., address information or attribute information) that can be used to load the information content of the art "XXX" from the media source application. And then, the method can be shared to the desktop process, so that the desktop process can be directly displayed on the desktop.
In this embodiment, the target multimedia information to be displayed can be shared from the media source application to the desktop through the above steps 101 to 102, so as to be directly displayed through the desktop. Therefore, the terminal can not create a background process in the media source application program, and the purpose of improving the performance of displaying the target multimedia information is achieved.
Furthermore, the target multimedia information can be directly displayed on the desktop, so that the user can view the target multimedia information without starting a media source application program, a complex operation process is omitted to a certain extent, and user experience is improved.
In some application scenarios, the media source application may be an application having a camera function (that is, the application may be in communication with the camera and may acquire image information or video information transmitted by the camera, for example, a camera application in a mobile phone terminal). Therefore, the terminal can directly display the image information or the video information transmitted by the camera on the desktop, and the purpose of monitoring the condition in the vehicle is achieved.
In some optional implementations, the step 101 may include: establishing communication connection between the multimedia communication service process and a desktop process as well as a media source application program through a communication component/file; the communication component/file includes a content provider, a media browser, or an android interface definition language file.
In some application scenarios, the communication connection between the multimedia communication service process and the desktop process and the media source application program can be established through a communication component/file. In these application scenarios, the communication components/files may include content providers, media browsers, or android interface definition language files.
The Content Provider (Content Provider) can achieve the purpose of information sharing. Which may provide data from one application to another application/process by request.
The Media Browser (Media Browser) can achieve the purpose of information sharing. Which can achieve the sharing purpose by transmitting metadata of the target multimedia information.
The Android Interface Definition Language file (referred to as an aid l file for short) can implement communication between applications/processes to achieve the purpose of information sharing.
It should be noted that, the process of establishing a communication connection through a content provider, a media browser, or an android interface definition language file is the prior art, and is not described herein again.
In the implementation manner, the communication connection between the multimedia communication service process and the desktop process and the media source application program is established through the communication component/file, so that not only audio content and image content but also video content can be transmitted. Therefore, the method can be applied to more media source application programs, and the practicability is stronger.
In some optional implementations, when the communication connection is established through the media browser, the obtaining target multimedia information from the media source application by using the multimedia communication service process in step 102 may include the following sub-steps:
substep 1021, utilizing the multimedia communication service process to send the instruction to be shown and the metadata corresponding to the target multimedia information to the media source application program;
in some application scenarios, if the communication connection is established through the Media Browser, the purpose of transmitting the target multimedia information can be achieved through the metadata of the target multimedia information. Specifically, after receiving the request for obtaining the target multimedia information sent by the desktop process, the multimedia communication service process may send a to-be-presented instruction for presenting the target multimedia information and metadata (MediaItem) for describing the target multimedia information to the media source application. The metadata may include, for example, a display id (virtual screen identifier) or a deeplink activity intent (page jump method) for uniquely identifying the target multimedia information.
And a substep 1022, returning the sharing address information of the target multimedia information by using the media source application according to the instruction to be displayed and the metadata.
After the media source application program receives the instruction to be displayed and the MediaItem, the media source application program can initialize the player of the media source application program and acquire the address information of the display page where the target multimedia information is located. The address information (e.g., DeepLink of the presentation page) may then be returned to the multimedia communication service process through the Media Browser. The deep link (deep link) may also be regarded as the shared address information corresponding to the target multimedia information.
In the implementation mode, the sharing address information of the target multimedia information can be transmitted through the Media Browser so as to transmit the video content, and the problem that the Media Browser cannot transmit the video content is solved.
In some optional implementations, the sharing the target multimedia information to the desktop process by using the multimedia communication service process in step 102 may include the following sub-steps:
a substep 1023 of sharing the shared address information to the desktop process by using the multimedia communication service process;
after receiving the shared address information, the multimedia communication service process may forward the shared address information to the desktop process, so that the desktop process can display the target multimedia information.
And a substep 1024 of obtaining information content corresponding to the target multimedia information according to the shared address information by using the desktop process.
After receiving the shared address information, the desktop process may create a video layer component (Surface) and a Virtual screen (Virtual Display), load a Display page of the target multimedia information onto the Virtual Display according to the acquired DeepLink, and then directly Display the target multimedia information in the Display page on the desktop.
In some optional implementations, the step 102 may include: and after the information content corresponding to the target multimedia information is loaded by utilizing the multimedia communication service process, sharing the information content to the desktop process.
In some application scenarios, the terminal may also implement a loading process of the target multimedia information by using a multimedia communication service process. Specifically, the multimedia communication service process may load the information content of the target multimedia information after acquiring the information content of the target multimedia information or the sharing address information where the target multimedia information is located from the media source application program, and then share the information content to the desktop process.
Further, in these application scenarios, when information transmission is performed through the communication connection established by the aid file and the Content Provider, the information Content of the target multimedia information may be transmitted; when information is transmitted through a communication connection established by Media Browser, shared address information where target multimedia information is located is transmitted.
In this implementation, a manner is provided for loading information content corresponding to target multimedia information through a multimedia communication service process. The person skilled in the art can adaptively select a multimedia communication service process or a desktop process for the loading process of the information content.
In some optional implementation manners, after the step 102, the multimedia information sharing method may further include a step 103 of: the desktop process is utilized to carry out layout on the display window on the desktop according to the type of the target multimedia information; or the desktop process is utilized to layout the display windows on the desktop according to the layout instruction for laying out the desktop.
The desktop process can also lay out the presentation window according to the type of the target multimedia information. Here, the type of the target multimedia information may include, for example, a video type, an audio type, and the like.
In some application scenarios, a terminal may present multiple types of multimedia information. The terminal may, for example, set different layouts in advance for different types of multimedia information. For example, for multimedia information of a video type, a video presentation window for presenting the multimedia information can be set to be in a presentation specification of m × n, and the video presentation window is set to be on the right side of the desktop; for the audio type multimedia information, the audio presentation window for presenting the multimedia information may be set to x × y presentation specification, and the audio presentation window may be set to the left side of the desktop (for example, the layout manner shown in fig. 2). Here, m, n, x, y may be any specification value that can be accommodated in the terminal desktop.
In other application scenarios, the terminal may also present only one type of multimedia information. Specifically, in order to enhance the viewing experience of the user, the terminal may only layout the video presentation window of the video type (for example, the layout manner shown in fig. 3).
The desktop process can also perform layout on the display window on the desktop according to the layout instruction of the user. Specifically, the desktop process may provide an option for a layout mode (e.g., a preview layout mode shown in fig. 2 or fig. 3), and the user may select one of the layout modes for layout.
It should be noted that, for driving safety, when the display window is laid out on the desktop of the in-vehicle terminal, a vehicle condition window for displaying vehicle condition information should be laid out all the time (for example, the layout manner shown in fig. 2 or fig. 3).
In this implementation manner, the terminal may lay out the presentation window on the desktop based on the type of the target multimedia information or the layout instruction, so that the target multimedia information may be presented in the laid-out presentation window without being presented in a full screen, thereby saving occupation of a Graphics Processing Unit (GPU), a Central Processing Unit (CPU) and a running memory during full screen presentation, and improving system performance.
In some optional implementations, after the step 102, the multimedia information sharing method may further include a step 104: receiving a control instruction by using the desktop process, forwarding the control instruction to the media source application program by using the multimedia communication service process, and executing a control operation according to the control instruction by using the media source application program; the control instruction is used for controlling the display effect of the target multimedia information.
The above-mentioned presentation effects may include, for example, effects of starting play, pausing the presentation, turning up/down the volume, fast-forwarding/fast-rewinding play, and the like.
The control operation may include, for example, a play operation, a pause operation, a volume adjustment operation, a play speed adjustment operation, a video definition adjustment operation, and the like.
In some application scenarios, the desktop process may receive control instructions sent by a user. For example, a user may send a control instruction for pausing the playing of the presentation effect of the current video content to a desktop process by clicking a screen in a presentation window for playing a video on the desktop.
After receiving the control instruction, the desktop process may forward the control instruction to the multimedia communication service process, so as to forward the control instruction to the media source application program through the multimedia communication service process.
After the media source application program receives the control instruction, the corresponding control operation can be executed, and then the display effect of pausing the playing of the current video content can be realized.
In the implementation mode, the control instruction can be received through the desktop process so as to achieve the purpose of controlling the display effect of the target multimedia information. Therefore, the user can not send a control instruction at the media source application program, the complicated operation flow is saved to a certain extent, and the user experience is improved.
Referring to fig. 4, a block diagram of a multimedia information sharing apparatus provided in an embodiment of the present application is shown, where the multimedia information sharing apparatus may be a module, a program segment, or code on an electronic device. It should be understood that the apparatus corresponds to the above-mentioned embodiment of the method of fig. 1, and can perform various steps related to the embodiment of the method of fig. 1, and the specific functions of the apparatus can be referred to the description above, and the detailed description is appropriately omitted here to avoid redundancy.
Optionally, the multimedia information sharing apparatus is applied to a terminal using an android system, and may include an establishing module 401 and a sharing module 402. The establishing module 401 is configured to establish a communication connection between a multimedia communication service process and a desktop process, as well as between a media source application; a sharing module 402, configured to obtain target multimedia information from the media source application by using the multimedia communication service process, and share the target multimedia information to the desktop process.
Optionally, the establishing module 401 is further configured to: establishing communication connection between the multimedia communication service process and a desktop process and a media source application program through a communication component/file; the communication component/file includes a content provider, a media browser, or an android interface definition language file.
Optionally, the establishing module 401 is further configured to: when the communication connection is established through the media browser, the multimedia communication service process is utilized to send a command to be displayed and metadata corresponding to the target multimedia information to the media source application program; and returning the sharing address information of the target multimedia information by using the media source application program according to the instruction to be displayed and the metadata.
Optionally, the sharing module 402 is further configured to: sharing the shared address information to the desktop process by utilizing the multimedia communication service process; and acquiring the information content corresponding to the target multimedia information by utilizing the desktop process according to the shared address information.
Optionally, the sharing module 402 is further configured to: and after the information content corresponding to the target multimedia information is loaded by using the multimedia communication service process, sharing the information content to the desktop process.
Optionally, the multimedia information sharing apparatus further includes a layout module. The layout module is configured to: after the target multimedia information is obtained from the media source application program by using the multimedia communication service process and is shared to the desktop process, the desktop process is used for laying out a display window on a desktop according to the type of the target multimedia information; or the desktop process is utilized to layout the display windows on the desktop according to the layout instruction for laying out the desktop.
Optionally, the multimedia information sharing apparatus further includes a control module, where the control module is configured to: after the target multimedia information is obtained from the media source application program by using the multimedia communication service process and is shared to the desktop process, receiving a control instruction by using the desktop process, and forwarding the control instruction to the media source application program by using the multimedia communication service process so as to execute a control operation according to the control instruction by using the media source application program; the control instruction is used for controlling the display effect of the target multimedia information.
It should be noted that, for the convenience and brevity of description, the specific working procedure of the above-described apparatus may refer to the corresponding procedure in the foregoing method embodiment, and the description is not repeated herein.
Referring to fig. 5, fig. 5 is a schematic structural diagram of an electronic device for executing a multimedia information sharing method according to an embodiment of the present application, where the electronic device may include: at least one processor 501, e.g., a CPU, at least one communication interface 502, at least one memory 503, and at least one communication bus 504. Wherein the communication bus 504 is used to enable direct connection communication of these components. The communication interface 502 of the device in the embodiment of the present application is used for performing signaling or data communication with other node devices. The memory 503 may be a high-speed RAM memory, or may be a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 503 may optionally be at least one storage device located remotely from the aforementioned processor. The memory 503 stores computer readable instructions, and when the computer readable instructions are executed by the processor 501, the electronic device may execute the method process shown in fig. 1.
It will be appreciated that the configuration shown in fig. 5 is merely illustrative and that the electronic device may include more or fewer components than shown in fig. 5 or may have a different configuration than shown in fig. 5. The components shown in fig. 5 may be implemented in hardware, software, or a combination thereof.
Embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, may perform the method processes performed by an electronic device in the method embodiment shown in fig. 1.
Embodiments of the present application provide a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, which when executed by a computer, enable the computer to perform the method provided by the above-mentioned method embodiments, for example, the method may include: establishing communication connection between a multimedia communication service process and a desktop process and a media source application program; and acquiring target multimedia information from the media source application program by using the multimedia communication service process, and sharing the target multimedia information to the desktop process.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or 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 of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
In addition, 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.
Furthermore, the functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
In this document, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims (10)

1. A multimedia information sharing method is applied to a terminal using an android system, and comprises the following steps:
establishing communication connection between a multimedia communication service process and a desktop process and a media source application program;
and acquiring target multimedia information from the media source application program by using the multimedia communication service process, and sharing the target multimedia information to the desktop process.
2. The method of claim 1, wherein establishing a communication connection between the multimedia communication service process and a desktop process and a media source application comprises:
establishing communication connection between the multimedia communication service process and a desktop process and a media source application program through a communication component/file; the communication component/file includes a content provider, a media browser, or an android interface definition language file.
3. The method of claim 2, wherein said obtaining target multimedia information from the media source application by the multimedia communication service process when establishing the communication connection through the media browser comprises:
sending a to-be-shown instruction and metadata corresponding to the target multimedia information to the media source application program by utilizing the multimedia communication service process; and
and returning the sharing address information of the target multimedia information by utilizing the media source application program according to the instruction to be displayed and the metadata.
4. The method of claim 3, wherein sharing the target multimedia information to the desktop process using the multimedia communication service process comprises:
sharing the shared address information to the desktop process by utilizing the multimedia communication service process; and
and acquiring the information content corresponding to the target multimedia information by utilizing the desktop process according to the shared address information.
5. The method of claim 2, wherein the obtaining target multimedia information from the media source application and sharing the target multimedia information to the desktop process using the multimedia communication service process comprises:
and after the information content corresponding to the target multimedia information is loaded by using the multimedia communication service process, sharing the information content to the desktop process.
6. The method of claim 1, wherein after said obtaining target multimedia information from said media source application using said multimedia communication service process and sharing said target multimedia information to said desktop process, said method further comprises:
the desktop process is utilized to carry out layout on the display window on the desktop according to the type of the target multimedia information; or
And utilizing the desktop process to layout the display windows on the desktop according to the layout instruction for laying out the desktop.
7. The method of claim 1, wherein after said obtaining target multimedia information from said media source application using said multimedia communication service process and sharing said target multimedia information to said desktop process, said method further comprises:
receiving a control instruction by using the desktop process, forwarding the control instruction to the media source application program by using the multimedia communication service process, and executing a control operation according to the control instruction by using the media source application program; the control instruction is used for controlling the display effect of the target multimedia information.
8. A multimedia information sharing device is applied to a terminal using an android system, and comprises:
the establishing module is used for establishing communication connection between the multimedia communication service process and the desktop process as well as the media source application program;
and the sharing module is used for acquiring target multimedia information from the media source application program by using the multimedia communication service process and sharing the target multimedia information to the desktop process.
9. An electronic device comprising a processor and a memory, the memory storing computer readable instructions that, when executed by the processor, perform the method of any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 7.
CN202210609818.8A 2022-05-31 Multimedia information sharing method and device and electronic equipment Active CN114942812B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210609818.8A CN114942812B (en) 2022-05-31 Multimedia information sharing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210609818.8A CN114942812B (en) 2022-05-31 Multimedia information sharing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN114942812A true CN114942812A (en) 2022-08-26
CN114942812B CN114942812B (en) 2024-04-30

Family

ID=

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010114724A2 (en) * 2009-04-03 2010-10-07 Social Communications Company Application sharing
US20130117416A1 (en) * 2011-11-08 2013-05-09 Institute For Information Industry Method and system for playing multimedia on virtual desktop, cloud-based system for providing virtual desktop and computer readable storage medium applying the method
CN109634544A (en) * 2018-11-23 2019-04-16 北京梧桐车联科技有限责任公司 Application interface display methods and device, display equipment and storage medium
WO2019127349A1 (en) * 2017-12-29 2019-07-04 腾讯科技(深圳)有限公司 Method for sharing multimedia information, related apparatus, and system
CN110347464A (en) * 2019-06-26 2019-10-18 腾讯科技(深圳)有限公司 User interface rendering method, device, medium and the electronic equipment of application program
CN110377458A (en) * 2019-07-26 2019-10-25 努比亚技术有限公司 Data reconstruction method, mobile terminal and computer readable storage medium
CN110569130A (en) * 2019-07-29 2019-12-13 华为技术有限公司 Cross-process communication method, device and equipment
CN112313621A (en) * 2018-05-04 2021-02-02 茨特里克斯系统公司 WebRTC API redirection using interception techniques
CN113485972A (en) * 2021-08-02 2021-10-08 安徽文香科技有限公司 Multimedia sharing method, device, mobile terminal and storage medium
CN113794795A (en) * 2021-08-13 2021-12-14 维沃移动通信有限公司 Information sharing method and device, electronic equipment and readable storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010114724A2 (en) * 2009-04-03 2010-10-07 Social Communications Company Application sharing
US20130117416A1 (en) * 2011-11-08 2013-05-09 Institute For Information Industry Method and system for playing multimedia on virtual desktop, cloud-based system for providing virtual desktop and computer readable storage medium applying the method
WO2019127349A1 (en) * 2017-12-29 2019-07-04 腾讯科技(深圳)有限公司 Method for sharing multimedia information, related apparatus, and system
CN112313621A (en) * 2018-05-04 2021-02-02 茨特里克斯系统公司 WebRTC API redirection using interception techniques
CN109634544A (en) * 2018-11-23 2019-04-16 北京梧桐车联科技有限责任公司 Application interface display methods and device, display equipment and storage medium
CN110347464A (en) * 2019-06-26 2019-10-18 腾讯科技(深圳)有限公司 User interface rendering method, device, medium and the electronic equipment of application program
CN110377458A (en) * 2019-07-26 2019-10-25 努比亚技术有限公司 Data reconstruction method, mobile terminal and computer readable storage medium
CN110569130A (en) * 2019-07-29 2019-12-13 华为技术有限公司 Cross-process communication method, device and equipment
CN113485972A (en) * 2021-08-02 2021-10-08 安徽文香科技有限公司 Multimedia sharing method, device, mobile terminal and storage medium
CN113794795A (en) * 2021-08-13 2021-12-14 维沃移动通信有限公司 Information sharing method and device, electronic equipment and readable storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
WEIXIN_34018169: "Android基于MediaBroswerService的App实现概述", Retrieved from the Internet <URL:《https://blog.csdn.net/weixin_34018169/article/details/87986529》> *
林栩LINK: "Android车载应用开发与分析(7)- 车载多媒体(二)- 多媒体应用架构与MediaSession框架", Retrieved from the Internet <URL:《https://www.jianshu.com/p/41d65afd8069》> *

Similar Documents

Publication Publication Date Title
EP3107267B1 (en) Techniques to push content to a connected device
WO2020133373A1 (en) Video processing method, apparatus, and electronic device, and computer readable storage medium
US11871063B2 (en) Intelligent multi-device content distribution based on internet protocol addressing
EP2930898B1 (en) Method for sharing file and handheld device
WO2020151599A1 (en) Method and apparatus for publishing video synchronously, electronic device, and readable storage medium
WO2020233142A1 (en) Multimedia file playback method and apparatus, electronic device, and storage medium
US20210019106A1 (en) Desktop Sharing Method and Mobile Terminal
US10423139B2 (en) Device control method and apparatus, and device control system
CN104601205A (en) Content sharing method and device
CN112383539A (en) Method and device for calling cloud browser based on remote process and electronic equipment
CN109753332B (en) Method and device for displaying information
US11425466B2 (en) Data transmission method and device
US20180352299A1 (en) Image display apparatus and operation method therefor
US11962853B2 (en) Computing device upgrading system over a wireless network
US20240089538A1 (en) Port-connected television upgrader device
CN112055252A (en) Multi-screen interaction method and device, computer readable medium and electronic equipment
US9898443B2 (en) Method and system for webpage processing
US11838589B2 (en) Port-connected television upgrader device
US20140208352A1 (en) Flash video enabler for ios devices
JP5722633B2 (en) Content management at the functional level
CN108664498B (en) Webpage content display method and terminal
CN114942812B (en) Multimedia information sharing method and device and electronic equipment
CN112528177B (en) Method for connecting waiting page switching content pages, electronic equipment and storage medium
CN112672182B (en) Live broadcast interface display method, device, electronic equipment and computer readable medium
CN114942812A (en) Multimedia information sharing method and device and electronic equipment

Legal Events

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