WO2022100203A1 - 数据处理方法、装置、介质、网络接入设备及电子设备 - Google Patents

数据处理方法、装置、介质、网络接入设备及电子设备 Download PDF

Info

Publication number
WO2022100203A1
WO2022100203A1 PCT/CN2021/114592 CN2021114592W WO2022100203A1 WO 2022100203 A1 WO2022100203 A1 WO 2022100203A1 CN 2021114592 W CN2021114592 W CN 2021114592W WO 2022100203 A1 WO2022100203 A1 WO 2022100203A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
electronic device
processed
encoding
network access
Prior art date
Application number
PCT/CN2021/114592
Other languages
English (en)
French (fr)
Inventor
刘伟
彭昊
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2022100203A1 publication Critical patent/WO2022100203A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/40Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using video transcoding, i.e. partial or full decoding of a coded input stream followed by re-encoding of the decoded output stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression

Definitions

  • the present application relates to the field of communication technologies, and in particular, to a data processing method, apparatus, medium, network access device, and electronic device.
  • Electronic devices such as smartphones and tablet computers can establish network connections with network access devices (such as Wi-Fi routers), and use the network access services provided by the network access devices to access the Internet to listen to songs and watch videos online.
  • network access devices such as Wi-Fi routers
  • the data transmitted on the network is usually encoded data.
  • the electronic device needs to encode the data before transmitting the data, and needs to decode the data after receiving the data. .
  • the present application provides a data processing method, apparatus, medium, network access device and electronic device, which can enable the electronic device to implement encoding and decoding processing without increasing a large amount of power consumption and operating load.
  • the present application provides a data processing method, which is applied to a network access device, where the network access device is used to provide a network access service for an electronic device, and the data processing method includes:
  • the codec result is transmitted to the electronic device.
  • the present application applies a data processing method to an electronic device, wherein the electronic device is provided with a network access service by a network access device, and the data processing method includes:
  • the present application provides a data processing apparatus, which is applied to a network access device, where the network access device is used to provide a network access service for an electronic device, and the data processing apparatus includes:
  • a data acquisition module configured to acquire the data to be processed from the electronic device, and acquire the encoding and decoding requirement information of the electronic device for the data to be processed;
  • an encoding/decoding processing module configured to perform specified encoding/decoding processing on the data to be processed according to the encoding/decoding requirement information, and obtain an encoding/decoding result corresponding to the data to be processed;
  • a data transmission module configured to transmit the codec result to the electronic device.
  • the present application provides a data processing apparatus, which is applied to an electronic device, wherein the electronic device is provided with a network access service by a network access device, and the data processing apparatus includes:
  • a data acquisition module configured to acquire data to be processed that needs to be encoded and decoded, and to determine encoding and decoding requirement information corresponding to the data to be processed;
  • a data transmission module configured to transmit the data to be processed and the codec requirement information to the network access device, so that the network access device can specify the data to be processed according to the codec requirement information
  • the encoding and decoding processing to obtain the encoding and decoding results corresponding to the data to be processed;
  • a data receiving module configured to receive the codec result returned by the network access device.
  • the present application provides a storage medium on which a computer program is stored, and when the computer program is loaded by a processor of a network access device, the data processing method applied to the network access device as provided by the present application is executed. , or when the computer program is loaded by the processor of the electronic device, the data processing method applied to the electronic device as provided in the present application is executed.
  • the present application provides a network access device, the network access device includes a processor and a memory, the memory stores a computer program, and the processor executes the method provided by the present application by loading the computer program A data processing method applied to a network access device.
  • the present application provides an electronic device, the electronic device includes a processor and a memory, the memory stores a computer program, and the processor executes the application to the electronic device as provided by the present application by loading the computer program data processing method.
  • FIG. 1 is a schematic diagram of a data processing system provided by an embodiment of the present application.
  • FIG. 2 is a schematic flowchart of a data processing method provided by an embodiment of the present application.
  • FIG. 3 is an example diagram of an electronic device acquiring data to be processed and transmitting it to a network access device in an embodiment of the present application.
  • FIG. 4 is a schematic diagram of an encoding and decoding result obtained after an electronic device acquires data to be processed and performs encoding and decoding processing through a network access device in an embodiment of the present application.
  • FIG. 5 is a schematic diagram of splitting and transmitting an encoding and decoding result in an embodiment of the present application.
  • FIG. 6 is another schematic flowchart of a data processing method provided by an embodiment of the present application.
  • FIG. 7 is another schematic flowchart of a data processing method provided by an embodiment of the present application.
  • FIG. 8 is a schematic structural diagram of a data processing apparatus provided by an embodiment of the present application.
  • FIG. 9 is another schematic structural diagram of a data processing apparatus provided by an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a network access device provided by an embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • the present application provides a data processing system. Please refer to FIG. 1 .
  • the data processing system provided by the present application includes an electronic device and a network access device. It should be noted that the embodiments of the present application do not specifically limit the entity presentation forms of the electronic device and the network access device.
  • the entity presentation form of the electronic device may be the smartphone shown in FIG.
  • the presentation form may be the router shown in FIG. 1 .
  • the electronic device and the network access device perform data interaction through a network connection between the two
  • the network connection may be a wired network connection (for example, directly connecting the electronic device and the network access device through a data cable, so as to establish a connection between the two
  • a wireless network connection including but not limited to wireless communication methods such as Bluetooth, infrared, and wireless fidelity
  • a wired network connection and a wireless network connection can be established at the same time.
  • the electronic device transmits the data to be processed to the network access device through the network connection between the electronic device and the network access device, and the network access device transmits the data to be processed to the network access device.
  • the corresponding encoding and decoding results are returned to the electronic device, so as to share the encoding and decoding capabilities with the electronic device, so that the electronic device can realize the encoding and decoding processing without increasing a large amount of power consumption and operating load.
  • FIG. 1 shows only an example of a system architecture for implementing the embodiments of the present application, and the embodiments of the present application are not limited to the system architecture shown in the foregoing FIG. 1 .
  • Various embodiments of the present application are presented below by taking the system architecture shown in FIG. 1 as an example.
  • An embodiment of the present application provides a data processing method, which is applied to a network access device, where the network access device is used to provide a network access service for an electronic device, and the data processing method includes:
  • the codec result is transmitted to the electronic device.
  • performing the specified encoding and decoding processing on the data to be processed according to the encoding and decoding requirement information to obtain the encoding and decoding results corresponding to the data to be processed including:
  • the encoding and decoding processing is performed on the data to be processed by using the target encoding and decoding algorithm to obtain the encoding and decoding result.
  • the data processing method before the acquiring the data to be processed from the electronic device, the data processing method further includes:
  • a codec capability sharing response corresponding to the codec capability sharing request is returned to the electronic device, where the codec capability sharing response is used to instruct the electronic device to transmit the data to be processed.
  • the receiving the codec capability sharing request returned by the electronic device according to the codec capability information includes:
  • the codec capability sharing request returned by the electronic device according to the codec capability information is received through a preset port.
  • the codec capability sharing request carries the identity information of the electronic device, and the returning to the electronic device a codec capability sharing response corresponding to the codec capability sharing request includes:
  • the codec capability sharing response is returned to the electronic device.
  • the obtaining the data to be processed from the electronic device includes:
  • the to-be-processed data from the electronic device is acquired.
  • the data processing method further includes:
  • the electronic device When the operating load is greater than or equal to the first preset load, the electronic device is instructed to suspend the transmission of the data to be processed.
  • FIG. 2 is a schematic flowchart of a data processing method provided by an embodiment of the present application.
  • the data processing method is applied to a network access device in the data processing system provided by the present application.
  • the flow of the data processing method provided by the embodiment of the present application may be as follows:
  • the data to be processed from the electronic device is acquired, and the codec requirement information of the data to be processed by the electronic device is acquired.
  • the network access device provides a network access service for the electronic device, so that the electronic device can access the network through the network access device, such as the Internet, an internal network of an organization, and the like.
  • the data to be processed is provided by the electronic device, wherein the data to be processed can be generated by the electronic device itself, or acquired by the electronic device from a network, or acquired from other electronic devices.
  • the data to be processed may be any data that can be encoded and decoded, which is not specifically limited in this embodiment of the present application, for example, it may be original image data, encoded video data, and encoded audio data Wait.
  • the electronic device When there is data to be processed that needs to be encoded and decoded, the electronic device transmits the data to be processed to the network access device, and correspondingly, the network access device will obtain the data to be processed from the electronic device.
  • the network access device provides network access services for electronic devices and other electronic devices.
  • other electronic devices share a video data with the electronic device, and the electronic device needs to decode the video data before it can be played. , so the electronic device transmits the video data to the network access device through the network connection with the network access device as the data to be processed that needs to be encoded and decoded.
  • the electronic device in addition to transmitting the data to be processed to the network access device, the electronic device also transmits encoding and decoding requirement information to the network access device, where the encoding and decoding requirement information describes the encoding and decoding requirements of the data to be processed by the electronic device, It is used to indicate which codec mode the network access device adopts to encode and decode the data to be processed.
  • a specified encoding and decoding process is performed on the data to be processed according to the encoding and decoding requirement information, and an encoding and decoding result corresponding to the data to be processed is obtained.
  • the network access device after acquiring the data to be processed and the corresponding encoding and decoding requirement information from the electronic device, the network access device, according to the instructions of the encoding and decoding requirement information, performs local encoding and decoding capabilities on the to-be-processed data.
  • the codec capability of the network access device may be built-in by the system, or may be obtained by installing a codec plug-in.
  • the data to be processed is video data in H.264 format
  • the electronic device expects to encode the video data into video data in H.265 format, so the video data in H.264 format is transmitted and used to indicate that it is encoded as
  • the H.265 format encoding and decoding requirement information is sent to the network access device, so that the network access device encodes the H.264 format video data into the H.265 format, and obtains the H.265 format video data (that is, the encoding and decoding results). ).
  • the data to be processed is video data in H.265 format
  • the electronic device expects to decode and play the video data in H.265 format, so it transmits the video data in H.265 format and the code used to indicate its decoding.
  • the decoding requirement information is sent to the network access device, so that the network access device decodes the video data in the H.265 format to obtain corresponding decoded data (ie, an encoding and decoding result).
  • the codec result is transmitted to the electronic device.
  • the network access device After completing the codec processing of the data to be processed and obtaining the codec result corresponding to the data to be processed, the network access device transmits the codec result to the electronic device through the network connection between it and the electronic device.
  • the network access device provides network access services for electronic devices and other electronic devices.
  • other electronic devices share video data in H.264 format to the electronic device, and the electronic device needs to use the H.264 format.
  • 264 format video data is decoded and played, and correspondingly, the H.264 format video data is transmitted to the network access device as data to be processed.
  • the network access device decodes the data to be processed, obtains decoded video data, and transmits the decoded video data as an encoding and decoding result to the electronic device for playback by the electronic device.
  • the present application obtains the data to be processed from the electronic device that provides the network access service through the network access device, and obtains the encoding and decoding demand information of the data to be processed by the electronic device, and according to the encoding and decoding demand information, the to-be-processed data is obtained.
  • the data is subjected to the specified encoding and decoding processing, and the encoding and decoding results corresponding to the data to be processed are obtained, and finally the obtained encoding and decoding results are transmitted to the electronic device for the electronic device to perform corresponding processing.
  • the electronic devices that provide network access services through the network access device share the codec capability, enabling the electronic device to implement codec processing without increasing a large amount of power consumption and operating load.
  • the specified encoding and decoding processing is performed on the data to be processed according to the encoding and decoding requirement information, and the encoding and decoding results corresponding to the data to be processed are obtained, including:
  • the network access device supports a variety of encoding and decoding algorithms, and these encoding and decoding algorithms may be pre-configured locally on the network access device, or the network access device may install a third-party algorithm through the network access device. Secure application is obtained.
  • the encoding and decoding algorithms include, but are not limited to, audio encoding and decoding algorithms, video encoding and decoding algorithms, and image encoding and decoding algorithms.
  • the network access device determines, according to the encoding and decoding requirement information, a method for encoding and decoding the data to be processed.
  • Codec algorithm denoted as target codec algorithm.
  • the network access device After determining the target encoding and decoding algorithm corresponding to the encoding and decoding requirement information, the network access device performs encoding and decoding processing on the data to be processed through the target encoding and decoding algorithm, and correspondingly obtains the encoding and decoding results corresponding to the data to be processed.
  • a target encoding and decoding algorithm corresponding to the encoding and decoding requirement information is determined from currently supported encoding and decoding algorithms, including:
  • the codec algorithm that occupies the least processing resources is set as the target codec algorithm.
  • the processing resources required to execute different encoding and decoding algorithms are different, some encoding and decoding algorithms require less processing resources, and some encoding and decoding algorithms require more processing resources.
  • the network access device will set the encoding and decoding algorithm that occupies the least processing resources. is the target codec algorithm.
  • a target encoding and decoding algorithm corresponding to the encoding and decoding requirement information is determined from currently supported encoding and decoding algorithms, including:
  • the codec algorithm with the highest codec quality is set as the target codec algorithm.
  • the network access device sets the encoding and decoding algorithm with the highest encoding and decoding quality as the target encoding and decoding algorithm.
  • the method before acquiring the data to be processed from the electronic device, the method further includes:
  • the network access device in order to better share the codec capability with the electronic device, declares its own codec capability to the electronic device in advance, so that the electronic device can obtain the codec capability from the network access device as needed.
  • the network access device When establishing a network connection with the electronic device, the network access device generates a capability declaration message carrying the encoding and decoding capability information according to the message format pre-agreed with the electronic device, and communicates the capability declaration message with the electronic device through the network access device.
  • the network connection between the devices is transmitted to the electronic device, and the codec capability information is used to describe the codec algorithm currently supported by the network access device.
  • the electronic device After receiving the capability declaration message from the network access device, the electronic device parses out the encoding and decoding capability information therein, thereby obtaining the encoding and decoding algorithms supported by the network access device. If the network access device needs to share the codec capability, it generates a codec capability request corresponding to the capability declaration message according to the message format pre-agreed with the network access device, and returns the corresponding capability declaration message to the network access device. Codec capability request to request network access devices to share codec capabilities,
  • the network access device after receiving the codec capability sharing request from the electronic device, generates a codec capability sharing response corresponding to the codec capability sharing request according to the message format pre-determined with the electronic device, and returns the corresponding codec capability sharing response to the electronic device.
  • the codec capability sharing response of the codec capability sharing request, the codec capability sharing response is used to inform the electronic device that the network access device agrees to share the codec capability, and can transmit the data to be processed that needs to be encoded and decoded to the network access device. Perform codec processing.
  • receiving the codec capability sharing request returned by the electronic device according to the codec capability information includes:
  • the codec capability sharing request returned by the electronic device according to the codec capability information is received through the preset port.
  • a fixed port may be configured on the network access device for receiving the codec capability sharing request.
  • the value range of the port is 0-65535, of which 0-1024 is the system port, which has been assigned to common services (for example, port 80 is assigned to web page access, port 21 is assigned to FTP service), and 65535
  • the port number is reserved for the system, therefore, you can select a port from 1025 to 65534 as the default port.
  • the codec capability sharing request of the electronic device will be sent to the preset port configured by the network access device, and the network access device will receive the codec capability sharing request returned by the electronic device according to the codec capability information through the preset port. ask.
  • the codec capability sharing request carries the identity information of the electronic device, and a codec capability sharing response corresponding to the codec capability sharing request is returned to the electronic device, including:
  • the network access device may only share the codec capability with a specific electronic device.
  • the codec capability sharing request returned by the electronic device to the network access device also carries the identity information of the electronic device for the network access device to verify the identity of the electronic device.
  • identity information of the electronic device there is no specific limitation on what kind of information is used as the identity information of the electronic device, which can be configured by those of ordinary skill in the art according to actual needs.
  • the hardware address, device identification, etc. Information that can uniquely characterize the identity of an electronic device.
  • the network access device After receiving the codec capability sharing request returned by the electronic device according to the codec capability information, the network access device does not immediately return the codec capability sharing response to the electronic device, but first parses out the codec capability sharing request carried by the network access device.
  • the identity information of the electronic device is obtained, and the electronic device is authenticated according to the identity information, that is, to verify whether the electronic device is an electronic device that is pre-authorized and can share the codec capability.
  • the specific implementation of the identity verification is not limited here, and can be configured by those of ordinary skill in the art according to actual needs.
  • a codec capability sharing response is returned to the electronic device.
  • acquiring the data to be processed from the electronic device includes:
  • the data to be processed from the electronic device is acquired.
  • the network access device may share the codec capability with the electronic device only when the operating load is light.
  • the network access device detects its own operating load in real time, and acquires data to be processed from the electronic device when and only when the operating load is less than the first preset load.
  • the value of the first preset load is not specifically limited here, and can be configured by those of ordinary skill in the art according to actual needs.
  • the electronic device if it is detected that the operating load is greater than or equal to the first preset load, the electronic device is instructed to suspend the transmission of the data to be processed.
  • the operating load of the network access device when the operating load of the network access device is greater than or equal to the first preset load, it means that the operating load of the network access device at this time is relatively heavy. , it will undoubtedly further increase the operating load of the network access equipment, thereby affecting the normal operation of the network access equipment. Therefore, when the operating load of the network access equipment is greater than or equal to the preset amplitude, it will instruct the electronic equipment to suspend transmission and need to perform programming. Decoded data to be processed.
  • the network access device establishes multiple network connections with the electronic device, and transmits the encoding and decoding results to the electronic device, including:
  • the network access device may use the multi-channel network connection established between it and the electronic device to encode and decode the encoding and decoding. The results are transmitted to the electronic device.
  • the electronic device and the network access device establish a first network connection based on the 2.4G frequency point and a second network connection based on the 5G frequency point.
  • the network access device can The decoding result is split into two parts, one part is transmitted to the electronic device through the first network connection, and the other part is transmitted to the electronic device through the second network connection.
  • acquiring the data to be processed from the electronic device includes:
  • Data to be processed from electronic devices is acquired through multiple network connections.
  • the encoding and decoding results are transmitted to the electronic device through multiple network connections, including:
  • the codec result is allocated to each network connection for transmission to the electronic device.
  • the network access device performs load balancing according to the transmission capacity of each network connection.
  • the network access device first performs quantitative evaluation on the transmission capability of each network connection according to the preconfigured quantitative evaluation strategy, and obtains the transmission capability value of each network connection accordingly.
  • Those of ordinary skill in the art can configure according to actual needs.
  • the network access device can obtain multi-dimensional network parameters that can characterize its transmission capability, such as the available bandwidth, transmission delay, and packet loss rate of a network connection, and then normalize the multi-dimensional network parameters, and then normalize the normalized network parameters.
  • the multi-dimensional network parameters after the normalization process are weighted and summed (here, the weight assignment can be assigned by those skilled in the art according to actual needs according to experience), and the obtained weighted sum value is set as the transmission capacity value of the network connection.
  • the network access device can assign the codec result to each network connection according to the transmission capability value of each network connection for transmission to the electronic device.
  • the network access device can obtain the ratio of the transmission capacity of the multiple network connections according to the transmission capacity value of each network connection, and then determine the allocation ratio of each network connection according to the ratio of the transmission capacity, and then according to the determined allocation ratio Distribute the codec result to each network connection and transmit it to the electronic device.
  • the network access device will The data is transmitted to the electronic device through the first network connection, and two-thirds of the data in the codec result is transmitted to the electronic device through the second network connection.
  • FIG. 6 is another schematic flowchart of the data processing method provided by the embodiment of the present application. As shown in FIG. 6, the process of the data processing method provided by the embodiment of the present application may be as follows:
  • the network access device sends codec capability information to the electronic device when establishing a network connection with the electronic device.
  • the network access device in order to better share the codec capability with the electronic device, declares its own codec capability to the electronic device in advance, so that the electronic device can obtain the codec capability from the network access device as needed.
  • the network access device When establishing a network connection with the electronic device, the network access device generates a capability declaration message carrying the encoding and decoding capability information according to the message format pre-agreed with the electronic device, and communicates the capability declaration message with the electronic device through the network access device.
  • the network connection between the devices is transmitted to the electronic device, and the codec capability information is used to describe the codec algorithm supported by the network access device.
  • the network access device supports a variety of encoding and decoding algorithms, and these encoding and decoding algorithms may be pre-configured locally on the network access device, or the network access device may install a third-party algorithm through the network access device. Secure application is obtained.
  • the encoding and decoding algorithms include, but are not limited to, audio encoding and decoding algorithms, video encoding and decoding algorithms, and image encoding and decoding algorithms.
  • the electronic device returns a codec capability sharing request to the network access device according to the codec capability information.
  • the electronic device After receiving the capability declaration message from the network access device, the electronic device parses out the encoding and decoding capability information therein, thereby obtaining the encoding and decoding algorithms supported by the network access device. If the network access device needs to share the codec capability, it will return the codec capability request corresponding to the capability declaration message to the network access device to request the network access device to share the codec capability,
  • the network access device returns a codec capability sharing response corresponding to the codec capability sharing request to the electronic device.
  • the network access device After receiving the codec capability sharing request from the electronic device, the network access device correspondingly returns a codec capability sharing response corresponding to the codec capability sharing request to the electronic device, and the codec capability sharing response is used to inform the electronic device of network access
  • the device agrees to share the encoding and decoding capabilities, and can transmit the data to be processed that needs encoding and decoding processing to the network access device for encoding and decoding processing.
  • the electronic device transmits to the network access device the data to be processed that needs to be encoded and decoded, and the encoding and decoding requirement information corresponding to the data to be processed.
  • the data to be processed that needs to be encoded and decoded can be generated by the electronic device itself, or acquired by the electronic device from the network, or acquired from other electronic devices. It should be noted that the data to be processed may be any data that can be encoded and decoded, which is not specifically limited in this embodiment of the present application, for example, it may be original image data, encoded video data, and encoded audio data Wait.
  • the electronic device When there is data to be processed that needs to be encoded and decoded, the electronic device transmits the data to be processed to the network access device, and correspondingly, the network access device will obtain the data to be processed from the electronic device.
  • the network access device provides network access services for electronic devices and other electronic devices.
  • other electronic devices share a video data with the electronic device, and the electronic device needs to decode the video data before it can be played. , so the electronic device transmits the video data to the network access device through the network connection with the network access device as the data to be processed that needs to be encoded and decoded.
  • the electronic device in addition to transmitting the data to be processed to the network access device, the electronic device also transmits encoding and decoding requirement information to the network access device, where the encoding and decoding requirement information describes the encoding and decoding requirements of the data to be processed by the electronic device, It is used to indicate which codec mode the network access device adopts to encode and decode the data to be processed.
  • the network access device performs a specified encoding and decoding process on the data to be processed according to the encoding and decoding requirement information, and obtains an encoding and decoding result corresponding to the data to be processed.
  • the network access device determines an encoding and decoding algorithm for encoding and decoding the data to be processed according to the encoding and decoding requirement information, Denote the target codec algorithm.
  • the network access device After determining the target encoding and decoding algorithm corresponding to the encoding and decoding requirement information, the network access device performs encoding and decoding processing on the data to be processed through the target encoding and decoding algorithm, and correspondingly obtains the encoding and decoding results corresponding to the data to be processed.
  • the target codec algorithm corresponding to the codec requirement information is determined from the currently supported codec algorithms, including:
  • the codec algorithm that occupies the least processing resources is set as the target codec algorithm.
  • the processing resources required to execute different encoding and decoding algorithms are different, some encoding and decoding algorithms require less processing resources, and some encoding and decoding algorithms require more processing resources.
  • the network access device will set the encoding and decoding algorithm that occupies the least processing resources. is the target codec algorithm.
  • the target encoding and decoding algorithm corresponding to the encoding and decoding requirement information is determined from the currently supported encoding and decoding algorithms, including:
  • the codec algorithm with the highest codec quality is set as the target codec algorithm.
  • the network access device sets the encoding and decoding algorithm with the highest encoding and decoding quality as the target encoding and decoding algorithm.
  • the network access device transmits the codec result to the electronic device.
  • the network access device After completing the encoding and decoding processing of the data to be processed and obtaining the encoding and decoding results corresponding to the data to be processed, the network access device transmits the encoding and decoding results to the electronic device through the network connection between the network access device and the electronic device.
  • the network access device provides network access services for electronic devices and other electronic devices.
  • other electronic devices share video data in H.264 format to the electronic device, and the electronic device needs to use the H.264 format.
  • 264 format video data is decoded and played, and correspondingly, the H.264 format video data is transmitted to the network access device as data to be processed.
  • the network access device decodes the data to be processed, obtains decoded video data, and transmits the decoded video data as an encoding and decoding result to the electronic device for playback by the electronic device.
  • the embodiment of the present application also provides a data processing method, which is applied to an electronic device, and the data processing method includes:
  • the transmitting the data to be processed and the codec requirement information to the network access device includes:
  • the data to be processed and the codec requirement information are transmitted to the network access device.
  • the data processing method further includes:
  • FIG. 7 is a schematic flowchart of a data processing method provided by an embodiment of the present application.
  • the data processing method is applied to a network access device in the data processing system provided by the present application.
  • the flow of the data processing method provided by the embodiment of the present application may be as follows:
  • data to be processed that needs to be encoded and decoded is acquired, and encoding and decoding requirement information corresponding to the data to be processed is determined.
  • the electronic device is provided with a network access service by the network access device, so that the electronic device can access the network through the network access device, such as the Internet, an internal network of an organization, and the like.
  • the network access device such as the Internet, an internal network of an organization, and the like.
  • the data to be processed is provided by the electronic device, and the data to be processed can be local stored data of the electronic device, or can be obtained by the electronic device from the network, or obtained from other electronic devices.
  • the data to be processed may be any data that can be encoded and decoded, which is not specifically limited in this embodiment of the present application, for example, it may be original image data, encoded video data, and encoded audio data Wait.
  • the encoding and decoding requirements information describes the encoding and decoding requirements of the data to be processed by the electronic device, and describes which encoding and decoding methods the electronic device needs to use to encode and decode the data to be processed.
  • the electronic device when triggering an encoding and decoding operation, acquires data to be processed that needs to be encoded and decoded, and determines encoding and decoding requirement information corresponding to the data to be processed.
  • the codec operation can be triggered by the electronic device according to the user operation. For example, when a user issues a playback operation of a certain video data to an electronic device, the electronic device is triggered to perform an encoding and decoding operation, and the electronic device correspondingly regards the aforementioned video data as the data to be processed that needs to be encoded and decoded, and according to the aforementioned video data encoding Format, determining the corresponding codec requirement information includes information describing the decoding mode corresponding to the codec format.
  • the network access device provides network access services for electronic devices and other electronic devices.
  • other electronic devices share a video data with the electronic device, and the electronic device receives the video data from the user.
  • the data is instructed to play, trigger the encoding and decoding operation, and further determine that the video data needs to be decoded before it can be played, correspondingly take the video data as the data to be processed that needs to be encoded and decoded, and determine the corresponding video data according to the encoding format of the video data.
  • the encoding and decoding requirement information includes information describing the decoding mode corresponding to the encoding format.
  • the data to be processed and the encoding and decoding requirement information are transmitted to the network access device, so that the network access device performs the designated encoding and decoding processing on the to-be-processed data according to the encoding and decoding requirement information, so as to obtain an encoding and decoding result corresponding to the to-be-processed data .
  • the electronic device after acquiring the data to be processed that needs to be encoded and decoded, and acquiring the encoding and decoding requirement information corresponding to the data to be processed, transmits the to-be-processed data and the corresponding encoding and decoding requirement information to the network
  • the network access device performs the specified encoding and decoding processing on the data to be processed according to the instruction of the encoding and decoding requirement information, and correspondingly obtains the encoding and decoding results corresponding to the data to be processed.
  • the network access device after acquiring the data to be processed and the corresponding encoding and decoding requirement information from the electronic device, uses the local encoding and decoding capabilities to specify encoding and decoding for the data to be processed according to the instructions of the encoding and decoding requirement information. processing, and correspondingly obtain the encoding and decoding results corresponding to the data to be processed.
  • the codec capability of the network access device may be built-in by the system, or may be obtained by installing a codec plug-in.
  • the data to be processed is video data in H.264 format
  • the electronic device expects to encode the video data into video data in H.265 format, so the video data in H.264 format is transmitted and used to indicate that it is encoded as
  • the H.265 format encoding and decoding requirement information is sent to the network access device, so that the network access device encodes the H.264 format video data into the H.265 format, and obtains the H.265 format video data (that is, the encoding and decoding results). ).
  • the data to be processed is video data in H.265 format
  • the electronic device expects to decode and play the video data in H.265 format, so it transmits the video data in H.265 format and the code used to indicate its decoding.
  • the decoding requirement information is sent to the network access device, so that the network access device decodes the video data in the H.265 format, and obtains the corresponding decoded data (ie, the codec result)
  • the codec result returned by the network access device is received.
  • the network access device After completing the encoding and decoding processing of the data to be processed and obtaining the encoding and decoding results corresponding to the data to be processed, the network access device transmits the encoding and decoding results to the electronic device through the network connection between the network access device and the electronic device. Correspondingly, the electronic device will receive the codec result returned by the network access device.
  • the network access device provides network access services for electronic devices and other electronic devices.
  • other electronic devices share video data in H.264 format to the electronic device, and the electronic device needs to use the H.264 format.
  • 264 format video data is decoded and played, and correspondingly, the H.264 format video data is transmitted to the network access device as data to be processed.
  • the network access device decodes the data to be processed, obtains decoded video data, and transmits the decoded video data as an encoding and decoding result to the electronic device for playback by the electronic device.
  • transmitting the data to be processed and the codec requirement information to the network access device includes:
  • the data to be processed and the codec requirement information are transmitted to the network access device.
  • the electronic device in order not to affect the normal operation of the network access device too much, the electronic device only uses the codec capability shared by the network access device when the preset conditions are met.
  • the preset conditions can be configured as:
  • the operating load of the electronic device is greater than the second preset load, or the remaining power of the electronic device is less than the preset power.
  • the electronic device After the electronic device obtains the data to be processed and the corresponding encoding and decoding requirement information, it detects its current running load, and only if the detected running load is greater than the second preset load, will the obtained pending load be processed.
  • the data and the corresponding codec requirement information are transmitted to the network access device.
  • the electronic device After the electronic device obtains the data to be processed and the corresponding codec demand information, it detects its current remaining power. If the remaining power is detected to be less than the preset power, the obtained data and the corresponding The codec requirement information is transmitted to the network access device.
  • the values of the above-mentioned first preset load and preset power are not specifically limited in the embodiments of the present application, and can be configured by those of ordinary skill in the art according to actual needs.
  • those of ordinary skill in the art can configure the preset conditions according to actual needs.
  • the preset conditions can also be configured as: the electronic device needs to perform encoding and decoding processing on the data to be processed according to the encoding and decoding requirement information.
  • the first processing duration is longer than the second processing duration required by the network access device to perform encoding and decoding processing on the data to be processed according to the encoding and decoding requirement information;
  • the decoding quality is lower than the second encoding and decoding quality, etc., which the network access device performs encoding and decoding processing on the data to be processed according to the encoding and decoding requirement information.
  • the method further includes:
  • the specified encoding and decoding processing is performed on the data to be processed according to the encoding and decoding requirement information, and the encoding and decoding results corresponding to the data to be processed are obtained.
  • the network access device can suspend the sharing of the codec capability at any time according to its own needs, and return the instruction information for indicating the suspension of the shared codec capability to the electronic device.
  • the instruction information indicating the suspension of sharing the codec capability is returned to the electronic device.
  • the electronic device determines that it needs to perform the encoding and decoding processing by itself, and accordingly, according to the instructions of the encoding and decoding requirement information, through the local encoding and decoding
  • the codec capability of the electronic device may be built-in by the system, or may be obtained by installing a codec plug-in.
  • the present application further provides a data processing apparatus, the data processing apparatus is applied to the network access equipment, the network access equipment The access device is used to provide network access services for electronic devices.
  • the data processing apparatus may include:
  • the data acquisition module 410 is used for acquiring the data to be processed from the electronic device, and acquiring the encoding and decoding requirement information of the data to be processed by the electronic device;
  • the encoding and decoding processing module 420 is configured to perform specified encoding and decoding processing on the data to be processed according to the encoding and decoding requirement information, and obtain the encoding and decoding results corresponding to the data to be processed;
  • the data transmission module 430 is used for transmitting the codec result to the electronic device.
  • the codec processing module 420 is configured to:
  • the data to be processed is encoded and decoded by the target encoding and decoding algorithm, and the encoding and decoding results are obtained.
  • the data processing apparatus provided by this application further includes a capability interaction module for:
  • a codec capability sharing response corresponding to the codec capability sharing request is returned to the electronic device, where the codec capability sharing response is used to instruct the electronic device to transmit data to be processed.
  • the capability interaction module is used to:
  • the codec capability sharing request returned by the electronic device according to the codec capability information is received through the preset port.
  • the codec capability sharing request carries the identity information of the electronic device, and the capability interaction module is used for:
  • the data acquisition module 410 is used to:
  • the data to be processed from the electronic device is acquired.
  • the data acquisition module 410 is further configured to:
  • the electronic device When the operating load is greater than or equal to the first preset load, the electronic device is instructed to suspend the transmission of data to be processed.
  • the network access device establishes multiple network connections with the electronic device, and the data transmission module 430 is configured to:
  • the data transmission module 430 is used to:
  • the codec result is allocated to each network connection for transmission to the electronic device.
  • the present application further provides a data processing apparatus, the data processing apparatus is applied to electronic equipment, and the electronic equipment is connected to the equipment by the network
  • the data processing apparatus may include:
  • a data acquisition module 510 configured to acquire data to be processed that needs to be encoded and decoded, and to determine encoding and decoding requirement information corresponding to the data to be processed;
  • the data transmission module 520 is used to transmit the data to be processed and the encoding and decoding requirement information to the network access device, so that the network access device performs the designated encoding and decoding processing on the data to be processed according to the encoding and decoding requirement information, so as to obtain the corresponding data to be processed. codec result;
  • the data receiving module 530 is configured to receive the codec result returned by the network access device.
  • the data transmission module 520 is configured to:
  • the data to be processed and the codec requirement information are transmitted to the network access device.
  • the data processing apparatus further includes an encoding and decoding module, which is configured to, when receiving the instruction information returned by the network access device for indicating suspension of sharing the encoding and decoding capability, according to the encoding and decoding
  • the demand information performs the specified encoding and decoding processing on the data to be processed, and obtains the encoding and decoding results corresponding to the data to be processed.
  • An embodiment of the present application further provides a network access device, including a memory and a processor, wherein the processor is used to execute the data processing method applied to the network access device provided by this embodiment by calling a computer program stored in the memory A step of.
  • FIG. 10 is a schematic structural diagram of a network access device provided by an embodiment of the present application.
  • the network access device may include components such as a network interface 610, a memory 620, a processor 630, and the like.
  • components such as a network interface 610, a memory 620, a processor 630, and the like.
  • FIG. 10 does not constitute a limitation on the network access device, and may include more or less components than those shown in the figure, or combine some components, or different component layout.
  • Network interface 610 may be used to make network connections between devices.
  • Memory 620 may be used to store computer programs and data.
  • the computer program stored in the memory 620 contains executable code.
  • a computer program can be divided into various functional modules.
  • the processor 630 executes various functional applications and data processing by executing computer programs stored in the memory 620 .
  • the processor 630 is the control center of the network access device, uses various interfaces and lines to connect various parts of the entire network access device, runs or executes the computer program stored in the memory 620, and calls the data stored in the memory 620. , perform various functions of the network access device and process data, so as to carry out overall control of the network access device.
  • the processor 630 in the network access device loads the executable code corresponding to one or more computer programs into the memory 620 according to the following instructions, and is executed by the processor 630 to execute follows the steps below:
  • the processor 630 when the specified encoding and decoding processing is performed on the data to be processed according to the encoding and decoding requirement information to obtain an encoding and decoding result corresponding to the data to be processed, the processor 630 is configured to execute:
  • the data to be processed is encoded and decoded by the target encoding and decoding algorithm, and the encoding and decoding results are obtained.
  • the processor 630 before acquiring the data to be processed from the electronic device, the processor 630 is further configured to execute:
  • a codec capability sharing response corresponding to the codec capability sharing request is returned to the electronic device, where the codec capability sharing response is used to instruct the electronic device to transmit data to be processed.
  • the processor 630 when receiving the codec capability sharing request returned by the electronic device according to the codec capability information, the processor 630 is configured to execute:
  • the codec capability sharing request returned by the electronic device according to the codec capability information is received through the preset port.
  • the codec capability sharing request carries the identity information of the electronic device, and when returning the codec capability sharing response corresponding to the codec capability sharing request to the electronic device, the processor 630 is configured to execute:
  • the processor 630 when acquiring the data to be processed from the electronic device, the processor 630 is configured to execute:
  • the data to be processed from the electronic device is acquired.
  • the processor 630 is further configured to execute:
  • the electronic device When the operating load is greater than or equal to the first preset load, the electronic device is instructed to suspend the transmission of data to be processed.
  • the network access device establishes multiple network connections with the electronic device, and when transmitting the codec result to the electronic device, the processor 630 is configured to execute:
  • the processor 630 when the codec result is transmitted to the electronic device through multiple network connections, the processor 630 is configured to execute:
  • the codec result is allocated to each network connection for transmission to the electronic device.
  • network access device provided in the embodiments of the present application and the data processing method applied to the network access device in the above embodiments belong to the same concept, and the specific implementation process is detailed in the above related embodiments, which is not repeated here. Repeat.
  • An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein the processor is configured to execute the steps in the data processing method applied to the electronic device provided by this embodiment by invoking a computer program stored in the memory.
  • FIG. 11 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • the electronic device may include components such as a network interface 710, a memory 720, a processor 730, and the like.
  • components such as a network interface 710, a memory 720, a processor 730, and the like.
  • FIG. 10 does not constitute a limitation on the electronic device, and may include more or less components than the one shown, or combine some components, or arrange different components.
  • Network interface 710 may be used to make network connections between devices.
  • Memory 720 may be used to store computer programs and data.
  • the computer program stored in the memory 720 contains executable code.
  • a computer program can be divided into various functional modules.
  • the processor 730 executes various functional applications and data processing by executing computer programs stored in the memory 720 .
  • the processor 730 is the control center of the electronic device, uses various interfaces and lines to connect various parts of the entire electronic device, and executes the electronic device by running or executing the computer program stored in the memory 720 and calling the data stored in the memory 720. various functions and processing data, so as to carry out overall control of electronic equipment.
  • the processor 730 in the electronic device loads executable codes corresponding to one or more computer programs into the memory 720 according to the following instructions, and the processor 730 executes the following steps to execute the following steps: :
  • the processor 730 when the data to be processed and the codec requirement information are transmitted to the network access device, the processor 730 is configured to execute:
  • the data to be processed and the codec requirement information are transmitted to the network access device.
  • the processor 730 is further configured to execute:
  • the specified encoding and decoding processing is performed on the data to be processed according to the encoding and decoding requirement information, and the encoding and decoding results corresponding to the data to be processed are obtained.
  • the present application further provides a computer-readable storage medium on which a computer program is stored, and when the stored computer program is executed on the processor of the network access device provided by the embodiments of the present application, the The processor executes any of the above steps in the data processing method applied to the network access device, or when the computer program stored therein is executed on the processor of the electronic device provided by the embodiment of the present application, the processor of the electronic device is made to execute Any of the above steps are applied to a data processing method for an electronic device.
  • the storage medium may be a magnetic disk, an optical disk, a read only memory (Read Only Memory, ROM), or a random access device (Random Access Memory, RAM), and the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

