[go: up one dir, main page]

CN116346814A - Application control method, device, storage medium and chip based on cloud desktop - Google Patents

Application control method, device, storage medium and chip based on cloud desktop Download PDF

Info

Publication number
CN116346814A
CN116346814A CN202310186459.4A CN202310186459A CN116346814A CN 116346814 A CN116346814 A CN 116346814A CN 202310186459 A CN202310186459 A CN 202310186459A CN 116346814 A CN116346814 A CN 116346814A
Authority
CN
China
Prior art keywords
application
state
information
desktop
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310186459.4A
Other languages
Chinese (zh)
Inventor
朱建平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Huawei Cloud Computing Technology Co ltd
Original Assignee
Shenzhen Huawei Cloud Computing 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 Shenzhen Huawei Cloud Computing Technology Co ltd filed Critical Shenzhen Huawei Cloud Computing Technology Co ltd
Priority to CN202310186459.4A priority Critical patent/CN116346814A/en
Publication of CN116346814A publication Critical patent/CN116346814A/en
Pending legal-status Critical Current

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/01Protocols
    • H04L67/08Protocols specially adapted for terminal emulation, e.g. Telnet
    • 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
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

一种基于云桌面的应用控制方法、装置、存储介质及芯片,用于基于第一桌面上应用的状态同步云桌面上该应用的状态,从而减少用户的操作步骤,提高用户的便利性。本申请第一装置接收第一信息,第一信息包括应用的标识信息和指示第一桌面中的应用为第一状态的信息,第一装置基于第一信息,控制云桌面的应用处于第一状态。由于第一装置可以基于第一桌面上应用的状态同步云桌面上该应用的状态,从而减少用户的操作步骤,提高用户的便利性。

Figure 202310186459

An application control method, device, storage medium and chip based on a cloud desktop, used for synchronizing the state of the application on the cloud desktop based on the state of the application on the first desktop, thereby reducing the user's operation steps and improving the user's convenience. The first device of the present application receives the first information, the first information includes application identification information and information indicating that the application in the first desktop is in the first state, and the first device controls the application of the cloud desktop to be in the first state based on the first information . Since the first device can synchronize the state of the application on the cloud desktop based on the state of the application on the first desktop, the user's operation steps are reduced and the user's convenience is improved.

Figure 202310186459

Description

基于云桌面的应用控制方法、装置、存储介质及芯片Application control method, device, storage medium and chip based on cloud desktop

技术领域technical field

本申请涉及云桌面技术领域,尤其涉及一种基于云桌面的应用控制方法、装置、存储介质及芯片。The present application relates to the field of cloud desktop technology, and in particular to a cloud desktop-based application control method, device, storage medium, and chip.

背景技术Background technique

为了便于用户对桌面的访问、以及便于管理,提出了桌面虚拟化技术,通过桌面虚拟化技术,用户可以使用客户端通过网络随时、随地访问自己的云桌面。目前,用户通常使用鼠标或者键盘对桌面进行操作。具体的,当用户通过鼠标或者键盘在客户端对桌面进行操作时,鼠标、或者键盘的输入信息通过设置的窗口消息钩子发送给服务器,由服务器针对鼠标、或者键盘的输入信息对用户的操作做出相应的响应,呈现在客户端。In order to facilitate users' access to and management of desktops, desktop virtualization technology is proposed. Through desktop virtualization technology, users can use clients to access their cloud desktops anytime and anywhere through the network. Currently, users usually use a mouse or a keyboard to operate the desktop. Specifically, when the user operates the desktop on the client side through the mouse or keyboard, the input information of the mouse or keyboard is sent to the server through the set window message hook, and the server responds to the user's operation according to the input information of the mouse or keyboard. The corresponding response is presented on the client side.

在实际应用中,用户可能会在多个桌面对同一个应用进行一些操作,但是多个桌面上的同一个应用之间并无关联,用户需要单独在每个桌面上单独对应用进行操作。In practical applications, the user may perform some operations on the same application on multiple desktops, but the same application on multiple desktops is not related, and the user needs to operate the application on each desktop independently.

举个例子,用户在桌面#1(比如安装有云桌面的客户端的电子设备的本地桌面)上打开了应用#1,并通过应用#1进行一些事务,比如工作聊天休闲娱乐等。之后当用户通过客户端登录云桌面后,若想要继续使用应用#1,则需要在云桌面上再次双击云桌面上安装的应用#1,启动并登录应用#1。这些操作较为繁杂,给用户带来了极大的不便。For example, the user opens application #1 on desktop #1 (such as a local desktop of an electronic device installed with a cloud desktop client), and performs some transactions through application #1, such as work, chat, leisure and entertainment. Afterwards, after the user logs in to the cloud desktop through the client, if he wants to continue using application #1, he needs to double-click the application #1 installed on the cloud desktop on the cloud desktop again to start and log in to application #1. These operations are relatively complicated and bring great inconvenience to users.

发明内容Contents of the invention

本申请提供一种基于云桌面的应用控制方法、装置、存储介质及芯片,用于基于第一桌面上应用的状态同步云桌面上该应用的状态,从而减少用户的操作步骤,提高用户的便利性。The present application provides a cloud desktop-based application control method, device, storage medium, and chip, which are used to synchronize the state of the application on the cloud desktop based on the state of the application on the first desktop, thereby reducing the user's operation steps and improving the user's convenience sex.

第一方面,本申请实施例提供一种基于云桌面的应用控制方法,该方法可以适用于第一装置。第一装置比如可以为服务器或服务器内部的单元、模块或芯片(系统)。In a first aspect, an embodiment of the present application provides a method for controlling an application based on a cloud desktop, and the method may be applicable to a first device. The first device may be, for example, a server or a unit, module or chip (system) inside the server.

本申请中,第一装置接收第一信息。第一信息包括应用的标识信息和指示第一桌面中的应用为第一状态的信息。第一状态为目标状态中的状态。目标状态包括启动状态、登录状态、显示状态、退出登录状态或退出应用状态中的一项或多项。第一装置基于第一信息,控制云桌面的应用处于第一状态。In this application, the first device receives the first information. The first information includes identification information of the application and information indicating that the application in the first desktop is in the first state. The first state is a state in the target state. The target state includes one or more of a startup state, a login state, a display state, a logout state, or an application exit state. Based on the first information, the first device controls the application of the cloud desktop to be in the first state.

由于第一装置可以基于第一桌面上应用的状态同步云桌面上该应用的状态,从而减少用户的操作步骤,提高用户的便利性。Since the first device can synchronize the state of the application on the cloud desktop based on the state of the application on the first desktop, the user's operation steps are reduced and the user's convenience is improved.

在一种可能的实施方式中,显示状态包括前置显示状态,或非前置显示状态。如此第一装置还可以控制第一桌面和云桌面上该应用的显示状态同步,继而为用户提供更大的便利性。In a possible implementation manner, the display state includes a front display state, or a non-front display state. In this way, the first device can also control the synchronization of the display state of the application on the first desktop and the cloud desktop, thereby providing greater convenience for the user.

在一种可能的实施方式中,第一桌面与云桌面具备关联关系。本申请可以预设第一桌面和云桌面的关联关系,从而使第一桌面和云桌面的应用的状态同步,而与云桌面没有关联的其它桌面,则该其它桌面的应用不会与云桌面上的应用状态同步,从而可以提高安全性。In a possible implementation manner, the first desktop has an association relationship with the cloud desktop. This application can preset the association relationship between the first desktop and the cloud desktop, so that the state of the application of the first desktop and the cloud desktop is synchronized, and for other desktops that are not associated with the cloud desktop, the applications of the other desktops will not be connected with the cloud desktop. Application state synchronization on the Internet, which can improve security.

在一种可能的实施方式中,第一状态包括启动状态、登录状态或显示状态的情况下,第一装置基于第一信息,控制云桌面的应用处于第一状态之前,第一装置接收连接请求消息,连接请求消息请求客户端与云桌面建立连接,第一信息承载于连接请求消息中。第一装置基于连接请求启动云桌面,在启动后的云桌面基于第一信息控制应用处于第一状态。In a possible implementation manner, when the first state includes startup state, login state or display state, the first device receives the connection request before the application controlling the cloud desktop is in the first state based on the first information message, the connection request message requests the client to establish a connection with the cloud desktop, and the first information is carried in the connection request message. The first device starts the cloud desktop based on the connection request, and the started cloud desktop controls the application to be in the first state based on the first information.

如此当云桌面启动之后云桌面上的应用也自动启动,且状态与第一桌面上的应用同步,如此可以减少用户的操作步骤,为用户提供更多的便利性。In this way, when the cloud desktop is started, the applications on the cloud desktop are also automatically started, and the state is synchronized with the application on the first desktop, so that the user's operation steps can be reduced, and more convenience can be provided for the user.

在一种可能的实施方式中,第一装置确定云桌面上的应用切换为目标状态中的第二状态,第一装置发送第二信息,第二信息包括应用的标识和指示应用在云桌面处于第二状态的信息。如此第一桌面和云桌面的状态可以保持同步,从而为用户提供更多的便利性。In a possible implementation manner, the first device determines that the application on the cloud desktop is switched to the second state in the target state, and the first device sends the second information. The second information includes the identification of the application and indicates that the application is in the second state in the cloud desktop. Information about the second state. In this way, the states of the first desktop and the cloud desktop can be kept in sync, thereby providing more convenience for the user.

在一种可能的实施方式中,第二信息用于第二装置控制第一桌面的应用切换为第二状态,第二装置为客户端侧的装置。In a possible implementation manner, the second information is used by the second device to control the application of the first desktop to switch to the second state, and the second device is a client-side device.

在一种可能的实施方式中,第一装置接收第三信息,第三信息包括应用的标识和指示第一桌面中的应用处于目标状态中的第三状态的信息,第一装置基于第三信息控制云桌面的应用切换为第三状态。如此第一桌面和云桌面的状态可以保持同步,从而为用户提供更多的便利性。In a possible implementation manner, the first device receives third information, where the third information includes an application identifier and information indicating that the application on the first desktop is in a third state in the target state, and the first device receives the third information based on the third information The application controlling the cloud desktop is switched to the third state. In this way, the states of the first desktop and the cloud desktop can be kept in sync, thereby providing more convenience for the user.

在一种可能的实施方式中,第一装置接收应用的第二授权信息,第二授权信息包括指示允许在第一界面和云桌面同步应用的状态的信息,第一装置接收来自第二装置的第一授权信息,第二装置为客户端侧的装置。第一装置在确定第一授权信息与第二授权信息匹配的情况下,基于第一信息控制云桌面的应用处于第一状态。如此可以提高安全性。In a possible implementation manner, the first device receives the second authorization information of the application, the second authorization information includes information indicating the state of allowing the application to be synchronized on the first interface and the cloud desktop, and the first device receives the application from the second device. For the first authorization information, the second device is a device on the client side. When the first device determines that the first authorization information matches the second authorization information, based on the first information, the application of the cloud desktop is controlled to be in the first state. This increases security.

在一种可能的实施方式中,第一授权信息包括应用的授权码,和/或,第一界面的标识信息。In a possible implementation manner, the first authorization information includes an application authorization code, and/or, identification information of the first interface.

在一种可能的实施方式中,第一桌面满足如下内容中的一项:第一桌面上启动的应用的界面集成客户端的入口;第一桌面上启动的应用的进程与客户端对应的进程具有关联关系;显示第一桌面的电子设备,与客户端所在的电子设备为同一个电子设备;显示第一桌面的电子设备,与客户端所在的电子设备为两个相同类型的电子设备;或,显示第一桌面的电子设备,与客户端所在的电子设备为两个不同类型的电子设备。如此,用户可以根据实际情况灵活设置需要应用同步的桌面,可以提高方案的灵活性。In a possible implementation manner, the first desktop satisfies one of the following contents: the interface of the application started on the first desktop integrates the entry of the client; the process of the application started on the first desktop and the process corresponding to the client have Association relationship; the electronic device displaying the first desktop is the same electronic device as the electronic device where the client is located; the electronic device displaying the first desktop is two electronic devices of the same type as the electronic device where the client is located; or, The electronic device displaying the first desktop and the electronic device where the client is located are two different types of electronic devices. In this way, the user can flexibly set desktops requiring application synchronization according to actual conditions, which can improve the flexibility of the solution.

第二方面,本申请实施例提供一种基于云桌面的应用控制方法,该方法可以适用于第二装置。第二装置比如可以为客户端或客户端内部的单元、模块或芯片(系统)。In a second aspect, the embodiment of the present application provides a method for controlling an application based on a cloud desktop, and the method may be applicable to a second device. The second device may be, for example, the client or a unit, module, or chip (system) inside the client.

本申请中,第二装置获取第一信息,第一信息包括应用的标识信息和指示第一桌面中的应用为第一状态的信息。第一状态为目标状态中的状态。目标状态包括启动状态、登录状态、显示状态、退出登录状态或退出应用状态中的一项或多项。第二装置发送第一信息,第一信息用于第一装置基于第一信息控制云桌面的应用处于第一状态,第一装置为服务器侧的装置。In this application, the second device acquires first information, and the first information includes application identification information and information indicating that the application on the first desktop is in the first state. The first state is a state in the target state. The target state includes one or more of a startup state, a login state, a display state, a logout state, or an application exit state. The second device sends the first information, the first information is used by the first device to control the application of the cloud desktop to be in the first state based on the first information, and the first device is a device on the server side.

由于第一装置可以基于第一桌面上应用的状态同步云桌面上该应用的状态,从而减少用户的操作步骤,提高用户的便利性。Since the first device can synchronize the state of the application on the cloud desktop based on the state of the application on the first desktop, the user's operation steps are reduced and the user's convenience is improved.

在一种可能的实施方式中,显示状态包括前置显示状态,或非前置显示状态。相关介绍和有益效果参见前述第一方面的相关描述,不再赘述。In a possible implementation manner, the display state includes a front display state, or a non-front display state. For related introductions and beneficial effects, refer to the relevant description of the first aspect above, and no more details are given here.

在一种可能的实施方式中,第一桌面与云桌面具备关联关系。相关介绍和有益效果参见前述第一方面的相关描述,不再赘述。In a possible implementation manner, the first desktop has an association relationship with the cloud desktop. For related introductions and beneficial effects, refer to the relevant description of the first aspect above, and no more details are given here.

在一种可能的实施方式中,第一状态包括启动状态、登录状态或第一显示状态的情况下,第二装置发送连接请求消息,连接请求消息请求客户端与云桌面建立连接,第一信息承载于连接请求消息中。In a possible implementation manner, when the first state includes the startup state, the login state, or the first display state, the second device sends a connection request message, the connection request message requests the client to establish a connection with the cloud desktop, and the first information Carried in a connection request message.

如此当云桌面启动之后云桌面上的应用也自动启动,且状态与第一桌面上的应用同步,如此可以减少用户的操作步骤,为用户提供更多的便利性。In this way, when the cloud desktop is started, the applications on the cloud desktop are also automatically started, and the state is synchronized with the application on the first desktop, so that the user's operation steps can be reduced, and more convenience can be provided for the user.

在一种可能的实施方式中,第二装置接收第二信息,第二信息包括应用的标识和指示云桌面中的应用处于目标状态中的第二状态的信息,第二装置基于第二信息控制第一桌面的应用切换为第二状态。In a possible implementation manner, the second device receives the second information, the second information includes an application identifier and information indicating that the application in the cloud desktop is in the second state of the target state, and the second device controls the The application on the first desktop is switched to the second state.

在一种可能的实施方式中,第二信息是第一装置确定云桌面上的应用切换为第二状态的情况下发送的,第一装置为服务器侧的装置。如此当云桌面启动之后云桌面上的应用也自动启动,且状态与第一桌面上的应用同步,如此可以减少用户的操作步骤,为用户提供更多的便利性。In a possible implementation manner, the second information is sent when the first device determines that the application on the cloud desktop is switched to the second state, and the first device is a device on the server side. In this way, when the cloud desktop is started, the applications on the cloud desktop are also automatically started, and the state is synchronized with the application on the first desktop, so that the user's operation steps can be reduced, and more convenience can be provided for the user.

