Multimedia data processing method, device, electronic device and storage medium

By generating plug-in management units and target plug-ins to process multimedia data, the problem of poor multimedia data processing effects in the prior art is solved, and efficient visual multimedia data playback on the first system is achieved.

CN114095781BActive Publication Date: 2024-09-24DOUYIN VISION CO LTD
View PDF 11 Cites 0 Cited by

Patent Information

Application Number
CN202111290534.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-02
Publication Date
2024-09-24
Estimated Expiration
2041-11-02

AI Technical Summary

Technical Problem

The multimedia data processing effect in the prior art is poor and cannot effectively improve the playback quality of multimedia data.

Method used

By receiving the multimedia playback request, a plug-in management unit is generated, and a target plug-in is generated according to the playback plug-in identification, and the multimedia data is processed and transmitted, so that the first system plays the data in a visual form. Specific steps include obtaining multimedia data types, determining transmission channels, using target plug-ins to process and transmit data, and achieving efficient playback of multimedia data.

Benefits of technology

The multimedia data processing effect is improved, allowing multimedia data to be played efficiently in a visual form on the first system, and the compatibility and efficiency of multimedia data processing are enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114095781B
    Figure CN114095781B
Patent Text Reader

Abstract

The present invention provides a multimedia data processing method, device, electronic device and storage medium, and relates to the field of embedded software technology. The multimedia data processing method includes: receiving a multimedia playback request sent by a first system, wherein the multimedia playback request carries a playback plug-in identifier; generating a plug-in management unit in a second system in response to the multimedia playback request; generating a target plug-in on the plug-in management unit according to the playback plug-in identifier; processing the multimedia data using the target plug-in to obtain target multimedia data; transmitting the target multimedia data to the first system so that the first system plays the target multimedia data in a visual form. This method can improve the processing effect of multimedia data.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of embedded technology, and in particular to a multimedia data processing method, device, electronic equipment and storage medium. Background Art

[0002] With the development of embedded technology, its application is almost everywhere, such as smart home, industrial control enterprises and consumer electronics. Embedded system is a special computer system centered on application and based on modern computer technology, which can flexibly tailor software and hardware modules according to user needs, such as function, reliability, cost, volume, power consumption or environment. The resource allocation, task scheduling or coordination of the above software and hardware are inseparable from the operating system. The operating system generally used on the terminal includes Android operating system, which can provide upper-level applications with certain functions and realize the playback of multimedia data by processing multimedia data.

[0003] The multimedia data method in the prior art has the problem of poor processing effect. Summary of the invention

[0004] The present invention provides a multimedia data processing method, device, electronic device and storage medium, which are used to solve the defect of poor multimedia data processing effect in the prior art and achieve the purpose of improving the multimedia data processing effect.

[0005] The present invention provides a multimedia data processing method, comprising: receiving a multimedia playback request sent by a first system, the multimedia playback request carrying a playback plug-in identifier; generating a plug-in management unit in a second system in response to the multimedia playback request; generating a target plug-in on the plug-in management unit according to the playback plug-in identifier; processing the multimedia data using the target plug-in to obtain target multimedia data; transmitting the target multimedia data to the first system so that the first system plays the target multimedia data in a visual form.

[0006] According to a multimedia data processing method provided by the present invention, transmitting the target multimedia data to the first system includes: acquiring the target multimedia data type; obtaining the target transmission channel corresponding to the target multimedia data type according to the correspondence between the target multimedia data type and the transmission channel; and transmitting the target multimedia data to the first system through the target transmission channel.

[0007] According to a multimedia data processing method provided by the present invention, generating a plug-in management unit in the second system in response to the multimedia playback request includes: obtaining playback parameters in the multimedia playback request; determining the unit generation tool corresponding to the plug-in management unit as the target unit generation tool based on the correspondence between the playback parameters and the unit generation tool; and generating the plug-in management unit in the second system using the target unit generation tool.

