+

CN111866058A - Data processing method and system - Google Patents

Data processing method and system Download PDF

Info

Publication number
CN111866058A
CN111866058A CN202010450669.6A CN202010450669A CN111866058A CN 111866058 A CN111866058 A CN 111866058A CN 202010450669 A CN202010450669 A CN 202010450669A CN 111866058 A CN111866058 A CN 111866058A
Authority
CN
China
Prior art keywords
information
target
server
screen
negotiation
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.)
Granted
Application number
CN202010450669.6A
Other languages
Chinese (zh)
Other versions
CN111866058B (en
Inventor
段瑞楠
范志刚
卢涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xian Wanxiang Electronics Technology Co Ltd
Original Assignee
Xian Wanxiang Electronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xian Wanxiang Electronics Technology Co Ltd filed Critical Xian Wanxiang Electronics Technology Co Ltd
Priority to CN202410182111.2A priority Critical patent/CN118158206A/en
Priority to CN202010450669.6A priority patent/CN111866058B/en
Publication of CN111866058A publication Critical patent/CN111866058A/en
Application granted granted Critical
Publication of CN111866058B publication Critical patent/CN111866058B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a data processing method and a data processing system, relates to the technical field of electronic information, and can solve the problem that a cloud server cannot be flexibly adapted to a plurality of terminal devices based on image transmission. The specific technical scheme is as follows: when a server detects that a terminal device logs in, acquiring device hardware information corresponding to the terminal device, after negotiation processing with the terminal device, acquiring target negotiation information according to the device hardware information, wherein the specific acquisition of the target negotiation information comprises the following steps: acquiring target acquisition resolution corresponding to the terminal equipment according to screen information in the equipment hardware information; acquiring a target acquisition frame rate corresponding to the terminal equipment according to the acquisition resolution and the decoding information in the hardware information of the equipment; and acquiring a target audio acquisition format according to the audio playing format information in the equipment hardware information, and acquiring a target audio coding format according to the audio decoding format information in the equipment hardware information. The present disclosure is for data processing.

Description

数据处理方法及系统Data processing method and system

技术领域technical field

本公开涉及电子信息技术领域,尤其涉及数据处理方法及系统。The present disclosure relates to the field of electronic information technology, and in particular, to a data processing method and system.

背景技术Background technique

现有的云手机方案是建立在云操作系统的基础上的。云手机终端和服务 器端操作系统之间的交互包括图像层面的交互,基于图像层面的交互只涉及 到图像解码器能力信息、显示装置能力信息、音频播放能力信息、网络能力、 本地输入设备类型等与操作系统无关的硬件能力,可以做到云手机及瘦客户 机启动任意操作系统。而不同的云手机或瘦终端中设备本身屏幕型号、调制 解调器型号不同,则对应所需服务器端的显示能力、解码能力、网络能力不 同,但是现有技术中与终端设备连接的服务器无法根据不同的设备硬件信息 显示不同的采集结果。Existing cloud mobile phone solutions are based on cloud operating systems. The interaction between the cloud mobile terminal and the server-side operating system includes the interaction at the image level. The interaction based on the image level only involves image decoder capability information, display device capability information, audio playback capability information, network capability, local input device type, etc. The hardware capability independent of the operating system can enable cloud mobile phones and thin clients to start any operating system. Different cloud phones or thin terminals have different screen models and different modem models, corresponding to different display capabilities, decoding capabilities, and network capabilities of the required server. However, in the prior art, the server connected to the terminal device cannot Hardware information displays different acquisition results.

发明内容SUMMARY OF THE INVENTION

本公开实施例提供一种数据处理方法及系统,能够解决在基于图像传输 时,云端服务器无法灵活适配多个终端设备的问题。所述技术方案如下:The embodiments of the present disclosure provide a data processing method and system, which can solve the problem that the cloud server cannot flexibly adapt to multiple terminal devices during image-based transmission. The technical solution is as follows:

根据本公开实施例的第一方面,提供一种数据处理方法,应用于服务器, 该方法包括:According to a first aspect of the embodiments of the present disclosure, a data processing method is provided, applied to a server, and the method includes:

当检测到终端设备登录后,获取该终端设备对应的设备硬件信息,该设 备硬件信息包括屏幕信息和解码信息;After detecting that the terminal device is logged in, obtain the device hardware information corresponding to the terminal device, and the device hardware information includes screen information and decoding information;

根据该设备硬件信息,与该终端设备进行交互协商,生成目标协商信息, 该目标协商信息用于指示该服务器处理该终端设备发送数据时的策略信息。According to the device hardware information, interactive negotiation is performed with the terminal device to generate target negotiation information, where the target negotiation information is used to instruct the server to process policy information when the terminal device sends data.

根据本公开实施例的第二方面,提供一种数据处理方法,应用于终端设 备,该方法包括:According to a second aspect of the embodiments of the present disclosure, a data processing method is provided, applied to a terminal device, and the method includes:

获取该终端设备对应设备硬件信息,该设备硬件信息包括该终端设备对 应的屏幕信息、解码信息、设备类型、音频播放格式信息和音频解码格式信 息中至少一种信息;Obtain the device hardware information corresponding to the terminal device, and the device hardware information includes at least one information in screen information, decoding information, device type, audio playback format information and audio decoding format information corresponding to the terminal device;

向该服务器发送该设备硬件信息;Send the device hardware information to the server;

根据该设备硬件信息,与该服务器进行交互协商,获取目标协商信息, 该目标协商信息用于指示该服务器处理该终端设备发送数据时的策略信息。According to the device hardware information, interactive negotiation is performed with the server to obtain target negotiation information, where the target negotiation information is used to instruct the server to process policy information when the terminal device sends data.

根据本公开实施例的第三方面,提供一种数据处理系统,包括:服务器 和终端设备,该服务器和该终端设备相连接,According to a third aspect of the embodiments of the present disclosure, a data processing system is provided, comprising: a server and a terminal device, the server and the terminal device are connected,

该终端设备,用于获取该终端设备对应设备硬件信息,该设备硬件信息 包括该终端设备对应的屏幕信息、解码信息、设备类型、音频播放格式信息 和音频解码格式信息中至少一项信息;This terminal equipment is used to obtain the corresponding equipment hardware information of this terminal equipment, and this equipment hardware information includes at least one item of information in screen information, decoding information, equipment type, audio playback format information and audio decoding format information corresponding to this terminal equipment;

并根据该设备硬件信息,生成登录请求信息,该登录请求信息用于请求 登录该服务器,该登录请求信息包括该终端设备设备的硬件信息和标识信息;And according to this equipment hardware information, generate log-in request information, this log-in request information is used for requesting to log in this server, and this log-in request information includes hardware information and identification information of this terminal equipment;

向该服务器发送该登录请求信息;Send the login request information to the server;

该服务器,用于获取该登录请求信息,并根据该登录请求信息,获取该 终端设备对应的设备硬件信息;The server is used to obtain the login request information, and obtain the device hardware information corresponding to the terminal device according to the login request information;

并根据该设备硬件信息,与该终端设备进行交互协商,生成该终端设备 目标协商信息,该目标协商信息用于指示该服务器处理该终端设备发送数据 时的策略信息。And according to the device hardware information, interactive negotiation with the terminal device is performed to generate target negotiation information of the terminal device, and the target negotiation information is used to instruct the server to process policy information when the terminal device sends data.

在一个实施例中,该系统中的该服务器还用于,In one embodiment, the server in the system is also used to:

当获取该登录请求信息时,确定该终端设备登录的目标虚拟机,并获取 该目标虚拟机的标识信息;When acquiring the login request information, determine the target virtual machine to which the terminal device logs in, and acquire the identification information of the target virtual machine;

通过该目标虚拟机,获取该终端设备对应的设备硬件信息;Obtain the device hardware information corresponding to the terminal device through the target virtual machine;

通过该目标虚拟机处理该目标虚拟机的标识信息和该设备硬件信息,生 成目标协商信息。The target virtual machine processes the identification information of the target virtual machine and the device hardware information to generate target negotiation information.

在一个实施例中,该系统中设备硬件信息包括屏幕信息和解码信息,该 服务器在生成目标协商信息时,还用于,In one embodiment, the device hardware information in the system includes screen information and decoding information, and when generating the target negotiation information, the server is also used to:

根据该屏幕信息,获取该终端设备对应的目标采集分辨率;According to the screen information, obtain the target acquisition resolution corresponding to the terminal device;

根据该目标采集分辨率和该解码信息,获取该终端设备对应的目标采集 帧率;According to the target acquisition resolution and the decoding information, obtain the target acquisition frame rate corresponding to the terminal device;

根据该目标采集分辨率和该目标采集帧率,生成第一目标协商信息,该 第一目标协商信息用于指示服务器处理该终端设备发送图像时的策略信息, 该第一目标协商信息属于目标协商信息;Generate first target negotiation information according to the target acquisition resolution and the target acquisition frame rate, where the first target negotiation information is used to instruct the server to process policy information when the terminal device sends an image, and the first target negotiation information belongs to the target negotiation information;

其中,获取该终端设备对应的目标采集分辨率,包括:The acquisition of the target acquisition resolution corresponding to the terminal device includes:

解析该屏幕信息,根据解析结果,获取该屏幕信息中的屏幕类型;Parse the screen information, and obtain the screen type in the screen information according to the parsing result;

根据该屏幕类型,若该屏幕类型指示为固定分辨率类型,则获取该屏幕 类型对应的分类率,并根据该分辨率,获取目标采集分辨率;According to the screen type, if the screen type is indicated as a fixed resolution type, the classification rate corresponding to the screen type is obtained, and according to the resolution, the target acquisition resolution is obtained;

根据该屏幕类型,若该屏幕类型指示为分辨率可变类型,则获取该屏幕 信息中的EDID信息,根据该EDID信息中的分辨率,获取目标采集分辨率。According to the screen type, if the screen type is indicated as a variable resolution type, the EDID information in the screen information is acquired, and the target acquisition resolution is acquired according to the resolution in the EDID information.

在一个实施例中,该系统在获取该终端设备对应的目标采集帧率时,该 服务器还用于,In one embodiment, when the system acquires the target acquisition frame rate corresponding to the terminal device, the server is further configured to:

根据该解码信息,确定与该解码信息相对应的编码信息;According to the decoding information, determine the encoding information corresponding to the decoding information;

根据该编码信息确定该编码信息对应的至少一种预设帧率对应的预设编 码码流;Determine a preset encoding code stream corresponding to at least one preset frame rate corresponding to the encoding information according to the encoding information;

根据该预设编码码流和目标采集分辨率屏幕场频,确定该目标采集帧率。The target capture frame rate is determined according to the preset encoding code stream and the target capture resolution screen field frequency.

在一个实施例中,该系统中该设备硬件信息包括设备类型,该服务器在 生成目标协商信息时,还用于,In one embodiment, the device hardware information in the system includes the device type, and when the server generates the target negotiation information, it is also used to:

根据该设备类型,获取该设备类型对应的第二目标协商信息,该设备类 型是根据输入设备事件对应的坐标为相对坐标或绝对坐标确定,该第二目标 协商信息用于指示处理该设备类型所对应的输入设备事件的策略信息,该第 二目标协商信息属于目标协商信息。According to the device type, obtain the second target negotiation information corresponding to the device type, the device type is determined according to whether the coordinates corresponding to the input device event are relative coordinates or absolute coordinates, and the second target negotiation information is used to indicate the processing of the device type. The corresponding input device event policy information, the second target negotiation information belongs to the target negotiation information.

在一个实施例中,该系统中该设备硬件信息包括音频播放格式信息和音 频解码格式信息,该服务器在生成目标协商信息时,还用于:In one embodiment, the device hardware information in the system includes audio playback format information and audio decoding format information, and when the server generates target negotiation information, it is also used for:

根据该音频播放格式信息,获取目标音频采集格式;Obtain the target audio capture format according to the audio playback format information;

根据该音频解码格式信息,获取目标音频编码格式;According to the audio decoding format information, obtain the target audio encoding format;

根据该目标音频采集格式和该目标音频编码格式,生成第三目标协商信 息,该第三目标协商信息用于指示服务器处理该终端设备发送音频时的策略 信息。Generate third target negotiation information according to the target audio collection format and the target audio coding format, where the third target negotiation information is used to instruct the server to process policy information when the terminal device sends audio.

在一个实施例中,该系统中的该设备硬件信息包括屏幕信息,该终端设 备还用于:In one embodiment, the device hardware information in the system includes screen information, and the terminal device is also used for:

获取该终端设备对应的屏幕类型和与该屏幕类型相对应的分辨率;Obtain the screen type corresponding to the terminal device and the resolution corresponding to the screen type;

若该屏幕类型指示为固定分辨率类型,则获取该屏幕类型对应的分类率, 并根据该屏幕类型和该分辨率生成屏幕信息;If the screen type is indicated as a fixed resolution type, obtain the classification rate corresponding to the screen type, and generate screen information according to the screen type and the resolution;

若该屏幕类型指示为分辨率可变类型,则获取该屏幕信息中的EDID信 息,并根据该EDID信息和该屏幕类型,生成屏幕信息。If the screen type is indicated as a variable resolution type, the EDID information in the screen information is acquired, and screen information is generated according to the EDID information and the screen type.

在一个实施例中,该系统中的该系统中的终端设备,还用于,In one embodiment, the terminal device in the system in the system is further used for:

根据该目标协商信息,向该服务器发送目标数据,该目标数据包括图像、 音频或者输入设备事件中的至少一种;According to the target negotiation information, send target data to the server, where the target data includes at least one of image, audio or input device event;

根据该目标数据,获取与该目标协商信息相匹配的处理结果;According to the target data, obtain a processing result matching the target negotiation information;

该系统中的服务器还用于,根据该目标协商信息,处理该终端设备发送 的目标数据,并生成处理结果;The server in the system is also used to, according to the target negotiation information, process the target data sent by the terminal device, and generate a processing result;

向该终端设备发送该处理结果;Send the processing result to the terminal device;

其中该处理该目标数据,包括:The processing of the target data includes:

当该目标数据为目标图像时,根据该目标协商信息,确定该目标图像对 应的目标采集分辨率和目标采集帧率;When the target data is a target image, determine the target acquisition resolution and target acquisition frame rate corresponding to the target image according to the target negotiation information;

根据该目标采集分辨率和该目标采集帧率,采集该目标图像。The target image is collected according to the target acquisition resolution and the target acquisition frame rate.

应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性 的,并不能限制本公开。It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公 开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.

图1是本公开实施例提供的一种网络结构示意图;FIG. 1 is a schematic diagram of a network structure provided by an embodiment of the present disclosure;

图2是本公开实施例提供的一种数据处理方法的流程图1;FIG. 2 is a flowchart 1 of a data processing method provided by an embodiment of the present disclosure;

图3是本公开实施例提供的一种数据处理方法的流程图2;3 is a flowchart 2 of a data processing method provided by an embodiment of the present disclosure;

图4是本公开实施例提供的一种数据处理系统的结构图。FIG. 4 is a structural diagram of a data processing system provided by an embodiment of the present disclosure.

具体实施方式Detailed ways

这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的 描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的 要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所 有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一 些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. When the following description refers to the drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following illustrative examples are not intended to represent all implementations consistent with this disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as recited in the appended claims.

本公开实施例提供一种多媒体数据传输方法,应用于服务器和终端设备, 如图1所示,图1是本公开实施例提供的一种网络结构示意图,该网络适应 于互联网中,图1中服务器102与终端设备101之间可以互联网互相传输数 据。An embodiment of the present disclosure provides a multimedia data transmission method, which is applied to a server and a terminal device. As shown in FIG. 1 , FIG. 1 is a schematic diagram of a network structure provided by an embodiment of the present disclosure, and the network is suitable for the Internet. The server 102 and the terminal device 101 can transmit data to each other through the Internet.

实施例一Example 1

本公开实施例提供一种数据处理方法,如图2所示,该数据处理方法应 用于服务器,包括以下步骤:An embodiment of the present disclosure provides a data processing method. As shown in Figure 2, the data processing method is applied to a server and includes the following steps:

201、当检测到终端设备的登录后,获取该终端设备对应的设备硬件信息。201. After detecting the login of the terminal device, acquire device hardware information corresponding to the terminal device.

该设备硬件信息包括屏幕信息、解码信息、设备类型、音频播放格式信 息和音频解码格式信息中至少一种信息。The device hardware information includes at least one of screen information, decoding information, device type, audio playback format information and audio decoding format information.

本公开所提供方法中还包括确定终端设备是否成功登录,例如,通过获 取终端设备发送的登录信息,该登录信息包括账号信息、密码信息、安全信 息等;根据该终端设备的登录信息查找到与该终端设备相匹配的预设登录信 息;若二者一致,则确定终端设备已成功登录。The method provided by the present disclosure also includes determining whether the terminal device has successfully logged in, for example, by acquiring login information sent by the terminal device, where the login information includes account information, password information, security information, etc.; The preset login information that matches the terminal device; if the two are consistent, it is determined that the terminal device has successfully logged in.

本公开所提供方法可以先确定终端设备已成功登录,向终端设备发送反 馈信息,再根据该反馈信息获取设备硬件信息,也可以在确定终端设备已成 功登录后,解析该登录信息,该登录信息中包括设备硬件信息和终端设备的 标识信息,根据解析结果获取设备硬件信息。The method provided by the present disclosure can first determine that the terminal device has successfully logged in, send feedback information to the terminal device, and then obtain the device hardware information according to the feedback information, or parse the login information after it is determined that the terminal device has successfully logged in. It includes the device hardware information and the identification information of the terminal device, and the device hardware information is obtained according to the analysis result.

202、根据该设备硬件信息,与该设备硬件进行交互协商,生成目标协商 信息,该目标协商信息用于指示该服务器处理该终端设备发送数据时的策略 信息。202. Perform interactive negotiation with the device hardware according to the device hardware information to generate target negotiation information, where the target negotiation information is used to instruct the server to process policy information when the terminal device sends data.

本公开所提供的方法在生成协商信息时,还可以先通过终端设备的登录 信息确定该终端设备登录的目标虚拟机,通过该目标虚拟机处理该终端设备 的设备硬件信息,进一步的,也可以通过获取该目标虚拟机的标识信息和终 端设备的标识信息,建立目标映射,从而实现,当终端设备登录服务器时, 自动匹配虚拟机和目标协商信息。When generating the negotiation information in the method provided by the present disclosure, the target virtual machine to which the terminal device logs in may be determined first through the login information of the terminal device, and the device hardware information of the terminal device may be processed through the target virtual machine. By acquiring the identification information of the target virtual machine and the identification information of the terminal device, a target mapping is established, so that when the terminal device logs in to the server, the virtual machine and the target negotiation information are automatically matched.

本公开所提供的方法的协商信息只包括设备的硬件能力,不包含瘦终端 本身操作系统软件的能力。协商过程和服务器端操作系统无关,终端设备的 客户端连接不同的服务器端虚拟机即可启动不同操作系统。The negotiation information of the method provided by the present disclosure only includes the hardware capability of the device, and does not include the capability of the operating system software of the thin terminal itself. The negotiation process has nothing to do with the server-side operating system. The client of the terminal device can start different operating systems by connecting to different server-side virtual machines.

在具体实施过程中,该目标协商信息可以根据终端设备发送的数据进一 步的细分:In the specific implementation process, the target negotiation information can be further subdivided according to the data sent by the terminal device:

示例一:当终端设备发送的数据为图像类型,或者包含图像时,生成第 一目标协商信息的过程可以包括:Example 1: When the data sent by the terminal device is an image type or contains an image, the process of generating the first target negotiation information may include:

根据该屏幕信息,获取该终端设备对应的目标采集分辨率。According to the screen information, the target acquisition resolution corresponding to the terminal device is acquired.

根据该目标采集分辨率和该解码信息,获取该终端设备对应的目标采集 帧率。According to the target acquisition resolution and the decoding information, acquire the target acquisition frame rate corresponding to the terminal device.

根据该目标采集分辨率和目标采集帧率,生成目标图像信息,该目标图 像信息用于指示服务器处理该终端设备发送的图像时的处理。According to the target acquisition resolution and the target acquisition frame rate, target image information is generated, and the target image information is used to instruct the server to process the image sent by the terminal device.

其中,上述的所提供方法中获取该终端设备对应的采集信息,包括:Wherein, obtaining the collection information corresponding to the terminal device in the above-mentioned method includes:

解析该屏幕信息,根据解析结果,获取该屏幕信息中的屏幕类型;Parse the screen information, and obtain the screen type in the screen information according to the parsing result;

根据该屏幕类型,若该屏幕类型指示为固定分辨率类型,则获取该屏幕 类型对应的分类率,并根据该分辨率作为目标采集分辨率;According to the screen type, if the screen type is indicated as a fixed resolution type, the classification rate corresponding to the screen type is obtained, and the resolution is used as the target acquisition resolution;

根据该屏幕类型,若该屏幕类型指示为分辨率可变类型,则获取该屏幕 信息中的EDID信息,根据该EDID信息中的分辨率作为目标采集分辨率。 其中,EDID信息,即ExtendedDisplay Identification Data(扩展显示标识数 据),是一种VESA标准数据格式,其中包含有关监视器及其性能的参数, 包括供应商信息、最大图像大小、颜色设置、厂商预设置、频率范围的限制 以及显示器名和序列号的字符串。According to the screen type, if the screen type is indicated as a variable resolution type, the EDID information in the screen information is acquired, and the resolution in the EDID information is used as the target acquisition resolution. Among them, EDID information, namely Extended Display Identification Data (Extended Display Identification Data), is a VESA standard data format, which contains parameters related to the monitor and its performance, including supplier information, maximum image size, color settings, manufacturer presets , frequency range limits, and strings for the display name and serial number.

其中,本公开所提供方法中获取该终端设备对应的目标采集帧率,包括:Wherein, obtaining the target acquisition frame rate corresponding to the terminal device in the method provided by the present disclosure includes:

根据该解码信息,确定与该解码信息相对应的编码信息;According to the decoding information, determine the encoding information corresponding to the decoding information;

根据该编码信息确定该编码信息对应的至少一种预设帧率对应的预设编 码码流;Determine a preset encoding code stream corresponding to at least one preset frame rate corresponding to the encoding information according to the encoding information;

根据该预设编码码流和目标采集分辨率屏幕场频,确定该目标采集帧率。The target capture frame rate is determined according to the preset encoding code stream and the target capture resolution screen field frequency.

在具体的实施过程中,确定目标采集帧率还可以包括:服务器根据该设 备硬件信息,解析终端设备对应的视频解码器解码类型,根据解码类型确定 服务器的编码类型,并预估出不同帧率的编码码流,将该编码码流作为初始 采集帧率的确定参数之一。In the specific implementation process, determining the target acquisition frame rate may further include: the server analyzes the decoding type of the video decoder corresponding to the terminal device according to the hardware information of the device, determines the encoding type of the server according to the decoding type, and estimates different frame rates. The encoded code stream is used as one of the deterministic parameters of the initial acquisition frame rate.

服务器根据该设备硬件信息,解析终端设备对应的Modem速率标准, 将此作为初始采集帧率的确定参数之一,并结合终端设备的屏幕场频及预估 出的不同帧率的编码码流大小最终确定出采集帧率。According to the hardware information of the device, the server parses the Modem rate standard corresponding to the terminal device, and uses this as one of the parameters for determining the initial acquisition frame rate, combined with the screen field frequency of the terminal device and the estimated encoding stream size of different frame rates. The capture frame rate is finally determined.

本公开所提供的方法在生成第一目标协商信息后,在采集到终端设备发 送的数据时,会根据该第一目标协商信息处理该数据,具体的如,会根据终 端设备的屏幕分辨率,确定采集出适合该终端设备屏幕尺寸的图像;也会根 据终端设备的屏幕分辨率、屏幕场频和解调能力决定采集图像的初始帧率; 根据瘦终端的视频解码器能力输出对应格式的码流。After generating the first target negotiation information, the method provided by the present disclosure will process the data according to the first target negotiation information when collecting the data sent by the terminal device, specifically, according to the screen resolution of the terminal device, Determine to capture an image suitable for the screen size of the terminal device; also determine the initial frame rate of the captured image according to the screen resolution, screen field frequency and demodulation capability of the terminal device; output the corresponding format code according to the video decoder capability of the thin terminal flow.

示例二:Example two:

本公开所提供方法中服务器采集终端设备发送的数据,不仅仅包括图像 及图像组成的视频,还包括音频类型的数据,进而也需要根据终端设备的设 备硬件信息确定与之对应的目标协商信息。In the method provided by the present disclosure, the server collects the data sent by the terminal device, not only including images and videos composed of images, but also audio-type data, and furthermore, it is also necessary to determine the corresponding target negotiation information according to the device hardware information of the terminal device.

本公开所提供方法中,该设备硬件信息包括音频播放格式信息和音频解 码格式信息,该方法还包括:In the method provided by the present disclosure, the device hardware information includes audio playback format information and audio decoding format information, and the method also includes:

根据该音频播放格式信息,获取目标音频采集格式;Obtain the target audio capture format according to the audio playback format information;

根据该音频解码格式信息,获取目标音频编码格式;According to the audio decoding format information, obtain the target audio encoding format;

根据该目标音频采集格式和该目标音频编码格式,生成第三目标协商信 息,该第三目标协商信息用于指示服务器处理该终端设备发送音频时的策略 信息。Generate third target negotiation information according to the target audio collection format and the target audio coding format, where the third target negotiation information is used to instruct the server to process policy information when the terminal device sends audio.

示例三:本公开所提供方法中服务器采集终端设备发送的数据,还可以 是输入设备的数据,比如,具体的输入设备事件可以包括遥感手柄输入事件、 鼠标输入事件、键盘输入事件等输入设备触发的事件,不同的输入设备事件 对应的坐标类型不同,如触摸屏点击对应的绝对坐标类型;鼠标移动事件对 应的相对坐标类型。Example 3: In the method provided by the present disclosure, the server collects the data sent by the terminal device, and can also be the data of the input device. For example, the specific input device event may include remote sensing handle input events, mouse input events, keyboard input events and other input device triggering events event, the coordinate types corresponding to different input device events are different, such as the absolute coordinate type corresponding to the touch screen click; the relative coordinate type corresponding to the mouse movement event.

本公开所提供方法中该设备硬件信息包括设备类型,该方法还包括:In the method provided by the present disclosure, the device hardware information includes the device type, and the method further includes:

根据该设备类型,获取该设备类型对应的第二目标协商信息,该设备类 型可以根据输入设备事件对应的坐标为相对坐标或绝对坐标确定,该第二目 标协商信息用于指示处理该设备类型相对应的输入设备事件的策略信息。According to the device type, obtain the second target negotiation information corresponding to the device type. The device type can be determined according to whether the coordinates corresponding to the input device event are relative coordinates or absolute coordinates. The second target negotiation information is used to instruct the processing of the device type. Policy information for the corresponding input device event.

通过该第二协商策略可以在检测到终端设备输入设备事件时快速、准确 的处理该事件,达到与终端设备统一的显示效果。Through the second negotiation strategy, when a terminal device input device event is detected, the event can be processed quickly and accurately, so as to achieve a unified display effect with the terminal device.

本公开实施例提供的数据处理方法,应用于服务器,当检测到终端设备 登录后,获取该终端设备对应的设备硬件信息,与终端设备协商处理后,根 据该设备硬件信息获取目标协商信息,具体的获取目标协商信息包括:根据 该设备硬件信息中的屏幕信息,获取该终端设备对应的目标采集分辨率;根 据该设备硬件信息中的采集分辨率和该解码信息,获取该终端设备对应的目 标采集帧率;根据该设备硬件信息中的音频播放格式信息获取目标音频采集 格式,根据该设备硬件信息中的音频解码格式信息获取目标音频编码格式。当服务器处理终端设备发送的目标数据时,可以根据该目标协商信息确定目 标数据的采集信息、解码信息等信息,从而达到当有多个不同的使终端设备 连接同一个虚拟机时,其显示效果不同的目的,提高了数据处理的灵活度和 准确度。The data processing method provided by the embodiment of the present disclosure is applied to a server. After detecting that a terminal device is logged in, the device hardware information corresponding to the terminal device is obtained, and after negotiating with the terminal device, the target negotiation information is obtained according to the device hardware information. The acquisition of target negotiation information includes: acquiring the target acquisition resolution corresponding to the terminal device according to the screen information in the device hardware information; acquiring the target corresponding to the terminal device according to the acquisition resolution in the device hardware information and the decoding information Capture frame rate; obtain the target audio capture format according to the audio playback format information in the hardware information of the device, and obtain the target audio encoding format according to the audio decoding format information in the hardware information of the device. When the server processes the target data sent by the terminal device, it can determine the collection information, decoding information and other information of the target data according to the target negotiation information, so as to achieve the display effect when there are multiple different terminal devices connected to the same virtual machine. For different purposes, the flexibility and accuracy of data processing are improved.

实施例二Embodiment 2

基于上述图1、图2对应的实施例提供的数据处理方法,本公开另一实 施例提供一种数据处理方法,该方法可以应用于终端设备。参照图3所示, 本实施例提供的数据处理方法包括以下步骤:Based on the data processing methods provided by the above-mentioned embodiments corresponding to FIG. 1 and FIG. 2 , another embodiment of the present disclosure provides a data processing method, which can be applied to a terminal device. 3, the data processing method provided by this embodiment includes the following steps:

301、获取该终端设备对应设备硬件信息。301. Obtain device hardware information corresponding to the terminal device.

该设备硬件信息包括该终端设备对应的屏幕信息、解码信息、设备类型、 音频播放格式信息和音频解码格式信息中至少一种信息。The device hardware information includes at least one of screen information, decoding information, device type, audio playback format information, and audio decoding format information corresponding to the terminal device.

本公开所提供的方法中获取该终端设备对应设备硬件信息中的屏幕信 息,包括:In the method provided by the present disclosure, the screen information in the hardware information corresponding to the terminal device is obtained, including:

获取该终端设备对应的屏幕类型和与该屏幕类型相对应的分辨率;Obtain the screen type corresponding to the terminal device and the resolution corresponding to the screen type;

若该屏幕类型指示为固定分辨率类型,则获取该屏幕类型对应的分类率, 并根据该屏幕类型和该分辨率生成屏幕信息;If the screen type is indicated as a fixed resolution type, obtain the classification rate corresponding to the screen type, and generate screen information according to the screen type and the resolution;

本公开所提供的方法中获取该终端设备对应设备硬件信息中的解码信 息,包括:In the method provided by the present disclosure, the decoding information in the hardware information corresponding to the terminal device is obtained, including:

获取视频硬件解码器类型,如H.264解码策略、H.265解码策略或终端 设备自定义解码标准,根据该视频硬件解码器类型,获取解码信息。Get the video hardware decoder type, such as H.264 decoding strategy, H.265 decoding strategy, or terminal device custom decoding standard, and obtain decoding information according to the video hardware decoder type.

进一步的,获取终端设备对应的Modem支持的LTE上传下载速率标准, 写入设备硬件信息描述符。如CAT8网线类型、CAT10网线类型等。Further, the LTE upload and download rate standard supported by the Modem corresponding to the terminal device is obtained, and the device hardware information descriptor is written. Such as CAT8 network cable type, CAT10 network cable type, etc.

本公开所提供的方法中获取该终端设备对应设备硬件信息中的设备类 型,包括:Obtaining the device type in the hardware information of the terminal device corresponding to the device in the method provided by the present disclosure includes:

获取终端设备对应的每个输入设备的类型,该输入设备的类型可以根据 坐标确定,如包括绝对坐标类输入设备如触摸屏、相对坐标类输入设备如鼠 标、按键类设备如键盘及键盘标准;Obtain the type of each input device corresponding to the terminal device, and the type of the input device can be determined according to the coordinates, such as including absolute coordinate input devices such as touch screens, relative coordinates input devices such as mice, key devices such as keyboards and keyboard standards;

根据该每个输入设备的类型,获取设备类型。According to the type of each input device, the device type is obtained.

本公开所提供的方法中获取该终端设备对应设备硬件信息中的音频格式 信息,包括:终端设备对应的声道数、采样率、采样数据格式(是否是交错 式、采样位宽、采样字节序、无符号还是有符号。In the method provided by the present disclosure, the audio format information in the hardware information corresponding to the terminal device is obtained, including: the number of channels corresponding to the terminal device, the sampling rate, the sampling data format (whether it is interleaved, the sampling bit width, the sampling byte ordinal, unsigned, or signed.

本公开所提供的方法中获取该终端设备对应设备硬件信息中音频解码格 式信息可以音频解码器支持的编解码类型获取。In the method provided by the present disclosure, the audio decoding format information in the hardware information of the corresponding device of the terminal device can be acquired by the codec type supported by the audio decoder.

302、向该服务器发送该设备硬件信息。302. Send the device hardware information to the server.

本公开所提供方法中向该服务器发送该设备硬件信息,可以直接向服务 器发送,也可以先登录服务器,在确定成功登录服务器后,再发送该设备硬 件信息,进一步的登录服务器的登录请求信息中可以包括该设备的硬件信息。In the method provided by the present disclosure, the hardware information of the device is sent to the server, which can be sent directly to the server, or the server can be logged in first, and the hardware information of the device can be sent after it is determined that the server is successfully logged in. Can include hardware information for the device.

303、根据该设备硬件信息,与该服务器进行交互协商,获取目标协商信 息,该目标协商信息用于指示该服务器处理该终端设备发送数据时的策略信 息。303. Perform interactive negotiation with the server according to the device hardware information to obtain target negotiation information, where the target negotiation information is used to instruct the server to process policy information when the terminal device sends data.

本公开所提供的方法中还包括:根据该目标协商信息,向该服务器发送 目标数据,该目标数据包括图像、音频或者输入设备事件中的至少一种;The method provided by the present disclosure also includes: according to the target negotiation information, sending target data to the server, where the target data includes at least one of images, audio or input device events;

根据该目标数据,获取与该目标协商信息相匹配的处理结果,例如服务 器显示与终端设备显示屏幕相匹配的图像。According to the target data, a processing result matching the target negotiation information is obtained, for example, the server displays an image matching the display screen of the terminal device.

本公开所提供的终端设备具有网络能力、解码能力、输入设备事件捕获 能力、图像显示能力和音频播放能力,The terminal device provided by the present disclosure has network capability, decoding capability, input device event capture capability, image display capability and audio playback capability,

协商过程和服务器端操作系统无关,客户端连接不同的服务器端虚拟机 即可启动不同操作系统。The negotiation process has nothing to do with the server-side operating system. The client can start different operating systems by connecting to different server-side virtual machines.

本公开实施例提供的数据处理方法,终端设备先获取终端设备自身的设 备硬件信息,再通过登录服务器将该设备硬件信息向服务器发送,通过与服 务器协商过程,获取目标协商信息,通过该目标协商信息服务器会按照终端 设备的屏幕分辨率采集出适合该屏幕尺寸的图像;根据终端设备屏幕场频和 Modem能力决定采集图像的初始帧率;根据终端设备的视频解码器能力输出 对应格式的码流;根据终端设备本地输入设备的类型接收并解析来自终端设 备的输入设备事件,如触摸屏点击的绝对坐标或鼠标移动的相对坐标。从而 达到用户使用不同的终端设备连接同一个虚拟机,其显示效果不同的目的。In the data processing method provided by the embodiment of the present disclosure, the terminal device first obtains the device hardware information of the terminal device itself, then sends the device hardware information to the server through the login server, obtains the target negotiation information through the negotiation process with the server, and obtains the target negotiation information through the target negotiation process. The information server will collect an image suitable for the screen size according to the screen resolution of the terminal device; determine the initial frame rate of the captured image according to the screen field frequency and Modem capability of the terminal device; output the code stream in the corresponding format according to the video decoder capability of the terminal device ; Receive and parse input device events from the terminal device according to the type of the local input device of the terminal device, such as the absolute coordinates of the touch screen click or the relative coordinates of the mouse movement. Thereby, users can connect to the same virtual machine using different terminal devices, and the display effect will be different.

实施例三Embodiment 3

基于上述图1、图2、图3对应的实施例中所描述的数据处理方法,下述 为本公开系统实施例,可以用于执行本公开方法实施例。Based on the data processing methods described in the embodiments corresponding to FIG. 1 , FIG. 2 , and FIG. 3 , the following system embodiments of the present disclosure can be used to execute the method embodiments of the present disclosure.

本公开实施例提供一种数据处理系统40,如图4所示,包括:服务器402 和终端设备401,该服务器402和该终端设备401相连接,An embodiment of the present disclosure provides a data processing system 40, as shown in FIG. 4, including: a server 402 and a terminal device 401, the server 402 is connected to the terminal device 401,

该终端设备401,用于获取该终端设备401对应设备硬件信息,该设备 硬件信息包括该终端设备401对应的屏幕信息、解码信息、设备类型、音频 播放格式信息和音频解码格式信息中至少一项信息;The terminal device 401 is used to acquire device hardware information corresponding to the terminal device 401, where the device hardware information includes at least one of screen information, decoding information, device type, audio playback format information and audio decoding format information corresponding to the terminal device 401 information;

并根据该设备硬件信息,生成登录请求信息,该登录请求信息用于请求 登录该服务器402,该登录请求信息包括该终端设备401设备的硬件信息和 标识信息;And according to this equipment hardware information, generate log-in request information, this log-in request information is used to request to log in this server 402, and this log-in request information includes hardware information and identification information of this terminal equipment 401 equipment;

并向该服务器402发送该登录请求信息。And send the login request information to the server 402 .

在可选实施例中,该系统40中的终端设备401还用于,In an optional embodiment, the terminal device 401 in the system 40 is further used to:

获取该终端设备401对应的屏幕类型和与该屏幕类型相对应的分辨率;Obtain the screen type corresponding to the terminal device 401 and the resolution corresponding to the screen type;

若该屏幕类型指示为固定分辨率类型,则获取该屏幕类型对应的分类率, 并根据该屏幕类型和该分辨率生成屏幕信息;If the screen type is indicated as a fixed resolution type, obtain the classification rate corresponding to the screen type, and generate screen information according to the screen type and the resolution;

若该屏幕类型指示为分辨率可变类型,则获取该屏幕信息中的EDID信 息,并根据该EDID信息和该屏幕类型,生成屏幕信息。If the screen type is indicated as a variable resolution type, the EDID information in the screen information is acquired, and screen information is generated according to the EDID information and the screen type.

在可选实施例中,该系统40中的终端设备401还用于,In an optional embodiment, the terminal device 401 in the system 40 is further used to:

根据该目标协商信息,向该服务器402发送目标数据,该目标数据包括 图像、音频或者输入设备事件中的至少一种;According to the target negotiation information, send target data to the server 402, and the target data includes at least one of image, audio or input device event;

根据该目标数据,获取与该目标协商信息相匹配的处理结果;According to the target data, obtain a processing result matching the target negotiation information;

该服务器402,用于获取该登录请求信息,并根据该登录请求信息,获 取该终端设备401对应的设备硬件信息;The server 402 is used to obtain the login request information, and according to the login request information, obtain the device hardware information corresponding to the terminal device 401;

并根据该设备硬件信息,与该终端设备401进行交互协商,生成该终端 设备401目标协商信息,该目标协商信息用于指示该服务器402处理该终端 设备401发送数据时的策略信息。And according to the device hardware information, interactive negotiation with the terminal device 401 is performed to generate target negotiation information for the terminal device 401, and the target negotiation information is used to instruct the server 402 to process policy information when the terminal device 401 sends data.

在可选实施例中,该系统40中的该服务器402还用于,In an optional embodiment, the server 402 in the system 40 is further configured to:

当获取该登录请求信息时,确定该终端设备401登录的目标虚拟机,并 获取该目标虚拟机的标识信息;When acquiring the login request information, determine the target virtual machine that the terminal device 401 logs in, and acquire the identification information of the target virtual machine;

通过该目标虚拟机,获取该终端设备401对应的设备硬件信息;Obtain the device hardware information corresponding to the terminal device 401 through the target virtual machine;

通过该目标虚拟机处理该目标虚拟机的标识信息和该设备硬件信息,生 成目标协商信息。The target virtual machine processes the identification information of the target virtual machine and the device hardware information to generate target negotiation information.

在可选实施例中,该系统40中的该设备硬件信息包括屏幕信息和解码信 息,该服务器402在生成目标协商信息时,还用于,In an optional embodiment, the device hardware information in the system 40 includes screen information and decoding information, and when the server 402 generates the target negotiation information, it is also used for:

根据该屏幕信息,获取该终端设备401对应的目标采集分辨率;According to the screen information, obtain the target acquisition resolution corresponding to the terminal device 401;

根据该目标采集分辨率和该解码信息,获取该终端设备401对应的目标 采集帧率;According to this target collection resolution and this decoding information, obtain the target collection frame rate corresponding to this terminal device 401;

根据该目标采集分辨率和该目标采集帧率,生成第一目标协商信息,该 第一目标协商信息用于指示服务器402处理该终端设备401发送图像时的策 略信息,该第一目标协商信息属于目标协商信息;According to the target acquisition resolution and the target acquisition frame rate, first target negotiation information is generated, where the first target negotiation information is used to instruct the server 402 to process policy information when the terminal device 401 sends an image, and the first target negotiation information belongs to target negotiation information;

其中,获取该终端设备401对应的目标采集分辨率,包括:Wherein, acquiring the target acquisition resolution corresponding to the terminal device 401 includes:

解析该屏幕信息,根据解析结果,获取该屏幕信息中的屏幕类型;Parse the screen information, and obtain the screen type in the screen information according to the parsing result;

根据该屏幕类型,若该屏幕类型指示为固定分辨率类型,则获取该屏幕 类型对应的分类率,并根据该分辨率,获取目标采集分辨率;According to the screen type, if the screen type is indicated as a fixed resolution type, the classification rate corresponding to the screen type is obtained, and according to the resolution, the target acquisition resolution is obtained;

根据该屏幕类型,若该屏幕类型指示为分辨率可变类型,则获取该屏幕 信息中的EDID信息,根据该EDID信息中的分辨率,获取目标采集分辨率。According to the screen type, if the screen type is indicated as a variable resolution type, the EDID information in the screen information is acquired, and the target acquisition resolution is acquired according to the resolution in the EDID information.

在可选实施例中,该系统40中服务器402在获取该终端设备401对应的 目标采集帧率时,该服务器402还用于,In an optional embodiment, when the server 402 in the system 40 obtains the target acquisition frame rate corresponding to the terminal device 401, the server 402 is also used to:

根据该解码信息,确定与该解码信息相对应的编码信息;According to the decoding information, determine the encoding information corresponding to the decoding information;

根据该编码信息确定该编码信息对应的至少一种预设帧率对应的预设编 码码流;Determine a preset encoding code stream corresponding to at least one preset frame rate corresponding to the encoding information according to the encoding information;

根据该预设编码码流和目标采集分辨率屏幕场频,确定该目标采集帧率。The target capture frame rate is determined according to the preset encoding code stream and the target capture resolution screen field frequency.

在可选实施例中,该系统40中的该设备硬件信息包括设备类型,该服务 器402在生成目标协商信息时,还用于,In an optional embodiment, the device hardware information in the system 40 includes a device type, and when the server 402 generates the target negotiation information, it is also used to:

根据该设备类型,获取该设备类型对应的第二目标协商信息,该设备类 型是根据输入设备事件对应的坐标为相对坐标或绝对坐标确定,该第二目标 协商信息用于指示处理该设备类型所对应的输入设备事件的策略信息,该第 二目标协商信息属于目标协商信息。According to the device type, obtain the second target negotiation information corresponding to the device type, the device type is determined according to whether the coordinates corresponding to the input device event are relative coordinates or absolute coordinates, and the second target negotiation information is used to indicate the processing of the device type. The corresponding input device event policy information, the second target negotiation information belongs to the target negotiation information.

在可选实施例中,该系统40中的该设备硬件信息包括音频播放格式信息 和音频解码格式信息,该服务器402在生成目标协商信息时,还用于:In an optional embodiment, the device hardware information in the system 40 includes audio playback format information and audio decoding format information, and when the server 402 generates target negotiation information, it is also used for:

根据该音频播放格式信息,获取目标音频采集格式;Obtain the target audio capture format according to the audio playback format information;

根据该音频解码格式信息,获取目标音频编码格式;According to the audio decoding format information, obtain the target audio encoding format;

根据该目标音频采集格式和该目标音频编码格式,生成第三目标协商信 息,该第三目标协商信息用于指示服务器402处理该终端设备401发送音频 时的策略信息。According to the target audio collection format and the target audio encoding format, generate third target negotiation information, where the third target negotiation information is used to instruct the server 402 to process policy information when the terminal device 401 sends audio.

在可选实施例中,该系统40中的该设备硬件信息包括屏幕信息,In an optional embodiment, the device hardware information in the system 40 includes screen information,

该系统中的服务器402还用于,根据该目标协商信息,处理该终端设备 401发送的目标数据,并生成处理结果;The server 402 in the system is further configured to, according to the target negotiation information, process the target data sent by the terminal device 401, and generate a processing result;

向该终端设备401发送该处理结果;Send the processing result to the terminal device 401;

其中该处理该目标数据,包括:The processing of the target data includes:

当该目标数据为目标图像时,根据该目标协商信息,确定该目标图像对 应的目标采集分辨率和目标采集帧率;When the target data is a target image, determine the target acquisition resolution and target acquisition frame rate corresponding to the target image according to the target negotiation information;

根据该目标采集分辨率和该目标采集帧率,采集该目标图像。The target image is collected according to the target acquisition resolution and the target acquisition frame rate.

其中该处理该目标数据,还包括:The processing of the target data also includes:

当该目标数据为目标音频时,根据该目标协商信息,确定该目标音频对 应的目标音频采集格式和目标音频编码格式;When this target data is target audio, according to this target negotiation information, determine the target audio collection format and target audio coding format corresponding to this target audio;

根据该目标音频采集格式采集目标音频,根据该目标音频编码格式编码 处理该目标音频。The target audio is collected according to the target audio collection format, and the target audio is encoded and processed according to the target audio coding format.

本公开实施例提供的数据处理系统,包括终端设备和服务器,终端设备 先获取该终端设备自身的设备硬件信息,再通过登录服务器将该设备硬件信 息向服务器发送,当服务器检测到终端设备登录后,获取该终端设备对应的 设备硬件信息,服务器与终端设备协商处理后,根据该设备硬件信息获取目 标协商信息,具体的获取目标协商信息包括:根据该设备硬件信息中的屏幕 信息,获取该终端设备对应的目标采集分辨率;根据该设备硬件信息中的采 集分辨率和该解码信息,获取该终端设备对应的目标采集帧率;根据该设备硬件信息中的音频播放格式信息获取目标音频采集格式,根据该设备硬件信 息中的音频解码格式信息获取目标音频编码格式。当服务器处理终端设备发 送的目标数据时,可以根据该目标协商信息确定目标数据的采集信息、解码 信息等信息,从而达到当有多个不同的使终端设备连接同一个虚拟机时,其 显示效果不同的目的,提高了数据处理的灵活度和准确度。The data processing system provided by the embodiments of the present disclosure includes a terminal device and a server. The terminal device first obtains the device hardware information of the terminal device itself, and then sends the device hardware information to the server through the login server. When the server detects that the terminal device is logged in , obtain the device hardware information corresponding to the terminal device, and after the server negotiates with the terminal device, obtain the target negotiation information according to the device hardware information, and the specific acquisition of the target negotiation information includes: according to the screen information in the device hardware information, obtain the terminal The target acquisition resolution corresponding to the device; obtain the target acquisition frame rate corresponding to the terminal device according to the acquisition resolution and the decoding information in the hardware information of the device; acquire the target audio acquisition format according to the audio playback format information in the hardware information of the device , and obtain the target audio encoding format according to the audio decoding format information in the hardware information of the device. When the server processes the target data sent by the terminal device, it can determine the collection information, decoding information and other information of the target data according to the target negotiation information, so as to achieve the display effect when there are multiple different terminal devices connected to the same virtual machine. For different purposes, the flexibility and accuracy of data processing are improved.

基于上述图2和图3对应的实施例中所描述的数据处理方法,本公开实 施例还提供一种计算机可读存储介质,例如,非临时性计算机可读存储介质 可以是只读存储器(英文:Read Only Memory,ROM)、随机存取存储器(英 文:Random Access Memory,RAM)、CD-ROM、磁带、软盘和光数据存储 装置等。该存储介质上存储有计算机指令,用于执行上述图2和图3对应的 实施例中所描述的数据处理方法,此处不再赘述。Based on the data processing methods described in the embodiments corresponding to FIG. 2 and FIG. 3 , an embodiment of the present disclosure further provides a computer-readable storage medium, for example, a non-transitory computer-readable storage medium may be a read-only memory (English). : Read Only Memory, ROM), random access memory (English: Random Access Memory, RAM), CD-ROM, magnetic tape, floppy disk and optical data storage devices, etc. Computer instructions are stored on the storage medium for executing the data processing methods described in the embodiments corresponding to Fig. 2 and Fig. 3, which are not repeated here.

本领域技术人员在考虑说明书及实践这里公开的公开后,将容易想到本 公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性 变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公 开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被 视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the present disclosure will readily occur to those skilled in the art upon consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or techniques in the technical field not disclosed by the present disclosure . The specification and examples are to be regarded as exemplary only, with the true scope and spirit of the disclosure being indicated by the following claims.

Claims (10)

1. A data processing system is characterized by comprising a server and a terminal device, wherein the server is connected with the terminal device,
The terminal device is used for acquiring device hardware information corresponding to the terminal device, wherein the device hardware information comprises at least one item of information of screen information, decoding information, device type, audio playing format information and audio decoding format information corresponding to the terminal device;
generating login request information according to the equipment hardware information, wherein the login request information is used for requesting to login the server and comprises the hardware information and the identification information of the terminal equipment;
sending the login request information to the server;
the server is used for acquiring the login request information and acquiring equipment hardware information corresponding to the terminal equipment according to the login request information;
and according to the hardware information of the equipment, carrying out interactive negotiation with the terminal equipment to generate target negotiation information of the terminal equipment, wherein the target negotiation information is used for indicating strategy information when the server processes data sent by the terminal equipment.
2. The system of claim 1, wherein the server is further configured to,
when the login request information is acquired, determining a target virtual machine logged in by the terminal equipment, and acquiring identification information of the target virtual machine;
Acquiring equipment hardware information corresponding to the terminal equipment through the target virtual machine;
and processing the identification information of the target virtual machine and the equipment hardware information by the target virtual machine to generate target negotiation information.
3. The system of claim 1, wherein the device hardware information includes screen information and decoding information, the server, in generating the target negotiation information, is further configured to,
acquiring a target acquisition resolution corresponding to the terminal equipment according to the screen information;
acquiring a target acquisition frame rate corresponding to the terminal equipment according to the target acquisition resolution and the decoding information;
generating first target negotiation information according to the target acquisition resolution and the target acquisition frame rate, wherein the first target negotiation information is used for indicating a server to process strategy information when the terminal equipment sends an image, and the first target negotiation information belongs to target negotiation information;
the acquiring of the target acquisition resolution corresponding to the terminal device includes:
analyzing the screen information, and acquiring the screen type in the screen information according to the analysis result;
according to the screen type, if the screen type indicates a fixed resolution type, obtaining a classification rate corresponding to the screen type, and obtaining a target acquisition resolution according to the resolution;
And according to the screen type, if the screen type indicates a resolution variable type, obtaining EDID information in the screen information, and according to the resolution in the EDID information, obtaining a target acquisition resolution.
4. The system according to claim 3, wherein the server is further configured to, when obtaining the target frame rate for acquisition corresponding to the terminal device,
determining coding information corresponding to the decoding information according to the decoding information;
determining a preset coding code stream corresponding to at least one preset frame rate corresponding to the coding information according to the coding information;
and determining the target acquisition frame rate according to the preset coding code stream and the target acquisition resolution screen field frequency.
5. The system of claim 1, wherein the device hardware information includes a device type, wherein the server, when generating the target negotiation information, is further configured to,
and acquiring second target negotiation information corresponding to the equipment type according to the equipment type, wherein the equipment type is determined by taking a coordinate corresponding to an input equipment event as a relative coordinate or an absolute coordinate, the second target negotiation information is used for indicating strategy information for processing the input equipment event corresponding to the equipment type, and the second target negotiation information belongs to the target negotiation information.
6. The system of claim 1, wherein the device hardware information comprises audio playback format information and audio decoding format information, and wherein the server, when generating the target negotiation information, is further configured to:
acquiring a target audio acquisition format according to the audio playing format information;
acquiring a target audio coding format according to the audio decoding format information;
and generating third target negotiation information according to the target audio acquisition format and the target audio coding format, wherein the third target negotiation information is used for instructing a server to process strategy information when the terminal equipment sends audio.
7. The system of claim 1, wherein the device hardware information comprises screen information, and wherein the terminal device is further configured to:
acquiring a screen type corresponding to the terminal equipment and a resolution corresponding to the screen type;
if the screen type indication is a fixed resolution type, obtaining a classification rate corresponding to the screen type, and generating screen information according to the screen type and the resolution;
and if the screen type indicates a resolution variable type, obtaining EDID information in the screen information, and generating the screen information according to the EDID information and the screen type.
8. The system of claim 1, wherein the terminal device in the system is further configured to,
sending target data to the server according to the target negotiation information, wherein the target data comprises at least one of images, audio or input equipment events;
acquiring a processing result matched with the target negotiation information according to the target data;
the server in the system is further configured to process target data sent by the terminal device according to the target negotiation information, and generate a processing result;
sending the processing result to the terminal equipment;
wherein said processing said target data comprises:
when the target data is a target image, determining a target acquisition resolution and a target acquisition frame rate corresponding to the target image according to the target negotiation information;
and acquiring the target image according to the target acquisition resolution and the target acquisition frame rate.
9. A data processing method is applied to a server, and the method comprises the following steps:
acquiring login request information sent by terminal equipment, and acquiring equipment hardware information corresponding to the terminal equipment according to the login request information, wherein the equipment hardware information comprises screen information and decoding information;
And performing interactive negotiation with the terminal equipment according to the equipment hardware information to generate target negotiation information, wherein the target negotiation information is used for indicating strategy information when the server processes data sent by the terminal equipment.
10. A data processing method is applied to a terminal device, and the method comprises the following steps:
acquiring device hardware information corresponding to the terminal device, wherein the device hardware information comprises at least one of screen information, decoding information, device type, audio playing format information and audio decoding format information corresponding to the terminal device;
sending the device hardware information to the server;
and carrying out interactive negotiation with the server according to the hardware information of the equipment to obtain target negotiation information, wherein the target negotiation information is used for indicating strategy information when the server processes the data sent by the terminal equipment.
CN202010450669.6A 2020-05-25 2020-05-25 Data processing method and system Active CN111866058B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202410182111.2A CN118158206A (en) 2020-05-25 2020-05-25 Data processing method, server and terminal equipment
CN202010450669.6A CN111866058B (en) 2020-05-25 2020-05-25 Data processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010450669.6A CN111866058B (en) 2020-05-25 2020-05-25 Data processing method and system

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202410182111.2A Division CN118158206A (en) 2020-05-25 2020-05-25 Data processing method, server and terminal equipment

Publications (2)

Publication Number Publication Date
CN111866058A true CN111866058A (en) 2020-10-30
CN111866058B CN111866058B (en) 2024-02-27

Family

ID=72985968

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202010450669.6A Active CN111866058B (en) 2020-05-25 2020-05-25 Data processing method and system
CN202410182111.2A Pending CN118158206A (en) 2020-05-25 2020-05-25 Data processing method, server and terminal equipment

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN202410182111.2A Pending CN118158206A (en) 2020-05-25 2020-05-25 Data processing method, server and terminal equipment

Country Status (1)

Country Link
CN (2) CN111866058B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113010245A (en) * 2021-02-24 2021-06-22 杭州雾联科技有限公司 Method and device for creating virtual display, electronic equipment and storage medium
CN114302095A (en) * 2021-12-23 2022-04-08 海信视像科技股份有限公司 Display device and video stream processing method for display device
CN115643438A (en) * 2022-09-29 2023-01-24 海信视像科技股份有限公司 Display device, terminal device and mirror image screen projection method
WO2023142714A1 (en) * 2022-01-27 2023-08-03 腾讯科技(深圳)有限公司 Video processing collaboration method, apparatus, device, and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1538707A (en) * 2003-10-24 2004-10-20 中国科学院计算技术研究所 An Adaptive Multimedia Distributed Playing Method in Terminal Application Protocol
CN104486665A (en) * 2014-12-31 2015-04-01 乐视致新电子科技(天津)有限公司 Remote assistance method and device of mobile terminal
CN105183308A (en) * 2015-07-27 2015-12-23 努比亚技术有限公司 Picture display method and apparatus
CN105992028A (en) * 2015-02-13 2016-10-05 腾讯科技(深圳)有限公司 Decoding strategy determination method and server
CN106034241A (en) * 2015-03-19 2016-10-19 华为技术有限公司 Method, device and system for multimedia redirection
CN108683498A (en) * 2018-05-14 2018-10-19 国网江西省电力有限公司电力科学研究院 A kind of cloud terminal management-control method based on changeable key national secret algorithm
CN108900856A (en) * 2018-07-26 2018-11-27 腾讯科技(深圳)有限公司 A kind of video frame rate prediction technique, device and equipment
CN109246307A (en) * 2018-10-19 2019-01-18 西安万像电子科技有限公司 Data transmission method and device
US20190091568A1 (en) * 2017-09-28 2019-03-28 Universal Entertainment Corporation Server, information processor, recording medium, and game controlling method

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1538707A (en) * 2003-10-24 2004-10-20 中国科学院计算技术研究所 An Adaptive Multimedia Distributed Playing Method in Terminal Application Protocol
CN104486665A (en) * 2014-12-31 2015-04-01 乐视致新电子科技(天津)有限公司 Remote assistance method and device of mobile terminal
CN105992028A (en) * 2015-02-13 2016-10-05 腾讯科技(深圳)有限公司 Decoding strategy determination method and server
CN106034241A (en) * 2015-03-19 2016-10-19 华为技术有限公司 Method, device and system for multimedia redirection
CN105183308A (en) * 2015-07-27 2015-12-23 努比亚技术有限公司 Picture display method and apparatus
US20190091568A1 (en) * 2017-09-28 2019-03-28 Universal Entertainment Corporation Server, information processor, recording medium, and game controlling method
CN108683498A (en) * 2018-05-14 2018-10-19 国网江西省电力有限公司电力科学研究院 A kind of cloud terminal management-control method based on changeable key national secret algorithm
CN108900856A (en) * 2018-07-26 2018-11-27 腾讯科技(深圳)有限公司 A kind of video frame rate prediction technique, device and equipment
CN109246307A (en) * 2018-10-19 2019-01-18 西安万像电子科技有限公司 Data transmission method and device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113010245A (en) * 2021-02-24 2021-06-22 杭州雾联科技有限公司 Method and device for creating virtual display, electronic equipment and storage medium
CN114302095A (en) * 2021-12-23 2022-04-08 海信视像科技股份有限公司 Display device and video stream processing method for display device
WO2023142714A1 (en) * 2022-01-27 2023-08-03 腾讯科技(深圳)有限公司 Video processing collaboration method, apparatus, device, and storage medium
CN115643438A (en) * 2022-09-29 2023-01-24 海信视像科技股份有限公司 Display device, terminal device and mirror image screen projection method

Also Published As

Publication number Publication date
CN111866058B (en) 2024-02-27
CN118158206A (en) 2024-06-07

Similar Documents

Publication Publication Date Title
CN111866058B (en) Data processing method and system
CN111601115B (en) Video detection method, related device, equipment and storage medium
CN102612841B (en) Method for user authentication, and video communication apparatus and display apparatus thereof
CN103812829B (en) A kind of method, remote desktop server and system for improving remote desktop security
CN106921873A (en) Live-broadcast control method and device
WO2017041366A1 (en) Method and device for image recognition
CN113489789B (en) Statistical method, device, equipment and storage medium for cloud game time-consuming data
CN110177300B (en) Program running state monitoring method and device, electronic equipment and storage medium
US11687589B2 (en) Auto-populating image metadata
JP2016076766A (en) Information processing apparatus and information processing method
CN107872713A (en) Short video processing system, method and device
CN107277609A (en) Screen mirror image projective techniques, system, device and the film recording method of iOS device
US20130167185A1 (en) System and Method of Multiple Context-awareness for a Customized Cloud Service Distribution in Service Level Agreement
WO2023279919A1 (en) Game update method and system, server, electronic device, program product, and storage medium
CN115484086A (en) Cloud phone screen sharing method, electronic device, and computer-readable storage medium
CN114489398A (en) Page content sharing method, sharing terminal and subscription terminal
CN113158156A (en) Service processing method, system, device, electronic equipment and storage medium
CN109995543B (en) Method and apparatus for adding group members
CN113965458A (en) Equipment parameter processing method and system
CN112559111B (en) Screen capturing method and device for sharing desktop
CN114298991A (en) Huaping screen generation method and device, and Huaping screen detection model training method and device
CN119232877B (en) Fault detection method, device, platform, equipment and medium
CN116055756B (en) Data processing method, device and server for live broadcast room
TW201328243A (en) Remote monitoring system and method thereof
JP2015232916A (en) Operation recording apparatus, operation recording / reproducing system, and program

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
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载