在一种可能的实施方式中,第二装置确定第一桌面上的应用切换为目标状态中的第三状态,第二装置发送第三信息,第三信息包括应用的标识和指示第一桌面上的应用切换为目标状态中的第三状态的信息。In a possible implementation manner, the second device determines that the application on the first desktop is switched to the third state in the target state, and the second device sends third information, where the third information includes the identification of the application and indicates that the application on the first desktop The application transitions to the information of the third state in the target state.

在一种可能的实施方式中,第三信息用于第一装置基于第三信息控制云桌面的应用切换为第三状态,第一装置为服务器侧的装置。如此当云桌面启动之后云桌面上的应用也自动启动,且状态与第一桌面上的应用同步,如此可以减少用户的操作步骤,为用户提供更多的便利性。In a possible implementation manner, the third information is used by the first device to control the cloud desktop application to switch to the third state based on the third information, and the first device is a device on the server side. In this way, when the cloud desktop is started, the applications on the cloud desktop are also automatically started, and the state is synchronized with the application on the first desktop, so that the user's operation steps can be reduced, and more convenience can be provided for the user.

在一种可能的实施方式中,第二装置接收应用的第三授权信息,第三授权信息包括指示允许在第一界面和云桌面同步应用的状态的信息,第一授权信息为第三授权信息中的信息。第二装置发送第一授权信息。如此可以提高安全性。In a possible implementation manner, the second device receives the third authorization information of the application, the third authorization information includes information indicating the state of allowing the synchronization of the application on the first interface and the cloud desktop, and the first authorization information is the third authorization information information in . The second device sends first authorization information. This increases security.

在一种可能的实施方式中,第一授权信息包括应用的授权码,和/或,第一界面的标识信息。In a possible implementation manner, the first authorization information includes an application authorization code, and/or, identification information of the first interface.

在一种可能的实施方式中,第一桌面满足如下内容中的一项:第一桌面上启动的应用的界面集成客户端的入口;第一桌面上启动的应用的进程与客户端对应的进程具有关联关系;显示第一桌面的电子设备,与客户端所在的电子设备为同一个电子设备;显示第一桌面的电子设备,与客户端所在的电子设备为两个相同类型的电子设备;或,显示第一桌面的电子设备,与客户端所在的电子设备为两个不同类型的电子设备。用户可以根据实际情况灵活设置需要应用同步的桌面,可以提高方案的灵活性。In a possible implementation manner, the first desktop satisfies one of the following contents: the interface of the application started on the first desktop integrates the entry of the client; the process of the application started on the first desktop and the process corresponding to the client have Association relationship; the electronic device displaying the first desktop is the same electronic device as the electronic device where the client is located; the electronic device displaying the first desktop is two electronic devices of the same type as the electronic device where the client is located; or, The electronic device displaying the first desktop and the electronic device where the client is located are two different types of electronic devices. Users can flexibly set the desktops that require application synchronization according to the actual situation, which can improve the flexibility of the solution.

第三方面,提供了一种通信装置,该通信装置可以为前述第一装置或第二装置。该通信装置可以包括通信单元和处理单元,以执行上述第一方面至第二方面中的任一方面,或执行第一方面至第二方面的任一种可能的实施方式。通信单元用于执行与发送和接收相关的功能。可选地,通信单元包括接收单元和发送单元。在一种设计中,通信装置为通信芯片,处理单元可以是一个或多个处理器或处理器核心,通信单元可以为通信芯片的输入输出电路或者端口。In a third aspect, a communication device is provided, and the communication device may be the aforementioned first device or the second device. The communication device may include a communication unit and a processing unit, so as to implement any one of the above first aspect to the second aspect, or to implement any possible implementation manner of the first aspect to the second aspect. The communication unit is used to perform functions related to transmission and reception. Optionally, the communication unit includes a receiving unit and a sending unit. In one design, the communication device is a communication chip, the processing unit may be one or more processors or processor cores, and the communication unit may be an input/output circuit or port of the communication chip.

在另一种设计中,通信单元可以为发射器和接收器,或者通信单元为发射机和接收机。In another design, the communication unit may be a transmitter and a receiver, or the communication unit may be a transmitter and a receiver.

可选的,通信装置还包括可用于执行上述第一方面至第二方面中的任一方面,或执行第一方面至第二方面的任一种可能的实施方式的各个模块。Optionally, the communication device further includes various modules that can be used to implement any one of the above first aspect to the second aspect, or to implement any possible implementation manner of the first aspect to the second aspect.

第四方面,提供了一种通信装置,该通信装置可以为前述第一装置或第二装置。该通信装置可以包括处理器和存储器,以执行上述第一方面至第二方面中的任一方面,或执行第一方面至第二方面的任一种可能的实施方式。可选的,还包括收发器,该存储器用于存储计算机程序或指令,该处理器用于从存储器中调用并运行该计算机程序或指令,当处理器执行存储器中的计算机程序或指令时,使得该通信装置执行上述第一方面至第二方面中的任一方面,或执行第一方面至第二方面的任一种可能的实施方式。In a fourth aspect, a communication device is provided, and the communication device may be the aforementioned first device or the second device. The communication device may include a processor and a memory, so as to implement any one of the above first aspect to the second aspect, or to implement any possible implementation manner of the first aspect to the second aspect. Optionally, a transceiver is also included, the memory is used to store computer programs or instructions, the processor is used to call and run the computer programs or instructions from the memory, and when the processor executes the computer programs or instructions in the memory, the The communication device implements any one of the above first aspect to the second aspect, or implements any possible implementation manner of the first aspect to the second aspect.

可选的,处理器为一个或多个,存储器为一个或多个。Optionally, there are one or more processors, and one or more memories.

可选的,存储器可以与处理器集成在一起,或者存储器与处理器分离设置。Optionally, the memory may be integrated with the processor, or the memory may be separated from the processor.

可选的,收发器中可以包括,发射机(发射器)和接收机(接收器)。Optionally, the transceiver may include a transmitter (transmitter) and a receiver (receiver).

第五方面,提供了一种通信装置,该通信装置可以为前述第一装置或第二装置。该通信装置可以包括处理器,以执行上述第一方面至第二方面中的任一方面,或执行第一方面至第二方面的任一种可能的实施方式。该处理器与存储器耦合。可选地,该通信装置还包括存储器。可选地,该通信装置还包括通信接口,处理器与通信接口耦合。In a fifth aspect, a communication device is provided, and the communication device may be the aforementioned first device or the second device. The communications device may include a processor to implement any one of the above first aspect to the second aspect, or to implement any possible implementation manner of the first aspect to the second aspect. The processor is coupled with memory. Optionally, the communication device further includes a memory. Optionally, the communication device further includes a communication interface, and the processor is coupled to the communication interface.

在一种实现方式中,该通信装置为第一装置或第二装置时,通信接口可以是收发器,或,输入/输出接口。可选地,收发器可以为收发电路。可选地,输入/输出接口可以为输入/输出电路。In an implementation manner, when the communication device is the first device or the second device, the communication interface may be a transceiver, or an input/output interface. Optionally, the transceiver may be a transceiver circuit. Optionally, the input/output interface may be an input/output circuit.

在又一种实现方式中,当该通信装置为芯片或芯片系统时,通信接口可以是该芯片或芯片系统上的输入/输出接口、接口电路、输出电路、输入电路、管脚或相关电路等。处理器也可以体现为处理电路或逻辑电路。In yet another implementation, when the communication device is a chip or a chip system, the communication interface may be an input/output interface, an interface circuit, an output circuit, an input circuit, a pin or a related circuit on the chip or the chip system, etc. . A processor may also be embodied as processing circuitry or logic circuitry.

第六方面,提供了一种系统,系统包括上述第一装置。In a sixth aspect, a system is provided, and the system includes the above-mentioned first device.

一种可能的实现方式中,该系统还可以包括一个或多个第二装置。In a possible implementation manner, the system may further include one or more second devices.

第七方面,提供了一种计算机程序产品,计算机程序产品包括:计算机程序(也可以称为代码,或指令),当计算机程序被运行时,使得计算机执行上述第一方面至第二方面中的任一方面,或执行第一方面至第二方面的任一种可能的实施方式。In a seventh aspect, a computer program product is provided, and the computer program product includes: a computer program (also referred to as code, or an instruction), which, when the computer program is executed, causes the computer to execute the above-mentioned first aspect to the second aspect. Any aspect, or any possible implementation manner of implementing the first aspect to the second aspect.

第八方面,提供了一种计算机可读存储介质,计算机可读介质存储有计算机程序(也可以称为代码,或指令)当其在计算机上运行时,使得计算机执行上述第一方面至第二方面中的任一方面,或执行第一方面至第二方面的任一种可能的实施方式。In an eighth aspect, a computer-readable storage medium is provided, and the computer-readable medium stores a computer program (also referred to as code, or an instruction) which, when run on a computer, causes the computer to perform the above-mentioned first to second aspects. Any one of the aspects, or any possible implementation manner of implementing the first aspect to the second aspect.

第九方面,提供了一种芯片系统,该芯片系统可以包括处理器。该处理器与存储器耦合,可用于执行上述第一方面至第二方面中的任一方面,或执行第一方面至第二方面的任一种可能的实施方式。可选地,该芯片系统还包括存储器。存储器,用于存储计算机程序(也可以称为代码,或指令)。处理器,用于从存储器调用并运行计算机程序,使得安装有芯片系统的设备执行上述第一方面至第二方面中的任一方面,或执行第一方面至第二方面的任一种可能的实施方式。In a ninth aspect, a chip system is provided, and the chip system may include a processor. The processor is coupled with the memory, and may be used to execute any one of the above first aspect to the second aspect, or to execute any possible implementation manner of the first aspect to the second aspect. Optionally, the chip system further includes a memory. Memory, used to store computer programs (also called code, or instructions). A processor, configured to call and run a computer program from the memory, so that the device installed with the system-on-a-chip executes any one of the above-mentioned first to second aspects, or executes any possible one of the first to second aspects implementation.

第十方面,提供了一种处理装置,包括:接口电路和处理电路。接口电路可以包括输入电路和输出电路。处理电路用于通过输入电路接收信号,并通过输出电路发射信号,使得上述第一方面至第二方面中的任一方面,或执行第一方面至第二方面的任一种可能的实施方式被实现。In a tenth aspect, a processing device is provided, including: an interface circuit and a processing circuit. Interface circuitry may include input circuitry and output circuitry. The processing circuit is used to receive signals through the input circuit and transmit signals through the output circuit, so that any one of the above-mentioned first aspect to the second aspect, or any possible implementation manner of implementing the first aspect to the second aspect is accomplish.

在具体实现过程中,上述处理装置可以为芯片,输入电路可以为输入管脚,输出电路可以为输出管脚,处理电路可以为晶体管、门电路、触发器和各种逻辑电路等。输入电路所接收的输入的信号可以是由例如但不限于接收器接收并输入的,输出电路所输出的信号可以是例如但不限于输出给发射器并由发射器发射的,且输入电路和输出电路可以是同一电路,该电路在不同的时刻分别用作输入电路和输出电路。本申请对处理器及各种电路的具体实现方式不做限定。In a specific implementation process, the above-mentioned processing device may be a chip, the input circuit may be an input pin, the output circuit may be an output pin, and the processing circuit may be a transistor, a gate circuit, a flip-flop, and various logic circuits. The input signal received by the input circuit may be received and input by, for example but not limited to, the receiver, the output signal of the output circuit may be, for example but not limited to, output to the transmitter and transmitted by the transmitter, and the input circuit and the output The circuit may be the same circuit, which is used as an input circuit and an output circuit respectively at different times. The present application does not limit the specific implementation manners of the processor and various circuits.

在一种实现方式中,当通信装置是第一装置或第二装置。接口电路可以为第一装置或第二装置中的射频处理芯片,处理电路可以为第一装置或第二装置中的基带处理芯片。In an implementation manner, when the communication device is the first device or the second device. The interface circuit may be a radio frequency processing chip in the first device or the second device, and the processing circuit may be a baseband processing chip in the first device or the second device.

在又一种实现方式中,通信装置可以是第一装置或第二装置中的部分器件,如系统芯片或通信芯片等集成电路产品。接口电路可以为该芯片或芯片系统上的输入/输出接口、接口电路、输出电路、输入电路、管脚或相关电路等。处理电路可以为该芯片上的逻辑电路。In yet another implementation manner, the communication device may be a part of the first device or the second device, such as an integrated circuit product such as a system chip or a communication chip. The interface circuit may be an input/output interface, interface circuit, output circuit, input circuit, pin or related circuit on the chip or chip system. The processing circuitry may be logic circuitry on the chip.

附图说明Description of drawings

图1为本申请实施例提供的一种可能的网络架构示意图;FIG. 1 is a schematic diagram of a possible network architecture provided by an embodiment of the present application;

图2为本申请实施例提供的又一种可能的网络架构示意图;FIG. 2 is a schematic diagram of another possible network architecture provided by the embodiment of the present application;

图3为本申请实施例提供的一种基于云桌面的应用控制方法的流程示意图;FIG. 3 is a schematic flow diagram of a cloud desktop-based application control method provided in an embodiment of the present application;

图4A为本申请实施例提供的一种客户端的界面示意图;FIG. 4A is a schematic diagram of a client interface provided by an embodiment of the present application;

图4B为本申请实施例提供的又一种客户端的界面示意图;FIG. 4B is a schematic diagram of another client interface provided by the embodiment of the present application;

图5A为本申请实施例提供的一种虚拟桌面数据处理系统的架构示意图;FIG. 5A is a schematic structural diagram of a virtual desktop data processing system provided by an embodiment of the present application;

图5B为本申请实施例提供的一种基于云桌面的应用控制方法的流程示意图;FIG. 5B is a schematic flowchart of a cloud desktop-based application control method provided by an embodiment of the present application;

图6为本申请实施例提供的一种装置的结构示意图;FIG. 6 is a schematic structural diagram of a device provided in an embodiment of the present application;

图7为本申请实施例提供的一种装置的结构示意图;FIG. 7 is a schematic structural diagram of a device provided in an embodiment of the present application;

图8为本申请实施例提供的一种装置的结构示意图。FIG. 8 is a schematic structural diagram of a device provided by an embodiment of the present application.

具体实施方式Detailed ways

下面先对本申请实施例中涉及的部分用语进行解释说明,以便于本领域技术人员容易理解。Some of the terms involved in the embodiments of the present application are firstly explained below, so as to be easily understood by those skilled in the art.

(1)虚拟桌面,是一种软件或服务,可以是指用户在进行远程访问过程中所获取得操作系统桌面。用户访问虚拟桌面不受设备、地域、时间等因素限制,提供用户访问虚拟桌面的灵活性。(1) Virtual desktop is a kind of software or service, which may refer to the operating system desktop obtained by the user during the remote access process. Users' access to virtual desktops is not limited by factors such as devices, regions, and time, providing users with flexibility in accessing virtual desktops.

(2)虚拟机,是指通过软件模拟的具有完整硬件系统功能的、运行在一个完全隔离环境中的完整计算机系统。在物理机中能够完成的工作在虚拟机中都能够实现。在计算机中创建虚拟机时,需要将物理机的部分硬盘和内存容量作为虚拟机的硬盘和内存容量。每个虚拟机都有独立的CMOS、硬盘和操作系统,可以像使用实体机一样对虚拟机进行操作。在实际应用中,一台物理服务器可以通过虚拟化技术虚拟出多台虚拟机。(2) Virtual machine refers to a complete computer system that is simulated by software and has complete hardware system functions and runs in a completely isolated environment. Everything that can be done on a physical machine can be done on a virtual machine. When creating a virtual machine in a computer, part of the hard disk and memory capacity of the physical machine needs to be used as the hard disk and memory capacity of the virtual machine. Each virtual machine has an independent CMOS, hard disk and operating system, and the virtual machine can be operated like a physical machine. In practical applications, a physical server can virtualize multiple virtual machines through virtualization technology.

图1为本申请实施例提供的一种云桌面系统架构场景示意图,该系统仅是一种示例性说明,只是给出了与本发明实施例相关的组成部分,但是图1并不是对本发明应用的具体限定。Figure 1 is a schematic diagram of a cloud desktop system architecture scenario provided by the embodiment of the present application. The system is only an exemplary description, and only shows the components related to the embodiment of the present invention, but Figure 1 is not applicable to the present invention specific limitations.