[0008] According to a multimedia data processing method provided by the present invention, the method also includes: obtaining a first description language for the playback parameters; the first description language is a description language for the playback parameters in the first system; converting the first description language into an intermediate description language; converting the intermediate description language into a second description language based on a correspondence between the intermediate description language and the second description language; the second description language is a description language for the playback parameters in the second system.

[0009] According to a multimedia data processing method provided by the present invention, generating a target plug-in on the plug-in management unit according to the playback plug-in identifier includes: obtaining one or more intermediate playback plug-ins corresponding to the playback plug-in identifier from a set of candidate playback plug-ins; sorting each of the intermediate playback plug-ins according to the priority of the playback plug-in to obtain an intermediate playback plug-in sequence; packaging each of the intermediate playback plug-ins in the intermediate playback plug-in sequence into an overall plug-in; and determining the overall plug-in as the target plug-in generated on the plug-in management unit.

[0010] According to a multimedia data processing method provided by the present invention, the method further includes:

[0011] The generation result between the current plug-in and the target plug-in is cancelled, and the state of the multimedia play request is switched to the event state before the initial request is not responded.

[0012] The present invention also provides a multimedia data processing device, including: a multimedia playback request receiving module, used to receive a multimedia playback request sent by a first system, the multimedia playback request carrying a playback plug-in identifier; a plug-in management unit generating module, used to generate a plug-in management unit in a second system in response to the multimedia playback request; a target plug-in generating module, used to generate a target plug-in on the plug-in management unit according to the playback plug-in identifier; a target multimedia data obtaining module, used to process the multimedia data using the target plug-in to obtain target multimedia data; a target multimedia data transmission module, used to transmit the target multimedia data to the first system, so that the first system plays the target multimedia data in a visual form.

[0013] The present invention also provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps of any of the above-mentioned multimedia data processing methods are implemented.

[0014] The present invention also provides a non-transitory computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the multimedia data processing methods described above are implemented.

[0015] The multimedia data processing method, device, electronic device and storage medium provided by the present invention receive a multimedia playback request sent by a first system, the multimedia playback request carries a playback plug-in identifier; in response to the multimedia playback request, a plug-in management unit is generated in a second system; according to the playback plug-in identifier, a target plug-in is generated on the plug-in management unit; the multimedia data is processed by the target plug-in to obtain the target multimedia data; the target multimedia data is transmitted to the first system so that the first system plays the target multimedia data in a visual form. Through the combination of the first system and the second system, the second system can process the plug-in corresponding to the multimedia playback request, so that the multimedia data can be played in a visual form on the first system, thereby improving the multimedia data processing effect. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0017] Figure 1 This is one of the application scenario schematic diagrams of the multimedia data processing method provided by the present invention;

[0018] Figure 2 It is one of the flowcharts of the multimedia data processing method provided by the present invention;

[0019] Figure 3 This is the second flow chart of the multimedia data processing method provided by the present invention;

[0020] Figure 4 This is the third flow chart of the multimedia data processing method provided by the present invention;

[0021] Figure 5 This is a fourth flow chart of the multimedia data processing method provided by the present invention;

[0022] Figure 6 This is the fifth flow chart of the multimedia data processing method provided by the present invention;

[0023] Figure 7 It is one of the structural schematic diagrams of the multimedia data processing method provided by the present invention;

[0024] Figure 8 This is the second structural schematic diagram of the multimedia data processing method provided by the present invention;

[0025] Fig. 9 It is a structural schematic diagram of the multimedia data processing device provided by the present invention;

[0026] Fig.10 It is a structural schematic diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION

[0027] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely described below in conjunction with the drawings of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0028] The multimedia data processing method provided in this application can be applied to Figure 1 In the application environment shown, it is specifically applied to a multimedia data processing system. The multimedia data processing system includes a terminal 102 and a terminal 104, wherein the terminal 102 communicates with the terminal 104 through a network. Specifically, the terminal 102 receives a multimedia playback request sent by the first system, wherein the multimedia playback request carries a playback plug-in identifier; in response to the multimedia playback request, a plug-in management unit is generated in the second system in the terminal 104; according to the playback plug-in identifier, a target plug-in is generated on the plug-in management unit; the multimedia data is processed using the target plug-in to obtain the target multimedia data; the target multimedia data is transmitted to the first system in the terminal 102, so that the first system plays the target multimedia data in a visual form. Among them, the terminal 102 or the terminal 104 can be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, and portable wearable devices. It can be understood that the above-mentioned terminal 102 and the terminal 104 can be combined into a terminal having both the first system and the second system.