本申请实施例公开了一种数据处理方法、装置、介质、网络接入设备及电子设备。该方法包括:获取来自其提供网络接入服务的电子设备的待处理数据,获取电子设备对待处理数据的编解码需求信息,根据编解码需求信息对待处理数据进行指定的编解码处理,得到对应待处理数据的编解码结果,将得到的编解码结果传输至电子设备。

Description

数据处理方法、装置、介质、网络接入设备及电子设备
本申请要求于2020年11月13日提交中国专利局、申请号为202011270357.3、发明名称为“数据处理方法、装置、介质、网络接入设备及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,具体涉及一种数据处理方法、装置、介质、网络接入设备及电子设备。
背景技术
如智能手机、平板电脑等电子设备可以与网络接入设备(比如Wi-Fi路由器)建立网络连接,利用网络接入设备所提供的网络接入服务访问互联网,从而在线听歌、看视频等。目前,为了提升数据的传输效率,网络上传输的数据通常是编码后的数据,相应的,电子设备在传输数据前,需要对数据进行编码,而在接收到数据后,则需要对数据进行解码。
发明内容
本申请提供了一种数据处理方法、装置、介质、网络接入设备及电子设备,能够使得电子设备在不增加大量电能消耗以及运行负载的前提下实现编解码处理。
第一方面,本申请提供一种数据处理方法,应用于网络接入设备,所述网络接入设备用于为电子设备提供网络接入服务,所述数据处理方法包括:
获取来自所述电子设备的待处理数据,以及获取所述电子设备对所述待处理数据的编解码需求信息;
根据所述编解码需求信息对所述待处理数据进行指定的编解码处理,得到对应所述待处理数据的编解码结果;
将所述编解码结果传输至所述电子设备。
第二方面,本申请通过一种数据处理方法,应用于电子设备,所述电子设备由网络接入设备提供网络接入服务,所述数据处理方法包括:
获取需要进行编解码处理的待处理数据,并确定对应所述待处理数据的编解码需求信息;
将所述待处理数据以及所述编解码需求信息传输至所述网络接入设备,使得所述网络接入设备根据所述编解码需求信息对所述待处理数据进行指定的编解码处理,以得到对应所述待处理数据的编解码结果;
接收所述网络接入设备返回的所述编解码结果。
第三方面,本申请提供一种数据处理装置,应用于网络接入设备,所述网络接入设备用于为电子设备提供网络接入服务,所述数据处理装置包括:
数据获取模块,用于获取来自所述电子设备的待处理数据,以及获取所述电子设备对所述待处理数据的编解码需求信息;
编解码处理模块,用于根据所述编解码需求信息对所述待处理数据进行指定的编解码处理,得到对应所述待处理数据的编解码结果;
数据传输模块,用于将所述编解码结果传输至所述电子设备。
第四方面,本申请提供一种数据处理装置,应用于电子设备,所述电子设备由网络接入设备提供网络接入服务,所述数据处理装置包括:
数据获取模块,用于获取需要进行编解码处理的待处理数据,并确定对应所述待处理数据的编解码需求信息;
数据传输模块,用于将所述待处理数据以及所述编解码需求信息传输至所述网络接入设备,使得所述网络接入设备根据所述编解码需求信息对所述待处理数据进行指定的编解码处理,以得到对应所述待处理数据的编解码结果;
数据接收模块,用于接收所述网络接入设备返回的所述编解码结果。
第五方面,本申请提供一种存储介质,其上存储有计算机程序,当所述计算机程序被网络接入设备的处理器加载时执行如本申请提供的应用于网络接入设备的数据处理方法,或者当所述计算机程序被电子设备的处理器加载时执行如本申请提供的应用于电子设备的数据处理方法。
第六方面,本申请提供一种网络接入设备,所述网络接入设备包括处理器和存储器,所述存储器储存有计算机程序,所述处理器通过加载所述计算机程序执行如本申请提供的应用于网络接入设备的数据处理方法。
第七方面,本申请提供一种电子设备,所述电子设备包括处理器和存储器,所述存储器存储有计算机程序,所述处理器通过加载所述计算机程序执行如本申请提供的应用于电子设备的数据处理方法。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1是本申请实施例提供的数据处理系统的示意图。
图2是本申请实施例提供的数据处理方法的一流程示意图。
图3是本申请实施例中电子设备获取待处理数据并传输至网络接入设备的示例图。
图4是本申请实施例中电子设备获取待处理数据并通过网络接入设备进行编解码处理后得到编解码结果的示意图。
图5是本申请实施例中将编解码结果拆分传输的示意图。
图6是本申请实施例提供的数据处理方法的另一流程示意图。
图7是本申请实施例提供的数据处理方法的又一流程示意图。
图8是本申请实施例提供的数据处理装置的一结构示意图。
图9是本申请实施例提供的数据处理装置的另一结构示意图。
图10是本申请实施例提供的网络接入设备的结构示意图。
图11是本申请实施例提供的电子设备的结构示意图。
具体实施方式
请参照图式,其中相同的组件符号代表相同的组件,本申请的原理是以实施在一适当的运算环境中来举例说明。以下的说明是基于所例示的本申请具体实施例,其不应被视为限制本申请未在此详述的其它具体实施例。
应当说明的是,本申请以下实施例中所涉及的诸如第一和第二等关系术语仅用于将一个实体或者操作与另一个实体或者操作区分开来,并不用于限定这些实体或操作之间存在着实际的顺序关系。
本申请提供一种数据处理系统,请参照图1,本申请提供的数据处理系统包括电子设备和网络接入设备。应当说明的是,本申请实施例对电子设备和网络接入设备的实体展现形式不做具体限制,比如,电子设备的实体展现形式可以为图1示出的智能手机,网络接入设备的实体展现形式可以为图1示出的路由器。
其中,电子设备和网络接入设备通过二者之间的网络连接进行数据交互,该 网络连接可以为有线网络连接(比如,直接通过数据线连接电子设备和网络接入设备,从而建立二者间的有线网络连接),也可以为无线网络连接(包括但不限于蓝牙、红外以及无线保真等无线通信方式),还可以同时建立有线网络连接和无线网络连接。比如,电子设备在有需要进行编解码处理的待处理数据时,通过其与网络接入设备之间的网络连接将该待处理数据传输至网络接入设备,由网络接入设备对该待处理数据进行指定的编解码处理后,返回对应的编解码结果至电子设备,以此来向电子设备共享编解码能力,使得电子设备在不增加大量电能消耗以及运行负载的前提下实现编解码处理。
应当说明的是,上述图1示出的仅是实现本申请实施例的一个系统架构实例,本申请实施例并不限于上述图1所示的系统架构。以下以图1示出的系统架构为例,提出本申请的各个实施例。
本申请实施例提供一种数据处理方法,应用于网络接入设备,所述网络接入设备用于为电子设备提供网络接入服务,所述数据处理方法包括:
获取来自所述电子设备的待处理数据,以及获取所述电子设备对所述待处理数据的编解码需求信息;
根据所述编解码需求信息对所述待处理数据进行指定的编解码处理,得到对应所述待处理数据的编解码结果;
将所述编解码结果传输至所述电子设备。
在一实施例中,所述根据所述编解码需求信息对所述待处理数据进行指定的编解码处理,得到对应所述待处理数据的编解码结果,包括:
从当前支持的编码算法中出确定出对应所述编解码需求信息的目标编解码算法;
通过所述目标编解码算法对所述待处理数据进行编解码处理,得到所述编解码结果。
在一实施例中,在所述获取来自所述电子设备的待处理数据之前,所述数据处理方法还包括:
在与所述电子设备建立网络连接时,向所述电子设备发送编解码能力信息,所述编解码能力信息用于描述所述网络接入设备当前支持的编解码算法;
接收所述电子设备根据所述编解码能力信息返回的编解码能力共享请求,所述编解码能力共享请求用于请求所述网络接入设备共享编解码能力;
向所述电子设备返回对应所述编解码能力共享请求的编解码能力共享响应,所述编解码能力共享响应用于指示所述电子设备传输所述待处理数据。
在一实施例中,所述接收所述电子设备根据所述编解码能力信息返回的编解码能力共享请求,包括:
通过预设端口接收所述电子设备根据所述编解码能力信息返回的编解码能力共享请求。
在一实施例中,所述编解码能力共享请求携带有所述电子设备的身份信息,所述向所述电子设备返回对应所述编解码能力共享请求的编解码能力共享响应,包括:
根据所述身份信息对所述电子设备进行身份验证;
在所述电子设备通过身份认证时,向所述电子设备返回所述编解码能力共享响应。
在一实施例中,所述获取来自所述电子设备的待处理数据,包括:
在运行负载小于第一预设负载时,获取来自所述电子设备的所述待处理数据。
在一实施例中,所述数据处理方法还包括:
在运行负载大于或等于所述第一预设负载时,指示所述电子设备暂停传输所述待处理数据。
请参照图2,图2为本申请实施例提供的数据处理方法的流程示意图。该数据处理方法应用于本申请提供的数据处理系统中的网络接入设备,如图2所示,本申请实施例提供的数据处理方法的流程可以如下:
在110中,获取来自电子设备的待处理数据,以及获取电子设备对待处理数据的编解码需求信息。
以下将从网络接入设备角度对本申请所提供的数据处理方法进行说明。
其中,网络接入设备为电子设备提供网络接入服务,使得电子设备能够通过网络接入设备访问网络,比如互联网,机构内部网络等。
待处理数据由电子设备提供,其中该待处理数据可以由电子设备自行产生,也可以由电子设备从网络中获取,或者从其它电子设备处获取。应当说明的是,待处理数据可以为任意能够进行编解码处理的数据,本申请实施例中对此不作具体限制,比如,可以是原始的图像数据、编码后的视频数据、编码后的音频数据等。
电子设备在有需要进行编解码处理的待处理数据时,将该待处理数据传输至网络接入设备,相应的,网络接入设备将获取到来自电子设备的待处理数据。
比如,请参照图3,网络接入设备为电子设备和其它电子设备提供网络接入服务,某时刻,其它电子设备向电子设备分享了一视频数据,电子设备需要对该视频数据解码后才能播放,因此电子设备将该视频数据作为需要进行编解码处理的待处理数据,通过与网络接入设备之间的网络连接传输至网络接入设备。
本申请实施例中,电子设备除了向网络接入设备传输待处理数据之外,还向网络接入设备传输编解码需求信息,该编解码需求信息描述了电子设备对待处理数据的编解码需求,用于指示网络接入设备采用何种编解码方式对待处理数据进行编解码处理。
在120中,根据编解码需求信息对待处理数据进行指定的编解码处理,得到对应待处理数据的编解码结果。
本申请实施例中,网络接入设备在获取到来自电子设备的待处理数据以及对应的编解码需求信息之后,即按照编解码需求信息的指示,通过本地的编解码能力对该待处理数据进行指定的编解码处理,相应得到对应待处理数据的编解码结果。其中,网络接入设备的编解码能力可以是系统自带的,也可以是通过安装编解码插件获得的。
比如,待处理数据为H.264格式的视频数据,但是电子设备期望将该视频数据编码为H.265格式的视频数据,因此传输该H.264格式的视频数据以及用于指示将其编码为H.265格式的编解码需求信息至网络接入设备,从而使得网络接入设备将该H.264格式的视频数据编码为H.265格式,得到H.265格式的视频数据(即编解码结果)。
又比如,待处理数据为H.265格式的视频数据,但是电子设备期望将H.265格式的视频数据解码后播放,因此传输该H.265格式的视频数据以及用于指示将其解码的编解码需求信息至网络接入设备,从而使得网络接入设备对该H.265格式的视频数据进行解码,得到对应的解码后数据(即编解码结果)。
在130中,将编解码结果传输至电子设备。
在完成对待处理数据的编解码处理,并得到对应该待处理数据的编解码结果 之后,网络接入设备将该编解码结果通过其与电子设备之间的网络连接传输至电子设备。
比如,请参照图4,网络接入设备为电子设备和其它电子设备提供网络接入服务,某时刻,其它电子设备分享一H.264格式的视频数据至电子设备,电子设备需要将该H.264格式视频数据解码后播放,相应将该H.264格式视频数据作为待处理数据传输至网络接入设备。网络接入设备对待处理数据进行解码处理,得到解码后的视频数据,将解码后的视频数据作为编解码结果传输至电子设备,供电子设备播放。
由上可知,本申请通过网络接入设备获取来自其提供网络接入服务的电子设备的待处理数据,以及获取电子设备对待处理数据的编解码需求信息,并根据编解码需求信息对该待处理数据进行指定的编解码处理,得到对应该待处理数据的编解码结果,最后将得到的编解码结果传输至电子设备,供电子设备进行对应的处理。以此,通过网络接入设备向其提供网络接入服务的电子设备共享编解码能力,能够使得电子设备在不增加大量电能消耗以及运行负载的前提下实现编解码处理。
可选地,在一实施例中,根据编解码需求信息对待处理数据进行指定的编解码处理,得到对应待处理数据的编解码结果,包括:
(1)从当前支持编解码算法中确定出对应编解码需求信息的目标编解码算法;
(2)通过目标编解码算法对待处理数据进行编解码处理,得到编解码结果。
应当说明的是,在本申请实施例中,网络接入设备支持多种编解码算法,这些编解码算法可以是预先配置在网络接入设备本地,也可以是网络接入设备通过安装第三方的安全应用获得。其中,编解码算法包括但不限于音频编解码算法、视频编解码算法以及图像编解码算法等。
本申请实施例中,网络接入设备在获取到来自电子设备的待处理数据以及电子设备对待处理数据的编解码需求信息之后,根据该编解码需求信息确定用于对待处理数据进行编解码处理的编解码算法,记为目标编解码算法。
在确定对应编解码需求信息的目标编解码算法之后,网络接入设备即通过该目标编解码算法对待处理数据进行编解码处理,相应得到对应待处理数据的编解码结果。
可选地,在一实施例中,从当前支持的编解码算法中确定出对应编解码需求信息的目标编解码算法,包括:
在当前支持的编解码算法中对应编解码需求信息的编解码算法为多个时,将占用处理资源最少的编解码算法设为目标编解码算法。
可以理解的是,执行不同的编解码算法所需的处理资源不同,有的编解码算法需求较少的处理资源,有的编解码算法需求较多的处理资源。为避免过多的影响网络接入设备的正常运行,在当前支持的编解码算法中对应编解码需求信息的编解码算法为多个时,网络接入设备将占用处理资源最少的编解码算法设为目标编解码算法。
可选地,在一实施例中,从当前支持的编解码算法中确定出对应编解码需求信息的目标编解码算法,包括:
在当前支持的编解码算法中对应编解码需求信息的编解码算法为多个时,将编解码质量最高的编解码算法设为目标编解码算法。
可以理解的是,执行不同的编解码算法所得到的编解码质量不同,有的编解 码算法的编解码质量较高,有的编解码算法的编解码质量较低。为获得最高的编解码质量,在当前支持的编解码算法中对应编解码需求信息的编解码算法为多个时,网络接入设备将编解码质量最高的编解码算法设为目标编解码算法。
可选地,在一实施例中,获取来自电子设备的待处理数据之前,还包括:
(1)在与电子设备建立网络连接时,向电子设备发送编解码能力信息,编解码能力信息用于描述网络接入设备当前支持的编解码算法;
(2)接收电子设备根据编解码能力信息返回的编解码能力共享请求,编解码能力共享请求用于请求网络接入设备共享编解码能力;
(3)向电子设备返回对应编解码能力共享请求的编解码能力共享响应,编解码能力共享响应用于指示电子设备传输待处理数据。
本申请实施例中,为了能够更好的向电子设备共享编解码能力,网络接入设备提前向电子设备声明自身的编解码能力,从而供电子设备按需从网络接入设备获取编解码能力。
其中,网络接入设备在与电子设备建立网络连接时,按照与电子设备预先约定的报文格式,生成携带有编解码能力信息的能力声明报文,并将该能力声明报文通过其与电子设备之间的网络连接传输至电子设备,编解码能力信息用于描述网络接入设备当前支持的编解码算法。
电子设备在接收到来自网络接入设备的能力声明报文之后,解析出其中的编解码能力信息,从而获取到的网络接入设备所支持的编解码算法。若需要网络接入设备共享编解码能力,则按照与网络接入设备预先约定的报文格式,生成对应能力声明报文的编解码能力请求,并向网络接入设备返回对应能力声明报文的编解码能力请求,以请求网络接入设备共享编解码能力、
而网络接入设备在接收到来自电子设备的编解码能力共享请求之后,按照与电子设备预先预定的报文格式,生成对应编解码能力共享请求的编解码能力共享响应,并向电子设备返回对应编解码能力共享请求的编解码能力共享响应,该编解码能力共享响应用于告知电子设备网络接入设备同意共享编解码能力,可以传输需要进行编解码处理的待处理数据至网络接入设备处进行编解码处理。
可选地,在一实施例中,接收电子设备根据编解码能力信息返回的编解码能力共享请求,包括:
通过预设端口接收电子设备根据编解码能力信息返回的编解码能力共享请求。
本申请实施例中,为了确保电子设备能够准确的向网络接入设备请求编解码能力共享,可以在网络接入设备配置一固定端口用于编解码能力共享请求的接收。
比如,端口的取值范围为0-65535,其中,0-1024是系统端口,已经分配给了常用服务(如80号端口分配给了网页访问,21号端口分配给了FTP服务),而65535号端口为系统保留,因此,可以在1025至65534之间选择一个端口作为预设端口。相应的,电子设备的编解码能力共享请求将发送至网络接入设备配置的预设端口,而网络接入设备将通过该预设端口接收到电子设备根据编解码能力信息返回的编解码能力共享请求。
可选地,在一实施例中,编解码能力共享请求携带有电子设备的身份信息,向电子设备返回对应编解码能力共享请求的编解码能力共享响应,包括:
(1)根据身份信息对电子设备进行身份验证;
(2)在电子设备通过身份认证时,向电子设备返回编解码能力共享响应。
应当说明的是,本申请实施例中,为了不过多影响网络接入设备的正常运行, 网络接入设备可以仅向特定的电子设备共享编解码能力。
其中,电子设备返回至网络接入设备的编解码能力共享请求还携带有电子设备的身份信息,供网络接入设备对电子设备的身份进行验证。应当说明的是,本申请实施例中对于采用何种信息作为电子设备的身份信息不作具体限制,可由本领域普通技术人员根据实际需要进行配置,比如,可以将电子设备的硬件地址、设备标识等能够唯一表征电子设备身份的信息。
网络接入设备在接收到电子设备根据编解码能力信息所返回的编解码能力共享请求之后,并不立即向电子设备返回编解码能力共享相应,而是先解析出该编解码能力共享请求所携带的电子设备的身份信息,并根据该身份信息对电子设备进行身份验证,也即是验证该电子设备是否为预先授权可共享编解码能力的电子设备。此处对身份验证的具体实施方式不作限制,可由本领域普通技术人员根据实际需要进行配置。
在电子设备通过身份认证时,也即是确定该电子设备为预先授权的可共享编解码能力的电子设备时,向电子设备返回编解码能力共享响应。
可选地,在一实施例中,获取来自电子设备的待处理数据,包括:
在运行负载小于第一预设负载时,获取来自电子设备的待处理数据。
应当说明的是,本申请实施例中,为了不过多影响网络接入设备的正常运行,网络接入设备可以仅仅在运行负载较轻时向电子设备共享编解码能力。
其中,网络接入设备对自身的运行负载实时进行侦测,在且仅在运行负载小于第一预设负载时,才获取来自电子设备的待处理数据。此处对第一预设负载的取值不作具体限制,可由本领域普通技术人员根据实际需要进行配置。
在其他实施例中,若侦测到运行负载大于或等于第一预设负载,则指示电子设备暂停传输待处理数据。
可以理解的是,在网络接入设备的运行负载大于或等于第一预设负载时,说明网络接入设备此时的运行负载较重,若再获取来自电子设备的待处理数据进行编解码处理,无疑会进一步加重网络接入设备的运行负载,从而影响网络接入设备的正常运行,因此,网络接入设备在其运行负载大于或等于预设幅值时,指示电子设备暂停传输需要进行编解码处理的待处理数据。
可选地,在一实施例中,网络接入设备与电子设备建立有多路网络连接,将编解码结果传输至电子设备,包括:
通过多路网络连接将编解码结果传输至电子设备。
本申请实施例中,为了及时的将对待处理数据进行编解码处理后所得到的编解码结果传输至电子设备,网络接入设备可以通过其与电子设备之间建立的多路网络连接将编解码结果传输至电子设备。
比如,电子设备与网络接入设备建立有基于2.4G频点的第一网络连接和基于5G频点的第二网络连接,在将编解码结果传输至电子设备时,网络接入设备可以将编解码结果拆分为两部分,将其中一部分通过第一网络连接传输至电子设备,同时将另一部分通过第二网络连接传输至电子设备。
可选地,在一实施例中,获取来自电子设备的待处理数据,包括:
通过多路网络连接获取来自电子设备的待处理数据。
可选地,在一实施例中,通过多路网络连接将编解码结果传输至电子设备,包括:
(1)对每一网络连接的传输能力进行量化评估,得到每一网络连接的传输能力值;
(2)根据每一网络连接的传输能力值,将编解码结果分配到每一网络连接以传输至电子设备。
为了确保多路网络连接传输的稳定性,网络接入设备根据每一网络连接的传输能力进行负载均衡。
其中,网络接入设备首先按照预先配置的量化评估策略对每一网络连接的传输能力进行量化评估,相应得到每一网络连接的传输能力值,此处对量化评估策略的配置不作具体限制,可由本领域普通技术人员根据实际需要进行配置。
示例性的,网络接入设备可以获取到一网络连接的可用带宽、传输时延以及丢包率等能够表征其传输能力的多维网络参数,然后对多维网络参数进行归一化处理,再对归一化处理之后的多维网络参数进行加权求和(此处权重分配可由本领域普通技术人员根据实际需要按经验分配),将得到的加权和值设为该网络连接的传输能力值。
如上,在获取到每一网络连接的传输能力值之后,网络接入设备即可根据每一网络连接的传输能力值将编解码结果分配到每一网络连接以传输至电子设备。其中,网络接入设备可以根据每一网络连接的传输能力值获取到多路网络连接的传输能力之比,然后根据该传输能力之比确定每一网络连接的分配比例,进而按照确定的分配比例将编解码结果分配到每一网络连接传输至电子设备。
比如,请参照图5,网络接入设备与电子设备建立有两路网络连接,分别为第一网络连接和第二网络连接,若获取到第一网络连接的传输能力值为“5”,获取到第二网络连接的传输能力值为“10”,则可以获取到第一网络连接和第二网络连接的传输能力之比为1:2,然后,确定对应第一网络连接的分配比例为1/(1+2)=1/3,确定对应第二网络连接的分配比例为2/(1+2)=2/3,相应的,网络接入设备将编解码结果中三分之一的数据通过第一网络连接传输至电子设备,将编解码结果中三分之二的数据通过第二网络连接传输至电子设备。
请参照图6,图6为本申请实施例提供的数据处理方法的另一流程示意图,如图6所示,本申请实施例提供的数据处理方法的流程可以如下:
在210中,网络接入设备在与电子设备建立网络连接时,向电子设备发送编解码能力信息。
本申请实施例中,为了能够更好的向电子设备共享编解码能力,网络接入设备提前向电子设备声明自身的编解码能力,从而供电子设备按需从网络接入设备获取编解码能力。
其中,网络接入设备在与电子设备建立网络连接时,按照与电子设备预先约定的报文格式,生成携带有编解码能力信息的能力声明报文,并将该能力声明报文通过其与电子设备之间的网络连接传输至电子设备,编解码能力信息用于描述网络接入设备支持的编解码算法。
应当说明的是,在本申请实施例中,网络接入设备支持多种编解码算法,这些编解码算法可以是预先配置在网络接入设备本地,也可以是网络接入设备通过安装第三方的安全应用获得。其中,编解码算法包括但不限于音频编解码算法、视频编解码算法以及图像编解码算法等。
在220中,电子设备根据编解码能力信息向网络接入设备返回编解码能力共享请求。
电子设备在接收到来自网络接入设备的能力声明报文之后,解析出其中的编解码能力信息,从而获取到的网络接入设备所支持的编解码算法。若需要网络接 入设备共享编解码能力,则将向网络接入设备返回对应能力声明报文的编解码能力请求,以请求网络接入设备共享编解码能力、
在230中,网络接入设备向电子设备返回对应编解码能力共享请求的编解码能力共享响应。
网络接入设备在接收到来自电子设备的编解码能力共享请求之后,相应向电子设备返回对应编解码能力共享请求的编解码能力共享响应,该编解码能力共享响应用于告知电子设备网络接入设备同意共享编解码能力,可以传输需要进行编解码处理的待处理数据至网络接入设备处进行编解码处理。
在240中,电子设备向网络接入设备传输需要进行编解码处理的待处理数据,以及对应待处理数据的编解码需求信息。
其中,需要进行编解码处理的待处理数据可以由电子设备自行产生,也可以由电子设备从网络中获取,或者从其它电子设备处获取。应当说明的是,待处理数据可以为任意能够进行编解码处理的数据,本申请实施例中对此不作具体限制,比如,可以是原始的图像数据、编码后的视频数据、编码后的音频数据等。
电子设备在有需要进行编解码处理的待处理数据时,将该待处理数据传输至网络接入设备,相应的,网络接入设备将获取到来自电子设备的待处理数据。
比如,请参照图3,网络接入设备为电子设备和其它电子设备提供网络接入服务,某时刻,其它电子设备向电子设备分享了一视频数据,电子设备需要对该视频数据解码后才能播放,因此电子设备将该视频数据作为需要进行编解码处理的待处理数据,通过与网络接入设备之间的网络连接传输至网络接入设备。
本申请实施例中,电子设备除了向网络接入设备传输待处理数据之外,还向网络接入设备传输编解码需求信息,该编解码需求信息描述了电子设备对待处理数据的编解码需求,用于指示网络接入设备采用何种编解码方式对待处理数据进行编解码处理。
在250中,网络接入设备根据编解码需求信息对待处理数据进行指定的编解码处理,得到对应待处理数据的编解码结果。
本申请实施例中,网络接入设备在获取到来自电子设备的待处理数据以及对应的编解码需求信息之后,根据该编解码需求信息确定用于对待处理数据进行编解码处理的编解码算法,记为目标编解码算法。
在确定对应编解码需求信息的目标编解码算法之后,网络接入设备即通过该目标编解码算法对待处理数据进行编解码处理,相应得到对应待处理数据的编解码结果。
在一可选地实施方式中,从当前支持的编解码算法中确定出对应编解码需求信息的目标编解码算法,包括:
在当前支持的编解码算法中对应编解码需求信息的编解码算法为多个时,将占用处理资源最少的编解码算法设为目标编解码算法。
可以理解的是,执行不同的编解码算法所需的处理资源不同,有的编解码算法需求较少的处理资源,有的编解码算法需求较多的处理资源。为避免过多的影响网络接入设备的正常运行,在当前支持的编解码算法中对应编解码需求信息的编解码算法为多个时,网络接入设备将占用处理资源最少的编解码算法设为目标编解码算法。
在另一可选地实施方式中,从当前支持的编解码算法中确定出对应编解码需求信息的目标编解码算法,包括:
在当前支持的编解码算法中对应编解码需求信息的编解码算法为多个时,将 编解码质量最高的编解码算法设为目标编解码算法。
可以理解的是,执行不同的编解码算法所得到的编解码质量不同,有的编解码算法的编解码质量较高,有的编解码算法的编解码质量较低。为获得最高的编解码质量,在当前支持的编解码算法中对应编解码需求信息的编解码算法为多个时,网络接入设备将编解码质量最高的编解码算法设为目标编解码算法。
在260中,网络接入设备将编解码结果传输至电子设备。
在完成对待处理数据的编解码处理,并得到对应该待处理数据的编解码结果之后,网络接入设备将该编解码结果通过其与电子设备之间的网络连接传输至电子设备。
比如,请参照图4,网络接入设备为电子设备和其它电子设备提供网络接入服务,某时刻,其它电子设备分享一H.264格式的视频数据至电子设备,电子设备需要将该H.264格式视频数据解码后播放,相应将该H.264格式视频数据作为待处理数据传输至网络接入设备。网络接入设备对待处理数据进行解码处理,得到解码后的视频数据,将解码后的视频数据作为编解码结果传输至电子设备,供电子设备播放。
本申请实施例还提供一种数据处理方法,应用于电子设备,所述数据处理方法包括:
获取需要进行编解码处理的待处理数据,并确定对应所述待处理数据的编解码需求信息;
将所述待处理数据以及所述编解码需求信息传输至所述网络接入设备,使得所述网络接入设备根据所述编解码需求信息对所述待处理数据进行指定的编解码处理,以得到对应所述待处理数据的编解码结果;
接收所述网络接入设备返回的所述编解码结果。
在一实施例中,所述将所述待处理数据以及所述编解码需求信息传输至所述网络接入设备,包括:
在运行负载大于第二预设负载时,将所述待处理数据以及所述编解码需求信息传输至所述网络接入设备;或者
在剩余电量小于预设电量时,将所述待处理数据以及所述编解码需求信息传输至所述网络接入设备。
在一实施例中,在所述将所述待处理数据以及所述编解码需求信息传输至所述网络接入设备之后,所述数据处理方法还包括:
在接收到所述网络接入设备返回的用于指示暂停共享编解码能力的指示信息时,根据所述编解码需求信息对所述待处理数据进行指定的编解码处理,得到对应所述待处理数据的编解码结果。
请参照图7,图7为本申请实施例提供的数据处理方法的流程示意图。该数据处理方法应用于本申请提供的数据处理系统中的网络接入设备,如图2所示,本申请实施例提供的数据处理方法的流程可以如下:
在310中,获取需要进行编解码处理的待处理数据,并确定对应待处理数据的编解码需求信息。
以下将从电子设备的角度对本申请所提供的数据处理方法进行说明。
本申请实施例中,电子设备由网络接入设备提供网络接入服务,使得电子设备能够通过网络接入设备访问网络,比如互联网,机构内部网络等。
其中,待处理数据由电子设备提供,该待处理数据可以是电子设备本地的已 存储数据,也可以由电子设备从网络中获取,或者从其它电子设备处获取。应当说明的是,待处理数据可以为任意能够进行编解码处理的数据,本申请实施例中对此不作具体限制,比如,可以是原始的图像数据、编码后的视频数据、编码后的音频数据等。
编解码需求信息描述了电子设备对待处理数据的编解码需求,描述了电子设备需求采用何种编解码方式对待处理数据进行编解码处理。
示例性的,电子设备在触发编解码操作时,获取到需要进行编解码处理的待处理数据,并确定对应该待处理数据的编解码需求信息。其中,编解码操作可由电子设备根据用户操作触发。比如,用户在向电子设备下达对某视频数据的播放操作时,触发电子设备执行编解码操作,电子设备相应将前述视频数据作为需要进行编解码处理的待处理数据,以及根据前述视频数据的编码格式,确定对应的编解码需求信息包括描述对应该编码格式的解码方式的信息。
比如,请参照图3,网络接入设备为电子设备和其它电子设备提供网络接入服务,某时刻,其它电子设备向电子设备分享了一视频数据,电子设备在接收到用户下达的对该视频数据的播放指令时,触发编解码操作,进一步确定需要对该视频数据解码后才能播放,相应将该视频数据作为需要进行编解码处理的待处理数据,以及根据该视频数据的编码格式,确定对应的编解码需求信息包括描述对应该编码格式的解码方式的信息。
在320中,将待处理数据以及编解码需求信息传输至网络接入设备,使得网络接入设备根据编解码需求信息对待处理数据进行指定的编解码处理,以得到对应待处理数据的编解码结果。
本申请实施例中,电子设备在获取到需要进行编解码处理的待处理数据,以及获取到对应待处理数据的编解码需求信息之后,将该待处理数据以及对应的编解码需求信息传输至网络接入设备,由网络接入设备根据编解码需求信息的指示,对待处理数据进行指定的编解码处理,相应得到对应待处理数据的编解码结果。
其中,网络接入设备在获取到来自电子设备的待处理数据以及对应的编解码需求信息之后,即按照编解码需求信息的指示,通过本地的编解码能力对该待处理数据进行指定的编解码处理,相应得到对应待处理数据的编解码结果。其中,网络接入设备的编解码能力可以是系统自带的,也可以是通过安装编解码插件获得的。
比如,待处理数据为H.264格式的视频数据,但是电子设备期望将该视频数据编码为H.265格式的视频数据,因此传输该H.264格式的视频数据以及用于指示将其编码为H.265格式的编解码需求信息至网络接入设备,从而使得网络接入设备将该H.264格式的视频数据编码为H.265格式,得到H.265格式的视频数据(即编解码结果)。
又比如,待处理数据为H.265格式的视频数据,但是电子设备期望将H.265格式的视频数据解码后播放,因此传输该H.265格式的视频数据以及用于指示将其解码的编解码需求信息至网络接入设备,从而使得网络接入设备对该H.265格式的视频数据进行解码,得到对应的解码后数据(即编解码结果)
在330中,接收网络接入设备返回的编解码结果。
在完成对待处理数据的编解码处理,并得到对应该待处理数据的编解码结果之后,网络接入设备将该编解码结果通过其与电子设备之间的网络连接传输至电子设备。相应的,电子设备将接收到到网络接入设备所返回的编解码结果。
比如,请参照图4,网络接入设备为电子设备和其它电子设备提供网络接入 服务,某时刻,其它电子设备分享一H.264格式的视频数据至电子设备,电子设备需要将该H.264格式视频数据解码后播放,相应将该H.264格式视频数据作为待处理数据传输至网络接入设备。网络接入设备对待处理数据进行解码处理,得到解码后的视频数据,将解码后的视频数据作为编解码结果传输至电子设备,供电子设备播放。
可选地,在一实施例中,将待处理数据以及编解码需求信息传输至网络接入设备,包括:
在运行负载大于第二预设负载时,将待处理数据以及编解码需求信息传输至网络接入设备;或者
在剩余电量小于预设电量时,将待处理数据以及编解码需求信息传输至网络接入设备。
本申请实施例中,为不过多影响网络接入设备的正常工作,电子设备仅在满足预设条件时,利用网络接入设备共享的编解码能力。
示例性的,可以配置预设条件为:
电子设备的运行负载大于第二预设负载,或者电子设备的剩余电量小于预设电量。
相应的,电子设备在获取到待处理数据以及对应的编解码需求信息之后,对自身当前的运行负载进行侦测,若侦测到运行负载大于第二预设负载,才将获取到的待处理数据以及对应的编解码需求信息传输至网络接入设备。
此外,电子设备在获取到待处理数据以及对应的编解码需求信息之后,对自身当前的剩余电量进行侦测,若侦测到剩余电量小于预设电量,才将获取到的待处理数据以及对应的编解码需求信息传输至网络接入设备。
应当说明的是,本申请实施例中对以上第一预设负载以及预设电量的取值不作具体限制,可由本领域普通技术人员根据实际需要进行配置。当然,在其他实施例中,可由本领域普通技术人员根据实际需要进行预设条件的配置,比如,还可以配置预设条件为:电子设备根据编解码需求信息对待处理数据进行编解码处理所需的第一处理时长大于网络接入设备根据编解码需求信息对待处理数据进行编解码处理所需的第二处理时长;或者,电子设备根据编解码需求信息对待处理数据进行编解码处理的第一编解码质量小于网络接入设备根据编解码需求信息对待处理数据进行编解码处理的第二编解码质量等。
可选地,在一实施例中,将待处理数据以及编解码需求信息传输至网络接入设备之后,还包括:
在接收到网络接入设备返回的用于指示暂停共享编解码能力的指示信息时,根据编解码需求信息对待处理数据进行指定的编解码处理,得到对应待处理数据的编解码结果。
其中,网络接入设备可以根据自身需要随时暂停共享编解码能力,并向电子设备返回用于指示暂停共享编解码能力的指示信息,比如,网络接入设备可以在自身的运行负载大于或等于第一预设负载时,向电子设备返回指示暂停共享编解码能力的指示信息。
另一方面,电子设备在接收到网络接入识别所返回的用于指示暂停共享编解码能力的指示信息,判定需要自身进行编解码处理,相应按照编解码需求信息的指示,通过本地的编解码能力对该待处理数据进行指定的编解码处理,得到对应待处理数据的编解码结果。其中,电子设备的编解码能力可以是系统自带的,也可以是通过安装编解码插件获得的。
请参照图8,为更好的执行本申请所提供的应用于网络接入设备的数据处理方法,本申请进一步提供一种数据处理装置,该数据处理装置应用于网络接入设备,该网络接入设备用于为电子设备提供网络接入服务如图8所示,该数据处理装置可以包括:
数据获取模块410,用于获取来自电子设备的待处理数据,以及获取电子设备对待处理数据的编解码需求信息;
编解码处理模块420,用于根据编解码需求信息对待处理数据进行指定的编解码处理,得到对应待处理数据的编解码结果;
数据传输模块430,用于将编解码结果传输至电子设备。
可选地,在一实施例中,编解码处理模块420用于:
从当前支持的编码算法中出确定出对应编解码需求信息的目标编解码算法;
通过目标编解码算法对待处理数据进行编解码处理,得到编解码结果。
可选地,在一实施例中,本申请提供的数据处理装置还包括能力交互模块,用于:
在与电子设备建立网络连接时,向电子设备发送编解码能力信息,编解码能力信息用于描述网络接入设备支持的编解码算法;
接收电子设备根据编解码能力信息返回的编解码能力共享请求,编解码能力共享请求用于请求网络接入设备共享编解码能力;
向电子设备返回对应编解码能力共享请求的编解码能力共享响应,编解码能力共享响应用于指示电子设备传输待处理数据。
可选地,在一实施例中,能力交互模块用于:
通过预设端口接收电子设备根据编解码能力信息返回的编解码能力共享请求。
可选地,在一实施例中,编解码能力共享请求携带有电子设备的身份信息,能力交互模块用于:
根据身份信息对电子设备进行身份验证;
在电子设备通过身份认证时,向电子设备返回编解码能力共享响应。
可选地,在一实施例中,数据获取模块410用于:
在运行负载小于第一预设负载时,获取来自电子设备的待处理数据。
可选地,在一实施例中,数据获取模块410还用于:
在运行负载大于或等于第一预设负载时,指示电子设备暂停传输待处理数据。
可选地,在一实施例中,网络接入设备与电子设备建立有多路网络连接,数据传输模块430用于:
通过多路网络连接将编解码结果传输至电子设备。
可选地,在一实施例中,数据传输模块430用于:
对每一网络连接的传输能力进行量化评估,得到每一网络连接的传输能力值;
根据每一网络连接的传输能力值,将编解码结果分配到每一网络连接以传输至电子设备。
应当说明的是,本申请实施例提供的数据处理装置与上文实施例中应用于网络接入设备的数据处理方法属于同一构思,其具体实现过程详见以上相关实施例,此处不再赘述。
请参照图9,为更好的执行本申请所提供的应用于电子设备的数据处理方法,本申请进一步提供一种数据处理装置,该数据处理装置应用于电子设备,电子设 备由网络接入设备提供网络接入服务,如图9所示,该数据处理装置可以包括:
数据获取模块510,用于获取需要进行编解码处理的待处理数据,并确定对应待处理数据的编解码需求信息;
数据传输模块520,用于将待处理数据以及编解码需求信息传输至网络接入设备,使得网络接入设备根据编解码需求信息对待处理数据进行指定的编解码处理,以得到对应待处理数据的编解码结果;
数据接收模块530,用于接收网络接入设备返回的编解码结果。
可选地,在一实施例中,数据传输模块520用于:
在运行负载大于第二预设负载时,将待处理数据以及编解码需求信息传输至网络接入设备;或者
在剩余电量小于预设电量时,将待处理数据以及编解码需求信息传输至网络接入设备。
可选地,在一实施例中,本申请提供的数据处理装置还包括编解码模块,用于在接收到网络接入设备返回的用于指示暂停共享编解码能力的指示信息时,根据编解码需求信息对待处理数据进行指定的编解码处理,得到对应待处理数据的编解码结果。
应当说明的是,本申请实施例提供的数据处理装置与上文实施例中应用于电子设备的数据处理方法属于同一构思,其具体实现过程详见以上相关实施例,此处不再赘述。
本申请实施例还提供一种网络接入设备,包括存储器和处理器,其中处理器通过调用存储器中存储的计算机程序,用于执行本实施例提供的应用于网络接入设备的数据处理方法中的步骤。
请参照图10,图10为本申请实施例提供的网络接入设备的结构示意图。
该网络接入设备可以包括网络接口610、存储器620、处理器630等部件。本领域技术人员可以理解,图10中示出的网络接入设备结构并不构成对网络接入设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
网络接口610可以用于进行设备之间的网络连接。
存储器620可用于存储计算机程序和数据。存储器620存储的计算机程序中包含有可执行代码。计算机程序可以划分为各种功能模块。处理器630通过运行存储在存储器620的计算机程序,从而执行各种功能应用以及数据处理。
处理器630是网络接入设备的控制中心,利用各种接口和线路连接整个网络接入设备的各个部分,通过运行或执行存储在存储器620内的计算机程序,以及调用存储在存储器620内的数据,执行网络接入设备的各种功能和处理数据,从而对网络接入设备进行整体控制。
在本申请实施例中,网络接入设备中的处理器630会按照如下的指令,将一个或一个以上的计算机程序对应的可执行代码加载到存储器620中,并由处理器630来执行从而执行如下步骤:
获取来自电子设备的待处理数据,以及获取电子设备对待处理数据的编解码需求信息;
根据编解码需求信息对待处理数据进行指定的编解码处理,得到对应待处理数据的编解码结果;
将编解码结果传输至电子设备。
可选地,在一实施例中,在根据编解码需求信息对待处理数据进行指定的编解码处理,得到对应待处理数据的编解码结果时,处理器630用于执行:
从当前支持的编码算法中出确定出对应编解码需求信息的目标编解码算法;
通过目标编解码算法对待处理数据进行编解码处理,得到编解码结果。
可选地,在一实施例中,在获取来自电子设备的待处理数据之前,处理器630还用于执行:
在与电子设备建立网络连接时,向电子设备发送编解码能力信息,编解码能力信息用于描述网络接入设备支持的编解码算法;
接收电子设备根据编解码能力信息返回的编解码能力共享请求,编解码能力共享请求用于请求网络接入设备共享编解码能力;
向电子设备返回对应编解码能力共享请求的编解码能力共享响应,编解码能力共享响应用于指示电子设备传输待处理数据。
可选地,在一实施例中,在接收电子设备根据编解码能力信息返回的编解码能力共享请求时,处理器630用于执行:
通过预设端口接收电子设备根据编解码能力信息返回的编解码能力共享请求。
可选地,在一实施例中,编解码能力共享请求携带有电子设备的身份信息,在向电子设备返回对应编解码能力共享请求的编解码能力共享响应时,处理器630用于执行:
根据身份信息对电子设备进行身份验证;
在电子设备通过身份认证时,向电子设备返回编解码能力共享响应。
可选地,在一实施例中,在获取来自电子设备的待处理数据时,处理器630用于执行:
在运行负载小于第一预设负载时,获取来自电子设备的待处理数据。
可选地,在一实施例中,处理器630还用于执行:
在运行负载大于或等于第一预设负载时,指示电子设备暂停传输待处理数据。
可选地,在一实施例中,网络接入设备与电子设备建立有多路网络连接,在将编解码结果传输至电子设备时,处理器630用于执行:
通过多路网络连接将编解码结果传输至电子设备。
可选地,在一实施例中,在通过多路网络连接将编解码结果传输至电子设备时,处理器630用于执行:
对每一网络连接的传输能力进行量化评估,得到每一网络连接的传输能力值;
根据每一网络连接的传输能力值,将编解码结果分配到每一网络连接以传输至电子设备。
应当说明的是,本申请实施例提供的网络接入设备与上文实施例中应用于网络接入设备的数据处理方法属于同一构思,其具体实现过程详见以上相关实施例,此处不再赘述。
本申请实施例还提供一种电子设备,包括存储器和处理器,其中处理器通过调用存储器中存储的计算机程序,用于执行本实施例提供的应用于电子设备的数据处理方法中的步骤。
请参照图11,图11为本申请实施例提供的电子设备的结构示意图。
该电子设备可以包括网络接口710、存储器720、处理器730等部件。本领域技术人员可以理解,图10中示出的电子设备结构并不构成对电子设备的限定, 可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
网络接口710可以用于进行设备之间的网络连接。
存储器720可用于存储计算机程序和数据。存储器720存储的计算机程序中包含有可执行代码。计算机程序可以划分为各种功能模块。处理器730通过运行存储在存储器720的计算机程序,从而执行各种功能应用以及数据处理。
处理器730是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器720内的计算机程序,以及调用存储在存储器720内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体控制。
在本申请实施例中,电子设备中的处理器730会按照如下的指令,将一个或一个以上的计算机程序对应的可执行代码加载到存储器720中,并由处理器730来执行从而执行如下步骤:
获取需要进行编解码处理的待处理数据,并确定对应待处理数据的编解码需求信息;
将待处理数据以及编解码需求信息传输至网络接入设备,使得网络接入设备根据编解码需求信息对待处理数据进行指定的编解码处理,以得到对应待处理数据的编解码结果;
接收网络接入设备返回的编解码结果。
可选地,在一实施例中,在将待处理数据以及编解码需求信息传输至网络接入设备时,处理器730用于执行:
在运行负载大于第二预设负载时,将待处理数据以及编解码需求信息传输至网络接入设备;或者
在剩余电量小于预设电量时,将待处理数据以及编解码需求信息传输至网络接入设备。
可选地,在一实施例中,在将待处理数据以及编解码需求信息传输至网络接入设备之后,处理器730还用于执行:
在接收到网络接入设备返回的用于指示暂停共享编解码能力的指示信息时,根据编解码需求信息对待处理数据进行指定的编解码处理,得到对应待处理数据的编解码结果。
应当说明的是,本申请实施例提供的电子设备与上文实施例中应用于电子设备的数据处理方法属于同一构思,其具体实现过程详见以上相关实施例,此处不再赘述。
本申请还提供一种计算机可读的存储介质,其上存储有计算机程序,当其存储的计算机程序在本申请实施例提供的网络接入设备的处理器上执行时,使得网络接入设备的处理器执行以上任一应用于网络接入设备的数据处理方法中的步骤,或者当其存储的计算机程序在本申请实施例提供的电子设备的处理器上执行时,使得电子设备的处理器执行以上任一应用于电子设备的数据处理方法中的步骤。其中,存储介质可以是磁碟、光盘、只读存储器(Read Only Memory,ROM)或者随机存取器(Random Access Memory,RAM)等。
以上对本申请所提供的一种数据处理方法、装置、存储介质、网络接入设备及电子设备进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围 上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。