如图1所示,该系统包括云桌面的客户端,本申请实施例中涉及到的客户端可以替换为云桌面客户端、云桌面的客户端等,为了方便介绍,本申请实施例中部分位置称为客户端。As shown in Figure 1, the system includes a cloud desktop client. The clients involved in the embodiments of this application can be replaced by cloud desktop clients, cloud desktop clients, etc. For the convenience of introduction, some of the The location is called a client.

客户端可以装在电子设备上,安装客户端的电子设备可以称为瘦客户端,安装客户端的电子设备的设备形式可以是普通计算机101a、平板电脑101b、智能手机101c等,它们可以通过客户端基于网络使用远程桌面协议访问云桌面(云桌面也可以为虚拟机、远程桌面或虚拟桌面(Virtual Desktop)等)。The client can be installed on an electronic device, and the electronic device on which the client is installed can be called a thin client. The network uses the remote desktop protocol to access the cloud desktop (the cloud desktop can also be a virtual machine, a remote desktop or a virtual desktop (Virtual Desktop), etc.).

该系统还可以包括服务器(比如图1中所示出的服务器104a...104n),服务器为云桌面的载体,云桌面可以以虚拟机的形式存在于服务器上。一个服务器可以提供一个或多个云桌面。The system may also include a server (such as the servers 104a...104n shown in FIG. 1), the server is the carrier of the cloud desktop, and the cloud desktop may exist on the server in the form of a virtual machine. A server can provide one or more cloud desktops.

该系统还可以包括云桌面管理系统。云桌面管理系统用于提供用户的客户端与云桌面的映射等功能。客户端首先连接到云桌面管理系统,获取用户的虚拟机地址,进而连接到云桌面,云桌面管理系统可以为服务器,也可以为普通个人计算机等,本发明对此不作具体限定。用户通过客户端访问服务器上分配给该用户的云桌面,该云桌面将用户访问的内容传输到用户的客户端进行显示。The system may also include a cloud desktop management system. The cloud desktop management system is used to provide functions such as mapping between the user's client and the cloud desktop. The client first connects to the cloud desktop management system, obtains the user's virtual machine address, and then connects to the cloud desktop. The cloud desktop management system can be a server or an ordinary personal computer, which is not specifically limited in the present invention. The user accesses the cloud desktop assigned to the user on the server through the client, and the cloud desktop transmits the content accessed by the user to the user's client for display.

上述云桌面以虚拟机的形式存在于服务器上仅为举例,服务器还可以创建容器,云桌面也可以运行于容器中,本申请实施例对此不做限定。The above-mentioned cloud desktop exists in the form of a virtual machine on the server as an example only, the server can also create a container, and the cloud desktop can also run in the container, which is not limited in this embodiment of the present application.

基于图1所示的系统,图2示例性示出了本申请实施例提供的一种云桌面系统架构场景示意图。Based on the system shown in FIG. 1 , FIG. 2 exemplarily shows a schematic diagram of a cloud desktop system architecture scenario provided by an embodiment of the present application.

如图2所示,该系统包括电子设备10、云桌面管理系统30、服务器20以及应用#1的服务器40。As shown in FIG. 2 , the system includes an electronic device 10 , a cloud desktop management system 30 , a server 20 and a server 40 for application #1.

其中,云桌面管理系统30可以为前述图1中的云桌面管理系统,该云桌面管理系统可以用于提供用户的客户端与云桌面的映射等功能。Wherein, the cloud desktop management system 30 may be the above-mentioned cloud desktop management system in FIG. 1 , and the cloud desktop management system may be used to provide functions such as mapping between the user's client and the cloud desktop.

电子设备10可以安装有客户端11和应用#1,还可以包括有注册表13。电子设备10也可以称为本地设备。电子设备10可以为上述普通计算机101a、平板电脑101b、智能手机101c等。服务器20可以提供云桌面21,云桌面21包括云桌面代理22和应用#1,还可以包括注册表23。The electronic device 10 may be installed with a client 11 and an application #1, and may also include a registry 13 . The electronic device 10 may also be called a local device. The electronic device 10 may be the above-mentioned ordinary computer 101a, a tablet computer 101b, a smart phone 101c, and the like. The server 20 can provide a cloud desktop 21, and the cloud desktop 21 includes a cloud desktop agent 22 and application #1, and can also include a registry 23.

用户可以通过电子设备10的客户端11访问云桌面21。电子设备10的桌面和云桌面还可以分别安装一个或多个应用,本申请实施例中以电子设备10的本地桌面安装有应用#1,且云桌面21上安装有应用#1为例进行介绍。实际应用中电子设备10的本地桌面和云桌面还可以分别安装更多数量的应用,本申请实施例不做限制。电子设备10的本地桌面上安装的应用#1以及云桌面21上安装的应用#1可以基于应用#1的业务服务器40为用户提供一种或多种功能,比如用户可以基于应用#1(电子设备10上安装的应用#1,或云桌面21上安装的应用#1)进行社交聊天视频等、再比如用户通过应用#1进行购物、再比如用户通过应用#1进行工作(比如welink应用)等等。The user can access the cloud desktop 21 through the client 11 of the electronic device 10 . The desktop of the electronic device 10 and the cloud desktop can also install one or more applications respectively. In the embodiment of this application, the application #1 is installed on the local desktop of the electronic device 10, and the application #1 is installed on the cloud desktop 21. . In actual applications, the local desktop and the cloud desktop of the electronic device 10 can also install more applications respectively, which is not limited in this embodiment of the present application. The application #1 installed on the local desktop of the electronic device 10 and the application #1 installed on the cloud desktop 21 can provide the user with one or more functions based on the service server 40 of the application #1. For example, the user can provide the user with one or more functions based on the application #1 (electronic The application #1 installed on the device 10, or the application #1 installed on the cloud desktop 21) performs social chatting video, etc. Another example is that the user uses the application #1 to shop, and another example is the user uses the application #1 to work (such as the welink application) etc.

本申请实施例中电子设备10中可以设置客户端入口,客户端入口和应用#1的入口可以是独立的,也可以是有关联的。图2中以电子设备10的本地桌面上的应用#1中嵌入客户端入口为例进行示意,实际应用中电子设备10的本地桌面上的应用#1也可以不嵌入客户端入口。实际应用中,电子设备10的本地桌面上也可以设置多个客户端11的入口,比如既在电子设备10的本地桌面上的应用#1的界面设置有客户端11的入口,也在电子设备10的本地桌面上设置有客户端11的入口。In the embodiment of the present application, a client entry can be set in the electronic device 10, and the client entry and the entry of application #1 can be independent or related. In FIG. 2 , the client portal is embedded in the application #1 on the local desktop of the electronic device 10 as an example. In actual applications, the application #1 on the local desktop of the electronic device 10 may not be embedded in the client portal. In practical applications, the local desktop of the electronic device 10 may also have multiple entries for the client 11. For example, the interface of the application #1 on the local desktop of the electronic device 10 is provided with an entry for the client 11, and the interface of the electronic device 10 is also provided with The local desktop of 10 is provided with the entrance of client 11.

基于图1和图2所示实施例以及上述其它内容,图3示例性示出了本申请实施例提供的一种基于云桌面的应用控制方法。为了方便介绍,该方法是从第一装置和第二装置两侧交互的角度进行撰写的。Based on the embodiments shown in FIG. 1 and FIG. 2 and other contents above, FIG. 3 exemplarily shows a cloud desktop-based application control method provided by an embodiment of the present application. For ease of presentation, the method is written from the perspective of interaction between the first device and the second device.

本申请实施例中的第一装置可以为服务器侧的装置,第一装置可以为服务器,或者为服务器中的单元、模块或芯片(系统)。一种可能的实施方式中,第一装置比如可以为前述图2中的云桌面代理22。该方案中的第二装置可以为客户端或客户端中的装置,比如第二装置可以为安装有客户端的电子设备(比如前述图1中普通计算机101a、平板电脑101b、智能手机101c等)中的单元、模块或芯片(系统),再比如第二装置可以为前述图2中的客户端11。The first device in the embodiment of the present application may be a server-side device, and the first device may be a server, or a unit, module, or chip (system) in the server. In a possible implementation manner, the first device may be, for example, the cloud desktop proxy 22 in FIG. 2 . The second device in this solution can be a client or a device in the client, for example, the second device can be an electronic device (such as the ordinary computer 101a, tablet computer 101b, smart phone 101c, etc. in the aforementioned Figure 1) with the client installed. The unit, module or chip (system), for another example, the second device may be the aforementioned client 11 in FIG. 2 .

本申请实施例中是以一个应用为例进行介绍的,下述应用可以为前述图2涉及到的应用#1。本申请实施例中云桌面和第一桌面上的同一个应用的状态可以相同,从而减少用户的操作步骤,为用户提供便利性。下面结合图3进行进一步的介绍。In this embodiment of the present application, an application is used as an example for introduction, and the following application may be the application #1 mentioned in FIG. 2 above. In the embodiment of the present application, the state of the same application on the cloud desktop and the first desktop can be the same, thereby reducing the user's operation steps and providing convenience for the user. A further introduction will be made below in conjunction with FIG. 3 .

如图3所示,该方法包括:As shown in Figure 3, the method includes:

步骤301,第二装置获取第一信息。In step 301, the second device acquires first information.

第一信息包括应用的标识信息和指示第一桌面中的应用为第一状态的信息。The first information includes identification information of the application and information indicating that the application in the first desktop is in the first state.

本申请实施例中应用的标识信息可以包括能够指示出应用的信息,比如应用的标识或应用的名称等中的至少一项。The identification information of the application in this embodiment of the present application may include information capable of indicating the application, such as at least one of an application identification or an application name.

本申请实施例中该应用可以有多种状态,为了区分将该应用的多种状态统称为目标状态,目标状态包括启动状态、登录状态、显示状态、退出登录状态或退出应用状态中的一项或多项。本申请实施例中的第一状态,以及后续涉及到的第二状态和第三状态都属于目标状态中的状态,其中第一状态、第二状态和第三状态中的任意两个状态都不同。In the embodiment of this application, the application can have multiple states. In order to distinguish the various states of the application, they are collectively referred to as the target state, and the target state includes one of the startup state, login state, display state, logout state, or exit application state or more. The first state in the embodiment of the present application, as well as the second state and the third state involved in the follow-up all belong to the state in the target state, wherein any two states in the first state, the second state and the third state are different .

当应用处于启动状态表示该应用已经启动。当应用处于登录状态表示该应用已经启动且用户已经登录成功。When the application is in the activated state, it means that the application has been activated. When the application is in the login state, it means that the application has been started and the user has successfully logged in.

当应用处于显示状态表示该应用已经启动且用户已经登录成功,且有特定的显示方式。本申请实施例中显示状态可以包括多种,比如前置显示状态、前置操作状态、非前置显示状态或非前置操作状态等。When the application is in the display state, it means that the application has been started and the user has successfully logged in, and there is a specific display method. The display state in this embodiment of the present application may include multiple types, such as a front display state, a front operation state, a non-front display state, or a non-front operation state.

比如应用所处的显示状态包括前置显示状态,表示该应用已经启动且当前显示在当前桌面的最前方,或者称该应用前置于桌面。For example, the display state of the application includes the front display state, which means that the application has been started and is currently displayed at the forefront of the current desktop, or that the application is placed in front of the desktop.

再比如应用所处的显示状态包括前置操作状态,表示该应用已经启动且前置于桌面,且该应用当前处于正在操作中(即用户正在对该应用执行一些操作)。Another example is that the display state of the application includes the pre-operation state, which means that the application has been started and placed on the desktop, and the application is currently in operation (that is, the user is performing some operations on the application).

再比如应用所处的显示状态包括非前置显示状态,表示该应用已经启动但没有显示在当前桌面的最前方,或者称该应用没有前置于桌面。Another example is that the display state of the application includes a non-front display state, which means that the application has been started but is not displayed at the forefront of the current desktop, or that the application is not placed in front of the desktop.

再比如应用所处的显示状态包括非前置操作状态,表示该应用已经启动且没有前置于桌面,且该应用当前没有处于正在操作中(即用户当前没有对该应用执行操作)。Another example is that the display state of the application includes a non-pre-operation state, which means that the application has been started and is not placed on the desktop, and the application is not currently in operation (that is, the user is not currently performing an operation on the application).

当应用处于退出登录状态表示该应用已经退出所登录的用户账号。When the application is in the logout state, it means that the application has logged out of the logged-in user account.

当应用处于退出应用状态表示该应用已经完全退出,或者说该应用已经处于关闭状态。When the application is in the state of exiting the application, it means that the application has been completely exited, or that the application has been closed.

本申请实施例中的第一桌面是与云桌面不同的桌面,第一桌面安装有该应用(该应用比如可以为图2所示的应用#1)。The first desktop in the embodiment of the present application is a desktop different from the cloud desktop, and the application is installed on the first desktop (for example, the application may be application #1 shown in FIG. 2 ).

一种可能的实施方式中,显示第一桌面的电子设备与客户端所在的电子设备(或者说安装有客户端的电子设备)可以为同一个电子设备。第二装置可以通过同一个电子设备的进程之间的沟通获取到的应用的第一状态。In a possible implementation manner, the electronic device displaying the first desktop and the electronic device where the client is located (or the electronic device on which the client is installed) may be the same electronic device. The second device may acquire the first state of the application through communication between processes of the same electronic device.

比如,客户端的入口和第一桌面上该应用的入口可以是互相独立的两个入口,这种情况下,客户端和第一桌面上的该应用可以为单独的两个进程,第二装置可以通过该两个进程之间的沟通获取到第一桌面上该应用的状态信息(第一状态的信息)。比如,两个进程都处于同一个操作系统下,可调用操作系统提供的系统函数进行本地进程间通信。For example, the entrance of the client and the entrance of the application on the first desktop can be two independent entrances. In this case, the client and the application on the first desktop can be two separate processes, and the second device can The state information (information of the first state) of the application on the first desktop is acquired through the communication between the two processes. For example, two processes are under the same operating system, and system functions provided by the operating system can be called to perform local inter-process communication.

再比如,第一桌面上启动的应用的进程与客户端(云桌面的客户端)对应的进程具有关联关系,比如,第一桌面上启动的应用的界面集成客户端的入口(如前述图4B所示),当用户通过第一桌面上启动的应用的界面进入客户端时,客户端的进程可以与该应用的进程之间建立关联关系。这种情况下,由于客户端的进程与应用的进程之间是有关联关系的,因此第二装置(比如客户端)可以访问该应用的进程,以便获取到第一桌面上该应用的状态信息(第一状态的信息)。For another example, the process of the application started on the first desktop has an association relationship with the process corresponding to the client (client of the cloud desktop). As shown), when the user enters the client through the interface of the application started on the first desktop, an association relationship may be established between the process of the client and the process of the application. In this case, since there is an association between the process of the client and the process of the application, the second device (such as the client) can access the process of the application in order to obtain the state information of the application on the first desktop ( first state information).

下面通过图4A和图4B示例性示出了几种电子设备10的本地桌面的可能的示意图。图4A和图4B中以显示第一桌面的电子设备与客户端所在的电子设备为同一个电子设备,该电子设备为上述图2中的电子设备10,电子设备10为笔记本电脑,应用#1为WeLink为例进行示意的。本申请实施例中“WeLink”作为一个应用的示例进行介绍,本申请实施例提供的方案不限于应用“WeLink”,也可以适用于其他应用。The following schematic diagrams of possible local desktops of several electronic devices 10 are exemplarily shown in FIG. 4A and FIG. 4B . In Fig. 4A and Fig. 4B, the electronic device displaying the first desktop and the electronic device where the client is located are the same electronic device, the electronic device is the electronic device 10 in Fig. 2 above, the electronic device 10 is a notebook computer, and application #1 Take WeLink as an example to illustrate. In the embodiment of this application, "WeLink" is introduced as an example of an application. The solution provided in the embodiment of this application is not limited to the application of "WeLink", and may also be applicable to other applications.