[0029] Combine the following Figure 2-Figure 6 The multimedia data processing method of the present invention is described.

[0030] In one embodiment, Figure 2As shown, a multimedia data processing method is provided, which is described by taking the method applied to a terminal as an example, and includes the following steps:

[0031] Step 202: receiving a multimedia play request sent by the first system, wherein the multimedia play request carries a play plug-in identifier.

[0032] The multimedia play request refers to a request for playing multimedia data, and the play plug-in identifier refers to a mark that can uniquely identify the play plug-in.

[0033] Specifically, the terminal receives a multimedia play request sent by the first system by receiving a trigger operation on the multimedia application, and the multimedia play request carries a play plug-in identifier.

[0034] Step 204: generating a plug-in management unit in the second system in response to the multimedia play request.

[0035] The plug-in management unit refers to a unit capable of managing plug-ins in a unified manner, and the unit may include plug-ins for various multimedia data processing stages or plug-ins of different types, etc. For example, the plug-in management unit includes a stream acquisition plug-in, a decoding plug-in, or an algorithm plug-in of a multimedia video stream.

[0036] Specifically, after receiving the multimedia play request sent by the first system, the terminal generates a plug-in management unit in the second system which is a parallel system compatible with the first system in response to the multimedia play request.

[0037] Step 206: Generate a target plug-in on the plug-in management unit according to the playback plug-in identifier.

[0038] Specifically, after the terminal generates a plug-in management unit in the second system, the target plug-in can be generated on the plug-in management unit through the above-mentioned playback plug-in identifier. For example, if a picture in MP4 (Moving Picture Experts Group 4) format needs to be played on the terminal, the playback format corresponding to the picture is mpeg2 format, which can be used as a playback plug-in identifier to generate a target plug-in of mpeg2enc type on the plug-in management unit.

[0039] Step 208: Process the multimedia data using the target plug-in to obtain target multimedia data.

[0040] The multimedia data refers to data that can support multimedia playback or data containing multimedia playback content.

[0041] Specifically, after the terminal generates a target plug-in in the second system, the terminal uses the target plug-in to process the multimedia data, and the processing includes acquiring, encoding, transmitting, and decoding the multimedia data.

[0042] Step 210: transmit the target multimedia data to the first system, so that the first system plays the target multimedia data in a visual form.

[0043] Specifically, after obtaining the target multimedia data, the terminal transmits the target multimedia data to the first system compatible with the second system and running in parallel, so that the first system plays the target multimedia data in a visual form, completing the entire process from sending a request to playing the multimedia data by the terminal.

[0044] In the above-mentioned multimedia data processing method, a multimedia play request sent by a first system is received, and the multimedia play request carries a play plug-in identifier; a plug-in management unit is generated in the second system in response to the multimedia play request; a target plug-in is generated on the plug-in management unit according to the play plug-in identifier; the multimedia data is processed by the target plug-in to obtain the target multimedia data; the target multimedia data is transmitted to the first system so that the first system plays the target multimedia data in a visual form. Through the combination of the first system and the second system, the second system can process the plug-in corresponding to the multimedia play request, so that the multimedia data can be played in a visual form on the first system, thereby improving the multimedia data processing effect.

[0045] In one embodiment, Figure 3 As shown, transmitting the target multimedia data to the first system includes:

[0046] Step 302: Obtain target multimedia data type.

[0047] The multimedia data type refers to the type of multimedia data when it is played, which includes pictures, videos or audios.

[0048] Specifically, the terminal judges the acquired target multimedia data through the multimedia data type judgment plug-in to acquire the target multimedia data type.