Claims (20)

  1. 一种数据处理方法,应用于网络接入设备,所述网络接入设备用于为电子设备提供网络接入服务,其中,包括:
    获取来自所述电子设备的待处理数据,以及获取所述电子设备对所述待处理数据的编解码需求信息;
    根据所述编解码需求信息对所述待处理数据进行指定的编解码处理,得到对应所述待处理数据的编解码结果;
    将所述编解码结果传输至所述电子设备。
  2. 根据权利要求1所述的数据处理方法,其中,所述根据所述编解码需求信息对所述待处理数据进行指定的编解码处理,得到对应所述待处理数据的编解码结果,包括:
    从当前支持的编码算法中出确定出对应所述编解码需求信息的目标编解码算法;
    通过所述目标编解码算法对所述待处理数据进行编解码处理,得到所述编解码结果。
  3. 根据权利要求2所述的数据处理方法,其中,所述获取来自所述电子设备的待处理数据之前,还包括:
    在与所述电子设备建立网络连接时,向所述电子设备发送编解码能力信息,所述编解码能力信息用于描述所述网络接入设备当前支持的编解码算法;
    接收所述电子设备根据所述编解码能力信息返回的编解码能力共享请求,所述编解码能力共享请求用于请求所述网络接入设备共享编解码能力;
    向所述电子设备返回对应所述编解码能力共享请求的编解码能力共享响应,所述编解码能力共享响应用于指示所述电子设备传输所述待处理数据。
  4. 根据权利要求3所述的数据处理方法,其中,所述接收所述电子设备根据所述编解码能力信息返回的编解码能力共享请求,包括:
    通过预设端口接收所述电子设备根据所述编解码能力信息返回的编解码能力共享请求。
  5. 根据权利要求3所述的数据处理方法,其中,所述编解码能力共享请求携带有所述电子设备的身份信息,所述向所述电子设备返回对应所述编解码能力共享请求的编解码能力共享响应,包括:
    根据所述身份信息对所述电子设备进行身份验证;
    在所述电子设备通过身份认证时,向所述电子设备返回所述编解码能力共享响应。
  6. 根据权利要求1-5任一项所述的数据处理方法,其中,所述获取来自所述电子设备的待处理数据,包括:
    在运行负载小于第一预设负载时,获取来自所述电子设备的所述待处理数据。
  7. 根据权利要求6所述的数据处理方法,其中,还包括:
    在运行负载大于或等于所述第一预设负载时,指示所述电子设备暂停传输所述待处理数据。
  8. 一种数据处理方法,应用于电子设备,所述电子设备由网络接入设备提供网络接入服务,其中,包括:
    获取需要进行编解码处理的待处理数据,并确定对应所述待处理数据的编解码需求信息;
    将所述待处理数据以及所述编解码需求信息传输至所述网络接入设备,使得 所述网络接入设备根据所述编解码需求信息对所述待处理数据进行指定的编解码处理,以得到对应所述待处理数据的编解码结果;
    接收所述网络接入设备返回的所述编解码结果。
  9. 根据权利要求8所述的数据处理方法,其中,所述将所述待处理数据以及所述编解码需求信息传输至所述网络接入设备,包括:
    在运行负载大于第二预设负载时,将所述待处理数据以及所述编解码需求信息传输至所述网络接入设备;或者
    在剩余电量小于预设电量时,将所述待处理数据以及所述编解码需求信息传输至所述网络接入设备。
  10. 根据权利要求8所述的数据处理方法,其中,所述将所述待处理数据以及所述编解码需求信息传输至所述网络接入设备之后,还包括:
    在接收到所述网络接入设备返回的用于指示暂停共享编解码能力的指示信息时,根据所述编解码需求信息对所述待处理数据进行指定的编解码处理,得到对应所述待处理数据的编解码结果。
  11. 一种数据处理装置,应用于网络接入设备,所述网络接入设备用于为电子设备提供网络接入服务,其中,包括:
    数据获取模块,用于获取来自所述电子设备的待处理数据,以及获取所述电子设备对所述待处理数据的编解码需求信息;
    编解码处理模块,用于根据所述编解码需求信息对所述待处理数据进行指定的编解码处理,得到对应所述待处理数据的编解码结果;
    数据传输模块,用于将所述编解码结果传输至所述电子设备。
  12. 一种数据处理装置,应用于电子设备,所述电子设备由网络接入设备提供网络接入服务,其中,包括:
    数据获取模块,用于获取需要进行编解码处理的待处理数据,并确定对应所述待处理数据的编解码需求信息;
    数据传输模块,用于将所述待处理数据以及所述编解码需求信息传输至所述网络接入设备,使得所述网络接入设备根据所述编解码需求信息对所述待处理数据进行指定的编解码处理,以得到对应所述待处理数据的编解码结果;
    数据接收模块,用于接收所述网络接入设备返回的所述编解码结果。
  13. 一种存储介质,其上存储有计算机程序,其中,当所述计算机程序被网络接入设备的处理器加载时执行如权利要求1-7任一项所述的数据处理方法;或者当所述计算机程序被电子设备的处理器加载时执行如权利要求8-10任一项所述的数据处理方法。
  14. 一种网络接入设备,所述网络接入设备包括处理器和存储器,所述存储器储存有计算机程序,其中,所述处理器通过加载所述计算机程序执行:
    获取来自所述电子设备的待处理数据,以及获取所述电子设备对所述待处理数据的编解码需求信息;
    根据所述编解码需求信息对所述待处理数据进行指定的编解码处理,得到对应所述待处理数据的编解码结果;
    将所述编解码结果传输至所述电子设备。
  15. 根据权利要求14所述的网络接入设备,其中,在根据所述编解码需求信息对所述待处理数据进行指定的编解码处理,得到对应所述待处理数据的编解码结果时,所述处理器用于执行:
    从当前支持的编码算法中出确定出对应所述编解码需求信息的目标编解码 算法;
    通过所述目标编解码算法对所述待处理数据进行编解码处理,得到所述编解码结果。
  16. 根据权利要求15所述的网络接入设备,其中,在获取来自所述电子设备的待处理数据之前,所述处理器还用于执行:
    在与所述电子设备建立网络连接时,向所述电子设备发送编解码能力信息,所述编解码能力信息用于描述所述网络接入设备当前支持的编解码算法;
    接收所述电子设备根据所述编解码能力信息返回的编解码能力共享请求,所述编解码能力共享请求用于请求所述网络接入设备共享编解码能力;
    向所述电子设备返回对应所述编解码能力共享请求的编解码能力共享响应,所述编解码能力共享响应用于指示所述电子设备传输所述待处理数据。
  17. 根据权利要求16所述的网络接入设备,其中,在接收所述电子设备根据所述编解码能力信息返回的编解码能力共享请求时,所述处理器用于执行:
    通过预设端口接收所述电子设备根据所述编解码能力信息返回的编解码能力共享请求。
  18. 根据权利要求16所述的网络接入设备,其中,所述编解码能力共享请求携带有所述电子设备的身份信息,在接收所述电子设备根据所述编解码能力信息返回的编解码能力共享请求时,所述处理器用于执行:
    根据所述身份信息对所述电子设备进行身份验证;
    在所述电子设备通过身份认证时,向所述电子设备返回所述编解码能力共享响应。
  19. 一种电子设备,所述电子设备包括处理器和存储器,所述存储器存储有计算机程序,其中,所述处理器通过加载所述计算机程序执行:
    获取需要进行编解码处理的待处理数据,并确定对应所述待处理数据的编解码需求信息;
    将所述待处理数据以及所述编解码需求信息传输至所述网络接入设备,使得所述网络接入设备根据所述编解码需求信息对所述待处理数据进行指定的编解码处理,以得到对应所述待处理数据的编解码结果;
    接收所述网络接入设备返回的所述编解码结果。
  20. 根据权利要求19所述的电子设备,其中,在将所述待处理数据以及所述编解码需求信息传输至所述网络接入设备时,所述处理器用于执行:
    在运行负载大于第二预设负载时,将所述待处理数据以及所述编解码需求信息传输至所述网络接入设备;或者
    在剩余电量小于预设电量时,将所述待处理数据以及所述编解码需求信息传输至所述网络接入设备。