如图4A所示,该电子设备10当前显示的界面为电子设备10的本地桌面,可以看出电子设备10的本地桌面包括多个应用的图标,比如包括此电脑的图标,WeLink的图标,以及云桌面的图标。其中,WeLink图标可以视为应用#1的图标,也是可以视为电子设备10的本地桌面上的应用#1的入口。云桌面的图标可以视为客户端11的图标,也是可以视为电子设备10的本地桌面上的客户端11的入口。如图4A所示,本申请实施例中电子设备10的本地桌面中包括的客户端11的入口和应用#1的入口可以是两个独立的入口。应用#1启动后为一个进程,客户端11启动后为另一个进程,两个进程之间相互独立。As shown in FIG. 4A, the interface currently displayed by the electronic device 10 is the local desktop of the electronic device 10. It can be seen that the local desktop of the electronic device 10 includes icons of multiple applications, such as the icon of this computer, the icon of WeLink, and Cloud desktop icon. Wherein, the WeLink icon can be regarded as the icon of the application #1, and also can be regarded as the entrance of the application #1 on the local desktop of the electronic device 10 . The icon of the cloud desktop can be regarded as the icon of the client 11 , and also can be regarded as the entrance of the client 11 on the local desktop of the electronic device 10 . As shown in FIG. 4A , the entry of the client 11 and the entry of the application #1 included in the local desktop of the electronic device 10 in the embodiment of the present application may be two independent entries. After the application #1 is started, it is a process, and after the client 11 is started, it is another process, and the two processes are independent of each other.

如图4B所示,电子设备10的本地桌面中安装的应用#1中可以嵌入客户端入口。在电子设备10的本地桌面上打开应用#1(比如通过双击电子设备10的本地桌面上的WeLink图标从而打开WeLink”),应用#1的界面可以包括多种功能选项,比如消息、会议、通讯录、业务和知识。应用#1的界面上可以设置有云桌面的图标,应用#1的界面上的云桌面的图标可以视为应用#1上嵌入的客户端11的入口。用户可以通过一定的操作(比如双击或单击)WeLink界面上的云桌面的图标,继而打开云桌面。当用户是通过电子设备10的本地桌面的应用#1中嵌入的客户端入口登录的云桌面,WeLink和云桌面之间的进程可以是有关联关系的两个进程(比如可以通过用户的授权建立WeLink和云桌面二者之间的关联关系),从而客户端11可以更容易确定出电子设备10的本地桌面上应用#1的状态(比如是否处于登录状态)。本申请实施例中图4B中在应用#1的界面嵌入客户端入口的形式仅仅是一种示例,实际应用中可以在应用#1的其它界面或其它位置嵌入客户端入口。As shown in FIG. 4B , the client portal can be embedded in the application #1 installed on the local desktop of the electronic device 10 . Open the application #1 on the local desktop of the electronic device 10 (for example, by double-clicking the WeLink icon on the local desktop of the electronic device 10 to open "WeLink"), the interface of the application #1 can include a variety of functional options, such as messaging, meeting, communication record, business and knowledge. The icon of the cloud desktop can be set on the interface of the application #1, and the icon of the cloud desktop on the interface of the application #1 can be regarded as the entrance of the embedded client 11 on the application #1. The user can pass a certain operation (such as double-clicking or clicking) the cloud desktop icon on the WeLink interface, and then open the cloud desktop. When the user logs in to the cloud desktop through the client portal embedded in the application #1 of the local desktop of the electronic device 10, WeLink and The processes between the cloud desktops can be two processes with an association relationship (for example, the association relationship between WeLink and the cloud desktop can be established through the authorization of the user), so that the client 11 can more easily determine the local location of the electronic device 10. The state of application #1 on the desktop (such as whether it is in the login state). The form of embedding the client portal in the interface of application #1 in the embodiment of the present application in Fig. Other interfaces or other locations embed client portals.

又一种可能的实施方式中,显示第一桌面的电子设备与客户端所在的电子设备可以分别为两个不同的电子设备,而该两个电子设备的类型可以相同,也可以不同。电子设备的类型比如可以包括电脑、平板电脑或智能手机。举个例子,显示第一桌面的电子设备为电脑#1,安装有客户端的电子设备为电脑#2,电脑#1和电脑#2类型相同。再比如,显示第一桌面的电子设备为平板电脑,安装有客户端的电子设备为电脑#2,平板电脑和电脑#2类型不同。再比如,显示第一桌面的电子设备为电脑#1,安装有客户端的电子设备为手机,电脑#1和手机类型不同。In yet another possible implementation manner, the electronic device displaying the first desktop and the electronic device where the client is located may be two different electronic devices, and the types of the two electronic devices may be the same or different. Types of electronic devices may include, for example, computers, tablets, or smartphones. For example, the electronic device displaying the first desktop is computer #1, the electronic device installed with the client is computer #2, and computer #1 and computer #2 are of the same type. For another example, the electronic device displaying the first desktop is a tablet computer, the electronic device installed with the client is computer #2, and the tablet computer and computer #2 are of different types. For another example, the electronic device displaying the first desktop is computer #1, the electronic device installed with the client is a mobile phone, and the computer #1 and the mobile phone are of different types.

在显示第一桌面的电子设备与客户端所在的电子设备分别为两个不同的电子设备的情况下,第二装置可以通过电子设备之间的连接获取到第一桌面上的应用的状态的信息(即第一状态的信息),比如显示第一桌面的电子设备为电脑#1,安装有客户端的电子设备为智能手机,电脑#1和智能手机同时接入同一个无线局域网,电脑#1和智能手机之间通过蓝牙或无线局域网建立通道,第二装置可以通过该通道获取到第一桌面上该应用的状态信息(第一状态的信息)。In the case that the electronic device displaying the first desktop and the electronic device where the client is located are two different electronic devices, the second device may obtain the status information of the application on the first desktop through the connection between the electronic devices (i.e. information in the first state), for example, the electronic device displaying the first desktop is computer #1, the electronic device installed with the client is a smart phone, and computer #1 and the smart phone are connected to the same WLAN at the same time, and computer #1 and A channel is established between the smart phones through bluetooth or wireless local area network, and the second device can obtain the state information (information of the first state) of the application on the first desktop through the channel.

步骤302,第二装置发送第一信息,第一信息用于第一装置基于第一信息控制云桌面的应用处于第一状态,第一装置为服务器中的装置。In step 302, the second device sends first information, the first information is used by the first device to control the cloud desktop application to be in the first state based on the first information, and the first device is a device in the server.

相对应的,第一装置接收第一信息。Correspondingly, the first device receives the first information.

步骤303,第一装置基于第一信息,控制云桌面的应用处于第一状态。Step 303, the first device controls the application of the cloud desktop to be in the first state based on the first information.

举个例子,比如用户在第一桌面上登录的应用#1,云桌面上的该应用#1也会处于登录状态。再比如云桌面上的应用#1退出登录,则第一桌面上的应用#1也会自动退出登录。再比如,第一桌面上应用#1设置的是前置显示状态,当用户切换至云桌面时,云桌面上的应用#1也是前置显示状态,可以看出,用户即使在第一桌面和云桌面之间切换,应用#1也始终都是显示在最前方。可以看出,本申请实施例中第一桌面上的应用的状态可以与云桌面的应用的状态同步,从而可以减少用户的操作步骤,从而提高用户的便利性。For example, if the user logs in to the application #1 on the first desktop, the application #1 on the cloud desktop will also be in the login state. Another example is that application #1 on the cloud desktop logs out, and then application #1 on the first desktop also automatically logs out. For another example, application #1 on the first desktop is set to the front display state. When the user switches to the cloud desktop, application #1 on the cloud desktop is also in the front display state. It can be seen that even if the user is on the first desktop and When switching between cloud desktops, application #1 is always displayed at the forefront. It can be seen that, in the embodiment of the present application, the state of the application on the first desktop can be synchronized with the state of the application on the cloud desktop, thereby reducing the user's operation steps and improving the user's convenience.

一种可能的实施方式中,若第一状态包括启动状态、登录状态或显示状态。在步骤303之前,第二装置还可以向第一装置发送连接请求消息。相对应的,第一装置接收连接请求消息。连接请求消息请求客户端与云桌面建立连接。第二装置可以将第一信息承载于连接请求消息中发送至第一装置,或者第二装置通过与第一装置之间建立的通道将第一信息单独发送给第一装置。第一装置基于连接请求启动云桌面,在启动后的云桌面基于第一信息控制应用处于第一状态。In a possible implementation manner, if the first state includes a startup state, a login state or a display state. Before step 303, the second device may also send a connection request message to the first device. Correspondingly, the first device receives the connection request message. The connection request message requests the client to establish a connection with the cloud desktop. The second device may carry the first information in a connection request message and send it to the first device, or the second device may separately send the first information to the first device through a channel established with the first device. The first device starts the cloud desktop based on the connection request, and the started cloud desktop controls the application to be in the first state based on the first information.

举个例子,比如第一状态包括登录状态。用户已经在第一桌面登录了该应用,则当用户通过客户端启动云桌面时,云桌面启动成功后也会自动登录该应用(该应用在第一桌面上的登录账号与该云桌面上的登录账号为同一个)。可以看出,用户不需要在云桌面通过双击云桌面上的该应用的图标的方式再次开启该应用,从而可以减少用户的操作步骤,给用户提供更大的便利。For example, the first state includes a login state. If the user has logged in the application on the first desktop, when the user starts the cloud desktop through the client, the cloud desktop will automatically log in to the application after the cloud desktop is successfully started (the login account of the application on the first desktop is the same as the account on the cloud desktop. The login account is the same). It can be seen that the user does not need to double-click the application icon on the cloud desktop to open the application again, thereby reducing the user's operation steps and providing greater convenience to the user.

又一种可能的实施方式,在步骤303之后,第一桌面和云桌面的状态也可以继续保持同步。In another possible implementation manner, after step 303, the states of the first desktop and the cloud desktop may also continue to be synchronized.

比如,第一装置确定云桌面上的应用切换为目标状态中的第二状态(云桌面上的应用从与第二状态不同的状态(比如第一状态或其它状态)切换至第二状态),第一装置发送第二信息。相对应的第二装置接收第二信息。第二信息包括应用的标识和指示应用在云桌面处于第二状态的信息。第二装置基于第二信息控制第一桌面的应用切换为第二状态。For example, the first device determines that the application on the cloud desktop is switched to the second state in the target state (the application on the cloud desktop switches from a state different from the second state (such as the first state or other states) to the second state), The first device sends second information. The corresponding second device receives the second information. The second information includes an application identifier and information indicating that the application is in the second state on the cloud desktop. The second device controls the application on the first desktop to switch to the second state based on the second information.

由于第二信息是第一装置确定云桌面上的应用切换为第二状态的情况下发送的,第二信息用于第二装置控制第一桌面的应用切换为第二状态,可以看出,第一桌面和云桌面上的应用的状态可以保持同步,从而可以节省用户的操作步骤,给用户提供便利性。Since the second information is sent when the first device determines that the application on the cloud desktop is switched to the second state, the second information is used by the second device to control the application on the first desktop to switch to the second state. It can be seen that the first The state of the application on the desktop and the cloud desktop can be kept in sync, thereby saving the operation steps of the user and providing convenience to the user.

再比如,第二装置确定第一桌面上的应用切换为目标状态中的第三状态(第一桌面上的应用从与第三状态不同的状态(比如第一状态、第二状态或其它状态)切换至第三状态),第二装置发送第三信息。相对应的第一装置接收第三信息。第三信息包括应用的标识和指示第一桌面上的应用切换为目标状态中的第三状态的信息。第一装置基于第三信息控制云桌面的应用切换为第三状态。For another example, the second device determines that the application on the first desktop is switched to the third state in the target state (the application on the first desktop is from a state different from the third state (such as the first state, the second state or other states) switch to the third state), the second device sends third information. The corresponding first device receives the third information. The third information includes an application identifier and information indicating that the application on the first desktop is switched to the third state in the target state. The first device controls the application of the cloud desktop to switch to the third state based on the third information.

由于第三信息是第二装置确定第一桌面上的应用切换为第三状态的情况下发送的,第三信息用于第一装置基于第三信息控制云桌面的应用切换为第三状态。可以看出,第一桌面和云桌面上的应用的状态可以保持同步,从而可以节省用户的操作步骤,给用户提供便利性。Since the third information is sent when the second device determines that the application on the first desktop is switched to the third state, the third information is used by the first device to control the application on the cloud desktop to switch to the third state based on the third information. It can be seen that the states of the applications on the first desktop and the cloud desktop can be kept synchronized, thereby saving the user's operation steps and providing convenience to the user.

又一种可能的实施方式中,第一桌面可以与云桌面具备关联关系,比如用户可以提前通过授权的方式设置第一桌面与云桌面之间具备关联关系,从而第一桌面上应用的状态可以允许与云桌面上的应用的状态实现同步。In yet another possible implementation, the first desktop may have an association relationship with the cloud desktop. For example, the user may set the association relationship between the first desktop and the cloud desktop through authorization in advance, so that the state of the application on the first desktop can be Allows synchronization with the state of the application on the cloud desktop.

一种可能的实施方式中,在步骤302之前,第一装置和第二装置可以分别接收授权信息,第一装置接收的授权信息和第二装置接收的授权信息可以不同,也可以相同。授权信息比如包括应用的授权码,和/或,第一界面的标识信息。本申请实施例中第一界面的标识信息可以是指能够标识出第一界面的信息,比如第一界面所属的电子设备的设备标识、第一界面所属的电子设备的设备类型信息等等。In a possible implementation manner, before step 302, the first device and the second device may respectively receive authorization information, and the authorization information received by the first device may be different from the authorization information received by the second device, or may be the same. The authorization information includes, for example, the authorization code of the application, and/or, the identification information of the first interface. The identification information of the first interface in the embodiment of the present application may refer to information capable of identifying the first interface, such as the device identifier of the electronic device to which the first interface belongs, the device type information of the electronic device to which the first interface belongs, and the like.

比如,第一装置接收应用的第二授权信息,第二授权信息包括指示允许在第一界面和云桌面同步应用的状态的信息。第二装置接收应用的第三授权信息,第三授权信息包括指示允许在第一界面和云桌面同步应用的状态的信息。第二授权信息和第三授权信息可以相同也可以不同。For example, the first device receives the second authorization information of the application, and the second authorization information includes information indicating the state of allowing the application to be synchronized on the first interface and the cloud desktop. The second device receives third authorization information of the application, where the third authorization information includes information indicating a state of allowing the application to be synchronized on the first interface and the cloud desktop. The second authorization information and the third authorization information may be the same or different.

在上述步骤302之前,第二装置可以向第一装置发送第一授权信息,第一授权信息为第三授权信息中的部分或全部。在上述步骤303中,第一装置在确定第一授权信息与第二授权信息匹配的情况下,基于第一信息控制云桌面的应用处于第一状态。又一种可能的实施方式中,第一装置在确定第一授权信息与第二授权信息不匹配的情况下,不执行上述步骤303,即不会再自动将该应用的状态设置为第一状态。Before the above step 302, the second device may send first authorization information to the first device, where the first authorization information is part or all of the third authorization information. In the above step 303, the first device controls the cloud desktop application to be in the first state based on the first information when it is determined that the first authorization information matches the second authorization information. In yet another possible implementation manner, when the first device determines that the first authorization information does not match the second authorization information, it does not perform the above step 303, that is, it does not automatically set the status of the application to the first status .

举个例子,比如第二装置向第一装置发送授权码#1,第一装置将来自第二装置的授权码#1与预先接收到的授权码进行比对,如果两个授权码相同,则表示第一授权信息与第二授权信息匹配,第一装置继而基于第一信息控制云桌面的应用处于第一状态。如此,可以提高安全性。如果两个授权码不同,则表示第一授权信息与第二授权信息不匹配,则第一装置不再基于第一信息控制云桌面的应用的状态。For example, if the second device sends an authorization code #1 to the first device, the first device compares the authorization code #1 from the second device with the authorization code received in advance, and if the two authorization codes are the same, then It means that the first authorization information matches the second authorization information, and the first device then controls the application of the cloud desktop to be in the first state based on the first information. In this way, security can be improved. If the two authorization codes are different, it means that the first authorization information does not match the second authorization information, and the first device no longer controls the application state of the cloud desktop based on the first information.