[0049] Step 304: Obtain a target transmission channel corresponding to the target multimedia data type according to the corresponding relationship between the target multimedia data type and the transmission channel.

[0050] The transmission channel refers to a communication channel that can transmit multimedia data.

[0051] Specifically, after the terminal obtains the target multimedia data type, each target multimedia data type is provided with a corresponding transmission channel, and the target transmission channel corresponding to the target multimedia data type is obtained.

[0052] Step 306: Transmit the target multimedia data to the first system through the target transmission channel.

[0053] Specifically, after obtaining the target transmission channel, the terminal can transmit the corresponding target multimedia data to the first system through the target transmission channel. It can be understood that the multimedia data is processed in the second system of the terminal, and the target multimedia data obtained after processing is transmitted to the first system through the corresponding transmission channel. For example, the audio is returned through the ARC (Audio return channel) channel.

[0054] In this embodiment, by acquiring the target multimedia data type and obtaining the target transmission channel corresponding to the target multimedia data type based on the correspondence between the target multimedia data type and the transmission channel, the target multimedia data is transmitted to the first system through the target transmission channel. This enables different types of multimedia data to be transmitted through different transmission channels, thereby achieving the purpose of improving the multimedia data processing efficiency.

[0055] In one embodiment, Figure 4 As shown, in response to the multimedia playback request, generating a plug-in management unit in the second system includes:

[0056] Step 402: Obtain the playback parameters in the multimedia playback request.

[0057] The playback parameters refer to parameters that enable multimedia data to achieve its playback function. For example, the playback parameters are parameters for eyebrow options in a video.

[0058] Specifically, the terminal can obtain the playback parameter in the multimedia playback request through the parameter identifier of the playback parameter itself. The parameter identifier can be a text description or a unique number. For example, through the text description of the parameter "heavy makeup / female / eyebrows", the playback parameter in the multimedia playback request is obtained as the playback parameter for processing eyebrows.

[0059] Step 404: According to the correspondence between the playback parameters and the unit generation tools, the unit generation tool corresponding to the plug-in management unit is determined as the target unit generation tool.

[0060] Specifically, after obtaining the playback parameters, the terminal determines to generate the corresponding target unit generation tool according to the correspondence between the playback parameters and the unit generation tool. For example, if the playback parameters obtained are playback parameters for processing eyebrows, the function or script tool of the related plug-in management unit generation is called as the target unit generation tool.

[0061] Step 406: Generate a plug-in management unit in the second system using a target unit generation tool.

[0062] Specifically, after determining the target unit generation tool, the terminal uses the target unit generation tool to generate a plug-in management unit in the second system. For example, the target unit generation tool is a creation function for rendering eyebrows, and the plug-in management unit is generated in the second system using the creation function. For example, a pipeline with an eyebrow rendering function is generated in the second system using the creation function. A pipeline refers to a plug-in management unit that can collect various plug-ins and use the above-mentioned various plug-ins in a pipeline form to complete a certain function.

[0063] In this embodiment, by obtaining the playback parameters in the multimedia playback request, the unit generation tool corresponding to the plug-in management unit is determined according to the correspondence between the playback parameters and the unit generation tool, and the target unit generation tool is used as the target unit generation tool to generate the plug-in management unit in the second system, thereby achieving the purpose of accurately determining the plug-in management unit.

[0064] In one embodiment, Figure 5 As shown, the multimedia data processing method also includes:

[0065] Step 502, obtaining a first description language of the playback parameters; the first description language is a description language of the playback parameters in the first system.

[0066] The description language refers to a language that describes the playback parameters in a language that can be recognized by the terminal and has certain grammatical rules.

[0067] Specifically, after the terminal obtains the playback parameters, it determines the description language of the playback parameters according to the grammatical structure of the playback parameters, thereby obtaining the first description language of the playback parameters. For example, if the language describing the playback parameters is the grammatical structure of the JAVA language (computer programming language), then the first description language obtained is the JAVA language. This language is the language in the first system of the terminal.

[0068] Step 504: convert the first description language into an intermediate description language.