PCT/CN2021/114592 2020-11-13 2021-08-25 数据处理方法、装置、介质、网络接入设备及电子设备 WO2022100203A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011270357.3 2020-11-13
CN202011270357.3A CN112291568B (zh) 2020-11-13 2020-11-13 数据处理方法、装置、介质、网络接入设备及电子设备

Publications (1)

Publication Number Publication Date
WO2022100203A1 true WO2022100203A1 (zh) 2022-05-19

Family

ID=74398526

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/114592 WO2022100203A1 (zh) 2020-11-13 2021-08-25 数据处理方法、装置、介质、网络接入设备及电子设备

Country Status (2)

Country Link
CN (1) CN112291568B (zh)
WO (1) WO2022100203A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112291568B (zh) * 2020-11-13 2022-12-20 Oppo广东移动通信有限公司 数据处理方法、装置、介质、网络接入设备及电子设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001313937A (ja) * 2000-05-01 2001-11-09 Kddi Research & Development Laboratories Inc 動画像変換を制御するシステム、そのサーバ、そのゲートウェイ及びその制御プログラムを記録した記録媒体
CN1783855A (zh) * 2004-11-30 2006-06-07 中国科学院声学研究所 支持多种终端的通用型网关及网关与终端间的通讯方法
CN101999234A (zh) * 2008-04-18 2011-03-30 日本电气株式会社 网关装置、方法及程序
CN104320403A (zh) * 2014-10-31 2015-01-28 杭州华三通信技术有限公司 通信方法及装置
CN111107393A (zh) * 2019-11-29 2020-05-05 视联动力信息技术股份有限公司 视频转码方法、转码器、电子设备及存储介质
CN112291568A (zh) * 2020-11-13 2021-01-29 Oppo广东移动通信有限公司 数据处理方法、装置、介质、网络接入设备及电子设备

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100515103C (zh) * 2004-11-30 2009-07-15 中国科学院声学研究所 基于移动电话语音编解码体系的语音通讯系统及通讯方法
CN100579105C (zh) * 2005-12-31 2010-01-06 华为技术有限公司 一种数据流处理的方法和装置
CN102137093A (zh) * 2010-12-10 2011-07-27 华为技术有限公司 媒体流处理方法及媒体网关
CN110087281A (zh) * 2018-01-26 2019-08-02 阿里巴巴集团控股有限公司 网络接入的方法、装置及系统
CN110557670B (zh) * 2019-09-17 2021-12-21 广州方硅信息技术有限公司 在网页页面中播放视频的方法、装置、终端和存储介质
CN110691092A (zh) * 2019-10-09 2020-01-14 恩亿科(北京)数据科技有限公司 一种数据处理方法、装置、电子设备及可读存储介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001313937A (ja) * 2000-05-01 2001-11-09 Kddi Research & Development Laboratories Inc 動画像変換を制御するシステム、そのサーバ、そのゲートウェイ及びその制御プログラムを記録した記録媒体
CN1783855A (zh) * 2004-11-30 2006-06-07 中国科学院声学研究所 支持多种终端的通用型网关及网关与终端间的通讯方法
CN101999234A (zh) * 2008-04-18 2011-03-30 日本电气株式会社 网关装置、方法及程序
CN104320403A (zh) * 2014-10-31 2015-01-28 杭州华三通信技术有限公司 通信方法及装置
CN111107393A (zh) * 2019-11-29 2020-05-05 视联动力信息技术股份有限公司 视频转码方法、转码器、电子设备及存储介质
CN112291568A (zh) * 2020-11-13 2021-01-29 Oppo广东移动通信有限公司 数据处理方法、装置、介质、网络接入设备及电子设备