基于图1、图2、图3、图4A和图4B所示实施例以及上述其它内容,图5A示例性示出了本申请实施例提供又一种通信系统架构示意图,图5B示例性示出了本申请实施例提供的一种基于云桌面的应用控制方法。图5B所示的方案是在图5A的基础上示意的。图5B所示的方案是基于前述图2所示的系统架构进行展示的,在图5B中,为了进一步介绍本申请实施例的方案,将云桌面管理系统30中划分出了多个模块,比如接入服务、鉴权中心、桌面控制服务和桌面管理服务等。应用#1的服务器40可以包括应用#1的业务服务以及应用#1的管理服务。本申请实施例适用的系统架构中还可以包括其它装置,比如第三方的及鉴权中心等,未在图中示意出。Based on the embodiments shown in Fig. 1, Fig. 2, Fig. 3, Fig. 4A and Fig. 4B and the above-mentioned other contents, Fig. 5A exemplarily shows a schematic diagram of another communication system architecture provided by the embodiment of the present application, and Fig. 5B exemplarily shows A cloud desktop-based application control method provided in an embodiment of the present application is provided. The scheme shown in Fig. 5B is schematically based on Fig. 5A. The solution shown in FIG. 5B is based on the system architecture shown in FIG. 2. In FIG. 5B, in order to further introduce the solution of the embodiment of the present application, the cloud desktop management system 30 is divided into multiple modules, such as Access service, authentication center, desktop control service and desktop management service, etc. The server 40 of application #1 may include a business service of application #1 and a management service of application #1. The system architecture applicable to the embodiment of the present application may also include other devices, such as a third party and an authentication center, etc., which are not shown in the figure.

如图5A和图5B所示,该方法包括:As shown in Figure 5A and Figure 5B, the method includes:

步骤501,应用#1的管理服务向桌面管理服务注册应用#1并向其授权。Step 501, the management service of application #1 registers application #1 with the desktop management service and authorizes it.

在步骤501中,应用#1的管理服务可以向桌面管理服务进行注册,并授权云桌面和第一桌面上的应用#1的状态同步。比如应用#1的管理服务可以向桌面管理服务发送一些授权信息,比如授权码和/或允许应用同步的第一桌面的标识信息。In step 501, the management service of application #1 may register with the desktop management service, and authorize the state synchronization between the cloud desktop and application #1 on the first desktop. For example, the management service of application #1 may send some authorization information to the desktop management service, such as an authorization code and/or identification information of the first desktop that allows the application to synchronize.

桌面管理服务可以用于管理登录云桌面或云应用的用户,及用户与云桌面匹配关系等。The desktop management service can be used to manage users who log in to cloud desktops or cloud applications, and the matching relationship between users and cloud desktops.

步骤502,桌面管理服务向桌面控制服务下发应用注册业务。In step 502, the desktop management service delivers an application registration service to the desktop control service.

应用注册业务用于注册应用#1。在步骤502中,桌面管理服务还向桌面控制服务下发应用#1的注册信息和应用#1的授权信息。The application registration service is used to register application #1. In step 502, the desktop management service also delivers the registration information of the application #1 and the authorization information of the application #1 to the desktop control service.

步骤503,桌面控制服务分别向客户端11和云桌面代理22下发应用#1的注册信息和应用#1的授权信息。Step 503 , the desktop control service delivers the registration information of the application #1 and the authorization information of the application #1 to the client 11 and the cloud desktop agent 22 respectively.

桌面控制服务分别向客户端11和云桌面代理22连接。桌面控制服务分别向客户端11下发的应用#1的授权信息(相当于前述内容的第三授权信息)和云桌面代理22下发的应用#1的授权信息(相当于前述内容的第二授权信息)可以不同,也可以相同,比如可以包括授权码。这些授权信息可以指示出云桌面上的应用#1允许与其他桌面(比如第一桌面或其它桌面)上的状态同步。The desktop control service is connected to the client 11 and the cloud desktop agent 22 respectively. The authorization information of application #1 issued by the desktop control service to the client 11 (equivalent to the third authorization information of the foregoing content) and the authorization information of application #1 issued by the cloud desktop proxy 22 (equivalent to the second authorization information of the foregoing content). authorization information) may be different or the same, for example, may include an authorization code. These authorization information may indicate that the application #1 on the cloud desktop is allowed to synchronize with the state on other desktops (such as the first desktop or other desktops).

又一种可能的实施方式中,授权信息中还可以包括第一桌面的标识信息,如此这些授权信息可以指示出允许与云桌面上的应用#1状态同步的指定桌面(比如第一桌面)。这种实施方式中,除指定桌面之外的桌面上的应用#1则不可以与云桌面上的应用#1状态同步。该方案可以为用户提供更多个性化的设置,从而提高用户设置的灵活度。In yet another possible implementation manner, the authorization information may also include the identification information of the first desktop, so that the authorization information may indicate a specified desktop (such as the first desktop) that is allowed to synchronize with the state of application #1 on the cloud desktop. In this embodiment, the application #1 on the desktop other than the designated desktop cannot be synchronized with the state of the application #1 on the cloud desktop. This solution can provide users with more personalized settings, thereby improving the flexibility of user settings.

桌面控制服务可以用于下发控制指令到客户端11(或者称客户端的进程)或云桌面代理22(或者称云桌面的代理进程),桌面控制服务可以用于电子设备10与云桌面之间构建数据连接通道时进行预连接校验,还可以进行连接状态控制。The desktop control service can be used to send control instructions to the client 11 (or the process of the client) or the cloud desktop proxy 22 (or the proxy process of the cloud desktop), and the desktop control service can be used between the electronic device 10 and the cloud desktop Pre-connection verification is performed when building a data connection channel, and connection status control can also be performed.

步骤504,客户端11将应用#1的授权信息写入注册表13,云桌面代理22将应用#1的授权信息写入注册表23。Step 504 , the client 11 writes the authorization information of the application #1 into the registry 13 , and the cloud desktop agent 22 writes the authorization information of the application #1 into the registry 23 .

本申请实施例中客户端11和云桌面代理22会将收到的应用#1的授权信息进行存储,存储位置可以灵活设置,图5A中是以授权信息存储至注册表为例进行示例,实际应用中,也可以存储在其他位置。In the embodiment of this application, the client 11 and the cloud desktop agent 22 will store the received authorization information of application #1, and the storage location can be flexibly set. In FIG. 5A, the authorization information is stored in the registry as an example. In practice, In the application, it can also be stored in other locations.

客户端11写入注册表13中的应用#1的信息除了授权信息(比如授权码,或者称关联授权码)之外,还可以包括一些应用#1的信息,比如云桌面启动应用所需的一些,比如应用#1的标识、名称、在第一桌面的启动路径、在云桌面的启动路径,或应用#1是否与远端云桌面关联等中的一项或多项。授权码可以是用户在同意授权云桌面的应用#1与第一桌面的应用#1建立关联关系之后由系统分配的。In addition to the authorization information (such as authorization code, or associated authorization code), the client 11 writes the application #1 information in the registry 13, and may also include some application #1 information, such as the information required by the cloud desktop to start the application. Some, such as the identification and name of the application #1, the startup path on the first desktop, the startup path on the cloud desktop, or one or more of whether the application #1 is associated with the remote cloud desktop or not. The authorization code may be assigned by the system after the user agrees to authorize the application #1 of the cloud desktop to establish an association relationship with the application #1 of the first desktop.

云桌面代理22写入注册表23中的应用#1的信息除了授权信息(比如授权码)之外,还可以包括一些应用#1的信息,比如云桌面启动应用所需的一些,比如应用#1的标识、名称、在第一桌面的启动路径、在云桌面的启动路径,或应用#1是否与远端云桌面关联等中的一项或多项。In addition to the authorization information (such as the authorization code), the information of the application #1 written by the cloud desktop agent 22 in the registry 23 may also include some information of the application #1, such as some required by the cloud desktop to start the application, such as application# One or more of the identification, name of 1, the startup path on the first desktop, the startup path on the cloud desktop, or whether application #1 is associated with the remote cloud desktop.

客户端11写入注册表13中的应用#1的信息与云桌面代理22写入注册表23中的应用#1的信息可以相同,也可以不同。The application #1 information written by the client 11 in the registry 13 and the application #1 information written by the cloud desktop agent 22 in the registry 23 may be the same or different.

另外如果应用不同,比如应用#1替换为应用#2,上述涉及到的到客户端11写入注册表13中的应用#1的信息也会替换为客户端11写入注册表13中的应用#2的信息,随着应用的不同,该两个信息也会不同。云桌面代理22写入注册表23中的应用#1的信息也会替换为云桌面代理22写入注册表23中的应用#2的信息,随着应用的不同,该两个信息也会不同。In addition, if the applications are different, for example, application #1 is replaced by application #2, the above-mentioned information about application #1 written by the client 11 in the registry 13 will also be replaced by the application written by the client 11 in the registry 13 The information of #2, with different applications, the two information will also be different. The information of application #1 written in the registry 23 by the cloud desktop agent 22 will also be replaced by the information of application #2 written by the cloud desktop agent 22 in the registry 23, and the two information will be different depending on the application .

步骤505,用户登录电子设备10上的应用#1。Step 505 , the user logs into the application #1 on the electronic device 10 .

图5B中以用户启动云桌面前已经启动且登录应用#1为例进行示意,实际应用中,用户在启动云桌面之前也可能只是启动了应用#1还未登录,或者也有可能登录应用#1且设置了始终显示在桌面的最前方的显示方式。In Figure 5B, the user has already started and logged into application #1 before starting the cloud desktop as an example. In actual applications, the user may only start application #1 but not log in before starting the cloud desktop, or may also log in to application #1 And set the display mode of always displaying at the forefront of the desktop.

步骤506,用户点击设置在应用#1的界面上设置的客户端入口。Step 506, the user clicks to set the client entry set on the interface of application #1.

通过步骤506提供的方案,用户可以通过集成于应用#1的客户端入口(该入口也可以称为轻量云桌面客户端入口)拉起客户端,在拉起的过程中,应用#1可以向客户端11发送应用#1的信息,比如应用#1的标识信息、应用#1的当前状态的信息等。Through the solution provided in step 506, the user can pull up the client through the client portal integrated in application #1 (this portal can also be called the lightweight cloud desktop client portal). During the pull-up process, application #1 can Send the information of the application #1 to the client 11, such as the identification information of the application #1, the information of the current status of the application #1, and the like.

步骤507,用户在打开的客户端11的界面上输入云桌面的用户信息。Step 507, the user inputs the user information of the cloud desktop on the opened interface of the client 11.

步骤508,客户端11将云桌面的用户信息通过接入服务发送至鉴权中心。Step 508, the client 11 sends the user information of the cloud desktop to the authentication center through the access service.

通过步骤508,鉴权中心可以核对用户信息与预设的用户信息是否匹配,若匹配鉴权成功;若不匹配则鉴权失败。Through step 508, the authentication center can check whether the user information matches the preset user information. If they match, the authentication succeeds; if they do not match, the authentication fails.

步骤509,客户端11向接入服务请求预连接,桌面控制服务请求鉴权中心对预连接进行鉴权。In step 509, the client 11 requests the access service for a pre-connection, and the desktop control service requests the authentication center to authenticate the pre-connection.

举个例子,用户通过云桌面的客户端在第一桌面登录应用#1时,后端云桌面服务器可以开启,也可能关闭,也可能在启动中。For example, when a user logs in to application #1 on the first desktop through the cloud desktop client, the backend cloud desktop server may be turned on, off, or in the process of starting.

客户端11请求预连接的过程也可以称为云桌面的客户端请求预启动的过程。预连接的过程可以包括云端服务器状态的判断和/或服务器登录的鉴权判断等处理(服务器登录可能对接企业的活动目录(active directory,AD),也可能对接企业第三方鉴权中心等)。其中,对云端服务状态的判断可以包括:判断云端的服务器是否已经开启(或者称处于开启状态)。如果云端服务器处于关闭状态或是处于启动过程中(开始启动但是还没有启动成功),可以使云端服务器开启或等待云端的服务器开启。服务器登录的鉴权判断可以是判断该用户是否有权利登录该云桌面,比如可以判断该用户的用户信息是否与该云桌面具有关联关系,若确定该用户有权利登录该云桌面(比如确定该用户的用户信息与云桌面具有关联关系),即鉴权成功,若该用户没有权利登录该云桌面(比如确定该用户的用户信息与云桌面不具有关联关系),则鉴权失败。如果云端服务器处于开启状态,且经过服务器登录的鉴权判断确定该用户有权利登录该云桌面(即鉴权成功),可以称预连接成功,继而客户端与云端可以建立通信通道。The process of the client 11 requesting the pre-connection may also be referred to as the process of the cloud desktop client requesting the pre-start. The pre-connection process may include cloud server status judgment and/or server login authentication judgment and other processing (server login may be connected to the enterprise's active directory (active directory, AD), or may be connected to the enterprise's third-party authentication center, etc.). Wherein, judging the status of the cloud service may include: judging whether the server in the cloud has been turned on (or said to be in the turned-on state). If the cloud server is closed or is in the process of starting (begins to start but has not started successfully), you can enable the cloud server to start or wait for the cloud server to start. The authentication judgment of server login can be to judge whether the user has the right to log in to the cloud desktop, for example, it can be judged whether the user information of the user is associated with the cloud desktop, if it is determined that the user has the right to log in to the cloud desktop (such as determining the The user's user information is associated with the cloud desktop), that is, the authentication is successful, if the user does not have the right to log in to the cloud desktop (for example, it is determined that the user's user information does not have an associated relationship with the cloud desktop), then the authentication fails. If the cloud server is turned on, and the server login authentication determines that the user has the right to log in to the cloud desktop (that is, the authentication is successful), it can be said that the pre-connection is successful, and then the client and the cloud can establish a communication channel.

其中,接入服务可以用于客户端11登录云桌面,及云桌面业务接入网关。Wherein, the access service can be used for the client 11 to log in to the cloud desktop, and the cloud desktop service access gateway.

鉴权中心还可以对其它内容进行鉴权,比如鉴权中心对云桌面登录进行鉴权。比如鉴权中心接收到用于请求预连接的消息(或者也可以称为预连接请求)之后,云桌面可以控制服务器检查云端服务状态,并通知启动的云端的服务器(operating system,OS)鉴权。The authentication center can also authenticate other content, for example, the authentication center authenticates cloud desktop login. For example, after the authentication center receives a message for requesting a pre-connection (or also called a pre-connection request), the cloud desktop can control the server to check the status of the cloud service, and notify the started cloud server (operating system, OS) for authentication .

为了进一步提高安全性,还可以有其它鉴权中心(比如第三方的鉴权中心)进一步进行鉴权,比如可以对云桌面系统登录进行鉴权。鉴权内容可以参见前述描述,不再赘述。In order to further improve security, other authentication centers (such as a third-party authentication center) may further perform authentication, for example, authentication may be performed on cloud desktop system login. For authentication content, refer to the foregoing description, and details are not repeated here.

步骤510,客户端11读取注册表13中存储的应用#1的授权信息。Step 510 , the client 11 reads the authorization information of the application #1 stored in the registry 13 .

步骤511,客户端11向云桌面代理22发送连接请求消息。Step 511 , the client 11 sends a connection request message to the cloud desktop agent 22 .

连接建立请求消息用于在客户端11和云桌面代理22之间建立通道。一种可能的实施方式中,连接请求消息中可以携带应用#1的授权信息以及应用#1在电子设备10上所处的状态的信息。The connection establishment request message is used to establish a channel between the client 11 and the cloud desktop proxy 22 . In a possible implementation manner, the connection request message may carry the authorization information of the application #1 and the status information of the application #1 on the electronic device 10 .

步骤512,云桌面代理22从注册表23读取应用#1的授权信息和应用#1的启动信息(比如启动路径)。In step 512, the cloud desktop agent 22 reads the authorization information of the application #1 and the startup information (such as the startup path) of the application #1 from the registry 23 .

步骤512中,云桌面代理22将从注册表23读取到的应用#1的授权信息与从客户端11接收到的授权信息进行比对,若内容一致,则认为二者匹配,继而执行步骤513。反之,若二者不匹配,则只启动云桌面,但不执行步骤513。In step 512, the cloud desktop agent 22 compares the authorization information of the application #1 read from the registry 23 with the authorization information received from the client 11, and if the content is consistent, it is considered that the two match, and then the step 513. On the contrary, if the two do not match, only the cloud desktop is started, but step 513 is not executed.