[0069] Specifically, after acquiring the first description language, the terminal converts it into a common description language, and the common description language can be used as a tool for language conversion between the first system and the second system of the terminal.

[0070] Step 506: convert the intermediate description language into the second description language according to the correspondence between the intermediate description language and the second description language; the second description language is the description language of the playback parameters in the second system.

[0071] Specifically, after obtaining the intermediate description language, the terminal converts the intermediate description language into the second description language according to the correspondence between the intermediate description language and the second description language. For example, the first description language in the first system of the terminal is JAVA language, and the second description language in the second system is C++ (computer description language). The intermediate description language may be different from the first description language and the second description language. The first description language is first converted into the intermediate description language, and then the intermediate description language is converted into the second description language.

[0072] In this embodiment, by obtaining a first description language of the playback parameters; the first description language is the description language of the playback parameters in the first system, the first description language is converted into an intermediate description language, and according to the correspondence between the intermediate description language and the second description language, the intermediate description language is converted into the second description language, thereby achieving the purpose of compatibility between the first system and the second system in the terminal.

[0073] In one embodiment, Figure 6 As shown, generating a target plug-in on the plug-in management unit according to the playback plug-in identifier includes:

[0074] Step 602: Obtain one or more intermediate playback plug-ins corresponding to the playback plug-in identifier from the candidate playback plug-in set.

[0075] Specifically, the second system of the terminal stores various types of playback plug-ins, and the corresponding plug-in can be obtained from the playback plug-in identifier in the multimedia playback request. It can be understood that each multimedia playback request contains one or more playback plug-in identifiers, and accordingly, one or more intermediate playback plug-ins corresponding to the playback plug-in identifiers are obtained.

[0076] Step 604: sort the intermediate playback plug-ins according to the priority of the playback plug-ins to obtain an intermediate playback plug-in sequence.

[0077] Among them, priority refers to the level of priority processing. The priority can be determined according to the priority mark on the multimedia playback plug-in, or according to the ranking of the plug-in on the plug-in management unit. The priority can determine the order in which the plug-ins are executed on the plug-in management unit. The higher the priority, the earlier the execution time; the lower the priority, the later the execution time.

[0078] Specifically, after obtaining one or more intermediate playback plug-ins corresponding to the playback plug-in identifier, the terminal sorts each intermediate playback plug-in according to the priority of the playback plug-in to obtain an intermediate playback plug-in sequence. For example, the priority of the playback plug-in is represented by a number, and the larger the number, the higher the priority; if the priority of intermediate playback plug-in 1 is 50 and the priority of intermediate playback plug-in 2 is 20, then intermediate playback plug-in 1 is sorted before intermediate playback plug-in 2. When the plug-in is executed, intermediate playback plug-in 1 is executed first, and then intermediate playback plug-in 2 is executed.

[0079] Step 606: Pack each intermediate playback plug-in in the intermediate playback plug-in sequence into an integral plug-in.

[0080] Specifically, after obtaining the intermediate playback plug-in sequence, the terminal can package the intermediate playback plug-ins in the sequence into an overall plug-in, so that after receiving the same multimedia playback request, the overall plug-in can be called as a whole, thereby improving the plug-in calling efficiency.

[0081] Step 608: Determine that the overall plug-in is a target plug-in generated on the plug-in management unit.

[0082] Specifically, after obtaining the overall plug-in, the terminal determines the overall plug-in as the target plug-in so that when establishing the corresponding plug-in management unit, the target plug-in can be directly called, thereby improving the processing efficiency of multimedia data. For example, to perform beauty processing on the portrait in the video, an encoding plug-in, a decoding plug-in, a rendering plug-in, a blur algorithm plug-in, and a filter plug-in are required. The above plug-ins can be combined into a plug-in management unit of a portrait beauty plug-in. When there is a playback mark of portrait beauty processing in the multimedia playback request, the plug-in management unit of the portrait beauty plug-in can be directly called.

