Cloud access control method and electronic equipment
By launching the second display application associated with the first display application in the cloud desktop and responding to service instructions through the application, the problem of lag in the use of the application in the cloud desktop is solved, improving the user experience.
Patent Information
- Application Number
- CN202411376241.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-29
- Publication Date
- 2025-02-14
AI Technical Summary
There may be lag when using applications in cloud desktops, resulting in low user experience, especially when playing videos are not smooth or unable to play.
By obtaining the client's startup instruction for the first display application, the first display application and its associated second display application are launched, and the second display application is located in the cloud terminal. Then, the service data is displayed on the client side by responding to the service instruction through the second display application.
Through this method, the response speed is improved, the user experience is improved, and the delay in the cloud desktop responding to service instructions through the server side is avoided.
Smart Images

Figure CN119449363A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of cloud access technology, and in particular to a cloud access control method and electronic device. Background Art
[0002] Cloud desktop is an end-user computing method in which virtual desktops and applications are hosted on cloud resources. As a result, cloud desktops are widely used for their high efficiency, flexibility, and mobile office advantages. However, there may be lags when using applications in cloud desktops, such as when playing videos in a browser, the video is not smooth or even cannot be played, resulting in a low user experience. Summary of the invention
[0003] The purpose of the embodiments of the present application is to provide a cloud access control method and an electronic device.
[0004] In a first aspect, an embodiment of the present application provides a cloud access control method, including:
[0005] Obtaining a startup instruction from the client for the first display application;
[0006] Based on the startup instruction, start the first display application and a second display application associated with the first display application, where the second display application is located in the cloud terminal;
[0007] The second display application responds to the service instruction to display service data on the client, wherein the service instruction is determined by the client for the second display application after starting the second display application, or the service instruction is included in the starting instruction.
[0008] In a possible implementation, the obtaining of a startup instruction from the client for the first display application includes:
[0009] A first operation performed by a collection client on an icon corresponding to the first display application, the first operation indicating starting the first display application, and the icon corresponding to the first display application being displayed on the cloud desktop;
[0010] Based on the first operation, the start instruction is obtained.
[0011] In a possible implementation, starting the first display application and a second display application associated with the first display application based on the starting instruction includes:
[0012] In response to the start instruction, start the first display application;
[0013] After starting the first browser, establishing a communication connection with the cloud desktop protocol server through a named pipe;
[0014] Transmitting the startup instruction to the cloud terminal via the cloud desktop protocol;
[0015] Based on the startup instruction, the second display application is started.
[0016] In a possible implementation manner, after starting the second display application and before obtaining the service instruction, the process includes:
[0017] A window corresponding to the second display application is displayed on the client.
[0018] In a possible implementation manner, the responding to the service instruction by the second display application to display the service data on the client includes:
[0019] Obtaining a service instruction determined by the client for the second display application;
[0020] Responding to the service instruction, obtaining the service data;
[0021] The service data is displayed on the client through a window corresponding to the second display application.
[0022] In a possible implementation manner, the displaying the service data on the client by the second display application responding to the service instruction further includes:
[0023] Extracting the service instruction contained in the start instruction;
[0024] Responding to the service instruction, obtaining the service data;
[0025] The service data is displayed on the client through a window corresponding to the second display application.
[0026] In a possible implementation, the cloud access control method further includes:
[0027] Based on the cloud desktop, obtaining a state switching instruction generated by a state switching operation performed on an icon corresponding to the first display application, the state switching instruction instructing to display or hide the second display application;
[0028] determining a current display state of the second display application;
[0029] Based on the current display state, respond to the state switching instruction.
[0030] In a possible implementation manner, determining the current display state of the second display application includes:
[0031] Obtaining in real time the size of the window corresponding to the second display application based on the cloud desktop protocol client;
[0032] Based on the size of the window, determining a current display state of the second display application, wherein the current display state includes display and hiding;
[0033] Based on the cloud desktop protocol, the cloud desktop protocol client transmits the current display state of the second display application to the desktop protocol server.
[0034] In a possible implementation, the cloud access control method further includes:
[0035] Acquire a first close instruction generated by a close operation performed on an icon corresponding to the first display application, or acquire a second close instruction generated based on a window corresponding to the second display application;
[0036] In response to the first closing instruction or the second closing instruction, the first display application and the second display application are stopped.
[0037] In a second aspect, an embodiment of the present application further provides an electronic device, including:
[0038] An acquisition module configured to acquire a startup instruction from a client for a first display application program;
[0039] a start module configured to start the first display application and a second display application associated with the first display application based on the start instruction, wherein the second display application is located in a cloud terminal;
[0040] The response module is configured to respond to the service instruction through the second display application and display service data on the client, wherein the service instruction is determined by the client for the second display application after starting the second display application, or the service instruction is included in the start instruction.
[0041] In an embodiment of the present application, while starting the first display application based on the startup instruction, the second display application associated with the first display application is also started, and the service instruction is responded to by the second display application to achieve the purpose of displaying service data on the client, wherein the second display application is located in the cloud terminal, that is, the service instruction is responded to through the local resources of the cloud terminal, and there is no need for the cloud desktop to respond to the service instruction through the server, which improves the response speed to a certain extent and enhances the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0043] Figure 1 A flow chart of a cloud access control method provided by the present application is shown;
[0044] Figure 2 A flowchart of starting a first display application and a second display application associated with the first display application based on a start instruction in a cloud access control method provided by the present application is shown;
[0045] Figure 3 A schematic diagram showing the communication between a cloud desktop and a cloud terminal provided in the present application is shown;
[0046] Figure 4 A flowchart of another cloud access control method provided by the present application is shown;
[0047] Figure 5 A schematic diagram of the structure of an electronic device provided by the present application is shown;
[0048] Figure 6 A structural schematic diagram of another electronic device provided by the present application is shown. DETAILED DESCRIPTION
[0049] Various aspects and features of the present application are described herein with reference to the accompanying drawings.
[0050] It should be understood that various modifications may be made to the embodiments of the present application. Therefore, the above description should not be considered as limiting, but only as an example of an embodiment. Other modifications within the scope and spirit of the present application will occur to those skilled in the art.
[0051] The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the present application and, together with the general description of the present application given above and the detailed description of the embodiments given below, serve to explain the principles of the present application.
[0052] These and other characteristics of the present application will become apparent from the following description of a preferred form of embodiment given as a non-limiting example with reference to the accompanying drawings.
[0053] It should also be understood that, although the present application has been described with reference to some specific examples, those skilled in the art will be able to realize many other equivalent forms of the present application that have the features described in the claims and are therefore within the scope of protection defined thereby.
[0054] The above and other aspects, features and advantages of the present application will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.
[0055] Specific embodiments of the present application are described hereinafter with reference to the accompanying drawings; however, it should be understood that the embodiments applied for are merely examples of the present application, which may be implemented in a variety of ways. Well-known and / or repeated functions and structures are not described in detail to avoid unnecessary or redundant details that obscure the present application. Therefore, the specific structural and functional details applied for herein are not intended to be limiting, but merely serve as a basis and representative basis for the claims to teach those skilled in the art to use the present application in a variety of ways with substantially any suitable detailed structure.
[0056] This specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," all of which may refer to one or more of the same or different embodiments according to the present application.
[0057] To facilitate understanding of this application, a cloud access control method provided by this application is first introduced in detail. As one example, Figure 1 A flow chart of a cloud access control method provided in an embodiment of the present application is shown, wherein specific steps include S101-S103.
[0058] S101: Obtain a startup instruction from a client for a first display application.
[0059] In a specific implementation, the client includes a display device, which can at least display a window corresponding to the cloud desktop and a window corresponding to the cloud terminal. When the window corresponding to the cloud desktop is displayed through the client, the user performs control operations through interactive devices included in the client, such as a mouse, keyboard, touch screen, etc., such as double-clicking an application icon to start the corresponding application, clicking a close button corresponding to the application to stop the operation of the application, etc.
[0060] In actual applications, when a user wants to start a display application such as a browser, he performs a corresponding control operation on the first display application in the cloud desktop, such as double-clicking the icon corresponding to the first display application, to achieve the purpose of starting the display application. The first display application is displayed in the cloud desktop in the form of an icon, and no corresponding window is configured for it, that is, the window size of the first display application is 0.
[0061] In the embodiment of the present application, when obtaining the startup instruction of the client for the first display application, the cloud desktop collects the first operation performed by the client for the icon corresponding to the first display application, where the first operation indicates to start the first display application, and further, based on the collected first operation, the startup instruction is obtained. Optionally, the first operation can be double-clicking the icon corresponding to the first display application.
[0062] S102: Based on the start instruction, start a first display application and a second display application associated with the first display application, where the second display application is located in the cloud terminal.
[0063] After obtaining a start instruction for the first display application, the first display application and a second display application associated with the first display application are started based on the start instruction.
[0064] The second display application is located in the cloud terminal, and the second display application is associated with the first display application.
[0065] Optionally, Figure 2 A flow chart of starting a first display application and a second display application associated with the first display application based on a start instruction is shown, wherein specific steps include S201-S204.
[0066] S201, responding to a start instruction and starting a first display application.
[0067] S202, after starting the first browser, establishing a communication connection with the cloud desktop protocol server through a named pipe.
[0068] S203, transmitting the startup instruction to the cloud terminal through the cloud desktop protocol.
[0069] S204: Start a second display application based on the start instruction.
[0070] After obtaining the start instruction for the first display application, the cloud desktop responds to the start instruction to start the first display application. Since the first display application is not configured with a corresponding window, no corresponding window is generated when the first display application is started.
[0071] Figure 3 A schematic diagram showing the communication between a cloud desktop and a cloud terminal is shown. Figure 3 It can be seen that a cloud desktop protocol server is set in the cloud desktop, and a cloud desktop protocol client is set on the cloud terminal, and then the communication between the cloud desktop and the cloud terminal is realized through the cloud desktop protocol server, cloud desktop protocol and cloud desktop protocol client. In addition, the named pipe is an inter-process communication mechanism that can realize communication between different processes.
[0072] Based on this, after starting the first browser, a communication connection is established with the cloud desktop protocol server through a named pipe to achieve communication between the first display application and the cloud desktop protocol server, and then the startup instruction is transmitted to the cloud desktop protocol server through the named pipe.
[0073] Furthermore, through the cloud desktop protocol, the cloud desktop protocol server transmits the startup instruction to the cloud desktop protocol client, that is, transmits the startup instruction to the cloud terminal.
[0074] After receiving the start instruction for the first display application, the cloud terminal starts the second display application based on the start instruction, that is, creates a running process of the second display application.
[0075] S103, responding to the service instruction through the second display application to display service data on the client, wherein the service instruction is determined by the client for the second display application after starting the second display application, or the service instruction is included in the starting instruction.
[0076] In another example, after the second display application is started and before the service instruction is obtained, the client is controlled to display a window corresponding to the second display application, that is, the window corresponding to the second display application is displayed on the client to display the service data through the window.
[0077] Optionally, the user performs a required operation based on the window corresponding to the second display application, such as clicking a data link, switching a display page, etc., to generate a service instruction corresponding to the required operation. That is, after the second display application is started, the required operation performed by the user based on the window is collected in real time to obtain the service instruction determined by the client for the second display application. This example is applied to the scenario where the first display application and the second display application are started first, and then the display of service data is requested.
[0078] In another example, the startup instruction may include a service instruction. For example, when a user clicks a certain page link in other applications or documents, a service instruction is generated at the same time as the startup instruction is generated in response to the click of the page link, and the startup instruction is responded to first, and then the service instruction is responded to. That is, this example is applied to a scenario where a first display application and a second display application are requested to be started and service data are displayed at the same time.
[0079] The service instruction is used to request the service data that the user wants to obtain, such as pictures, texts, videos, audios, etc. After obtaining the service instruction, the second display application responds to the service instruction to display the service data on the client.
[0080] As an example, in a scenario where a first display application and a second display application are first started and then a request is made to display service data, the second display application responds to a service instruction and when the service data is displayed on the client, specifically after obtaining the service instruction determined by the client for the second display application, the second display application responds to the service instruction to obtain service data, where the service data includes pictures, text, video, audio, etc.; then, the service data is displayed on the client through a window corresponding to the second display application, that is, the service data is displayed in a window corresponding to the second display application.
[0081] In another example, in a scenario where a request is simultaneously made to start a first display application and a second display application and to display service data, when the service data is displayed on the client side through the second display application responding to the service instruction, specifically, the service instruction contained in the startup instruction is first extracted, so that the service data is obtained by responding to the service instruction through the started and running second display application; thereafter, the service data is displayed on the client side through the window corresponding to the second display application.
[0082] Optionally, Figure 4 A flow chart of another cloud access control method is shown, wherein specific steps include S401-S403.
[0083] S401, based on the cloud desktop, obtaining a state switching instruction generated by a state switching operation performed on an icon corresponding to a first display application, where the state switching instruction indicates displaying or hiding a second display application.
[0084] S402: Determine the current display state of the second display application.
[0085] S403, responding to a state switching instruction based on the current display state.
[0086] In a specific implementation, after the first display application and the second display application are started, a window corresponding to the second display application is displayed based on the cloud desktop, and then the display state of the second display application can be controlled based on the cloud desktop.
[0087] As an example, based on the cloud desktop, a state switching instruction generated by a state switching operation performed on an icon corresponding to a first display application is obtained, wherein the icon corresponding to the first display application may be displayed in any location such as the cloud desktop and the taskbar, and the state switching operation may be clicking the icon, etc. In actual applications, the state switching instruction indicates displaying or hiding the second display application.
[0088] Based on this, after obtaining the state switching instruction, the current display state of the second display application is determined. As one example, when determining the current display state of the second display application, the size of the window corresponding to the second display application is obtained in real time based on the cloud desktop protocol client. Here, combined with Figure 3 It can be seen that after starting the second display application, a window handle corresponding to the second display application is generated so that the cloud desktop protocol client can obtain the status information of the window corresponding to the second display application in real time based on the window handle, and the status information at least includes the size of the window.
[0089] Further, based on the size of the window, the current display state of the second display application is determined, and the current display state includes display and hiding. For example, when the size of the window is non-0, it indicates that the current display state is display; when the size of the window is 0, it indicates that the current display state is hidden.
[0090] Based on the cloud desktop protocol, the cloud desktop protocol client transmits the current display state of the second display application to the cloud desktop protocol server, so that the cloud desktop responds to the state switching instruction based on the current display state of the second display application, that is, controls the window corresponding to the second display application to switch from display to hidden or from hidden to display. For example, after obtaining the state switching instruction, if the current display state of the received second display application is display, then the window corresponding to the second display application is controlled to switch from display to hidden; after obtaining the state switching instruction, if the current display state of the received second display application is hidden, then the window corresponding to the second display application is controlled to switch from hidden to displayed.
[0091] Of course, when no state switching instruction is obtained, the current display state of the second display application can also be determined according to preset conditions, for example, the current display state of the second display application can be determined at certain time intervals, etc., so that when the state switching instruction is obtained, it can directly respond to the state switching instruction based on the determined current display state of the second display application.
[0092] Compared with determining the current display state of the second display application before obtaining the state switching instruction, determining the current display state of the second display application after obtaining the state switching instruction can avoid resource waste.
[0093] In another example, the state information of the window corresponding to the second display application obtained by the cloud desktop protocol client based on the window handle also includes the position of the window in the display screen, and based on the cloud desktop protocol, the cloud desktop protocol client transmits the position of the window corresponding to the second display application in the display screen to the desktop protocol server, and the cloud desktop responds to the movement instruction based on the position when obtaining the movement instruction. The movement instruction is generated by the user performing operations such as dragging on the window corresponding to the second display application, and is used to instruct the window corresponding to the second display application to move.
[0094] Of course, the cloud desktop can also obtain a scaling instruction for the window corresponding to the second display application, which is used to instruct the window corresponding to the second display application to enlarge or reduce. After obtaining the scaling instruction, based on the window position size transmitted by the cloud desktop protocol client and the position of the window on the display screen, respond to the scaling instruction. The details will not be elaborated here.
[0095] In another example, the cloud desktop can also obtain a first close instruction generated by a close operation performed on an icon corresponding to the first display application, and the first close instruction instructs to stop running the first display application and the second display application. After obtaining the first close instruction, the cloud desktop transmits the first close instruction to the cloud terminal through a named pipe, a desktop protocol server, a cloud desktop protocol, and a cloud desktop protocol client, so that the cloud terminal responds to the first close instruction and stops running the second display application. After the second display application stops running, the cloud desktop protocol client further determines the running state of the second display application through the window handle, generates a corresponding linkage instruction when the second display application stops running, and transmits the linkage instruction to the desktop protocol server through the cloud desktop protocol, so that the cloud desktop responds to the received linkage instruction to stop running the first display application and close the window corresponding to the second display application.
[0096] In an embodiment of the present application, a window corresponding to the second display application is displayed on the cloud desktop. Based on this, the cloud desktop can also obtain a second close instruction generated based on the window corresponding to the second display application. Optionally, the user performs a close operation on the window corresponding to the second display application, such as clicking a close button on the window, so that the cloud desktop generates a second close instruction. Similarly, after obtaining the second close instruction, the cloud desktop transmits the second close instruction to the cloud terminal through a named pipe, a desktop protocol server, a cloud desktop protocol, and a cloud desktop protocol client, so that the cloud terminal responds to the second close instruction and stops running the second display application. After the second display application stops running, the cloud desktop protocol client further determines the running state of the second display application through the window handle. When the second display application stops running, a corresponding linkage instruction is generated, and the linkage instruction is transmitted to the desktop protocol server through the cloud desktop protocol, so that the cloud desktop responds to the received linkage instruction to stop running the first display application and close the window corresponding to the second display application.
[0097] It is worth noting that, since the window corresponding to the second display application is displayed on the cloud desktop, the user can perform a minimize operation on the window corresponding to the second display application, such as clicking the minimize button on the window, so that the cloud desktop generates a minimize instruction. After obtaining the minimize instruction, the cloud desktop transmits the minimize instruction to the cloud terminal through the named pipe, the desktop protocol server, the cloud desktop protocol, and the cloud desktop protocol client, so that the cloud terminal responds to the minimize instruction, that is, updates the current display state of the second display application to hidden. Correspondingly, after the cloud desktop protocol client monitors that the current display state of the second display application is hidden through the window handle, it generates a corresponding instruction and transmits the instruction to the desktop protocol server through the cloud desktop protocol, so that the cloud desktop responds to the received instruction to control the window corresponding to the second display application to be hidden, that is, minimized.
[0098] The second aspect of the present application also provides an electronic device corresponding to the cloud access control method. Since the principle of solving the problem by the electronic device in the present application is similar to the above-mentioned cloud access control method of the present application, the implementation of the electronic device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0099] Figure 5 A schematic diagram of an electronic device provided in an embodiment of the present application is shown, specifically comprising:
[0100] An acquisition module 501 is configured to acquire a startup instruction from a client for a first display application program;
[0101] A starting module 502, configured to start the first display application and a second display application associated with the first display application based on the starting instruction, wherein the second display application is located in a cloud terminal;
[0102] The response module 503 is configured to respond to the service instruction through the second display application and display service data on the client, wherein the service instruction is determined by the client for the second display application after starting the second display application, or the service instruction is included in the start instruction.
[0103] In yet another embodiment, the acquisition module 501 is specifically configured as follows:
[0104] A first operation performed by a collection client on an icon corresponding to the first display application, the first operation indicating starting the first display application, and the icon corresponding to the first display application being displayed on the cloud desktop;
[0105] Based on the first operation, the start instruction is obtained.
[0106] In yet another embodiment, the startup module 502 is specifically configured as follows:
[0107] In response to the start instruction, start the first display application;
[0108] After starting the first browser, establishing a communication connection with the cloud desktop protocol server through a named pipe;
[0109] Transmitting the startup instruction to the cloud terminal via the cloud desktop protocol;
[0110] Based on the startup instruction, the second display application is started.
[0111] In yet another embodiment, the electronic device further includes a display module 504, which is configured as follows:
[0112] A window corresponding to the second display application is displayed on the client.
[0113] In yet another embodiment, the response module 503 is specifically configured as follows:
[0114] Obtaining a service instruction determined by the client for the second display application;
[0115] Responding to the service instruction, obtaining the service data;
[0116] The service data is displayed on the client through a window corresponding to the second display application.
[0117] In yet another embodiment, the response module 503 is further configured to:
[0118] Extracting the service instruction contained in the start instruction;
[0119] Responding to the service instruction, obtaining the service data;
[0120] The service data is displayed on the client through a window corresponding to the second display application.
[0121] In yet another embodiment, the electronic device further includes a switching module 505, which is configured as follows:
[0122] Based on the cloud desktop, obtaining a state switching instruction generated by a state switching operation performed on an icon corresponding to the first display application, the state switching instruction instructing to display or hide the second display application;
[0123] determining a current display state of the second display application;
[0124] Based on the current display state, respond to the state switching instruction.
[0125] In yet another embodiment, the switching module 505 is further configured to:
[0126] Obtaining in real time the size of the window corresponding to the second display application based on the cloud desktop protocol client;
[0127] Based on the size of the window, determining a current display state of the second display application, wherein the current display state includes display and hiding;
[0128] Based on the cloud desktop protocol, the cloud desktop protocol client transmits the current display state of the second display application to the desktop protocol server.
[0129] In yet another embodiment, the electronic device further includes a closing module 506, which is configured to:
[0130] Acquire a first close instruction generated by a close operation performed on an icon corresponding to the first display application, or acquire a second close instruction generated based on a window corresponding to the second display application;
[0131] In response to the first closing instruction or the second closing instruction, the first display application and the second display application are stopped.
[0132] In an embodiment of the present application, while starting the first display application based on the startup instruction, the second display application associated with the first display application is also started, and the service instruction is responded to by the second display application to achieve the purpose of displaying service data on the client, wherein the second display application is located in the cloud terminal, that is, the service instruction is responded to through the local resources of the cloud terminal, and there is no need for the cloud desktop to respond to the service instruction through the server, which improves the response speed to a certain extent and enhances the user experience.
[0133] The present application also provides an electronic device. The structural diagram of the electronic device can be as follows: Figure 6 As shown, at least a memory 601 and a processor 602 are included, the memory 601 stores a computer program, and the processor 602 implements the method provided by any embodiment of the present application when executing the computer program on the memory 601. Exemplarily, the steps of the electronic device computer program are as follows S11-S13:
[0134] S11, obtaining a startup instruction for a first display application from a client;
[0135] S12, based on the start instruction, start the first display application and a second display application associated with the first display application, where the second display application is located in the cloud terminal;
[0136] S13, displaying service data on the client by responding to the service instruction through the second display application, wherein the service instruction is determined by the client for the second display application after starting the second display application, or the service instruction is included in the starting instruction.
[0137] An embodiment of the present application provides a storage medium, which is a computer-readable medium and stores a computer program. When the computer program is executed by a processor, the method provided in any embodiment of the present application is implemented, including the following steps S21-S23:
[0138] S21, obtaining a startup instruction for a first display application from the client;
[0139] S22, based on the start instruction, start the first display application and a second display application associated with the first display application, where the second display application is located in the cloud terminal;
[0140] S23, displaying service data on the client by responding to the service instruction through the second display application, wherein the service instruction is determined by the client for the second display application after starting the second display application, or the service instruction is included in the starting instruction.
[0141] In an embodiment of the present application, while starting the first display application based on the startup instruction, the second display application associated with the first display application is also started, and the service instruction is responded to by the second display application to achieve the purpose of displaying service data on the client, wherein the second display application is located in the cloud terminal, that is, the service instruction is responded to through the local resources of the cloud terminal, and there is no need for the cloud desktop to respond to the service instruction through the server, which improves the response speed to a certain extent and enhances the user experience.
[0142] Optionally, in this embodiment, the above-mentioned storage medium may include, but is not limited to, various media that can store program codes, such as a U disk, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk. Optionally, in this embodiment, the processor executes the method steps recorded in the above-mentioned embodiment according to the program code stored in the storage medium. Optionally, the specific examples in this embodiment can refer to the examples described in the above-mentioned embodiment and the optional implementation mode, and this embodiment is not repeated here. Obviously, those skilled in the art should understand that the above-mentioned modules or steps of the present application can be implemented with a general computing device, which can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices. Optionally, they can be implemented with executable program codes of computing devices, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from here, or they can be made into individual integrated circuit modules respectively, or multiple modules or steps in them can be made into a single integrated circuit module to implement. In this way, the present application is not limited to any specific combination of hardware and software.
[0143] In addition, although exemplary embodiments have been described herein, the scope includes any and all embodiments based on the present application with equivalent elements, modifications, omissions, combinations (e.g., various embodiments intersecting schemes), adaptations or changes. The elements in the claims will be interpreted broadly based on the language adopted in the claims, and are not limited to the examples described in this specification or during the implementation of the application, and the examples will be interpreted as non-exclusive. Therefore, this specification and examples are intended to be considered as examples only, and the true scope and spirit are indicated by the following claims and the full scope of their equivalents.
[0144] The above description is intended to be illustrative rather than restrictive. For example, the above examples (or one or more of them) can be used in combination with each other. For example, those of ordinary skill in the art can use other embodiments when reading the above description. In addition, in the above-mentioned specific embodiments, various features can be grouped together to simplify the application. This should not be interpreted as an intention that a disclosed feature that does not require protection is necessary for any claim. On the contrary, the subject matter of the present application may be less than all the features of a specific disclosed embodiment. Thus, the following claims are incorporated into the specific embodiments as examples or embodiments, wherein each claim is independently used as a separate embodiment, and it is considered that these embodiments can be combined with each other in various combinations or arrangements. The scope of the present application should be determined with reference to the attached claims and the full scope of equivalent forms granted by these claims.
[0145] Multiple embodiments of the present application are described in detail above, but the present application is not limited to these specific embodiments. Those skilled in the art can make various variations and modifications to the embodiments based on the concept of the present application, and these variations and modifications should all fall within the scope of protection required by the present application.
Claims
1. A cloud access control method, comprising: Obtaining a startup instruction from the client for the first display application; Based on the startup instruction, start the first display application and a second display application associated with the first display application, where the second display application is located in the cloud terminal; The second display application responds to the service instruction to display service data on the client, wherein the service instruction is determined by the client for the second display application after starting the second display application, or the service instruction is included in the starting instruction.
2. The cloud access control method according to claim 1, wherein obtaining a startup instruction of the client for the first display application comprises: A first operation performed by a collection client on an icon corresponding to the first display application, the first operation indicating starting the first display application, and the icon corresponding to the first display application being displayed on the cloud desktop; Based on the first operation, the start instruction is obtained.
3. The cloud access control method according to claim 1, wherein starting the first display application and the second display application associated with the first display application based on the start instruction comprises: In response to the start instruction, start the first display application; After starting the first browser, establishing a communication connection with the cloud desktop protocol server through a named pipe; Transmitting the startup instruction to the cloud terminal via the cloud desktop protocol; Based on the startup instruction, the second display application is started.
4. The cloud access control method according to claim 1 or 3, after starting the second display application and before obtaining the service instruction, comprising: A window corresponding to the second display application is displayed on the client.
5. The cloud access control method according to claim 4, wherein the second display application responds to the service instruction and displays the service data on the client, comprising: Obtaining a service instruction determined by the client for the second display application; Responding to the service instruction, obtaining the service data; The service data is displayed on the client through a window corresponding to the second display application.
6. The cloud access control method according to claim 4, wherein the second display application responds to the service instruction and displays the service data on the client, further comprising: Extracting the service instruction contained in the start instruction; Responding to the service instruction, obtaining the service data; The service data is displayed on the client through a window corresponding to the second display application.
7. The cloud access control method according to claim 2, further comprising: Based on the cloud desktop, obtaining a state switching instruction generated by a state switching operation performed on an icon corresponding to the first display application, the state switching instruction instructing to display or hide the second display application; determining a current display state of the second display application; Based on the current display state, respond to the state switching instruction.
8. The cloud access control method according to claim 7, wherein determining the current display state of the second display application comprises: Obtaining in real time the size of the window corresponding to the second display application based on the cloud desktop protocol client; Based on the size of the window, determining a current display state of the second display application, wherein the current display state includes display and hiding; Based on the cloud desktop protocol, the cloud desktop protocol client transmits the current display state of the second display application to the desktop protocol server.
9. The cloud access control method according to claim 2, further comprising: Acquire a first close instruction generated by a close operation performed on an icon corresponding to the first display application, or acquire a second close instruction generated based on a window corresponding to the second display application; In response to the first closing instruction or the second closing instruction, the first display application and the second display application are stopped.
10. An electronic device comprising: An acquisition module configured to acquire a startup instruction from a client for a first display application program; a start module configured to start the first display application and a second display application associated with the first display application based on the start instruction, wherein the second display application is located in a cloud terminal; The response module is configured to respond to the service instruction through the second display application and display service data on the client, wherein the service instruction is determined by the client for the second display application after starting the second display application, or the service instruction is included in the start instruction.
Citation Information
Patent Citations
Application-association starting method and device and mobile terminal
CN108021305A
Application program display method and application program data generation method
CN114020396A
Application window processing method, terminal equipment, server and storage medium
CN114895824A
Cloud desktop operation method, server and terminal
CN115794268A
Cloud application distribution method, cloud application starting method, computing device and computer storage medium
CN115801862A