步骤513,云桌面代理22根据应用#1的启动信息(比如启动路径)启动并登录云桌面21上的应用#1。Step 513 , the cloud desktop agent 22 starts and logs in the application #1 on the cloud desktop 21 according to the startup information of the application #1 (such as the startup path).

步骤513中,云桌面代理22控制云桌面上的应用#1保持与电子设备10上的应用#1的状态相同,本申请实施例中以应用#1处于登录状态为例进行示意。In step 513, the cloud desktop agent 22 controls the application #1 on the cloud desktop to keep the same state as the application #1 on the electronic device 10. In the embodiment of the present application, the application #1 is in the login state as an example for illustration.

用户通过客户端11登录云桌面之后,云桌面代理22与客户端11之间建立通道,以便进行数据传输,云桌面可以将远端操作数据投递到用户本地终端(比如电子设备10)进行渲染。云桌面也可以接收来自本地终端(比如电子设备10)上的键鼠事件(比如通过键盘和鼠标输入的操作事件)和控制信令。After the user logs in to the cloud desktop through the client 11, the cloud desktop agent 22 establishes a channel with the client 11 for data transmission, and the cloud desktop can deliver the remote operation data to the user's local terminal (such as the electronic device 10) for rendering. The cloud desktop can also receive keyboard and mouse events (such as operation events input through the keyboard and mouse) and control signaling from the local terminal (such as the electronic device 10).

通过上述内容可以看出,用户已经在电子设备10的本地桌面登录了应用#1,则当用户通过客户端11启动云桌面21时,云桌面21启动成功后会自动登录该应用#1,用户不需要在云桌面通过双击云桌面上的该应用#1的图标的方式再次开启该应用#1,从而可以减少用户的操作步骤,给用户提供更大的便利。而且当用户在多人共享的云桌面办公时,对于远端的云桌面上的应用#1,用户可以通过退出本地终端(比如第一桌面)上的应用#1的方式退出云桌面上的应用#1,从而可以降低个人数据的泄露风险。It can be seen from the above content that the user has logged in the application #1 on the local desktop of the electronic device 10, then when the user starts the cloud desktop 21 through the client 11, the cloud desktop 21 will automatically log in to the application #1 after the startup is successful. There is no need to double-click the icon of the application #1 on the cloud desktop to open the application #1 again, thereby reducing the user's operation steps and providing greater convenience to the user. And when the user is working on the cloud desktop shared by multiple people, for the application #1 on the remote cloud desktop, the user can exit the application on the cloud desktop by exiting the application #1 on the local terminal (such as the first desktop) #1, thereby reducing the risk of personal data leakage.

本申请实施例中第一桌面和云桌面同时登录应用#1之后,第一桌面和云桌面上分别登录的应用#1的消息内容也可以同步,第一桌面和云桌面上应用#1的数据(比如消息内容)可以由应用#1的业务服务进行同步,不需要经过客户端11和云桌面代理22之间的通道进行同步,客户端11和云桌面代理22之间的通道可以用于同步第一桌面和云桌面上应用#1的状态,比如启动、登录、显示状态、退出登录或退出应用等。举个例子,第一桌面和云桌面同时登录应用#1之后,用户在云桌面的应用#1发送一条消息#1,该应用#1的业务服务会将该内容同步至第一桌面上的应用#1,即用户在第一桌面上看到的应用#1上也会显示已发送该条消息#1。In the embodiment of this application, after the first desktop and cloud desktop log in to application #1 at the same time, the message content of application #1 logged in on the first desktop and cloud desktop can also be synchronized, and the data of application #1 on the first desktop and cloud desktop (such as message content) can be synchronized by the business service of application #1, without the need to synchronize through the channel between the client 11 and the cloud desktop agent 22, the channel between the client 11 and the cloud desktop agent 22 can be used for synchronization The status of application #1 on the first desktop and cloud desktop, such as startup, login, display status, logout or application exit, etc. For example, after the first desktop and the cloud desktop log in to application #1 at the same time, the user sends a message #1 in the application #1 of the cloud desktop, and the business service of the application #1 will synchronize the content to the application on the first desktop #1, that is, the application #1 that the user sees on the first desktop will also display that the message #1 has been sent.

上述各个消息的名称仅仅是作为示例,随着通信技术的演变,上述任意消息均可能改变其名称,但不管其名称如何发生变化,只要其含义与本申请上述消息的含义相同,则均落入本申请的保护范围之内。The names of the above-mentioned messages are only examples. With the evolution of communication technology, any of the above-mentioned messages may change their names, but no matter how their names change, as long as their meanings are the same as those of the above-mentioned messages in this application, they all fall into the Within the protection scope of this application.

本申请实施例中,向终端设备发送信息可以理解为该信息的目的地是终端设备。例如,模块A向终端发送信息包括:模块A通过空口向终端发送该信息,可选的,模块A可以对该信息进行基带和/或中射频操作;或,模块A将该信息递交至模块B,由模块B向终端发送该信息。其中,模块B向终端发送该信息时,可以是透传该信息、将该信息分段后发送该信息、将该信息与其他信息复用后发送该信息。可选地,模块B可以对该信息进行基带和/或中射频操作后发送该信息等。可选的,模块B可以将该信息封装在数据包中。可选的,模块B还可以为该数据包添加包头和/或填充比特等。In the embodiment of the present application, sending information to a terminal device may be understood as that the destination of the information is the terminal device. For example, sending information from module A to the terminal includes: module A sends the information to the terminal through the air interface, optionally, module A can perform baseband and/or mid-radio frequency operations on the information; or, module A submits the information to module B , and module B sends this information to the terminal. Wherein, when the module B sends the information to the terminal, it may transmit the information transparently, segment the information and send the information, or multiplex the information with other information and send the information. Optionally, module B may perform baseband and/or mid-radio frequency operations on the information and send the information, etc. Optionally, module B may encapsulate the information in a data packet. Optionally, module B may also add a header and/or padding bits to the data packet.

本申请实施例中,从终端设备接收信息可以理解为该信息的发源地是终端设备。例如,模块A从终端设备接收信息包括:模块A通过空口从终端接收该信息,可选的,模块A可以对该信息进行基带和/或中射频操作;或,模块B通过空口从终端接收该信息,并将该信息递交至模块A。其中,模块B将该信息递交至模块A,包括:将接收到的该信息透明地递交至模块A、将接收到的多个分段组合成该信息后递交至模块A、或从复用信息中提取出该信息后递交至模块A。可选地,模块B可以对接收到的信息进行基带和/或中射频操作后发送该信息等。可选的,模块B接收到的该信息被封装在数据包中。可选的,该数据包可以包括包头和/或填充比特等。In this embodiment of the present application, receiving information from a terminal device may be understood as that the source of the information is the terminal device. For example, module A receiving information from the terminal device includes: module A receiving the information from the terminal through the air interface, optionally, module A can perform baseband and/or mid-radio frequency operations on the information; or, module B receiving the information from the terminal through the air interface information, and submit this information to module A. Wherein, module B submits the information to module A, including: transparently submitting the received information to module A, combining multiple received segments into the information and submitting it to module A, or multiplexing information After extracting the information, submit it to module A. Optionally, the module B may perform baseband and/or intermediate radio frequency operations on the received information and then send the information and the like. Optionally, the information received by module B is encapsulated in a data packet. Optionally, the data packet may include a packet header and/or padding bits and the like.

上述模块B可以是一个模块,或者是依次耦合的多个模块,不予限制。例如,模块A是DU模块,模块B是RU模块;再例如,模块A是CU-CP模块,模块B是DU模块和RU模块。The above-mentioned module B may be one module, or a plurality of modules coupled in sequence, without limitation. For example, module A is a DU module, and module B is an RU module; for another example, module A is a CU-CP module, and module B is a DU module and an RU module.

上述主要从各个网元之间交互的角度对本申请提供的方案进行了介绍。可以理解的是,上述实现各网元为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,本发明能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。The foregoing mainly introduces the solution provided by the present application from the perspective of interaction between various network elements. It can be understood that, in order to implement the above functions, each network element includes a corresponding hardware structure and/or software module for performing each function. Those skilled in the art should easily realize that the present invention can be realized in the form of hardware or a combination of hardware and computer software in combination with the units and algorithm steps of each example described in the embodiments disclosed herein. Whether a certain function is executed by hardware or computer software drives hardware depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present invention.

根据前述方法,图6为本申请实施例提供的装置的结构示意图。According to the foregoing method, FIG. 6 is a schematic structural diagram of a device provided in an embodiment of the present application.

参考图6,提供了一种装置1301的简化示意图。该装置1301用于实现本申请实施例的网元的功能,例如该网元可以是基站、终端、DU、CU、CU-CP、CU-UP或RU。该装置1301可以是该网元、或者是能够安装在该网元中的装置、或者是能够和该网元匹配使用的装置,不予限制,例如该装置可以是芯片或芯片系统。装置1301包括接口1303和处理器1302。可选的,处理器1302用于执行程序1305。处理器1302可以存储程序1305,或者从其他器件或其他设备(例如从存储器1304或者从第三方网站下载等)获取程序1305。可选的,装置1301包括存储器1304。存储器1304用于存储程序1306。程序1306可以是预先存储,也可以是后续加载。可选的,存储器1304还可以用于存储必要的数据。这些组件一起工作以提供本申请实施例中描述的各种功能。Referring to Figure 6, a simplified schematic diagram of an apparatus 1301 is provided. The apparatus 1301 is used to realize the functions of the network element in the embodiment of the present application, for example, the network element may be a base station, a terminal, a DU, a CU, a CU-CP, a CU-UP or a RU. The device 1301 may be the network element, or a device that can be installed in the network element, or a device that can be matched and used with the network element, without limitation, for example, the device may be a chip or a chip system. The device 1301 includes an interface 1303 and a processor 1302 . Optionally, the processor 1302 is configured to execute a program 1305 . The processor 1302 may store the program 1305, or obtain the program 1305 from other devices or other devices (for example, from the memory 1304 or downloaded from a third-party website, etc.). Optionally, the device 1301 includes a memory 1304 . The memory 1304 is used to store programs 1306 . The program 1306 can be stored in advance or loaded later. Optionally, the memory 1304 can also be used to store necessary data. These components work together to provide various functions described in the embodiments of this application.

处理器1302以包括一个或多个处理器,以作为计算设备的组合。处理器1302可以分别包括以下中的一个或多个:微处理器、微控制器、数字信号处理器(Digital SignalProcessor,DSP)、数字信号处理设备(Digital Signal Processor device,DSPD),专用集成电路(Application Specific Integrated Circuit,ASIC)、现场可编程门阵列(FieldProgrammable Gate Array,FPGA)、可编程逻辑器件(programmable logic device。PLD)、门控逻辑、晶体管逻辑、分立硬件电路、处理电路或其他合适的硬件、固件,和/或配置为执行本申请实施例中描述的各种功能的硬件和软件的组合。处理器1302可以是通用处理器或专用处理器。例如,处理器1302可以是基带处理器或中央处理器。基带处理器可以用于处理通信协议和通信数据。中央处理器可以用于执行软件程序,并处理软件程序中的数据。Processor 1302 may include one or more processors as a combination of computing devices. The processor 1302 may respectively include one or more of the following: a microprocessor, a microcontroller, a digital signal processor (Digital Signal Processor, DSP), a digital signal processing device (Digital Signal Processor device, DSPD), an application specific integrated circuit ( Application Specific Integrated Circuit, ASIC), field programmable gate array (Field Programmable Gate Array, FPGA), programmable logic device (programmable logic device. PLD), gating logic, transistor logic, discrete hardware circuit, processing circuit or other suitable Hardware, firmware, and/or a combination of hardware and software configured to execute various functions described in the embodiments of the present application. Processor 1302 may be a general purpose processor or a special purpose processor. For example, processor 1302 may be a baseband processor or a central processing unit. A baseband processor can be used to process communication protocols and communication data. The central processing unit can be used to execute software programs and process data in the software programs.

接口1303可以包括用于使能与一个或多个计算机设备(例如本申请实施例的网元)通信的任何合适硬件或软件。例如,在一些实施例中,接口1303可以包括用于耦合有线连接的电线或耦合无线连接的无线接口的端子和/或引脚。在一些实施例中,接口1303可以包括发射器、接收器、接口和/或天线。该接口可以被配置为使用任何可用的协议(例如3GPP标准协议)使能计算机设备(例如本申请实施例的网元)之间的通信。The interface 1303 may include any suitable hardware or software for enabling communication with one or more computer devices (such as the network element of the embodiment of the present application). For example, in some embodiments, interface 1303 may include terminals and/or pins for coupling wires for wired connections or wireless interfaces for wireless connections. In some embodiments, interface 1303 may include a transmitter, a receiver, an interface and/or an antenna. The interface may be configured to use any available protocol (eg, 3GPP standard protocol) to enable communication between computer devices (eg, the network element in the embodiment of the present application).

本申请实施例中的程序是指广泛意义上的软件。软件可以是程序代码、程序、子程序、指令集、代码、代码段、软件模块、应用程序、软件应用程序等。该程序可以在处理器和/或计算机中运行,以执行本申请实施例中描述的各种功能和/或过程。The programs in the embodiments of this application refer to software in a broad sense. Software may be a program code, program, subroutine, instruction set, code, code segment, software module, application, software application, or the like. The program can run on a processor and/or a computer to execute various functions and/or processes described in the embodiments of the present application.

存储器1304可以存储在处理器1302执行软件时所需的必要数据。存储器1304可以使用任何合适的存储技术来实现。例如,存储器1304可以是处理器和/或计算机可以访问的任何可用存储介质。存储介质的非限制性示例有:随机存取存储器(random accessmemory,RAM)、只读存储器(read-only memory,ROM)、电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compactdisc read-only memory,CD-ROM)、可移动介质、光盘存储器、磁盘存储介质、磁存储设备、闪存、寄存器、状态存储器、远程安装存储器、本地或远程存储器组件,或任何其他可以携带或存储软件、数据或信息并可由处理器/计算机访问的介质。The memory 1304 may store necessary data required when the processor 1302 executes software. Memory 1304 may be implemented using any suitable storage technology. For example, memory 1304 can be any available storage medium that can be accessed by a processor and/or computer. Non-limiting examples of storage media are: random access memory (random access memory, RAM), read-only memory (read-only memory, ROM), electrically erasable programmable read-only memory (electrically erasable programmable read-only memory, EEPROM ), compact disc read-only memory (CD-ROM), removable media, optical disc storage, magnetic disk storage media, magnetic storage devices, flash memory, registers, state memory, remotely mounted memory, local or remote memory components, or Any other medium that can carry or store software, data or information and be accessed by a processor/computer.

存储器1304和处理器1302可以分开设置,也可以集成在一起。处理器1302可以从存储器1304读取信息,存储和/或写入存储器中的信息。存储器1304可以集成在处理器1302中。处理器1302和存储器1304可以设置在集成电路(例如专用集成电路(application-specific integrated circuit,ASIC))中。集成电路可以设置在本申请实施例的网元或其他网络节点中。图中存储器1304为虚线是进一步标识存储器为可选地意思。The memory 1304 and the processor 1302 can be set separately or integrated together. Processor 1302 may read information from memory 1304 and store and/or write information in memory. The memory 1304 may be integrated in the processor 1302 . The processor 1302 and the memory 1304 may be arranged in an integrated circuit (such as an application-specific integrated circuit (ASIC)). The integrated circuit may be set in the network element or other network nodes in the embodiment of the present application. The dotted line in the memory 1304 in the figure further indicates that the memory is optional.

进一步的,该通信装置1301还可以进一步包括总线系统,其中,处理器1302、存储器1304、接口1303可以通过总线系统相连。Furthermore, the communication device 1301 may further include a bus system, wherein the processor 1302, the memory 1304, and the interface 1303 may be connected through the bus system.

如图6所示,该装置1301可以为第一装置或第二装置,也可以为芯片或电路,比如可设置于第一装置内的芯片或电路,再比如可设置于第二装置内的芯片或电路。As shown in Figure 6, the device 1301 can be a first device or a second device, and can also be a chip or a circuit, such as a chip or a circuit that can be set in the first device, or a chip that can be set in the second device or circuit.