[0083] In this embodiment, by obtaining one or more intermediate playback plug-ins corresponding to the playback plug-in identifier from the candidate playback plug-in set, sorting each intermediate playback plug-in according to the priority of the playback plug-in, obtaining an intermediate playback plug-in sequence, packaging each intermediate playback plug-in in the intermediate playback plug-in sequence into an overall plug-in, and determining the overall plug-in as the target plug-in generated on the plug-in management unit, the purpose of improving the multimedia data processing efficiency can be achieved.

[0084] In one embodiment, the multimedia data processing method further includes: canceling the generation result between the current plug-in and the target plug-in, and switching the state of the multimedia play request to an event state before the initial request is not responded.

[0085] Specifically, when the terminal receives a multimedia playback request, it searches for a corresponding plug-in in the second system according to the playback plug-in identifier in the request. When an exception occurs when searching for a plug-in, the operation of the previously found plug-in and the found plug-in are canceled, and the plug-ins in the plug-in collection are traversed again in the manner of the initial multimedia playback request to regenerate the target plug-in.

[0086] In this embodiment, by canceling the generation result between the current plug-in and the target plug-in and switching the state of the multimedia playback request to the event state before the initial request is not responded, the exception handling capability in the multimedia data processing process can be improved.

[0087] In one embodiment, the first system of the terminal is an Android operating system, and the second system is a Linux operating system. The Linux operating system is another operating system different from the Android operating system. The Android operating system can provide a video playback framework, and the upper-level application of video playback is provided through the playback framework. The Android encoding and decoding in the prior art mainly rely on the Medialayer and Mediaodec classes, and the functional processing of images and videos is not very rich. The multimedia architecture of the pipeline in the Gstreamer class in the Linux operating system can perform richer processing on the video in the form of a plug-in. Specifically, the functions of acquisition, encoding, decoding, rendering and filtering are implemented in the form of a plug-in. Finally, the various modules are connected in series to achieve the expected effect. An obvious advantage is that the specified effect can be inserted into the video. For example, the processing of portrait beauty in the video can be implemented by inserting it into the pipeline in the form of a plug-in, and the processing of image blur can also be implemented by adding the corresponding blur algorithm in the pipeline, and the video can be processed in a hot-swappable manner. Figure 7As shown, pipeline can combine supported pipelines and can be easily cut in the form of switches. At the bottom is a collection of all plugins in the framework, including built-in plugins and custom plugins in the Gstreamer framework. For example, the filescr plugin for reading files or the gst-droid plugin for transmitting video data to the Android operating system. The Android operating system can communicate with the Linux operating system through a compatible interface. This reduces the cumbersome development procedures and maintenance difficulties caused by the development of the Android operating system, while enhancing the compatibility of the multimedia parts of the dual systems.

[0088] In one embodiment, Figure 8 As shown, when the video starts to play in the above-mentioned Android operating system, the relevant control interface or interface control function is called through the system compatible interface, a pipeline is established in the Linux operating system, and the functional plug-in required for video playback is inserted into the pipeline to process the video. The processed video data and audio data are returned to the Android operating system through different transmission channels, and the processed video and audio are played in a visual form on the system application on the application interface supported by the Android operating system.

[0089] The multimedia data processing device provided by the present invention is described below. The multimedia data processing device described below and the multimedia data processing method described above can be referred to each other.

[0090] In one embodiment, Fig. 9 As shown, a multimedia data processing device 900 is provided, including: a multimedia playback request receiving module 902, a plug-in management unit generating module 904, a target plug-in generating module 906, a target multimedia data obtaining module 908 and a target multimedia data transmission module 910, wherein: the multimedia playback request receiving module 902 is used to receive a multimedia playback request sent by a first system, and the multimedia playback request carries a playback plug-in identifier; the plug-in management unit generating module 904 is used to generate a plug-in management unit in the second system in response to the multimedia playback request; the target plug-in generating module 906 is used to generate a target plug-in on the plug-in management unit according to the playback plug-in identifier; the target multimedia data obtaining module 908 is used to process the multimedia data using the target plug-in to obtain the target multimedia data; the target multimedia data transmission module 910 is used to transmit the target multimedia data to the first system, so that the first system plays the target multimedia data in a visual form.

