CN113961289A - Data processing method, device, equipment and storage medium - Google Patents
Data processing method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN113961289A CN113961289A CN202111215063.5A CN202111215063A CN113961289A CN 113961289 A CN113961289 A CN 113961289A CN 202111215063 A CN202111215063 A CN 202111215063A CN 113961289 A CN113961289 A CN 113961289A
- Authority
- CN
- China
- Prior art keywords
- event
- control
- identifier
- target
- control event
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
- G06F9/452—Remote windowing, e.g. X-Window System, desktop virtualisation
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Description
技术领域technical field
本公开涉及计算机技术领域,尤其涉及云计算技术领域,具体涉及云桌面场景下的数据处理方法、装置、设备以及存储介质。The present disclosure relates to the field of computer technologies, in particular to the field of cloud computing technologies, and in particular to a data processing method, apparatus, device, and storage medium in a cloud desktop scenario.
背景技术Background technique
随着计算机技术的发展,云桌面技术逐渐兴起,云桌面又称桌面虚拟化或云电脑,是替代传统电脑的一种新模式。云桌面利用虚拟技术,对各种物理设备(如电脑主机)进行虚拟化处理,从而使资源的利用率得到有效提升。With the development of computer technology, cloud desktop technology has gradually emerged. Cloud desktop, also known as desktop virtualization or cloud computer, is a new model to replace traditional computers. Cloud desktop uses virtualization technology to virtualize various physical devices (such as computer hosts), thereby effectively improving the utilization of resources.
发明内容SUMMARY OF THE INVENTION
本公开提供了一种数据处理方法、装置、设备以及存储介质。The present disclosure provides a data processing method, apparatus, device, and storage medium.
根据本公开的一方面,提供了一种数据处理方法,包括:According to an aspect of the present disclosure, a data processing method is provided, comprising:
获取外部终端发送的控制事件;Get control events sent by external terminals;
根据控制事件的事件标识,对控制事件进行转换,得到目标事件;According to the event identifier of the control event, convert the control event to obtain the target event;
将目标事件传输至云桌面容器中的桌面系统,以使桌面系统响应目标事件。Transmit the target event to the desktop system in the cloud desktop container so that the desktop system responds to the target event.
根据本公开的另一方面,提供了一种电子设备,包括:According to another aspect of the present disclosure, there is provided an electronic device, comprising:
至少一个处理器;以及at least one processor; and
与至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,
存储器存储有可被至少一个处理器执行的指令,指令被至少一个处理器执行,以使至少一个处理器能够执行本公开实施例所提供的任一数据处理方法。The memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor, so that the at least one processor can execute any data processing method provided by the embodiments of the present disclosure.
根据本公开的另一方面,还提供了一种存储有计算机指令的非瞬时计算机可读存储介质,其中,计算机指令用于使计算机执行本公开实施例所提供的任一数据处理方法。According to another aspect of the present disclosure, a non-transitory computer-readable storage medium storing computer instructions is also provided, wherein the computer instructions are used to cause a computer to execute any data processing method provided by the embodiments of the present disclosure.
根据本公开的技术,解决了基于容器实现云桌面技术时,云桌面容器中的桌面系统无法直接处理外部终端发送的控制事件的问题,为基于容器实现云桌面技术提供了新的解决方案。According to the technology of the present disclosure, the problem that the desktop system in the cloud desktop container cannot directly process the control events sent by the external terminal when the cloud desktop technology is implemented based on the container is solved, and a new solution is provided for implementing the cloud desktop technology based on the container.
应当理解,本部分所描述的内容并非旨在标识本公开的实施例的关键或重要特征,也不用于限制本公开的范围。本公开的其它特征将通过以下的说明书而变得容易理解。It should be understood that what is described in this section is not intended to identify key or critical features of embodiments of the disclosure, nor is it intended to limit the scope of the disclosure. Other features of the present disclosure will become readily understood from the following description.
附图说明Description of drawings
附图用于更好地理解本方案,不构成对本公开的限定。其中:The accompanying drawings are used for better understanding of the present solution, and do not constitute a limitation to the present disclosure. in:
图1A是根据本公开实施例提供的一种数据处理方法的流程图;1A is a flowchart of a data processing method provided according to an embodiment of the present disclosure;
图1B是根据本公开实施例提供的云桌面容器的结构示意图;FIG. 1B is a schematic structural diagram of a cloud desktop container provided according to an embodiment of the present disclosure;
图2是根据本公开实施例提供的一种数据处理方法的流程图;2 is a flowchart of a data processing method provided according to an embodiment of the present disclosure;
图3是根据本公开实施例提供的一种数据处理方法的流程图;3 is a flowchart of a data processing method provided according to an embodiment of the present disclosure;
图4是根据本公开实施例提供的云桌面系统搭建方式的示意图;4 is a schematic diagram of a construction method of a cloud desktop system provided according to an embodiment of the present disclosure;
图5是根据本公开实施例提供的一种数据处理方法的流程图;5 is a flowchart of a data processing method provided according to an embodiment of the present disclosure;
图6是根据本公开实施例提供的一种数据处理装置的结构示意图;6 is a schematic structural diagram of a data processing apparatus provided according to an embodiment of the present disclosure;
图7是用来实现本公开实施例的数据处理方法的电子设备的框图。FIG. 7 is a block diagram of an electronic device used to implement the data processing method of an embodiment of the present disclosure.
具体实施方式Detailed ways
以下结合附图对本公开的示范性实施例做出说明,其中包括本公开实施例的各种细节以助于理解,应当将它们认为仅仅是示范性的。因此,本领域普通技术人员应当认识到,可以对这里描述的实施例做出各种改变和修改,而不会背离本公开的范围和精神。同样,为了清楚和简明,以下的描述中省略了对公知功能和结构的描述。Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding and should be considered as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the present disclosure. Also, descriptions of well-known functions and constructions are omitted from the following description for clarity and conciseness.
为了清楚地介绍本公开实施例,需要说明的是,本公开实施例的云桌面技术是基于容器实现的,具体的,本公开实施例提供云桌面服务的电子设备以低功耗、高密度为设计原则,在一个设定厚度的机架式服务器机箱内集成多路系统芯片(System on Chip,SOC),每路SOC拥有独立的处理器、内存、存储,并在此硬件基础上,各SOC上部署有至少一个可用容器,并在可用容器中虚拟化云桌面实例,提供云桌面资源。本实施例中所涉及的云桌面容器即为可虚拟化云桌面实例的可用容器。In order to clearly introduce the embodiments of the present disclosure, it should be noted that the cloud desktop technology in the embodiments of the present disclosure is implemented based on containers. Specifically, the electronic devices that provide the cloud desktop services in the embodiments of the present disclosure have low power consumption and high density The design principle is to integrate multiple SoCs (System on Chip, SOC) in a rack server chassis with a set thickness. Each SOC has an independent processor, memory, and storage. At least one available container is deployed on the cloud desktop, and a cloud desktop instance is virtualized in the available container to provide cloud desktop resources. The cloud desktop container involved in this embodiment is the available container of the virtualized cloud desktop instance.
图1A是根据本公开实施例提供的一种数据处理方法的流程图,图1B是根据本公开实施例提供的云桌面容器的结构示意图。本公开实施例适用于基于容器实现云桌面技术时,如何进行数据处理的情况,尤其适用于如何对外部终端发送的控制事件进行处理的情况。该方法可以由数据处理装置来执行,该装置可以采用软件和/或硬件的方式实现,并可集成于提供云桌面服务的电子设备中,具体可集成于电子设备中部署的云桌面容器的信息流服务中。FIG. 1A is a flowchart of a data processing method provided according to an embodiment of the present disclosure, and FIG. 1B is a schematic structural diagram of a cloud desktop container provided according to an embodiment of the present disclosure. The embodiments of the present disclosure are applicable to the situation of how to process data when the cloud desktop technology is implemented based on the container, and especially to the situation of how to process the control event sent by the external terminal. The method can be performed by a data processing device, which can be implemented in software and/or hardware, and can be integrated into an electronic device that provides cloud desktop services, specifically, can be integrated into the information of the cloud desktop container deployed in the electronic device streaming service.
其中,信息流服务可以是云桌面容器中部署的,为实现外部终端和桌面系统交互而建立的中间服务。例如,可以包括但不限于用于处理控制流数据的实时控制流服务,以及用于处理音视频数据的视频流推流服务。参见图1B所示的云桌面容器,其中部署的信息流服务为实时控制流服务。可选的,在云桌面容器中,还部署有云桌面的运行系统,即桌面系统,该桌面系统中配置有至少一个可响应实时控制流服务发送的目标事件的虚拟模块,例如虚拟鼠标、虚拟键盘,以及系统设置模块等。The information flow service may be an intermediate service deployed in the cloud desktop container and established to realize the interaction between the external terminal and the desktop system. For example, it may include, but is not limited to, real-time control streaming services for processing control streaming data, and video streaming services for processing audio and video data. Referring to the cloud desktop container shown in FIG. 1B , the deployed information flow service is a real-time control flow service. Optionally, in the cloud desktop container, a cloud desktop operating system, that is, a desktop system, is also deployed. The desktop system is configured with at least one virtual module that can respond to target events sent by the real-time control flow service, such as a virtual mouse, keyboard, and system settings module, etc.
本实施例具体可以由图1B所示的云桌面容器中的实时控制流服务执行。如图1A-1B所示,本实施例提供的数据处理方法可以包括:This embodiment may be specifically executed by the real-time control flow service in the cloud desktop container shown in FIG. 1B . As shown in FIGS. 1A-1B , the data processing method provided in this embodiment may include:
S101,获取外部终端发送的控制事件。S101: Acquire a control event sent by an external terminal.
其中,外部终端为具有转发控制事件或生成控制事件功能的电子设备。具体可以是除提供云桌面服务的电子设备之外的任意设备,如瘦客户机。The external terminal is an electronic device with the function of forwarding control events or generating control events. Specifically, it may be any device other than the electronic device that provides the cloud desktop service, such as a thin client.
控制事件为外部终端根据用户在外部控制设备(如鼠标、键盘、显示屏或云桌面客户端等)上的操作生成的。例如,可以是外部终端根据用户在外部控制设备上的操作,确定该操作对应的事件标识、控制操作和事件参数,并根据事件标识、控制操作和事件参数,生成控制事件。进一步的,控制事件可以包括但不限于:鼠标控制事件、键盘控制事件、显示屏控制事件以及设置事件等。The control event is generated by the external terminal according to the user's operation on the external control device (such as a mouse, a keyboard, a display screen or a cloud desktop client, etc.). For example, the external terminal may determine the event identifier, control operation and event parameters corresponding to the operation according to the user's operation on the external control device, and generate a control event according to the event identifier, control operation and event parameters. Further, the control events may include but are not limited to: mouse control events, keyboard control events, display screen control events, setting events, and the like.
可选的,在本实施例中,外部终端生成控制事件后,需要将控制事件发送至云桌面服务器的电子设备,此时该电子设备,具体为电子设备中部署的云桌面容器中的实时控制流服务会获取该控制事件。Optionally, in this embodiment, after the external terminal generates the control event, it needs to send the control event to the electronic device of the cloud desktop server. At this time, the electronic device is specifically the real-time control in the cloud desktop container deployed in the electronic device. The streaming service gets the control event.
S102,根据控制事件的事件标识,对控制事件进行转换,得到目标事件。S102, convert the control event according to the event identifier of the control event to obtain the target event.
其中,控制事件的事件标识可以是表征控制事件种类的标识,具体的,可以为同一种外部控制设备触发的控制事件设置相同的事件标识。例如,所有因用户操作鼠标而生成的控制事件具有相同的事件标识。该事件标识可以是用户操作的外部控制设备的标识,如外部设备的名称或编号等。还可以是按照预设规则,依次为各种类的控制事件生成的唯一性标识。The event identifier of the control event may be an identifier representing the type of the control event. Specifically, the same event identifier may be set for the control event triggered by the same external control device. For example, all control events generated by the user operating the mouse have the same event ID. The event identifier may be the identifier of the external control device operated by the user, such as the name or number of the external device. It may also be a unique identifier that is sequentially generated for various types of control events according to preset rules.
可选的,由于控制事件是外部终端按照其自定义格式生成的,通用性较差,云桌面容器中的桌面系统无法直接响应该控制事件,所以本实施例需要云桌面容器中的信息流服务,即实时控制流服务来对外部终端发送的控制事件进行转换,转换成桌面系统所支持格式的事件,即目标事件。可选的,本实施例的目标事件按照外部控制设备的种类进行划分时,可以包括:鼠标事件、键盘事件、显示器事件以及设置事件等。Optionally, since the control event is generated by the external terminal according to its custom format, the versatility is poor, and the desktop system in the cloud desktop container cannot directly respond to the control event, so this embodiment requires the information flow service in the cloud desktop container. , that is, the real-time control flow service converts the control events sent by the external terminal into the events in the format supported by the desktop system, that is, the target events. Optionally, when the target events in this embodiment are classified according to types of external control devices, they may include mouse events, keyboard events, display events, and setting events.
具体的,本实施例在根据控制事件的事件标识,对控制事件进行转换时,可以先确定获取的控制事件对应的事件标识,例如,解析获取的控制事件,并从解析结果中直接获取该控制事件对应的事件标识;还可以根据解析结果和本地记录的控制事件与事件标识的关联关系,确定获取的控制事件对应的事件标识等。确定出事件标识后,再根据预先设置的事件标识与转换逻辑间的关联关系,确定该控制事件对应的转换逻辑,即外部终端生成控制事件的格式与桌面系统所支持的事件格式间的转换逻辑。并调用该转换逻辑,对该控制事件进行转换,得到目标事件。Specifically, in this embodiment, when converting the control event according to the event identifier of the control event, the event identifier corresponding to the acquired control event may be determined first, for example, the acquired control event is parsed, and the control event is directly acquired from the parsing result. The event identifier corresponding to the event; the event identifier corresponding to the acquired control event can also be determined according to the analysis result and the association relationship between the locally recorded control event and the event identifier. After the event identifier is determined, then according to the preset association relationship between the event identifier and the conversion logic, determine the conversion logic corresponding to the control event, that is, the conversion logic between the format of the control event generated by the external terminal and the event format supported by the desktop system . And call the conversion logic to convert the control event to get the target event.
示例性的,如图1B所示,本实施例的实时流控制服务包含自定义设备适配层,该自定义设备适配层用于执行本步骤对控制事件进行转换的操作,得到目标事件,如鼠标事件、键盘事件或设置事件等。Exemplarily, as shown in FIG. 1B , the real-time flow control service of this embodiment includes a custom device adaptation layer, and the custom device adaptation layer is used to perform the operation of converting the control event in this step to obtain the target event, Such as mouse events, keyboard events or set events.
S103,将目标事件传输至云桌面容器中的桌面系统,以使桌面系统响应目标事件。S103, the target event is transmitted to the desktop system in the cloud desktop container, so that the desktop system responds to the target event.
可选的,云桌面容器中的信息流服务,即实时控制流服务对控制事件转换得到目标事件后,将目标事件传输至云桌面容器的桌面系统。由桌面系统来响应该目标事件。Optionally, the information flow service in the cloud desktop container, that is, the real-time control flow service converts the control event to obtain the target event, and then transmits the target event to the desktop system of the cloud desktop container. It is up to the desktop system to respond to the target event.
示例性的,实时流控制服务将目标事件传输至桌面系统后,桌面系统会根据接收到的目标事件,先确定响应该事件的虚拟模块,将目标事件传送至其对应的虚拟模块,以使虚拟模块来响应目标事件。例如,如图1B所示,若目标事件为鼠标事件,则桌面系统会将该鼠标事件传输至虚拟鼠标,以使虚拟鼠标来响应该鼠标事件。若目标事件为键盘事件,则桌面系统会将该键盘事件传输至虚拟键盘,以使虚拟键盘来响应该键盘事件;若目标事件为设置事件,则桌面系统会将该设置事件传输至系统设置模块,以使系统设置模块来响应该设置事件。Exemplarily, after the real-time flow control service transmits the target event to the desktop system, the desktop system will first determine the virtual module that responds to the event according to the received target event, and transmit the target event to its corresponding virtual module, so that the virtual modules to respond to target events. For example, as shown in FIG. 1B , if the target event is a mouse event, the desktop system will transmit the mouse event to the virtual mouse, so that the virtual mouse responds to the mouse event. If the target event is a keyboard event, the desktop system will transmit the keyboard event to the virtual keyboard so that the virtual keyboard responds to the keyboard event; if the target event is a setting event, the desktop system will transmit the setting event to the system setting module , to make the system setup module respond to the setup event.
本公开实施例的方案,外部终端向云桌面容器发送控制事件后,由云桌面容器中的信息流服务获取该控制事件,并根据控制事件的事件标识将其转换为目标事件后传输至云桌面容器的桌面系统,由桌面系统来响应该目标事件。本方案解决了基于容器实现云桌面技术时,云桌面容器中的桌面系统无法直接处理外部终端发送的控制事件的问题,为基于容器实现云桌面技术提供了新的解决方案。In the solution of the embodiment of the present disclosure, after the external terminal sends a control event to the cloud desktop container, the information flow service in the cloud desktop container obtains the control event, converts it into a target event according to the event identifier of the control event, and transmits it to the cloud desktop The desktop system of the container, which responds to the target event. This solution solves the problem that when implementing cloud desktop technology based on containers, the desktop system in the cloud desktop container cannot directly process control events sent by external terminals, and provides a new solution for implementing cloud desktop technology based on containers.
可选的,本实施例在云桌面容器获取的控制事件较多的情况下,执行将目标事件传输至云桌面容器中的桌面系统的操作时,还可以包括:将目标事件添加到事件标识对应的事件队列中,将事件队列中的目标事件传输至云桌面容器中的桌面系统,以使桌面系统响应目标事件。Optionally, in this embodiment, when the cloud desktop container acquires many control events, when performing the operation of transmitting the target event to the desktop system in the cloud desktop container, the operation may further include: adding the target event to the corresponding event identifier. In the event queue of the cloud desktop, the target event in the event queue is transmitted to the desktop system in the cloud desktop container, so that the desktop system can respond to the target event.
具体的,本实施例可以为至少一种事件标识对应的目标事件设置一个专用的事件队列。例如,可以是每种事件标识对应一个事件队列。在对控制事件转换得到目标事件后,将目标事件先添加到该目标事件的事件标识对应的事件队列中,在向云桌面容器的桌面系统传输目标事件时,可以是通过多个事件队列并行将各队列中包含的目标事件传输至云桌面容器的桌面系统,具体的,可以并行将各目标事件传输至桌面系统中响应该目标事件的虚拟模块。例如,如图1B所示,将鼠标事件添加到鼠标事件队列中,进而将鼠标事件队列中的鼠标事件传输至桌面系统中的虚拟鼠标,由虚拟鼠标来响应该鼠标事件。本实施例这样设置的好处是,在云桌面容器获取的控制事件较多时,提高了云桌面容器响应控制事件的效率和精准性。Specifically, in this embodiment, a dedicated event queue may be set for the target event corresponding to at least one event identifier. For example, each event identifier may correspond to an event queue. After the control event is converted to obtain the target event, the target event is first added to the event queue corresponding to the event identifier of the target event. When transmitting the target event to the desktop system of the cloud desktop container, multiple event queues can be used to transfer the target event in parallel. The target events contained in each queue are transmitted to the desktop system of the cloud desktop container. Specifically, each target event may be transmitted in parallel to a virtual module in the desktop system that responds to the target event. For example, as shown in FIG. 1B , the mouse event is added to the mouse event queue, and then the mouse event in the mouse event queue is transmitted to the virtual mouse in the desktop system, and the virtual mouse responds to the mouse event. The advantage of this setting in this embodiment is that when the cloud desktop container acquires many control events, the efficiency and accuracy of the cloud desktop container in responding to the control events are improved.
图2是根据本公开实施例提供的另一种数据处理方法的流程图,本实施例在上述实施例的基础上,进一步对如何“根据控制事件的事件标识,对控制事件进行转换,得到目标事件”进行详细解释说明。如图2所示,本实施例提供的数据处理方法可以包括:FIG. 2 is a flowchart of another data processing method provided according to an embodiment of the present disclosure. On the basis of the above-mentioned embodiment, this embodiment further describes how to “convert the control event according to the event identifier of the control event to obtain the target event" for a detailed explanation. As shown in FIG. 2, the data processing method provided by this embodiment may include:
S201,获取外部终端发送的控制事件。S201, acquiring a control event sent by an external terminal.
S202,对控制事件进行解码,并从解码结果中获取控制事件的事件标识。S202: Decode the control event, and obtain the event identifier of the control event from the decoding result.
可选的,为了保证控制事件的安全性,外部终端在生成控制事件时,可以先获取生成控制事件所需的事件属性信息,如事件标识、控制操作和事件参数,然后将该属性信息按照自定义格式(如事件标识-控制操作-事件参数)进行组合和编码(如二进制编码)后,得到控制事件,进而将生成的控制事件发送至云桌面容器。此时,本实施例获取的外部终端发送的控制事件为编码后的结果,并非所需数据原文。所以本步骤需要按照外部终端编码控制事件相对应的解码规则,对接收到的控制事件进行解码处理,得到解码结果,即按照自定格式组合成的控制事件的属性信息,进而对解码结果进行解析,从中提取出控制事件对应的事件标识。Optionally, in order to ensure the security of the control event, when the external terminal generates the control event, it can first obtain the event attribute information required to generate the control event, such as the event identifier, control operation and event parameters, and then use the attribute information according to the automatic After the defined format (such as event identifier-control operation-event parameter) is combined and encoded (such as binary encoding), a control event is obtained, and the generated control event is then sent to the cloud desktop container. At this time, the control event sent by the external terminal acquired in this embodiment is the encoded result, not the original text of the required data. Therefore, in this step, it is necessary to decode the received control event according to the decoding rule corresponding to the external terminal coding control event to obtain the decoding result, that is, the attribute information of the control event combined according to the self-defined format, and then parse the decoding result. , from which the event identifier corresponding to the control event is extracted.
S203,根据事件标识,确定控制事件的转换逻辑。S203, according to the event identifier, determine the conversion logic of the control event.
其中,控制事件的转换逻辑可以是将外部终端生成的自定义格式的控制事件转换为桌面系统所支持的事件格式的处理逻辑。The conversion logic of the control event may be the processing logic of converting the control event of the custom format generated by the external terminal into the event format supported by the desktop system.
可选的,本实施例可以在提供云桌面服务的电子设备中预先存储有不同外部终端的事件标识与转换逻辑之间的关联关系。此时可以从本地存储的外部终端的事件标识与转换逻辑之间的关联关系中,查找S202确定出的事件标识关联的转换逻辑,作为接收到的控制事件的转换逻辑。Optionally, in this embodiment, the electronic device that provides the cloud desktop service may pre-store the association relationship between the event identifiers of different external terminals and the conversion logic. In this case, the conversion logic associated with the event identifier determined in S202 may be searched from the association relationship between the locally stored event identifier of the external terminal and the conversion logic, as the conversion logic of the received control event.
可选的,若电子设备本地没有存储事件标识与转换逻辑之间的关联关系,此时该电子设备还可以通过与其他外部设备(该外部设备可以是发送控制事件的外部终端,也可以不是,对此不进行限定)进行交互,以获取S202确定出的事件标识关联的转换逻辑,作为接收到的控制事件的转换逻辑。Optionally, if the electronic device does not store the association between the event identifier and the conversion logic locally, the electronic device can also communicate with other external devices (the external device may be an external terminal that sends a control event, or it may not be, This is not limited) and interact to obtain the conversion logic associated with the event identifier determined in S202 as the conversion logic of the received control event.
S204,根据解码结果和转换逻辑,生成目标事件。S204, generate a target event according to the decoding result and the conversion logic.
具体的,本实施例可以是基于S202解码控制事件得到的解码结果,调用S203确定的转换逻辑,生成目标事件。Specifically, in this embodiment, based on the decoding result obtained by decoding the control event in S202, the conversion logic determined in S203 may be invoked to generate the target event.
S205,将目标事件传输至云桌面容器中的桌面系统,以使桌面系统响应目标事件。S205, the target event is transmitted to the desktop system in the cloud desktop container, so that the desktop system responds to the target event.
本公开实施例的方案,外部终端向云桌面容器发送控制事件后,由云桌面容器中的信息流服务获取该控制事件,并对该控制事件解码,根据解码结果确定该控制事件所对应的转换逻辑,并基于转换逻辑和解码结果,生成目标事件,传输至云桌面容器的桌面系统,由桌面系统来响应该目标事件。本方案云桌面容器与外部终端交互的事件是编码后的数据,并非数据原文,不易被破解,提高了控制事件的安全性,另外,编码后的事件还可以最大化的减少数据传输量,避免了资源的浪费。In the solution of the embodiment of the present disclosure, after the external terminal sends a control event to the cloud desktop container, the information flow service in the cloud desktop container obtains the control event, decodes the control event, and determines the conversion corresponding to the control event according to the decoding result. logic, and based on the conversion logic and decoding results, a target event is generated and transmitted to the desktop system of the cloud desktop container, and the desktop system responds to the target event. The events that the cloud desktop container interacts with the external terminal in this solution are encoded data, not the original data, and are not easy to be cracked, which improves the security of control events. In addition, the encoded events can also minimize the amount of data transmission and avoid waste of resources.
图3是根据本公开实施例提供的另一种数据处理方法的流程图,本实施例在上述实施例的基础上,进一步对如何“根据控制事件的事件标识,对控制事件进行转换,得到目标事件”进行详细解释说明。如图3所示,本实施例提供的数据处理方法可以包括:FIG. 3 is a flowchart of another data processing method provided according to an embodiment of the present disclosure. On the basis of the above-mentioned embodiment, this embodiment further describes how to “convert the control event according to the event identifier of the control event to obtain the target event" for a detailed explanation. As shown in FIG. 3 , the data processing method provided in this embodiment may include:
S301,获取外部终端发送的控制事件。S301: Acquire a control event sent by an external terminal.
S302,在识别到控制事件的属性信息有效的情况下,根据控制事件的事件标识,对控制事件进行转换,得到目标事件。S302 , in the case of identifying that the attribute information of the control event is valid, convert the control event according to the event identifier of the control event to obtain the target event.
其中,控制事件的属性信息可以是表征控制事件属性的相关信息,例如,可以包括但不限于:事件标识、控制操作和事件参数等。其中,控制操作为用户在外部控制设备上的操作,例如,外部控制设备为鼠标时,该控制操作可以是左击、右击、滑轮等操作;外部控制设备为键盘时,该控制操作可以是敲击键盘上不同按键的操作。事件参数可以包括不同事件对应的参数值、参数长度以及事件生成时间等。Wherein, the attribute information of the control event may be related information representing the attribute of the control event, for example, may include but not limited to: an event identifier, a control operation, and an event parameter. Wherein, the control operation is the user's operation on the external control device. For example, when the external control device is a mouse, the control operation can be a left-click, right-click, pulley, etc.; when the external control device is a keyboard, the control operation can be The action of hitting different keys on the keyboard. The event parameters may include parameter values, parameter lengths, and event generation times corresponding to different events.
可选的,为了保证云桌面容器处理的控制事件的安全性和精准性,本实施例的信息流服务在对接收到的控制事件进行处理前,需要先识别接收到的控制事件的属性信息是否有效,对于属性信息有效的控制事件,再执行后续事件转换等操作;对于属性信息无效的控制事件,不再对其执行后续事件转换等操作。Optionally, in order to ensure the security and accuracy of the control events processed by the cloud desktop container, the information flow service in this embodiment needs to identify whether the attribute information of the received control events is first before processing the received control events. Valid, for the control event with valid attribute information, the subsequent event conversion and other operations are performed; for the control event with invalid attribute information, the subsequent event conversion and other operations are no longer performed.
可选的,本实施例识别到控制事件的属性信息有效可以包括下述至少一项:识别到控制事件的事件标识为有效标识。识别到控制事件的控制操作为事件标识所支持的有效操作。识别到控制事件的事件参数符合有效参数范围。具体的,本实施例可以在支持云桌面服务的电子设备中存储有预先设置的有效的事件标识、各种类事件标识所支持的有效操作,以及有效的参数范围(如有效参数值范围、有效参数长度范围和有效事件时段中的至少一个),相应的,云桌面容器中的信息流服务,即实时流控制服务可以根据本地存储的上述有效信息中的至少一项,以及获取的控制事件的属性信息,来识别获取的控制事件的有效性。本实施例通过多种不同种类的属性信息来验证控制事件的有效性,进一步提高了有效性验证过程的安全性和灵活性。Optionally, this embodiment identifies that the attribute information of the control event is valid may include at least one of the following: the event identifier of the identified control event is a valid identifier. The control operations identified with the control event are valid operations supported by the event identifier. The event parameter of the identified control event matches the valid parameter range. Specifically, in this embodiment, a preset valid event identifier, valid operations supported by various types of event identifiers, and valid parameter ranges (such as valid parameter value ranges, valid At least one of the parameter length range and the valid event period), correspondingly, the information flow service in the cloud desktop container, that is, the real-time flow control service attribute information to identify the validity of the acquired control event. In this embodiment, the validity of the control event is verified through various types of attribute information, which further improves the security and flexibility of the validity verification process.
S303,将目标事件传输至云桌面容器中的桌面系统,以使桌面系统响应目标事件。S303, the target event is transmitted to the desktop system in the cloud desktop container, so that the desktop system responds to the target event.
本公开实施例的方案,外部终端向云桌面容器发送控制事件后,由云桌面容器中的信息流服务获取该控制事件,在识别到该控制事件的属性信息有效的情况下,根据控制事件的事件标识将其转换为目标事件后传输至云桌面容器的桌面系统,由桌面系统来响应该目标事件。本方案的云桌面容器在接收到控制事件后,并非直接响应,而是先识别其有效性后再响应,提高了事件响应的安全性和准确性。In the solution of the embodiment of the present disclosure, after the external terminal sends the control event to the cloud desktop container, the information flow service in the cloud desktop container obtains the control event. The event identifier is converted into a target event and transmitted to the desktop system of the cloud desktop container, and the desktop system responds to the target event. After receiving the control event, the cloud desktop container of this solution does not respond directly, but first recognizes its validity and then responds, which improves the security and accuracy of event response.
图4是根据本公开实施例提供的云桌面系统搭建方式的示意图。如图4所示,本公开实施例的云桌面系统搭建在高级精简指令集处理器ARM芯片服务器中,该服务器包括:CPU(central processing unit,中央处理器)、Mali GPU(Graphics Processing Unit,图形处理器)和NIC(network interface controller,网络接口控制器)。该服务器的操作系统是Linux操作系统,具体的ubuntu操作系统。使用该操作系统前,需要设置Linux系统参数,如命名空间参数(namespace)、容器参数(cgroup)、文件系统服务参数(overlayfs)、挂载文件参数(autofs)和网桥参数(bridge)等。本实施例可以在该服务器的ARM芯片中部署容器管理器,该容器管理器用于动态管理ARM芯片中云桌面容器的部署情况。例如,可以根据需要运行的云桌面实例,以及当前ARM芯片服务器的可用资源,增加或减少ARM芯片服务器中部署的容器数量。本实施例的一个云桌面容器中,部署了云桌面容器运行时(即云桌面的运行环境)、信息流服务(即视频流推流服务和实时控制流服务)、桌面系统。该桌面系统中可以安装并运行第三方应用。本公开实施例可以通过容器管理器在ARM芯片服务器中进行云桌面容器的动态部署,能够根据实际使用需求调整云桌面容器的数量,相较于现有技术中通过在物理机上启动固定数量的虚拟机运行云桌面系统的方式,提高了对服务器的资源利用率。FIG. 4 is a schematic diagram of a construction method of a cloud desktop system provided according to an embodiment of the present disclosure. As shown in FIG. 4 , the cloud desktop system of the embodiment of the present disclosure is built in an advanced reduced instruction set processor ARM chip server, and the server includes: a CPU (central processing unit, central processing unit), a Mali GPU (Graphics Processing Unit, graphics processor) and NIC (network interface controller). The operating system of the server is the Linux operating system, specifically the ubuntu operating system. Before using this operating system, you need to set Linux system parameters, such as namespace parameters (namespace), container parameters (cgroup), file system service parameters (overlayfs), mount file parameters (autofs), and bridge parameters (bridge). In this embodiment, a container manager can be deployed in the ARM chip of the server, and the container manager is used to dynamically manage the deployment situation of the cloud desktop container in the ARM chip. For example, the number of containers deployed in the ARM chip server can be increased or decreased according to the cloud desktop instances running on demand and the available resources of the current ARM chip server. In a cloud desktop container in this embodiment, the cloud desktop container runtime (ie, the running environment of the cloud desktop), the information flow service (ie, the video streaming service and the real-time control streaming service), and the desktop system are deployed. Third-party applications can be installed and run on the desktop system. The embodiments of the present disclosure can dynamically deploy cloud desktop containers in an ARM chip server through a container manager, and can adjust the number of cloud desktop containers according to actual usage requirements. The way the computer runs the cloud desktop system improves the resource utilization of the server.
图5是根据本公开实施例提供的一种数据处理方法的流程图。本实施例在图4示出的云桌面系统的基础上,给出的一种基于容器实现云桌面技术的数据处理方法的优选实例。如图5所示,本实施例提供的数据处理方法可以包括:FIG. 5 is a flowchart of a data processing method provided according to an embodiment of the present disclosure. Based on the cloud desktop system shown in FIG. 4 , this embodiment provides a preferred example of a container-based data processing method for implementing cloud desktop technology. As shown in FIG. 5 , the data processing method provided by this embodiment may include:
S501,实时控制流服务获取外部终端发送的控制事件。S501, the real-time control flow service acquires a control event sent by an external terminal.
S502,实时控制流服务根据控制事件的事件标识,对控制事件进行转换,得到目标事件。S502, the real-time control flow service converts the control event according to the event identifier of the control event to obtain the target event.
S503,实时控制流服务将目标事件传输至云桌面容器中的桌面系统,以使桌面系统响应目标事件。S503, the real-time control flow service transmits the target event to the desktop system in the cloud desktop container, so that the desktop system responds to the target event.
S504,视频流推流服务通过本地设备所配置的高级精简指令集处理器RAM对采集的音视频数据进行处理。S504, the video stream push service processes the collected audio and video data through the advanced reduced instruction set processor RAM configured on the local device.
其中,视频流推流服务是用于向外部设备推送音视频数据(即音频数据和/或视频数据)的服务。本实施例中,对采集的音视频数据进行处理可以包括但不限于:转码处理和编码处理。且本实施例的视频流推流服务是基于高级精简指令集处理器ARM自带的MaliGPU(Graphics Processing Unit,图形处理器)对采集的音视频数据进行处理。The video streaming service is a service for pushing audio and video data (ie, audio data and/or video data) to an external device. In this embodiment, processing the collected audio and video data may include, but is not limited to, transcoding processing and encoding processing. In addition, the video stream push service in this embodiment is based on the MaliGPU (Graphics Processing Unit, graphics processor) provided by the advanced reduced instruction set processor ARM to process the collected audio and video data.
具体的,视频流推流服务会在云桌面运行过程中,实时从云桌面服务的资源存储区采集云桌面当前待显示的音频数据和/或视频数据。受数据压缩、传输带宽和播放格式等因素的影响,通常需要在目标容器中,由视频流推流服务采用ARM自带的Mali GPU对视频数据进行转码、编码(如H264视频流编码)等操作,得到视频码流;对音频数据进行编码等操作,得到音频码流,然后将编后的视频码流和/或音频码流传输至外部终端,如瘦客户机端。外部终端接收到视频数据之后,对视频码流进行解码、转码等操作,得到视频数据,通过显示装置加以展示;对音频码流进行解码等操作,得到音频数据,通过声音输出装置加以输出。Specifically, the video streaming service will collect the audio data and/or video data currently to be displayed on the cloud desktop from the resource storage area of the cloud desktop service in real time during the running process of the cloud desktop. Affected by factors such as data compression, transmission bandwidth, and playback format, it is usually necessary to transcode and encode video data (such as H264 video stream encoding) by the video streaming service in the target container using the Mali GPU that comes with ARM. operate to obtain a video stream; perform operations such as encoding audio data to obtain an audio stream, and then transmit the encoded video stream and/or audio stream to an external terminal, such as a thin client. After receiving the video data, the external terminal decodes and transcodes the video stream to obtain video data, which is displayed on the display device; decodes the audio stream to obtain audio data, which is output through the sound output device.
由于依赖CPU进行软解码的方式对硬件资源消耗过大,针对计算资源极其珍贵的云桌面应用场景,很可能导致桌面传输图像卡顿,直接影响到操作方的使用体验。本公开实施例可以基于高级精简指令集处理器ARM自带的Mali GPU(Graphics Processing Unit,图形处理器)进行硬件编解码,进行音视频数据的渲染输出,极大发挥了GPU的硬件特性,进一步降低了桌面响应时延,降低了CPU资源消耗。提高了资源的利用率,降低了实现云桌面的资源开销。Because the way of relying on CPU for soft decoding consumes too much hardware resources, for cloud desktop application scenarios where computing resources are extremely precious, it is likely to cause the desktop transmission image to freeze, which directly affects the user experience of the operator. The embodiment of the present disclosure can perform hardware encoding and decoding based on the Mali GPU (Graphics Processing Unit, graphics processor) that comes with the advanced reduced instruction set processor ARM, and perform the rendering and output of audio and video data, which greatly exerts the hardware characteristics of the GPU, and further Reduced desktop response latency and CPU resource consumption. The utilization rate of resources is improved, and the resource overhead of implementing cloud desktops is reduced.
在上述各技术方案的基础上,本公开还提供了一种实现上述各数据处理方法的执行装置的可选实施例。进一步参见图6所示的一种数据处理装置600,配置于提供云桌面服务的电子设备中,具体可配置于电子设备中部署的云桌面容器中的信息流服务中。该装置600包括:事件获取模块601、事件转换模块602和事件传输模块603。其中,On the basis of the foregoing technical solutions, the present disclosure also provides an optional embodiment of an execution apparatus for implementing the foregoing data processing methods. Further referring to a
事件获取模块601,用于获取外部终端发送的控制事件;an
事件转换模块602,用于根据控制事件的事件标识,对控制事件进行转换,得到目标事件;The
事件传输模块603,用于将目标事件传输至云桌面容器中的桌面系统,以使桌面系统响应目标事件。The
本公开实施例的方案,外部终端向云桌面容器发送控制事件后,由云桌面容器中的信息流服务获取该控制事件,并根据控制事件的事件标识将其转换为目标事件后传输至云桌面容器的桌面系统,由桌面系统来响应该目标事件。本方案解决了基于容器实现云桌面技术时,云桌面容器中的桌面系统无法直接处理外部终端发送的控制事件的问题,为基于容器实现云桌面技术提供了新的解决方案。In the solution of the embodiment of the present disclosure, after the external terminal sends a control event to the cloud desktop container, the information flow service in the cloud desktop container acquires the control event, converts it into a target event according to the event identifier of the control event, and transmits it to the cloud desktop The container's desktop system, which responds to the target event. This solution solves the problem that the desktop system in the cloud desktop container cannot directly process the control events sent by the external terminal when the cloud desktop technology is implemented based on the container, and provides a new solution for implementing the cloud desktop technology based on the container.
进一步的,事件转换模块602具体用于:Further, the
对控制事件进行解码,并从解码结果中获取控制事件的事件标识;Decode the control event, and obtain the event identifier of the control event from the decoding result;
根据事件标识,确定控制事件的转换逻辑;Determine the conversion logic of the control event according to the event identifier;
根据解码结果和转换逻辑,生成目标事件。Based on the decoding result and transformation logic, the target event is generated.
进一步的,事件转换模块602包括:Further, the
有效性识别单元,用于识别控制事件的属性信息是否有效;A validity identification unit, used to identify whether the attribute information of the control event is valid;
事件转换单元,用于在识别到控制事件的属性信息有效的情况下,根据控制事件的事件标识,对控制事件进行转换。The event conversion unit is configured to convert the control event according to the event identifier of the control event when it is recognized that the attribute information of the control event is valid.
进一步的,有效性识别单元具体用于执行如下至少一项:Further, the validity identification unit is specifically configured to perform at least one of the following:
识别到控制事件的事件标识为有效标识;The event ID of the identified control event is a valid ID;
识别到控制事件的控制操作为事件标识所支持的有效操作;The control operation that identifies the control event is a valid operation supported by the event identifier;
识别到控制事件的事件参数符合有效参数范围。The event parameter of the identified control event matches the valid parameter range.
进一步的,事件传输模块603具体用于:Further, the
将目标事件添加到事件标识对应的事件队列中;Add the target event to the event queue corresponding to the event ID;
将事件队列中的目标事件传输至云桌面容器中的桌面系统。Transfer the target event in the event queue to the desktop system in the cloud desktop container.
进一步的,上述数据处理装置600,还包括:Further, the above-mentioned
视频流处理模块,用于通过本地设备所配置的高级精简指令集处理器对采集的音视频数据进行处理。The video stream processing module is used to process the collected audio and video data through the advanced reduced instruction set processor configured on the local device.
上述产品可执行本公开任意实施例所提供的方法,具备执行方法相应的功能模块和有益效果。The above product can execute the method provided by any embodiment of the present disclosure, and has corresponding functional modules and beneficial effects for executing the method.
本公开的技术方案中,所涉及的控制事件和音视频数据等的获取,存储和应用等,均符合相关法律法规的规定,且不违背公序良俗。In the technical solutions of the present disclosure, the acquisition, storage, and application of the control events and audio and video data involved comply with the provisions of relevant laws and regulations, and do not violate public order and good customs.
根据本公开的实施例,本公开还提供了一种电子设备、一种可读存储介质和一种计算机程序产品。According to embodiments of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium, and a computer program product.
图7示出了可以用来实施本公开的实施例的示例电子设备700的示意性框图。电子设备旨在表示各种形式的数字计算机,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。电子设备还可以表示各种形式的移动装置,诸如,个人数字助理、蜂窝电话、智能电话、可穿戴设备和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本公开的实现。FIG. 7 shows a schematic block diagram of an example
如图7所示,设备700包括计算单元701,其可以根据存储在只读存储器(ROM)702中的计算机程序或者从存储单元708加载到随机访问存储器(RAM)703中的计算机程序,来执行各种适当的动作和处理。在RAM 703中,还可存储设备700操作所需的各种程序和数据。计算单元701、ROM 702以及RAM 703通过总线704彼此相连。输入/输出(I/O)接口705也连接至总线704。As shown in FIG. 7 , the
设备700中的多个部件连接至I/O接口705,包括:输入单元706,例如键盘、鼠标等;输出单元707,例如各种类型的显示器、扬声器等;存储单元708,例如磁盘、光盘等;以及通信单元709,例如网卡、调制解调器、无线通信收发机等。通信单元709允许设备700通过诸如因特网的计算机网络和/或各种电信网络与其他设备交换信息/数据。Various components in the
计算单元701可以是各种具有处理和计算能力的通用和/或专用处理组件。计算单元701的一些示例包括但不限于中央处理单元(CPU)、图形处理单元(GPU)、各种专用的人工智能(AI)计算芯片、各种运行机器学习模型算法的计算单元、数字信号处理器(DSP)、以及任何适当的处理器、控制器、微控制器等。优选的,本实施例的GPU为ARM芯片自带的MaliGPU。计算单元701执行上文所描述的各个方法和处理,例如数据处理方法。例如,在一些实施例中,数据处理方法可被实现为计算机软件程序,其被有形地包含于机器可读介质,例如存储单元708。在一些实施例中,计算机程序的部分或者全部可以经由ROM 702和/或通信单元709而被载入和/或安装到设备700上。当计算机程序加载到RAM 703并由计算单元701执行时,可以执行上文描述的数据处理方法的一个或多个步骤。备选地,在其他实施例中,计算单元701可以通过其他任何适当的方式(例如,借助于固件)而被配置为执行数据处理方法。
本文中以上描述的系统和技术的各种实施方式可以在数字电子电路系统、集成电路系统、场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、芯片上系统的系统(SOC)、负载可编程逻辑设备(CPLD)、计算机硬件、固件、软件、和/或它们的组合中实现。这些各种实施方式可以包括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括至少一个可编程处理器的可编程系统上执行和/或解释,该可编程处理器可以是专用或者通用可编程处理器,可以从存储系统、至少一个输入装置、和至少一个输出装置接收数据和指令,并且将数据和指令传输至该存储系统、该至少一个输入装置、和该至少一个输出装置。Various implementations of the systems and techniques described herein above may be implemented in digital electronic circuitry, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips system (SOC), load programmable logic device (CPLD), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include being implemented in one or more computer programs executable and/or interpretable on a programmable system including at least one programmable processor that The processor, which may be a special purpose or general-purpose programmable processor, may receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device an output device.
用于实施本公开的方法的程序代码可以采用一个或多个编程语言的任何组合来编写。这些程序代码可以提供给通用计算机、专用计算机或其他可编程数据处理装置的处理器或控制器,使得程序代码当由处理器或控制器执行时使流程图和/或框图中所规定的功能/操作被实施。程序代码可以完全在机器上执行、部分地在机器上执行,作为独立软件包部分地在机器上执行且部分地在远程机器上执行或完全在远程机器或服务器上执行。Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer or other programmable data processing apparatus, such that the program code, when executed by the processor or controller, performs the functions/functions specified in the flowcharts and/or block diagrams. Action is implemented. The program code may execute entirely on the machine, partly on the machine, partly on the machine and partly on a remote machine as a stand-alone software package or entirely on the remote machine or server.
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with the instruction execution system, apparatus or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), fiber optics, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
为了提供与用户的交互,可以在计算机上实施此处描述的系统和技术,该计算机具有:用于向用户显示信息的显示装置(例如,CRT(阴极射线管)或者LCD(液晶显示器)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给计算机。其它种类的装置还可以用于提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。To provide interaction with a user, the systems and techniques described herein may be implemented on a computer having a display device (eg, a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user ); and a keyboard and pointing device (eg, a mouse or trackball) through which a user can provide input to the computer. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (eg, visual feedback, auditory feedback, or tactile feedback); and can be in any form (including acoustic input, voice input, or tactile input) to receive input from the user.
可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将系统的部件相互连接。通信网络的示例包括:局域网(LAN)、广域网(WAN)、区块链网络和互联网。The systems and techniques described herein may be implemented on a computing system that includes back-end components (eg, as a data server), or a computing system that includes middleware components (eg, an application server), or a computing system that includes front-end components (eg, a user computer having a graphical user interface or web browser through which a user may interact with implementations of the systems and techniques described herein), or including such backend components, middleware components, Or any combination of front-end components in a computing system. The components of the system may be interconnected by any form or medium of digital data communication (eg, a communication network). Examples of communication networks include: Local Area Networks (LANs), Wide Area Networks (WANs), blockchain networks, and the Internet.
计算机系统可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。服务器可以是云服务器,又称为云计算服务器或云主机,是云计算服务体系中的一项主机产品,以解决了传统物理主机与VPS服务中,存在的管理难度大,业务扩展性弱的缺陷。服务器也可以为分布式系统的服务器,或者是结合了区块链的服务器。A computer system can include clients and servers. Clients and servers are generally remote from each other and usually interact through a communication network. The relationship of client and server arises by computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also known as a cloud computing server or a cloud host. It is a host product in the cloud computing service system to solve the traditional physical host and VPS services, which are difficult to manage and weak in business scalability. defect. The server can also be a server of a distributed system, or a server combined with a blockchain.
人工智能是研究使计算机来模拟人的某些思维过程和智能行为(如学习、推理、思考、规划等)的学科,既有硬件层面的技术也有软件层面的技术。人工智能硬件技术一般包括如传感器、专用人工智能芯片、云计算、分布式存储、大数据处理等技术;人工智能软件技术主要包括计算机视觉技术、语音识别技术、自然语言处理技术及机器学习/深度学习技术、大数据处理技术、知识图谱技术等几大方向。Artificial intelligence is the study of making computers to simulate certain thinking processes and intelligent behaviors of people (such as learning, reasoning, thinking, planning, etc.), both hardware-level technology and software-level technology. Artificial intelligence hardware technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, and big data processing; artificial intelligence software technologies mainly include computer vision technology, speech recognition technology, natural language processing technology, and machine learning/depth Learning technology, big data processing technology, knowledge graph technology and other major directions.
云计算(cloud computing),指的是通过网络接入弹性可扩展的共享物理或虚拟资源池,资源可以包括服务器、操作系统、网络、软件、应用和存储设备等,并可以按需、自服务的方式对资源进行部署和管理的技术体系。通过云计算技术,可以为人工智能、区块链等技术应用、模型训练提供高效强大的数据处理能力。Cloud computing refers to accessing elastically scalable shared physical or virtual resource pools through the network. Resources can include servers, operating systems, networks, software, applications and storage devices, etc., and can be self-service on demand and on demand. A technical system for deploying and managing resources in a way. Through cloud computing technology, it can provide efficient and powerful data processing capabilities for artificial intelligence, blockchain and other technical applications and model training.
应该理解,可以使用上面所示的各种形式的流程,重新排序、增加或删除步骤。例如,本公开中记载的各步骤可以并行地执行也可以顺序地执行也可以不同的次序执行,只要能够实现本公开公开的技术方案所期望的结果,本文在此不进行限制。It should be understood that steps may be reordered, added or deleted using the various forms of flow shown above. For example, the steps described in the present disclosure can be executed in parallel, sequentially, or in different orders, as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved, no limitation is imposed herein.
上述具体实施方式,并不构成对本公开保护范围的限制。本领域技术人员应该明白的是,根据设计要求和其他因素,可以进行各种修改、组合、子组合和替代。任何在本公开的精神和原则之内所作的修改、等同替换和改进等,均应包含在本公开保护范围之内。The above-mentioned specific embodiments do not constitute a limitation on the protection scope of the present disclosure. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may occur depending on design requirements and other factors. Any modifications, equivalent replacements, and improvements made within the spirit and principles of the present disclosure should be included within the protection scope of the present disclosure.
Claims (16)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111215063.5A CN113961289B (en) | 2021-10-19 | 2021-10-19 | A data processing method, device, equipment and storage medium |
| PCT/CN2022/125605 WO2023066183A1 (en) | 2021-10-19 | 2022-10-17 | Data processing method and apparatus, device, and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111215063.5A CN113961289B (en) | 2021-10-19 | 2021-10-19 | A data processing method, device, equipment and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN113961289A true CN113961289A (en) | 2022-01-21 |
| CN113961289B CN113961289B (en) | 2024-09-10 |
Family
ID=79465155
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202111215063.5A Active CN113961289B (en) | 2021-10-19 | 2021-10-19 | A data processing method, device, equipment and storage medium |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN113961289B (en) |
| WO (1) | WO2023066183A1 (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114710323A (en) * | 2022-03-16 | 2022-07-05 | 苏州木星科技有限公司 | Cloud desktop device based on block chain and data processing method |
| WO2023066183A1 (en) * | 2021-10-19 | 2023-04-27 | 北京百度网讯科技有限公司 | Data processing method and apparatus, device, and storage medium |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117155963A (en) * | 2023-07-27 | 2023-12-01 | 重庆长安汽车股份有限公司 | Data processing method, device, equipment and storage medium |
Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8627005B1 (en) * | 2004-03-26 | 2014-01-07 | Emc Corporation | System and method for virtualization of networked storage resources |
| WO2015078020A1 (en) * | 2013-11-30 | 2015-06-04 | 华为技术有限公司 | Gesture operation conversion method and apparatus |
| CN108011951A (en) * | 2017-11-30 | 2018-05-08 | 北京奇艺世纪科技有限公司 | Remote assistance method, device, system and electronic equipment |
| CN109395372A (en) * | 2018-12-07 | 2019-03-01 | 上海达龙信息科技有限公司 | Realize method, system and the electronic equipment of game paddle remote control computer game |
| CN110174946A (en) * | 2019-05-16 | 2019-08-27 | 上海达龙信息科技有限公司 | Mouse action analogy method, simulation system, storage medium and electronic equipment |
| CN110891084A (en) * | 2019-11-08 | 2020-03-17 | 深圳市华科智能有限公司 | Thin client remote desktop control system based on autonomous HVDP protocol |
| CN111278711A (en) * | 2018-03-12 | 2020-06-12 | 莱尔诺瓦公司 | Device for processing data of rail vehicles |
| CN112156450A (en) * | 2020-08-20 | 2021-01-01 | 福建升腾资讯有限公司 | Game handle redirection method and system applied to cloud desktop |
| CN113395304A (en) * | 2020-03-12 | 2021-09-14 | 阿里巴巴集团控股有限公司 | Information pushing method and system, client, storage medium and computing terminal |
| CN113489805A (en) * | 2021-07-21 | 2021-10-08 | 深圳市创凯智能股份有限公司 | Docking method, device, equipment and storage medium of cloud desktop system |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR102102168B1 (en) * | 2013-10-21 | 2020-04-21 | 한국전자통신연구원 | Appratus for a virtual desktop service and method thereof |
| CN113961289B (en) * | 2021-10-19 | 2024-09-10 | 北京百度网讯科技有限公司 | A data processing method, device, equipment and storage medium |
-
2021
- 2021-10-19 CN CN202111215063.5A patent/CN113961289B/en active Active
-
2022
- 2022-10-17 WO PCT/CN2022/125605 patent/WO2023066183A1/en not_active Ceased
Patent Citations (10)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8627005B1 (en) * | 2004-03-26 | 2014-01-07 | Emc Corporation | System and method for virtualization of networked storage resources |
| WO2015078020A1 (en) * | 2013-11-30 | 2015-06-04 | 华为技术有限公司 | Gesture operation conversion method and apparatus |
| CN108011951A (en) * | 2017-11-30 | 2018-05-08 | 北京奇艺世纪科技有限公司 | Remote assistance method, device, system and electronic equipment |
| CN111278711A (en) * | 2018-03-12 | 2020-06-12 | 莱尔诺瓦公司 | Device for processing data of rail vehicles |
| CN109395372A (en) * | 2018-12-07 | 2019-03-01 | 上海达龙信息科技有限公司 | Realize method, system and the electronic equipment of game paddle remote control computer game |
| CN110174946A (en) * | 2019-05-16 | 2019-08-27 | 上海达龙信息科技有限公司 | Mouse action analogy method, simulation system, storage medium and electronic equipment |
| CN110891084A (en) * | 2019-11-08 | 2020-03-17 | 深圳市华科智能有限公司 | Thin client remote desktop control system based on autonomous HVDP protocol |
| CN113395304A (en) * | 2020-03-12 | 2021-09-14 | 阿里巴巴集团控股有限公司 | Information pushing method and system, client, storage medium and computing terminal |
| CN112156450A (en) * | 2020-08-20 | 2021-01-01 | 福建升腾资讯有限公司 | Game handle redirection method and system applied to cloud desktop |
| CN113489805A (en) * | 2021-07-21 | 2021-10-08 | 深圳市创凯智能股份有限公司 | Docking method, device, equipment and storage medium of cloud desktop system |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2023066183A1 (en) * | 2021-10-19 | 2023-04-27 | 北京百度网讯科技有限公司 | Data processing method and apparatus, device, and storage medium |
| CN114710323A (en) * | 2022-03-16 | 2022-07-05 | 苏州木星科技有限公司 | Cloud desktop device based on block chain and data processing method |
Also Published As
| Publication number | Publication date |
|---|---|
| CN113961289B (en) | 2024-09-10 |
| WO2023066183A1 (en) | 2023-04-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN112769897B (en) | Synchronization method and device of edge calculation message, electronic equipment and storage medium | |
| WO2023066183A1 (en) | Data processing method and apparatus, device, and storage medium | |
| CN112508768B (en) | Single-operator multi-model pipeline reasoning method, system, electronic equipment and medium | |
| CN111757118B (en) | Video transcoding processing method, device, equipment and medium | |
| KR102589876B1 (en) | Method and apparatus for step-assisted workflow | |
| WO2023103390A1 (en) | Task processing method, task processing apparatus, electronic device and storage medium | |
| CN117574868A (en) | Chart generation method, device, equipment and storage medium | |
| CN116248772A (en) | Data transmission method, device, equipment and medium under virtualization management | |
| CN112382294A (en) | Voice recognition method and device, electronic equipment and storage medium | |
| CN113766487A (en) | Cloud mobile phone information acquisition method, device, device and medium | |
| CN113724398A (en) | Augmented reality method, apparatus, device and storage medium | |
| CN114245175A (en) | Video transcoding method and device, electronic equipment and storage medium | |
| CN113518088B (en) | Data processing method, device, server, client and medium | |
| CN114217996A (en) | Sound mixing method and device | |
| CN114244821B (en) | Data processing method, device, equipment, electronic equipment and storage medium | |
| CN113746837B (en) | Information processing method and apparatus, electronic device, and computer readable medium | |
| CN115810353A (en) | Keyword detection method and storage medium in speech | |
| CN114201280A (en) | Multimedia data processing method, device, equipment and storage medium | |
| CN114475631B (en) | Driving data processing method, device, automatic driving vehicle medium and product | |
| CN118939971A (en) | Data processing based on MLLM and MLLM training method and device | |
| CN114221940B (en) | Audio data processing method, system, device, equipment and storage medium | |
| CN113760431B (en) | Application control method and device, electronic equipment and readable storage medium | |
| CN117459719A (en) | Reference frame selection method, device, electronic device and storage medium | |
| CN115883676A (en) | A data packet transmission method, device, electronic equipment and storage medium | |
| CN116527652A (en) | Method, device, equipment and medium for determining file format conversion path |
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 |