在装置1301用于实现第一装置的功能的情况下:处理器1302用于:通过接口1303接收第一信息,基于第一信息,控制云桌面的应用处于第一状态。In the case where the device 1301 is used to realize the function of the first device: the processor 1302 is used to: receive first information through the interface 1303, and based on the first information, an application controlling the cloud desktop is in a first state.

在装置1301用于实现第一装置的功能的情况下,一种可能的实施方式中,第一状态包括启动状态、登录状态或显示状态的情况下,处理器1302还用于:通过接口1303接收连接请求消息,基于连接请求启动云桌面,在启动后的云桌面基于第一信息控制应用处于第一状态。In the case where the device 1301 is used to implement the functions of the first device, in a possible implementation manner, when the first state includes a startup state, a login state, or a display state, the processor 1302 is further configured to: receive through the interface 1303 The connection request message starts the cloud desktop based on the connection request, and the started cloud desktop controls the application to be in the first state based on the first information.

在装置1301用于实现第一装置的功能的情况下,一种可能的实施方式中,处理器1302还用于:确定云桌面上的应用切换为目标状态中的第二状态,通过接口1303发送第二信息,第二信息包括应用的标识和指示应用在云桌面处于第二状态的信息。In the case where the device 1301 is used to implement the functions of the first device, in a possible implementation manner, the processor 1302 is also used to: determine that the application on the cloud desktop is switched to the second state in the target state, and send the message through the interface 1303 The second information includes an application identifier and information indicating that the application is in a second state on the cloud desktop.

在装置1301用于实现第一装置的功能的情况下,一种可能的实施方式中,处理器1302还用于:通过接口1303接收第三信息,第三信息包括应用的标识和指示第一桌面中的应用处于目标状态中的第三状态的信息,基于第三信息控制云桌面的应用切换为第三状态。In the case where the device 1301 is used to implement the functions of the first device, in a possible implementation manner, the processor 1302 is further configured to: receive third information through the interface 1303, where the third information includes the identification of the application and indicates the first desktop The application in the target state is in the third state information, and the application of the cloud desktop is controlled to switch to the third state based on the third information.

在装置1301用于实现第一装置的功能的情况下,一种可能的实施方式中,处理器1302还用于:通过接口1303接收应用的第二授权信息,第二授权信息包括指示允许在第一界面和云桌面同步应用的状态的信息,通过接口1303接收来自第二装置的第一授权信息,第二装置为客户端侧的装置,在确定第一授权信息与第二授权信息匹配的情况下,基于第一信息控制云桌面的应用处于第一状态。In the case where the device 1301 is used to implement the functions of the first device, in a possible implementation manner, the processor 1302 is further configured to: receive the second authorization information of the application through the interface 1303, the second authorization information includes the An interface and cloud desktop synchronization application state information, through the interface 1303 to receive the first authorization information from the second device, the second device is a device on the client side, when it is determined that the first authorization information matches the second authorization information Next, the application that controls the cloud desktop based on the first information is in the first state.

在装置1301用于实现第二装置的功能的情况下:处理器1302用于获取第一信息,通过接口1303发送第一信息。In the case where the device 1301 is used to realize the function of the second device: the processor 1302 is used to obtain the first information, and send the first information through the interface 1303 .

在装置1301用于实现第二装置的功能的情况下,一种可能的实施方式中,第一状态包括启动状态、登录状态或第一显示状态的情况下,处理器1302还用于:通过接口1303发送连接请求消息,连接请求消息请求客户端与云桌面建立连接,第一信息承载于连接请求消息中。In the case where the device 1301 is used to implement the functions of the second device, in a possible implementation manner, when the first state includes a startup state, a login state, or a first display state, the processor 1302 is further configured to: 1303 Send a connection request message, the connection request message requests the client to establish a connection with the cloud desktop, and the first information is carried in the connection request message.

在装置1301用于实现第一装置的功能的情况下,一种可能的实施方式中,处理器1302还用于:通过接口1303接收第二信息,第二信息包括应用的标识和指示云桌面中的应用处于目标状态中的第二状态的信息,基于第二信息控制第一桌面的应用切换为第二状态。In the case where the device 1301 is used to implement the functions of the first device, in a possible implementation manner, the processor 1302 is further configured to: receive second information through the interface 1303, the second information includes the application identification and indicates that the cloud desktop The application is in the second state information in the target state, and the application on the first desktop is controlled to switch to the second state based on the second information.

在装置1301用于实现第一装置的功能的情况下,一种可能的实施方式中,处理器1302还用于:确定第一桌面上的应用切换为目标状态中的第三状态,通过接口1303发送第三信息,第三信息包括应用的标识和指示第一桌面上的应用切换为目标状态中的第三状态的信息。In the case where the device 1301 is used to implement the functions of the first device, in a possible implementation manner, the processor 1302 is further configured to: determine that the application on the first desktop is switched to the third state in the target state, and through the interface 1303 Send third information, where the third information includes an application identifier and information indicating that the application on the first desktop is switched to a third state in the target state.

在装置1301用于实现第一装置的功能的情况下,一种可能的实施方式中,处理器1302还用于:通过接口1303接收应用的第三授权信息,第三授权信息包括指示允许在第一界面和云桌面同步应用的状态的信息,第一授权信息为第三授权信息中的信息。通过接口1303发送第一授权信息。In the case where the device 1301 is used to implement the functions of the first device, in a possible implementation manner, the processor 1302 is further configured to: receive third authorization information of the application through the interface 1303, where the third authorization information includes the The first authorization information is the information in the third authorization information. Send the first authorization information through the interface 1303 .

该通信装置所涉及的与本申请实施例提供的技术方案相关的概念,解释和详细说明及其他步骤请参见前述方法或其他实施例中关于这些内容的描述,此处不做赘述。For the concepts, explanations, detailed descriptions and other steps involved in the communication device related to the technical solutions provided by the embodiments of the present application, please refer to the foregoing methods or descriptions of these contents in other embodiments, and details are not repeated here.

根据前述方法,图7为本申请实施例提供的通信装置的结构示意图,如图7所示,装置1401可以包括收发器1403和处理器1402。进一步的,该装置1401可以包括有存储器1404。图中存储器1404为虚线是进一步标识存储器为可选地意思。收发器1403,用于输入和/或输出信息;处理器1402,用于执行计算机程序或指令,使得装置1401实现上述图3或图5B的相关方案中第一装置或第二装置的方法。本申请实施例中,收发器1403可以实现上述图6的接口1303所实现的方案,处理器1402可以实现上述图6的处理器1302所实现的方案,存储器1404可以实现上述图6的存储器1304所实现的方案,在此不再赘述。According to the foregoing method, FIG. 7 is a schematic structural diagram of a communication device provided in an embodiment of the present application. As shown in FIG. 7 , a device 1401 may include a transceiver 1403 and a processor 1402 . Further, the device 1401 may include a memory 1404 . The dotted line in the memory 1404 in the figure further indicates that the memory is optional. The transceiver 1403 is used to input and/or output information; the processor 1402 is used to execute computer programs or instructions, so that the device 1401 implements the method of the first device or the second device in the above-mentioned related solutions of FIG. 3 or FIG. 5B . In the embodiment of the present application, the transceiver 1403 can implement the solution implemented by the interface 1303 in FIG. 6 above, the processor 1402 can implement the solution implemented by the processor 1302 in FIG. The realized scheme will not be repeated here.

基于以上实施例以及相同构思,图8为本申请实施例提供的通信装置的示意图,如图8所示,该装置1501可以为第一装置或第二装置,也可以为芯片或电路,比如可设置于第一装置或第二装置的芯片或电路。Based on the above embodiments and the same idea, FIG. 8 is a schematic diagram of a communication device provided by an embodiment of the present application. As shown in FIG. 8, the device 1501 can be a first device or a second device, or a chip or a circuit, such as A chip or circuit disposed on the first device or the second device.

该装置1501包括处理单元1502和通信单元1503。进一步的,该装置1501可以包括有存储单元1504,也可以不包括存储单元1504。图中存储单元1504为虚线是进一步标识存储器为可选地意思。The apparatus 1501 includes a processing unit 1502 and a communication unit 1503 . Further, the device 1501 may include the storage unit 1504 or may not include the storage unit 1504 . The dotted line in the storage unit 1504 in the figure further indicates that the storage is optional.

在装置1501用于实现第一装置的功能的情况下:处理单元1502用于通过通信单元1503接收第一信息,处理单元1502用于基于第一信息,控制云桌面的应用处于第一状态。In the case where the device 1501 is used to realize the function of the first device: the processing unit 1502 is used to receive the first information through the communication unit 1503, and the processing unit 1502 is used to control the application of the cloud desktop to be in the first state based on the first information.

在装置1501用于实现第二装置的功能的情况下:处理单元1502用于获取第一信息。处理单元1502用于通过通信单元1503发送第一信息。In a case where the device 1501 is used to realize the function of the second device: the processing unit 1502 is used to acquire the first information. The processing unit 1502 is configured to send the first information through the communication unit 1503 .

该通信装置所涉及的与本申请实施例提供的技术方案相关的概念,解释和详细说明及其他步骤请参见前述方法或其他实施例中关于这些内容的描述,此处不做赘述。For the concepts, explanations, detailed descriptions and other steps involved in the communication device related to the technical solutions provided by the embodiments of the present application, please refer to the foregoing methods or descriptions of these contents in other embodiments, and details are not repeated here.

可以理解的是,上述装置1501中各个单元的功能可以参考相应方法实施例的实现,此处不再赘述。It can be understood that, the function of each unit in the above apparatus 1501 can refer to the implementation of the corresponding method embodiment, and details are not repeated here.

应理解,以上通信装置的单元的划分仅仅是一种逻辑功能的划分,实际实现时可以全部或部分集成到一个物理实体上,也可以物理上分开。本申请实施例中,通信单元1503可以由上述图6的接口1303实现,处理单元1502可以由上述图6的处理器1302实现。It should be understood that the above division of units of the communication device is only a division of logical functions, which may be fully or partially integrated into one physical entity or physically separated during actual implementation. In the embodiment of the present application, the communication unit 1503 may be realized by the interface 1303 in FIG. 6 above, and the processing unit 1502 may be realized by the processor 1302 in FIG. 6 above.

根据本申请实施例提供的方法,本申请还提供一种计算机程序产品,该计算机程序产品包括:计算机程序代码或指令,当该计算机程序代码或指令在计算机上运行时,使得该计算机执行图3或图5B所示实施例中任意一个实施例的方法。According to the method provided in the embodiment of the present application, the present application also provides a computer program product, the computer program product including: computer program code or instruction, when the computer program code or instruction is run on the computer, the computer is made to execute the Or the method of any one of the embodiments shown in FIG. 5B.

根据本申请实施例提供的方法,本申请还提供一种计算机可读存储介质,该计算机可读介质存储有程序代码,当该程序代码在计算机上运行时,使得该计算机执行图3或图5B所示实施例中任意一个实施例的方法。According to the method provided in the embodiment of the present application, the present application also provides a computer-readable storage medium, the computer-readable medium stores program code, and when the program code is run on the computer, the computer is made to execute the method shown in Figure 3 or Figure 5B. The method of any of the illustrated embodiments.

根据本申请实施例提供的方法,本申请还提供一种芯片系统,该芯片系统可以包括处理器。该处理器与存储器耦合,可用于执行图3或图5B所示实施例中任意一个实施例的方法。可选地,该芯片系统还包括存储器。存储器,用于存储计算机程序(也可以称为代码,或指令)。处理器,用于从存储器调用并运行计算机程序,使得安装有芯片系统的设备执行图3或图5B所示实施例中任意一个实施例的方法。According to the method provided in the embodiment of the present application, the present application further provides a chip system, where the chip system may include a processor. The processor is coupled with the memory, and may be used to execute the method in any one of the embodiments shown in FIG. 3 or FIG. 5B . Optionally, the chip system further includes a memory. Memory, used to store computer programs (also called code, or instructions). The processor is configured to call and run a computer program from the memory, so that the device installed with the system-on-a-chip executes the method in any one of the embodiments shown in FIG. 3 or FIG. 5B .

根据本申请实施例提供的方法,本申请还提供一种系统,其包括前述的一个或多个第一装置。According to the method provided in the embodiments of the present application, the present application further provides a system, which includes the foregoing one or more first devices.

又一种可能的实施方式中,该系统还可以包括一个或多个第二装置。In yet another possible implementation manner, the system may further include one or more second devices.

在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机指令时,全部或部分地产生按照本申请实施例的流程或功能。计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriberline,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,高密度数字视频光盘(digital video disc,DVD))、或者半导体介质(例如,固态硬盘(solid state disc,SSD))等。In the above embodiments, all or part of them may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. A computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application are generated in whole or in part. A computer can be a general purpose computer, special purpose computer, computer network, or other programmable device. Computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, e.g. Coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (such as infrared, wireless, microwave, etc.) transmission to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server, a data center, etc. integrated with one or more available media. Available media may be magnetic media (e.g., floppy disk, hard disk, magnetic tape), optical media (e.g., high-density digital video disc (digital video disc, DVD)), or semiconductor media (e.g., solid state disk (solid state disc, SSD) )wait.

需要指出的是,本专利申请文件的一部分包含受著作权保护的内容。除了对专利局的专利文件或记录的专利文档内容制作副本以外,著作权人保留著作权。It should be pointed out that a part of the patent application documents contains content protected by copyright. Copyright is reserved by the copyright owner other than to make copies of the contents of the patent file or records of the Patent Office.

上述各个装置实施例中网络设备与终端设备和方法实施例中的网络设备或终端设备对应,由相应的模块或单元执行相应的步骤,例如通信单元(收发器)执行方法实施例中接收或发送的步骤,除发送、接收外的其它步骤可以由处理单元(处理器)执行。具体单元的功能可以参考相应的方法实施例。其中,处理器可以为一个或多个。The network equipment in each of the above device embodiments corresponds to the terminal equipment and the network equipment or terminal equipment in the method embodiments, and the corresponding modules or units perform corresponding steps, for example, the communication unit (transceiver) executes receiving or sending in the method embodiments Steps, other steps except sending and receiving can be executed by a processing unit (processor). For the functions of the specific units, reference may be made to the corresponding method embodiments. Wherein, there may be one or more processors.

在本说明书中使用的术语“部件”、“模块”、“系统”等用于表示计算机相关的实体、硬件、固件、硬件和软件的组合、软件、或执行中的软件。例如,部件可以是但不限于,在处理器上运行的进程、处理器、对象、可执行文件、执行线程、程序和/或计算机。通过图示,在计算设备上运行的应用和计算设备都可以是部件。一个或多个部件可驻留在进程和/或执行线程中,部件可位于一个计算机上和/或分布在两个或更多个计算机之间。此外,这些部件可从在上面存储有各种数据结构的各种计算机可读介质执行。部件可例如根据具有一个或多个数据分组(例如来自与本地系统、分布式系统和/或网络间的另一部件交互的二个部件的数据,例如通过信号与其它系统交互的互联网)的信号通过本地和/或远程进程来通信。The terms "component", "module", "system" and the like are used in this specification to refer to a computer-related entity, hardware, firmware, a combination of hardware and software, software, or software in execution. For example, a component may be, but is not limited to being, a process running on a processor, a processor, an object, an executable, a thread of execution, a program, and/or a computer. By way of illustration, both an application running on a computing device and the computing device can be components. One or more components can reside within a process and/or thread of execution and a component can be localized on one computer and/or distributed between two or more computers. In addition, these components can execute from various computer readable media having various data structures stored thereon. A component may, for example, be based on a signal having one or more packets of data (e.g., data from two components interacting with another component between a local system, a distributed system, and/or a network, such as the Internet via a signal interacting with other systems). Communicate through local and/or remote processes.

本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各种说明性逻辑块(illustrative logical block)和步骤(step),能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that various illustrative logical blocks (illustrative logical blocks) and steps (steps) described in conjunction with the embodiments disclosed herein can be implemented with electronic hardware, or a combination of computer software and electronic hardware. accomplish. Whether these functions are executed by hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may use different methods to implement the described functions for each specific application, but such implementation should not be regarded as exceeding the scope of the present application.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the foregoing method embodiment, which will not be repeated here.