[0091] In one embodiment, the target multimedia data transmission module 910 includes: a target multimedia data type acquisition unit, a target transmission channel acquisition unit and a target multimedia data transmission unit, wherein: the target multimedia data type acquisition unit is used to acquire the target multimedia data type; the target transmission channel acquisition unit is used to obtain the target transmission channel corresponding to the target multimedia data type according to the correspondence between the target multimedia data type and the transmission channel; the target multimedia data transmission unit is used to transmit the target multimedia data to the first system through the target transmission channel.

[0092] In one embodiment, the plug-in management unit generation module 904 is used to obtain playback parameters in a multimedia playback request; determine the unit generation tool corresponding to the plug-in management unit as the target unit generation tool based on the correspondence between the playback parameters and the unit generation tool; and use the target unit generation tool to generate the plug-in management unit in the second system.

[0093] In one embodiment, a multimedia data processing device is used to obtain a first description language of playback parameters; the first description language is a description language of the playback parameters in a first system; the first description language is converted into an intermediate description language; according to the correspondence between the intermediate description language and the second description language, the intermediate description language is converted into a second description language; the second description language is a description language of the playback parameters in a second system.

[0094] In one embodiment, the target plug-in generation module 906 is used to obtain one or more intermediate playback plug-ins corresponding to the playback plug-in identifier from the candidate playback plug-in set; sort the intermediate playback plug-ins according to the priority of the playback plug-in to obtain an intermediate playback plug-in sequence; package the intermediate playback plug-ins in the intermediate playback plug-in sequence into an overall plug-in; and determine that the overall plug-in is the target plug-in generated on the plug-in management unit.

[0095] In one embodiment, the multimedia data processing device is used to cancel the generation result between the current plug-in and the target plug-in, and switch the state of the multimedia playback request to an event state before the initial request is not responded.

[0096] Fig.10 An example of a physical structure diagram of an electronic device is shown in FIG. Fig.10As shown, the electronic device may include: a processor 1010, a communication interface 1020, a memory 1030 and a communication bus 1040, wherein the processor 1010, the communication interface 1020 and the memory 1030 communicate with each other through the communication bus 1040. The processor 1010 may call the logic instructions in the memory 1030 to execute a multimedia data processing method, the method comprising: receiving a multimedia playback request sent by a first system, the multimedia playback request carrying a playback plug-in identifier; generating a plug-in management unit in the second system in response to the multimedia playback request; generating a target plug-in on the plug-in management unit according to the playback plug-in identifier; processing the multimedia data using the target plug-in to obtain the target multimedia data; transmitting the target multimedia data to the first system so that the first system plays the target multimedia data in a visual form.

[0097] In addition, the logic instructions in the above-mentioned memory 1030 can be implemented in the form of software functional units and can be stored in a computer-readable storage medium when sold or used as an independent product. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0098] On the other hand, the present invention also provides a computer program product, which includes a computer program stored on a non-transitory computer-readable storage medium, and the computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute the multimedia data processing method provided by the above-mentioned methods, and the method includes: receiving a multimedia playback request sent by a first system, the multimedia playback request carrying a playback plug-in identifier; generating a plug-in management unit in a second system in response to the multimedia playback request; generating a target plug-in on the plug-in management unit according to the playback plug-in identifier; processing the multimedia data using the target plug-in to obtain target multimedia data; and transmitting the target multimedia data to the first system so that the first system plays the target multimedia data in a visual form.

[0099] On the other hand, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, is implemented to execute the multimedia data processing methods provided above, the methods comprising: receiving a multimedia playback request sent by a first system, the multimedia playback request carrying a playback plug-in identifier; generating a plug-in management unit in a second system in response to the multimedia playback request; generating a target plug-in on the plug-in management unit according to the playback plug-in identifier; processing the multimedia data using the target plug-in to obtain target multimedia data; and transmitting the target multimedia data to the first system so that the first system plays the target multimedia data in a visual form.

[0100] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.

