CN108632376B - A data processing method, terminal, server and computer storage medium - Google Patents
A data processing method, terminal, server and computer storage medium Download PDFInfo
- Publication number
- CN108632376B CN108632376B CN201810445069.3A CN201810445069A CN108632376B CN 108632376 B CN108632376 B CN 108632376B CN 201810445069 A CN201810445069 A CN 201810445069A CN 108632376 B CN108632376 B CN 108632376B
- Authority
- CN
- China
- Prior art keywords
- video data
- data
- dimensional video
- unit
- terminal
- 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.)
- Expired - Fee Related
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
- H04L67/1074—Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
- H04L67/1078—Resource delivery mechanisms
- H04L67/108—Resource delivery mechanisms characterised by resources being split in blocks or fragments
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Testing, Inspecting, Measuring Of Stereoscopic Televisions And Televisions (AREA)
Abstract
Description
技术领域technical field
本发明涉及数据处理技术,具体涉及一种数据处理方法、终端、服务器和计算机存储介质。The present invention relates to data processing technology, in particular to a data processing method, terminal, server and computer storage medium.
背景技术Background technique
随着移动通信网络的不断发展,移动通信网络的传输速率飞速提高,从而给三维视频业务的产生和发展提供了有力的技术支持。三维视频数据包括二维图像数据(例如RGB数据)和深度数据(Depth数据),而三维视频数据的传输是分别传输二维视频数据和深度数据。在三维视频数据的传输过程中出于各种原因(例如丢包)使得分别传输的二维视频数据和深度数据并非能一直保持对齐,从而使得接收端接收到的二维视频数据和深度数据在合成后会出现与原始数据不一致、图像重构错误、图像内容无法识别出等问题。With the continuous development of the mobile communication network, the transmission rate of the mobile communication network is rapidly increasing, thus providing strong technical support for the generation and development of the 3D video service. The three-dimensional video data includes two-dimensional image data (eg, RGB data) and depth data (Depth data), and the transmission of the three-dimensional video data is to transmit the two-dimensional video data and the depth data respectively. During the transmission of 3D video data, due to various reasons (such as packet loss), the respectively transmitted 2D video data and depth data cannot be kept aligned all the time, so that the 2D video data and depth data received by the receiver end in After synthesis, there will be problems such as inconsistency with the original data, image reconstruction errors, and unrecognized image content.
发明内容SUMMARY OF THE INVENTION
为解决现有存在的技术问题,本发明实施例提供一种数据处理方法、终端、服务器和计算机存储介质。In order to solve the existing technical problems, the embodiments of the present invention provide a data processing method, a terminal, a server and a computer storage medium.
为达到上述目的,本发明实施例的技术方案是这样实现的:In order to achieve the above-mentioned purpose, the technical scheme of the embodiment of the present invention is realized as follows:
本发明实施例提供了一种数据处理方法,应用于终端;所述方法包括:An embodiment of the present invention provides a data processing method, which is applied to a terminal; the method includes:
获得至少包括深度数据的三维视频数据;obtaining three-dimensional video data including at least depth data;
从所述三维视频数据中提取出与传输算法相关联的关键数据,按照所述传输算法发送所述关键数据。The key data associated with the transmission algorithm is extracted from the three-dimensional video data, and the key data is sent according to the transmission algorithm.
上述方案中,所述获得三维视频数据之后,所述方法还包括:In the above solution, after the three-dimensional video data is obtained, the method further includes:
确定第一配置信息;determining the first configuration information;
则所述从所述三维视频数据中提取出与传输算法相关联的关键数据,发送所述关键数据,包括:按照所述第一配置信息从所述三维视频数据中提取出与传输算法相关联的关键数据,按照所述传输算法发送所述关键数据。Then, extracting the key data associated with the transmission algorithm from the 3D video data and sending the key data includes: extracting the key data associated with the transmission algorithm from the 3D video data according to the first configuration information. The key data is sent according to the transmission algorithm.
上述方案中,所述获得三维视频数据之后,所述方法还包括:In the above solution, after the three-dimensional video data is obtained, the method further includes:
确定第二配置信息;determining the second configuration information;
则所述方法还包括:将所述三维视频数据进行分割,按照所述第二配置信息发送分割后的所述三维视频数据。Then the method further includes: dividing the 3D video data, and sending the divided 3D video data according to the second configuration information.
上述方案中,所述将所述三维视频数据进行分割,按照所述第二传输方式发送分割后的所述三维视频数据,包括:In the above solution, the dividing the 3D video data and sending the divided 3D video data according to the second transmission mode includes:
将所述三维视频数据分割为多个三维视频数据块,所述多个三维视频数据块中的每个三维视频数据块携带有标记信息;dividing the 3D video data into a plurality of 3D video data blocks, and each 3D video data block in the plurality of 3D video data blocks carries tag information;
分别发送所述多个三维视频数据块。The plurality of three-dimensional video data blocks are respectively sent.
上述方案中,所述三维视频数据包括二维视频数据和深度数据;所述将所述三维视频数据进行分割,按照所述第二传输方式发送分割后的所述三维视频数据,包括:In the above solution, the three-dimensional video data includes two-dimensional video data and depth data; the three-dimensional video data is divided, and the divided three-dimensional video data is sent according to the second transmission mode, including:
将所述二维视频数据分割为至少两个子二维视频数据,将所述深度数据分割为至少两个子深度数据;dividing the two-dimensional video data into at least two sub-two-dimensional video data, and dividing the depth data into at least two sub-depth data;
分别发送所述至少两个子二维视频数据和所述至少两个子深度数据。The at least two sub-2D video data and the at least two sub-depth data are respectively sent.
上述方案中,确定配置信息,包括:检测传输信道的第一参数;In the above solution, determining the configuration information includes: detecting the first parameter of the transmission channel;
基于所述第一参数查询预先配置的多组参数和配置信息的映射关系,获得与所述第一参数匹配的第一配置信息或第二配置信息。Based on the first parameter, the pre-configured mapping relationship between multiple groups of parameters and configuration information is queried, and first configuration information or second configuration information matching the first parameter is obtained.
上述方案中,所述获得至少包括深度数据的三维视频数据,包括:In the above solution, the obtaining of 3D video data including at least depth data includes:
所述终端从至少能够采集深度数据的采集组件获得三维视频数据;所述采集组件能够与至少一个终端建立通信链路以使对应终端获得所述三维视频数据。The terminal obtains three-dimensional video data from an acquisition component capable of at least acquiring depth data; the acquisition component can establish a communication link with at least one terminal to enable the corresponding terminal to acquire the three-dimensional video data.
本发明实施例还提供了一种数据处理方法,应用于移动边缘计算(MEC)服务器;所述方法包括:The embodiment of the present invention also provides a data processing method, which is applied to a mobile edge computing (MEC) server; the method includes:
接收与传输算法相关联的关键数据;receive key data associated with the transmission algorithm;
分析所述关键数据,获得分析结果;analyze the key data to obtain an analysis result;
基于所述分析结果将预先接收到的深度数据和二维视频数据合成为三维视频数据。The pre-received depth data and two-dimensional video data are synthesized into three-dimensional video data based on the analysis result.
上述方案中,所述分析所述关键数据,获得分析结果,包括:In the above scheme, the analysis of the key data to obtain the analysis result includes:
获得接收时间间隔内接收到的关键数据的变化量,判断所述关键数据的变化量是否超过预设阈值;或者,Obtain the variation of the key data received within the receiving time interval, and determine whether the variation of the key data exceeds a preset threshold; or,
分析接收时间间隔内接收到的关键数据是否连续;Analyze whether the key data received within the receiving time interval is continuous;
相应的,所述分析结果表明所述关键数据的稳定性未达到预设稳定性要求,包括:当所述关键数据的变化量超过预设阈值,或者接收时间间隔内接收到的关键数据不连续,表明所述关键数据的稳定性未达到预设稳定性要求。Correspondingly, the analysis result indicates that the stability of the key data does not meet the preset stability requirements, including: when the change of the key data exceeds a preset threshold, or the key data received within the receiving time interval is discontinuous. , indicating that the stability of the key data does not meet the preset stability requirements.
上述方案中,所述方法还包括:当所述分析结果表明所述关键数据的稳定性未达到预设稳定性要求时,确定所述关键数据对应的三维视频数据,丢弃所述三维视频数据。In the above solution, the method further includes: when the analysis result indicates that the stability of the key data does not meet a preset stability requirement, determining the 3D video data corresponding to the key data, and discarding the 3D video data.
上述方案中,所述方法还包括:分别接收分割后的三维视频数据,按预设算法将分割后的三维视频数据合并为三维视频数据。In the above solution, the method further includes: respectively receiving the divided 3D video data, and combining the divided 3D video data into 3D video data according to a preset algorithm.
上述方案中,所述分别接收分割后的三维视频数据,包括:分别接收多个三维视频数据块;所述多个三维视频数据块中的每个三维视频数据块携带有标记信息;In the above solution, the step of respectively receiving the divided 3D video data includes: respectively receiving a plurality of 3D video data blocks; each 3D video data block in the plurality of 3D video data blocks carries label information;
相应的,所述按预设算法将分割后的三维视频数据合并为三维视频数据,包括:按预设算法基于所述多个三维视频数据块中每个三维视频数据块携带有标记信息将所述多个三维视频数据块合并为三维视频数据。Correspondingly, merging the divided 3D video data into 3D video data according to a preset algorithm includes: according to a preset algorithm, based on that each 3D video data block in the plurality of 3D video data blocks carries tag information, merge the data into the 3D video data. The plurality of 3D video data blocks are combined into 3D video data.
上述方案中,所述分别接收分割后的三维视频数据,包括:分别接收至少两个子二维视频数据和至少两个子深度数据;In the above solution, receiving the divided 3D video data respectively includes: respectively receiving at least two sub-2D video data and at least two sub-depth data;
相应的,所述按预设算法将分割后的三维视频数据合并为三维视频数据,包括:按预设算法将所述至少两个子二维视频数据和至少两个子深度数据合并为三维视频数据。Correspondingly, merging the divided 3D video data into 3D video data according to a preset algorithm includes: merging the at least two sub-2D video data and the at least two sub-depth data into 3D video data according to a preset algorithm.
本发明实施例还提供了一种终端,所述终端包括:获取单元、提取单元和第一通信单元;其中,An embodiment of the present invention further provides a terminal, where the terminal includes: an acquisition unit, an extraction unit, and a first communication unit; wherein,
所述获取单元,用于获得至少包括深度数据的三维视频数据;The obtaining unit is used to obtain at least three-dimensional video data including depth data;
所述提取单元,用于从所述获取单元获得的所述三维视频数据中提取出与传输算法相关联的关键数据。The extracting unit is configured to extract key data associated with the transmission algorithm from the three-dimensional video data obtained by the acquiring unit.
所述第一通信单元,用于按照所述传输算法发送所述关键数据。The first communication unit is configured to send the key data according to the transmission algorithm.
上述方案中,所述终端还包括确定单元,用于确定第一配置信息;In the above solution, the terminal further includes a determining unit for determining the first configuration information;
所述提取单元,用于按照所述确定单元确定的所述第一配置信息从所述三维视频数据中提取出与传输算法相关联的关键数据;the extracting unit, configured to extract key data associated with the transmission algorithm from the 3D video data according to the first configuration information determined by the determining unit;
所述第一通信单元,用于按照所述传输算法发送所述关键数据。The first communication unit is configured to send the key data according to the transmission algorithm.
上述方案中,所述终端还包括确定单元和分割单元;其中,In the above solution, the terminal further includes a determining unit and a dividing unit; wherein,
所述确定单元,用于确定第二配置信息;the determining unit, configured to determine the second configuration information;
所述分割单元,用于将所述三维视频数据进行分割;the segmentation unit, configured to segment the 3D video data;
所述第一通信单元,用于按照所述确定单元确定的所述第二配置信息发送分割后的所述三维视频数据。The first communication unit is configured to send the divided three-dimensional video data according to the second configuration information determined by the determining unit.
上述方案中,所述分割单元,用于将所述三维视频数据分割为多个三维视频数据块,所述多个三维视频数据块中的每个三维视频数据块携带有标记信息;In the above solution, the dividing unit is used to divide the 3D video data into multiple 3D video data blocks, and each 3D video data block in the multiple 3D video data blocks carries label information;
所述第一通信单元,用于分别发送所述多个三维视频数据块。The first communication unit is configured to send the multiple 3D video data blocks respectively.
上述方案中,所述三维视频数据包括二维视频数据和深度数据;In the above scheme, the three-dimensional video data includes two-dimensional video data and depth data;
所述分割单元,用于将所述二维视频数据分割为至少两个子二维视频数据,将所述深度数据分割为至少两个子深度数据;the dividing unit, configured to divide the two-dimensional video data into at least two sub-two-dimensional video data, and divide the depth data into at least two sub-depth data;
所述第一通信单元,用于分别发送所述至少两个子二维视频数据和所述至少两个子深度数据。The first communication unit is configured to send the at least two sub-2D video data and the at least two sub-depth data respectively.
上述方案中,所述终端还包括检测单元,用于检测传输信道的第一参数;In the above solution, the terminal further includes a detection unit for detecting the first parameter of the transmission channel;
所述确定单元,用于基于所述检测单元获得的所述第一参数查询预先配置的多组参数和配置信息的映射关系,获得与所述第一参数匹配的第一配置信息或第二配置信息。The determining unit is configured to query the mapping relationship between multiple groups of parameters and configuration information preconfigured based on the first parameter obtained by the detection unit, and obtain first configuration information or second configuration matching the first parameter information.
上述方案中,所述第一通信单元,还用于从至少能够采集深度数据的采集组件获得三维视频数据;所述采集组件能够与至少一个终端建立通信链路以使对应终端获得所述三维视频数据。In the above solution, the first communication unit is further configured to obtain 3D video data from an acquisition component capable of at least acquiring depth data; the acquisition component can establish a communication link with at least one terminal so that the corresponding terminal can obtain the 3D video data.
本发明实施例还提供了一种MEC服务器,所述服务器包括:第二通信单元、分析处理单元和合并单元;其中,An embodiment of the present invention further provides an MEC server, where the server includes: a second communication unit, an analysis and processing unit, and a merging unit; wherein,
所述第二通信单元,用于接收与传输算法相关联的关键数据;the second communication unit for receiving key data associated with the transmission algorithm;
所述分析处理单元,用于分析所述第二通信单元接收的所述关键数据,获得分析结果;the analysis and processing unit, configured to analyze the key data received by the second communication unit to obtain an analysis result;
所述合并单元,用于基于所述分析处理单元获得的所述分析结果将预先接收到的深度数据和二维视频数据合成为三维视频数据。The combining unit is configured to combine the pre-received depth data and the two-dimensional video data into three-dimensional video data based on the analysis result obtained by the analysis and processing unit.
上述方案中,所述分析处理单元,用于获得接收时间间隔内接收到的关键数据的变化量,判断所述关键数据的变化量是否超过预设阈值;或者,分析接收时间间隔内接收到的关键数据是否连续;当所述关键数据的变化量超过预设阈值,或者接收时间间隔内接收到的关键数据不连续,表明所述关键数据的稳定性未达到预设稳定性要求。In the above solution, the analysis and processing unit is used to obtain the change amount of the key data received within the receiving time interval, and determine whether the change amount of the key data exceeds a preset threshold; or, analyze the received data within the receiving time interval. Whether the key data is continuous; when the variation of the key data exceeds a preset threshold, or the key data received within the receiving time interval is discontinuous, it indicates that the stability of the key data does not meet the preset stability requirements.
上述方案中,所述服务器还包括丢弃处理单元,用于当所述分析处理单元获得的分析结果表明所述关键数据的稳定性未达到预设稳定性要求时,确定所述关键数据对应的三维视频数据,丢弃所述三维视频数据。In the above solution, the server further includes a discarding processing unit, configured to determine the 3D corresponding to the key data when the analysis result obtained by the analysis processing unit indicates that the stability of the key data does not meet the preset stability requirement. video data, discarding the 3D video data.
上述方案中,所述第二通信单元,还用于分别接收分割后的三维视频数据;In the above solution, the second communication unit is further configured to respectively receive the divided 3D video data;
所述合并单元,用于按预设算法将所述第二通信单元接收的所述分割后的三维视频数据合并为三维视频数据。The combining unit is configured to combine the divided 3D video data received by the second communication unit into 3D video data according to a preset algorithm.
上述方案中,所述第二通信单元,用于分别接收多个三维视频数据块;所述多个三维视频数据块中的每个三维视频数据块携带有标记信息;In the above solution, the second communication unit is configured to respectively receive a plurality of 3D video data blocks; each 3D video data block in the plurality of 3D video data blocks carries label information;
所述合并单元,用于按预设算法基于所述多个三维视频数据块中每个三维视频数据块携带有标记信息将所述多个三维视频数据块合并为三维视频数据。The merging unit is configured to merge the plurality of 3D video data blocks into 3D video data according to a preset algorithm based on the flag information carried by each 3D video data block in the plurality of 3D video data blocks.
上述方案中,所述第二通信单元,用于分别接收至少两个子二维视频数据和至少两个子深度数据;In the above solution, the second communication unit is configured to receive at least two sub-2D video data and at least two sub-depth data respectively;
所述合并单元,用于按预设算法将所述至少两个子二维视频数据和至少两个子深度数据合并为三维视频数据。The combining unit is configured to combine the at least two sub-2D video data and the at least two sub-depth data into three-dimensional video data according to a preset algorithm.
本发明实施例还提供了一种计算机存储介质,其上存储有计算机指令,该指令被处理器执行时实现本发明实施例所述的应用于终端的数据处理方法的步骤;或者,该指令被处理器执行时实现本发明实施例所述的应用于MEC服务器的数据处理方法的步骤。The embodiments of the present invention further provide a computer storage medium, which stores computer instructions, and when the instructions are executed by the processor, implements the steps of the data processing method applied to the terminal described in the embodiments of the present invention; or, the instructions are When executed by the processor, the steps of the data processing method applied to the MEC server according to the embodiment of the present invention are implemented.
本发明实施例还提供了一种终端,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现本发明实施例所述的应用于终端的数据处理方法的步骤。An embodiment of the present invention further provides a terminal, including a memory, a processor, and a computer program stored in the memory and running on the processor, where the processor implements the application described in the embodiment of the present invention when the processor executes the program The steps of the data processing method for the terminal.
本发明实施例还提供了一种MEC服务器,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,所述处理器执行所述程序时实现本发明实施例所述的应用于MEC服务器的数据处理方法的步骤。An embodiment of the present invention further provides an MEC server, including a memory, a processor, and a computer program stored in the memory and running on the processor, where the processor implements the method described in the embodiments of the present invention when the processor executes the program. Steps of the data processing method applied to the MEC server.
本发明实施例提供的数据处理方法、终端、服务器和计算机存储介质,应用于终端的方法包括:获得至少包括深度数据的三维视频数据;从所述三维视频数据中提取出与传输算法相关联的关键数据,按照所述传输算法发送所述关键数据。应用于服务器的方法包括:接收与传输算法相关联的关键数据;分析所述关键数据,获得分析结果;基于所述分析结果将预先接收到的深度数据和二维视频数据合成为三维视频数据。采用本发明实施例的技术方案,通过在终端发送与传输算法相关联的关键数据,使得服务器根据该关键数据进行分析处理,基于分析结果采用特定处理方式对二维视频数据和深度数据进行合成,避免三维视频数据在传输过程中由于传输异常或数据丢失导致图像重构错误、图像内容无法识别等问题,在一定程度上也通过避免数据重传提高了数据传输效率,提升了服务质量,也大大提升了用户体验。The data processing method, terminal, server, and computer storage medium provided by the embodiments of the present invention, the method applied to the terminal includes: obtaining three-dimensional video data including at least depth data; The key data is sent according to the transmission algorithm. The method applied to the server includes: receiving key data associated with a transmission algorithm; analyzing the key data to obtain an analysis result; and synthesizing pre-received depth data and two-dimensional video data into three-dimensional video data based on the analysis result. By adopting the technical solution of the embodiment of the present invention, the terminal sends the key data associated with the transmission algorithm, so that the server performs analysis and processing according to the key data, and uses a specific processing method to synthesize the two-dimensional video data and the depth data based on the analysis result, It avoids problems such as image reconstruction errors and unrecognizable image content due to abnormal transmission or data loss during the transmission process of 3D video data. To a certain extent, it also improves data transmission efficiency and service quality by avoiding data retransmission. Improved user experience.
附图说明Description of drawings
图1为本发明实施例的数据处理方法应用的系统架构示意图;1 is a schematic diagram of a system architecture to which a data processing method according to an embodiment of the present invention is applied;
图2为本发明实施例的数据处理方法的一种流程示意图;2 is a schematic flowchart of a data processing method according to an embodiment of the present invention;
图3为本发明实施例的数据处理方法的另一种流程示意图;3 is another schematic flowchart of a data processing method according to an embodiment of the present invention;
图4为本发明实施例的终端的一种组成结构示意图;FIG. 4 is a schematic diagram of a composition structure of a terminal according to an embodiment of the present invention;
图5为本发明实施例的终端的另一种组成结构示意图;5 is a schematic diagram of another composition structure of a terminal according to an embodiment of the present invention;
图6为本发明实施例的终端的又一种组成结构示意图;6 is a schematic diagram of another composition structure of a terminal according to an embodiment of the present invention;
图7为本发明实施例的服务器的一种组成结构示意图;7 is a schematic diagram of a composition structure of a server according to an embodiment of the present invention;
图8为本发明实施例的服务器的另一种组成结构示意图;FIG. 8 is a schematic diagram of another composition structure of a server according to an embodiment of the present invention;
图9为本发明实施例的数据处理设备的硬件组成结构示意图。FIG. 9 is a schematic structural diagram of a hardware composition of a data processing device according to an embodiment of the present invention.
具体实施方式Detailed ways
在对本发明实施例的技术方案进行详细说明之前,首先对本发明实施例的数据处理方法应用的系统架构进行简单说明。本发明实施例的数据处理方法应用于三维视频数据的相关业务,该业务例如是三维视频数据分享的业务,或者基于三维视频数据的直播业务等等。在这种情况下,由于三维视频数据的数据量较大,分别传输的深度数据和二维视频数据在数据传输过程中需要较高的技术支持,因此需要移动通信网络具有较快的数据传输速率,以及较稳定的数据传输环境。Before the technical solutions of the embodiments of the present invention are described in detail, the system architecture to which the data processing methods of the embodiments of the present invention are applied is briefly described first. The data processing method of the embodiment of the present invention is applied to a service related to 3D video data, such as a service of sharing 3D video data, or a live broadcast service based on 3D video data, and the like. In this case, due to the large amount of 3D video data, the depth data and 2D video data transmitted respectively require high technical support in the data transmission process, so the mobile communication network needs to have a faster data transmission rate , and a more stable data transmission environment.
图1为本发明实施例的数据处理方法应用的系统架构示意图;如图1所示,系统可包括终端、基站、移动边缘计算(MEC,Mobile Edge Computing)服务器、业务处理服务器、核心网和互联网(Internet)等;MEC服务器与业务处理服务器之间通过核心网建立高速通道以实现数据同步。1 is a schematic diagram of a system architecture of an application of a data processing method according to an embodiment of the present invention; as shown in FIG. 1 , the system may include a terminal, a base station, a Mobile Edge Computing (MEC, Mobile Edge Computing) server, a service processing server, a core network, and the Internet (Internet), etc.; establish a high-speed channel between the MEC server and the business processing server through the core network to achieve data synchronization.
以图1所示的两个终端交互的应用场景为例,MEC服务器A为部署于靠近终端A(发送端)的MEC服务器,核心网A为终端A所在区域的核心网;相应的,MEC服务器B为部署于靠近终端B(接收端)的MEC服务器,核心网B为终端B所在区域的核心网;MEC服务器A和MEC服务器B可与业务处理服务器之间分别通过核心网A和核心网B建立高速通道以实现数据同步。Taking the application scenario of the interaction between two terminals shown in Figure 1 as an example, the MEC server A is the MEC server deployed near the terminal A (sender), and the core network A is the core network in the area where the terminal A is located; correspondingly, the MEC server B is the MEC server deployed near the terminal B (receiving end), and the core network B is the core network in the area where the terminal B is located; Establish high-speed channels for data synchronization.
其中,终端A发送的三维视频数据传输到MEC服务器A后,由MEC服务器A通过核心网A将数据同步至业务处理服务器;再由MEC服务器B从业务处理服务器获取终端A发送的三维视频数据,并发送至终端B进行呈现。Wherein, after the 3D video data sent by terminal A is transmitted to MEC server A, MEC server A synchronizes the data to the service processing server through core network A; and then MEC server B obtains the 3D video data sent by terminal A from the service processing server, and sent to terminal B for presentation.
这里,如果终端B与终端A通过同一个MEC服务器来实现传输,此时终端B和终端A直接通过一个MEC服务器实现三维视频数据的传输,不需要业务处理服务器的参与,这种方式称为本地回传方式。具体地,假设终端B与终端A通过MEC服务器A实现三维视频数据的传输,终端A发送的三维视频数据传输到MEC服务器A后,由MEC服务器A发送三维视频数据至终端B进行呈现。Here, if terminal B and terminal A realize transmission through the same MEC server, then terminal B and terminal A directly realize the transmission of 3D video data through an MEC server without the participation of the service processing server. This method is called local return method. Specifically, it is assumed that terminal B and terminal A transmit 3D video data through MEC server A. After the 3D video data sent by terminal A is transmitted to MEC server A, MEC server A sends the 3D video data to terminal B for presentation.
这里,终端可基于网络情况、或者终端自身的配置情况、或者自身配置的算法选择接入4G网络的演进型基站(eNB),或者接入5G网络的下一代演进型基站(gNB),从而使得eNB通过长期演进(LTE,Long Term Evolution)接入网与MEC服务器连接,使得gNB通过下一代接入网(NG-RAN)与MEC服务器连接。Here, the terminal may select an evolved base station (eNB) to access the 4G network, or a next-generation evolved base station (gNB) to access the 5G network based on the network conditions, or the configuration of the terminal itself, or an algorithm configured by itself, so that the The eNB is connected to the MEC server through a Long Term Evolution (LTE, Long Term Evolution) access network, so that the gNB is connected to the MEC server through a Next Generation Access Network (NG-RAN).
这里,MEC服务器部署于靠近终端或数据源头的网络边缘侧,所谓靠近终端或者靠近数据源头,不仅是逻辑位置上,还在地理位置上靠近终端或者靠近数据源头。区别于现有的移动通信网络中主要的业务处理服务器部署于几个大城市中,MEC服务器可在一个城市中部署多个。例如在某写字楼中,用户较多,则可在该写字楼附近部署一个MEC服务器。Here, the MEC server is deployed on the edge of the network close to the terminal or data source. The so-called close to the terminal or close to the data source is not only logically located, but also geographically close to the terminal or close to the data source. Different from the existing mobile communication network where the main service processing servers are deployed in several large cities, multiple MEC servers can be deployed in one city. For example, in an office building with many users, an MEC server can be deployed near the office building.
其中,MEC服务器作为具有融合网络、计算、存储、应用核心能力的边缘计算网关,为边缘计算提供包括设备域、网络域、数据域和应用域的平台支撑。其联接各类智能设备和传感器,就近提供智能联接和数据处理业务,让不同类型的应用和数据在MEC服务器中进行处理,实现业务实时、业务智能、数据聚合与互操作、安全与隐私保护等关键智能服务,有效提升业务的智能决策效率。Among them, the MEC server, as an edge computing gateway with core capabilities of integrating network, computing, storage and application, provides platform support for edge computing including device domain, network domain, data domain and application domain. It connects various smart devices and sensors, provides smart connection and data processing services nearby, and allows different types of applications and data to be processed in the MEC server to achieve real-time business, business intelligence, data aggregation and interoperability, security and privacy protection, etc. Key intelligent services can effectively improve the efficiency of intelligent business decision-making.
下面结合附图及具体实施例对本发明作进一步详细的说明。The present invention will be described in further detail below with reference to the accompanying drawings and specific embodiments.
本发明实施例提供了一种数据处理方法,应用于终端中,终端可以是例如手机、平板电脑等移动终端,也可以是电脑等类型的终端。图2为本发明实施例的数据处理方法的一种流程示意图;如图2所示,所述方法包括:An embodiment of the present invention provides a data processing method, which is applied to a terminal, and the terminal may be a mobile terminal such as a mobile phone and a tablet computer, or a terminal of a type such as a computer. FIG. 2 is a schematic flowchart of a data processing method according to an embodiment of the present invention; as shown in FIG. 2 , the method includes:
步骤101:获得至少包括深度数据的三维视频数据。Step 101: Obtain three-dimensional video data including at least depth data.
步骤102:从所述三维视频数据中提取出与传输算法相关联的关键数据,按照所述传输算法发送所述关键数据。Step 102: Extract key data associated with a transmission algorithm from the 3D video data, and send the key data according to the transmission algorithm.
本实施例中,作为一种实施方式,所述获得三维视频数据,包括:所述终端从至少能够采集深度数据的采集组件获得三维视频数据;所述采集组件能够与至少一个终端建立通信链路以使对应终端获得所述三维视频数据。In this embodiment, as an implementation manner, the obtaining of 3D video data includes: the terminal obtains 3D video data from a collection component capable of collecting at least depth data; the collection component can establish a communication link with at least one terminal so that the corresponding terminal obtains the three-dimensional video data.
具体的,本实施方式中,由于能够采集深度数据的采集组件相对比较昂贵,终端并不具备三维视频数据的采集功能,而是通过独立于终端的采集组件采集三维视频数据,再通过采集组件和终端中的通信组件建立通信链路,使得终端获得采集组件采集的三维视频数据。其中,所述采集组件具体可通过以下至少之一实现:深度摄像头、双目摄像头、3D结构光摄像模组、飞行时间(TOF,Time Of Flight)摄像模组。Specifically, in this embodiment, since the acquisition component capable of collecting depth data is relatively expensive, the terminal does not have the acquisition function of 3D video data, but collects 3D video data through the acquisition component independent of the terminal, and then collects the 3D video data through the acquisition component and The communication component in the terminal establishes a communication link, so that the terminal obtains the three-dimensional video data collected by the collecting component. Wherein, the acquisition component can be specifically implemented by at least one of the following: a depth camera, a binocular camera, a 3D structured light camera module, and a Time Of Flight (TOF, Time Of Flight) camera module.
这里,采集组件能够与至少一个终端建立通信链路以将采集得到的三维视频数据传输至所述至少一个终端,以使对应终端获得三维视频数据,这样能够实现一个采集组件采集的三维视频数据共享给至少一个终端,从而实现采集组件的共享。Here, the collection component can establish a communication link with at least one terminal to transmit the collected 3D video data to the at least one terminal, so that the corresponding terminal can obtain the 3D video data, so that the 3D video data collected by one collection component can be shared. To at least one terminal, so as to realize the sharing of acquisition components.
作为另一种实施方式,终端自身具备三维视频数据的采集功能,可以理解,终端设置有至少能够采集深度数据的采集组件,例如设置有以下组件至少之一:深度摄像头、双目摄像头、3D结构光摄像模组、TOF摄像模组,以采集三维视频数据。As another embodiment, the terminal itself has the function of collecting 3D video data. It can be understood that the terminal is provided with a collection component capable of collecting depth data at least, for example, at least one of the following components is provided: a depth camera, a binocular camera, a 3D structure Optical camera module and TOF camera module to collect 3D video data.
其中,获得的三维视频数据包括二维视频数据和深度数据;所述二维视频数据用于表征平面图像,例如可以是RGB数据;深度数据表征采集组件所针对的采集对象的表面与采集组件之间的距离。Wherein, the obtained three-dimensional video data includes two-dimensional video data and depth data; the two-dimensional video data is used to represent a plane image, such as RGB data; distance between.
本实施例中,终端从所述三维视频数据中提取出与传输算法相关联的关键数据,具体可包括:终端按照预设发送间隔从所述三维视频数据中提取出与传输算法相关联的关键数据,以及按照所述预设发送间隔采用所述传输算法发送所述关键数据。In this embodiment, the terminal extracts the key data associated with the transmission algorithm from the 3D video data, which may specifically include: the terminal extracts the key data associated with the transmission algorithm from the 3D video data according to a preset sending interval data, and use the transmission algorithm to send the key data according to the preset sending interval.
这里,关键数据是与传输算法相关联的数据;在采用该传输算法传输数据的过程中,关键数据的稳定性通常是未达到预设稳定性需求的。可以理解,关键数据在采用该传输算法传输的过程中是容易发生错误的,也即关键数据为敏感数据、稳定性不佳的数据。例如,在采用H.265编码标准传输数据的过程中,深度数据发生错误的概率较高,也即深度数据的稳定性未达到预设稳定性需求。再例如,在采用一种编码标准传输数据过程中,二维视频数据发生错误的概率较高,则二维视频数据可作为关键数据。又例如,在采用另一种编码标准传输过程中,时间轴数据发生错误的概率较高,则时间轴数据可作为关键数据。Here, the key data is the data associated with the transmission algorithm; in the process of using the transmission algorithm to transmit data, the stability of the key data usually does not meet the preset stability requirement. It can be understood that the key data is prone to errors in the process of transmission using this transmission algorithm, that is, the key data is sensitive data and data with poor stability. For example, in the process of data transmission using the H.265 coding standard, the probability of error in the depth data is high, that is, the stability of the depth data does not meet the preset stability requirement. For another example, in the process of using a coding standard to transmit data, the probability of errors occurring in the two-dimensional video data is relatively high, and the two-dimensional video data can be used as key data. For another example, in the transmission process using another coding standard, the probability of error in the time axis data is relatively high, and the time axis data can be used as the key data.
其中,所述关键数据还可以是在采用该传输算法传输的过程中稳定性未达到预设稳定性需求的数据的变化量。若深度数据的稳定性未达到预设稳定性需求,则关键数据可以是相邻两个深度数据的变化量。Wherein, the key data may also be the change amount of the data whose stability does not meet the preset stability requirement during the transmission process using the transmission algorithm. If the stability of the depth data does not meet the preset stability requirement, the key data may be the variation of two adjacent depth data.
在一实施例中,所述方法还包括:按照所述传输算法发送所述三维视频数据。可以理解为,终端除了发送关键数据以外,还需要发送获得的三维视频数据。In an embodiment, the method further comprises: sending the 3D video data according to the transmission algorithm. It can be understood that in addition to sending key data, the terminal also needs to send the obtained 3D video data.
在一实施例中,所述获得三维视频数据之后,所述方法还包括:确定第一配置信息;则所述从所述三维视频数据中提取出与传输算法相关联的关键数据,发送所述关键数据,包括:按照所述第一配置信息从所述三维视频数据中提取出与传输算法相关联的关键数据,按照所述传输算法发送所述关键数据。In one embodiment, after obtaining the 3D video data, the method further includes: determining first configuration information; then extracting key data associated with the transmission algorithm from the 3D video data, and sending the The key data includes: extracting key data associated with a transmission algorithm from the 3D video data according to the first configuration information, and sending the key data according to the transmission algorithm.
在另一实施例中,所述获得三维视频数据之后,所述方法还包括:确定第二配置信息;则所述方法还包括:将所述三维视频数据进行分割,按照所述第二配置信息发送分割后的所述三维视频数据。In another embodiment, after obtaining the 3D video data, the method further includes: determining second configuration information; then the method further includes: dividing the 3D video data, according to the second configuration information The divided three-dimensional video data is sent.
具体的,本实施例中,至少具有两种配置方式,每种配置方式对应相应的数据传输内容及方式。例如第一种配置方式用于指示发送关键数据,第二种配置方式用于指示发送全部数据、但采用本实施例中的分割数据的方式发送分割后的数据,以减少每次数据传输的数据量。其中,两种配置方式可通过第一配置信息和第二配置信息实现,则确定第一配置信息后,确定选择第一种配置方式;相应的,确定第二配置信息后,确定选择第二种配置方式。Specifically, in this embodiment, there are at least two configuration modes, and each configuration mode corresponds to corresponding data transmission content and mode. For example, the first configuration mode is used to instruct the sending of key data, and the second configuration mode is used to instruct the transmission of all data, but the divided data is sent by the method of dividing the data in this embodiment, so as to reduce the data of each data transmission quantity. The two configuration modes can be implemented by the first configuration information and the second configuration information. After the first configuration information is determined, the first configuration mode is determined to be selected; correspondingly, after the second configuration information is determined, the second configuration mode is determined to be selected. configuration method.
本实施例中,作为一种实施方式,确定配置信息,包括:检测传输信道的第一参数;基于所述第一参数查询预先配置的多组参数和配置信息的映射关系,获得与所述第一参数匹配的第一配置信息或第二配置信息。In this embodiment, as an implementation manner, determining the configuration information includes: detecting the first parameter of the transmission channel; querying the mapping relationship between the pre-configured groups of parameters and the configuration information based on the first parameter, and obtaining the mapping relationship with the first parameter. A parameter matches the first configuration information or the second configuration information.
具体的,终端中预先配置多组参数和配置信息的映射关系;其中,参数可表示传输信道的参数,例如可包括带宽大小;可以理解,参数可表征当前的网络环境。则本实施例中基于检测到的参数对配置信息进行自适应选择,在网络环境较好时选择第一配置信息;在网络环境较差时选择第二配置信息,减少每次发送的数据量。Specifically, the terminal is pre-configured with multiple sets of parameters and the mapping relationship of the configuration information; wherein the parameters may represent parameters of the transmission channel, for example, may include bandwidth; it can be understood that the parameters may represent the current network environment. In this embodiment, the configuration information is adaptively selected based on the detected parameters, and the first configuration information is selected when the network environment is good; the second configuration information is selected when the network environment is poor to reduce the amount of data sent each time.
作为另一种实施方式,可通过人工配置的方式确定配置信息,例如采用人工配置的方式选择第一配置信息或第二配置信息进行数据处理。As another implementation manner, the configuration information may be determined by manual configuration, for example, the first configuration information or the second configuration information is selected by manual configuration for data processing.
本实施例中,在确定第二配置信息后,作为一种实施方式,所述将所述三维视频数据进行分割,按照所述第二传输方式发送分割后的所述三维视频数据,包括:将所述三维视频数据分割为多个三维视频数据块,所述多个三维视频数据块中的每个三维视频数据块携带有标记信息;分别发送所述多个三维视频数据块。In this embodiment, after the second configuration information is determined, as an implementation manner, the dividing the 3D video data and sending the divided 3D video data according to the second transmission mode includes: dividing the 3D video data into The 3D video data is divided into a plurality of 3D video data blocks, and each 3D video data block in the plurality of 3D video data blocks carries label information; the plurality of 3D video data blocks are sent respectively.
具体的,可将每个三维视频数据分割为多个三维视频数据块,例如分割为N*N个三维视频数据块,每个三维视频数据块对应携带有标记,该标记用于表示每个三维视频数据块所在的位置,便于后续的合并处理。进一步地,分别发送多个三维视频数据块,例如在T0时刻发送第一个三维视频数据块,在T1时刻发送第二个三维视频数据块,以此类推。Specifically, each 3D video data can be divided into a plurality of 3D video data blocks, for example, divided into N*N 3D video data blocks, each 3D video data block carries a corresponding mark, and the mark is used to represent each 3D video data block. The location of the video data block is convenient for subsequent merging processing. Further, multiple 3D video data blocks are respectively sent, for example, the first 3D video data block is sent at time T0, the second 3D video data block is sent at time T1, and so on.
作为另一种实施方式,所述三维视频数据包括二维视频数据和深度数据;所述将所述三维视频数据进行分割,按照所述第二传输方式发送分割后的所述三维视频数据,包括:将所述二维视频数据分割为至少两个子二维视频数据,将所述深度数据分割为至少两个子深度数据;分别发送所述至少两个子二维视频数据和所述至少两个子深度数据。As another implementation manner, the 3D video data includes 2D video data and depth data; the dividing the 3D video data, and sending the divided 3D video data according to the second transmission mode, including : dividing the two-dimensional video data into at least two sub-two-dimensional video data, dividing the depth data into at least two sub-depth data; respectively sending the at least two sub-two-dimensional video data and the at least two sub-depth data .
具体的,可将三维视频数据包括的二维视频数据和深度数据分别分割为至少两个子二维视频数据和至少两个子深度数据。以将二维视频数据和深度数据分别分割为两个子二维视频数据为例,分割的方式可采用上下分割或左右分割的方式,但不限于上述两种分割方式。以上下分割方式为例,则将二维视频数据和深度数据平均分割为上下两个部分的数据,左右分割方式类似,这里不再赘述。进一步地,分别发送至少两个子二维视频数据和至少两个子深度数据。例如,以将二维视频数据和深度数据分别分割为两个子二维视频数据和两个深度子数据为例,在T0时刻,发送第一个二维视频子数据,在T1时刻,发送第二个二维视频子数据,在T2时刻,发送第一个子深度数据,在T3时刻,发送第二个子深度数据。Specifically, the two-dimensional video data and depth data included in the three-dimensional video data may be divided into at least two sub-two-dimensional video data and at least two sub-depth data, respectively. Taking dividing the 2D video data and the depth data into two sub-2D video data as an example, the division method can be up-down division or left-right division, but is not limited to the above two division methods. Taking the upper and lower segmentation methods as an example, the two-dimensional video data and the depth data are equally divided into upper and lower parts of data, and the left and right segmentation methods are similar, which will not be repeated here. Further, at least two sub-two-dimensional video data and at least two sub-depth data are respectively sent. For example, taking the two-dimensional video data and depth data as an example of dividing the two-dimensional video data and depth data into two sub-two-dimensional video data and two depth sub-data respectively, at time T0, the first two-dimensional video sub-data is sent, and at time T1, the second two-dimensional video data is sent. Two-dimensional video sub-data, the first sub-depth data is sent at time T2, and the second sub-depth data is sent at time T3.
采用本发明实施例的技术方案,通过在终端发送与传输算法相关联的关键数据,使得服务器根据该关键数据进行分析处理,基于分析结果采用特定处理方式对二维视频数据和深度数据进行合成,避免三维视频数据在传输过程中由于传输异常或数据丢失导致图像重构错误、图像内容无法识别等问题,在一定程度上也通过避免数据重传提高了数据传输效率,提升了服务质量,也大大提升了用户体验。By adopting the technical solution of the embodiment of the present invention, the terminal sends the key data associated with the transmission algorithm, so that the server performs analysis and processing according to the key data, and uses a specific processing method to synthesize the two-dimensional video data and the depth data based on the analysis result, It avoids problems such as image reconstruction errors and unrecognizable image content due to abnormal transmission or data loss during the transmission process of 3D video data. To a certain extent, it also improves data transmission efficiency and service quality by avoiding data retransmission. Improved user experience.
对应地,本发明实施例还提供了一种数据处理方法,应用于服务器,该服务器具体为图1中所示的MEC服务器。图3为本发明实施例二的数据处理方法的流程示意图;如图3所示,所述方法包括:Correspondingly, an embodiment of the present invention further provides a data processing method, which is applied to a server, and the server is specifically the MEC server shown in FIG. 1 . FIG. 3 is a schematic flowchart of a data processing method according to Embodiment 2 of the present invention; as shown in FIG. 3 , the method includes:
步骤201:接收与传输算法相关联的关键数据。Step 201: Receive key data associated with the transmission algorithm.
步骤202:分析所述关键数据,获得分析结果。Step 202: Analyze the key data to obtain an analysis result.
步骤203:基于所述分析结果将预先接收到的深度数据和二维视频数据合成为三维视频数据。Step 203: Synthesize the pre-received depth data and the two-dimensional video data into three-dimensional video data based on the analysis result.
本实施例中,关键数据是与传输算法相关联的数据;在采用该传输算法传输数据的过程中,关键数据的稳定性通常是未达到预设稳定性需求的。可以理解,关键数据在采用该传输算法传输的过程中是容易发生错误的,也即关键数据为敏感数据、稳定性不佳的数据。例如,在采用H.265编码标准传输数据的过程中,深度数据发生错误的概率较高,也即深度数据的稳定性未达到预设稳定性需求。再例如,在采用一种编码标准传输数据过程中,二维视频数据发生错误的概率较高,则二维视频数据可作为关键数据。又例如,在采用另一种编码标准传输过程中,时间轴数据发生错误的概率较高,则时间轴数据可作为关键数据。In this embodiment, the key data is the data associated with the transmission algorithm; in the process of using the transmission algorithm to transmit data, the stability of the key data usually does not meet the preset stability requirement. It can be understood that the key data is prone to errors in the process of transmission using this transmission algorithm, that is, the key data is sensitive data and data with poor stability. For example, in the process of data transmission using the H.265 coding standard, the probability of error in the depth data is high, that is, the stability of the depth data does not meet the preset stability requirement. For another example, in the process of using a coding standard to transmit data, the probability of errors occurring in the two-dimensional video data is relatively high, and the two-dimensional video data can be used as key data. For another example, in the transmission process using another coding standard, the probability of error in the time axis data is relatively high, and the time axis data can be used as the key data.
其中,所述关键数据还可以是在采用该传输算法传输的过程中稳定性未达到预设稳定性需求的数据的变化量。若深度数据的稳定性未达到预设稳定性需求,则关键数据可以是相邻两个深度数据的变化量。Wherein, the key data may also be the change amount of the data whose stability does not meet the preset stability requirement during the transmission process using the transmission algorithm. If the stability of the depth data does not meet the preset stability requirement, the key data may be the variation of two adjacent depth data.
本实施例中,所述分析所述关键数据,获得分析结果,包括:获得接收时间间隔内接收到的关键数据的变化量,判断所述关键数据的变化量是否超过预设阈值;或者,分析接收时间间隔内接收到的关键数据是否连续;In this embodiment, the analyzing the key data to obtain the analysis result includes: obtaining the change amount of the key data received within the receiving time interval, and judging whether the change amount of the key data exceeds a preset threshold; or, analyzing Whether the key data received within the receiving time interval is continuous;
相应的,所述分析结果表明所述关键数据的稳定性未达到预设稳定性要求,包括:当所述关键数据的变化量超过预设阈值,或者接收时间间隔内接收到的关键数据不连续,表明所述关键数据的稳定性未达到预设稳定性要求。Correspondingly, the analysis result indicates that the stability of the key data does not meet the preset stability requirements, including: when the change of the key data exceeds a preset threshold, or the key data received within the receiving time interval is discontinuous. , indicating that the stability of the key data does not meet the preset stability requirements.
具体的,以关键数据为深度数据为例,服务器分析相邻两个深度数据的变化量,或者分析一个接收间隔接收到的深度数据的变化;基于分析获得的变化量是否超过预设阈值判定在后的深度数据是否出现异常;若变化量超过预设阈值,可判定在后的深度数据出现异常;或者基于分析获得的一个接收间隔内的深度数据的变化是否满足特定规律从而判定该接收间隔内的至少部分深度数据是否出现异常。Specifically, taking the key data as the depth data as an example, the server analyzes the change of two adjacent depth data, or analyzes the change of the depth data received in one receiving interval; Whether the subsequent depth data is abnormal; if the change exceeds the preset threshold, it can be determined that the subsequent depth data is abnormal; or whether the change of the depth data in a receiving interval obtained by analysis satisfies a specific law to determine the receiving interval. Whether at least some of the depth data of .
或者,服务器分析接收时间间隔内接收到的关键数据是否连续,所谓是否连续,表示在接收时间间隔内接收的关键数据是否有缺失,例如T0时刻接收到关键数据,T1时刻未接收到关键数据,T2时刻接收到关键数据,这种情况则表明接收到的关键数据不连续。服务器分析确定接收时间间隔内接收到的关键数据不连续,或者确定接收时间间隔内不连续的关键数据的数量超过预设阈值,可表明所述关键数据的稳定性未达到预设稳定性要求。Or, the server analyzes whether the key data received within the receiving time interval is continuous. The so-called continuity indicates whether the key data received during the receiving time interval is missing. For example, key data is received at T0 time, but key data is not received at T1 time. Key data is received at time T2, which indicates that the received key data is discontinuous. The server analyzes and determines that the received key data is discontinuous within the receiving time interval, or determines that the number of discontinuous key data within the receiving time interval exceeds a preset threshold, which may indicate that the stability of the key data does not meet the preset stability requirement.
本实施例中,服务器基于针对关键数据的分析结果采用特定的处理方式对预先接收到的深度数据和二维视频数据进行合成处理,合成三维视频数据。In this embodiment, the server performs synthesis processing on the pre-received depth data and the 2D video data by using a specific processing method based on the analysis result of the key data, and synthesizes the 3D video data.
作为一种实施方式,所述方法还包括:当所述分析结果表明所述关键数据的稳定性未达到预设稳定性要求时,确定所述关键数据对应的三维视频数据,丢弃所述三维视频数据。As an embodiment, the method further includes: when the analysis result indicates that the stability of the key data does not meet a preset stability requirement, determining the 3D video data corresponding to the key data, and discarding the 3D video data.
本实施例中,在分析结果表明所述关键数据的稳定性未达到预设稳定性要求时,确定所述关键数据对应的三维视频数据,例如,若T0时刻-T1时刻对应的关键数据的稳定性未达到预设稳定性要求,则丢弃T0时刻-T1时刻对应的三维视频数据。In this embodiment, when the analysis result indicates that the stability of the key data does not meet the preset stability requirement, the 3D video data corresponding to the key data is determined. For example, if the stability of the key data corresponding to the time T0-T1 is stable If the stability does not meet the preset stability requirement, the 3D video data corresponding to time T0-T1 is discarded.
其中,三维视频数据由服务器预先从终端处获得,则在一实施例中,所述方法还包括:服务器接收到三维视频数据。Wherein, the three-dimensional video data is obtained by the server from the terminal in advance, and in an embodiment, the method further includes: the server receives the three-dimensional video data.
本实施方式中,服务器可采用预设卷积算法对待合并处理的深度数据和二维图像数据进行处理,从而实现图像质量的优化。尤其在深度数据在传输过程中部分丢失的情况下,采用预设卷积算法能够起到平滑数据的作用。当然,在其他实施方式中,还可采用插值拟合等方式对缺失帧数据的三维图像数据进行平滑处理。In this embodiment, the server may use a preset convolution algorithm to process the depth data and the two-dimensional image data to be combined, so as to optimize the image quality. Especially in the case where the depth data is partially lost during transmission, the preset convolution algorithm can play a role in smoothing the data. Of course, in other embodiments, interpolation fitting and other methods may also be used to smooth the three-dimensional image data of the missing frame data.
基于前述实施例所述,终端至少具有两种配置方式,每种配置方式对应相应的数据传输内容及方式。例如第一种配置方式用于指示发送关键数据,第二种配置方式用于指示发送全部数据、但采用本实施例中的分割数据的方式发送分割后的数据,以减少每次数据传输的数据量。则本实施例上述技术方案针对终端采用第一配置信息进行数据处理及传输。Based on the foregoing embodiments, the terminal has at least two configuration modes, and each configuration mode corresponds to corresponding data transmission content and mode. For example, the first configuration mode is used to instruct the sending of key data, and the second configuration mode is used to instruct the transmission of all data, but the divided data is sent by the method of dividing the data in this embodiment, so as to reduce the data of each data transmission quantity. Then, the above technical solution in this embodiment uses the first configuration information for data processing and transmission for the terminal.
相应的,在一实施例中,在终端采用第二配置信息进行数据处理及传输的情况下,所述方法还包括:分别接收分割后的三维视频数据,按预设算法将分割后的三维视频数据合并为三维视频数据。Correspondingly, in an embodiment, when the terminal uses the second configuration information for data processing and transmission, the method further includes: respectively receiving the divided 3D video data, and dividing the divided 3D video data according to a preset algorithm. The data is merged into 3D video data.
作为一种实施方式,所述分别接收分割后的三维视频数据,包括:分别接收多个三维视频数据块;所述多个三维视频数据块中的每个三维视频数据块携带有标记信息;As an embodiment, the separately receiving the divided 3D video data includes: respectively receiving a plurality of 3D video data blocks; each 3D video data block in the plurality of 3D video data blocks carries label information;
相应的,所述按预设算法将分割后的三维视频数据合并为三维视频数据,包括:按预设算法基于所述多个三维视频数据块中每个三维视频数据块携带有标记信息将所述多个三维视频数据块合并为三维视频数据。Correspondingly, merging the divided 3D video data into 3D video data according to a preset algorithm includes: according to a preset algorithm, based on that each 3D video data block in the plurality of 3D video data blocks carries tag information, merge the data into the 3D video data. The plurality of 3D video data blocks are combined into 3D video data.
具体的,终端将每个三维视频数据分割为多个三维视频数据块后分别传输,相应的,服务器分别接收多个三维视频数据块,例如,在T0时刻接收到第一个三维视频数据块,在T1时刻接收到第二个三维视频数据块,以此类推。其中,每个三维视频数据块携带有标记,该标记用于表示每个三维视频数据块所在的位置,则服务器接收到针对于一个三维视频数据的所有三维视频数据块后,可通过每个三维视频数据块携带的标记对所有三维视频数据块进行合并,重构三维视频数据。Specifically, the terminal divides each 3D video data into multiple 3D video data blocks and transmits them respectively. Correspondingly, the server receives the multiple 3D video data blocks respectively. For example, the first 3D video data block is received at time T0, The second block of 3D video data is received at time T1, and so on. Wherein, each 3D video data block carries a mark, and the mark is used to indicate the position of each 3D video data block. After receiving all the 3D video data blocks for one 3D video data, the server can The tags carried by the video data blocks combine all the 3D video data blocks to reconstruct the 3D video data.
作为另一种实施方式,所述分别接收分割后的三维视频数据,包括:分别接收至少两个子二维视频数据和至少两个子深度数据;As another implementation manner, the separately receiving the divided 3D video data includes: respectively receiving at least two sub-2D video data and at least two sub-depth data;
相应的,所述按预设算法将分割后的三维视频数据合并为三维视频数据,包括:按预设算法将所述至少两个子二维视频数据和至少两个子深度数据合并为三维视频数据。Correspondingly, merging the divided 3D video data into 3D video data according to a preset algorithm includes: merging the at least two sub-2D video data and the at least two sub-depth data into 3D video data according to a preset algorithm.
具体的,终端将每个三维视频数据中的二维视频数据和深度数据分别分割为至少两个子二维视频数据和至少两个子深度数据后分别传输,服务器分别接收到至少两个子二维视频数据和至少两个子深度数据。例如,以将二维视频数据和深度数据分别分割为两个子二维视频数据和两个深度子数据为例,在T0时刻,接收到第一个二维视频子数据,在T1时刻,接收到第二个二维视频子数据,在T2时刻,接收到第一个子深度数据,在T3时刻,接收到第二个子深度数据。进一步地,服务器将接收到的至少两个子二维视频数据和至少两个子深度数据进行合并,重构三维视频数据。Specifically, the terminal divides the two-dimensional video data and depth data in each three-dimensional video data into at least two sub-two-dimensional video data and at least two sub-depth data, and transmits them respectively, and the server receives the at least two sub-two-dimensional video data respectively. and at least two sub-depth data. For example, taking the two-dimensional video data and depth data as an example of dividing the two-dimensional video data and depth data into two sub-two-dimensional video data and two depth sub-data respectively, at time T0, the first two-dimensional video sub-data is received, and at time T1, the first two-dimensional video sub-data is received. For the second two-dimensional video sub-data, at time T2, the first sub-depth data is received, and at time T3, the second sub-depth data is received. Further, the server combines the received at least two sub-two-dimensional video data and at least two sub-depth data to reconstruct the three-dimensional video data.
本实施例中,终端的三维视频数据的分割方式和服务器针对分割后的三维视频数据的合并方式可通过预先约定或者信令指示的方式预先配置。In this embodiment, the splitting manner of the 3D video data of the terminal and the combining manner of the split 3D video data by the server may be pre-configured in the manner of pre-agreed or signaling instruction.
本实施例中,服务器分批次接收分割后的三维视频数据、在将分割后的三维视频数据合并为三维视频数据。其中,作为一种实施方式,服务器可针对接收的分割后的三维视频数据进行关键数据的提取并分析,识别提取出的关键数据的稳定性是否达到预设稳定性要求,在未达到预设稳定性要求的情况下,丢弃与该分割后的三维视频数据相关的其他分割后的三维视频数据,也即丢弃与该分割后的三维视频数据属于同一三维视频数据的其他分割后的三维视频数据。作为另一种实施方式,服务器可针对合并后的三维视频数据进行关键数据的提取并分析,识别提取出的关键数据的稳定性是否达到预设稳定性要求,在未达到预设稳定性要求的情况下,丢弃该合并后的三维视频数据。In this embodiment, the server receives the divided 3D video data in batches, and combines the divided 3D video data into 3D video data. Wherein, as an implementation manner, the server may extract and analyze key data for the received divided 3D video data, and identify whether the stability of the extracted key data meets the preset stability requirements, and if the stability of the extracted key data does not meet the preset stability requirements, In the case of meeting the performance requirements, other segmented 3D video data related to the segmented 3D video data are discarded, that is, other segmented 3D video data belonging to the same 3D video data as the segmented 3D video data are discarded. As another implementation manner, the server may extract and analyze key data for the merged 3D video data, and identify whether the stability of the extracted key data meets the preset stability requirement. In this case, the merged 3D video data is discarded.
采用本发明实施例的技术方案,通过在终端发送与传输算法相关联的关键数据,使得服务器根据该关键数据进行分析处理,基于分析结果采用特定处理方式对二维视频数据和深度数据进行合成,避免三维视频数据在传输过程中由于传输异常或数据丢失导致图像重构错误、图像内容无法识别等问题,在一定程度上也通过避免数据重传提高了数据传输效率,提升了服务质量,也大大提升了用户体验。By adopting the technical solution of the embodiment of the present invention, the terminal sends the key data associated with the transmission algorithm, so that the server performs analysis and processing according to the key data, and uses a specific processing method to synthesize the two-dimensional video data and the depth data based on the analysis result, It avoids problems such as image reconstruction errors and unrecognizable image content due to abnormal transmission or data loss during the transmission process of 3D video data. To a certain extent, it also improves data transmission efficiency and service quality by avoiding data retransmission. Improved user experience.
为实现本发明实施例终端侧的方法,本发明实施例还提供了一种终端。图4为本发明实施例的终端的一种组成结构示意图;如图4所示,所述终端包括:获取单元31、提取单元32和第一通信单元33;其中,To implement the method on the terminal side of the embodiment of the present invention, the embodiment of the present invention further provides a terminal. FIG. 4 is a schematic diagram of a composition structure of a terminal according to an embodiment of the present invention; as shown in FIG. 4 , the terminal includes: an
所述获取单元31,用于获得至少包括深度数据的三维视频数据;The obtaining
所述提取单元32,用于从所述获取单元31获得的所述三维视频数据中提取出与传输算法相关联的关键数据。The extracting
所述第一通信单元33,用于按照所述传输算法发送所述关键数据。The
在一实施例中,如图5所示,所述终端还包括确定单元34,用于确定第一配置信息;In an embodiment, as shown in FIG. 5 , the terminal further includes a determining
所述提取单元32,用于按照所述确定单元34确定的所述第一配置信息从所述三维视频数据中提取出与传输算法相关联的关键数据;The
所述第一通信单元33,用于按照所述传输算法发送所述关键数据。The
在一实施例中,如图6所示,所述终端还包括确定单元34和分割单元35;其中,In an embodiment, as shown in FIG. 6 , the terminal further includes a determining
所述确定单元34,用于确定第二配置信息;the determining
所述分割单元35,用于将所述三维视频数据进行分割;The dividing
所述第一通信单元33,用于按照所述确定单元34确定的所述第二配置信息发送分割后的所述三维视频数据。The
作为一种实施方式,所述分割单元35,用于将所述三维视频数据分割为多个三维视频数据块,所述多个三维视频数据块中的每个三维视频数据块携带有标记信息;As an embodiment, the dividing
所述第一通信单元33,用于分别发送所述多个三维视频数据块。The
作为另一种实施方式,所述三维视频数据包括二维视频数据和深度数据;As another embodiment, the three-dimensional video data includes two-dimensional video data and depth data;
所述分割单元35,用于将所述二维视频数据分割为至少两个子二维视频数据,将所述深度数据分割为至少两个子深度数据;The dividing
所述第一通信单元33,用于分别发送所述至少两个子二维视频数据和所述至少两个子深度数据。The
在一实施例中,所述终端还包括检测单元,用于检测传输信道的第一参数;In an embodiment, the terminal further includes a detection unit for detecting the first parameter of the transmission channel;
所述确定单元34,用于基于所述检测单元获得的所述第一参数查询预先配置的多组参数和配置信息的映射关系,获得与所述第一参数匹配的第一配置信息或第二配置信息。The determining
本实施例中,所述第一通信单元33,还用于从至少能够采集深度数据的采集组件获得三维视频数据;所述采集组件能够与至少一个终端建立通信链路以使对应终端获得所述三维视频数据。In this embodiment, the
本发明实施例中,所述终端中的提取单元32、确定单元34和分割单元35,在实际应用中可由所述终端中的处理器,比如中央处理器(CPU,Central Processing Unit)、数字信号处理器(DSP,Digital Signal Processor)、微控制单元(MCU,Microcontroller Unit)或可编程门阵列(FPGA,Field-Programmable Gate Array)等实现;所述终端中的第一通信单元33,在实际应用中可通过通信模组(包含:基础通信套件、操作系统、通信模块、标准化接口和协议等)及收发天线实现;所述终端中的获取单元31,在实际应用中可通过立体摄像头、双目摄像头或结构光摄像头实现,或者可通过通信模组(包含:基础通信套件、操作系统、通信模块、标准化接口和协议等)及收发天线实现;所述终端中的检测单元,在实际应用中可由处理器比如CPU、DSP、MCU或FPGA等结合通信模组实现。In this embodiment of the present invention, the
需要说明的是:上述实施例提供的终端在进行数据处理时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将终端的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的终端与数据处理方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: when the terminal provided in the above embodiment performs data processing, only the division of the above program modules is used as an example for illustration. The internal structure is divided into different program modules to complete all or part of the processing described above. In addition, the terminal and the data processing method embodiments provided by the above embodiments belong to the same concept, and the specific implementation process thereof is detailed in the method embodiments, which will not be repeated here.
相应地,为实现本发明实施例服务器侧的方法,本发明实施例还提供了一种服务器,具体为MEC服务器。图7为本发明实施例的服务器的组成结构示意图;如图7所示,所述服务器包括:第二通信单元41、分析处理单元42和合并单元43;其中,Correspondingly, in order to implement the method on the server side of the embodiment of the present invention, the embodiment of the present invention further provides a server, specifically an MEC server. FIG. 7 is a schematic diagram of the composition structure of a server according to an embodiment of the present invention; as shown in FIG. 7 , the server includes: a
所述第二通信单元41,用于接收与传输算法相关联的关键数据;The
所述分析处理单元42,用于分析所述第二通信单元41接收的所述关键数据,获得分析结果;The analysis and
所述合并单元43,用于基于所述分析处理单元获得的所述分析结果将预先接收到的深度数据和二维视频数据合成为三维视频数据。The combining
在一实施例中,所述分析处理单元42,用于获得接收时间间隔内接收到的关键数据的变化量,判断所述关键数据的变化量是否超过预设阈值;或者,分析接收时间间隔内接收到的关键数据是否连续;当所述关键数据的变化量超过预设阈值,或者接收时间间隔内接收到的关键数据不连续,表明所述关键数据的稳定性未达到预设稳定性要求。In one embodiment, the analysis and
在一实施例中,如图8所示,所述服务器还包括丢弃处理单元44,用于当所述分析处理单元42获得的分析结果表明所述关键数据的稳定性未达到预设稳定性要求时,确定所述关键数据对应的三维视频数据,丢弃所述三维视频数据。In one embodiment, as shown in FIG. 8 , the server further includes a discard processing unit 44 for when the analysis result obtained by the
在一实施例中,所述第二通信单元41,还用于分别接收分割后的三维视频数据;In one embodiment, the
所述合并单元43,用于按预设算法将所述第二通信单元41接收的所述分割后的三维视频数据合并为三维视频数据。The combining
作为一种实施方式,所述第二通信单元41,用于分别接收多个三维视频数据块;所述多个三维视频数据块中的每个三维视频数据块携带有标记信息;As an implementation manner, the
所述合并单元43,用于按预设算法基于所述多个三维视频数据块中每个三维视频数据块携带有标记信息将所述多个三维视频数据块合并为三维视频数据。The merging
作为另一种实施方式,所述第二通信单元41,用于分别接收至少两个子二维视频数据和至少两个子深度数据;As another implementation manner, the
所述合并单元43,用于按预设算法将所述至少两个子二维视频数据和至少两个子深度数据合并为三维视频数据。The combining
本发明实施例中,所述服务器中的分析处理单元42、丢弃处理单元44和合并单元43,在实际应用中可由所述服务器中的处理器,比如CPU、DSP、MCU或FPGA等实现;所述服务器中的第二通信单元41,在实际应用中可通过通信模组(包含:基础通信套件、操作系统、通信模块、标准化接口和协议等)及收发天线实现。In this embodiment of the present invention, the analysis and
需要说明的是:上述实施例提供的服务器在进行数据处理时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将服务器的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的服务器与数据处理方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: when the server provided by the above embodiment performs data processing, only the division of the above program modules is used as an example for illustration. The internal structure is divided into different program modules to complete all or part of the processing described above. In addition, the server provided by the above embodiments and the data processing method embodiments belong to the same concept, and the specific implementation process is detailed in the method embodiments, which will not be repeated here.
基于上述设备的硬件实现,本发明实施例还提供了一种数据处理设备,图9为本发明实施例的数据处理设备的硬件组成结构示意图,如图9所示,数据处理设备包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序;作为第一种实施方式,数据处理设备为终端时,位于终端的处理器执行所述程序时实现:获得至少包括深度数据的三维视频数据;从所述三维视频数据中提取出与传输算法相关联的关键数据,按照所述传输算法发送所述关键数据。Based on the hardware implementation of the above device, an embodiment of the present invention further provides a data processing device. FIG. 9 is a schematic diagram of a hardware structure of the data processing device according to an embodiment of the present invention. As shown in FIG. 9 , the data processing device includes a memory, a processing device and a computer program stored in the memory and running on the processor; as a first embodiment, when the data processing device is a terminal, when the processor located in the terminal executes the program, it realizes: obtaining a three-dimensional image including depth data at least Video data; extract key data associated with a transmission algorithm from the three-dimensional video data, and send the key data according to the transmission algorithm.
在一实施例中,位于终端的处理器执行所述程序时实现:获得三维视频数据后,确定第一配置信息;按照所述第一配置信息从所述三维视频数据中提取出与传输算法相关联的关键数据,按照所述传输算法发送所述关键数据。In one embodiment, when the processor located in the terminal executes the program, it realizes: after obtaining the 3D video data, first configuration information is determined; link key data, and send the key data according to the transmission algorithm.
在一实施例中,位于终端的处理器执行所述程序时实现:获得三维视频数据后,确定第二配置信息;将所述三维视频数据进行分割,按照所述第二配置信息发送分割后的所述三维视频数据。In one embodiment, when the processor located in the terminal executes the program, it realizes: after obtaining the three-dimensional video data, determining the second configuration information; dividing the three-dimensional video data, and sending the divided data according to the second configuration information. the three-dimensional video data.
在一实施例中,位于终端的处理器执行所述程序时实现:将所述三维视频数据分割为多个三维视频数据块,所述多个三维视频数据块中的每个三维视频数据块携带有标记信息;分别发送所述多个三维视频数据块。In one embodiment, when the processor located in the terminal executes the program, it realizes: dividing the 3D video data into a plurality of 3D video data blocks, and each 3D video data block in the plurality of 3D video data blocks carries There is tag information; the plurality of three-dimensional video data blocks are sent separately.
在一实施例中,位于终端的处理器执行所述程序时实现:将所述二维视频数据分割为至少两个子二维视频数据,将所述深度数据分割为至少两个子深度数据;分别发送所述至少两个子二维视频数据和所述至少两个子深度数据。其中,所述三维视频数据包括二维视频数据和深度数据。In one embodiment, when the processor located in the terminal executes the program, it realizes: dividing the two-dimensional video data into at least two sub-two-dimensional video data, dividing the depth data into at least two sub-depth data; sending the data separately; the at least two sub-two-dimensional video data and the at least two sub-depth data. Wherein, the three-dimensional video data includes two-dimensional video data and depth data.
在一实施例中,位于终端的处理器执行所述程序时实现:基于所述第一参数查询预先配置的多组参数和配置信息的映射关系,获得与所述第一参数匹配的第一配置信息或第二配置信息。In an embodiment, when the processor located in the terminal executes the program, it is implemented: based on the first parameter, query the mapping relationship between multiple groups of parameters and configuration information that are preconfigured, and obtain a first configuration matching the first parameter information or second configuration information.
在一实施例中,位于终端的处理器执行所述程序时实现:从至少能够采集深度数据的采集组件获得三维视频数据;所述采集组件能够与至少一个终端建立通信链路以使对应终端获得所述三维视频数据。In one embodiment, when the processor located in the terminal executes the program, it realizes: obtaining three-dimensional video data from an acquisition component capable of at least acquiring depth data; the acquisition component can establish a communication link with at least one terminal to enable the corresponding terminal to obtain the three-dimensional video data.
作为第二种实施方式,数据处理设备为MEC服务器时,位于服务器的处理器执行所述程序时实现:接收与传输算法相关联的关键数据;分析所述关键数据,获得分析结果;基于所述分析结果将预先接收到的深度数据和二维视频数据合成为三维视频数据。As a second implementation manner, when the data processing device is an MEC server, when the processor located in the server executes the program, it realizes: receiving key data associated with the transmission algorithm; analyzing the key data to obtain an analysis result; based on the The analysis result synthesizes the pre-received depth data and 2D video data into 3D video data.
在一实施例中,位于终端的处理器执行所述程序时实现:获得接收时间间隔内接收到的关键数据的变化量,判断所述关键数据的变化量是否超过预设阈值;或者,分析接收时间间隔内接收到的关键数据是否连续;当所述关键数据的变化量超过预设阈值,或者接收时间间隔内接收到的关键数据不连续,表明所述关键数据的稳定性未达到预设稳定性要求。In one embodiment, when the processor located in the terminal executes the program, it realizes: obtaining the variation of the key data received within the receiving time interval, and judging whether the variation of the key data exceeds a preset threshold; or, analyzing the received Whether the key data received within the time interval is continuous; when the variation of the key data exceeds the preset threshold, or the key data received within the receiving time interval is discontinuous, it indicates that the stability of the key data has not reached the preset stability sexual requirements.
在一实施例中,位于终端的处理器执行所述程序时实现:当所述分析结果表明所述关键数据的稳定性未达到预设稳定性要求时,确定所述关键数据对应的三维视频数据,丢弃所述三维视频数据。In one embodiment, when the processor at the terminal executes the program, it is realized: when the analysis result indicates that the stability of the key data does not meet the preset stability requirement, determine the three-dimensional video data corresponding to the key data. , discarding the 3D video data.
在一实施例中,位于终端的处理器执行所述程序时实现:分别接收分割后的三维视频数据,按预设算法将分割后的三维视频数据合并为三维视频数据。In one embodiment, when the processor located in the terminal executes the program, it realizes: respectively receiving the divided 3D video data, and combining the divided 3D video data into 3D video data according to a preset algorithm.
在一实施例中,位于终端的处理器执行所述程序时实现:分别接收多个三维视频数据块;所述多个三维视频数据块中的每个三维视频数据块携带有标记信息;按预设算法基于所述多个三维视频数据块中每个三维视频数据块携带有标记信息将所述多个三维视频数据块合并为三维视频数据。In one embodiment, when the processor located in the terminal executes the program, it realizes: receiving a plurality of 3D video data blocks respectively; each 3D video data block in the plurality of 3D video data blocks carries label information; It is assumed that the algorithm combines the plurality of 3D video data blocks into 3D video data based on the flag information carried by each 3D video data block in the plurality of 3D video data blocks.
在一实施例中,位于终端的处理器执行所述程序时实现:分别接收至少两个子二维视频数据和至少两个子深度数据;按预设算法将所述至少两个子二维视频数据和至少两个子深度数据合并为三维视频数据。In one embodiment, when the processor located in the terminal executes the program, it realizes: respectively receiving at least two sub-two-dimensional video data and at least two sub-depth data; The two sub-depth data are merged into 3D video data.
可以理解,数据处理设备(终端或服务器)还包括通信接口;数据处理设备(终端或服务器)中的各个组件通过总线系统耦合在一起。可理解,总线系统用于实现这些组件之间的连接通信。总线系统除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。It can be understood that the data processing device (terminal or server) also includes a communication interface; various components in the data processing device (terminal or server) are coupled together through a bus system. It can be understood that the bus system is used to realize the connection communication between these components. In addition to the data bus, the bus system also includes a power bus, a control bus and a status signal bus.
可以理解,本实施例中的存储器可以是易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(ROM,ReadOnly Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,ferromagnetic random access memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,RandomAccess Memory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random Access Memory)、同步动态随机存取存储器(SDRAM,SynchronousDynamic Random Access Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本发明实施例描述的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory in this embodiment may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM, ReadOnly Memory), a programmable read-only memory (PROM, Programmable Read-Only Memory), an erasable programmable read-only memory (EPROM, Erasable Programmable Read-Only Memory) Memory), Electrically Erasable Programmable Read-Only Memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), Magnetic Random Access Memory (FRAM, ferromagnetic random access memory), Flash Memory, Magnetic Surface Memory, Optical disk, or Compact Disc Read-Only Memory (CD-ROM); the magnetic surface memory can be a magnetic disk memory or a magnetic tape memory. The volatile memory may be a random access memory (RAM, Random Access Memory), which is used as an external cache memory. By way of example and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory Memory (DRAM, Dynamic Random Access Memory), Synchronous Dynamic Random Access Memory (SDRAM, SynchronousDynamic Random Access Memory), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM, Double Data Rate Synchronous Dynamic Random Access Memory), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM, Enhanced Synchronous Dynamic Random Access Memory), Synchronous Link Dynamic Random Access Memory (SLDRAM, SyncLink Dynamic Random Access Memory), Direct Memory Bus Random Access Memory (DRRAM, Direct Rambus Random Access Memory) . The memory described in the embodiments of the present invention is intended to include, but not be limited to, these and any other suitable types of memory.
上述本发明实施例揭示的方法可以应用于处理器中,或者由处理器实现。处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器、DSP,或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。处理器可以实现或者执行本发明实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本发明实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成前述方法的步骤。The methods disclosed in the foregoing embodiments of the present invention may be applied to a processor, or implemented by a processor. A processor may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above-mentioned method can be completed by a hardware integrated logic circuit in a processor or an instruction in the form of software. The above-mentioned processors may be general-purpose processors, DSPs, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like. The processor may implement or execute the methods, steps, and logical block diagrams disclosed in the embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed in combination with the embodiments of the present invention can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, the storage medium is located in a memory, and the processor reads the information in the memory, and completes the steps of the foregoing method in combination with its hardware.
本发明实施例还提供了一种计算机存储介质,具体为计算机可读存储介质。其上存储有计算机指令,作为第一种实施方式,在计算机存储介质位于终端时,该计算机指令被处理器执行时实现:获得至少包括深度数据的三维视频数据;从所述三维视频数据中提取出与传输算法相关联的关键数据,按照所述传输算法发送所述关键数据。Embodiments of the present invention further provide a computer storage medium, specifically a computer-readable storage medium. Computer instructions are stored thereon, and as a first implementation manner, when the computer storage medium is located in the terminal, the computer instructions are executed by the processor to achieve: obtaining three-dimensional video data including at least depth data; extracting from the three-dimensional video data The key data associated with the transmission algorithm is output, and the key data is sent according to the transmission algorithm.
在一实施例中,该计算机指令被处理器执行时实现:获得三维视频数据后,确定第一配置信息;按照所述第一配置信息从所述三维视频数据中提取出与传输算法相关联的关键数据,按照所述传输算法发送所述关键数据。In one embodiment, the computer instructions are implemented when executed by the processor: after obtaining the 3D video data, first configuration information is determined; The key data is sent according to the transmission algorithm.
在一实施例中,该计算机指令被处理器执行时实现:获得三维视频数据后,确定第二配置信息;将所述三维视频数据进行分割,按照所述第二配置信息发送分割后的所述三维视频数据。In one embodiment, when the computer instruction is executed by the processor: after obtaining the three-dimensional video data, determine the second configuration information; divide the three-dimensional video data, and send the divided 3D video data.
在一实施例中,该计算机指令被处理器执行时实现:将所述三维视频数据分割为多个三维视频数据块,所述多个三维视频数据块中的每个三维视频数据块携带有标记信息;分别发送所述多个三维视频数据块。In one embodiment, the computer instructions, when executed by the processor, implement: dividing the 3D video data into a plurality of 3D video data blocks, each 3D video data block in the plurality of 3D video data blocks carrying a flag information; respectively sending the plurality of three-dimensional video data blocks.
在一实施例中,该计算机指令被处理器执行时实现:将所述二维视频数据分割为至少两个子二维视频数据,将所述深度数据分割为至少两个子深度数据;分别发送所述至少两个子二维视频数据和所述至少两个子深度数据。其中,所述三维视频数据包括二维视频数据和深度数据。In one embodiment, when the computer instruction is executed by the processor, it realizes: dividing the two-dimensional video data into at least two sub-two-dimensional video data, dividing the depth data into at least two sub-depth data; sending the two-dimensional video data respectively; At least two sub-two-dimensional video data and the at least two sub-depth data. Wherein, the three-dimensional video data includes two-dimensional video data and depth data.
在一实施例中,该计算机指令被处理器执行时实现:基于所述第一参数查询预先配置的多组参数和配置信息的映射关系,获得与所述第一参数匹配的第一配置信息或第二配置信息。In one embodiment, when the computer instruction is executed by the processor, it is implemented: query the mapping relationship between a plurality of preconfigured groups of parameters and configuration information based on the first parameter, and obtain first configuration information matching the first parameter or second configuration information.
在一实施例中,该计算机指令被处理器执行时实现:从至少能够采集深度数据的采集组件获得三维视频数据;所述采集组件能够与至少一个终端建立通信链路以使对应终端获得所述三维视频数据。In one embodiment, when the computer instructions are executed by the processor, the three-dimensional video data is obtained from an acquisition component capable of at least acquiring depth data; the acquisition component can establish a communication link with at least one terminal so that the corresponding terminal can acquire the 3D video data.
作为第二种实施方式,在计算机存储介质位于服务器时,该计算机指令被处理器执行时实现:接收与传输算法相关联的关键数据;分析所述关键数据,获得分析结果;基于所述分析结果将预先接收到的深度数据和二维视频数据合成为三维视频数据。As a second implementation manner, when the computer storage medium is located on the server, the computer instructions are executed by the processor to achieve: receiving key data associated with the transmission algorithm; analyzing the key data to obtain an analysis result; based on the analysis result The pre-received depth data and 2D video data are synthesized into 3D video data.
在一实施例中,该计算机指令被处理器执行时实现:获得接收时间间隔内接收到的关键数据的变化量,判断所述关键数据的变化量是否超过预设阈值;或者,分析接收时间间隔内接收到的关键数据是否连续;当所述关键数据的变化量超过预设阈值,或者接收时间间隔内接收到的关键数据不连续,表明所述关键数据的稳定性未达到预设稳定性要求。In one embodiment, when the computer instruction is executed by the processor, it realizes: obtains the variation of the key data received within the receiving time interval, and judges whether the variation of the key data exceeds a preset threshold; or, analyzes the receiving time interval Whether the received key data is continuous; when the variation of the key data exceeds the preset threshold, or the key data received within the receiving time interval is discontinuous, it indicates that the stability of the key data does not meet the preset stability requirements .
在一实施例中,该计算机指令被处理器执行时实现:当所述分析结果表明所述关键数据的稳定性未达到预设稳定性要求时,确定所述关键数据对应的三维视频数据,丢弃所述三维视频数据。In one embodiment, when the computer instruction is executed by the processor: when the analysis result indicates that the stability of the key data does not meet the preset stability requirement, determine the three-dimensional video data corresponding to the key data, and discard the data. the three-dimensional video data.
在一实施例中,该计算机指令被处理器执行时实现:分别接收分割后的三维视频数据,按预设算法将分割后的三维视频数据合并为三维视频数据。In one embodiment, when the computer instruction is executed by the processor, the divided 3D video data are respectively received, and the divided 3D video data are combined into 3D video data according to a preset algorithm.
在一实施例中,该计算机指令被处理器执行时实现:分别接收多个三维视频数据块;所述多个三维视频数据块中的每个三维视频数据块携带有标记信息;按预设算法基于所述多个三维视频数据块中每个三维视频数据块携带有标记信息将所述多个三维视频数据块合并为三维视频数据。In one embodiment, when the computer instruction is executed by the processor, it realizes: receiving a plurality of 3D video data blocks respectively; each 3D video data block in the plurality of 3D video data blocks carries label information; according to a preset algorithm The plurality of 3D video data blocks are combined into 3D video data based on the flag information carried by each 3D video data block in the plurality of 3D video data blocks.
在一实施例中,该计算机指令被处理器执行时实现:分别接收至少两个子二维视频数据和至少两个子深度数据;按预设算法将所述至少两个子二维视频数据和至少两个子深度数据合并为三维视频数据。In one embodiment, the computer instructions are implemented when executed by the processor: respectively receiving at least two sub-2D video data and at least two sub-depth data; The depth data is merged into 3D video data.
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other manners. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined, or Can be integrated into another system, or some features can be ignored, or not implemented. In addition, the coupling, or direct coupling, or communication connection between the components shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be electrical, mechanical or other forms. of.
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。The unit described above as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place or distributed to multiple network units; Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
另外,在本发明各实施例中的各功能单元可以全部集成在一个处理单元中,也可以是各单元分别单独作为一个单元,也可以至少两个单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may all be integrated into one processing unit, or each unit may be separately used as a unit, or at least two units may be integrated into one unit; the above-mentioned integrated units are both It can be implemented in the form of hardware, or it can be implemented in the form of hardware plus software functional units.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by program instructions related to hardware, the aforementioned program can be stored in a computer-readable storage medium, and when the program is executed, execute It includes the steps of the above method embodiments; and the aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic disk or an optical disk and other media that can store program codes.
或者,本发明上述集成的单元如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:移动存储设备、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it may also be stored in a computer-readable storage medium. Based on this understanding, the technical solutions of the embodiments of the present invention may be embodied in the form of software products in essence or the parts that make contributions to the prior art. The computer software products are stored in a storage medium and include several instructions for A computer device (which may be a personal computer, a server, or a network device, etc.) is caused to execute all or part of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: a removable storage device, a ROM, a RAM, a magnetic disk or an optical disk and other mediums that can store program codes.
需要说明的是:本发明实施例所记载的技术方案之间,在不冲突的情况下,可以任意组合。It should be noted that the technical solutions described in the embodiments of the present invention may be combined arbitrarily unless there is a conflict.
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。The above are only specific embodiments of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention. should be included within the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.
Claims (29)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810445069.3A CN108632376B (en) | 2018-05-10 | 2018-05-10 | A data processing method, terminal, server and computer storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810445069.3A CN108632376B (en) | 2018-05-10 | 2018-05-10 | A data processing method, terminal, server and computer storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108632376A CN108632376A (en) | 2018-10-09 |
CN108632376B true CN108632376B (en) | 2021-10-08 |
Family
ID=63692621
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810445069.3A Expired - Fee Related CN108632376B (en) | 2018-05-10 | 2018-05-10 | A data processing method, terminal, server and computer storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108632376B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113743952B (en) * | 2020-05-28 | 2023-05-19 | 中国联合网络通信集团有限公司 | Method and device for identifying shell companies |
CN112419483A (en) * | 2020-11-24 | 2021-02-26 | 中电科新型智慧城市研究院有限公司 | A three-dimensional model data transmission method and server |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1599308A (en) * | 2003-09-05 | 2005-03-23 | 三菱电机株式会社 | Method for transmitting data including an error control mechanism designated for unreliable networks and error resilience applications |
CN101453662A (en) * | 2007-12-03 | 2009-06-10 | 华为技术有限公司 | Stereo video communication terminal, system and method |
CN102497541A (en) * | 2011-12-21 | 2012-06-13 | 北京硅盾安全技术有限公司 | Intelligent video information distribution and coding method |
CN102710950A (en) * | 2012-05-31 | 2012-10-03 | 哈尔滨工业大学 | System and method for transmitting 3D (Three-dimensional) video by one-way television signal |
CN103118241A (en) * | 2012-02-24 | 2013-05-22 | 金三立视频科技(深圳)有限公司 | Mobile video monitoring streaming media transmission self-adaptive adjustment algorithm based on the 3rd generation telecommunication (3G) network |
CN103152378A (en) * | 2012-12-25 | 2013-06-12 | 中国移动通信集团江西有限公司 | Network data transmission method and system and client |
CN103916331A (en) * | 2013-01-08 | 2014-07-09 | 友讯科技股份有限公司 | Connection method for analyzing data packet to select connection path |
-
2018
- 2018-05-10 CN CN201810445069.3A patent/CN108632376B/en not_active Expired - Fee Related
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1599308A (en) * | 2003-09-05 | 2005-03-23 | 三菱电机株式会社 | Method for transmitting data including an error control mechanism designated for unreliable networks and error resilience applications |
CN101453662A (en) * | 2007-12-03 | 2009-06-10 | 华为技术有限公司 | Stereo video communication terminal, system and method |
CN102497541A (en) * | 2011-12-21 | 2012-06-13 | 北京硅盾安全技术有限公司 | Intelligent video information distribution and coding method |
CN103118241A (en) * | 2012-02-24 | 2013-05-22 | 金三立视频科技(深圳)有限公司 | Mobile video monitoring streaming media transmission self-adaptive adjustment algorithm based on the 3rd generation telecommunication (3G) network |
CN102710950A (en) * | 2012-05-31 | 2012-10-03 | 哈尔滨工业大学 | System and method for transmitting 3D (Three-dimensional) video by one-way television signal |
CN103152378A (en) * | 2012-12-25 | 2013-06-12 | 中国移动通信集团江西有限公司 | Network data transmission method and system and client |
CN103916331A (en) * | 2013-01-08 | 2014-07-09 | 友讯科技股份有限公司 | Connection method for analyzing data packet to select connection path |
Also Published As
Publication number | Publication date |
---|---|
CN108632376A (en) | 2018-10-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108495112B (en) | Data transmission method and terminal, and computer storage medium | |
WO2017152723A1 (en) | Data transmission method, apparatus and system | |
CN109410319B (en) | Data processing method, server and computer storage medium | |
CN108632376B (en) | A data processing method, terminal, server and computer storage medium | |
WO2020063170A1 (en) | Data processing method, terminal, server and storage medium | |
US20230262644A1 (en) | Method and apparatus for processing data flow of positioning base station, device and computer-readable medium | |
CN108600728A (en) | Data transmission method and terminal, computer storage medium | |
CN109151430B (en) | Data processing method, terminal, server and computer storage medium | |
CN108667936B (en) | Data processing method, terminal, mobile edge computing server and storage medium | |
CN109272576B (en) | Data processing method, MEC server, terminal equipment and device | |
CN109413405B (en) | A data processing method, terminal, server and computer storage medium | |
Makiyah et al. | Emulation of point cloud streaming over 5G network | |
WO2020063171A1 (en) | Data transmission method, terminal, server and storage medium | |
CN109413409B (en) | A data processing method, MEC server, and terminal device | |
US9258378B2 (en) | Method and device for pushing information | |
CN109246408B (en) | Data processing method, terminal, server and computer storage medium | |
CN109151435B (en) | A data processing method, terminal, server and computer storage medium | |
CN109246409B (en) | Data processing method, terminal, server and computer storage medium | |
CN109147043B (en) | Data processing method, server and computer storage medium | |
CN108737807B (en) | A data processing method, terminal, server and computer storage medium | |
WO2023125056A1 (en) | Network data control method and apparatus, and storage medium and electronic device | |
CN109299323B (en) | Data processing method, terminal, server and computer storage medium | |
CN109302598B (en) | A data processing method, terminal, server and computer storage medium | |
CN109325997B (en) | Model checking method, server and computer storage medium | |
CN109345623B (en) | Model verification method, server and computer storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20211008 |