CN107911407A - Processing method and processing device, computer-readable storage medium, the computer equipment of media data - Google Patents

Processing method and processing device, computer-readable storage medium, the computer equipment of media data Download PDF

Info

Publication number
CN107911407A
CN107911407A CN201710942787.7A CN201710942787A CN107911407A CN 107911407 A CN107911407 A CN 107911407A CN 201710942787 A CN201710942787 A CN 201710942787A CN 107911407 A CN107911407 A CN 107911407A
Authority
CN
China
Prior art keywords
media file
media
server
processing
media data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710942787.7A
Other languages
Chinese (zh)
Inventor
刘建华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201710942787.7A priority Critical patent/CN107911407A/en
Publication of CN107911407A publication Critical patent/CN107911407A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0869Network architectures or network communication protocols for network security for authentication of entities for achieving mutual authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Environmental & Geological Engineering (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

This application discloses a kind of processing method and processing device of media data, computer-readable storage medium, computer equipment, the described method includes:The first media file is obtained, and determines the corresponding processing strategy of first media file;Media data processing request message is sent to server, the media data processing request message carries pending media file and the processing strategy, wherein, the pending media file is the partial content or full content of first media file;Receive the media data processing response message that the server is sent, wherein, the media data processing response message carries the second media file, the media file that second media file is handled the pending media file based on the processing strategy for the server.

Description

Processing method and processing device, computer-readable storage medium, the computer equipment of media data
Technical field
This application involves media data processing technology field, more particularly to a kind of processing method and processing device of media data, Computer-readable storage medium, computer equipment.
Background technology
Shooting is one of most important function of mobile terminal, for example, using the camera shooting photo on mobile terminal, recording Video.The photo that is collected for mobile terminal, video (hereafter referred to collectively as media data), have demand to it into edlin, close Into later stage optimization processing is waited, special effect can be so obtained, meets the needs of user individual.
In order to lift the processing quality of media data, current mode is largely:1) media are upgraded on mobile terminals Data processing algorithm, 2) use the camera of higher level, 3) use artificial treatment mode, for example with software progress editing and processing, So as to obtain the media data effect that user wants.
The mode of above-mentioned lifting media data processing quality, or needing to increase the cost of mobile terminal, such as is calculated as This or hardware cost, otherwise need by manual type it is complicated carry out media data processing operation, how not increase movement In the case of terminal cost, the media data effect for automatically obtaining high quality is that have the problem of to be solved.
The content of the invention
In order to solve the above technical problems, the embodiment of the present application provides a kind of processing method and processing device of media data, meter Calculation machine storage medium, computer equipment, can quickly obtain the media data treatment effect of high quality.
The processing method of media data provided by the embodiments of the present application, applied to computer equipment, including:
The first media file is obtained, and determines the corresponding processing strategy of first media file;
Media data processing request message is sent to server, wherein, the media data processing request message, which carries, to be treated The media file of processing and the processing strategy, wherein, the pending media file is the portion of first media file Divide interior perhaps full content;
The media data processing response message that the server is sent is received, wherein, the media data processing response disappears Breath carries the second media file, and second media file is for the server based on the processing strategy to described pending The media file that media file is handled.
The processing unit of media data provided by the embodiments of the present application, applied to computer equipment, including:
Acquiring unit, for obtaining the first media file, and determines the corresponding processing strategy of first media file;
Media data handles request unit, for sending media data processing request message to server, wherein, the matchmaker Volume data processing request message carries pending media file and the processing strategy, wherein, the pending media text Part is the partial content or full content of first media file;
Media data handling result receiving unit, disappears for receiving the media data processing response that the server is sent Breath, wherein, the media data processing response message carries the second media file, and second media file is the server The media file handled based on the processing strategy the pending media file.
Computer-readable storage medium provided by the embodiments of the present application, is stored thereon with computer executable instructions, the calculating Machine executable instruction realizes the processing method of above-mentioned media data when being executed by processor.
Computer equipment provided by the embodiments of the present application, including memory, processor and be stored on the memory simultaneously The computer executable instructions that can be run on a processor, the processor are realized when performing the computer executable instructions The processing method for the media data stated.
In the technical solution of the embodiment of the present application, the first media file is obtained, and determines that first media file corresponds to Processing strategy;Media data processing request message is sent to server, wherein, the media data processing request message carries Pending media file and the processing strategy, wherein, the pending media file is first media file Partial content or full content;The media data processing response message that the server is sent is received, wherein, the media data Handle response message and carry the second media file, second media file is based on the processing strategy to institute for the server State the media file that pending media file is handled.It is using the technical solution of the embodiment of the present application, terminal that media are literary Part passes to cloud server by the communication network of high-speed low time delay, and cloud server handles media file, and Media file after processing is returned into terminal.It is fast using cloud server processing speed, and media data processing material is more The characteristics of abundant, can mitigate the processing load of terminal, lift the treatment effect of media data.
Brief description of the drawings
Fig. 1 is the schematic diagram for each side's hardware entities that information exchange is carried out in the embodiment of the present application;
Fig. 2 is the flow diagram one of the processing method of the media data of the embodiment of the present application;
Fig. 3 is the flow diagram two of the processing method of the media data of the embodiment of the present application;
Fig. 4 is the identifying procedure schematic diagram one of the embodiment of the present application;
Fig. 5 is the identifying procedure schematic diagram two of the embodiment of the present application;
Fig. 6 is the flow diagram three of the processing method of the media data of the embodiment of the present application;
Fig. 7 is the structure composition schematic diagram one of the processing unit of the media data of the embodiment of the present application;
Fig. 8 is the structure composition schematic diagram two of the processing unit of the media data of the embodiment of the present application;
Fig. 9 is the structure composition schematic diagram of the computer equipment of the embodiment of the present application.
Embodiment
The characteristics of in order to more fully hereinafter understand the embodiment of the present application and technology contents, below in conjunction with the accompanying drawings to this Shen Please the realization of embodiment be described in detail, appended attached drawing purposes of discussion only for reference, is not used for limiting the embodiment of the present application.
Fig. 1 is the schematic diagram for each side's hardware entities that information exchange is carried out in the embodiment of the present application, and Fig. 1 includes:Service Device 11 can pass through cable network or wireless network to server 1n and terminal 21 to terminal 24, terminal 21 to terminal 24 Information exchange is carried out with server, terminal can include mobile phone, desktop computer, PC (Personal Computer, PC) The types such as machine, all-in-one machine;The number of server can be one or multiple, wherein, multiple servers are referred to as Server cluster.In one example, server provides cloud service for terminal, and specifically, server provides media data for terminal Processing service, for this reason, abundant media data processing material is stored with server, such as media data Processing Algorithm, media Effect data template etc..The media file got is passed to the server in high in the clouds by terminal, by server to this media text Part is handled and returns to terminal.In this way, the processing load of terminal is alleviated, also, since the disposal ability of server is remote Much larger than the disposal ability of terminal, thus server can handle to obtain the media data effect of high quality, improve user couple The satisfaction of media data effect.
The example of above-mentioned Fig. 1 is a system architecture example for realizing the embodiment of the present application, and the embodiment of the present application is not It is limited to the system structure described in above-mentioned Fig. 1, based on the system architecture, proposes each embodiment of the application.
Fig. 2 is the flow diagram one of the processing method of the media data of the embodiment of the present application, as shown in Fig. 2, the matchmaker The processing method of volume data comprises the following steps:
Step 201:Terminal obtains the first media file, and determines the corresponding processing strategy of first media file.
In the embodiment of the present application, terminal can be the equipment such as mobile phone, tablet computer.
In the embodiment of the present application, terminal obtain the first media file mode can with but be not limited to real in the following manner It is existing:
Mode one:There is camera in terminal, the first media file is gathered using camera.Such as:By camera shoot photo, Recorded video.
Mode two:Terminal is downloaded on network and obtains the first media file.
Mode three:Terminal receives the first media file of other-end transmission by point-to-point communication mode.
Mode four:First media file is copied to local by terminal from External memory equipment.
In the embodiment of the present application, the first media file includes at least one of:Image, video.
In the embodiment of the present application, the corresponding processing strategy of the first media file includes at least one of:
It is three-dimensional pattern by first media file processing;
It is panning mode by first media file processing;
Increase the clarity of first media file;
Reduction treatment is carried out to the object content in first media file;
Environmental treatment is carried out to first media file;
Increase default effect on object content in first media file.
Step 202:The terminal to server sends media data processing request message, wherein, at the media data Manage request message and carry pending media file and the processing strategy, wherein, the pending media file is described The partial content or full content of first media file.
In the embodiment of the present application, interacted between terminal and server by communication network, here, communication network can be with It is 4G networks, can also be 5G networks, can also be WiFi network.Communication network between terminal and server be based on broadband without Line communication technology, can realize the high speed interconnecting channels between terminal and server.
In the embodiment of the present application, when needing to handle the first media file, terminal to server sends media number According to processing request message, here, media data processing request message carries pending media file and the processing strategy, its In, the pending media file is the partial content or full content of first media file.In this way, server receives When handling request message to media data, media data processing request message is parsed, is extracted described pending Media file and the processing strategy.
Step 203:The terminal receives the media data processing response message that the server is sent, wherein, the matchmaker Volume data processing response message carries the second media file, and second media file is based on the processing plan for the server The media file slightly handled the pending media file.
In the embodiment of the present application, server handles to obtain institute based on the processing strategy to the pending media file State the second media file.Below by taking pending media file is the full content of the first media file as an example.
Such as:Processing strategy can be by first media file processing be three-dimensional pattern.Here, the first media file Generally 2D's, the media file of 2D is converted into the media file of 3D, can be that user shows more life-like media number According to effect.The technology that 2D turns 3D common are structural remodeling technology (Structure from Motion, SFM), can using SFM To reappear original real 3D scenes.
Such as:It can be the clarity for increasing by first media file to handle strategy.Here, it is exactly to increase to increase clarity Add the contrast and acutance of image, can by the first media file each pixel pixel value carry out conversion process, To increase its contrast and acutance.
Such as:Processing strategy can carry out reduction treatment to the object content in first media file.Here, by Some contents in the first media file are blocked or are damaged or do not have, it can be carried out using relevant retrieving algorithm Reduction.Such as in photo half of face reduction, the not exclusively reduction at sight spot in photo.
Such as:Processing strategy can carry out environmental treatment to first media file.Here it is possible to the first media File carries out specific environmental treatment, such as by the background process of the first media file is specific season, or specific space Position, or specific time or period.Background environment for example by the media file processing of summer shooting for winter again;By matchmaker Space environment in volume data is replaced into space.
Such as:Processing strategy can increase default effect on the object content in first media file.Here, Carry out specially treated to the local content in the first media file, such as dressing to the personage in photo, dressing up is handled.
The technical solution of the embodiment of the present application, terminal pass to media file by the communication network of high-speed low time delay Cloud server, cloud server handle media file, and the media file after processing is returned to terminal.In this way, The characteristics of cloud server processing speed is fast, media data processing material is more rich is make use of, alleviates the processing load of terminal, Improve the treatment effect of media data.
Fig. 3 is the flow diagram two of the processing method of the media data of the embodiment of the present application, as shown in figure 3, the matchmaker The processing method of volume data comprises the following steps:
Step 301:Terminal obtains the first media file, and determines the corresponding processing strategy of first media file.
In the embodiment of the present application, terminal can be the equipment such as mobile phone, tablet computer.
In the embodiment of the present application, terminal obtain the first media file mode can with but be not limited to real in the following manner It is existing:
Mode one:There is camera in terminal, the first media file is gathered using camera.Such as:By camera shoot photo, Recorded video.
Mode two:Terminal is downloaded on network and obtains the first media file.
Mode three:Terminal receives the first media file of other-end transmission by point-to-point communication mode.
Mode four:First media file is copied to local by terminal from External memory equipment.
In the embodiment of the present application, the first media file includes at least one of:Image, video.
In the embodiment of the present application, the corresponding processing strategy of the first media file includes at least one of:
It is three-dimensional pattern by first media file processing;
It is panning mode by first media file processing;
Increase the clarity of first media file;
Reduction treatment is carried out to the object content in first media file;
Environmental treatment is carried out to first media file;
Increase default effect on object content in first media file.
Step 302:The terminal is determined to the communication network to communicate with the server;Detect the communication network The network transmission quality of network, the network transmission quality are characterized by least one of following parameter:When network rate, network Prolong.
In the embodiment of the present application, interacted between terminal and server by communication network, here, communication network can be with It is forth generation (4thGeneration, 4G) mobile communications network, can also be the 5th generation (5thGeneration, 5G) it is mobile Communication network, can also be Wireless Fidelity (Wireless Fidelity, WiFi) network.Communication between terminal and server Network is based on broadband wireless communication technique, can realize the high speed interconnecting channels between terminal and server.
In the embodiment of the present application, the network transmission quality of the communication network is detected, including:Detect the communication network Network rate and/or network delay.
Step 303:When the network transmission quality of the communication network meets preset requirement, the terminal utilizes the communication Network sends the media data to the server and handles request message, wherein, the media data processing request message is taken With pending media file and the processing strategy, wherein, the pending media file is first media file Partial content or full content.
In the embodiment of the present application, the network transmission quality of communication network meets that preset requirement refers to:The network of communication network Speed is more than or equal to first threshold, and/or the network delay of communication network is less than or equal to second threshold, namely:Communication network reaches To high-speed low time delay requirement when, terminal sends media data processing using the communication network to the server please Seek message.
In one embodiment, communicated between terminal and server using the cellular network of high-speed low time delay.
Here, media data processing request message carries pending media file and the processing strategy.In this way, service When device receives media data processing request message, media data processing request message is parsed, extracts described treat The media file of processing and the processing strategy.
Step 304:The terminal receives the media data processing response message that the server is sent, wherein, the matchmaker Volume data processing response message carries the second media file, and second media file is based on the processing plan for the server The media file slightly handled the pending media file.
In the embodiment of the present application, server handles to obtain described based on the processing strategy to pending media file Second media file.Below by taking pending media file is the full content of the first media file as an example.
Such as:Processing strategy can be by first media file processing be three-dimensional pattern.Here, the first media file Generally 2D's, the media file of 2D is converted into the media file of 3D, can be that user shows more life-like media number According to effect.The technology that 2D turns 3D common are SFM, can reappear original real 3D scenes using SFM.
Such as:It can be the clarity for increasing by first media file to handle strategy.Here, it is exactly to increase to increase clarity Add the contrast and acutance of image, can by the first media file each pixel pixel value carry out conversion process, To increase its contrast and acutance.
Such as:Processing strategy can carry out reduction treatment to the object content in first media file.Here, by Some contents in the first media file are blocked or are damaged or do not have, it can be carried out using relevant retrieving algorithm Reduction.Such as in photo half of face reduction, the not exclusively reduction at sight spot in photo.
Such as:Processing strategy can carry out environmental treatment to first media file.Here it is possible to the first media File carries out specific environmental treatment, such as by the background process of the first media file is specific season, or specific space Position, or specific time or period.Background environment for example by the media file processing of summer shooting for winter again;By matchmaker Space environment in volume data is replaced into space.
Such as:Processing strategy can increase default effect on the object content in first media file.Here, Carry out specially treated to the local content in the first media file, such as dressing to the personage in photo, dressing up is handled.
The technical solution of the embodiment of the present application, terminal pass to media file by the communication network of high-speed low time delay Cloud server, cloud server handle media file, and the media file after processing is returned to terminal.In this way, The characteristics of cloud server processing speed is fast, media data processing material is more rich is make use of, alleviates the processing load of terminal, Improve the treatment effect of media data.
In the embodiment of the present application, the mechanism for being mutually authenticated and authorizing can be used between terminal and server, specifically:
1) for the scene of terminal authentication server, as shown in figure 4, the terminal receives what the server was sent Authentication request message, the authentication request message carry the device identification of the server;Server described in the terminal-pair Device identification is authenticated, and records the device identification of the server after the authentication has been successful;The terminal is based on being recorded The device identification of the server, media data processing request message is sent to server.
Under this scene, since server is the server of terminal authentication, server can be according to the requirement of terminal Ensure that the presentation content of terminal possesses privacy, namely the presentation content of the terminal is not provided other-end.
2) in the case of server authentication terminal, as shown in figure 5, the terminal sends certification to the server Request message, the authentication request message carry the device identification of the terminal;Wherein, the authentication request message is used to indicate The server performs following operation:Device identification of the server to the terminal is authenticated, and after the authentication has been successful Record the device identification of the terminal;Based on the device identification of the terminal, the media data that the terminal is sent is responded Handle request message.
Under this scene, after terminal obtains the certification of server, the media data that server is its offer can be enjoyed Processing service.
3) for for the scene of presentation content mandate, the media data processing is asked between terminal and server Message also carries configured information, and the configured information is used to characterize first media file and first media file corresponds to Processing strategy between whether there is mandate relation, wherein, the configured information is used to indicate that the server performs following behaviour Make:Determine to have to authorize between the pending media file and the processing strategy to close if based on the configured information System, then handled the pending media file based on the processing strategy.
Under this scene, terminal and server can be directed to specific media file and specific processing strategy is awarded Power, the media file only authorized could enjoy the service for processing strategy of server offer.
In the such scheme of the embodiment of the present application, server can be the network equipment or other have calculate energy The equipment of power.
Fig. 6 is the flow diagram three of the processing method of the media data of the embodiment of the present application, as shown in fig. 6, the matchmaker The processing method of volume data comprises the following steps:
Step 601:Terminal obtains the first media file, and determines the corresponding processing strategy of first media file.
In the embodiment of the present application, terminal can be the equipment such as mobile phone, tablet computer.
In the embodiment of the present application, terminal obtain the first media file mode can with but be not limited to real in the following manner It is existing:
Mode one:There is camera in terminal, the first media file is gathered using camera.Such as:By camera shoot photo, Recorded video.
Mode two:Terminal is downloaded on network and obtains the first media file.
Mode three:Terminal receives the first media file of other-end transmission by point-to-point communication mode.
Mode four:First media file is copied to local by terminal from External memory equipment.
In the embodiment of the present application, the first media file includes at least one of:Image, video.
Step 602:The terminal obtains the process performance parameter of the server.
In the embodiment of the present application, the process performance parameter of server includes but is not limited to:The data processing speed of server Degree, the data process load of server.
Step 603:If the process performance parameter of the server meets preset condition, by first media file Encapsulate to media data and handled in request message as pending media file.
In the embodiment of the present application, the process performance parameter of server meets the process performance of preset condition then representative server It is very high, at this moment it can be encapsulated the full content of the first media file as pending media file to media data processing In request message.
Step 604:If the process performance parameter of the server does not meet preset condition, by first media text The content of part is split as the first media subfile and the second media subfile;Using the first media subfile as pending Media file is encapsulated to media data and handled in request message.
In the embodiment of the present application, the process performance parameter of server meets the process performance of preset condition then representative server It is relatively low, at this moment the first media file can be split as to the first media subfile and the second media subfile, wherein, the first media Subfile transfers to server to be handled, and the second media subfile is handled by terminal oneself.
Specifically, terminal is handled the second media subfile based on the processing strategy, obtains the 3rd media File.This cooperation mode is jointly processed by a media subfile, the more flexible processing state for having adapted to server.
Step 605:The terminal to server sends media data processing request message, wherein, at the media data Manage request message and carry pending media file and the processing strategy.
In the embodiment of the present application, interacted between terminal and server by communication network, here, communication network can be with It is 4G networks, can also be 5G networks, can also be WiFi network.Communication network between terminal and server be based on broadband without Line communication technology, can realize the high speed interconnecting channels between terminal and server.
In the embodiment of the present application, when needing to handle the first media file, terminal to server sends media number According to processing request message, here, media data processing request message carries pending media file and the processing strategy, its In, the pending media file is the partial content or full content of first media file.In this way, server receives When handling request message to media data, media data processing request message is parsed, is extracted described pending Media file and the processing strategy.
Step 606:The terminal receives the media data processing response message that the server is sent, wherein, the matchmaker Volume data processing response message carries the second media file, and second media file is based on the processing plan for the server The media file slightly handled the pending media file.
In the embodiment of the present application, server handles to obtain institute based on the processing strategy to the pending media file State the second media file.It is worth noting that, the content in the first media file is split as the first media subfile and second In the case of media subfile, after terminal obtains the 3rd media file, by the 3rd media file and by second media File merges, and obtains fourth media file, it is achieved thereby that the processing to whole media file.
Fig. 7 is the structure composition schematic diagram one of the processing unit of the media data of the embodiment of the present application, as shown in fig. 7, institute Stating the processing unit of media data includes:
Acquiring unit 701, for obtaining the first media file, and determines the corresponding processing plan of first media file Slightly;
Media data handles request unit 702, for sending media data processing request message to server, wherein, institute State media data processing request message and carry pending media file and the processing strategy, wherein, the pending matchmaker Body file is the partial content or full content of first media file;
Media data handling result receiving unit 703, response is handled for receiving the media data that the server is sent Message, wherein, the media data processing response message carries the second media file, and second media file is the service The media file that device is handled the pending media file based on the processing strategy.
It will be appreciated by those skilled in the art that each unit in the processing unit of media data shown in Fig. 7 realizes work( The associated description of the processing method of aforementioned media data can be can refer to and understood.In the processing unit of media data shown in Fig. 7 The function of each unit can be realized by running on the program on processor, can also be realized by specific logic circuit.
Fig. 8 is the structure composition schematic diagram two of the processing unit of the media data of the embodiment of the present application, as shown in figure 8, institute Stating the processing unit of media data includes:
Acquiring unit 801, for obtaining the first media file, and determines the corresponding processing plan of first media file Slightly;
Media data handles request unit 802, for sending media data processing request message, the media to server Data processing request message carries pending media file and the processing strategy, wherein, the pending media file For the partial content or full content of first media file;
Media data handling result receiving unit 803, response is handled for receiving the media data that the server is sent Message, wherein, the media data processing response message carries the second media file, and second media file is the service The media file that device is handled the pending media file based on the processing strategy.
In the embodiment of the present application, the acquiring unit 801, is additionally operable to obtain the process performance parameter of the server;
Described device further includes:Encapsulation unit 804, is used for:If the process performance parameter of the server meets default Condition, then encapsulate to the media data as pending media file using first media file and handle request message In;If the process performance parameter of the server does not meet preset condition, the content of first media file is split For the first media subfile and the second media subfile;Encapsulated the first media subfile as pending media file Into media data processing request message.
In the embodiment of the present application, described device further includes:
Processing unit 805, for being handled based on the processing strategy the second media subfile, obtains the 3rd Media file;Merged by the 3rd media file and by second media file, obtain fourth media file.
In the embodiment of the present application, described device further includes:
Determination unit 806, for the communication network for being determined to communicate with the server;
Detection unit 807, for detecting the network transmission quality of the communication network, the network transmission quality by with At least one of lower parameter characterizes:Network rate, network delay;
The media data handles request unit 802, specifically for when the network transmission quality satisfaction of the communication network During preset requirement, the media data is sent to the server using the communication network and handle request message.
In the embodiment of the present application, first media file includes at least one of:Image, video;
The corresponding strategy that handles of first media file includes at least one of:
It is three-dimensional pattern by first media file processing;
It is panning mode by first media file processing;
Increase the clarity of first media file;
Reduction treatment is carried out to the object content in first media file;
Environmental treatment is carried out to first media file;
Increase default effect on object content in first media file.
In the embodiment of the present application, described device further includes:
First authentication unit 808, the authentication request message sent for receiving the server, the authentication request message Carry the device identification of the server;Device identification to the server is authenticated, and records institute after the authentication has been successful State the device identification of server;
The media data handles request unit 802, specifically for the device identification based on the server recorded, Media data processing request message is sent to server.
In the embodiment of the present application, described device further includes:
Second authentication unit 809, for sending authentication request message to the server, the authentication request message carries The device identification of terminal;
Wherein, the authentication request message is used to indicate that the server performs following operation:The server is to described The device identification of terminal is authenticated, and records the device identification of the terminal after the authentication has been successful;Based on setting for the terminal Standby mark, responds the media data processing request message.
In the embodiment of the present application, the media data processing request message also carries configured information, and the configured information is used Whether there is mandate relation between the corresponding processing strategy of characterization first media file and first media file, its In, the configured information is used to indicate that the server performs following operation:Determined if based on the configured information described There is mandate relation between pending media file and the processing strategy, then based on the processing strategy to described pending Media file handled.
It will be appreciated by those skilled in the art that each unit in the processing unit of media data shown in Fig. 8 realizes work( The associated description of the processing method of aforementioned media data can be can refer to and understood.In the processing unit of media data shown in Fig. 8 The function of each unit can be realized by running on the program on processor, can also be realized by specific logic circuit.
If the processing unit of the above-mentioned media data of the embodiment of the present application realized in the form of software function module and as Independent production marketing in use, can also be stored in a computer read/write memory medium.Based on such understanding, The part that the technical solution of the embodiment of the present application substantially in other words contributes the prior art can be with the shape of software product Formula embodies, which is stored in a storage medium, including some instructions are used so that a calculating Machine equipment (can be personal computer, server or network equipment etc.) performs each embodiment the method for the application It is all or part of.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read Only Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.In this way, the embodiment of the present application is not restricted to appoint What specific hardware and software combines.
Correspondingly, the embodiment of the present application also provides a kind of computer-readable storage medium, wherein being stored with computer can perform finger Order, the computer executable instructions realize the processing method of the above-mentioned media data of the embodiment of the present application when being executed by processor.
Fig. 9 is the structure composition schematic diagram of the computer equipment of the embodiment of the present application, as shown in figure 9, computer equipment 10 Can including one or more (one is only shown in figure) processors 12, (processor 12 can include but is not limited to microprocessor (MCU, Micro Controller Unit) or programmable logic device (FPGA, Field Programmable Gate ) etc. Array processing unit), the memory 14 for storing data and the transmitting device 16 for communication function.Ability Domain those of ordinary skill is appreciated that the structure shown in Fig. 8 is only to illustrate, it does not cause to limit to the structure of above-mentioned electronic device It is fixed.For example, computer equipment 10 may also include than shown in Fig. 9 more either less components or with shown in Fig. 9 not Same configuration.
Memory 14 can be used for the software program and module of storage application software, such as the media number in the embodiment of the present application According to the corresponding programmed instruction/module of processing method, processor 12 by operation be stored in software program in memory 14 with And module, so as to perform various functions application and data processing, that is, realize above-mentioned method.Memory 14 may include at a high speed with Machine memory, may also include nonvolatile memory, as one or more magnetic storage device, flash memory or other it is non-easily The property lost solid-state memory.In some instances, memory 14 can further comprise relative to the remotely located storage of processor 12 Device, these remote memories can pass through network connection to computer equipment 10.The example of above-mentioned network is including but not limited to mutual Networking, intranet, LAN, mobile radio communication and combinations thereof.
Transmitting device 16 is used to data are received or sent via a network.Above-mentioned network instantiation may include to count Calculate the wireless network that the communication providers of machine equipment 10 provide.In an example, transmitting device 16 includes a Network adaptation Device (Network Interface Controller, NIC), its can be connected by base station with other network equipments so as to it is mutual Networking is communicated.In an example, transmitting device 16 can be radio frequency (Radio Frequency, RF) module, it is used for Wirelessly communicated with internet.
, in the case where there is no conflict, can be in any combination between technical solution described in the embodiment of the present application.
In several embodiments provided herein, it should be understood that disclosed method and smart machine, Ke Yitong Other modes are crossed to realize.Apparatus embodiments described above are only schematical, for example, the division of the unit, only Only a kind of division of logic function, can have other dividing mode, such as when actually realizing:Multiple units or component can be tied Close, or be desirably integrated into another system, or some features can be ignored, or do not perform.In addition, shown or discussed each group Into the mutual coupling in part or direct-coupling or communication connection can be by some interfaces, equipment or unit it is indirect Coupling or communication connection, can be electrical, mechanical or other forms.
The above-mentioned unit illustrated as separating component can be or may not be physically separate, be shown as unit The component shown can be or may not be physical location, you can positioned at a place, can also be distributed to multiple network lists In member;Partly or entirely unit therein can be selected to realize the purpose of this embodiment scheme according to the actual needs.
In addition, each functional unit in each embodiment of the application can be fully integrated into a second processing unit, Can also be each unit individually as a unit, can also two or more units integrate in a unit; Above-mentioned integrated unit can both be realized in the form of hardware, and the form that hardware adds SFU software functional unit can also be used real It is existing.
The above, is only the embodiment of the application, but the protection domain of the application is not limited thereto, any Those familiar with the art can readily occur in change or replacement in the technical scope that the application discloses, and should all contain Cover within the protection domain of the application.

Claims (18)

  1. A kind of 1. processing method of media data, applied to computer equipment, it is characterised in that the described method includes:
    The first media file is obtained, and determines the corresponding processing strategy of first media file;
    Media data processing request message is sent to server, wherein, the media data processing request message carries pending Media file and it is described processing strategy, wherein, the pending media file for first media file part in Perhaps full content;
    The media data processing response message that the server is sent is received, wherein, the media data processing response message is taken The second media file of band, second media file is for the server based on the processing strategy to the pending media The media file that file process obtains.
  2. 2. the processing method of media data according to claim 1, it is characterised in that the method further includes:
    Obtain the process performance parameter of the server;
    If the process performance parameter of the server meets preset condition, using first media file as pending Media file is encapsulated to the media data and handled in request message;
    If the process performance parameter of the server does not meet preset condition, the content of first media file is split For the first media subfile and the second media subfile;Encapsulated the first media subfile as pending media file Into media data processing request message.
  3. 3. the processing method of media data according to claim 2, it is characterised in that the method further includes:
    The second media subfile is handled based on the processing strategy, obtains the 3rd media file;
    Merged by the 3rd media file and by second media file, obtain fourth media file.
  4. 4. the processing method of media data according to claim 1, it is characterised in that the method further includes:
    It is determined to the communication network to communicate with the server;
    The network transmission quality of the communication network is detected, the network transmission quality passes through at least one of following parameter table Sign:Network rate, network delay;
    When the network transmission quality of the communication network meets preset requirement, sent using the communication network to the server The media data handles request message.
  5. 5. the processing method of media data according to claim 1, it is characterised in that first media file include with It is at least one lower:Image, video;
    The corresponding strategy that handles of first media file includes at least one of:
    It is three-dimensional pattern by first media file processing;
    It is panning mode by first media file processing;
    Increase the clarity of first media file;
    Reduction treatment is carried out to the object content in first media file;
    Environmental treatment is carried out to first media file;
    Increase default effect on object content in first media file.
  6. 6. the processing method of media data according to claim 1, it is characterised in that the method further includes:
    The authentication request message that the server is sent is received, the authentication request message carries the equipment mark of the server Know;
    Device identification to the server is authenticated, and records the device identification of the server after the authentication has been successful;
    Based on the device identification of the server recorded, media data processing request message is sent to server.
  7. 7. the processing method of media data according to claim 1, it is characterised in that the method further includes:
    Authentication request message, the device identification of the authentication request message carried terminal are sent to the server;
    Wherein, the authentication request message is used to indicate that the server performs following operation:The server is to the terminal Device identification be authenticated, and record the device identification of the terminal after the authentication has been successful;Equipment mark based on the terminal Know, respond the media data processing request message.
  8. 8. the processing method of media data according to claim 1, it is characterised in that the media data processing request disappears Breath also carries configured information, and the configured information, which is used to characterize between the pending media file and the processing strategy, is It is no that there is mandate relation, wherein, the configured information is used to indicate that the server performs following operation:If based on the finger Show that information determines there is mandate relation between the pending media file and the processing strategy, then based on the processing Strategy handles the pending media file.
  9. A kind of 9. processing unit of media data, applied to computer equipment, it is characterised in that described device includes:
    Acquiring unit, for obtaining the first media file, and determines the corresponding processing strategy of first media file;
    Media data handles request unit, for sending media data processing request message to server, wherein, the media number Pending media file and the processing strategy are carried according to processing request message, wherein, the pending media file is The partial content or full content of first media file;
    Media data handling result receiving unit, response message is handled for receiving the media data that the server is sent, its In, the media data processing response message carries the second media file, and second media file is based on for the server The media file that the processing strategy handles the pending media file.
  10. 10. the processing unit of media data according to claim 9, it is characterised in that
    The acquiring unit, is additionally operable to obtain the process performance parameter of the server;
    Described device further includes:Encapsulation unit, is used for:If the process performance parameter of the server meets preset condition, First media file is encapsulated to the media data as pending media file and is handled in request message;If institute The process performance parameter for stating server does not meet preset condition, then the content of first media file is split as the first media Subfile and the second media subfile;Encapsulated the first media subfile as pending media file to the media In data processing request message.
  11. 11. the processing unit of media data according to claim 10, it is characterised in that described device further includes:
    Processing unit, for being handled based on the processing strategy the second media subfile, obtains the 3rd media text Part;Merged by the 3rd media file and by second media file, obtain fourth media file.
  12. 12. the processing unit of media data according to claim 9, it is characterised in that described device further includes:
    Determination unit, for the communication network for being determined to communicate with the server;
    Detection unit, for detecting the network transmission quality of the communication network, the network transmission quality passes through following parameter At least one of characterization:Network rate, network delay;
    The media data handles request unit, specifically for meeting preset requirement when the network transmission quality of the communication network When, the media data is sent to the server handle request message using the communication network.
  13. 13. the processing unit of media data according to claim 9, it is characterised in that first media file includes At least one of:Image, video;
    The corresponding strategy that handles of first media file includes at least one of:
    It is three-dimensional pattern by first media file processing;
    It is panning mode by first media file processing;
    Increase the clarity of first media file;
    Reduction treatment is carried out to the object content in first media file;
    Environmental treatment is carried out to first media file;
    Increase default effect on object content in first media file.
  14. 14. the processing unit of media data according to claim 9, it is characterised in that described device further includes:
    First authentication unit, the authentication request message sent for receiving the server, the authentication request message carry institute State the device identification of server;Device identification to the server is authenticated, and records the service after the authentication has been successful The device identification of device;
    The media data handles request unit, specifically for the device identification based on the server recorded, to service Device sends media data processing request message.
  15. 15. the processing unit of media data according to claim 9, it is characterised in that described device further includes:
    Second authentication unit, for sending authentication request message to the server, the authentication request message carried terminal Device identification;
    Wherein, the authentication request message is used to indicate that the server performs following operation:The server is to the terminal Device identification be authenticated, and record the device identification of the terminal after the authentication has been successful;Equipment mark based on the terminal Know, respond the media data processing request message.
  16. 16. the processing unit of media data according to claim 9, it is characterised in that the media data processing request Message also carries configured information, and the configured information is used to characterize between the pending media file and the processing strategy Whether there is mandate relation, wherein, the configured information is used to indicate that the server performs following operation:If based on described Configured information determines there is mandate relation between the pending media file and the processing strategy, then based on the place Reason strategy handles the pending media file.
  17. 17. a kind of computer-readable storage medium, it is characterised in that be stored thereon with computer executable instructions, the computer can Claim 1-8 any one of them method and steps are realized when execute instruction is executed by processor.
  18. 18. a kind of computer equipment, it is characterised in that including memory, processor and be stored on the memory and can be The computer executable instructions run on the processor, the processor realize power when performing the computer executable instructions Profit requires 1-8 any one of them method and steps.
CN201710942787.7A 2017-10-11 2017-10-11 Processing method and processing device, computer-readable storage medium, the computer equipment of media data Pending CN107911407A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710942787.7A CN107911407A (en) 2017-10-11 2017-10-11 Processing method and processing device, computer-readable storage medium, the computer equipment of media data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710942787.7A CN107911407A (en) 2017-10-11 2017-10-11 Processing method and processing device, computer-readable storage medium, the computer equipment of media data

Publications (1)

Publication Number Publication Date
CN107911407A true CN107911407A (en) 2018-04-13

Family

ID=61841272

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710942787.7A Pending CN107911407A (en) 2017-10-11 2017-10-11 Processing method and processing device, computer-readable storage medium, the computer equipment of media data

Country Status (1)

Country Link
CN (1) CN107911407A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109918516A (en) * 2019-03-13 2019-06-21 百度在线网络技术(北京)有限公司 A kind of data processing method, device and terminal
CN110637443A (en) * 2019-08-19 2019-12-31 北京小米移动软件有限公司 Data processing method and device, electronic equipment and computer readable storage medium
CN112486074A (en) * 2020-12-03 2021-03-12 上海哔哩哔哩科技有限公司 Data processing system, method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1976221A3 (en) * 2007-03-29 2009-07-08 Brother Kogyo Kabushiki Kaisha Information processing device, network system and method and computer program therefor
CN102833516A (en) * 2012-08-23 2012-12-19 深圳先进技术研究院 Cloud computing-based intelligent helmet network system and method for processing video information
CN105657449A (en) * 2014-12-03 2016-06-08 中国移动通信集团公司 Video transcode allocation method and device and video transcode system
CN105872857A (en) * 2016-04-01 2016-08-17 北京金山安全软件有限公司 Video processing method and device and electronic equipment
CN205647835U (en) * 2016-03-29 2016-10-12 博瑞恒创(天津)科技有限公司 Video transcoding system under cloud environment
CN107507196A (en) * 2017-08-18 2017-12-22 国云科技股份有限公司 A kind of client uploads and the method for processing picture

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1976221A3 (en) * 2007-03-29 2009-07-08 Brother Kogyo Kabushiki Kaisha Information processing device, network system and method and computer program therefor
CN102833516A (en) * 2012-08-23 2012-12-19 深圳先进技术研究院 Cloud computing-based intelligent helmet network system and method for processing video information
CN105657449A (en) * 2014-12-03 2016-06-08 中国移动通信集团公司 Video transcode allocation method and device and video transcode system
CN205647835U (en) * 2016-03-29 2016-10-12 博瑞恒创(天津)科技有限公司 Video transcoding system under cloud environment
CN105872857A (en) * 2016-04-01 2016-08-17 北京金山安全软件有限公司 Video processing method and device and electronic equipment
CN107507196A (en) * 2017-08-18 2017-12-22 国云科技股份有限公司 A kind of client uploads and the method for processing picture

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109918516A (en) * 2019-03-13 2019-06-21 百度在线网络技术(北京)有限公司 A kind of data processing method, device and terminal
CN109918516B (en) * 2019-03-13 2021-07-30 百度在线网络技术(北京)有限公司 Data processing method and device and terminal
CN110637443A (en) * 2019-08-19 2019-12-31 北京小米移动软件有限公司 Data processing method and device, electronic equipment and computer readable storage medium
WO2021031064A1 (en) * 2019-08-19 2021-02-25 北京小米移动软件有限公司 Data processing method and apparatus, electronic device and computer-readable storage medium
CN110637443B (en) * 2019-08-19 2023-09-29 北京小米移动软件有限公司 Data processing method and device, electronic equipment and computer readable storage medium
US11949574B2 (en) 2019-08-19 2024-04-02 Beijing Xiaomi Mobile Software Co., Ltd. Data processing method and apparatus, electronic device and computer-readable storage medium
CN112486074A (en) * 2020-12-03 2021-03-12 上海哔哩哔哩科技有限公司 Data processing system, method and device

Similar Documents

Publication Publication Date Title
CN102571726B (en) Method, system and the state judgment server that multi-medium data is shared
CN104144109B (en) A kind of apparatus control method, device and system
CN106621326A (en) Local application quick start with cloud transitioning
CN103345204B (en) A kind of home control system
US20150312296A1 (en) Method and device for pushing multimedia resource and display terminal
CN107911407A (en) Processing method and processing device, computer-readable storage medium, the computer equipment of media data
CN105915766B (en) Control method based on virtual reality and device
CN104683434B (en) Network system keeps connection method, communication means, electronic equipment, keeps Connection Service device, application server, program
CN105933657A (en) Method and system for network real-time live broadcasting of instant frame, and camera
CN105631970B (en) One-touch information sharing method and system based on drive recorder
CN104584490A (en) Data transmitting method and device
CN103607380A (en) Multi-screen interaction method, device thereof and system thereof
CN107302711A (en) The processing system of media resource
KR102480642B1 (en) Data Processing Methods, Servers and Computer Storage Media
CN107490972A (en) The method to set up and equipment of the intelligent home device of hotel guest room
CN113055255A (en) Scene configuration method and device of intelligent household appliance, storage medium and electronic equipment
CN102917127B (en) Audio transmission method and system
CN105635214A (en) Data storage method, first mobile terminal, storage node and storage system
CN104869253A (en) Method and system for connecting mobile terminal to intelligent dressing mirror
US10432714B2 (en) Data processing method and system based on asymmetric P2P network
CN106210138A (en) A kind of Intelligent hardware interlock method based on high in the clouds rule
CN104317205B (en) terminal control method and system
CN105903191A (en) Data processing method and system across terminals
CN105828092B (en) A kind of method that moving camera is connected wireless network and is broadcast live using the live streaming account of wireless network
CN108839537A (en) Vehicle interior temperature adjusting method and automobile based on smart home

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180413

RJ01 Rejection of invention patent application after publication