[0101] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0102] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A multimedia data processing method, characterized in that: include: receiving a multimedia playback request sent by the first system, wherein the multimedia playback request carries a playback plug-in identifier; In response to the multimedia playback request, generating a plug-in management unit in the second system; Generating a target plug-in on the plug-in management unit according to the playback plug-in identifier; Processing the multimedia data using the target plug-in to obtain target multimedia data; transmitting the target multimedia data to the first system so that the first system plays the target multimedia data in a visual form; In response to the multimedia playback request, generating a plug-in management unit in the second system includes: Obtaining playback parameters in the multimedia playback request; According to the correspondence between the playback parameters and the unit generation tool, determining the unit generation tool corresponding to the plug-in management unit as the target unit generation tool; The target unit generation tool is used to generate a plug-in management unit in the second system.

2. The multimedia data processing method according to claim 1, characterized in that: The transmitting the target multimedia data to the first system comprises: Acquire the target multimedia data type; According to the correspondence between the target multimedia data type and the transmission channel, obtaining the target transmission channel corresponding to the target multimedia data type; The target multimedia data is transmitted to the first system through the target transmission channel.

3. The multimedia data processing method according to claim 1, characterized in that: The method further comprises: Acquire a first description language of the playback parameter; the first description language is a description language of the playback parameter in the first system; converting the first description language into an intermediate description language; According to the correspondence between the intermediate description language and the second description language, the intermediate description language is converted into the second description language; the second description language is the description language of the playback parameters in the second system.

4. The multimedia data processing method according to claim 1, characterized in that: Generating a target plug-in on the plug-in management unit according to the playback plug-in identifier includes: Acquire one or more intermediate playback plug-ins corresponding to the playback plug-in identifier from the candidate playback plug-in set; According to the priority of the playback plug-in, the intermediate playback plug-ins are sorted to obtain an intermediate playback plug-in sequence; Packing each of the intermediate playback plug-ins in the intermediate playback plug-in sequence into an integral plug-in; The overall plug-in is determined to be a target plug-in generated on the plug-in management unit.

5. The multimedia data processing method according to any one of claims 1 to 4, characterized in that: The method further comprises: The generation result between the current plug-in and the target plug-in is cancelled, and the state of the multimedia play request is switched to the event state before the initial request is not responded.

6. A multimedia data processing device, characterized in that: include: A multimedia play request receiving module, used for receiving a multimedia play request sent by the first system, wherein the multimedia play request carries a play plug-in identifier; A plug-in management unit generation module, configured to generate a plug-in management unit in the second system in response to the multimedia playback request; wherein the playback parameters in the multimedia playback request are obtained; according to the correspondence between the playback parameters and the unit generation tool, the unit generation tool corresponding to the plug-in management unit is determined as the target unit generation tool; and the plug-in management unit is generated in the second system using the target unit generation tool; A target plug-in generation module, used to generate a target plug-in on the plug-in management unit according to the playback plug-in identifier; A target multimedia data obtaining module, used for processing the multimedia data using the target plug-in to obtain the target multimedia data; The target multimedia data transmission module is used to transmit the target multimedia data to the first system so that the first system plays the target multimedia data in a visual form.

7. The multimedia data processing device according to claim 6, characterized in that: The target multimedia data transmission module comprises: A target multimedia data type acquisition unit, used to acquire the target multimedia data type; a target transmission channel obtaining unit, configured to obtain a target transmission channel corresponding to the target multimedia data type according to a correspondence between the target multimedia data type and the transmission channel; The target multimedia data transmission unit is used to transmit the target multimedia data to the first system through the target transmission channel.

8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the steps of the multimedia data processing method according to any one of claims 1 to 5 are implemented.

9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the multimedia data processing method according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Method and device for playing network streaming media

    CN101827251A

  • Method and device for playing media file

    CN107690084A

  • Method of running Android application across systems, terminal and storage medium

    CN108170503A

  • Video live broadcast method and system and electronic equipment

    CN111416989A

  • Method, device and equipment for playing multimedia and storage medium

    CN111723219A