Also Published As

Publication number Publication date
CN112291568B (zh) 2022-12-20
CN112291568A (zh) 2021-01-29

Similar Documents

Publication Publication Date Title
CN107277153B (zh) 用于提供语音服务的方法、装置和服务器
US9787502B2 (en) Captive portal systems, methods, and devices
US9906574B2 (en) Method, server, client and system for data presentation in a multiplayer session
JP7174857B2 (ja) 通信方法、装置、電子機器及びコンピュータプログラム
US20130137511A1 (en) Distributed server system and method for streaming game service
US9906981B2 (en) Method and system for dynamic regulation and control of Wi-Fi scans
US10554350B2 (en) Sub-partitioning of wireless wideband channel and usage
TW201517572A (zh) 一種數據處理方法、裝置及系統
WO2020164476A1 (zh) 数据下载的方法及相关装置
US10419543B2 (en) Method and system for establishing a connection between a seeker device and a target device
WO2017101186A1 (zh) 用于为用户设备的应用建立无线连接的方法
US20200136926A1 (en) Dynamic adaptive network
WO2016150191A1 (zh) 一种数据共享方法及装置
CN104349177A (zh) 一种在桌面云下转向播放多媒体文件的方法、虚拟机及系统
WO2021082265A1 (zh) 音响系统的控制方法及装置、可读存储介质
WO2022100203A1 (zh) 数据处理方法、装置、介质、网络接入设备及电子设备
JP6517307B2 (ja) クラウドストリーミングサービス提供方法及びそのための装置
CN106686635B (zh) 基于无线接入点的控制和配置协议的数据传输方法和装置
CN107332854B (zh) 一种报文序列化协商方法及服务提供设备
CN110035128B (zh) 一种直播调度方法、装置、直播系统及存储介质
WO2019042172A1 (zh) 资源配置方法及相关产品
CN109981778B (zh) 内容分发网络的服务实现方法、装置、设备及存储介质
CN115883572A (zh) 外设共享方法及装置
WO2022100202A1 (zh) 数据下载方法、装置、存储介质及电子设备
CN112491066B (zh) 负载均衡方法、装置、系统、目标负载均衡设备及介质

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: 21890732

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: 21890732

Country of ref document: EP

Kind code of ref document: A1