在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated. to another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.

作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。A unit described as a separate component may or may not be physically separated, and a component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit. If the functions are realized in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium.

以上,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。The above is only the specific implementation of the application, but the scope of protection of the application is not limited thereto. Anyone familiar with the technical field can easily think of changes or replacements within the technical scope disclosed in the application, and should cover Within the protection scope of this application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

本申请中,“至少一个”是指一个或者多个,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A,B可以是单数或者复数。在本申请的文字描述中,字符“/”,一般表示前后关联对象是一种“或”的关系;在本申请的公式中,字符“/”,表示前后关联对象是一种“相除”的关系。“包括A,B和C中的至少一个”可以表示:包括A;包括B;包括C;包括A和B;包括A和C;包括B和C;包括A、B和C。In this application, "at least one" means one or more, and "multiple" means two or more. "And/or" describes the association relationship of associated objects, indicating that there can be three types of relationships, for example, A and/or B, which can mean: A exists alone, A and B exist at the same time, and B exists alone, where A, B can be singular or plural. In the text description of this application, the character "/" generally indicates that the contextual objects are an "or" relationship; in the formulas of this application, the character "/" indicates that the contextual objects are a "division" Relationship. "Including at least one of A, B and C" may mean: including A; including B; including C; including A and B; including A and C; including B and C; including A, B and C.

可以理解的是,在本申请的实施例中涉及的各种数字编号仅为描述方便进行的区分,并不用来限制本申请的实施例的范围。上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定。It can be understood that the various numbers involved in the embodiments of the present application are only for convenience of description, and are not used to limit the scope of the embodiments of the present application. The size of the serial numbers of the above-mentioned processes does not mean the order of execution, and the execution order of each process should be determined by its functions and internal logic.

Claims (29)

1. The application control method based on the cloud desktop is characterized by being applied to a first device, wherein the first device is a server-side device, and the method comprises the following steps:
Receiving first information, wherein the first information comprises identification information of an application and information indicating that the application in a first desktop is in a first state, the first state is a state in a target state, and the target state comprises one or more of a starting state, a login state, a display state, a login exit state or an application exit state;
and controlling the application of the cloud desktop to be in the first state based on the first information.
2. The method of claim 1, wherein the first state comprises a start state, a login state, or a display state:
the receiving the first information includes:
receiving a connection request message, wherein the connection request message requests a client to establish connection with a cloud desktop, and the first information is carried in the connection request message;
the controlling, based on the first information, the application of the cloud desktop to be in the first state includes:
and starting the cloud desktop based on the connection request, and controlling the application on the cloud desktop after starting to be in the first state based on the first information.
3. The method of claim 1 or 2, wherein the controlling the application of the cloud desktop in the first state based on the first information further comprises:
Determining that the application on the cloud desktop is switched to a second state in the target states;
and sending second information, wherein the second information comprises an identification of the application and information indicating that the application is in the second state on the cloud desktop.
4. The method of any of claims 1-3, wherein the controlling the application of the cloud desktop to be in the first state based on the first information further comprises:
receiving third information, wherein the third information comprises an identification of the application and information indicating a third state of the application in the first desktop in the target state;
and controlling the application of the cloud desktop to be switched to the third state based on the third information.
5. The method of any of claims 1-4, wherein the controlling the application of a cloud desktop to be in the first state based on the first information further comprises:
receiving second authorization information of the application, wherein the second authorization information comprises information indicating that the state of the application is allowed to be synchronized between the first desktop and the cloud desktop;
receiving first authorization information from a second device, wherein the second device is a device at a client side;
The controlling, based on the first information, the application of the cloud desktop to be in the first state includes:
and controlling the application of the cloud desktop to be in the first state based on the first information under the condition that the first authorization information is matched with the second authorization information.
6. The method of any of claims 1-5, wherein the first desktop meets one of:
integrating an inlet of the client by an interface of the application started on the first desktop;
the process of the application started on the first desktop has an association relationship with the process corresponding to the client;
displaying the electronic equipment of the first desktop and the electronic equipment where the client is located as the same electronic equipment;
displaying the electronic equipment of the first desktop and the electronic equipment of the client as two electronic equipment of the same type; or alternatively, the first and second heat exchangers may be,
and displaying the electronic equipment of the first desktop and the electronic equipment of the client as two different types of electronic equipment.
7. An application control method based on a cloud desktop is characterized in that the method is applied to a second device, and the second device is a device at a client side, and the method comprises the following steps:
Acquiring first information, wherein the first information comprises identification information of an application and information indicating that the application in a first desktop is in a first state, the first state is a state in a target state, and the target state comprises one or more of a starting state, a login state, a display state, a login exit state and an application exit state;
and sending the first information, wherein the first information is used for a first device to control the application of the cloud desktop to be in the first state based on the first information, and the first device is a device at a server side.
8. The method of claim 7, wherein the first state comprises a start state, a login state, or a first display state:
the sending the first information includes:
and sending a connection request message, wherein the connection request message requests the client to establish connection with a cloud desktop, and the first information is carried in the connection request message.
9. The method of claim 7 or 8, wherein after the transmitting the first information, further comprising:
receiving second information, wherein the second information comprises an identification of the application and information indicating a second state of the application in the cloud desktop in the target state;
And controlling the application of the first desktop to be switched to the second state based on the second information.
10. The method of any of claims 7-9, wherein after the sending the first information, further comprising:
determining that the application on the first desktop switches to a third state of the target states;
and sending third information, wherein the third information comprises an identification of the application and information indicating that the application on the first desktop is switched to a third state in the target states.
11. The method of any of claims 7-10, wherein prior to the sending the first information, further comprising:
receiving third authorization information of the application, wherein the third authorization information comprises information indicating that the state of the application is allowed to be synchronized between the first desktop and the cloud desktop;
and sending first authorization information, wherein the first authorization information is information in the third authorization information.
12. The method of any of claims 7-11, wherein the first desktop meets one of:
integrating an inlet of the client by an interface of the application started on the first desktop;
The process of the application started on the first desktop has an association relationship with the process corresponding to the client;
displaying the electronic equipment of the first desktop and the electronic equipment where the client is located as the same electronic equipment;
displaying the electronic equipment of the first desktop and the electronic equipment of the client as two electronic equipment of the same type; or alternatively, the first and second heat exchangers may be,
and displaying the electronic equipment of the first desktop and the electronic equipment of the client as two different types of electronic equipment.
13. The utility model provides an application control device based on cloud desktop, its characterized in that, the device is first device, first device is the device of server side, the device includes processor and interface:
the processor is configured to:
receiving first information through the interface, wherein the first information comprises identification information of an application and information indicating that the application in a first desktop is in a first state, the first state is a state in a target state, and the target state comprises one or more of a start state, a login state, a display state, an exit login state and an exit application state;
and controlling the application of the cloud desktop to be in the first state based on the first information.
14. The apparatus of claim 13, wherein the first state comprises a start state, a login state, or a display state:
the processor is configured to:
receiving a connection request message through the interface, wherein the connection request message requests the client to establish connection with the cloud desktop, and the first information is carried in the connection request message;
and starting the cloud desktop based on the connection request, and controlling the application to be in the first state based on the first information by the cloud desktop after starting.
15. The apparatus of claim 13 or 14, wherein the processor is further configured to:
determining that the application on the cloud desktop is switched to a second state in the target states;
and sending second information through the interface, wherein the second information comprises an identification of the application and information indicating that the application is in the second state on the cloud desktop.
16. The apparatus of any of claims 13-15, wherein the processor is further configured to:
receiving third information through the interface, wherein the third information comprises an identification of the application and information indicating a third state of the application in the first desktop in the target state;
And controlling the application of the cloud desktop to be switched to the third state based on the third information.
17. The apparatus of any of claims 13-16, wherein the processor is further configured to:
receiving, by the interface, second authorization information for the application, the second authorization information including information indicating a state that allows synchronization of the application at the first desktop and the cloud desktop;
receiving first authorization information from a second device through the interface, wherein the second device is a device at a client side;
and controlling the application of the cloud desktop to be in the first state based on the first information under the condition that the first authorization information is matched with the second authorization information.
18. The apparatus of any of claims 13-17, wherein the first desktop satisfies one of:
integrating an inlet of the client by an interface of the application started on the first desktop;
the process of the application started on the first desktop has an association relationship with the process corresponding to the client;
displaying the electronic equipment of the first desktop and the electronic equipment where the client is located as the same electronic equipment;
Displaying the electronic equipment of the first desktop and the electronic equipment of the client as two electronic equipment of the same type; or alternatively, the first and second heat exchangers may be,
and displaying the electronic equipment of the first desktop and the electronic equipment of the client as two different types of electronic equipment.
19. An application control device based on a cloud desktop is characterized in that the device is a second device, the second device is a device at a client side, and the device comprises a processor and an interface:
the processor is configured to:
acquiring first information, wherein the first information comprises identification information of an application and information indicating that the application in a first desktop is in a first state, the first state is a state in a target state, and the target state comprises one or more of a starting state, a login state, a display state, a login exit state and an application exit state;
and sending the first information through the interface, wherein the first information is used for controlling the application of the cloud desktop to be in the first state by a first device based on the first information, and the first device is a device at a server side.
20. The apparatus of claim 19, wherein the first state comprises an activated state, a logged in state, or a first display state:
The processor is configured to:
and sending a connection request message through the interface, wherein the connection request message requests the client to establish connection with a cloud desktop, and the first information is carried in the connection request message.
21. The apparatus of claim 19 or 20, wherein the processor is further configured to:
receiving second information through the interface, wherein the second information comprises an identification of the application and information indicating a second state of the application in the cloud desktop in the target state;
and controlling the application of the first desktop to be switched to the second state based on the second information.
22. The apparatus of any of claims 19-21, wherein the processor is further configured to:
determining that the application on the first desktop switches to a third state of the target states;
and sending third information through the interface, wherein the third information comprises an identification of the application and information indicating that the application on the first desktop is switched to a third state in the target states.
23. The apparatus of any of claims 19-22, wherein the processor is further configured to:
Receiving third authorization information of the application through the interface, wherein the third authorization information comprises information indicating that the state of the application is allowed to be synchronized at the first desktop and the cloud desktop;
and sending first authorization information through the interface, wherein the first authorization information is information in the third authorization information.
24. The apparatus of any of claims 19-23, wherein the first desktop satisfies one of:
integrating an inlet of the client by an interface of the application started on the first desktop;
the process of the application started on the first desktop has an association relationship with the process corresponding to the client;
displaying the electronic equipment of the first desktop and the electronic equipment where the client is located as the same electronic equipment;
displaying the electronic equipment of the first desktop and the electronic equipment of the client as two electronic equipment of the same type; or alternatively, the first and second heat exchangers may be,
and displaying the electronic equipment of the first desktop and the electronic equipment of the client as two different types of electronic equipment.
25. A communication device is characterized by comprising a processor and a memory,
The memory is used for storing a computer program or instructions;
the processor being configured to execute a computer program or instructions in a memory to cause the method of any of claims 1-12 to be performed.
26. A communication device comprising a processing unit and a communication unit, the processing unit being adapted to perform the method according to any of claims 1-12 by means of the communication unit.
27. A computer readable storage medium storing computer executable instructions which, when invoked by a computer, cause the method of any one of claims 1-12 to be performed.
28. A chip system comprising at least one processor, and interface circuitry, the interface circuitry and the at least one processor being interconnected by a line, the processor executing instructions to perform the method of any of claims 1-12.
29. A computer program product, characterized in that the computer program product stores a computer program comprising program instructions which, when executed by a computer, cause the computer to perform the method according to any of claims 1-12.
CN202310186459.4A 2023-02-22 2023-02-22 Application control method, device, storage medium and chip based on cloud desktop Pending CN116346814A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310186459.4A CN116346814A (en) 2023-02-22 2023-02-22 Application control method, device, storage medium and chip based on cloud desktop

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310186459.4A CN116346814A (en) 2023-02-22 2023-02-22 Application control method, device, storage medium and chip based on cloud desktop

Publications (1)

Publication Number Publication Date
CN116346814A true CN116346814A (en) 2023-06-27

Family

ID=86890713

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310186459.4A Pending CN116346814A (en) 2023-02-22 2023-02-22 Application control method, device, storage medium and chip based on cloud desktop

Country Status (1)

Country Link
CN (1) CN116346814A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119402551A (en) * 2024-11-12 2025-02-07 中移(苏州)软件技术有限公司 Data transmission method, device, equipment, readable storage medium and program product

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103369029A (en) * 2013-05-15 2013-10-23 北京航空航天大学 Synchronization method for local desktop and remote virtual desktop, system and use method of system
WO2018001054A1 (en) * 2016-06-27 2018-01-04 中兴通讯股份有限公司 Method and device for synchronizing cloud desktop data
CN107888612A (en) * 2017-11-29 2018-04-06 北京汽车股份有限公司 Vehicle and its without key start control method, control system
US20180176299A1 (en) * 2016-12-16 2018-06-21 Wyse Technology L.L.C. Synchronization of user data in a virtual desktop environment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103369029A (en) * 2013-05-15 2013-10-23 北京航空航天大学 Synchronization method for local desktop and remote virtual desktop, system and use method of system
WO2018001054A1 (en) * 2016-06-27 2018-01-04 中兴通讯股份有限公司 Method and device for synchronizing cloud desktop data
US20180176299A1 (en) * 2016-12-16 2018-06-21 Wyse Technology L.L.C. Synchronization of user data in a virtual desktop environment
CN107888612A (en) * 2017-11-29 2018-04-06 北京汽车股份有限公司 Vehicle and its without key start control method, control system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
贾塞石: "云桌面技术的典型应用分析", 《硅谷》, 3 July 2013 (2013-07-03) *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN119402551A (en) * 2024-11-12 2025-02-07 中移(苏州)软件技术有限公司 Data transmission method, device, equipment, readable storage medium and program product

Similar Documents

Publication Publication Date Title
EP3640849B1 (en) Electronic device and method of registering personal cloud apparatus in user portal server thereof
KR101530472B1 (en) Method and apparatus for remote delivery of managed usb services via a mobile computing device
JP5726300B2 (en) Data card and data card networking method
EP3404875B1 (en) Electronic device providing dialog contents, server and method thereof
CN105007581B (en) A kind of network access authentication method and client
US10908970B1 (en) Data interface for secure analytic data system integration
CN106790420B (en) A kind of more session channel method for building up and system
US8670758B2 (en) Technique for platform-to-platform communication
US9065788B2 (en) Method, device and system for voice communication
US8615544B2 (en) System and method for unlocking a device remotely from a server
EP2518972A1 (en) System and method for device addressing
WO2017162043A1 (en) Access method, configuration method and apparatus used for inter-device service
CN111917810B (en) A cloud communication method and apparatus, user equipment, and network equipment
CN103812900A (en) Data synchronization method, device and system
CN110399578A (en) Page access method and device
WO2019072214A1 (en) Method and device for sharing wifi hotspot and storage medium
KR20160080239A (en) Method for sharing resource using a virtual device driver and electronic device thereof
US7318109B2 (en) System and method for remote assembly of messages to create a control message
CN116346814A (en) Application control method, device, storage medium and chip based on cloud desktop
WO2016119623A1 (en) Method and device for realizing network sharing
CN100505734C (en) A Method for Realizing External Device Mapping of Network Computer
CN111726328B (en) Method, system and related device for remotely accessing a first device
KR20100059344A (en) System and method for synchronizing the data between the mobile terminal and internet phone
CN113179322B (en) Remote interaction method, device, electronic device and storage medium
CN117194068A (en) Cross-process data transmission method, system, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Country or region after: China

Address after: 518129 Huawei Headquarters Office Building 101, Wankecheng Community, Bantian Street, Longgang District, Shenzhen, Guangdong

Applicant after: Shenzhen Huawei Cloud Computing Technology Co.,Ltd.

Address before: 518129 Huawei Headquarters Office Building 101, Wankecheng Community, Bantian Street, Gangqu District, Shenzhen, Guangdong

Applicant before: Shenzhen Huawei Cloud Computing Technology Co.,Ltd.

Country or region before: China

CB02 Change of applicant information