CN114942812B - Multimedia information sharing method and device and electronic equipment - Google Patents
Multimedia information sharing method and device and electronic equipment Download PDFInfo
- Publication number
- CN114942812B CN114942812B CN202210609818.8A CN202210609818A CN114942812B CN 114942812 B CN114942812 B CN 114942812B CN 202210609818 A CN202210609818 A CN 202210609818A CN 114942812 B CN114942812 B CN 114942812B
- Authority
- CN
- China
- Prior art keywords
- desktop
- multimedia information
- information
- communication service
- media source
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 235
- 230000008569 process Effects 0.000 claims abstract description 188
- 238000004891 communication Methods 0.000 claims abstract description 136
- 230000000694 effects Effects 0.000 claims description 12
- 238000004590 computer program Methods 0.000 claims description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000009471 action Effects 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000003247 decreasing effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000011664 signaling Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/07—User-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/10—Multimedia information
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
- Telephone Function (AREA)
Abstract
The application provides a multimedia information sharing method, a 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 as well as between a media source application program; and acquiring target multimedia information from the media source application program by utilizing 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 from the media source application program to the desktop 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 when the target multimedia information is displayed is achieved.
Description
Technical Field
The present application relates to the field of information processing, and in particular, to a method and apparatus for sharing multimedia information, and an electronic device.
Background
With rapid development of technology, the popularity of intelligent terminals is increasing. People can perform entertainment activities such as watching movies, listening to music and the like through the intelligent terminal.
In the related art, when multimedia information such as video information and audio information is displayed, an intelligent terminal using an android system is implemented by a digital living NETWORK ALLIANCE protocol technology (DIGITAL LIVING NETWORK ALLIANCE, DLNA for short). However, DLNA requires the media source application and the presentation end (e.g., desktop) to create a corresponding background process, which can have additional overhead in performance, which in turn can lead to lower performance.
Disclosure of Invention
The embodiment of the application aims to provide a multimedia information sharing method, a device and electronic equipment, which are used for achieving the purpose of improving the performance when target multimedia information is displayed.
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 as well as between a media source application program; and acquiring target multimedia information from the media source application program by utilizing 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 when the target multimedia information is displayed is achieved.
Optionally, the establishing a communication connection between the multimedia communication service process and the desktop process, the media source application program includes: establishing communication connection between the multimedia communication service process, 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. Thus, the method can be applied to more media source application programs, and has higher practicability.
Optionally, when the communication connection is established through the media browser, the obtaining, by the multimedia communication service process, the target multimedia information from the media source application program includes: transmitting an instruction to be displayed and metadata corresponding to the target multimedia information to the media source application program by utilizing the multimedia communication service process; and returning the shared address information of the target multimedia information by using the media source application program according to the instruction to be displayed and the metadata. Thus, the shared address information of the target multimedia information can be transmitted through the Media Browser to enable transmission of video content.
Optionally, 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 using the multimedia communication service process; and acquiring information content corresponding to the target multimedia information according to the shared address information by utilizing the desktop process. In this way, the target multimedia information in the display page can be directly displayed on the desktop.
Optionally, the obtaining, by the multimedia communication service process, the target multimedia information from the media source application program, and sharing the target multimedia information to the desktop process includes: and after loading the information content corresponding to the target multimedia information by utilizing the multimedia communication service process, sharing the information content to the desktop process. Here, a manner of loading information contents corresponding to target multimedia information through a multimedia communication service process is provided.
Optionally, after the target multimedia information is obtained from the media source application program by using the multimedia communication service process and the target multimedia information is shared to the desktop process, the multimedia information sharing method further includes: using the desktop process to layout the display window on the desktop according to the type of the target multimedia information; or using the desktop process to layout the display window on the desktop according to the layout instruction for layout 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 GPU, CPU and running memory in full-screen display is saved, and system performance is improved.
Optionally, after the target multimedia information is obtained from the media source application program by using the multimedia communication service process and the target multimedia information is shared to the desktop process, the multimedia information sharing method further includes: 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 control operation by using the media source application program according to the control instruction; 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 that the aim of controlling the display effect of the target multimedia information is fulfilled. And then, the user can not send the control instruction to the media source application program, so that the complicated operation flow is omitted 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 device, which is applied to a terminal using an android system, and may include: the establishing module is used for establishing communication connection between the multimedia communication service process and the desktop process as well as between the multimedia communication service process and the media source application program; and the sharing module is used for acquiring target multimedia information from the media source application program by utilizing 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 when the target multimedia information is displayed is achieved.
In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory storing computer readable instructions which, when executed by the processor, perform the steps of the method as provided in the first aspect above.
In a fourth aspect, embodiments of the present application provide a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the method as provided in the first aspect above.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be apparent from the description, or may be learned by practice of the embodiments of the application. The objectives and other advantages of the application will be realized and attained by the structure particularly pointed out in the written description and claims thereof 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 needed 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 should not be considered as limiting the scope, and other related drawings can be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a method for sharing multimedia information 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 device according to an embodiment of the present application;
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.
Detailed Description
The following description of the embodiments of the present application will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present application.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further definition or explanation thereof is necessary in the following figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only to distinguish the description, and are not to be construed as indicating or implying relative importance.
It should be noted that embodiments of the present application or technical features of embodiments may be combined without conflict.
In the related art, a terminal using an android system has the problem of lower performance when multimedia information is displayed; in order to solve the problem, the application provides a multimedia information sharing method, a device and electronic equipment; further, the target multimedia information to be displayed is shared into 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. Thus, the display purpose of the target multimedia information can be realized without opening the media source application program. And then, a background process corresponding to the media source application program does not need to be created, so that 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 applied to the vehicle-mounted terminal text, for example.
The above related art solutions have drawbacks, which are results obtained by the inventor after practice and careful study, and therefore, the discovery process of the above problems and the solutions proposed by the embodiments of the present invention hereinafter for the above problems should be all contributions of the inventor to the present invention in the process of the present invention.
Referring to fig. 1, a flowchart of a multimedia information sharing method according to an embodiment of the present application is shown. 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, a desktop process and a media source application program;
The above-described 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 described above may be considered an application that can provide multimedia information. Which may include, for example, applications capable of viewing 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, an empty process, and the like.
In some application scenarios, the terminal may establish a communication connection between a multimedia communication service process, a desktop process, and a media source application in the local. 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 utilizing the multimedia communication service process, and sharing the target multimedia information to the desktop process.
After the terminal establishes communication connection between the multimedia communication service process and the desktop process as well as between the terminal and the media source application program, the terminal can further utilize the multimedia communication service process to acquire target multimedia information from the media source application program. The target multimedia information can be regarded as multimedia information displayed by the indication of 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 the like. The user can enter a next level media window in which video content or audio content is provided by a selection operation of the initial option.
If the user selects a media window 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 first-level video content options such as "variety", "movie", "drama", etc. The user may select any one of the primary video content options in the media window of the desktop and enter a list of multimedia content items that include secondary video content options such as "XXX", "YYY". Here, "XXX" and "YYY" may be names of arbitrary variety, movie, or television series, for example. Then, if the user selects the category "XXX", the category may be regarded as the target multimedia information.
In other application scenarios, the multimedia content list may show first-level music content options such as "track 1", "track 2", "track 3", etc. The user may also select any one of the primary music content options in the media window of the desktop, entering a list of multimedia content items that includes secondary music content options such as "xxx", "yyy", etc. Here, "xxx" and "yyy" may be arbitrary song names, for example. Then, if the user selects the song "xxx", the song may be regarded as the target multimedia information.
In some application scenarios, the terminal may determine, according to the acquired multimedia content list, a layout manner of a display window for displaying the target multimedia information. 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 the display window displaying the target multimedia information may be adjusted to be larger so as to facilitate viewing of the video content. If the multimedia content list includes a first-level music content option, the target multimedia information can be regarded as audio content, and then the specification of the display window for displaying the target multimedia information can be adjusted to be smaller, so that the display space for displaying other display windows such as vehicle condition information, weather information and the like can be increased.
After the terminal obtains 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 variety "XXX", the multimedia communication service process may acquire information content corresponding to the variety "XXX" or information (e.g., address information or attribute information) that can be used to load the information content of the variety "XXX" from the media source application. And then the desktop process can be shared to the desktop process, so that the desktop process can be directly displayed on the desktop.
In this embodiment, through steps 101 to 102, the target multimedia information to be displayed may be shared from the media source application program to the desktop, 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 when the target multimedia information is displayed is achieved.
Furthermore, as the target multimedia information can be directly displayed on the desktop, the user can view the target multimedia information without starting the media source application program, so that complicated operation flow is saved to a certain extent, and user experience is improved.
In some application scenarios, the media source application may be an application with a camera function (i.e., the application may be communicatively connected to the camera and may obtain image information or video information transmitted by the camera, such as a camera application in a mobile phone terminal). Therefore, the terminal can directly display the image information or video information transmitted by the camera on the desktop, and the purpose of monitoring the conditions in the vehicle is achieved.
In some alternative implementations, the step 101 may include: establishing communication connection between the multimedia communication service process, 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.
In some application scenarios, when a communication connection between the multimedia communication service process and the desktop process, the media source application program is established, the communication connection may be implemented through a communication component/file. In these application scenarios, the communication component/file may include a content provider, a media browser, or an android interface definition language file.
The Content Provider (Content Provider) can achieve the purpose of information sharing. Which may provide data from one application to other applications/processes by requesting it.
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 (Android Interface Definition Language, abbreviated as AIDL file) can realize application program/process communication so as to realize 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.
In the implementation mode, communication connection between the multimedia communication service process, the desktop process and the media source application program is established through the communication component/file, so that not only can audio content and image content be transmitted, but also video content can be transmitted. Thus, the method can be applied to more media source application programs, and has higher practicability.
In some alternative implementations, when the communication connection is established through the media browser, the obtaining, by the multimedia communication service process, the target multimedia information from the media source application in step 102 may include the following sub-steps:
A substep 1021 of sending, by using the multimedia communication service process, an instruction to be displayed and 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 transmitting 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 an instruction to be displayed for displaying the target multimedia information and metadata (MEDIAITEM) for describing the target multimedia information to the media source application program. The metadata here may include DISPLAY ID (virtual screen identifier) or DEEPLINK ACTIVITY INTENT (page skip mode) or the like for uniquely identifying the target multimedia information, for example.
And step 1022, returning the shared address information of the target multimedia information by using the media source application program according to the instruction to be displayed and the metadata.
After receiving the instruction to be displayed and MEDIAITEM, the media source application program can initialize its own player and obtain the address information of the display page where the target multimedia information is located. This address information (e.g., deepLink of the presentation page) may then be returned to the multimedia communication service process through the Media Browser. The DeepLink (deep link) can also be regarded as the shared address information corresponding to the target multimedia information.
In the implementation manner, the shared address information of the target multimedia information can be transmitted through the Media Browser so as to be capable of transmitting video content, and the problem that the Media Browser cannot transmit the video content is solved.
In some optional implementations, the sharing of the target multimedia information to the desktop process by the multimedia communication service process in step 102 above may include the following sub-steps:
a sub-step 1023 of sharing the shared address information to the desktop process 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 step 1024, acquiring information content corresponding to the target multimedia information by using the desktop process according to the shared address information.
After the desktop process receives the shared address information, a video image layer assembly (Surface) and a Virtual screen (Virtual Display) can be created, and according to the obtained DeepLink, a Display page of the target multimedia information is loaded onto the Virtual Display, and then the target multimedia information in the Display page can be directly displayed on the desktop.
In some alternative implementations, the step 102 may include: and after loading the information content corresponding to the target multimedia information by utilizing the multimedia communication service process, sharing the information content to the desktop process.
In some application scenarios, the terminal may also implement the loading process of the target multimedia information using the multimedia communication service process. Specifically, the multimedia communication service process may obtain the information content of the target multimedia information or the shared address information of the target multimedia information from the media source application program, load the information content of the target multimedia information, and then share the information content to the desktop process.
Further, in these application scenarios, when information is transmitted through the communication connection established by the AIDL file and the Content Provider, the transmitted information Content may be the information Content of the target multimedia information; when information is transmitted through a communication connection established by the Media Browser, shared address information where the target multimedia information is located is transmitted.
In this implementation manner, a manner of loading information content corresponding to target multimedia information through a multimedia communication service process is provided. Those skilled in the art can adaptively select a multimedia communication service process or a desktop process to perform a loading process of information contents.
In some optional implementations, after the step 102, the multimedia information sharing method may further include a step 103: using the desktop process to layout the display window on the desktop according to the type of the target multimedia information; or using the desktop process to layout the display window on the desktop according to the layout instruction for layout the desktop.
The desktop process can also lay out the display 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, the terminal may present multiple types of multimedia information. The terminal may, for example, set different layouts for different types of multimedia information in advance. For example, for multimedia information of a video type, a video display window for displaying the multimedia information can be set to a display specification of m×n, and the video display window is set on the right side of a desktop; for multimedia information of audio type, the audio display window for displaying the multimedia information may be set to x×y display specifications, and the audio display window may be set on the left side of the desktop (for example, the layout manner shown in fig. 2). M, n, x, y here may be any specification number that can be accommodated in the terminal desktop.
In other application scenarios, the terminal may also only show one type of multimedia information. Specifically, to enhance the viewing experience of the user, the terminal may simply layout a video presentation window of the video type (e.g., the layout manner shown in fig. 3).
The desktop process can also lay out the display window on the desktop according to the layout instruction of the user. Specifically, the desktop process may, for example, provide an option for a layout manner (e.g., a preview layout manner shown in fig. 2 or 3), and the user may select one of the layout manners to layout.
It should be noted that, for driving safety, when the display window is laid out on the desktop of the vehicle-mounted terminal, the vehicle condition window for displaying the vehicle condition information should be always laid out (for example, the layout manner shown in fig. 2 or fig. 3).
In the implementation manner, the terminal can perform layout on the display window on the desktop based on the type or layout instruction of the target multimedia information, so that the target multimedia information can be displayed in the layout display window without full-screen display, occupation of a graphic processor (graphics processing unit, GPU for short), a central processing unit (central processing unit, CPU for short) and running memory in full-screen display is saved, and system performance is improved.
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, and forwarding the control instruction to the media source application program by using the multimedia communication service process so as to execute control operation by using the media source application program according to the control instruction; the control instruction is used for controlling the display effect of the target multimedia information.
The display effects may include, for example, effects of starting playing, pausing display, increasing/decreasing volume, fast forward/fast backward playing, 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 sharpness adjustment operation, and the like.
In some application scenarios, a desktop process may receive a control instruction sent by a user. For example, the user may send a control instruction for suspending the display effect of playing the current video content to the desktop process by clicking on the screen in the display window for playing the video on the desktop.
After receiving the control instruction, the desktop process may forward it to the multimedia communication service process for further forwarding to the media source application through the multimedia communication service process.
After receiving the control instruction, the media source application program can execute the control operation corresponding to the control instruction, so that the display effect of suspending playing of the current video content can be realized.
In the implementation manner, 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. And then, the user can not send the control instruction to the media source application program, so that the complicated operation flow is omitted to a certain extent, and the user experience is improved.
Referring to fig. 4, a block diagram of a multimedia information sharing apparatus according to an embodiment of the present application is shown, where the multimedia information sharing apparatus may be a module, a program segment, or a code on an electronic device. It should be understood that the apparatus corresponds to the embodiment of the method of fig. 1 described above, and is capable of performing the steps involved in the embodiment of the method of fig. 1, and specific functions of the apparatus may be referred to in the foregoing description, and detailed descriptions thereof are omitted herein as appropriate to avoid redundancy.
Alternatively, the above-described multimedia information sharing apparatus is applied to a terminal using an android system, and may include a setup module 401 and a sharing module 402. The establishing module 401 is configured to establish communication connection between the multimedia communication service process and the desktop process, and between the multimedia communication service process and the media source application program; and the sharing module 402 is configured to obtain target multimedia information from the media source application program 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, 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, sending an instruction to be displayed and metadata corresponding to the target multimedia information to the media source application program by utilizing the multimedia communication service process; and returning the shared 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 using the multimedia communication service process; and acquiring information content corresponding to the target multimedia information according to the shared address information by utilizing the desktop process.
Optionally, the sharing module 402 is further configured to: and after loading the information content corresponding to the target multimedia information by utilizing the multimedia communication service process, sharing the information content to the desktop process.
Optionally, the multimedia information sharing device further comprises a layout module. The layout module is used for: after the target multimedia information is obtained from the media source application program by the multimedia communication service process and is shared to the desktop process, the display window on the desktop is laid out by the desktop process according to the type of the target multimedia information; or using the desktop process to layout the display window on the desktop according to the layout instruction for layout the desktop.
Optionally, the multimedia information sharing device further includes a control module, where the control module is configured to: after the multimedia communication service process is utilized to acquire target multimedia information from the media source application program and share the target multimedia information to the desktop process, receiving a control instruction by the desktop process, and forwarding the control instruction to the media source application program by utilizing the multimedia communication service process so as to execute a control operation according to the control instruction by utilizing 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 convenience and brevity, a person skilled in the art will clearly understand that, for the specific working procedure of the apparatus described above, reference may be made to the corresponding procedure in the foregoing method embodiment, and the description will not be repeated here.
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, such as 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 for 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 a nonvolatile memory (non-volatile memory), such as at least one magnetic disk memory. The memory 503 may also optionally be at least one storage device located remotely from the aforementioned processor. The memory 503 has stored therein computer readable instructions which, when executed by the processor 501, may cause the electronic device to perform the method process described above with respect to fig. 1.
It will be appreciated that the configuration shown in fig. 5 is merely illustrative, and that the electronic device may also include more or fewer components than shown in fig. 5, or 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 having stored thereon a computer program which, when executed by a processor, is capable of performing a method procedure performed by an electronic device as 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 execution of the methods provided by the method embodiments described above, e.g. the method may comprise: establishing communication connection between a multimedia communication service process and a desktop process as well as between a media source application program; and acquiring target multimedia information from the media source application program by utilizing 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 manners. The above-described apparatus embodiments are merely illustrative, for example, the division of the units is merely a logical function division, and there may be other manners of division in actual implementation, and for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some communication interface, device or unit indirect coupling or communication connection, which may be in electrical, mechanical or other form.
Further, the units described as separate units may or may not be physically separate, and units displayed as units may or may not be physical units, may be located in one place, or may be distributed over a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
Furthermore, functional modules in various embodiments of the present application may be integrated together to form a single portion, or each module may exist alone, or two or more modules may be integrated to form a single portion.
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 variations will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the protection scope of the present application.
Claims (7)
1. The multimedia information sharing method is characterized by being applied to a terminal using an android system and comprising the following steps of:
Establishing communication connection between a multimedia communication service process and a desktop process as well as between a media source application program;
Acquiring target multimedia information from the media source application program by utilizing the multimedia communication service process, and sharing the target multimedia information to the desktop process;
the establishing communication connection between the multimedia communication service process, the desktop process and the media source application program comprises the following steps:
Establishing communication connection between the multimedia communication service process, a desktop process and a media source application program through a communication component/file; the communication component/file comprises a content provider, a media browser or an android interface definition language file;
When the communication connection is established through the media browser, the method for acquiring the target multimedia information from the media source application program by utilizing the multimedia communication service process comprises the following steps:
Transmitting an instruction to be displayed and metadata corresponding to the target multimedia information to the media source application program by utilizing the multimedia communication service process; and
Returning the shared address information of the target multimedia information by using the media source application program according to the instruction to be displayed and the metadata;
sharing the target multimedia information to the desktop process using the multimedia communication service process, comprising:
Sharing the shared address information to the desktop process by using the multimedia communication service process; and
And acquiring information content corresponding to the target multimedia information according to the shared address information by utilizing the desktop process.
2. The method of claim 1, wherein the utilizing the multimedia communication service process to obtain target multimedia information from the media source application and share the target multimedia information to the desktop process comprises:
and after loading the information content corresponding to the target multimedia information by utilizing the multimedia communication service process, sharing the information content to the desktop process.
3. The method of claim 1, wherein after the utilizing the multimedia communication service process to obtain target multimedia information from the media source application and sharing the target multimedia information to the desktop process, the method further comprises:
using the desktop process to layout the display window on the desktop according to the type of the target multimedia information; or alternatively
And utilizing the desktop process to layout the display window on the desktop according to the layout instruction for layout the desktop.
4. The method of claim 1, wherein after the utilizing the multimedia communication service process to obtain target multimedia information from the media source application and sharing the target multimedia information to the desktop process, the method further comprises:
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 control operation by using the media source application program according to the control instruction; the control instruction is used for controlling the display effect of the target multimedia information.
5. The multimedia information sharing device is characterized by being applied to a terminal using an android system, and comprising:
The establishing module is used for establishing communication connection between the multimedia communication service process and the desktop process as well as between the multimedia communication service process and the media source application program; the establishing communication connection between the multimedia communication service process, the desktop process and the media source application program comprises the following steps:
Establishing communication connection between the multimedia communication service process, a desktop process and a media source application program through a communication component/file; the communication component/file comprises a content provider, a media browser or an android interface definition language file;
The sharing module is used for acquiring target multimedia information from the media source application program by utilizing the multimedia communication service process and sharing the target multimedia information to the desktop process;
When the communication connection is established through the media browser, the method for acquiring the target multimedia information from the media source application program by utilizing the multimedia communication service process comprises the following steps: transmitting an instruction to be displayed and metadata corresponding to the target multimedia information to the media source application program by utilizing the multimedia communication service process; and returning the shared address information of the target multimedia information according to the instruction to be displayed and the metadata by using the media source application program;
The sharing module is further to: sharing the shared address information to the desktop process by using the multimedia communication service process; and acquiring information content corresponding to the target multimedia information according to the shared address information by utilizing the desktop process.
6. An electronic device comprising a processor and a memory storing computer readable instructions that, when executed by the processor, perform the method of any of claims 1-4.
7. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, performs the method according to any of claims 1-4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210609818.8A CN114942812B (en) | 2022-05-31 | 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 | 2022-05-31 | Multimedia information sharing method and device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114942812A CN114942812A (en) | 2022-08-26 |
CN114942812B true CN114942812B (en) | 2024-04-30 |
Family
ID=82908628
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210609818.8A Active CN114942812B (en) | 2022-05-31 | 2022-05-31 | Multimedia information sharing method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114942812B (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010114724A2 (en) * | 2009-04-03 | 2010-10-07 | Social Communications Company | Application sharing |
CN103348657A (en) * | 2012-02-06 | 2013-10-09 | 华为技术有限公司 | Stream media playing method, device and system |
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 |
CN110932963A (en) * | 2019-11-21 | 2020-03-27 | 北京达佳互联信息技术有限公司 | Multimedia resource sharing method, system, device, terminal, server and medium |
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TWI451268B (en) * | 2011-11-08 | 2014-09-01 | Inst Information Industry | Cloud-based sysyem for providing virtual desktop, method for playing multimedia on virtual desktop and computer readable storage medium storing thereof |
-
2022
- 2022-05-31 CN CN202210609818.8A patent/CN114942812B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010114724A2 (en) * | 2009-04-03 | 2010-10-07 | Social Communications Company | Application sharing |
CN103348657A (en) * | 2012-02-06 | 2013-10-09 | 华为技术有限公司 | Stream media playing method, device and system |
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 |
CN110932963A (en) * | 2019-11-21 | 2020-03-27 | 北京达佳互联信息技术有限公司 | Multimedia resource sharing method, system, device, terminal, server and medium |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN114942812A (en) | 2022-08-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3107267B1 (en) | Techniques to push content to a connected device | |
JP5488180B2 (en) | Content reproduction apparatus, control information providing server, and content reproduction system | |
US11503356B2 (en) | Intelligent multi-device content distribution based on internet protocol addressing | |
WO2020133373A1 (en) | Video processing method, apparatus, and electronic device, and computer readable storage medium | |
CN102685576B (en) | For the method and apparatus switched between native applications and the second application | |
WO2020233142A1 (en) | Multimedia file playback method and apparatus, electronic device, and storage medium | |
JP6093482B2 (en) | Method and apparatus for displaying search results on portable terminal | |
WO2020151599A1 (en) | Method and apparatus for publishing video synchronously, electronic device, and readable storage medium | |
US8880695B2 (en) | Information processing apparatus and information processing method | |
CN111694625B (en) | Method and equipment for projecting screen from car box to car machine | |
CN109510881A (en) | Method, apparatus, electronic equipment and the readable storage medium storing program for executing of sharing files | |
WO2015035957A1 (en) | Video resource obtaining method, backend server, video client, and system | |
US20170034551A1 (en) | Dynamic screen replication and real-time display rendering based on media-application characteristics | |
CN112218151A (en) | Screen projection method, device, computer storage medium and system | |
CN104349177A (en) | Method for turning to play multimedia file under desktop cloud, virtual machine and system | |
CN110709838B (en) | Method, system and medium for updating web pages rendered with cached content | |
CN112055251A (en) | Media data playing method, device, equipment and storage medium | |
WO2017140226A1 (en) | Video processing method and device therefor | |
CN112528177B (en) | Method for connecting waiting page switching content pages, electronic equipment and storage medium | |
CN104580783A (en) | Information processing apparatus that controls transfer of image, and control method therefor | |
CN102209116A (en) | Method and device for acquiring Internet protocol television program information, and television | |
CN113596530A (en) | Method and device for transferring data | |
JP5722633B2 (en) | Content management at the functional level | |
CN114942812B (en) | Multimedia information sharing method and device and electronic equipment | |
CN107092494B (en) | Method and device for accessing APK (android Package) resource |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |