WO2018157743A1 - Media data processing method, device, system and storage medium - Google Patents
Media data processing method, device, system and storage medium Download PDFInfo
- Publication number
- WO2018157743A1 WO2018157743A1 PCT/CN2018/076676 CN2018076676W WO2018157743A1 WO 2018157743 A1 WO2018157743 A1 WO 2018157743A1 CN 2018076676 W CN2018076676 W CN 2018076676W WO 2018157743 A1 WO2018157743 A1 WO 2018157743A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- media data
- processing
- server
- client
- service
- Prior art date
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 11
- 238000012545 processing Methods 0.000 claims abstract description 428
- 238000000034 method Methods 0.000 claims abstract description 99
- 230000004044 response Effects 0.000 claims abstract description 30
- 230000008569 process Effects 0.000 claims description 71
- 238000012795 verification Methods 0.000 claims description 64
- 238000004806 packaging method and process Methods 0.000 claims 1
- 230000000694 effects Effects 0.000 description 17
- 230000006870 function Effects 0.000 description 13
- 230000003993 interaction Effects 0.000 description 13
- 238000010586 diagram Methods 0.000 description 9
- 230000002452 interceptive effect Effects 0.000 description 9
- 238000005516 engineering process Methods 0.000 description 7
- 238000004891 communication Methods 0.000 description 5
- 238000011161 development Methods 0.000 description 5
- 238000006243 chemical reaction Methods 0.000 description 4
- 230000017105 transposition Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000007792 addition Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000644 propagated effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/60—Network streaming of media packets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/51—Discovery or management thereof, e.g. service location protocol [SLP] or web services
Definitions
- the present application relates to the field of Internet technologies, and in particular, to a media data processing method, apparatus, system, and storage medium.
- ffmpeg is an open source computer program that can be used to record, convert digital audio, video, and convert it into a stream.
- LGPL or GPL license It provides a complete solution for recording, converting, and streaming audio and video. It contains a very advanced audio/video codec library libavcodec.
- Ffmpeg is widely used in various playback software.
- the embodiment of the present application provides a media data processing method, which is applied to a data processing server.
- the method includes: performing, for any client of the current service, processing: receiving first media data uploaded by the client; according to pre-configured The media data processing requirement corresponding to the current service, processing the first media data and obtaining the second media data; and storing the second media data on the network side and obtaining a link address of the second media data; Transmitting one or more of the obtained link addresses of the current service to the service server in response to a link address acquisition request from the service server, so that the service server provides the client to any client of the current service One or more of the link addresses available at the end.
- the embodiment of the present application further provides a media data processing method, which is applied to a client, and the method includes: uploading, to a data processing server, the first media data generated by the current service, where the client is uploaded for any client of the current service.
- the first media data the data processing server processes the first media data according to a pre-configured media data processing requirement corresponding to the current service, and obtains the second media data, and stores the second media data in a network.
- the embodiment of the present application further provides a media data processing device, the device comprising a processor and a memory, the memory storing a computer readable instruction module configured to be executed by the processor; wherein the instruction module comprises: The upload processing module receives the first media data uploaded by any client of the current service; the data processing module processes the first media data and obtains the second media according to the pre-configured media data processing requirements corresponding to the current service.
- the embodiment of the present application further provides a media data processing system, including: a service server, an upload server, a processing server, and an information providing server, where the information providing server is integrated in the processing server or independently configured; Uploading the server, receiving the first media data uploaded by any client of the current service, and providing the first media data to the processing server; the processing server, according to the pre-configured media data processing demand corresponding to the current service Processing the first media data and obtaining second media data; storing the second media data on a network side and obtaining a link address of the second media data, and saving the link address in the An information providing server that sends a link address acquisition request to the information providing server in response to a request for uploading the first media data from any client of the current service; the information providing server is responsive to The link address acquisition request of the service server, Obtaining current traffic link to one or more of said address to the service server; the service server is provided to the current client service according to any one or more of the links to one of the addresses available to the client.
- the embodiment of the present application further provides a computer readable storage medium storing computer readable instructions, which may cause a processor to execute the methods of the embodiments.
- FIG. 1A is a schematic structural diagram of a system according to an embodiment of the present application.
- FIG. 1B is a schematic structural diagram of another system according to an embodiment of the present application.
- FIG. 3 is a diagram of a media data processing system according to an embodiment of the present application.
- FIG. 5 is a flowchart of a method according to another embodiment of the present application.
- FIG. 6 is a message interaction diagram of a media data processing process in an embodiment of the present application.
- Figure 7 is a structural diagram of a device according to an embodiment of the present application.
- FIG. 8 is a structural diagram of a device according to another embodiment of the present application.
- FIG. 9 is a structural diagram of a device according to an embodiment of the present application.
- the user directly in the electronic device the product refers to an application or platform with audio and video processing functions, such as: dubbing software, media player or WeChat, or can display some kind of media interaction activities
- the web page browser performs media data processing, such as audio and video processing.
- media data processing such as audio and video processing.
- the audio and video processing is performed by the dubbing software, and other functions of the dubbing software are performed during the processing. unavailable. It can be seen that the current media data processing and product coupling degree is high, media data processing will affect the use of other functions of the product, and the user waits for a long time, which makes the user experience less effective.
- the module used for media data processing in this product is complex in design, so that the product is difficult to implement and the product testing time is longer, so that the development cost of the product will be higher.
- the product may have a long processing time of the media data, and the long-term processing may bring potential risks, such as damage to the audio and video source files.
- the product changes the audio and video requirements, such as improving the audio and video processing effect or increasing the audio and video processing functions (such as adding English subtitles in audio and video), the product is also difficult to quickly achieve audio and video processing requirements. Changes.
- the product is a browser for displaying a web page, the product cannot implement complicated audio and video processing, and it is difficult to achieve the audio and video processing effect desired by the user.
- the embodiment of the present application provides a media data processing method, which can be applied to the system architecture shown in FIG. 1A.
- the system architecture includes a client 101 and a background 102.
- the background 102 includes a service server 103 (which may be a website server or an application server), a data processing server 104, and a storage server 105.
- the client 101 The backend 102 can communicate over the Internet 106.
- the client 101 refers to the aforementioned product, and may be a browser for displaying a page of a media interactive activity (such as an interactive advertising event, the activity may be implemented in the form of a web page) or an application (APP) (such as a dubbing software, etc.).
- APP application
- the user using the client 101 can generate media data processing requirements such as transposition, background music, audio conversion, and clip playback of the video material.
- data processing server 104 encapsulates these processing requirements into processing processes.
- the processing requirements of media data of different types of clients 101 ie, processing requirements of different services
- the service corresponds to a service identifier (such as a project ID).
- Each service identifier corresponds to a processing process, and the name of the processing process can be associated with the service identifier (for example, the name of the processing process can include the project ID).
- the media data processing process for a client 101 is as follows:
- the data processing server 104 After the client 101 successfully uploads the media data to the data processing server 104, the data processing server 104 returns the ID of the media data to the client 101. After the predetermined time, the client 101 queries the data processing server 104 for the processing of the media data via the service server 103. If the data processing server 104 has processed the media data, the second media data is uploaded to the storage server 105 on the network side, and the link address (URL) of the second media data is obtained and returned to the service server 103. The second media data is media data after the media data is processed. The client 101 acquires the second media data from the storage server 105 based on the above URL acquired from the service server 103.
- the media data processing method in the embodiment of the present application is also applicable to the system architecture shown in FIG. 1B.
- the system architecture includes: a client 101 and a background 102, and the background 102 includes a service server 103.
- the business server may be a web server or an application server, a data processing server 104, a storage server 105, and an information providing server 106, wherein the data processing server 104 includes an upload server 107, a processing server 108, and an authentication server 109, a client 101 and a background 102 can communicate over the Internet 110.
- the user can generate media data processing requirements using the client 101, and in some instances, the processing server 108 encapsulates the above processing requirements into a processing process.
- the media data processing process for a client 101 is as follows:
- the media data includes an encrypted verification ticket
- the verification server 109 responds to the upload of the client 101 before the client 101 uploads the media data.
- the media data request returns a ticket to the client 101 as a credential for the user identity security.
- the uploading server 107 returns the ID of the media data to the client 101.
- the client 101 queries the processing server 108 via the service server 103 for the processing status of the media data. If the processing server 108 has processed the media data, it will The second media data is uploaded to the storage server 105 on the network side, and the link address (URL) of the second media data is obtained and returned to the service server 103.
- the client 101 acquires the second media data from the storage server 105 based on the above URL acquired from the service server 103.
- the above system architecture can be used to process media data generated in an ad interaction.
- each user participating in the activity may upload media data to the upload server 107 through the client 101, wherein the media data includes an audio and video source file and a ticket returned from the verification server 109, and the processing server 108
- the media data is subjected to audio and video processing.
- the processing server 108 uploads the second media data to the storage server 105, and the storage server 105 returns the URL of the second media data to the processing server 108, and the processing server 108 saves the URL to Information providing server 106.
- the service server 103 corresponding to the client 101 queries the information providing server 106 for the URL of the second media data, and returns the URL of the second media data to the client 101 according to the request of the client 101, for the user to directly use in the interactive advertising campaign. If the user can click on the URL, the created audio and video can be played.
- the above system architecture can also be used to process media data generated during a live broadcast.
- each user participating in the activity may upload media data to the upload server 107 through the client 101, wherein the media data includes an audio and video source file and a ticket returned from the verification server 109, and the processing server 108
- the media data is subjected to audio and video editing and various function additions.
- the processing server 108 uploads the second media data to the storage server 105, and the storage server 105 returns the URL of the second media data to the processing server 108, and the processing server 108
- This URL is saved to the information providing server 106.
- the service server 103 corresponding to the client 101 queries the information providing server 106 for the URL of the second media data, and returns the link address of the second media data to the client 101 according to the request of the client 101, for the user to play the live video.
- the media data processing method proposed by the embodiment of the present application is applied to the data processing server 104. As shown in FIG. 2, the method includes the following steps:
- Step 200 Perform any of the following steps 201-203 for any client of the current service:
- Step 201 Receive first media data uploaded by the client.
- the media data may be data such as audio and video, so that the first media data may be an audio and video source file.
- the data processing server may receive and temporarily store the media data source file, and may be an upload server in the data processing server that temporarily stores the media data source file for the bypass processing server pair in the data processing server. Upload the media data source file stored by the server for processing.
- Receiving the first media data further receiving the verification ticket corresponding to the first media data
- the process of processing the first media data and obtaining the second media data is performed.
- the ticket server in the data processing server in response to the upload source file request of the client of the current service, returns an encrypted verification ticket of the client as a credential for the user identity security to ensure uploading.
- the server is not attacked by illegal users.
- the client after receiving the ticket returned by the verification server, the client further uses a media data source file (such as an audio and video source file), the ticket, and user identification information (ie, a user ID registered in the corresponding application or activity, Data such as QQ number, micro-signal code and other instant messaging numbers are uploaded to the upload server.
- the uploading server parses the ticket to verify whether the request of the client is legal, and if the request is legal, receiving data such as the media data source file.
- the uploading server returns a file ID of the media data source file to the client, and the file ID may be part of the ticket data, and the ticket may be composed of, for example, a project ID, a user identification information, a file ID, and the sound.
- the information such as the upload date of the video source file. If the request is not valid, the upload server requests the client to resend the upload source file request.
- the client After receiving the file ID, the client sends the file ID to the service server.
- the service server can be a web server or an application server, and the service server saves the file ID.
- Step 202 Process the first media data and obtain second media data according to a pre-configured media data processing requirement corresponding to the current service.
- the data processing server separately encapsulates the media data processing requirements of the plurality of services into a plurality of processing processes, and associates the plurality of processing processes with the service identifiers of the plurality of services.
- the processing of the first media data includes: calling an associated processing process according to the service identifier carried by the first media data, to process the first media data by the processing process.
- the service identifier used by the data processing server may be a project ID, so that each service corresponds to a project ID, and the name of the processing process and the project ID may be associated, for example, the name of the process includes the project ID.
- the data processing server may adopt a powerful audio and video processing technology such as ffmpeg, and the data processing server adopts a multi-process mode, and invokes a corresponding processing process according to the item ID corresponding to the current service.
- the first media data uploaded by the client received by the data processing server may carry the service identifier of the current service (eg, the audio and video source file carries the item ID).
- the data processing server saves processing information such as processing status and file ID of the process in real time, and the processing information may be stored in a local cache or stored in a dedicated cache server or other storage system ( As in redis db).
- the processing status can be divided into five types: 1. processing, 2, success, 3. parsing error (refers to protocol error for parsing audio and video processing request, such as requesting audio and video processing protocol parameters are incorrect), 4 Processing error (refers to audio and video processing failure, such as audio format failure caused by audio format mismatch), 5, upload storage server error.
- Step 203 Store the second media data on the network side and obtain a link address of the second media data.
- the data processing server uploads the second media data to a storage server, wherein the storage server stores the second media data and generates the link address; receiving the link address from the storage server .
- the data processing server uploads the processed media data file, that is, the second media data, to the storage server, where the storage server may be a cloud storage server or a content distribution network (a CDN) server, the cloud storage server or CDN server returns a download address (URL) of the second media data to the data processing server, wherein the second media data is the media processed by the data processing server by the data processing server data.
- the storage server may be a cloud storage server or a content distribution network (a CDN) server
- the cloud storage server or CDN server returns a download address (URL) of the second media data to the data processing server, wherein the second media data is the media processed by the data processing server by the data processing server data.
- the method further includes: when the processing of the first media data uploaded by a client fails, providing the processing status to the a service server to cause the service server to provide the processing status to the client.
- Step 204 Send one or more of the obtained link addresses of the obtained current service to the service server in response to the link address acquisition request from the service server, so that the service server is to any client of the current service.
- One or more of the link addresses available to the client are provided.
- the providing the link address to the service server includes:
- the service server learns that the product uploads the first media data successfully, it queries the bypass processing server in the data processing server for the first media data processing state after a predetermined time, and when the bypass processing server finishes processing, the second media data
- the download address ie, the link address
- the download address is returned to the service server.
- the client may query the service server for the processing status of the audio and video source file after a predetermined time.
- the link address of the corresponding audio and video file ie, the second media data
- the link address can be returned to the service server, and the service server receives the received address.
- Each link address and the file ID of the corresponding audio and video source file are saved.
- the bypass processing server can also send the processing status of the audio and video source files (eg, 1, processing, 2, success, 3, parsing error, 4, processing error, 5, uploading storage server error, etc.) to the service server. .
- the service server may provide the processing status of the audio and video source file uploaded by the client to the client, or provide the link address of the one or more second media data available to the client to the client.
- the client obtains the second media data corresponding to the link address from the storage server by using any link address.
- the link address of the one or more second media data available to a certain client may include at least one of the following: 1. uploading by another user who participates in the same interactive activity (such as an advertisement interaction activity) with the current user of the client. a link address of each second media data corresponding to each of the first media data, and a link address of each second media data corresponding to each of the first media data uploaded by the user of the current user of the client for a certain media content 3.
- each second media data corresponding to each first media data uploaded by each user that is currently concerned by the client, and the first corresponding to each first media data uploaded by the friend of the current user of the client a link address of the second media data, a link address of each second media data corresponding to each first media data uploaded by all users of a certain media content, and the like.
- each user participating in the activity may upload an audio and video source file through a respective client, and obtain a link of an audio and video file (ie, second media data) by the background processing.
- the address, the link address corresponding to the audio and video files of each user generated in the advertisement interaction activity can be provided to the client of a certain user, so that the user can play the audio and video files of each user.
- the client is a dubbing software
- an audio/video source file (a dubbing work source file) uploaded by the current user of the client through the dubbing software is processed in the background to obtain a link address of a dubbed work and is published in
- the clients of other users who pay attention to this user can access the link address of the dubbed work and play it, and can also send comments or multimedia interactions for the dubbed work, and then upload the respective audio and video source files (for The voice comment or audio and video interactive information published by the dubbed work) to the background
- the background can process the link address of each audio and video file, and provide the link address of each audio and video file to the client that publishes the dubbed work.
- the background address can also be provided to the clients of each user who pays attention to the dubbed work (ie, item 5 above).
- the client is a dubbing software
- an audio/video source file (a dubbing work source file) uploaded by the current user of the client through the dubbing software is processed in the background to obtain a link address of a dubbed work and is published in
- the clients of other users who are concerned by the user can also upload their respective audio and video source files (the dubbing work source files) to the background, and the background can process the link addresses of the respective audio and video files, and the respective sounds.
- the link address of the video file is provided to the client so that the user can access the dubbed work published by each other user of interest.
- the user's client can obtain audio and video works or audio and video comments published by each friend.
- the link address of the one or more second media data that is available to the client is not limited to the above five situations, and according to different media interaction functions provided by the current client page and the user's permission settings, The link address of the second media data available to the client may be different.
- the service server may determine the link address of the second media data available in the current page of the client according to the business logic.
- the data processing server since the data processing server is in the background, when the processing demand of the client for the media data is changed, only the processing process corresponding to the processing requirement needs to be adjusted in the background to implement the change quickly, without having to do the program to the client. Any changes, and the format conversion of media data and other processing will not occupy the processing resources of the user side, and can improve the performance of the entire system.
- the processing process may be referred to as a bypass processing process of the client (such as a dubbing software, a media player, or a WeChat, etc.), and the processing process does not affect the normal operation of the client, thereby eliminating user use.
- the client waits to improve the user experience.
- the data processing server 104 may include an upload processing module, a data processing module, and an information providing module.
- the modules may be integrated in the same server device or distributed in different server devices.
- the upload processing module may be located in the upload server
- the data processing module may be located in the data processing server
- the information providing module may be located in a separate information providing server, or may be located on the same server (such as a data processing server) as the data processing module.
- data processing server 104 can include an upload server, a processing server (integrated with a data processing module, and an information providing module).
- data processing server 104 can include an upload server, a processing server, and an information providing server.
- the system 300 includes a service server 301, an upload server 302, a processing server 303, and an information providing server 304, and the information providing server 304 is integrated in the processing server 303 or independently configured;
- the uploading server 302 receives the first media data uploaded by any client of the current service, and provides the first media data to the processing server 303.
- the processing server 303 is configured according to the pre-configured media corresponding to the current service.
- the system 300 further includes: an authentication server 305; wherein the service server 301 further transmits a verification verification ticket to the verification server 305 in response to the request to upload the first media data
- the verification server 305 sends a verification ticket to the service server 301 in response to the request for obtaining the verification ticket from the service server 301; the service server 301 further sends the verification ticket to the server
- the uploading server 302 further receives the verification ticket corresponding to the first media data, and checks whether the first media data is legal according to the verification ticket; As a result, when the first media data is legal, the first media data is provided to the processing server 303.
- the system 300 may include multiple sets of the upload server 302 and the processing server 303, wherein each group includes one of the upload server 302 and one of the processing servers 303, and the information providing server 304 Independently setting; the service server 301 further receives the first media data from the client, and selects one for the client, in response to a request for uploading the first media data from any client of the current service.
- the uploading server and the processing server 303 the first media data is sent to the selected upload server 302; the uploading server 302 provides the first media data to the same group of the processing Server 303.
- processing server 303 may be referred to as a bypass processing server, and information providing server 304 may be referred to as a processing information storage module.
- the distributed processing process involves: N clients (client 1, client 2, ... client N), a storage server storing second media data, and processing information (including URLs and/or processing). Status) Unified storage processing information storage module.
- the distributed processing platform further includes N groups of servers for media data processing, each group including an upload server and a bypass processing server, as shown in FIG. 4, which may include: an upload server 1 and a bypass processing server 1. uploading The server 2 and the bypass processing server 2, the upload server N, and the bypass processing server N. Because the embodiment of the present application mainly relates to distributed processing of media data, the service server and the verification server are not shown in the platform. In actual applications, the platform may also include one or more service servers and verification servers, where Any client may send a request to upload a media data source file to a service server corresponding to the current service, or obtain a ticket from the corresponding authentication server.
- the client sends data such as a ticket, a media data source file, and a project ID to the corresponding service server
- the service server selects an upload server and uploads data such as a ticket, a media data source file, and a project ID to the selected upload server.
- the selection rule may be as follows: the IP address and the port number list of each upload server are configured in the service server, and when the service server receives the request from the client, the method modulates the total number of the project ID and the upload server. Select one of the upload servers.
- the IP addresses are ⁇ "10.127.0.1", “10.127.0.2”, “10.127.0.3”, “10.127.0.4", "10.127.0.5” ⁇
- the uploading server receiving the data notifies the corresponding bypass processing server to perform processing, and the notification carries the item ID, and the bypass processing server calls the item ID according to the item ID.
- the corresponding processing process is processed, and the processed information is uniformly placed in the processing information storage module, so that the service server queries the processing state for use.
- the bypass processing server successfully processes the media data source file
- the second media data is uploaded to the storage server, and the storage server returns the link address (URL) (processing information) of the second media data to the bypass processing server.
- the bypass processing server saves the URL to the processing information storage module.
- the above processing technology solution can realize media data processing and product decoupling, and the data processing server processes asynchronously in the background, can process the processing requirements of the completed media data in a short time, and does not block during the processing. Other user actions, which makes the user experience better.
- the solution can quickly realize the needs of various complex media data processing and improve the user experience.
- an ad to enter an event page that is, a page that interacts with the user (the user can perform voice interactions or voice comments on the page)
- an event page that is, a page that interacts with the user (the user can perform voice interactions or voice comments on the page)
- media data such as video and audio material.
- editing audio and video, adding background music, subtitles, cutting audio and video into a required length of time, etc. requires a large time cost, and must be After the audio and video is completed, it can be uploaded to the storage server for storage, so that it can be called directly when it is used next time.
- the client selects an uploading server in the distributed processing platform (as shown in FIG.
- the bypass processing server performs audio and video processing.
- the bypass processing server uploads the second media data to the storage server, and the storage server returns the URL of the second media data to the bypass processing server, and the bypass processing server saves the URL to the processing information storage module.
- the service server corresponding to the client queries the processing information storage module for the link address of the second media data, and returns the link address of the second media data to the client according to the request of the client, for the user to directly use in the interactive advertising campaign, such as Users can click on the URL to play the produced audio and video.
- the process of interacting between the client and the distributed processing platform can be seen in FIG. 1B.
- the interactive advertising campaign has a relatively short time from development to launch, and the demand changes more frequently, the above technical solution of the embodiment of the present application can quickly meet the requirements of development online, function update, and demand change.
- the foregoing technical solutions of the embodiments of the present application may also be used in combination with an existing live broadcast platform or a live broadcast event. After the live broadcast, there is a need for the clip playback of the video material.
- the embodiment of the present application uploads the video source file to the service server by providing a packaged distributed processing platform (as shown in FIG. 4), the live broadcast platform or the live broadcast event.
- the service server selects an upload server in the distributed processing platform, and then the audio and video clips and various functions are added by the bypass processing server, and finally the storage server provides the URL of the processed audio and video file to the bypass processing server.
- the road processing server saves the URL to the processing information storage module.
- the service server corresponding to the client queries the processing information storage module for the URL of the second media data, and returns the URL of the second media data to the client according to the request of the client, for the user to play the live video.
- the process of interacting between the client and the distributed processing platform can be seen in FIG. 1B.
- the embodiment of the present application further provides a media data processing method, which can be applied to the client 101. As shown in FIG. 5, the method includes the following steps:
- Step 501 Upload the first media data generated by the current service to the data processing server, where the data processing server is configured according to the pre-configured current service, for the first media data uploaded by any client of the current service.
- the media data processing requirement processes the first media data and obtains the second media data, and stores the second media data on a network side and obtains a link address of the second media data.
- Step 502 Send a link address obtaining request to the service server, where the service server determines, according to the link address obtaining request, one or more link addresses of the current service obtained by the data processing server for the client. Each of the linked addresses available.
- Step 503 Receive, from the service server, each of the link addresses available to the client.
- Step 504 Acquire the second media data from the network side according to the selected link address in response to the user selecting operation of any one of the received link addresses.
- Step 505 Play the acquired second media data.
- an upload request is sent to the service server; wherein the service server obtains an authentication ticket from the data processing server in response to the upload request; receiving the verification ticket from the service server; And the verification ticket is uploaded to the data processing server together with the first media data, so that the first media data is valid according to the verification ticket, and when the verification result is that the first media data is legal And performing the processing of processing the first media data and obtaining the second media data.
- receiving a processing status from the service server wherein the processing status is used to indicate whether the data processing server performs the processing on the first media data uploaded by the client is successful; Processing status.
- FIG. 6 is a diagram showing an interaction diagram of media data processing provided by an embodiment of the present application.
- the client is a browser for displaying a webpage of a media interaction activity (such as a live event), such that the corresponding service server is a web server; the data processing server 104 is in the figure by a dotted line.
- the server consists of a ticket server, an upload server, and a bypass processing server.
- the media data may be audio and video data.
- the media data processing includes the following steps:
- Step 601 The bypass processing server encapsulates the audio and video processing requirements of the activity that the client can participate in into a processing process corresponding to the processing requirement, where each activity corresponds to one project ID, and each processing process may correspond to one project ID. save.
- Step 602 The client sends a request for uploading an audio and video source file to the website server through the web page of the activity.
- the user may generate audio and video processing requirements, for example, recording an audio and video and uploading the audio and video source files through the web page.
- the client sends an audio and video source to the website server. Request for a file.
- Step 603 After receiving the above request, the website server obtains, from the verification server, a ticket for verifying whether the user request is legal.
- Step 604 Correspondingly, the verification server returns the ticket to the website server, and the website server returns it to the client.
- Step 605 The client uploads data such as the ticket, the item ID, the audio and video source file, and the user identification information to the upload server.
- the data may be first sent to the service server, and the service server selects the upload server, and then sends the data to the selected upload server.
- the audio and video source file may include a voice interaction or a voice comment recorded by the user in an interactive advertising campaign, the voice needs to be processed, or the video recorded in the live event, the video needs to be edited and various functions. Add and so on.
- Step 606 The uploading server parses the ticket. If the verification is legal, step 608 is performed; otherwise, step 607 is performed.
- Step 607 The upload server feeds back the result of the upload failure to the client.
- the client may resend the request for uploading the audio and video source file again, and continue to perform the above steps, that is, perform steps 601-606 again, or end the current process.
- Step 608 The uploading server receives data such as audio and video source files uploaded by the client, and temporarily stores the audio and video source files locally for use by the bypass processing server.
- Step 609 If the above data upload is successful, the upload server returns the file ID of the audio and video source file of the client.
- Step 610 The client sends a request to save the file ID to the website server.
- Step 611 The website server saves the file ID in response to the above request.
- Step 612 The uploading server notifies the bypass processing server to process the audio and video source file, and the notification carries data such as an item ID, a file ID, and an audio and video source file.
- Step 613 The bypass processing server calls the already packaged audio and video processing process according to the item ID, and performs audio and video processing, such as transposition, adding background music, audio conversion, or performing clip playback on the video material.
- audio and video processing such as transposition, adding background music, audio conversion, or performing clip playback on the video material.
- Step 614 The bypass processing server stores its processing information of the audio and video source file, such as the file ID and the processing status, into the local cache in real time for the client to query.
- the bypass processing server uniformly stores the processing information to the processing information storage module when the distributed processing platform is used in the background.
- Step 615 After the bypass processing server successfully processes the audio and video source files, the successfully processed audio and video files, that is, the second media data, are uploaded to a storage server, such as a cloud storage platform.
- a storage server such as a cloud storage platform.
- the bypass processing server does not successfully process the audio/video source file, the audio and video files cannot be uploaded to the storage server, and steps 615-624 are not performed.
- Step 616 The storage server stores the audio and video files.
- Step 617 The storage server returns a link address (URL) of the audio and video file to the bypass processing server.
- URL link address
- Step 618 The bypass processing server stores the URL in the local cache and saves it corresponding to the file ID and the item ID. Similarly, when the background uses a distributed processing platform, the bypass processing server saves the URL corresponding to the file ID and the item ID to the processing information storage module.
- Step 619 After the web server learns that the audio and video source file is successfully uploaded, the web server queries the bypass processing server for the processing status of the audio and video source file and the URL of the audio and video file according to the file ID.
- the website server queries the processing information storage module for the processing status of the audio and video source file and the URL of the audio and video file according to the file ID.
- Step 620 When the processing status is 2, that is, "success", the URL is available, the bypass processing server returns the URL to the website server; when the processing status is other, the URL is not returned. Further, the bypass processing server can feed back the processing status to the website server. Among them, the file ID is returned to the web server at the same time when returning the URL and processing status.
- Step 621 After obtaining the URL, the website server saves the file ID and its corresponding URL, and obtains a series of file IDs and URLs, that is, a file ID and a list of URL lists. Further, the item ID of the current service and the file ID and the URL list are correspondingly saved to distinguish the respective audio and video files generated in different services and their URLs.
- Step 622 The client requests a URL from the website server, and the request may be sent to the website server after the client uploads the audio and video source file (such as automatically refreshing the current page every 10s), or may click the client for the user. Sent by the corresponding control (such as the user clicks the refresh button in the page).
- Step 623 The website server responds to the client's link address acquisition request, and returns the client-related URL (such as all URLs of the current page) to the client.
- client-related URL such as all URLs of the current page
- Step 624 The client acquires the second media data from the storage server according to any of the foregoing URLs, and plays the second media data, so that the user can view the processed audio and video files.
- the client may be displayed in the page.
- the second media data may be acquired from the storage server according to the selected URL.
- the embodiment of the present application further provides a media data processing apparatus, where the apparatus is applicable to a data processing server, where the data processing server may be a server cluster composed of several servers, or a cloud. Computing Service Center.
- the device includes:
- the upload processing module 701 receives the first media data uploaded by any client of the current service.
- the data processing module 702 processes the first media data and obtains the second media data according to the pre-configured media data processing requirement corresponding to the current service; and stores the second media data on the network side and obtains the first The link address of the second media data, and saves the link address in the information providing module.
- the information providing module 703 in response to the link address obtaining request from the service server, transmitting one or more of the obtained link addresses of the current service to the service server, so that the service server is to the current service. Any client provides one or more of the linked addresses.
- the apparatus further includes: a verification module 704, responsive to a request from the service server to obtain a verification ticket, transmitting an authentication ticket to the service server; wherein the upload processing module receives the first Receiving, by the media data, the verification ticket corresponding to the first media data; verifying whether the first media data is legal according to the verification ticket; and when the verification result is that the first media data is legal, the data
- the processing module performs the processing of processing the first media data and obtaining the second media data.
- the data processing module 702 further pre-packages the media data processing requirements of the multiple services into multiple processing processes, and respectively associates the multiple processing processes with the service identifiers of the multiple services.
- the processing of the first media data by the data processing module 702 includes: calling an associated processing process according to the service identifier carried by the first media data, to the first process by the processing process Media data is processed.
- the upload processing module 701 further sends an identifier of the first media data to the client after receiving the first media data, so that the client An identifier of the media data is sent to the service server;
- the information providing module 703 further saves the link address of the second media data obtained by the data processing module 702 and the identifier of the first media data;
- the data processing module 702 further records a processing status in the information providing module after processing the first media data and obtaining the second media data, wherein the processing status indication is The processing is successful; wherein, the data processing module 702, when the processing is successful, storing the second media data on the network side and obtaining the link address; the information providing module 703, when the data processing And when the module fails to perform the processing on the first media data uploaded by any client, further providing the processing status to the service server, so that the service server provides the processing status to the client .
- the apparatus includes a plurality of sets of upload processing modules 701 and a data processing module 702, wherein each set includes an upload processing module 701 and a data processing module 702.
- the embodiment of the present application further provides a media data processing device, which can be applied to a client, where the client can be a mobile phone, a PAD (tablet), a laptop portable computer, a desktop computer, or the like.
- the apparatus 800 includes:
- the uploading module 801 is configured to upload the first media data generated by the current service to the data processing server, where the data processing server is configured according to the pre-configured current service for the first media data uploaded by any client of the current service.
- the media data processing requirement processes the first media data and obtains second media data, and stores the second media data on a network side and obtains a link address of the second media data.
- the first sending module 802 sends a link address obtaining request to the service server, where the service server determines, according to the link address obtaining request, one or more link addresses of the current service obtained by the data processing server Each of the linked addresses available to the client.
- the first receiving module 803 receives, from the service server, each of the link addresses available to the client.
- the obtaining module 804 is configured to acquire the second media data from the network side according to the selected link address in response to the user selecting a connection address of any one of the received link addresses.
- the playing module 805 plays the acquired second media data.
- the apparatus further includes: a second sending module 806, sending an upload request to the service server; wherein the service server acquires the verification ticket from the data processing server in response to the upload request; Module 807, receiving the verification ticket from the service server; the uploading module uploads the verification ticket together with the first media data to the data processing server to make it validate according to the verification ticket Whether the first media data is legal.
- the process of processing the first media data and obtaining the second media data is performed.
- the apparatus further includes: a third receiving module 808, receiving a processing status from the service server, wherein the processing status is used to indicate the first media data uploaded by the data processing server to the client Whether the processing is successful; and displaying the processing status.
- a third receiving module 808 receiving a processing status from the service server, wherein the processing status is used to indicate the first media data uploaded by the data processing server to the client Whether the processing is successful; and displaying the processing status.
- the devices and modules in the various embodiments of the present application may be integrated into one processing unit, or each module may exist physically separately, or two or more devices or modules may be integrated into one unit.
- the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
- the media data processing apparatus described above can be executed in any computing device for media data processing and loaded into the memory of the computing device.
- the computing device includes one or more processors (CPUs) 902, communication modules 904, memory 906, user interface 910, and a communication bus 908 for interconnecting these components.
- the processor 902 can receive and transmit data through the communication module 904 to enable network communication and/or local communication.
- User interface 910 includes one or more output devices 912 that include one or more speakers and/or one or more visual displays.
- User interface 910 also includes one or more input devices 914 including, for example, a keyboard, a mouse, a voice command input unit or loudspeaker, a touch screen display, a touch sensitive tablet, a gesture capture camera or other input button or control, and the like.
- the memory 906 can be a high speed random access memory such as DRAM, SRAM, DDRRAM, or other random access solid state storage device; or a non-volatile memory such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or Other non-volatile solid-state storage devices.
- a high speed random access memory such as DRAM, SRAM, DDRRAM, or other random access solid state storage device
- non-volatile memory such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or Other non-volatile solid-state storage devices.
- the memory 906 stores a set of instructions executable by the processor 902, including:
- Operating system 916 including programs for processing various basic system services and for performing hardware related tasks
- the application 918 can include various applications for implementing media data processing, such an application being capable of implementing the processing flow in each of the above examples, such as the device 700 shown in FIG. 7 and/or the device shown in FIG. 800.
- the apparatus 700 may include the modules 701-703 of the modules 701-704 shown in FIG. 7, the apparatus 700 may further include a module 704, and each of the modules 701-704 may be stored in the memory 906.
- Machine executable instructions The processor 902 can implement the functions of the modules 701 to 704 described above by executing the machine executable instructions in the modules 701 to 704 in the memory 906.
- device 800 can include modules 801-805 of modules 801-808 shown in FIG. 8, and device 800 can further include modules 806-808, and each module 801-808 can be in memory 906.
- the processor 902 can implement the functions of the modules 801 to 808 described above by executing the machine executable instructions in the modules 801 to 808 in the memory 906.
- each embodiment of the present application can be implemented by a data processing program executed by a data processing device such as a computer.
- the data processing program constitutes an embodiment of the present application.
- a data processing program that is usually stored in one storage medium is executed by directly reading the program out of the storage medium or by installing or copying the program to a storage device (such as a hard disk and/or a memory) of the data processing device. Therefore, such a storage medium also constitutes an embodiment of the present application.
- the storage medium can use any type of recording method, such as paper storage medium (such as paper tape, etc.), magnetic storage medium (such as floppy disk, hard disk, flash memory, etc.), optical storage medium (such as CD-ROM, etc.), magneto-optical storage medium (such as MO, etc.).
- paper storage medium such as paper tape, etc.
- magnetic storage medium such as floppy disk, hard disk, flash memory, etc.
- optical storage medium such as CD-ROM, etc.
- magneto-optical storage medium Such as MO, etc.
- the embodiment of the present application further provides a non-volatile storage medium in which a data processing program is stored, and the data processing program is used to execute any one of the foregoing methods of the present application.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Disclosed in the embodiments of the present application is a media data processing method, the method comprising: performing, for any client of a current service, the following processing: receiving first media data uploaded by the client; processing the first media data according to pre-configured media data processing requirements corresponding to the current service and obtaining second media; storing the second media data at a network side and obtaining a link address of the second media data; and in response to a link address acquisition request from a service server, sending the obtained one or more link addresses of the current service to the service server so that the service server provides one or more of the link addresses available to any client of the current service. Also disclosed in the embodiments of the present application are a corresponding device and a system.
Description
本申请要求于2017年02月28日提交中国专利局、申请号为201710111142.9、发明名称为“媒体数据处理方法、装置和系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims the priority of the Chinese Patent Application, which is filed on Jan. 28, 2017, filed on Jan. 28,,,,,,,,,,,,,,,,,,,,,,,, in.
本申请涉及互联网技术领域,尤其涉及一种媒体数据处理方法、装置、系统及存储介质。The present application relates to the field of Internet technologies, and in particular, to a media data processing method, apparatus, system, and storage medium.
背景background
随着计算机技术和互联网技术的发展,越来越多的用户在更多场合需要对自己个人录制或工作需求录制的音视频进行处理,如变调、加背景音乐、音频转换、对视频素材进行剪辑回放等,目前市场上也有很多对音视频进行处理的软件和技术,如ffmpeg技术,ffmpeg是一套可以用来记录、转换数字音频、视频,并能将其转化为流的开源计算机程序。采用LGPL或GPL许可证。它提供了录制、转换以及流化音视频的完整解决方案。它包含了非常先进的音频/视频编解码库libavcodec。ffmpeg被广泛的应用在各种播放软件中。With the development of computer technology and Internet technology, more and more users need to process audio and video recorded by their own personal recording or work needs in more occasions, such as transposition, background music, audio conversion, editing video material. Playback, etc., there are many software and technologies for processing audio and video on the market, such as ffmpeg technology, ffmpeg is an open source computer program that can be used to record, convert digital audio, video, and convert it into a stream. Use LGPL or GPL license. It provides a complete solution for recording, converting, and streaming audio and video. It contains a very advanced audio/video codec library libavcodec. Ffmpeg is widely used in various playback software.
技术内容Technical content
本申请实施例提供一种媒体数据处理方法,应用于数据处理服务器,该方法包括:对于当前业务的任一客户端,执行如下处理:接收该客户端上传的第一媒体数据;根据预先配置的当前业务对应的媒体数据处理需求,对所述第一媒体数据进行处理并得到第二媒体数据;及将所述第二媒体数据存储在网络侧并获得所述第二媒体数据的链接地址;及 响应于来自业务服务器的链接地址获取请求,将所获得的当前业务的一个或多个所述链接地址发送给所述业务服务器,以使所述业务服务器向当前业务的任一客户端提供该客户端可用的一个或多个所述链接地址。The embodiment of the present application provides a media data processing method, which is applied to a data processing server. The method includes: performing, for any client of the current service, processing: receiving first media data uploaded by the client; according to pre-configured The media data processing requirement corresponding to the current service, processing the first media data and obtaining the second media data; and storing the second media data on the network side and obtaining a link address of the second media data; Transmitting one or more of the obtained link addresses of the current service to the service server in response to a link address acquisition request from the service server, so that the service server provides the client to any client of the current service One or more of the link addresses available at the end.
本申请实施例还提供了一种媒体数据处理方法,应用于客户端,该方法包括:将当前业务产生的第一媒体数据上传至数据处理服务器;其中,针对当前业务的任一客户端上传的所述第一媒体数据,所述数据处理服务器根据预先配置的当前业务对应的媒体数据处理需求对所述第一媒体数据进行处理并得到第二媒体数据,将所述第二媒体数据存储在网络侧并获得所述第二媒体数据的链接地址;向业务服务器发送链接地址获取请求;其中,所述业务服务器响应于所述链接地址获取请求,从所述数据处理服务器获得的当前业务的一个或多个链接地址中确定对于本客户端可用的各所述链接地址;从所述业务服务器接收对于本客户端可用的各所述链接地址;响应于用户对于接收到的各所述链接地址中任一链接地址的选择操作,根据被选择的所述链接地址从网络侧获取所述第二媒体数据;及播放所获取的所述第二媒体数据。The embodiment of the present application further provides a media data processing method, which is applied to a client, and the method includes: uploading, to a data processing server, the first media data generated by the current service, where the client is uploaded for any client of the current service. The first media data, the data processing server processes the first media data according to a pre-configured media data processing requirement corresponding to the current service, and obtains the second media data, and stores the second media data in a network. And obtaining a link address of the second media data; sending a link address acquisition request to the service server; wherein the service server responds to the link address acquisition request, one or a current service obtained from the data processing server Determining, among the plurality of link addresses, each of the link addresses available to the client; receiving, from the service server, each of the link addresses available to the client; and responding to the user for each of the received link addresses a link address selection operation, according to the selected link address from the network Acquiring the second media data; and the second media player acquired data.
本申请实施例还提供了一种媒体数据处理装置,该装置包括处理器和存储器,所述存储器存储有计算机可读指令模块,经配置由所述处理器执行;其中,所述指令模块包括:上传处理模块,接收当前业务的任一客户端上传的第一媒体数据;数据处理模块,根据预先配置的当前业务对应的媒体数据处理需求,对所述第一媒体数据进行处理并得到第二媒体数据;将所述第二媒体数据存储在网络侧并获得所述第二媒体数据的链接地址,并将所述链接地址保存在信息提供模块;及所述信息提供模块,响应于来自业务服务器的链接地址获取请求,将所获得的当前业务的一个或多个所述链接地址发送给所述业务服务器,以使所述业务服务器向当前业务的任一客户端提供一个或多个所述链接地址。The embodiment of the present application further provides a media data processing device, the device comprising a processor and a memory, the memory storing a computer readable instruction module configured to be executed by the processor; wherein the instruction module comprises: The upload processing module receives the first media data uploaded by any client of the current service; the data processing module processes the first media data and obtains the second media according to the pre-configured media data processing requirements corresponding to the current service. Data; storing the second media data on a network side and obtaining a link address of the second media data, and saving the link address in an information providing module; and the information providing module responsive to the service server And a link address obtaining request, sending the obtained one or more of the link addresses of the current service to the service server, so that the service server provides one or more of the link addresses to any client of the current service. .
本申请实施例还提供了一种媒体数据处理系统,包括:业务服务器、上传服务器、处理服务器和信息提供服务器,所述信息提供服务器集成在所述处理服务器之中或者独立设置;其中,所述上传服务器,接收当前业务的任一客户端上传的第一媒体数据,并将所述第一媒体数据提供给所述处理服务器;所述处理服务器,根据预先配置的当前业务对应的媒体数据处理需求,对所述第一媒体数据进行处理并得到第二媒体数据;将所述第二媒体数据存储在网络侧并获得所述第二媒体数据的链接地址,并将所述链接地址保存在所述信息提供服务器;所述业务服务器,响应于来自当前业务的任一客户端的上传所述第一媒体数据的请求,向所述信息提供服务器发送链接地址获取请求;所述信息提供服务器,响应于来自所述业务服务器的所述链接地址获取请求,将所获得的当前业务的一个或多个所述链接地址发送给所述业务服务器;所述业务服务器,向当前业务的任一客户端提供对于该客户端可用的一个或多个所述链接地址。The embodiment of the present application further provides a media data processing system, including: a service server, an upload server, a processing server, and an information providing server, where the information providing server is integrated in the processing server or independently configured; Uploading the server, receiving the first media data uploaded by any client of the current service, and providing the first media data to the processing server; the processing server, according to the pre-configured media data processing demand corresponding to the current service Processing the first media data and obtaining second media data; storing the second media data on a network side and obtaining a link address of the second media data, and saving the link address in the An information providing server that sends a link address acquisition request to the information providing server in response to a request for uploading the first media data from any client of the current service; the information providing server is responsive to The link address acquisition request of the service server, Obtaining current traffic link to one or more of said address to the service server; the service server is provided to the current client service according to any one or more of the links to one of the addresses available to the client.
本申请实施例还提供了一种计算机可读存储介质,存储有计算机可读指令,可以使处理器执行各实施例的方法。The embodiment of the present application further provides a computer readable storage medium storing computer readable instructions, which may cause a processor to execute the methods of the embodiments.
附图简要说明BRIEF DESCRIPTION OF THE DRAWINGS
为了更清楚地说明本申请实施例中的技术方案,下面将对实例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the examples will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present application, Those skilled in the art can also obtain other drawings based on these drawings without paying for creative labor.
图1A为本申请实施例涉及的一种系统构架示意图;1A is a schematic structural diagram of a system according to an embodiment of the present application;
图1B为本申请实施例涉及的另一种系统构架示意图;FIG. 1B is a schematic structural diagram of another system according to an embodiment of the present application;
图2为本申请一实施例的方法流程图;2 is a flowchart of a method according to an embodiment of the present application;
图3为本申请实施例涉及的媒体数据处理系统图;3 is a diagram of a media data processing system according to an embodiment of the present application;
图4为本申请实施例涉及的分布式处理;4 is a distributed process according to an embodiment of the present application;
图5为本申请另一实施例的方法流程图;FIG. 5 is a flowchart of a method according to another embodiment of the present application; FIG.
图6为本申请实施例中的媒体数据处理过程的消息交互图;6 is a message interaction diagram of a media data processing process in an embodiment of the present application;
图7为本申请一实施例的装置结构图;Figure 7 is a structural diagram of a device according to an embodiment of the present application;
图8为本申请另一实施例的装置结构图;及FIG. 8 is a structural diagram of a device according to another embodiment of the present application; and
图9为本申请一实施例的设备结构图。FIG. 9 is a structural diagram of a device according to an embodiment of the present application.
实施方式Implementation
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实例仅是本申请一部分实例,而不是全部的实例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present application. It is obvious that the described examples are only a part of the examples of the present application, and not all examples. All other examples obtained by a person of ordinary skill in the art based on the embodiments of the present application without creative efforts are within the scope of the present application.
在一些实例中,用户直接在电子设备中的产品(该产品是指具有音视频处理功能的应用或平台,如:配音软件、媒体播放器或微信等应用,或者能够展示某种媒体互动活动的web页面的浏览器)进行媒体数据处理,如音视频处理。比如:用户在使用配音软件时,如果需要进行音视频处理(比如完成一次配音之后需要对音视频数据做处理),则由配音软件进行音视频处理,在该处理过程中,配音软件的其他功能不可用。可见,目前的媒体数据处理和产品的耦合度较高,媒体数据处理会影响产品其它功能的使用,用户等待的时间较长,使得用户的体验效果较差。同时,该产品中用于进行媒体数据处理的模块设计复杂,从而该产品的实现难度较高,产品测试时间也会较长,这样,产品的开发成本就会较 高。再者,因用户侧电子设备的处理能力有限,该产品可能出现媒体数据处理时间较长的情况,而长时间的处理过程,可能会带来潜在的风险,如损坏音视频源文件等。进一步,若产品对音视频需求发生变更时,如改善其音视频处理效果或增加音视频处理功能(如在音视频中增加英文字幕等)时,该产品也很难快速的实现音视频处理需求的变更。此外,若该产品为展示web页面的浏览器,则该产品也不能实现复杂的音视频处理,很难达到用户想要的音视频处理效果。In some instances, the user directly in the electronic device (the product refers to an application or platform with audio and video processing functions, such as: dubbing software, media player or WeChat, or can display some kind of media interaction activities) The web page browser) performs media data processing, such as audio and video processing. For example, if the user needs to perform audio and video processing when using the dubbing software (for example, after the dubbing is completed, the audio and video data needs to be processed), the audio and video processing is performed by the dubbing software, and other functions of the dubbing software are performed during the processing. unavailable. It can be seen that the current media data processing and product coupling degree is high, media data processing will affect the use of other functions of the product, and the user waits for a long time, which makes the user experience less effective. At the same time, the module used for media data processing in this product is complex in design, so that the product is difficult to implement and the product testing time is longer, so that the development cost of the product will be higher. Moreover, due to the limited processing capability of the user-side electronic device, the product may have a long processing time of the media data, and the long-term processing may bring potential risks, such as damage to the audio and video source files. Further, if the product changes the audio and video requirements, such as improving the audio and video processing effect or increasing the audio and video processing functions (such as adding English subtitles in audio and video), the product is also difficult to quickly achieve audio and video processing requirements. Changes. In addition, if the product is a browser for displaying a web page, the product cannot implement complicated audio and video processing, and it is difficult to achieve the audio and video processing effect desired by the user.
基于上述技术问题,本申请实施例提出一种媒体数据处理方法,该方法可应用于图1A所示的系统构架中。如图1A所示,该系统构架包括:客户端101和后台102,后台102包括业务服务器103(该业务服务器可以为网站服务器或应用程序服务器)、数据处理服务器104和存储服务器105,客户端101和后台102可以通过互联网106进行通信。这里,客户端101就是指前述的产品,可以为展示媒体互动活动的页面的浏览器(如互动广告活动等,该活动可以web页面形式实现)或应用(APP)(如配音软件等)。Based on the above technical problem, the embodiment of the present application provides a media data processing method, which can be applied to the system architecture shown in FIG. 1A. As shown in FIG. 1A, the system architecture includes a client 101 and a background 102. The background 102 includes a service server 103 (which may be a website server or an application server), a data processing server 104, and a storage server 105. The client 101 The backend 102 can communicate over the Internet 106. Here, the client 101 refers to the aforementioned product, and may be a browser for displaying a page of a media interactive activity (such as an interactive advertising event, the activity may be implemented in the form of a web page) or an application (APP) (such as a dubbing software, etc.).
用户使用客户端101可以产生如变调、加背景音乐、音频转换、对视频素材进行剪辑回放等媒体数据处理需求。在一些实例中,数据处理服务器104将这些处理需求封装成处理进程。对于多种产品(即多种业务)对应的多种客户端101,可以将不同类客户端101的媒体数据的处理需求(即不同业务的处理需求)封装成不同的处理进程,并将每种业务对应一个业务标识(如项目ID),每个业务标识对应一个处理进程,处理进程的名称可以与业务标识相关联(如处理进程的名称中可以包含项目ID)。The user using the client 101 can generate media data processing requirements such as transposition, background music, audio conversion, and clip playback of the video material. In some examples, data processing server 104 encapsulates these processing requirements into processing processes. For a plurality of clients 101 corresponding to multiple products (ie, multiple services), the processing requirements of media data of different types of clients 101 (ie, processing requirements of different services) may be encapsulated into different processing processes, and each type The service corresponds to a service identifier (such as a project ID). Each service identifier corresponds to a processing process, and the name of the processing process can be associated with the service identifier (for example, the name of the processing process can include the project ID).
针对一个客户端101的媒体数据处理过程如下:The media data processing process for a client 101 is as follows:
客户端101向数据处理服务器104上传媒体数据成功后,数据处理 服务器104返回给客户端101该媒体数据的ID,预定时间后,客户端101经业务服务器103向数据处理服务器104查询媒体数据的处理状态,如果数据处理服务器104已处理完成所述媒体数据,会将第二媒体数据上传至网络侧的存储服务器105,获得第二媒体数据的链接地址(URL)并将其返回给业务服务器103,该第二媒体数据为所述媒体数据经过处理后的媒体数据。客户端101根据从业务服务器103获取的上述URL从存储服务器105获取第二媒体数据。After the client 101 successfully uploads the media data to the data processing server 104, the data processing server 104 returns the ID of the media data to the client 101. After the predetermined time, the client 101 queries the data processing server 104 for the processing of the media data via the service server 103. If the data processing server 104 has processed the media data, the second media data is uploaded to the storage server 105 on the network side, and the link address (URL) of the second media data is obtained and returned to the service server 103. The second media data is media data after the media data is processed. The client 101 acquires the second media data from the storage server 105 based on the above URL acquired from the service server 103.
本申请实施例提出的媒体数据处理方法还可应用于如图1B所示的系统架构中,如图1B所示,该系统架构包括:客户端101和后台102,后台102包括业务服务器103(该业务服务器可以为网站服务器或应用程序服务器)、数据处理服务器104、存储服务器105和信息提供服务器106,其中,数据处理服务器104包括上传服务器107、处理服务器108和验证服务器109,客户端101和后台102可以通过互联网110进行通信。The media data processing method in the embodiment of the present application is also applicable to the system architecture shown in FIG. 1B. As shown in FIG. 1B, the system architecture includes: a client 101 and a background 102, and the background 102 includes a service server 103. The business server may be a web server or an application server, a data processing server 104, a storage server 105, and an information providing server 106, wherein the data processing server 104 includes an upload server 107, a processing server 108, and an authentication server 109, a client 101 and a background 102 can communicate over the Internet 110.
用户使用客户端101可以产生媒体数据处理需求,在一些实例中,处理服务器108将上述处理需求封装成处理进程。The user can generate media data processing requirements using the client 101, and in some instances, the processing server 108 encapsulates the above processing requirements into a processing process.
针对一个客户端101的媒体数据处理过程如下:The media data processing process for a client 101 is as follows:
客户端101向上传服务器107上传媒体数据成功后,在一些实例中,所述媒体数据包括加密的验证票据(ticket),在客户端101上传媒体数据之前,验证服务器109响应于客户端101的上传媒体数据请求,返回客户端101一个ticket,作为用户身份安全的凭证。上传服务器107返回给客户端101该媒体数据的ID,预定时间后,客户端101经业务服务器103向处理服务器108查询媒体数据的处理状态,如果处理服务器108已处理完成所述媒体数据,会将第二媒体数据上传至网络侧的存储服务器105,获得第二媒体数据的链接地址(URL)并将其返回给业务服务 器103。客户端101根据从业务服务器103获取的上述URL从存储服务器105获取第二媒体数据。After the client 101 successfully uploads the media data to the upload server 107, in some examples, the media data includes an encrypted verification ticket, and the verification server 109 responds to the upload of the client 101 before the client 101 uploads the media data. The media data request returns a ticket to the client 101 as a credential for the user identity security. The uploading server 107 returns the ID of the media data to the client 101. After a predetermined time, the client 101 queries the processing server 108 via the service server 103 for the processing status of the media data. If the processing server 108 has processed the media data, it will The second media data is uploaded to the storage server 105 on the network side, and the link address (URL) of the second media data is obtained and returned to the service server 103. The client 101 acquires the second media data from the storage server 105 based on the above URL acquired from the service server 103.
例如,上述系统架构可以用于处理广告互动活动中产生的媒体数据。一个广告互动活动中,参与活动的各个用户可通过客户端101向上传服务器107上传媒体数据,其中,所述媒体数据包括音视频源文件及从验证服务器109中返回的ticket,处理服务器108对所述媒体数据进行音视频处理,处理成功后,处理服务器108将第二媒体数据上传至存储服务器105,存储服务器105返回该第二媒体数据的URL给处理服务器108,处理服务器108将该URL保存至信息提供服务器106。客户端101对应的业务服务器103向信息提供服务器106查询第二媒体数据的URL,并根据客户端101的请求将第二媒体数据的URL返回给客户端101,供用户在互动广告活动中直接使用,如用户可以点击该URL,即可播放制作好的音视频。For example, the above system architecture can be used to process media data generated in an ad interaction. In an advertisement interaction activity, each user participating in the activity may upload media data to the upload server 107 through the client 101, wherein the media data includes an audio and video source file and a ticket returned from the verification server 109, and the processing server 108 The media data is subjected to audio and video processing. After the processing is successful, the processing server 108 uploads the second media data to the storage server 105, and the storage server 105 returns the URL of the second media data to the processing server 108, and the processing server 108 saves the URL to Information providing server 106. The service server 103 corresponding to the client 101 queries the information providing server 106 for the URL of the second media data, and returns the URL of the second media data to the client 101 according to the request of the client 101, for the user to directly use in the interactive advertising campaign. If the user can click on the URL, the created audio and video can be played.
例如,上述系统架构还可以用于处理直播过程中产生的媒体数据。在直播过程中,参与活动的各个用户可通过客户端101向上传服务器107上传媒体数据,其中,所述媒体数据包括音视频源文件及从验证服务器109中返回的ticket,处理服务器108对所述媒体数据进行音视频剪辑以及各种功能添加,处理成功后,处理服务器108将第二媒体数据上传至存储服务器105,存储服务器105返回该第二媒体数据的URL给处理服务器108,处理服务器108将该URL保存至信息提供服务器106。客户端101对应的业务服务器103向信息提供服务器106查询第二媒体数据的URL,并根据客户端101的请求将第二媒体数据的链接地址返回给客户端101,供用户播放直播视频使用。For example, the above system architecture can also be used to process media data generated during a live broadcast. During the live broadcast process, each user participating in the activity may upload media data to the upload server 107 through the client 101, wherein the media data includes an audio and video source file and a ticket returned from the verification server 109, and the processing server 108 The media data is subjected to audio and video editing and various function additions. After the processing is successful, the processing server 108 uploads the second media data to the storage server 105, and the storage server 105 returns the URL of the second media data to the processing server 108, and the processing server 108 This URL is saved to the information providing server 106. The service server 103 corresponding to the client 101 queries the information providing server 106 for the URL of the second media data, and returns the link address of the second media data to the client 101 according to the request of the client 101, for the user to play the live video.
本申请实施例提出的媒体数据处理方法应用于数据处理服务器104,如图2所示,该方法包括以下步骤:The media data processing method proposed by the embodiment of the present application is applied to the data processing server 104. As shown in FIG. 2, the method includes the following steps:
步骤200:对于当前业务的任一客户端,执行如下步骤201~203:Step 200: Perform any of the following steps 201-203 for any client of the current service:
步骤201:接收该客户端上传的第一媒体数据。Step 201: Receive first media data uploaded by the client.
其中,媒体数据可以为音视频等数据,从而所述第一媒体数据可以为音视频源文件。在一些实例中,数据处理服务器可以接收并临时存储所述媒体数据源文件,可以是数据处理服务器中的上传服务器本地临时存储所述媒体数据源文件,以便数据处理服务器中的旁路处理服务器对上传服务器存储的媒体数据源文件进行处理。The media data may be data such as audio and video, so that the first media data may be an audio and video source file. In some examples, the data processing server may receive and temporarily store the media data source file, and may be an upload server in the data processing server that temporarily stores the media data source file for the bypass processing server pair in the data processing server. Upload the media data source file stored by the server for processing.
在一些实例中,响应于来自所述业务服务器的获取验证票据的请求,发送验证票据给所述业务服务器;In some examples, transmitting a verification ticket to the service server in response to a request from the service server to obtain a verification ticket;
接收所述第一媒体数据时,进一步接收所述第一媒体数据对应的验证票据;Receiving the first media data, further receiving the verification ticket corresponding to the first media data;
根据所述验证票据校验所述第一媒体数据是否合法;Checking whether the first media data is legal according to the verification ticket;
当校验结果为所述第一媒体数据合法时,执行所述对所述第一媒体数据进行处理并得到第二媒体数据的处理。When the verification result is that the first media data is legal, the process of processing the first media data and obtaining the second media data is performed.
在一些实例中,响应于当前业务的客户端的上传源文件请求,数据处理服务器中的验证服务器(ticket server)返回客户端一个加密的验证票据(ticket),作为用户身份安全的凭证,以确保上传服务器不受非法用户的非法攻击。In some examples, in response to the upload source file request of the client of the current service, the ticket server in the data processing server returns an encrypted verification ticket of the client as a credential for the user identity security to ensure uploading. The server is not attacked by illegal users.
在一些实例中,客户端接收到验证服务器返回的ticket后,进一步将媒体数据源文件(如音视频源文件)、所述ticket、用户标识信息(即,对应应用或活动中注册的用户ID,如QQ号、微信号码等即时通讯号码)等数据上传到上传服务器。上传服务器解析所述ticket,以校验所述客户端的请求是否合法,若所述请求合法,则接收所述媒体数据源文件等数据。当上传成功时,上传服务器返回给所述客户端该媒体数据源文件的文件ID,该文件ID可以为ticket数据的一部分,所述ticket可以由如 项目ID、用户标识信息、文件ID以及该音视频源文件的上传日期等信息组成。若所述请求不合法,则上传服务器要求所述客户端重新发送上传源文件请求。In some examples, after receiving the ticket returned by the verification server, the client further uses a media data source file (such as an audio and video source file), the ticket, and user identification information (ie, a user ID registered in the corresponding application or activity, Data such as QQ number, micro-signal code and other instant messaging numbers are uploaded to the upload server. The uploading server parses the ticket to verify whether the request of the client is legal, and if the request is legal, receiving data such as the media data source file. When the upload is successful, the uploading server returns a file ID of the media data source file to the client, and the file ID may be part of the ticket data, and the ticket may be composed of, for example, a project ID, a user identification information, a file ID, and the sound. The information such as the upload date of the video source file. If the request is not valid, the upload server requests the client to resend the upload source file request.
客户端接收到上述文件ID后,将其发送至业务服务器,该业务服务器可以为网站服务器(web server)或应用服务器,业务服务器保存该文件ID。After receiving the file ID, the client sends the file ID to the service server. The service server can be a web server or an application server, and the service server saves the file ID.
步骤202:根据预先配置的当前业务对应的媒体数据处理需求,对所述第一媒体数据进行处理并得到第二媒体数据。Step 202: Process the first media data and obtain second media data according to a pre-configured media data processing requirement corresponding to the current service.
在一些实例中,数据处理服务器预先将多种业务的媒体数据处理需求分别封装成多个处理进程,并将所述多个处理进程分别与所述多种业务的业务标识相关联。其中,所述对所述第一媒体数据进行处理,包括:根据所述第一媒体数据携带的业务标识调用其关联的处理进程,以由该处理进程对所述第一媒体数据进行处理。In some examples, the data processing server separately encapsulates the media data processing requirements of the plurality of services into a plurality of processing processes, and associates the plurality of processing processes with the service identifiers of the plurality of services. The processing of the first media data includes: calling an associated processing process according to the service identifier carried by the first media data, to process the first media data by the processing process.
具体的,数据处理服务器采用的业务标识可以为项目ID,这样,每种业务对应一个项目ID,可以将处理进程的名称和项目ID相关联,如进程的名称中包含项目ID。Specifically, the service identifier used by the data processing server may be a project ID, so that each service corresponds to a project ID, and the name of the processing process and the project ID may be associated, for example, the name of the process includes the project ID.
其中,所述数据处理服务器可以采用如ffmpeg强大的音视频处理技术,且所述数据处理服务器采用多进程方式,根据当前业务对应的项目ID调用对应的处理进程。这里,数据处理服务器接收到的客户端上传的第一媒体数据可携带当前业务的业务标识(如:音视频源文件携带项目ID)。该处理过程中,数据处理服务器实时保存进程的处理状态、文件ID等处理信息,该处理信息可以存储至本地的缓存(cache)中,或者存储至专门的缓存(cache)服务器或其他存储系统(如redis db)中。其中,所述处理状态可以分为五种:1、正在处理,2、成功,3、解析错误(是指解析音视频处理请求的协议出错,如请求音视频处理的协议 参数不正确),4、处理错误(是指音视频处理失败,如音频格式不对等导致音视频处理失败),5、上传存储服务器错误。The data processing server may adopt a powerful audio and video processing technology such as ffmpeg, and the data processing server adopts a multi-process mode, and invokes a corresponding processing process according to the item ID corresponding to the current service. Here, the first media data uploaded by the client received by the data processing server may carry the service identifier of the current service (eg, the audio and video source file carries the item ID). During the processing, the data processing server saves processing information such as processing status and file ID of the process in real time, and the processing information may be stored in a local cache or stored in a dedicated cache server or other storage system ( As in redis db). The processing status can be divided into five types: 1. processing, 2, success, 3. parsing error (refers to protocol error for parsing audio and video processing request, such as requesting audio and video processing protocol parameters are incorrect), 4 Processing error (refers to audio and video processing failure, such as audio format failure caused by audio format mismatch), 5, upload storage server error.
步骤203:将所述第二媒体数据存储在网络侧并获得所述第二媒体数据的链接地址。Step 203: Store the second media data on the network side and obtain a link address of the second media data.
在一些实例中,数据处理服务器将所述第二媒体数据上传到存储服务器,其中,所述存储服务器存储所述第二媒体数据并生成所述链接地址;从所述存储服务器接收所述链接地址。In some examples, the data processing server uploads the second media data to a storage server, wherein the storage server stores the second media data and generates the link address; receiving the link address from the storage server .
具体的,所述处理进程处理完成后,数据处理服务器将所述处理过的媒体数据文件,即第二媒体数据,上传至存储服务器中,该存储服务器可以为云存储服务器,或者内容分发网络(CDN)服务器,所述云存储服务器或CDN服务器将第二媒体数据的下载地址(URL)返回给数据处理服务器,其中,所述第二媒体数据为所述媒体数据经数据处理服务器处理后的媒体数据。Specifically, after the processing of the processing is completed, the data processing server uploads the processed media data file, that is, the second media data, to the storage server, where the storage server may be a cloud storage server or a content distribution network ( a CDN) server, the cloud storage server or CDN server returns a download address (URL) of the second media data to the data processing server, wherein the second media data is the media processed by the data processing server by the data processing server data.
在一些实例中,当对所述第一媒体数据进行处理并得到第二媒体数据之后,记录处理状态,其中,所述处理状态指示所述处理成功;其中,当所述处理成功时,将所述第二媒体数据存储在网络侧并获得所述链接地址;该方法进一步包括:当对一客户端上传的所述第一媒体数据进行的所述处理失败时,提供所述处理状态给所述业务服务器,以使所述业务服务器将所述处理状态提供给所述客户端。In some examples, after processing the first media data and obtaining the second media data, recording a processing state, wherein the processing state indicates that the processing is successful; wherein, when the processing is successful, The second media data is stored on the network side and obtains the link address; the method further includes: when the processing of the first media data uploaded by a client fails, providing the processing status to the a service server to cause the service server to provide the processing status to the client.
步骤204:响应于来自业务服务器的链接地址获取请求,将所获得的当前业务的一个或多个所述链接地址发送给所述业务服务器,以使所述业务服务器向当前业务的任一客户端提供该客户端可用的一个或多个所述链接地址。Step 204: Send one or more of the obtained link addresses of the obtained current service to the service server in response to the link address acquisition request from the service server, so that the service server is to any client of the current service. One or more of the link addresses available to the client are provided.
在一些实例中,当接收到所述第一媒体数据之后,将所述第一媒体数据的标识发送给所述业务服务器;将所获得的所述第二媒体数据的链 接地址与所述第一媒体数据的标识对应保存;In some examples, after receiving the first media data, sending the identifier of the first media data to the service server; and obtaining the obtained link address of the second media data and the first The identifier of the media data is correspondingly saved;
其中,所述将所述链接地址提供给业务服务器,包括:The providing the link address to the service server includes:
响应于来自所述业务服务器的查询请求,根据所述查询请求携带的所述第一媒体数据的标识查找到对应的所述链接地址;及Responding to the query request from the service server, searching for the corresponding link address according to the identifier of the first media data carried by the query request; and
将查找到的所述链接地址发送给所述业务服务器。Sending the found link address to the service server.
这里,业务服务器得知产品上传第一媒体数据成功后,经过预定时间便向数据处理服务器中的旁路处理服务器查询第一媒体数据处理状态,当旁路处理服务器处理完成后,第二媒体数据的下载地址(即链接地址)可用,便将所述下载地址返回给业务服务器。Here, after the service server learns that the product uploads the first media data successfully, it queries the bypass processing server in the data processing server for the first media data processing state after a predetermined time, and when the bypass processing server finishes processing, the second media data The download address (ie, the link address) is available, and the download address is returned to the service server.
在一些实例中,在音视频源文件上传成功后,经过预定时间,客户端可向业务服务器查询音视频源文件的处理状态。当旁路处理服务器对此音视频源文件处理成功后,可获得对应的音视频文件(即第二媒体数据)的链接地址,可将此链接地址返回给业务服务器,业务服务器将所收到的各链接地址以及对应的音视频源文件的文件ID对应保存。旁路处理服务器也可将对音视频源文件的处理状态(如:1、正在处理,2、成功,3、解析错误,4、处理错误,5、上传存储服务器错误等状态)发送给业务服务器。对于一个客户端,业务服务器可以将该客户端上传的音视频源文件的处理状态提供给客户端,也可以将该客户端可用的一个或多个第二媒体数据的链接地址提供给该客户端,该客户端通过任一链接地址,可从存储服务器获取上述该链接地址对应的第二媒体数据。In some examples, after the audio and video source file is successfully uploaded, the client may query the service server for the processing status of the audio and video source file after a predetermined time. After the bypass processing server successfully processes the audio and video source file, the link address of the corresponding audio and video file (ie, the second media data) can be obtained, and the link address can be returned to the service server, and the service server receives the received address. Each link address and the file ID of the corresponding audio and video source file are saved. The bypass processing server can also send the processing status of the audio and video source files (eg, 1, processing, 2, success, 3, parsing error, 4, processing error, 5, uploading storage server error, etc.) to the service server. . For a client, the service server may provide the processing status of the audio and video source file uploaded by the client to the client, or provide the link address of the one or more second media data available to the client to the client. The client obtains the second media data corresponding to the link address from the storage server by using any link address.
这里,某一客户端可用的一个或多个第二媒体数据的链接地址可以包括以下中的至少一项:1、与该客户端当前用户参与同一互动活动(比如广告互动活动)的其它用户上传的各第一媒体数据对应的各第二媒体数据的链接地址,2、关注该客户端当前用户的各用户针对某个媒体内容上传的各第一媒体数据对应的各第二媒体数据的链接地址,3、该客 户端当前用户关注的各用户上传的各第一媒体数据对应的各第二媒体数据的链接地址,4、该客户端当前用户的好友上传的各第一媒体数据对应的各第二媒体数据的链接地址,5、针对某一媒体内容所有用户上传的各第一媒体数据对应的各第二媒体数据的链接地址,等等。Here, the link address of the one or more second media data available to a certain client may include at least one of the following: 1. uploading by another user who participates in the same interactive activity (such as an advertisement interaction activity) with the current user of the client. a link address of each second media data corresponding to each of the first media data, and a link address of each second media data corresponding to each of the first media data uploaded by the user of the current user of the client for a certain media content 3. The link address of each second media data corresponding to each first media data uploaded by each user that is currently concerned by the client, and the first corresponding to each first media data uploaded by the friend of the current user of the client a link address of the second media data, a link address of each second media data corresponding to each first media data uploaded by all users of a certain media content, and the like.
例如,对于上述第1项,在一个广告互动活动中,参与活动的各个用户可通过各自的客户端上传音视频源文件,并由后台处理得到一音视频文件(即第二媒体数据)的链接地址,在此广告互动活动中产生的对应于各用户的音视频文件的链接地址都可以提供给某一用户的客户端,这样,此用户可以播放各个用户的音视频文件。For example, for the first item mentioned above, in an advertisement interaction activity, each user participating in the activity may upload an audio and video source file through a respective client, and obtain a link of an audio and video file (ie, second media data) by the background processing. The address, the link address corresponding to the audio and video files of each user generated in the advertisement interaction activity can be provided to the client of a certain user, so that the user can play the audio and video files of each user.
再例如,对于上述第2项,该客户端是个配音软件,该客户端的当前用户通过配音软件上传的一个音视频源文件(配音作品源文件),后台处理得到一配音作品的链接地址并发布在配音软件的平台中,关注此用户的各其它用户的客户端可访问此配音作品的链接地址并播放,还可针对此配音作品发出评论或者多媒体互动,进而可以上传各自的音视频源文件(对于配音作品发表的语音评论或音视频互动信息)到后台,后台可以处理得到各音视频文件的链接地址,并将各音视频文件的链接地址提供给发表配音作品的该客户端。后台也可以给关注此配音作品的各用户的客户端提供这些链接地址(即上述第5项)。For example, for the second item mentioned above, the client is a dubbing software, and an audio/video source file (a dubbing work source file) uploaded by the current user of the client through the dubbing software is processed in the background to obtain a link address of a dubbed work and is published in In the platform of the dubbing software, the clients of other users who pay attention to this user can access the link address of the dubbed work and play it, and can also send comments or multimedia interactions for the dubbed work, and then upload the respective audio and video source files (for The voice comment or audio and video interactive information published by the dubbed work) to the background, the background can process the link address of each audio and video file, and provide the link address of each audio and video file to the client that publishes the dubbed work. The background address can also be provided to the clients of each user who pays attention to the dubbed work (ie, item 5 above).
又例如,对于上述第3项,该客户端是个配音软件,该客户端的当前用户通过配音软件上传的一个音视频源文件(配音作品源文件),后台处理得到一配音作品的链接地址并发布在配音软件的平台中,此用户关注的各其它用户的客户端也可上传各自的音视频源文件(配音作品源文件)到后台,后台可以处理得到各音视频文件的链接地址,并将各音视频文件的链接地址提供给客户端,这样用户可以访问到其所关注的各其它用户发表的配音作品。对于上述第4项,用户的客户端可以获得各 好友发表的音视频作品或者音视频评论。For another example, for the third item, the client is a dubbing software, and an audio/video source file (a dubbing work source file) uploaded by the current user of the client through the dubbing software is processed in the background to obtain a link address of a dubbed work and is published in In the platform of the dubbing software, the clients of other users who are concerned by the user can also upload their respective audio and video source files (the dubbing work source files) to the background, and the background can process the link addresses of the respective audio and video files, and the respective sounds. The link address of the video file is provided to the client so that the user can access the dubbed work published by each other user of interest. For item 4 above, the user's client can obtain audio and video works or audio and video comments published by each friend.
本申请实施例中,上述客户端可用的一个或多个第二媒体数据的链接地址并不限于以上五种情况,根据当前客户端页面提供的媒体互动功能的不同以及用户的权限设置,对于此客户端可用的第二媒体数据的链接地址会有不同,总之,业务服务器可以根据业务逻辑确定客户端当前页面中可用的第二媒体数据的链接地址。In the embodiment of the present application, the link address of the one or more second media data that is available to the client is not limited to the above five situations, and according to different media interaction functions provided by the current client page and the user's permission settings, The link address of the second media data available to the client may be different. In summary, the service server may determine the link address of the second media data available in the current page of the client according to the business logic.
这里,由于该数据处理服务器处于后台中,当客户端对于媒体数据的处理需求发生变更时,只需要在后台调整该处理需求对应的处理进程即可快速的实现变更,而不必对客户端的程序做任何改动,并且,媒体数据的格式转换等处理也不会占用用户侧的处理资源,能够提升整个系统的性能。Here, since the data processing server is in the background, when the processing demand of the client for the media data is changed, only the processing process corresponding to the processing requirement needs to be adjusted in the background to implement the change quickly, without having to do the program to the client. Any changes, and the format conversion of media data and other processing will not occupy the processing resources of the user side, and can improve the performance of the entire system.
其中,所述处理进程可被称为所述客户端(如配音软件、媒体播放器或微信等)的旁路处理过程,所述处理进程不影响所述客户端的正常操作,免去了用户使用该客户端的等待,提高用户体验。The processing process may be referred to as a bypass processing process of the client (such as a dubbing software, a media player, or a WeChat, etc.), and the processing process does not affect the normal operation of the client, thereby eliminating user use. The client waits to improve the user experience.
在一些实例中,上述数据处理服务器104可以包括上传处理模块、数据处理模块和信息提供模块,这些模块可以集成在同一个服务器设备中,也可分布在不同的服务器设备中。比如,上传处理模块可以位于上传服务器,数据处理模块可以位于数据处理服务器,信息提供模块可以位于一个独立的信息提供服务器,也可与数据处理模块位于同一服务器(如数据处理服务器)。这样,在一些实例中,数据处理服务器104可以包括:上传服务器、处理服务器(集成了数据处理模块和信息提供模块)。在另一些实例中,数据处理服务器104可以包括:上传服务器、处理服务器和信息提供服务器。In some examples, the data processing server 104 may include an upload processing module, a data processing module, and an information providing module. The modules may be integrated in the same server device or distributed in different server devices. For example, the upload processing module may be located in the upload server, the data processing module may be located in the data processing server, and the information providing module may be located in a separate information providing server, or may be located on the same server (such as a data processing server) as the data processing module. As such, in some examples, data processing server 104 can include an upload server, a processing server (integrated with a data processing module, and an information providing module). In other examples, data processing server 104 can include an upload server, a processing server, and an information providing server.
本申请实施例提出了一种媒体数据处理系统。在一些实例中,该系统300包括:业务服务器301、上传服务器302、处理服务器303和信 息提供服务器304,所述信息提供服务器304集成在所述处理服务器303之中或者独立设置;其中,所述上传服务器302,接收当前业务的任一客户端上传的第一媒体数据,并将所述第一媒体数据提供给所述处理服务器303;所述处理服务器303,根据预先配置的当前业务对应的媒体数据处理需求,对所述第一媒体数据进行处理并得到第二媒体数据;将所述第二媒体数据存储在网络侧并获得所述第二媒体数据的链接地址,并将所述链接地址保存在所述信息提供服务器304;所述业务服务器301,响应于来自当前业务的任一客户端的上传所述第一媒体数据的请求,向所述信息提供服务器304发送链接地址获取请求;所述信息提供服务器304,响应于来自所述业务服务器的所述链接地址获取请求,将所获得的当前业务的一个或多个所述链接地址发送给所述业务服务器301;所述业务服务器301,向当前业务的任一客户端提供对于该客户端可用的一个或多个所述链接地址。The embodiment of the present application proposes a media data processing system. In some examples, the system 300 includes a service server 301, an upload server 302, a processing server 303, and an information providing server 304, and the information providing server 304 is integrated in the processing server 303 or independently configured; The uploading server 302 receives the first media data uploaded by any client of the current service, and provides the first media data to the processing server 303. The processing server 303 is configured according to the pre-configured media corresponding to the current service. Data processing requirements, processing the first media data and obtaining second media data; storing the second media data on a network side and obtaining a link address of the second media data, and saving the link address The information providing server 304; the service server 301, in response to a request for uploading the first media data from any client of the current service, transmitting a link address acquisition request to the information providing server 304; the information a server 304 is provided in response to the link address from the service server And sending, to the service server 301, one or more of the obtained link addresses of the current service; the service server 301 provides one or more available to the client for any client of the current service. The link address.
在一些实例中,所述系统300进一步包括:验证服务器305;其中,所述业务服务器301,响应于所述上传所述第一媒体数据的请求,进一步向所述验证服务器305发送获取验证票据的请求;所述验证服务器305,响应于来自所述业务服务器301的所述获取验证票据的请求,发送验证票据给所述业务服务器301;所述业务服务器301,进一步将所述验证票据发送给所述客户端;所述上传服务器302接收所述第一媒体数据时,进一步接收所述第一媒体数据对应的验证票据;根据所述验证票据校验所述第一媒体数据是否合法;当校验结果为所述第一媒体数据合法时,将所述第一媒体数据提供给所述处理服务器303。In some examples, the system 300 further includes: an authentication server 305; wherein the service server 301 further transmits a verification verification ticket to the verification server 305 in response to the request to upload the first media data The verification server 305 sends a verification ticket to the service server 301 in response to the request for obtaining the verification ticket from the service server 301; the service server 301 further sends the verification ticket to the server When the first server data is received, the uploading server 302 further receives the verification ticket corresponding to the first media data, and checks whether the first media data is legal according to the verification ticket; As a result, when the first media data is legal, the first media data is provided to the processing server 303.
在一些实例中,当多个客户端的处理需求较多,单台服务器处理能力可能不足,则可采用分布式的处理方案,利用多台数据处理服务器进行分布式处理,处理的结果信息可以统一存储,提供业务服务器查询处 理状态使用。此种情况下,上述系统300中可以包括多组所述上传服务器302和所述处理服务器303,其中,每组包括一个所述上传服务器302和一个所述处理服务器303,所述信息提供服务器304独立设置;所述业务服务器301,响应于来自当前业务的任一客户端的上传所述第一媒体数据的请求,进一步从所述客户端接收所述第一媒体数据,为所述客户端选择一组所述上传服务器和所述处理服务器303,将所述第一媒体数据发送给所选择的所述上传服务器302;所述上传服务器302将所述第一媒体数据提供给同组的所述处理服务器303。In some instances, when multiple clients have more processing requirements and a single server may have insufficient processing power, a distributed processing scheme may be employed, and multiple data processing servers may be used for distributed processing, and the processed result information may be uniformly stored. Provides business server query processing status usage. In this case, the system 300 may include multiple sets of the upload server 302 and the processing server 303, wherein each group includes one of the upload server 302 and one of the processing servers 303, and the information providing server 304 Independently setting; the service server 301 further receives the first media data from the client, and selects one for the client, in response to a request for uploading the first media data from any client of the current service. The uploading server and the processing server 303, the first media data is sent to the selected upload server 302; the uploading server 302 provides the first media data to the same group of the processing Server 303.
在一些实例中,处理服务器303可以被称为旁路处理服务器,信息提供服务器304可被称为处理信息存储模块。In some examples, processing server 303 may be referred to as a bypass processing server, and information providing server 304 may be referred to as a processing information storage module.
如图4所示,分布式处理过程涉及:N个客户端(客户端1、客户端2……客户端N)、存储第二媒体数据的存储服务器以及将处理信息(包括URL和/或处理状态)统一存储的处理信息存储模块。而分布式处理平台还包括N组进行媒体数据处理的服务器,每一组包括一个上传服务器和一个旁路处理服务器,如图4所示,可包括:上传服务器1和旁路处理服务器1、上传服务器2和旁路处理服务器2、上传服务器N和旁路处理服务器N。因本申请实施例主要涉及对于媒体数据的分布式处理,因此,平台中未示出业务服务器和验证服务器,在实际应用中,该平台中也可能包括一个或多个业务服务器和验证服务器,其中任一客户端可向当前业务对应的业务服务器发送上传媒体数据源文件的请求,也可从对应的验证服务器获得ticket。As shown in FIG. 4, the distributed processing process involves: N clients (client 1, client 2, ... client N), a storage server storing second media data, and processing information (including URLs and/or processing). Status) Unified storage processing information storage module. The distributed processing platform further includes N groups of servers for media data processing, each group including an upload server and a bypass processing server, as shown in FIG. 4, which may include: an upload server 1 and a bypass processing server 1. uploading The server 2 and the bypass processing server 2, the upload server N, and the bypass processing server N. Because the embodiment of the present application mainly relates to distributed processing of media data, the service server and the verification server are not shown in the platform. In actual applications, the platform may also include one or more service servers and verification servers, where Any client may send a request to upload a media data source file to a service server corresponding to the current service, or obtain a ticket from the corresponding authentication server.
然后,客户端将ticket、媒体数据源文件、项目ID等数据发送到对应的业务服务器,由业务服务器选择一个上传服务器并将ticket、媒体数据源文件、项目ID等数据上传到所选的上传服务器,这个选择规则可以如下:将各上传服务器的IP地址和端口号列表配置在业务服务器 中,当业务服务器接收到来自客户端的请求时,通过项目ID和上传服务器的总数“取模值”的方式选择其中的一台上传服务器。例如:共有7个项目ID,分别为1000、1001、……、1006,以及共有5台上传服务器,其IP地址分别为{"10.127.0.1","10.127.0.2","10.127.0.3","10.127.0.4","10.127.0.5"},则客户端1所对应的上传服务器为:将客户端1当前所用业务的项目ID与上传服务器的总数取模,1000%5=0,则确定客户端1所对应的上传服务器的标识为0,上传服务器的IP地址为server[0]=10.127.0.1;同理,客户端2所对应的上传服务器为:1001%5=1,则确定客户端2所对应的上传服务器标识为1,上传服务器的IP地址为server[1]=10.127.0.2;同理,客户端3所对应的上传服务器为:1002%5=2,则确定客户端3所对应的上传服务器标识为2,上传服务器的IP地址为server[2]=10.127.0.3;同理,客户端4所对应的上传服务器为:1003%5=3,则确定客户端4所对应的上传服务器标识为3,上传服务器的IP地址为server[3]=10.127.0.4;同理,客户端5所对应的上传服务器为:1004%5=4,则确定客户端5所对应的上传服务器标识为4,上传服务器的IP地址为server[4]=10.127.0.5;同理,客户端6所对应的上传服务器为:1005%5=0,则确定客户端6所对应的上传服务器标识为0,上传服务器的IP地址为server[0]=10.127.0.1;同理,客户端7所对应的上传服务器为:1006%5=1,则确定客户端7所对应的上传服务器标识为1,上传服务器的IP地址为server[1]=10.127.0.2。Then, the client sends data such as a ticket, a media data source file, and a project ID to the corresponding service server, and the service server selects an upload server and uploads data such as a ticket, a media data source file, and a project ID to the selected upload server. The selection rule may be as follows: the IP address and the port number list of each upload server are configured in the service server, and when the service server receives the request from the client, the method modulates the total number of the project ID and the upload server. Select one of the upload servers. For example: there are 7 project IDs, 1000, 1001, ..., 1006, and a total of 5 upload servers, the IP addresses are {"10.127.0.1", "10.127.0.2", "10.127.0.3", "10.127.0.4", "10.127.0.5"}, the upload server corresponding to the client 1 is: modulo the project ID of the service currently used by the client 1 and the total number of the upload server, 1000% 5 = 0, then determine The ID of the upload server corresponding to client 1 is 0, and the IP address of the upload server is server[0]=10.127.0.1. Similarly, the upload server corresponding to client 2 is: 1001%5=1, then the client is determined. The upload server ID corresponding to terminal 2 is 1, and the IP address of the upload server is server[1]=10.127.0.2. Similarly, the upload server corresponding to client 3 is: 1002%5=2, then client 3 is determined. The corresponding upload server ID is 2, and the IP address of the upload server is server[2]=10.127.0.3. Similarly, the upload server corresponding to client 4 is: 1003%5=3, then the client 4 is determined. The upload server ID is 3, and the IP address of the upload server is server[3]=10.127.0.4; similarly, the guest The upload server corresponding to the terminal 5 is: 1004% 5=4, and it is determined that the upload server identifier corresponding to the client 5 is 4, and the IP address of the upload server is server[4]=10.127.0.5; similarly, the client 6 The corresponding upload server is: 1005%5=0, it is determined that the upload server identifier corresponding to the client 6 is 0, and the IP address of the upload server is server[0]=10.127.0.1; similarly, the client 7 corresponds to The upload server is: 1006%5=1, it is determined that the upload server identifier corresponding to client 7 is 1, and the IP address of the upload server is server[1]=10.127.0.2.
当上述音视频源文件等数据上传成功后,其中接收该数据的上传服务器通知其对应的旁路处理服务器进行处理,该通知中携带项目ID,旁路处理服务器根据该项目ID调用该项目ID所对应的处理进程进行处理,处理的信息统一集中放在处理信息存储模块,以便业务服务器查询处理状态使用。当旁路处理服务器将媒体数据源文件成功处理完成后, 便将第二媒体数据上传至存储服务器,存储服务器将第二媒体数据的链接地址(URL)(处理信息)返回给旁路处理服务器,旁路处理服务器将URL保存至处理信息存储模块。After the data of the audio and video source file is successfully uploaded, the uploading server receiving the data notifies the corresponding bypass processing server to perform processing, and the notification carries the item ID, and the bypass processing server calls the item ID according to the item ID. The corresponding processing process is processed, and the processed information is uniformly placed in the processing information storage module, so that the service server queries the processing state for use. After the bypass processing server successfully processes the media data source file, the second media data is uploaded to the storage server, and the storage server returns the link address (URL) (processing information) of the second media data to the bypass processing server. The bypass processing server saves the URL to the processing information storage module.
采用上述处理技术方案,能够实现媒体数据的处理和产品解耦,同时数据处理服务器在后台异步处理,可以在较短的时间内处理完成媒体数据的处理需求,以及在处理过程中,不会阻塞用户的其他操作,从而使得用户体验更好。该方案可以快速的实现各种复杂的媒体数据处理的需求,提高用户的使用体验。The above processing technology solution can realize media data processing and product decoupling, and the data processing server processes asynchronously in the background, can process the processing requirements of the completed media data in a short time, and does not block during the processing. Other user actions, which makes the user experience better. The solution can quickly realize the needs of various complex media data processing and improve the user experience.
在一些实例中,对于互动广告活动(例如为用户点击广告进入一个活动页面,也就是和用户互动的页面(用户可以在该页面中进行语音互动或语音评论等操作),加深用户对广告的认识)中常有需要使用视频、音频素材等媒体数据处理的场景,一般情况下剪辑音视频、添加背景音乐、字幕,裁剪音视频成所需要的时间长度等需要耗费较大的时间成本,同时必须在完成音视频的全部制作后才能进行上传至存储服务器进行存储,以便于下次使用时直接调用。而采用本申请实施例的技术方案,客户端通过业务服务器选择分布式处理平台(如图4中所示)中的一个上传服务器将音视频源文件上传,然后由旁路处理服务器进行音视频处理,处理成功后,旁路处理服务器将第二媒体数据上传至存储服务器,存储服务器返回该第二媒体数据的URL给旁路处理服务器,旁路处理服务器将URL保存至处理信息存储模块。客户端对应的业务服务器向该处理信息存储模块查询第二媒体数据的链接地址,并根据客户端的请求将第二媒体数据的链接地址返回给客户端,供用户在互动广告活动中直接使用,如用户可以点击该URL,即可播放制作好的音视频。其中,所述客户端和分布式处理平台(图1B中为后台)交互的过程可参见图1B。同时,因该互动广告活动从开发到上线时间相对较短,而且需求变 更也较为频繁,采用本申请实施例的上述技术方案可以快速的满足开发上线、功能更新以及需求变更等需求。In some instances, for interactive advertising campaigns (such as for users to click on an ad to enter an event page, that is, a page that interacts with the user (the user can perform voice interactions or voice comments on the page), deepen the user’s awareness of the ad. There are often scenes that need to be processed using media data such as video and audio material. In general, editing audio and video, adding background music, subtitles, cutting audio and video into a required length of time, etc., requires a large time cost, and must be After the audio and video is completed, it can be uploaded to the storage server for storage, so that it can be called directly when it is used next time. With the technical solution of the embodiment of the present application, the client selects an uploading server in the distributed processing platform (as shown in FIG. 4) through the service server to upload the audio and video source file, and then the bypass processing server performs audio and video processing. After the processing is successful, the bypass processing server uploads the second media data to the storage server, and the storage server returns the URL of the second media data to the bypass processing server, and the bypass processing server saves the URL to the processing information storage module. The service server corresponding to the client queries the processing information storage module for the link address of the second media data, and returns the link address of the second media data to the client according to the request of the client, for the user to directly use in the interactive advertising campaign, such as Users can click on the URL to play the produced audio and video. The process of interacting between the client and the distributed processing platform (in the background in FIG. 1B) can be seen in FIG. 1B. At the same time, because the interactive advertising campaign has a relatively short time from development to launch, and the demand changes more frequently, the above technical solution of the embodiment of the present application can quickly meet the requirements of development online, function update, and demand change.
本申请实施例的上述技术方案还可以结合现有的直播平台或直播活动进行使用。一般直播后都会有对视频素材进行剪辑回放的需求,本申请实施例通过提供封装好的分布式处理平台(如图4所示),直播平台或直播活动中将其视频源文件上传至业务服务器,业务服务器选择分布式处理平台中的一上传服务器,然后由旁路处理服务器进行音视频剪辑以及各种功能添加,最后存储服务器提供处理好的音视频文件的URL,给旁路处理服务器,旁路处理服务器将URL保存至处理信息存储模块。客户端对应的业务服务器向该处理信息存储模块查询第二媒体数据的URL,并根据客户端的请求将第二媒体数据的URL返回给客户端,供用户播放直播视频使用。其中,所述客户端和分布式处理平台(图1B中为后台)交互的过程可参见图1B。The foregoing technical solutions of the embodiments of the present application may also be used in combination with an existing live broadcast platform or a live broadcast event. After the live broadcast, there is a need for the clip playback of the video material. The embodiment of the present application uploads the video source file to the service server by providing a packaged distributed processing platform (as shown in FIG. 4), the live broadcast platform or the live broadcast event. The service server selects an upload server in the distributed processing platform, and then the audio and video clips and various functions are added by the bypass processing server, and finally the storage server provides the URL of the processed audio and video file to the bypass processing server. The road processing server saves the URL to the processing information storage module. The service server corresponding to the client queries the processing information storage module for the URL of the second media data, and returns the URL of the second media data to the client according to the request of the client, for the user to play the live video. The process of interacting between the client and the distributed processing platform (in the background in FIG. 1B) can be seen in FIG. 1B.
通过采用上述技术方案,可以快速的实现各种复杂的媒体数据处理需求,不会阻塞用户的其他操作,以及快速的实现媒体数据处理需求的变更,同时还为客户端的开发上线、功能更新节省了大量时间。高效快速的分布式异步处理,提高了用户对有媒体数据处理需求的产品的体验。同时通过将封装好的平台入口开放给直播平台或直播活动等使用场景,快速导入音视频源,将直播音视频快速进行二次制作、复用和传播。By adopting the above technical solution, various complex media data processing requirements can be quickly realized, the user's other operations are not blocked, and the media data processing requirements are quickly changed, and the client development and function update are saved. lot of time. Efficient and fast distributed asynchronous processing improves the user experience of products with media data processing requirements. At the same time, by opening the encapsulated platform portal to a live broadcast platform or a live broadcast event, the audio and video source can be quickly imported, and the live audio and video can be quickly produced, reused, and propagated.
本申请实施例还提出一种媒体数据处理方法,该方法可应用于客户端101中,如图5所示,该方法包括以下步骤:The embodiment of the present application further provides a media data processing method, which can be applied to the client 101. As shown in FIG. 5, the method includes the following steps:
步骤501:将当前业务产生的第一媒体数据上传至数据处理服务器;其中,针对当前业务的任一客户端上传的所述第一媒体数据,所述数据处理服务器根据预先配置的当前业务对应的媒体数据处理需求对所述第一媒体数据进行处理并得到第二媒体数据,将所述第二媒体数据存储 在网络侧并获得所述第二媒体数据的链接地址。Step 501: Upload the first media data generated by the current service to the data processing server, where the data processing server is configured according to the pre-configured current service, for the first media data uploaded by any client of the current service. The media data processing requirement processes the first media data and obtains the second media data, and stores the second media data on a network side and obtains a link address of the second media data.
步骤502:向业务服务器发送链接地址获取请求;其中,所述业务服务器响应于所述链接地址获取请求,从所述数据处理服务器获得的当前业务的一个或多个链接地址中确定对于本客户端可用的各所述链接地址。Step 502: Send a link address obtaining request to the service server, where the service server determines, according to the link address obtaining request, one or more link addresses of the current service obtained by the data processing server for the client. Each of the linked addresses available.
步骤503:从所述业务服务器接收对于本客户端可用的各所述链接地址。Step 503: Receive, from the service server, each of the link addresses available to the client.
步骤504:响应于用户对于接收到的各所述链接地址中任一链接地址的选择操作,根据被选择的所述链接地址从网络侧获取所述第二媒体数据。Step 504: Acquire the second media data from the network side according to the selected link address in response to the user selecting operation of any one of the received link addresses.
步骤505:播放所获取的所述第二媒体数据。Step 505: Play the acquired second media data.
在一些实例中,向所述业务服务器发送上传请求;其中,所述业务服务器响应于所述上传请求从所述数据处理服务器获取验证票据;从所述业务服务器接收所述验证票据;将所述验证票据与所述第一媒体数据一起上传至所述数据处理服务器,以使其根据所述验证票据校验所述第一媒体数据是否合法,当校验结果为所述第一媒体数据合法时,执行所述对所述第一媒体数据进行处理并得到第二媒体数据的处理。In some examples, an upload request is sent to the service server; wherein the service server obtains an authentication ticket from the data processing server in response to the upload request; receiving the verification ticket from the service server; And the verification ticket is uploaded to the data processing server together with the first media data, so that the first media data is valid according to the verification ticket, and when the verification result is that the first media data is legal And performing the processing of processing the first media data and obtaining the second media data.
在一些实例中,从所述业务服务器接收处理状态,其中,所述处理状态用于指示所述数据处理服务器对本客户端上传的所述第一媒体数据进行所述处理是否成功;及展示所述处理状态。In some examples, receiving a processing status from the service server, wherein the processing status is used to indicate whether the data processing server performs the processing on the first media data uploaded by the client is successful; Processing status.
图6示出了本申请实施例提供的媒体数据处理的交互图。其中,客户端为展示一媒体互动活动(如直播活动)的web页面的浏览器,从而其对应的业务服务器为网站服务器(web server);所述数据处理服务器104在该图中由虚线中的服务器构成,包括验证服务器(ticket server)、上传服务器和旁路处理服务器。这里,媒体数据可以为音视频数据。FIG. 6 is a diagram showing an interaction diagram of media data processing provided by an embodiment of the present application. The client is a browser for displaying a webpage of a media interaction activity (such as a live event), such that the corresponding service server is a web server; the data processing server 104 is in the figure by a dotted line. The server consists of a ticket server, an upload server, and a bypass processing server. Here, the media data may be audio and video data.
如图6所示,所述媒体数据处理包括以下步骤:As shown in FIG. 6, the media data processing includes the following steps:
步骤601:旁路处理服务器将客户端可参与的活动的音视频处理需求封装成该处理需求对应的处理进程,其中,每个活动对应一个项目ID,可将每个处理进程与一个项目ID对应保存。Step 601: The bypass processing server encapsulates the audio and video processing requirements of the activity that the client can participate in into a processing process corresponding to the processing requirement, where each activity corresponds to one project ID, and each processing process may correspond to one project ID. save.
步骤602:客户端通过上述活动的web页面向网站服务器发出上传音视频源文件的请求。这里,用户在使用客户端参与上述活动时,会产生音视频处理需求,比如:录制一段音视频并通过此web页面上传音视频源文件,此时,客户端会向网站服务器发出上传音视频源文件的请求。Step 602: The client sends a request for uploading an audio and video source file to the website server through the web page of the activity. Here, when the user participates in the above activities, the user may generate audio and video processing requirements, for example, recording an audio and video and uploading the audio and video source files through the web page. At this time, the client sends an audio and video source to the website server. Request for a file.
步骤603:在接收到上述请求后,网站服务器从验证服务器获取用于验证用户请求是否合法的ticket。Step 603: After receiving the above request, the website server obtains, from the verification server, a ticket for verifying whether the user request is legal.
步骤604:相应的,验证服务器返回该ticket给网站服务器,网站服务器将其返回给客户端。Step 604: Correspondingly, the verification server returns the ticket to the website server, and the website server returns it to the client.
步骤605:客户端将上述ticket、项目ID、音视频源文件和用户标识信息等数据上传至上传服务器。这里,后台采用分布式的处理平台时,数据可先发送给业务服务器,由业务服务器选择上传服务器,再将这些数据发送给所选的上传服务器。Step 605: The client uploads data such as the ticket, the item ID, the audio and video source file, and the user identification information to the upload server. Here, when the background uses a distributed processing platform, the data may be first sent to the service server, and the service server selects the upload server, and then sends the data to the selected upload server.
这里,所述音视频源文件可以包括用户在互动广告活动中录制的语音互动或语音评论,上述语音需进行效果处理等,或者在直播活动中录制的视频,该视频需进行剪辑以及各种功能添加等等。Here, the audio and video source file may include a voice interaction or a voice comment recorded by the user in an interactive advertising campaign, the voice needs to be processed, or the video recorded in the live event, the video needs to be edited and various functions. Add and so on.
步骤606:上传服务器解析上述ticket,如果校验合法,则执行步骤608,否则执行步骤607。Step 606: The uploading server parses the ticket. If the verification is legal, step 608 is performed; otherwise, step 607 is performed.
步骤607:上传服务器将上传失败的结果信息反馈给客户端。客户端在接收到该信息后,可以再次重新发送上传音视频源文件的请求,以及继续执行上述步骤,即再次重新执行步骤601-606,或结束当前流程。Step 607: The upload server feeds back the result of the upload failure to the client. After receiving the information, the client may resend the request for uploading the audio and video source file again, and continue to perform the above steps, that is, perform steps 601-606 again, or end the current process.
步骤608:上传服务器接收客户端上传的音视频源文件等数据,并 临时在本地存储音视频源文件,以供旁路处理服务器使用。Step 608: The uploading server receives data such as audio and video source files uploaded by the client, and temporarily stores the audio and video source files locally for use by the bypass processing server.
步骤609:若上述数据上传成功,上传服务器则返回客户端该音视频源文件的文件ID。Step 609: If the above data upload is successful, the upload server returns the file ID of the audio and video source file of the client.
步骤610:客户端向网站服务器发送保存文件ID的请求。Step 610: The client sends a request to save the file ID to the website server.
步骤611:网站服务器响应上述请求,保存文件ID。Step 611: The website server saves the file ID in response to the above request.
步骤612:上传服务器通知旁路处理服务器对音视频源文件进行处理,该通知中携带项目ID、文件ID及音视频源文件等数据。Step 612: The uploading server notifies the bypass processing server to process the audio and video source file, and the notification carries data such as an item ID, a file ID, and an audio and video source file.
步骤613:旁路处理服务器根据项目ID调用已经封装好的音视频处理进程,进行音视频处理,所述处理包括如变调、加背景音乐、音频转换或对视频素材进行剪辑回放等。Step 613: The bypass processing server calls the already packaged audio and video processing process according to the item ID, and performs audio and video processing, such as transposition, adding background music, audio conversion, or performing clip playback on the video material.
步骤614:旁路处理服务器实时将其对音视频源文件的处理信息,如文件ID、处理状态,存储至本地缓存(cache)中,以便客户端的查询。其中,后台采用分布式的处理平台时,旁路处理服务器将上述处理信息统一存储至处理信息存储模块。Step 614: The bypass processing server stores its processing information of the audio and video source file, such as the file ID and the processing status, into the local cache in real time for the client to query. The bypass processing server uniformly stores the processing information to the processing information storage module when the distributed processing platform is used in the background.
步骤615:旁路处理服务器成功处理完所述音视频源文件后,将成功处理完后的音视频文件,即第二媒体数据,上传至存储服务器,如云存储平台。而当旁路处理服务器没有成功处理完所述音视频源文件时,则无法将音视频文件上传至存储服务器,以及步骤615-步骤624均不执行。Step 615: After the bypass processing server successfully processes the audio and video source files, the successfully processed audio and video files, that is, the second media data, are uploaded to a storage server, such as a cloud storage platform. When the bypass processing server does not successfully process the audio/video source file, the audio and video files cannot be uploaded to the storage server, and steps 615-624 are not performed.
步骤616:存储服务器存储音视频文件。Step 616: The storage server stores the audio and video files.
步骤617:存储服务器返回音视频文件的链接地址(URL)给旁路处理服务器。这里,后台采用分布式的处理平台时,存储服务器将上述URL返回给旁路处理服务器,旁路处理服务器将URL保存至处理信息存储模块。Step 617: The storage server returns a link address (URL) of the audio and video file to the bypass processing server. Here, when the background uses a distributed processing platform, the storage server returns the URL to the bypass processing server, and the bypass processing server saves the URL to the processing information storage module.
步骤618:旁路处理服务器将该URL存储至本地cache中,并与文 件ID和项目ID对应保存。同样,后台采用分布式的处理平台时,旁路处理服务器将上述URL与文件ID和项目ID对应保存至处理信息存储模块。Step 618: The bypass processing server stores the URL in the local cache and saves it corresponding to the file ID and the item ID. Similarly, when the background uses a distributed processing platform, the bypass processing server saves the URL corresponding to the file ID and the item ID to the processing information storage module.
步骤619:网站服务器得知音视频源文件上传成功后,经过预定时间便根据文件ID向旁路处理服务器查询音视频源文件的处理状态以及音视频文件的URL,是否可用。其中,后台采用分布式处理平台时,网站服务器便根据文件ID向处理信息存储模块查询所述音视频源文件的处理状态以及音视频文件的URL,是否可用。Step 619: After the web server learns that the audio and video source file is successfully uploaded, the web server queries the bypass processing server for the processing status of the audio and video source file and the URL of the audio and video file according to the file ID. When the background adopts the distributed processing platform, the website server queries the processing information storage module for the processing status of the audio and video source file and the URL of the audio and video file according to the file ID.
步骤620:当处理状态为2,即“成功”时,URL可用,旁路处理服务器将该URL返回给网站服务器;当处理状态为其他时,则不返回URL。进一步的,旁路处理服务器可将处理状态反馈给网站服务器。其中,在返回URL和处理状态时会同时将文件ID返回给网站服务器。Step 620: When the processing status is 2, that is, "success", the URL is available, the bypass processing server returns the URL to the website server; when the processing status is other, the URL is not returned. Further, the bypass processing server can feed back the processing status to the website server. Among them, the file ID is returned to the web server at the same time when returning the URL and processing status.
步骤621:网站服务器获得URL后,便将文件ID及其对应的URL保存起来,得到一系列的文件ID和URL,即文件ID和URL清单列表。进一步的,可将当前业务的项目ID和文件ID和URL清单列表对应保存起来,以便区分不同业务中产生的各个音视频文件及其URL。Step 621: After obtaining the URL, the website server saves the file ID and its corresponding URL, and obtains a series of file IDs and URLs, that is, a file ID and a list of URL lists. Further, the item ID of the current service and the file ID and the URL list are correspondingly saved to distinguish the respective audio and video files generated in different services and their URLs.
步骤622:客户端向网站服务器请求URL,该请求可以为客户端在上传音视频源文件之后经过预定时间向网站服务器发送的(如每个10s自动刷新当前页面),亦可以为用户点击客户端展示的相应控件而发送的(如用户点击页面中的刷新键)。Step 622: The client requests a URL from the website server, and the request may be sent to the website server after the client uploads the audio and video source file (such as automatically refreshing the current page every 10s), or may click the client for the user. Sent by the corresponding control (such as the user clicks the refresh button in the page).
步骤623:网站服务器响应客户端的链接地址获取请求,将该客户端相关的URL(如当前页面的所有URL)均返回给客户端。Step 623: The website server responds to the client's link address acquisition request, and returns the client-related URL (such as all URLs of the current page) to the client.
步骤624:客户端根据上述任一URL从存储服务器获取第二媒体数据,播放该第二媒体数据,进而用户可以观看到经过处理后的音视频文件。这里,客户端在获取到一系列URL之后,可展示在页面中,进一 步的,响应于用户对于其中一URL的选择操作,可以根据所选的URL从存储服务器获取第二媒体数据。Step 624: The client acquires the second media data from the storage server according to any of the foregoing URLs, and plays the second media data, so that the user can view the processed audio and video files. Here, after obtaining a series of URLs, the client may be displayed in the page. Further, in response to the user selecting a URL, the second media data may be acquired from the storage server according to the selected URL.
基于上述实例提供的方法,本申请实施例还提出了媒体数据处理装置,该装置可应用于数据处理服务器,其中,所述数据处理服务器可以是由若干台服务器组成的服务器集群,或者是一个云计算服务中心。如图7所示,该装置包括:Based on the method provided by the foregoing example, the embodiment of the present application further provides a media data processing apparatus, where the apparatus is applicable to a data processing server, where the data processing server may be a server cluster composed of several servers, or a cloud. Computing Service Center. As shown in Figure 7, the device includes:
上传处理模块701,接收当前业务的任一客户端上传的第一媒体数据。The upload processing module 701 receives the first media data uploaded by any client of the current service.
数据处理模块702,根据预先配置的当前业务对应的媒体数据处理需求,对所述第一媒体数据进行处理并得到第二媒体数据;将所述第二媒体数据存储在网络侧并获得所述第二媒体数据的链接地址,并将所述链接地址保存在信息提供模块。The data processing module 702 processes the first media data and obtains the second media data according to the pre-configured media data processing requirement corresponding to the current service; and stores the second media data on the network side and obtains the first The link address of the second media data, and saves the link address in the information providing module.
所述信息提供模块703,响应于来自业务服务器的链接地址获取请求,将所获得的当前业务的一个或多个所述链接地址发送给所述业务服务器,以使所述业务服务器向当前业务的任一客户端提供一个或多个所述链接地址。The information providing module 703, in response to the link address obtaining request from the service server, transmitting one or more of the obtained link addresses of the current service to the service server, so that the service server is to the current service. Any client provides one or more of the linked addresses.
在一些实例中,所述装置进一步包括:验证模块704,响应于来自所述业务服务器的获取验证票据的请求,发送验证票据给所述业务服务器;其中,所述上传处理模块接收所述第一媒体数据时,进一步接收所述第一媒体数据对应的验证票据;根据所述验证票据校验所述第一媒体数据是否合法;当校验结果为所述第一媒体数据合法时,所述数据处理模块执行所述对所述第一媒体数据进行处理并得到第二媒体数据的处理。In some examples, the apparatus further includes: a verification module 704, responsive to a request from the service server to obtain a verification ticket, transmitting an authentication ticket to the service server; wherein the upload processing module receives the first Receiving, by the media data, the verification ticket corresponding to the first media data; verifying whether the first media data is legal according to the verification ticket; and when the verification result is that the first media data is legal, the data The processing module performs the processing of processing the first media data and obtaining the second media data.
在一些实例中,所述数据处理模块702,进一步预先将多种业务的媒体数据处理需求分别封装成多个处理进程,并将所述多个处理进程分 别与所述多种业务的业务标识相关联;其中,所述数据处理模块702对所述第一媒体数据进行处理,包括:根据所述第一媒体数据携带的业务标识调用其关联的处理进程,以由该处理进程对所述第一媒体数据进行处理。In some examples, the data processing module 702 further pre-packages the media data processing requirements of the multiple services into multiple processing processes, and respectively associates the multiple processing processes with the service identifiers of the multiple services. The processing of the first media data by the data processing module 702 includes: calling an associated processing process according to the service identifier carried by the first media data, to the first process by the processing process Media data is processed.
在一些实例中,所述上传处理模块701,当接收到所述第一媒体数据之后,进一步将所述第一媒体数据的标识发送给所述客户端,以使所述客户端将所述第一媒体数据的标识发送给所述业务服务器;所述信息提供模块703,进一步将所述数据处理模块702获得的所述第二媒体数据的链接地址与所述第一媒体数据的标识对应保存;其中,所述信息提供模块703所述将所述数据处理模块702获得的当前业务的一个或多个所述链接地址发送给所述业务服务器,包括:根据所述链接地址获取请求携带的一个或多个所述第一媒体数据的标识查找到对应的一个或多个所述链接地址;将查找到的所述一个或多个所述链接地址发送给所述业务服务器。In some examples, the upload processing module 701 further sends an identifier of the first media data to the client after receiving the first media data, so that the client An identifier of the media data is sent to the service server; the information providing module 703 further saves the link address of the second media data obtained by the data processing module 702 and the identifier of the first media data; The information providing module 703, when the one or more of the link addresses of the current service obtained by the data processing module 702 are sent to the service server, includes: acquiring one or And identifying, by the identifiers of the plurality of first media data, one or more of the link addresses; and sending the one or more of the link addresses that are found to the service server.
在一些实例中,所述数据处理模块702,当对所述第一媒体数据进行处理并得到第二媒体数据之后,进一步在所述信息提供模块中记录处理状态,其中,所述处理状态指示所述处理成功;其中,所述数据处理模块702,当所述处理成功时,将所述第二媒体数据存储在网络侧并获得所述链接地址;所述信息提供模块703,当所述数据处理模块对任一客户端上传的所述第一媒体数据进行的所述处理失败时,进一步提供所述处理状态给所述业务服务器,以使所述业务服务器将所述处理状态提供给该客户端。In some examples, the data processing module 702 further records a processing status in the information providing module after processing the first media data and obtaining the second media data, wherein the processing status indication is The processing is successful; wherein, the data processing module 702, when the processing is successful, storing the second media data on the network side and obtaining the link address; the information providing module 703, when the data processing And when the module fails to perform the processing on the first media data uploaded by any client, further providing the processing status to the service server, so that the service server provides the processing status to the client .
在一些实例中,所述装置包括多组上传处理模块701和数据处理模块702,其中,每组包括一个上传处理模块701和一个数据处理模块702。In some examples, the apparatus includes a plurality of sets of upload processing modules 701 and a data processing module 702, wherein each set includes an upload processing module 701 and a data processing module 702.
本申请实施例还提出一种媒体数据处理装置,该装置可应用于客户 端,其中,所述客户端可以为手机、PAD(平板电脑)、膝上型便携计算机、台式计算机等终端。如图8所示,该装置800包括:The embodiment of the present application further provides a media data processing device, which can be applied to a client, where the client can be a mobile phone, a PAD (tablet), a laptop portable computer, a desktop computer, or the like. As shown in FIG. 8, the apparatus 800 includes:
上传模块801,将当前业务产生的第一媒体数据上传至数据处理服务器;其中,针对当前业务的任一客户端上传的所述第一媒体数据,所述数据处理服务器根据预先配置的当前业务对应的媒体数据处理需求对所述第一媒体数据进行处理并得到第二媒体数据,将所述第二媒体数据存储在网络侧并获得所述第二媒体数据的链接地址。The uploading module 801 is configured to upload the first media data generated by the current service to the data processing server, where the data processing server is configured according to the pre-configured current service for the first media data uploaded by any client of the current service. The media data processing requirement processes the first media data and obtains second media data, and stores the second media data on a network side and obtains a link address of the second media data.
第一发送模块802,向业务服务器发送链接地址获取请求;其中,所述业务服务器响应于所述链接地址获取请求,从所述数据处理服务器获得的当前业务的一个或多个链接地址中确定对于本客户端可用的各所述链接地址。The first sending module 802 sends a link address obtaining request to the service server, where the service server determines, according to the link address obtaining request, one or more link addresses of the current service obtained by the data processing server Each of the linked addresses available to the client.
第一接收模块803,从所述业务服务器接收对于本客户端可用的各所述链接地址。The first receiving module 803 receives, from the service server, each of the link addresses available to the client.
获取模块804,响应于用户对于接收到的各所述链接地址中任一链接地址的选择操作,根据被选择的所述链接地址从网络侧获取所述第二媒体数据。The obtaining module 804 is configured to acquire the second media data from the network side according to the selected link address in response to the user selecting a connection address of any one of the received link addresses.
播放模块805,播放所获取的所述第二媒体数据。The playing module 805 plays the acquired second media data.
在一些实例中,该装置进一步包括:第二发送模块806,向所述业务服务器发送上传请求;其中,所述业务服务器响应于所述上传请求从所述数据处理服务器获取验证票据;第二接收模块807,从所述业务服务器接收所述验证票据;所述上传模块将所述验证票据与所述第一媒体数据一起上传至所述数据处理服务器,以使其根据所述验证票据校验所述第一媒体数据是否合法,当校验结果为所述第一媒体数据合法时,执行所述对所述第一媒体数据进行处理并得到第二媒体数据的处理。In some examples, the apparatus further includes: a second sending module 806, sending an upload request to the service server; wherein the service server acquires the verification ticket from the data processing server in response to the upload request; Module 807, receiving the verification ticket from the service server; the uploading module uploads the verification ticket together with the first media data to the data processing server to make it validate according to the verification ticket Whether the first media data is legal. When the verification result is that the first media data is legal, the process of processing the first media data and obtaining the second media data is performed.
在一些实例中,该装置进一步包括:第三接收模块808,从所述业 务服务器接收处理状态,其中,所述处理状态用于指示所述数据处理服务器对本客户端上传的所述第一媒体数据进行所述处理是否成功;及展示所述处理状态。In some examples, the apparatus further includes: a third receiving module 808, receiving a processing status from the service server, wherein the processing status is used to indicate the first media data uploaded by the data processing server to the client Whether the processing is successful; and displaying the processing status.
上述系统中各个实体实现各种功能的具体方法及原理在前文均有描述,这里不再赘述。The specific methods and principles for implementing various functions in each entity in the above system are described in the foregoing, and are not described here.
另外,在本申请各个实施例中的装置及各模块可以集成在一个处理单元中,也可以是各个模块单独物理存在,也可以两个或两个以上装置或模块集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the devices and modules in the various embodiments of the present application may be integrated into one processing unit, or each module may exist physically separately, or two or more devices or modules may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
在一实施例中,上述媒体数据处理装置可运行在任一用于媒体数据处理的计算设备中,并加载在该计算设备的存储器中。如图9所示,该计算设备包括一个或者多个处理器(CPU)902、通信模块904、存储器906、用户接口910,以及用于互联这些组件的通信总线908。In an embodiment, the media data processing apparatus described above can be executed in any computing device for media data processing and loaded into the memory of the computing device. As shown in FIG. 9, the computing device includes one or more processors (CPUs) 902, communication modules 904, memory 906, user interface 910, and a communication bus 908 for interconnecting these components.
处理器902可通过通信模块904接收和发送数据以实现网络通信和/或本地通信。The processor 902 can receive and transmit data through the communication module 904 to enable network communication and/or local communication.
用户接口910包括一个或多个输出设备912,其包括一个或多个扬声器和/或一个或多个可视化显示器。用户接口910也包括一个或多个输入设备914,其包括诸如,键盘,鼠标,声音命令输入单元或扩音器,触屏显示器,触敏输入板,姿势捕获摄像机或其他输入按钮或控件等。User interface 910 includes one or more output devices 912 that include one or more speakers and/or one or more visual displays. User interface 910 also includes one or more input devices 914 including, for example, a keyboard, a mouse, a voice command input unit or loudspeaker, a touch screen display, a touch sensitive tablet, a gesture capture camera or other input button or control, and the like.
存储器906可以是高速随机存取存储器,诸如DRAM、SRAM、DDRRAM、或其他随机存取固态存储设备;或者非易失性存储器,诸如一个或多个磁盘存储设备、光盘存储设备、闪存设备,或其他非易失性固态存储设备。The memory 906 can be a high speed random access memory such as DRAM, SRAM, DDRRAM, or other random access solid state storage device; or a non-volatile memory such as one or more magnetic disk storage devices, optical disk storage devices, flash memory devices, or Other non-volatile solid-state storage devices.
存储器906存储处理器902可执行的指令集,包括:The memory 906 stores a set of instructions executable by the processor 902, including:
操作系统916,包括用于处理各种基本系统服务和用于执行硬件相 关任务的程序;Operating system 916, including programs for processing various basic system services and for performing hardware related tasks;
应用918,可以包括用于实现媒体数据处理的各种应用程序,这种应用程序能够实现上述各实例中的处理流程,比如可以包括图7所示的装置700和/或图8所示的装置800。The application 918 can include various applications for implementing media data processing, such an application being capable of implementing the processing flow in each of the above examples, such as the device 700 shown in FIG. 7 and/or the device shown in FIG. 800.
在一些实例中,装置700可包括图7所示的各模块701~704中的模块701~703,所述装置700进一步还可以包括模块704,且各模块701~704可以是存储器906中存储的机器可执行指令。处理器902通过执行存储器906中各模块701~704中的机器可执行指令,进而能够实现上述各模块701~704的功能。In some examples, the apparatus 700 may include the modules 701-703 of the modules 701-704 shown in FIG. 7, the apparatus 700 may further include a module 704, and each of the modules 701-704 may be stored in the memory 906. Machine executable instructions. The processor 902 can implement the functions of the modules 701 to 704 described above by executing the machine executable instructions in the modules 701 to 704 in the memory 906.
在一些实例中,装置800可包括图8所示的各模块801~808中的模块801~805,所述装置800进一步还可以包括模块806~808,且各模块801~808可以是存储器906中存储的机器可执行指令。处理器902通过执行存储器906中各模块801~808中的机器可执行指令,进而能够实现上述各模块801~808的功能。In some examples, device 800 can include modules 801-805 of modules 801-808 shown in FIG. 8, and device 800 can further include modules 806-808, and each module 801-808 can be in memory 906. Stored machine executable instructions. The processor 902 can implement the functions of the modules 801 to 808 described above by executing the machine executable instructions in the modules 801 to 808 in the memory 906.
另外,本申请的每个实施例可以通过由数据处理设备如计算机执行的数据处理程序来实现。显然,数据处理程序构成了本申请实施例。此外,通常存储在一个存储介质中的数据处理程序通过直接将程序读取出存储介质或者通过将程序安装或复制到数据处理设备的存储设备(如硬盘和/或内存)中执行。因此,这样的存储介质也构成了本申请实施例。存储介质可以使用任何类型的记录方式,例如纸张存储介质(如纸带等)、磁存储介质(如软盘、硬盘、闪存等)、光存储介质(如CD-ROM等)、磁光存储介质(如MO等)等。Additionally, each embodiment of the present application can be implemented by a data processing program executed by a data processing device such as a computer. Obviously, the data processing program constitutes an embodiment of the present application. Further, a data processing program that is usually stored in one storage medium is executed by directly reading the program out of the storage medium or by installing or copying the program to a storage device (such as a hard disk and/or a memory) of the data processing device. Therefore, such a storage medium also constitutes an embodiment of the present application. The storage medium can use any type of recording method, such as paper storage medium (such as paper tape, etc.), magnetic storage medium (such as floppy disk, hard disk, flash memory, etc.), optical storage medium (such as CD-ROM, etc.), magneto-optical storage medium ( Such as MO, etc.).
因此,本申请实施例还提供了一种非易失性存储介质,其中存储有数据处理程序,该数据处理程序用于执行本申请上述方法的任何一种实施例。Therefore, the embodiment of the present application further provides a non-volatile storage medium in which a data processing program is stored, and the data processing program is used to execute any one of the foregoing methods of the present application.
以上所述仅为本申请的较佳实施例而已,并不用以限制本申请,凡在本申请实施例的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本申请保护的范围之内。The above description is only the preferred embodiment of the present application, and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc., which are included in the spirit and principles of the embodiments of the present application, should be included in Within the scope of protection of this application.
Claims (19)
- 一种媒体数据处理方法,其中,应用于数据处理服务器,该方法包括:A media data processing method, wherein the method is applied to a data processing server, the method comprising:对于当前业务的任一客户端,执行如下处理:For any client of the current service, perform the following processing:接收该客户端上传的第一媒体数据;Receiving first media data uploaded by the client;根据预先配置的当前业务对应的媒体数据处理需求,对所述第一媒体数据进行处理并得到第二媒体数据;及Processing the first media data and obtaining second media data according to a pre-configured media data processing requirement corresponding to the current service; and将所述第二媒体数据存储在网络侧并获得所述第二媒体数据的链接地址;Storing the second media data on a network side and obtaining a link address of the second media data;及响应于来自业务服务器的链接地址获取请求,将所获得的当前业务的一个或多个所述链接地址发送给所述业务服务器,以使所述业务服务器向当前业务的任一客户端提供该客户端可用的一个或多个所述链接地址。And transmitting, in response to the link address obtaining request from the service server, one or more of the obtained link addresses of the obtained current service to the service server, so that the service server provides the client to any client of the current service. One or more of the linked addresses available to the client.
- 根据权利要求1所述的方法,进一步包括:The method of claim 1 further comprising:在接收所述第一媒体数据之前,响应于来自所述业务服务器的获取验证票据的请求,发送验证票据给所述业务服务器;Before receiving the first media data, sending a verification ticket to the service server in response to a request from the service server to obtain a verification ticket;接收所述第一媒体数据时,进一步接收所述第一媒体数据对应的验证票据;Receiving the first media data, further receiving the verification ticket corresponding to the first media data;根据所述验证票据校验所述第一媒体数据是否合法;Checking whether the first media data is legal according to the verification ticket;当校验结果为所述第一媒体数据合法时,执行所述对所述第一媒体数据进行处理并得到第二媒体数据的处理。When the verification result is that the first media data is legal, the process of processing the first media data and obtaining the second media data is performed.
- 根据权利要求1所述的方法,进一步包括:预先将多种业务的媒体数据处理需求分别封装成多个处理进程,并将所述多个处理进程分别与所述多种业务的业务标识相关联;The method according to claim 1, further comprising: separately pre-packaging media data processing requirements of the plurality of services into a plurality of processing processes, and associating the plurality of processing processes with the service identifiers of the plurality of services respectively ;其中,所述对所述第一媒体数据进行处理,包括:根据所述第一媒体数据携带的业务标识调用其关联的处理进程,以由该处理进程对所述第一媒体数据进行处理。The processing of the first media data includes: calling an associated processing process according to the service identifier carried by the first media data, to process the first media data by the processing process.
- 根据权利要求1所述的方法,进一步包括:The method of claim 1 further comprising:当接收到所述第一媒体数据之后,将所述第一媒体数据的标识发送给所述客户端,以使所述客户端将所述第一媒体数据的标识发送给所述业务服务器;及After receiving the first media data, sending the identifier of the first media data to the client, so that the client sends the identifier of the first media data to the service server; and将所获得的所述第二媒体数据的链接地址与所述第一媒体数据的标识对应保存;And saving the obtained link address of the second media data and the identifier of the first media data;其中,所述将所获得的当前业务的一个或多个所述链接地址发送给所述业务服务器,包括:The sending, to the service server, one or more of the link addresses of the obtained current service, includes:根据所述链接地址获取请求携带的一个或多个所述第一媒体数据的标识查找到对应的一个或多个所述链接地址;及And searching for the corresponding one or more of the link addresses according to the identifier of one or more of the first media data carried by the link address obtaining request; and将查找到的所述一个或多个所述链接地址发送给所述业务服务器。Sending the one or more of the found link addresses to the service server.
- 根据权利要求1所述的方法,其中,所述将所述第二媒体数据存储在网络侧并获得所述第二媒体数据的链接地址,包括:The method of claim 1, wherein the storing the second media data on a network side and obtaining a link address of the second media data comprises:将所述第二媒体数据上传到存储服务器,其中,所述存储服务器存储所述第二媒体数据并生成所述链接地址;Uploading the second media data to a storage server, where the storage server stores the second media data and generates the link address;从所述存储服务器接收所述链接地址。The link address is received from the storage server.
- 根据权利要求1所述的方法,进一步包括:当对所述第一媒体数据进行处理并得到第二媒体数据之后,记录处理状态,其中,所述处理状态指示所述处理成功;The method of claim 1, further comprising: after processing the first media data and obtaining the second media data, recording a processing state, wherein the processing state indicates that the processing is successful;其中,当所述处理成功时,将所述第二媒体数据存储在网络侧并获得所述链接地址;Wherein, when the processing is successful, storing the second media data on a network side and obtaining the link address;该方法进一步包括:The method further includes:当对任一客户端上传的所述第一媒体数据进行的所述处理失败时,提供所述处理状态给所述业务服务器,以使所述业务服务器将所述处理状态提供给该客户端。When the processing of the first media data uploaded by any client fails, the processing status is provided to the service server, so that the service server provides the processing status to the client.
- 一种媒体数据处理方法,其中,应用于客户端,该方法包括:A media data processing method, wherein the method is applied to a client, and the method includes:将当前业务产生的第一媒体数据上传至数据处理服务器;其中,针对当前业务的任一客户端上传的所述第一媒体数据,所述数据处理服务器根据预先配置的当前业务对应的媒体数据处理需求对所述第一媒体数据进行处理并得到第二媒体数据,将所述第二媒体数据存储在网络侧并获得所述第二媒体数据的链接地址;And uploading the first media data generated by the current service to the data processing server, where the data processing server processes the media data corresponding to the pre-configured current service according to the first media data uploaded by any client of the current service. Relating to processing the first media data and obtaining second media data, storing the second media data on a network side and obtaining a link address of the second media data;向业务服务器发送链接地址获取请求;其中,所述业务服务器响应于所述链接地址获取请求,从所述数据处理服务器获得的当前业务的一个或多个链接地址中确定对于本客户端可用的各所述链接地址;Sending a link address acquisition request to the service server; wherein the service server determines, in response to the link address acquisition request, one of the one or more link addresses of the current service obtained by the data processing server for each client The link address;从所述业务服务器接收对于本客户端可用的各所述链接地址;Receiving, from the service server, each of the link addresses available to the client;响应于用户对于接收到的各所述链接地址中任一链接地址的选择操作,根据被选择的所述链接地址从网络侧获取所述第二媒体数据;及Retrieving the second media data from the network side according to the selected link address in response to a user selecting operation of any one of the received link addresses; and播放所获取的所述第二媒体数据。Playing the acquired second media data.
- 根据权利要求7所述的方法,进一步包括:The method of claim 7 further comprising:向所述业务服务器发送上传请求;其中,所述业务服务器响应于所述上传请求从所述数据处理服务器获取验证票据;Sending an upload request to the service server; wherein the service server acquires the verification ticket from the data processing server in response to the upload request;从所述业务服务器接收所述验证票据;Receiving the verification ticket from the service server;将所述验证票据与所述第一媒体数据一起上传至所述数据处理服务器,以使其根据所述验证票据校验所述第一媒体数据是否合法,当校验结果为所述第一媒体数据合法时,执行所述对所述第一媒体数据进行处理并得到第二媒体数据的处理。And uploading the verification ticket together with the first media data to the data processing server, so as to verify whether the first media data is legal according to the verification ticket, and when the verification result is the first media When the data is legal, the processing of processing the first media data and obtaining the second media data is performed.
- 根据权利要求7所述的方法,进一步包括:The method of claim 7 further comprising:从所述业务服务器接收处理状态,其中,所述处理状态用于指示所述数据处理服务器对本客户端上传的所述第一媒体数据进行所述处理是否成功;及Receiving, by the service server, a processing status, where the processing status is used to indicate whether the data processing server performs the processing on the first media data uploaded by the client; and展示所述处理状态。Show the processing status.
- 一种媒体数据处理装置,其中,该装置包括处理器和存储器,所述存储器存储有计算机可读指令模块,经配置由所述处理器执行;其中,所述指令模块包括:A media data processing apparatus, wherein the apparatus comprises a processor and a memory, the memory storing a computer readable instruction module configured to be executed by the processor; wherein the instruction module comprises:上传处理模块,接收当前业务的任一客户端上传的第一媒体数据;Uploading a processing module, and receiving first media data uploaded by any client of the current service;数据处理模块,根据预先配置的当前业务对应的媒体数据处理需求,对所述第一媒体数据进行处理并得到第二媒体数据;将所述第二媒体数据存储在网络侧并获得所述第二媒体数据的链接地址,并将所述链接地址保存在信息提供模块;及The data processing module processes the first media data and obtains the second media data according to the pre-configured media data processing requirement corresponding to the current service; and stores the second media data on the network side and obtains the second a link address of the media data, and saving the link address in the information providing module; and所述信息提供模块,响应于来自业务服务器的链接地址获取请求,将所获得的当前业务的一个或多个所述链接地址发送给所述业务服务器,以使所述业务服务器向当前业务的任一客户端提供一个或多个所述链接地址。The information providing module, in response to a link address obtaining request from the service server, transmitting one or more of the obtained link addresses of the current service to the service server, so that the service server is to the current service A client provides one or more of the linked addresses.
- 根据权利要求10所述的装置,其中,所述指令模块还包括:The apparatus of claim 10, wherein the instruction module further comprises:验证模块,响应于来自所述业务服务器的获取验证票据的请求,发送验证票据给所述业务服务器;The verification module sends a verification ticket to the service server in response to a request from the service server to obtain a verification ticket;其中,所述上传处理模块接收所述第一媒体数据时,进一步接收所述第一媒体数据对应的验证票据;根据所述验证票据校验所述第一媒体数据是否合法;And receiving, by the upload processing module, the verification ticket corresponding to the first media data, and verifying whether the first media data is legal according to the verification ticket;当校验结果为所述第一媒体数据合法时,所述数据处理模块执行所述对所述第一媒体数据进行处理并得到第二媒体数据的处理。When the verification result is that the first media data is legal, the data processing module performs the process of processing the first media data and obtaining the second media data.
- 根据权利要求10所述的装置,其中,The device according to claim 10, wherein所述数据处理模块,进一步预先将多种业务的媒体数据处理需求分别封装成多个处理进程,并将所述多个处理进程分别与所述多种业务的业务标识相关联;The data processing module further pre-packages the media data processing requirements of the plurality of services into a plurality of processing processes, and associates the multiple processing processes with the service identifiers of the multiple services;其中,所述数据处理模块对所述第一媒体数据进行处理,包括:根据所述第一媒体数据携带的业务标识调用其关联的处理进程,以由该处理进程对所述第一媒体数据进行处理。The processing, by the data processing module, processing the first media data, including: calling an associated processing process according to the service identifier carried by the first media data, to perform the first media data by the processing process deal with.
- 根据权利要求10所述的装置,其中,The device according to claim 10, wherein所述上传处理模块,当接收到所述第一媒体数据之后,进一步将所述第一媒体数据的标识发送给所述客户端,以使所述客户端将所述第一媒体数据的标识发送给所述业务服务器;The uploading processing module, after receiving the first media data, further sending the identifier of the first media data to the client, so that the client sends the identifier of the first media data To the business server;所述信息提供模块,进一步将所述数据处理模块获得的所述第二媒体数据的链接地址与所述第一媒体数据的标识对应保存;The information providing module further saves a link address of the second media data obtained by the data processing module and an identifier of the first media data;其中,所述信息提供模块所述将所述数据处理模块获得的当前业务的一个或多个所述链接地址发送给所述业务服务器,包括:根据所述链接地址获取请求携带的一个或多个所述第一媒体数据的标识查找到对应的一个或多个所述链接地址;将查找到的所述一个或多个所述链接地址发送给所述业务服务器。The information providing module sends one or more of the link addresses of the current service obtained by the data processing module to the service server, including: one or more carried according to the link address acquisition request And identifying, by the identifier of the first media data, one or more of the link addresses; and sending the one or more of the link addresses that are found to the service server.
- 根据权利要求10所述的装置,其中,所述数据处理模块,当对所述第一媒体数据进行处理并得到第二媒体数据之后,进一步在所述信息提供模块中记录处理状态,其中,所述处理状态指示所述处理成功;The device according to claim 10, wherein the data processing module further records a processing state in the information providing module after processing the first media data and obtaining the second media data, wherein The processing status indicates that the processing is successful;其中,所述数据处理模块,当所述处理成功时,将所述第二媒体数据存储在网络侧并获得所述链接地址;所述信息提供模块,当所述数据处理模块对任一客户端上传的所述第一媒体数据进行的所述处理失败时,进一步提供所述处理状态给所述业务服务器,以使所述业务服务器将所述处理状态提供给该客户端。The data processing module, when the processing is successful, storing the second media data on a network side and obtaining the link address; the information providing module, when the data processing module is to any client When the processing of the uploaded first media data fails, the processing status is further provided to the service server, so that the service server provides the processing status to the client.
- 根据权利要求10所述的装置,其中,所述装置包括多组上传处理模块和数据处理模块,其中,每组包括一个上传处理模块和一个数据处理模块。The apparatus of claim 10 wherein said apparatus comprises a plurality of sets of upload processing modules and data processing modules, wherein each set comprises an upload processing module and a data processing module.
- 一种媒体数据处理系统,其特征在于,包括:业务服务器、上传服务器、处理服务器和信息提供服务器,所述信息提供服务器集成在所述处理服务器之中或者独立设置;其中,A media data processing system, comprising: a service server, an upload server, a processing server, and an information providing server, wherein the information providing server is integrated in the processing server or is independently set;所述上传服务器,接收当前业务的任一客户端上传的第一媒体数据,并将所述第一媒体数据提供给所述处理服务器;The uploading server receives the first media data uploaded by any client of the current service, and provides the first media data to the processing server;所述处理服务器,根据预先配置的当前业务对应的媒体数据处理需求,对所述第一媒体数据进行处理并得到第二媒体数据;将所述第二媒体数据存储在网络侧并获得所述第二媒体数据的链接地址,并将所述链接地址保存在所述信息提供服务器;The processing server processes the first media data and obtains the second media data according to the media data processing requirement corresponding to the current service, and stores the second media data on the network side and obtains the a link address of the second media data, and saving the link address in the information providing server;所述业务服务器,响应于来自当前业务的任一客户端的上传所述第一媒体数据的请求,向所述信息提供服务器发送链接地址获取请求;The service server sends a link address acquisition request to the information providing server in response to a request for uploading the first media data from any client of the current service;所述信息提供服务器,响应于来自所述业务服务器的所述链接地址获取请求,将所获得的当前业务的一个或多个所述链接地址发送给所述业务服务器;The information providing server, in response to the link address obtaining request from the service server, transmitting one or more of the obtained link addresses of the current service to the service server;所述业务服务器,向当前业务的任一客户端提供对于该客户端可用的一个或多个所述链接地址。The service server provides one or more of the link addresses available to the client to any client of the current service.
- 根据权利要求16所述的系统,进一步包括:验证服务器;其中,The system of claim 16 further comprising: an authentication server; wherein所述业务服务器,响应于所述上传所述第一媒体数据的请求,进一步向所述验证服务器发送获取验证票据的请求;The service server further sends a request for obtaining the verification ticket to the verification server in response to the request for uploading the first media data;所述验证服务器,响应于来自所述业务服务器的所述获取验证票据的请求,发送验证票据给所述业务服务器;The verification server sends a verification ticket to the service server in response to the request for obtaining the verification ticket from the service server;所述业务服务器,进一步将所述验证票据发送给所述客户端;The service server further sends the verification ticket to the client;所述上传服务器接收所述第一媒体数据时,进一步接收所述第一媒体数据对应的验证票据;根据所述验证票据校验所述第一媒体数据是否合法;当校验结果为所述第一媒体数据合法时,将所述第一媒体数据提供给所述数据处理服务器。And receiving, by the uploading server, the verification ticket corresponding to the first media data, and verifying, according to the verification ticket, whether the first media data is legal; when the verification result is the When the media data is legal, the first media data is provided to the data processing server.
- 根据权利要求16所述的系统,其中,所述系统包括多组所述上传服务器和所述处理服务器,其中,每组包括一个所述上传服务器和一个所述处理服务器,所述信息提供服务器独立设置;The system of claim 16 wherein said system comprises a plurality of said plurality of said uploading servers and said processing server, wherein each set comprises one of said uploading server and said one of said processing servers, said information providing server being independent Setting所述业务服务器,响应于来自当前业务的任一客户端的上传所述第一媒体数据的请求,进一步从所述客户端接收所述第一媒体数据,为所述客户端选择一组所述上传服务器和所述处理服务器,将所述第一媒体数据发送给所选择的所述上传服务器;The service server further receives the first media data from the client, and selects a set of the upload for the client, in response to a request for uploading the first media data from any client of the current service. The server and the processing server send the first media data to the selected upload server;所述上传服务器将所述第一媒体数据提供给同组的所述处理服务器。The uploading server provides the first media data to the processing server of the same group.
- 一种非易失性计算机可读存储介质,存储有计算机可读指令,可以使至少一个处理器执行如权利要求1至9任一项所述的方法。A non-transitory computer readable storage medium storing computer readable instructions, which may cause at least one processor to perform the method of any one of claims 1 to 9.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710111142.9 | 2017-02-28 | ||
CN201710111142.9A CN108512814B (en) | 2017-02-28 | 2017-02-28 | Media data processing method, device and system |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2018157743A1 true WO2018157743A1 (en) | 2018-09-07 |
Family
ID=63370565
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/076676 WO2018157743A1 (en) | 2017-02-28 | 2018-02-13 | Media data processing method, device, system and storage medium |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108512814B (en) |
WO (1) | WO2018157743A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110489276A (en) * | 2019-07-25 | 2019-11-22 | 腾讯科技(深圳)有限公司 | The disaster recovery method and device of the service for checking credentials based on the business page |
CN114125017A (en) * | 2020-08-10 | 2022-03-01 | 腾讯科技(深圳)有限公司 | Method and device for displaying media information, storage medium and electronic equipment |
CN114302249A (en) * | 2020-09-22 | 2022-04-08 | 华为云计算技术有限公司 | Transmission chain information generation method and device |
CN114466077A (en) * | 2022-01-25 | 2022-05-10 | 北京三快在线科技有限公司 | Multimedia data processing system and multimedia data processing method |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110830851B (en) * | 2019-10-30 | 2021-12-14 | 深圳点猫科技有限公司 | Method and device for making video file |
CN111343149B (en) * | 2020-02-05 | 2021-05-14 | 北京字节跳动网络技术有限公司 | Comment method and device, electronic equipment and computer readable medium |
CN112883205B (en) * | 2021-02-09 | 2023-05-12 | 杭州网易云音乐科技有限公司 | Method, medium, device and computing equipment for warehousing multimedia materials |
CN113055443B (en) * | 2021-02-20 | 2023-07-04 | 北京奇艺世纪科技有限公司 | Resource data deployment method, device, equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110125818A1 (en) * | 2004-03-18 | 2011-05-26 | Andrew Liebman | Novel media file for multi-platform non-linear video editing systems |
CN203206476U (en) * | 2013-05-06 | 2013-09-18 | 重庆昇通科技有限公司 | Data content generating and sharing system based on dual-network |
CN104202411A (en) * | 2014-09-15 | 2014-12-10 | 中卓信(北京)科技有限公司 | File transfer method and server |
CN105162893A (en) * | 2015-10-16 | 2015-12-16 | 珠海格力电器股份有限公司 | Uploading method, uploading system, access method and access system of video file |
CN106330967A (en) * | 2016-10-24 | 2017-01-11 | 北京小米移动软件有限公司 | Processing method and device of live broadcast data processing |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8301658B2 (en) * | 2006-11-03 | 2012-10-30 | Google Inc. | Site directed management of audio components of uploaded video files |
CN103647867B (en) * | 2013-12-06 | 2016-11-16 | 北京奇虎科技有限公司 | A kind of message leaving method and system |
CN105992017A (en) * | 2015-02-05 | 2016-10-05 | 天脉聚源(北京)科技有限公司 | Audio and video file playing method and system |
CN105306887A (en) * | 2015-09-21 | 2016-02-03 | 北京奇虎科技有限公司 | Method and device for sharing panoramic data |
CN106330769B (en) * | 2016-11-15 | 2022-03-08 | 腾讯科技(深圳)有限公司 | Service processing method and server |
-
2017
- 2017-02-28 CN CN201710111142.9A patent/CN108512814B/en active Active
-
2018
- 2018-02-13 WO PCT/CN2018/076676 patent/WO2018157743A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110125818A1 (en) * | 2004-03-18 | 2011-05-26 | Andrew Liebman | Novel media file for multi-platform non-linear video editing systems |
CN203206476U (en) * | 2013-05-06 | 2013-09-18 | 重庆昇通科技有限公司 | Data content generating and sharing system based on dual-network |
CN104202411A (en) * | 2014-09-15 | 2014-12-10 | 中卓信(北京)科技有限公司 | File transfer method and server |
CN105162893A (en) * | 2015-10-16 | 2015-12-16 | 珠海格力电器股份有限公司 | Uploading method, uploading system, access method and access system of video file |
CN106330967A (en) * | 2016-10-24 | 2017-01-11 | 北京小米移动软件有限公司 | Processing method and device of live broadcast data processing |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110489276A (en) * | 2019-07-25 | 2019-11-22 | 腾讯科技(深圳)有限公司 | The disaster recovery method and device of the service for checking credentials based on the business page |
CN110489276B (en) * | 2019-07-25 | 2023-08-29 | 腾讯科技(深圳)有限公司 | Disaster recovery method and device for verification service based on business page |
CN114125017A (en) * | 2020-08-10 | 2022-03-01 | 腾讯科技(深圳)有限公司 | Method and device for displaying media information, storage medium and electronic equipment |
CN114125017B (en) * | 2020-08-10 | 2024-04-09 | 腾讯科技(深圳)有限公司 | Media information display method and device, storage medium and electronic equipment |
CN114302249A (en) * | 2020-09-22 | 2022-04-08 | 华为云计算技术有限公司 | Transmission chain information generation method and device |
CN114466077A (en) * | 2022-01-25 | 2022-05-10 | 北京三快在线科技有限公司 | Multimedia data processing system and multimedia data processing method |
Also Published As
Publication number | Publication date |
---|---|
CN108512814A (en) | 2018-09-07 |
CN108512814B (en) | 2021-02-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018157743A1 (en) | Media data processing method, device, system and storage medium | |
WO2019196628A1 (en) | Promotional content push method, apparatus, and storage medium | |
JP6084261B2 (en) | Web-based music partner system and method | |
US10038962B2 (en) | System and method for testing and certification of media devices for use within a connected media environment | |
CN108174248B (en) | Video playing method, video playing control device and storage medium | |
CN107979632B (en) | Processing method, device and system for push information | |
US20180315098A1 (en) | Information processing method, server, and computer storage medium | |
US20140325391A1 (en) | System and method for updating information in an instant messaging application | |
WO2021185302A1 (en) | Live streaming and configuration method based on cloud phones, and related apparatus and system | |
US20150177958A1 (en) | Providing context information relating to media content that is being presented | |
WO2021218646A1 (en) | Interaction method and apparatus, and electronic device | |
WO2018161953A1 (en) | Method, device, system and storage medium for processing promotional content | |
WO2015143854A1 (en) | Data acquisition and interaction method, set top box, server and multimedia system | |
JP2015527647A (en) | Embeddable media upload object | |
US9755885B1 (en) | Local rendering in lieu of streaming | |
CN112565877B (en) | Screen projection method and system, electronic equipment and storage medium | |
TW201719443A (en) | Forwarding activity-related information from source electronic devices to companion electronic devices | |
US11647243B2 (en) | System and method for using an application on a mobile device to transfer internet media content | |
WO2022242461A1 (en) | Method and apparatus for processing livestream audio/video, client, and server | |
US20140068006A1 (en) | Method, apparatus and system for providing content | |
WO2016127888A1 (en) | Method and device for downloading multimedia file | |
CN105893496B (en) | Information processing method and device and electronic equipment | |
WO2019196597A1 (en) | Recorded data processing method and relevant device | |
KR102228375B1 (en) | Method and system for reproducing multiple streaming contents | |
JP2017134259A (en) | Data structure and data generation method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18760413 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18760413 Country of ref document: EP Kind code of ref document: A1 |