Proxy service method, screen projection method, terminal device, electronic device and storage medium
By installing a virtual operating system container on the server and utilizing the network connection of heterogeneous network nodes, the first terminal device or the second terminal device operates the target application through the virtual operating system container as a proxy, solving the Android application in the prior art Compatibility issues on low-end devices have achieved improvements in application expansion and device compatibility.
Patent Information
- Application Number
- CN202010314009.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-04-20
- Publication Date
- 2025-02-11
- Estimated Expiration
- 2040-04-20
AI Technical Summary
The prior art is difficult to effectively run Android applications on low-end devices, which limits the scope of the application and the compatibility of the device.
By installing a virtual operating system container on the server and utilizing the network connection of heterogeneous network nodes, the first terminal device or the second terminal device operates the target application through the virtual operating system container as a proxy.
It has achieved application expansion for low-end devices, fully utilized the equipment capabilities of high-end devices, reduced investment demand for servers, and improved user experience and device compatibility.
Smart Images

Figure CN113543364B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of computer technology, and in particular to a proxy service method, a screen projection method, a terminal device, an electronic device, and a storage medium. Background Art
[0002] Android is a free and open source operating system. It is mainly used in mobile devices such as smartphones and tablets. The Android ecosystem has a wide range of applications and has accumulated a large number of applications. For low-end devices, although the cost is advantageous, the application scope is greatly limited due to incompatibility with the Android ecosystem.
[0003] The development of existing cloud services has led some manufacturers to propose running Android applications on servers through virtualization and container technologies, with the servers simulating remote devices to run Android applications. However, this solution still has room for improvement. Summary of the invention
[0004] In view of this, an embodiment of the present invention provides a proxy service method, a screen projection method, a terminal device, an electronic device and a storage medium to solve or alleviate the above-mentioned problems.
[0005] According to a first aspect of an embodiment of the present invention, a proxy service method is provided, including: a first terminal device determines a network connection with a second terminal device under the same heterogeneous network node, a virtual operating system container is installed in a host operating system of the second terminal device, and a target application is installed in the virtual operating system container; the first terminal device operates the target application through a proxy of the network connection through the virtual operating system container.
[0006] According to a second aspect of an embodiment of the present invention, a proxy service method is provided, including: a second terminal device determines a network connection with a first terminal device under the same heterogeneous network node, a virtual operating system container is installed in a host operating system of the second terminal device, and a target application is installed in the virtual operating system container; the second terminal device provides a proxy for the first terminal through the virtual operating system container based on the network connection to operate the target application.
[0007] According to a third aspect of an embodiment of the present invention, a proxy service method is provided, including: a first terminal device determines a network connection with multiple second terminal devices under the same heterogeneous network node, each of the multiple second terminal devices has a virtual operating system container installed in its respective host operating system, and each of the virtual operating system containers has a respective application installed in it; the first terminal device operates the respective application through the respective virtual operating system container based on a proxy of the network connection.
[0008] According to a fourth aspect of an embodiment of the present invention, a proxy service method is provided, including: a second terminal device determines a network connection with multiple first terminal devices under the same heterogeneous network node, a virtual operating system container is installed in the host operating system of the second terminal device, and an application is installed in the virtual operating system container; the second terminal device provides a proxy for the multiple first terminals through the virtual operating system container based on the network connection to operate the application.
[0009] According to a fifth aspect of an embodiment of the present invention, a screen projection method is provided, including: a first terminal device determines a network connection with a second terminal device under the same heterogeneous network node, and a target application is installed in the operating system of the second terminal device; the first terminal device operates the target application on a local display screen through screen projection transmission based on the network connection.
[0010] According to a sixth aspect of an embodiment of the present invention, a screen projection method is provided, including: a second terminal device determines a network connection with a first terminal device under the same heterogeneous network node, and a target application is installed in the operating system of the second terminal device; the second terminal device executes screen projection of the target application on the display screen of the first terminal device through screen projection transmission based on the network connection.
[0011] According to the seventh aspect of an embodiment of the present invention, a terminal device is provided, including: a determination module, which determines a network connection with a second terminal device under the same heterogeneous network node, and a target application is installed in the operating system of the second terminal device; and a screen projection module, in which the first terminal device operates the target application on a local display screen through screen projection transmission based on the network connection.
[0012] According to an eighth aspect of an embodiment of the present invention, a terminal device is provided, including: a determination module, which determines a network connection under the same heterogeneous network node as a first terminal device, and a target application is installed in the operating system of the second terminal device; and a screen projection module, which executes screen projection of the target application on a display screen of the first terminal device through screen projection transmission based on the network connection.
[0013] According to a ninth aspect of an embodiment of the present invention, a terminal device is provided, comprising: a determination module, which determines a network connection with a second terminal device under the same heterogeneous network node, a virtual operating system container is installed in a host operating system of the second terminal device, and a target application is installed in the virtual operating system container; an operation module, which operates the target application through an agent of the virtual operating system container based on the network connection.
[0014] According to the tenth aspect of an embodiment of the present invention, a terminal device is provided, comprising: a determination module, which determines a network connection under the same heterogeneous network node as a first terminal device, a virtual operating system container is installed in the host operating system of the second terminal device, and a target application is installed in the virtual operating system container; an agent module, which provides an agent for the first terminal through the virtual operating system container based on the network connection to operate the target application.
[0015] According to the eleventh aspect of an embodiment of the present invention, a terminal device is provided, comprising: a determination module, determining a network connection with multiple second terminal devices under the same heterogeneous network node, wherein each of the multiple second terminal devices has a virtual operating system container installed in its respective host operating system, and each of the virtual operating system containers has a respective application installed in it; and an operation module, operating each of the respective applications through an agent of the respective virtual operating system container based on the network connection.
[0016] According to the twelfth aspect of an embodiment of the present invention, a terminal device is provided, comprising: a determination module, which determines a network connection with multiple first terminal devices under the same heterogeneous network node, a virtual operating system container is installed in the host operating system of the second terminal device, and an application is installed in the virtual operating system container; an agent module, which provides an agent for the multiple first terminals through the virtual operating system container based on the network connection to operate the application.
[0017] According to the thirteenth aspect of an embodiment of the present invention, there is provided an electronic device, comprising: one or more processors; and a computer-readable medium configured to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any one of the first to third aspects.
[0018] According to a fourteenth aspect of an embodiment of the present invention, a storage medium is provided, on which a computer program is stored, and when the program is executed by a processor, the method described in any one of the first to third aspects is implemented.
[0019] Since the first terminal device and the second terminal device have a network connection under the same heterogeneous network, when the first terminal device operates the target application through the virtual operating system container based on the agent of the network connection, the device capabilities of the second terminal device are fully utilized to achieve decentralized proxy. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in 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 embodiments of the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0021] Figure 1 A schematic diagram of an example network architecture applicable to a proxy service method according to an embodiment of the present invention;
[0022] Figure 2A A schematic flow chart of an agent service method according to another embodiment of the present invention;
[0023] Figure 2B A schematic interaction diagram of an agent service method according to another embodiment of the present invention;
[0024] Figure 2C A schematic block diagram of an agent service method according to another embodiment of the present invention;
[0025] Figure 3 A schematic interaction diagram of an agent service method according to another embodiment of the present invention;
[0026] Figure 4 A schematic interaction diagram of an agent service method according to another embodiment of the present invention;
[0027] Figure 5 A schematic interaction diagram of an agent service method according to another embodiment of the present invention;
[0028] Figure 6 A schematic interaction diagram of an agent service method according to another embodiment of the present invention;
[0029] Fig. 7A A schematic flow chart of an agent service method according to another embodiment of the present invention;
[0030] Figure 7B A schematic interaction diagram of an agent service method according to another embodiment of the present invention;
[0031] Fig. 8A is a schematic flow chart of a screen projection method according to another embodiment of the present invention;
[0032] Figure 8B is a schematic flow chart of a screen projection method according to another embodiment of the present invention;
[0033] Fig. 9A is a schematic block diagram of a terminal device according to another embodiment of the present invention;
[0034] Fig. 9Bis a schematic block diagram of a terminal device according to another embodiment of the present invention;
[0035] Fig. 10A is a schematic block diagram of a terminal device according to another embodiment of the present invention;
[0036] Fig. 10B is a schematic block diagram of a terminal device according to another embodiment of the present invention;
[0037] Fig.11A is a schematic block diagram of a terminal device according to another embodiment of the present invention;
[0038] Fig. 11B is a schematic block diagram of a terminal device according to another embodiment of the present invention;
[0039] Fig.12 is a schematic structural diagram of an electronic device according to another embodiment of the present invention;
[0040] Fig.13 The present invention is another embodiment of the hardware structure of an electronic device. DETAILED DESCRIPTION
[0041] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. All other embodiments obtained by ordinary technicians in the field based on the embodiments in the embodiments of the present invention should fall within the scope of protection of the embodiments of the present invention.
[0042] The specific implementation of the embodiment of the present invention is further described below in conjunction with the accompanying drawings of the embodiment of the present invention.
[0043] Figure 1 The schematic diagram of an example network architecture 100 applicable to the proxy service method of an embodiment of the present invention is shown. The network architecture 100 may be, for example, a homogeneous network or a heterogeneous network. It should be understood that the network architecture is merely exemplary. The network configuration and application scenarios applicable to the embodiment of the present invention are described by taking a heterogeneous network as an example.
[0044] It should be understood that the heterogeneous network in the text can be a network composed of computers, network devices and systems produced by different manufacturers. Generally, the network runs on different protocols to support different functions or applications. The heterogeneous network nodes in the text can be network nodes connected to different protocols or different network connection methods, for example, routers, network management devices, etc. The above-mentioned different network connection methods can be at least one of the physical layer, data link layer, media access layer, network layer, transport layer, session layer, and application layer. The above-mentioned network connection can also be a mobile network connection. It should be understood that the above-mentioned different network connections can refer to the difference in any one of the user plane protocol or the control plane protocol. For example, any one of the physical layer protocol, the media access layer protocol, and the wireless access layer protocol. In other words, the difference in any aspect of the above-mentioned protocols is understood as a different network connection. It should also be understood that the above-mentioned network includes but is not limited to mobile networks, the Internet such as local area networks or wide area networks, the Internet of Things, and the Internet of Things based on mobile networks. It should also be understood that the above network may also include a Near Field Communication (NFC) network, that is, a device to device (D2D) network, and the heterogeneous network node may be a network node between the Near Field Communication network and any other network mentioned above. For example, the above Near Field Communication network includes but is not limited to Bluetooth Low Energy, WiFi, Zigbee, Z-wave, long-range wide area network, etc.
[0045] As shown in the figure, the server 102 can be a server of the terminal device 104 or the terminal device 103. For example, the server 102 is connected to other access networks through the network 101. It should be understood that the server can be directly connected to other access networks through the network 101. It can also be connected to other access networks via the network 101. The access node can be an example of a heterogeneous network node in the text. It should be understood that the heterogeneous network of the embodiment of the present invention is not limited to Figure 1 In the network shown, the heterogeneous network nodes of the embodiment of the present invention are not limited to the above-mentioned access nodes. The above-mentioned access nodes are not limited to the access network in the mobile network. They can also include local area network access nodes. The above-mentioned access nodes can also include Internet of Things access nodes. Other heterogeneous network nodes in the network are not shown. However, they can also include network nodes of the core network or the service network.
[0046] As an example, for Figure 1As for the heterogeneous network node 105 shown, it can be connected with multiple devices of the same or different types. These devices can be connected based on access point 105. In other words, these devices can all be in the access network. As another example, these devices can be connected based on a network including the access network. In other words, the access network is a subnetwork of the network. Multiple devices can be connected based on the heterogeneous network nodes of the network. It should be understood that while multiple devices are connected in the network, some of the multiple devices can also communicate with devices outside the network (for example, server 102). It should be understood that each device can be in other networks. Each device can communicate with its corresponding server based on network 101 as a client device. It should also be understood that network 101 can be part of the Internet, a mobile network or a physical network. Although device 104 is shown as a user device, device 104 can also be a service device. Device 103 is not only a desktop computer, but also any other device with computing power or data processing power. The network and network topology applicable to the solution of the embodiment of the present invention can be arbitrary. The network protocol applicable to the solution of the embodiment of the present invention is also arbitrary. It should also be understood that the terminal device in the embodiment of the present invention can be any device in a heterogeneous network node, and should not be understood only as a user equipment. The embodiment of the present invention will be described in detail below in conjunction with the accompanying drawings.
[0047] FIG2 is a schematic flow chart of an agent service method according to another embodiment of the present invention. The agent service method of FIG2 includes:
[0048] 210: The first terminal device determines a network connection with the second terminal device under the same heterogeneous network node, a virtual operating system container is installed in the host operating system of the second terminal device, and a target application is installed in the virtual operating system container.
[0049] It should be understood that the first terminal device and the second terminal device may be the same terminal device or different terminal devices. For example, the above-mentioned terminal device may be an Internet of Things terminal device, a smart device, a mobile terminal device, a computer device such as a tablet computer, a desktop computer, a mobile phone, etc. For example, the first terminal device is a low-end device compared to the second terminal device, and the second terminal device serves as a service device of the low-end device of the first terminal device. For example, the second terminal device is a low-end device compared to the first terminal device, but the second device has a device resource or device capability that is currently not utilized. For example, the operating environment of the first terminal device has a configuration lower than that of the virtual operating system. For example, the second terminal device has an environment capable of running an operating system. For example, the above-mentioned device resources or device capabilities may be operating system capabilities, device hardware capabilities, etc. For example, the operating system of the second terminal device has more capabilities than the operating system of the first terminal device, or the operating system of the second terminal device has more specific computing capabilities, for example, the operating system of the second terminal device may be an embedded system suitable for image processing or audio processing. For example, the first terminal device and the second terminal device have the same operating system kernel, but the operating system of the second terminal device has a higher version than the operating system of the first terminal device. For example, the first terminal device has a more efficient graphical user interface display capability or audio processing capability than the second terminal device, and the second terminal device has a more efficient computing capability than the first terminal device. For example, the above computing capability includes serial computing processing capability or parallel computing processing capability. For example, the second terminal device may have a hardware capability that the first terminal device does not have. For example, compared with the first terminal device, the second terminal device has a more efficient and stable system on chip. For example, the central processing unit (CPU) or graphics processing unit (GPU) of the second terminal device has a more efficient capability. Alternatively, one of the central processing unit or image processor in the second terminal device has a more efficient capability than the first terminal device. For example, the second terminal device may be an Internet of Things device, and the second terminal device may have efficient sensor hardware, and the functions of the above sensors are not limited to information sensing hardware such as radio frequency identification, infrared sensors, global positioning systems, laser scanners, etc. For example, the first terminal device may have any of the above functions more efficiently, and the second terminal device has a more efficient data processing capability or computing capability.
[0050] It should also be understood that, compared to the first terminal device, the second terminal device may have more efficient software capabilities or hardware capabilities in at least one aspect of communication capabilities, storage capabilities, and computing capabilities. Optionally, compared to the first terminal device, the second terminal device may currently have more resources in at least one of the above aspects. For example, before making the above network connection, the current state of at least one resource of the second terminal device is determined.
[0051] It should also be understood that the second terminal device may be one terminal device or multiple terminal devices. The virtual operating system container may be one virtual operating system container or multiple virtual operating system containers. For example, the target application may be one application or multiple applications. The embodiment of the present invention is not limited to this. The target application may be part or all of the applications installed in the virtual operating system container.
[0052] It should also be understood that the host operating system can be installed with an application or only in accordance with a virtual operating system container. The container in the text can be a virtual machine, any sandbox configuration such as a DOCKER container. For example, the container in the text can be any configuration for virtualization of the underlying hardware. It should be understood that the first terminal device can have a virtualization configuration corresponding to the virtual operating system container, for example, the first terminal device can also have a local sandbox or a local container, so as to communicate with the virtual operating system container, and then operate the virtualized operating system container, or be controlled by the virtualized operating system. For example, the above-mentioned container can be configured using a container engine. For example, the above-mentioned virtual operating system container is built based on a virtual operating system, and the virtual operating system and the host operating system can be the same operating system or different operating systems. For example, a DOCKER container engine. For example, the above-mentioned container can include containers such as Android systems, IOS, embedded systems, desktop system containers, and server operating system containers. For example, in the Internet of Things scenario, various Internet of Things devices can be deployed based on a home network, and a central control device that controls multiple Internet of Things devices can also be deployed. The central control device can be configured with an embedded operating system, a desktop operating system, and a server operating system. For example, the above-mentioned Internet of Things devices include but are not limited to intelligent transportation devices, smart home devices, public safety devices, etc. The above-mentioned smart home devices include, but are not limited to, smart air conditioners, smart light bulbs, smart tables and chairs, smart TVs, smart speakers, smart instruments, smart cameras, smart window sensors, smart doorbells, smart detectors, and other smart security devices, etc. The embodiments of the present invention do not limit this.
[0053] The above-mentioned network connection can be initiated by the first terminal device or by the second terminal device. For example, when the first terminal device accesses the network, a network connection request is sent to other terminals in the network. For example, when the second terminal device accesses the network, a network connection request is sent to other terminals in the network. For example, other devices can be currently connected to the network or disconnected from the current network. For example, a secure communication connection can be used to establish the above-mentioned network connection, such as a three-step handshake connection method. For example, the above-mentioned network connection can also adopt a shortcut connection method, that is, the terminal device can directly establish a connection according to the network connection request of other devices. Thereby saving communication resources and facilitating the connection of multiple terminal devices under the same heterogeneous network node. For example, a security gateway configuration can be performed at the same heterogeneous network node. Thereby, while ensuring the communication efficiency of the network under the heterogeneous network node, the communication efficiency of multiple terminal devices is improved.
[0054] For example, the network connection request may include the capability information of the terminal device as the sender of the network connection request. For example, the sender sends compatibility information. The compatibility information includes device operating environment information. For example, the sender sends its own hardware capability information, operating system capability information, or application information. The operating system capability information includes but is not limited to the type of operating system and the version of the operating system. For example, the terminal device as the receiver may perform compatibility matching processing on the capability information sent by the sender, and determine whether to establish a connection with the sender based on the result of the compatibility matching processing. For example, all devices in the network may serve as both senders and receivers. For example, a device capability matching mapping table is stored in the terminal device, and the mapping table may include the device's own capability information, such as capability parameters of hardware capability and / or software capability, such as the type or version of hardware configuration, the type or version of software configuration, etc. For example, the mapping table may also include hardware capability and / or software capability compatible with the hardware capability and / or software capability. For example, when the receiver receives the capability information sent by the sender, it determines whether the capability information (or its identifier) is in the mapping table, and if it is in the mapping table, a connection is established. If it is not in the mapping table, no basis is given for the network connection request including the capability information.
[0055] 220: The first terminal device operates the target application program through a proxy of the virtual operating system container based on the network connection.
[0056] It should be understood that for operating the target application based on the above-mentioned agent, the network address of the virtual operating system container can be accessed based on the above-mentioned network connection. For example, when the second terminal device is installed with multiple network addresses corresponding to multiple operating system containers, the corresponding virtual operating system container can be accessed based on the different network addresses. For example, the first terminal device can manage at least one virtual operating system container. For example, the first terminal device can manage different virtual operating system containers in multiple second terminal devices. The above-mentioned different virtual operating system containers are containers based on the same operating system (for example, an embedded system). Thus, one terminal device manages multiple terminal devices under the same network. For example, the management of different virtual operating system containers in multiple service devices by low-end devices, or the management of different virtual operating system containers in a service device is realized. For example, the first terminal device sends an application operation instruction to the second terminal device based on the network connection. For example, the operation instruction is sent to the above-mentioned virtual operating system container based on the container engine. The application operation instruction operates the virtual operating system container. For example, a container creation instruction and a container deletion instruction for the virtual operating system container. For example, a container configuration instruction for the virtual operating system container. For example, an application instruction for the application in the container of the virtual operating system container. For example, the embodiment of the present invention may use any type of container and corresponding container engine, which is not limited in the embodiment of the present invention.
[0057] Since the first terminal device and the second terminal device have a network connection under the same heterogeneous network, when the first terminal device operates the target application through a proxy based on the network connection through the virtual operating system container, the device capabilities of the second terminal device are fully utilized to achieve decentralized proxy.
[0058] It should be understood that the above-mentioned device capabilities may be storage capabilities, computing capabilities, communication capabilities, etc. For example, when the space of the primary storage device and / or the secondary storage device of the first terminal device is insufficient, or when the unused storage space of the second terminal device is large, the second terminal device may provide resource or capability services for the first terminal device. In other words, the method of the embodiment of the present invention provides an agent for a low-end device through a high-end device, or provides an agent for a terminal device with relatively insufficient resources through a device with relatively sufficient resources.
[0059] In addition, the smart devices to which the embodiments of the present invention can be applied include but are limited to low-end smart hardware devices with video playback or screen projection display capabilities. For example, smart hardware with a Linux operating system. For example, the embodiments of the present invention are also applied to devices with Android container capabilities in the network. For example, the above-mentioned terminal devices include but are not limited to customized Android devices (installation devices with container operation capabilities) or desktop operating system devices such as customized Chrome OS, or customized cloud service operating system devices.
[0060] In addition, the embodiments of the present invention avoid investment in servers or server clusters. In other words, the embodiments of the present invention utilize the service capabilities of widely existing terminal devices, greatly saving investment and fully utilizing the advantages of service devices. For example, in a home network, the number and usage of embedded devices or smart devices such as Android devices are very large, and a considerable portion of the devices have excess capacity. The solution of the embodiments of the present invention can fully utilize the hardware resources of other terminal devices such as screens to obtain a better user experience.
[0061] In addition, the embodiments of the present invention achieve service decentralization through network connections under heterogeneous network nodes. In other words, the equipment investment, maintenance costs and corresponding bandwidth costs of the service center are greatly reduced. In addition, since the first terminal device such as a display device and the second terminal device such as a service device are under the same heterogeneous network node such as a home network or a venue network, for example, under a WIFI network, the delay is greatly reduced, achieving a better user experience.
[0062] In other words, the virtualization technology and container technology of the embodiment of the present invention can run the target application such as Android application on at least one specific service device. For example, for the first terminal device (remote device) with a display function, the service device in the embodiment of the present invention can obtain user input from the remote device (the served device; for example, a low-end device) based on the network connection, and transmit the operation results such as screen output to the remote device for display. In other words, the service device can simulate the remote device to run the target application such as Android application, thereby realizing a decentralized proxy such as a replacement server or server cluster to centrally allocate containers.
[0063] In another implementation of the present invention, the first terminal device may include a stream device interface and a block device interface. The first terminal device may have a display capability output component such as, for example, including a display screen. Alternatively, the first terminal device may not have a display component, but may have other sound output components, such as a speaker. The first terminal device may have an input component such as a touch component, for example, a touch screen. Alternatively, the first terminal device may not have a touch component, but may have other input components, such as a keyboard or a sensor. For example, the input component and the output component of the first terminal device may be separated. Alternatively, the input component and the output component may be integrated into one component. For example, a human-computer interaction interface. For example, the human-computer interaction interface of the first terminal device can realize touch, display and other controls.
[0064] For example, Figure 2B As shown, in step 201, the user inputs an instruction, for example, inputs an instruction in the above-mentioned human-computer interaction interface. In step 202, the low-end device sends an operation instruction to the service device. For example, the low-end device generates an operation instruction to the service device based on the above-mentioned input instruction. For example, the instruction may include a network identifier or a network address of the service device. In step 203, the service device sends a follow instruction to the low-end device according to the operation instruction. For example, according to the above-mentioned operation instruction, the service device performs corresponding local computing processing or local memory access operation, generates a computing result or an operation result, and includes the result in the follow instruction.
[0065] like Figure 2C As shown, the end-side container of the low-end device can call the underlying device interface (e.g., I / O interface). The icon of the application installed in the service device can be displayed on the display screen of the low-end device. The end-side container of the low-end device can communicate or call the running container of the service device. In other words, the end-side container can be weakly coupled with the running container in the code organization mode.
[0066] It should be understood that, on the one hand, the low-end device has relatively insufficient capabilities in a specific type, and the service device has the capabilities of that type or has relatively excess capabilities, or the low-end device currently has insufficient capabilities in that specific type, and the service device currently has the capabilities of that specific type or has relatively excess capabilities or resources of that type, so the low-end device can share the capabilities or resources of the service device. On the other hand, the service device may have lower capabilities than the low-end device in terms of I / O devices, or have inferior resources than the low-end device, so the service device can utilize the higher I / O performance of the low-end device.
[0067] As an example, the first terminal device operates a target application through a network-connected agent of a virtual operating system container, including: the first terminal device generates a first application operation instruction based on a first input instruction on a local human-computer interaction interface, wherein the first application operation instruction instructs the virtual operating system container to start the target application; the first terminal device sends the first application operation instruction to a second terminal device based on a network connection.
[0068] It should be understood that the first application operation instruction may include the network address of the virtual operating system container. Alternatively, it may also include a virtual network address based on the network address of the service device. For example, when the service device includes a virtual operating system container, the virtual address of the container is defaulted to the network address of the service device. For example, the virtual network address of the virtual operating system container has the same field as the network address of the above-mentioned service device. For example, the above-mentioned virtual network address is configured by configuring a multi-bit (for example, one or two bits) field after the network address field. For example, the first terminal device includes an end-side container corresponding to the virtual operating system container, for example, the end-side container is used to virtualize the hardware of the first terminal device. For example, the end-side container virtualizes the hardware device layer of the human-computer interaction interface. For example, for a terminal device having a display component such as a display screen, a user can start an application by clicking on the screen on a low-end device, and the device passes the start command to the service device.
[0069] In one implementation of the present invention, a first application and a second application may be run in a virtual operating system container of a second terminal device. For example, the first application is a local application, which calls the interface of the host operating system of the second terminal device through the virtual operating system container. For example, the second application may be the target application mentioned above. For example, the second application communicates with the first terminal device through the virtual operating system container. For example, the second application controls the hardware of the first terminal device by controlling the terminal side container of the first terminal device. For example, the hardware abstraction layer of the first terminal device is controlled by the terminal side container, for example, the driver of the hardware (for example, the display screen mentioned above; for example, the human-computer interaction interface device), for example, the component interface of the hardware (for example, the stream device interface, the block device interface, the network device interface, etc.). It should be understood that the above-mentioned hardware driver or the component interface of the hardware can convert the user's operation input to the hardware into a container operation command. Accordingly, the container converts the result of the operation into an application display instruction, and controls the hardware through the hardware abstraction layer. In other words, the virtual operating system container can output to the hardware of the first terminal device through the control instruction. For example, the driver of the hardware or the component interface of the hardware (input / output component interface) can be presented as an analog-to-digital conversion (for realizing digital-to-analog conversion or analog-to-digital conversion) circuit. For example, the analog-to-digital conversion circuit may be connected to the digital signal processing module, or the analog-to-digital conversion circuit may be integrated with the digital signal processing circuit into one physical module. It should be understood that the embodiments of the present invention are not limited to this.
[0070] As an example, the first terminal device operates the target application through a network-connected agent based on a virtual operating system container, and also includes: the first terminal device receives a first application display instruction sent by the second terminal device, and the first application display instruction instructs to display the display interface of the target application on the local human-computer interaction interface.
[0071] For example, the service device starts the specified target application and passes confirmation information to the low-end device.
[0072] In one implementation of the present invention, for example, the target application may be installed with an application kernel and multiple controls. Multiple controls may call the function, method or interface of the virtual operating system container through the application kernel. For example, some of the multiple controls may also directly call the function, method or interface of the virtual operating system container. For example, some of the multiple controls may directly call the method, function or interface of the host operating system. In other words, the scheme of the embodiment of the present invention does not limit the software implementation of the second terminal device. By directly calling the interface of the host operating system by the target application, the coupling of the target application to the host operating system can be realized, thereby realizing the rapid acquisition of the hardware resources (for example, storage space or computing power) of the second terminal device. By directly calling the interface of the virtual operating system container by the above-mentioned controls, the management capability or scheduling capability of the virtual operating system container for the control of the application is realized. For example, the virtual operating system container can manage the control sets of multiple applications. For example, the above-mentioned control set includes a first control set and a second control set. The controls in the first control set are controls that directly call the virtual operating system container. For example, the controls in the second control set are controls that call the virtual operating system container through the application kernel. Thus, a quick proxy for the first terminal device is realized through the container. For example, in the case of multiple first terminal devices, each first terminal device at the upper layer can access multiple applications (for example, different applications from multiple second terminal devices), and at the same time, each virtual resource container or each second terminal device at the lower layer can manage and schedule resource access to different first terminal devices. In other words, each first terminal device can perform front-end operation management of different applications. Each second terminal device can perform back-end management of resource access corresponding to the above-mentioned operation management.
[0073] It should also be understood that in the scenario of the solution of the embodiment of the present invention, storage resources and computing capabilities can be configured for heterogeneous network nodes. For example, at least one second terminal device can manage and schedule storage resources. For example, a hard disk, memory, processor, image processor, etc. can be configured for the network under the heterogeneous network node. Access to computing resources and storage resources is achieved through a network-based network connection or a bus connection different from the above network. For example, a virtual operating system container in a second terminal device accesses computing resources or storage resources configured for the network, which is used to replace the acquisition and access of the local hardware capabilities of the second terminal device.
[0074] As an example, the first terminal device generates a first application operation instruction based on a first input instruction on a local human-computer interaction interface, including: the first terminal device obtains a first input instruction for a target application on the local human-computer interaction interface; the first terminal device responds to the first input instruction and generates a first application operation instruction, wherein the first application operation instruction is used by the second terminal device to simulate a startup instruction of the target application in a virtual operating system container.
[0075] As an example, the first input instruction includes input device hardware information corresponding to the local human-computer interaction interface, and the first terminal device responds to the first input instruction and generates a first application operation instruction, including: the first terminal device responds to the first input instruction and generates a first application operation instruction according to the input device hardware information.
[0076] As an example, the first terminal device operates the target application through a network-connected agent of a virtual operating system container, and also includes: the first terminal device receives a first application display instruction sent by a second terminal device, wherein the first application display instruction includes output device hardware information generated based on input device hardware information; the first terminal device responds to the first application display instruction, and displays the display interface of the target application on the local human-computer interaction interface based on the output device hardware information.
[0077] As an example, a first terminal device operates a target application through a network-connected proxy of a virtual operating system container, including: the first terminal device generates a second application operation instruction based on a second input instruction for an interface control of the target application on a local human-computer interaction interface, wherein the second application operation instruction instructs the virtual operating system container to execute the interface control; and the first terminal device sends the second application operation instruction to the second terminal device based on the network connection.
[0078] In other words, in one example, during the operation of the target application, the low-end device (first terminal device) transmits all hardware signal information received by itself to the virtual operating system container of the service device through a specified protocol. For example, the hardware signal information includes but is not limited to the user's touch output, keyboard input, and external signals and data received by the hardware. For example, the virtual operating system container simulates the received data into hardware signals and data on its own device and transmits it to the application as user input.
[0079] For example, in another example, the above-mentioned hardware signal information may be an analog signal or a digital signal. For example, the above-mentioned hardware information may be an instruction converted by a hardware driver. Alternatively, it may be an instruction before conversion by a hardware driver. It should be understood that the above-mentioned hardware signal information may be sent to the virtual operating system container via the host operating system. The above-mentioned hardware information may also be sent directly to the virtual operating system container. The embodiments of the present invention are not limited to this. For example, the above-mentioned end-side container (or sandbox or virtualizer) may implement a first virtualization of a first terminal device, and the instructions generated by the first virtualization may be connected via a network for a second virtualization to obtain instructions of the container or the host operating system. In other words, the combination of the first virtualization and the second virtualization completes the virtualization of the hardware of the first terminal device.
[0080] In another implementation of the present invention, the human-computer interaction interface in the first terminal device can manage the display of different applications. For example, there is an application display control corresponding to the container. According to user instructions, the icons of all applications in the container can be presented on the human-computer interaction interface (for example, changing from the icon of the container to displaying the icons of all applications in the container; for example, presenting the icons of all the above applications in an enlarged dynamic display). For example, in the human-computer interaction interface, different containers can be displayed accordingly by turning pages. For example, the current page corresponds to the first container, and the next page corresponds to the second container. For example, the first container and the second container can come from the same second terminal device, or from different second terminal devices.
[0081] As an example, the first terminal device operates the target application through a network-connected agent of a virtual operating system container, and also includes: the first terminal device receives a second application display instruction sent by the second terminal device, wherein the second application display instruction indicates an operation response of displaying an interface control on a local human-computer interaction interface.
[0082] In other words, during the operation of the target application, the service device transmits the output information of the application operation to the low-end device through a specified protocol. For example, the above output information includes but is not limited to screen output, hardware control instructions, data and information received by the low-end device, etc., so as to simulate the output including screen display, hardware control, etc. on the cost device.
[0083] It should be understood that the above-mentioned protocols include but are not limited to wireless LAN protocols, wired LAN protocols, near-field communication protocols, Internet of Things protocols, screen projection protocols, and any other user data transmission or control protocols.
[0084] In another implementation of the present invention, other operations on the target application can also be implemented in the human-computer interaction interface. For example, the download operation, end operation or deletion operation of the target application. For example, in the human-computer interaction interface, the installation or deletion operation of the container can also be implemented. For example, according to the user's instructions, the application in the first container can be moved to the second container, and then the first container can be deleted. For example, according to the user's instructions, the first container can be deleted, thereby correspondingly realizing the deletion of at least one application in the first container. Thereby, the user's quick operation is realized. In other words, the smoothness of the operation is realized on the user side, and the user is unaware of the network communication process, the system call process, and the resource access process, and all resources and capabilities under the heterogeneous network node are fully utilized.
[0085] For example, the first terminal device can maintain its own network connection status or device capabilities while maintaining a connection with the second terminal device. For example, the second terminal device can maintain its own network connection status or device capabilities while maintaining a connection with the first terminal device. For example, the first terminal device can manage its own functions together with the target application, for example, in a human-computer interaction interface.
[0086] As an example, the first terminal device generates a second application operation instruction based on a second input instruction for an interface control of a target application on a local human-computer interaction interface, including: the first terminal device obtains a second input instruction for the target application on the local human-computer interaction interface; the first terminal device responds to the second input instruction and generates a second application operation instruction, wherein the second application operation instruction is used by the second terminal device to simulate the interface control operation instruction of the target application in a virtual operating system container.
[0087] As an example, the second input instruction includes input device hardware information corresponding to the local human-computer interaction interface, and the first terminal device responds to the second input instruction to generate a second application operation instruction, including: the first terminal device responds to the second input instruction and generates a second application operation instruction based on the input device hardware information.
[0088] As an example, the first terminal device operates the target application through a network-connected agent of a virtual operating system container, and also includes: the first terminal device receives a second application display instruction sent by the second terminal device, wherein the second application display instruction includes output device hardware information generated based on input device hardware information; the first terminal device responds to the second application display instruction, and displays the operation response of the interface control on the local human-computer interaction interface based on the output device hardware information.
[0089] As an example, the first terminal device operates the target application through an agent based on a network connection of the virtual operating system container, including: the first terminal device generates a third application operation instruction according to a third input instruction on the local human-computer interaction interface, wherein the third application operation instruction instructs the virtual operating system container to end the operation of the target application; the first terminal device sends the third application operation instruction to the second terminal device based on the network connection.
[0090] In other words, the user can trigger the end information on the low-end device, and the end information is transmitted to the service device. For example, the service device ends the operation of the target application according to the instruction including the end information. The service device can notify the low-end device of the processing results, for example, performing corresponding dynamic display on the human-computer interaction interface (for example, the disappearance or unavailability of the icon or text prompts or pattern prompts, etc.). As an example, the first terminal device operates the target application through a proxy based on a network connection of the virtual operating system container, and also includes: the first terminal device receives a third application display instruction sent by the second terminal device, and the third application display instruction indicates to switch from the display interface of the target application to the display desktop of the virtual operating system container on the local human-computer interaction interface.
[0091] As an example, the first terminal device generates a third application operation instruction based on a third input instruction on the local human-computer interaction interface, including: the first terminal device obtains a third input instruction for a target application on the local human-computer interaction interface; the first terminal device responds to the third input instruction and generates a third application operation instruction, wherein the third application operation instruction is used by the second terminal device to simulate an end instruction of the target application in a virtual operating system container.
[0092] As an example, the second input instruction includes input device hardware information corresponding to the local human-computer interaction interface, and the first terminal device responds to the third input instruction to generate a third application operation instruction, including: the first terminal device responds to the third input instruction and generates a third application operation instruction based on the input device hardware information.
[0093] As an example, the first terminal device operates the target application through a network-connected agent of the virtual operating system container, and also includes: the first terminal device receives a third application display instruction sent by the second terminal device, wherein the third application display instruction includes output device hardware information generated based on input device hardware information; in response to the third application display instruction, based on searching the output device hardware information, controls the display interface of the target application to switch to the display desktop of the virtual operating system container on the local human-computer interaction interface.
[0094] In another implementation of the present invention, the first terminal device operates the target application through a proxy based on a network connection of a virtual operating system container, including: the first terminal device obtains a fourth input instruction for the target application on the local human-computer interaction interface; the first terminal device responds to the fourth input instruction and generates a fourth application operation instruction, wherein the fourth application operation instruction is used by the second terminal device to simulate a server access instruction of the target application in the virtual operating system container; the first terminal device sends a third application operation instruction to the second terminal device based on the network connection.
[0095] As an example, the first terminal device operates the target application through a network-connected agent of a virtual operating system container, and also includes: the first terminal device receives a fourth application display instruction sent by the second terminal device, wherein the fourth application display instruction is generated based on service data obtained from the server via a server access instruction; the first terminal device responds to the fourth application display instruction and displays the service data on the local human-computer interaction interface.
[0096] In another implementation of the present invention, the method also includes: the first terminal device obtains application information of the target application from the second terminal device based on a network connection, wherein the first terminal device operates the target application through an agent based on the network connection of the virtual operating system container, including: the first terminal device sends a fifth application operation instruction to the second terminal device based on the network connection, the fifth application operation instruction includes application information, and the fifth application operation instruction instructs the virtual operating system container to operate the target application.
[0097] As an example, the first terminal device operates the target application through a proxy based on a network connection of a virtual operating system container, including: obtaining a fourth input instruction for the target application on the local human-computer interaction interface; generating a fourth application operation instruction in response to the fourth input instruction, wherein the fourth application operation instruction is used by the second terminal device to simulate a server access instruction of the target application in the virtual operating system container; and the first terminal device sends a third application operation instruction to the second terminal device based on the network connection.
[0098] As an example, the first terminal device operates the target application through a network-connected agent based on a virtual operating system container, and also includes: the first terminal device receives a fourth application display instruction sent by the second terminal device, wherein the fourth application display instruction is generated based on service data obtained from the server via a server access instruction; and in response to the fourth application display instruction, displays the service data on a local human-computer interaction interface.
[0099] In another implementation of the present invention, a first terminal device determines a network connection with a second terminal device under the same heterogeneous network node, including: when the first terminal device accesses a network based on a heterogeneous network node, the first terminal device determines the network connection with the second device, and the first terminal device operates a target application through an agent based on the network connection of a virtual operating system container, including: the first terminal device receives information of the target application sent by the second device based on the network connection; the first terminal device generates an application operation instruction based on the information of the target application; the first terminal device sends the application operation instruction to the second device based on the network connection, so that the virtual operating system container operates the target application.
[0100] Figure 3 FIG. 1 is a schematic interaction diagram of an agent service method according to another embodiment of the present invention. Figure 3 As shown, in step 301, the user inputs instructions to the low-end device. In step 302, the low-end device sends application operation instructions to the virtual operating system container (running container) in the service device, for example, organizing the code in a weakly coupled manner. In step 303, for example, inside the service device, the virtual operating system container sends an application startup instruction to the target application, for example, triggering the startup component of the target application. In step 304, the target application can return to the virtual operating system container according to the instruction and start the target application at the same time. Correspondingly, in step 305, the virtual operating system container sends an interface display instruction to the low-end device. For example, the interface display instruction instructs the low-end device to display the interface controls of the target application in the human-computer interaction interface.
[0101] Figure 4 FIG. 1 is a schematic interactive diagram of an agent service method according to another embodiment of the present invention. Figure 3Similarly to the process in, in step 401, the user inputs instructions to the low-end device. In step 402, the low-end device sends an application operation instruction to the virtual operating system container of the service device, for example, the application operation instruction is an operation instruction for the interface control of the target application generated by the human-computer interaction interface module based on the user input operation in step 401. In step 403, the virtual operating system container sends the interface control operation instruction to the target application. In step 404, the target application returns according to the instruction, and accordingly, changes the state of the interface control. For example, the instruction includes the change state information of the interface control. In step 405, the virtual operating system container (for example, based on a network connection; for example, based on a network address) sends an interface change instruction to the low-end device, for example, the instruction includes interface state change information. It should be understood that the above-mentioned input instruction can be any operation instruction input by the user, and the application operation instruction can be any instruction index defined in the container engine. The embodiment of the present invention is not limited to this.
[0102] Figure 5 FIG. 1 is a schematic interactive diagram of an agent service method according to another embodiment of the present invention. Figure 3 or Figure 4 Similarly, in step 501, the user inputs an instruction in the human-computer interaction interface, for example, the human-computer interaction interface module generates an application operation instruction according to the instruction input by the user. In step 502, the low-end device sends the application operation instruction to the virtual operating system container of the service device. In step 503, the target application installed in the virtual operating system container in the service device (in other words, the target application managed by the virtual operating system container) sends a program running end instruction. In step 504, the target application returns according to the instruction and ends the running of the current program. It should be understood that the running of the program in the text can be ended in the background, or the running of the program is transferred to the background running, which is not limited in the embodiment of the present invention. Accordingly, the virtual operating system container in the service device returns an interface switching instruction to the low-end device (as an example), for example, the interface switching instruction instructs the human-computer interaction interface module of the low-end device to switch from the display interface of the target application to the display interface of the container, or, from the display interface of the target application to the display desktop of the low-end device, the display desktop can display all or part of the applications in the running container in the service device, and the display desktop can also display applications in the running containers in other service devices. This embodiment of the present invention is not limited to this.
[0103] Figure 6It is a schematic interactive diagram of the proxy service method of another embodiment of the present invention. As shown in the figure, all or part of the multiple applications are managed by the running container. In step 601, the virtual operating system in the service device sends application information to the low-end device, for example, information of each application, such as status information, configuration information, user information, application identification, application version information, etc. In step 602, the low-end device (for example, based on the application operation instruction generated based on the user input instruction in the human-computer interaction interface module) sends the application operation instruction to the virtual operating system container, and the container operation may include information associated with the target application in multiple application information. For example, the above-mentioned user input instruction includes the application information or identification of the target application. For example, in step 603, the running container sends the application operation instruction to the target application according to the application operation instruction, so as to implement the user operation instruction input in the human-computer interaction interface module corresponding to the low-end device. It should be understood that the above-mentioned various figures are only exemplary and should not be understood as constituting a limitation on the interaction mode of the embodiment of the present invention. In fact, the interaction mode of the embodiment of the present invention can be carried out between multiple low-end devices and multiple service devices. And different service devices may include different running containers. In addition, different running containers may include the same or different applications, and the same application may have different versions. Accordingly, on the target low-end device, information of a higher version may be displayed for the same application based on the version information of the application. In addition, all versions of the target application may also be displayed on the target low-end device, which is not limited in the embodiment of the present invention.
[0104] Fig. 7A A schematic diagram of an agent service method according to another embodiment of the present invention; Fig. 7A The proxy service method includes:
[0105] 710: The second terminal device determines a network connection with the first terminal device under the same heterogeneous network node, a virtual operating system container is installed in the host operating system of the second terminal device, and a target application is installed in the virtual operating system container;
[0106] 720: The second terminal device provides an agent for the first terminal through the virtual operating system container based on the network connection to operate the target application.
[0107] Since the first terminal device and the second terminal device have a network connection under the same heterogeneous network, when the first terminal device operates the target application through a proxy based on the network connection through the virtual operating system container, the device capabilities of the second terminal device are fully utilized to achieve decentralized proxy.
[0108] In one implementation of the present invention, the second terminal device provides a proxy for the first terminal through a virtual operating system container based on a network connection to operate a target application, including: the second terminal device receives an application operation instruction sent by the first terminal device, the application operation instruction is generated based on an input instruction obtained on a human-computer interaction interface of the first device; the second terminal device responds to the application operation instruction, and simulates a server access instruction of the target application in the virtual operating system container. The second terminal device sends a server access instruction to the server.
[0109] In one implementation of the present invention, the second terminal device provides an agent for the first terminal through a virtual operating system container based on a network connection to operate a target application, and also includes: the second terminal device receives service data sent from the server in response to a server access instruction; the second terminal device generates an application display instruction, and sends the application display instruction to the first terminal device, and the application display instruction indicates that the service data is displayed on the human-computer interaction interface of the first terminal device.
[0110] Figure 7B This is a schematic interaction diagram of a proxy service method according to another embodiment of the present invention. In this example, the interaction process between a low-end device, a service device (eg, a service terminal device) and a server (eg, a cloud server) is shown.
[0111] In step 701, the user inputs an instruction (e.g., a trigger instruction) to the low-end device. For example, the user may input the instruction in the human-computer interaction interface of the low-end device. For example, the user may input the instruction on the display screen (or user interface) of the low-end device. For example, the user may input the instruction by means of touch control such as gestures, gesture instructions, or voice wake-up.
[0112] In step 702, the low-end device generates an operation instruction in response to the input instruction. For example, the low-end device can generate a container operation instruction, and the container operation instruction indicates an operation on the application. For example, the low-end device can generate an application operation instruction in response to the input instruction. For example, the low-end device can generate an application operation instruction or a container operation instruction based on the input device hardware data (for example, the hardware data of the input device as a stream device) included in the input instruction. In addition, the low-end device can send an operation instruction to the service device based on the first network connection. The first network connection can be a network connection based on the same heterogeneous network node.
[0113] In step 703, the service device may obtain an operation instruction based on a network protocol. For example, the network protocol may be a network protocol between a low-end device and a service device. For example, the network protocol may be a network protocol between a low-end device and a container, and the container may be configured with a network address of the service device, or may be configured with a virtual network address based on the network address. In addition, the service device generates a server access instruction based on the above-mentioned operation instruction. For example, the server access instruction may be based on a B / S mode or a C / S mode, for example, the server access instruction may be triggered by a web page, for example, the server access instruction may be generated by triggering a specific URL (Uniform Resource Locator) on a web page. In addition, the server access instruction may be triggered by using the target application as a client to obtain service data. The service data may be used to update the target application (installation program), or may be used to load service data (such as a script program, etc.) in a client or a web page. The above-mentioned network connection may be a second network connection. In addition, the service device may generate a server access instruction based on the above-mentioned input device hardware data. For example, the input device hardware data may include coordinate information, operation duration information, operation mode information, etc. of a human-computer interaction interface such as a display screen. The service device may determine an operation instruction for the target application based on the hardware data, and the operation instruction may indicate access to a specific URL. The service device may respond to the triggering of the URL and send a server access instruction to the server.
[0114] In step 704, the service device receives an access response instruction from the service end. For example, the service device receives the above service data from a service end such as a cloud service end. For example, the access response instruction may include the above service data, which is used to update the target application or load the service data in the target application.
[0115] In step 705, the service device responds to the access response instruction and generates a response instruction for the low-end device. For example, the service device responds to the access response instruction, generates a rendering file based on the service data, and sends the rendering file to the low-end device. The low-end device can present the service data in a human-computer interaction interface such as a display screen based on the rendering file. For example, the service device can render based on the service data, and send the rendered display file to the low-end device. For example, the service device can generate rendering data based on the service data, and based on the rendering data and the hardware parameters of the low-end device (for example, the hardware parameters of the human-computer interaction interface or the output device hardware parameters), generate the hardware data of the low-end device, and send the hardware data to the low-end device. The low-end device can be based on the hardware data (for example, as the output device hardware data of the stream device, for example, display screen data) in a local human-computer interaction interface such as a display screen or a user interface for display.
[0116] It should be understood that, although not shown, the container in the service device can be configured by the user on the service device. It can also be configured through a container configuration server. The container configuration server can be the same server as the server accessed by the target application, or it can be a different server. For example, based on a third network connection, the container configuration server can be used to configure the container for one or more service devices.
[0117] It should also be understood that the service device and the low-end device can be one or more. For example, multiple applications in different service devices can be displayed in the same low-end device. In addition, multiple low-end devices can also display the same application in the same service device. In addition, multiple low-end devices can also display the same application in different service devices. The same application can be an application of the same version or an application of different versions. For example, multiple low-end devices can also only display a higher version of the application. The embodiments of the present invention are not limited to this.
[0118] Fig. 8A A schematic diagram of a screen projection method according to another embodiment of the present invention. Fig. 8A Screen projection methods include:
[0119] 810: The first terminal device determines a network connection with the second terminal device under the same heterogeneous network node, and the target application is installed in the operating system of the second terminal device;
[0120] 820: The first terminal device operates the target application on the local display screen through screen projection transmission based on the network connection.
[0121] Figure 8B A schematic diagram of a screen projection method according to another embodiment of the present invention. Figure 8B Screen projection methods include:
[0122] 830: The second terminal device determines a network connection with the first terminal device under the same heterogeneous network node, and the target application is installed in the operating system of the second terminal device;
[0123] 840: The second terminal device executes screen projection of the target application on the display screen of the first terminal device through screen projection transmission based on the network connection.
[0124] In another implementation of the present invention, the second terminal device executes screen projection of the target application on the display screen of the first terminal device through screen projection transmission based on a network connection, including: the second terminal device receives a server access instruction sent by the first device based on the target application through screen projection transmission based on a network connection; responds to the server access instruction to obtain service data of the target application from the server; sends a screen projection instruction including the service data to the first terminal device to perform screen projection on the display screen of the first terminal device.
[0125] Fig. 9A A schematic block diagram of a terminal device according to another embodiment of the present invention. Fig. 9A The terminal equipment includes:
[0126] Determining module 910, determining a network connection under the same heterogeneous network node as the second terminal device, and the target application is installed in the operating system of the second terminal device;
[0127] Screen projection module 920, the first terminal device operates the target application on the local display screen through screen projection transmission based on the network connection.
[0128] Fig. 9B A schematic block diagram of a terminal device according to another embodiment of the present invention. Fig. 9B The terminal equipment includes:
[0129] A determination module 930 determines that the network connection with the first terminal device is under the same heterogeneous network node, and the target application is installed in the operating system of the second terminal device;
[0130] The screen projection module 940 executes screen projection of the target application on the display screen of the first terminal device through screen projection transmission based on a network connection.
[0131] In another implementation of the present invention, the screen projection module is specifically used to: receive a server access instruction sent by the first device based on a target application through screen projection transmission based on a network connection; respond to the server access instruction to obtain service data of the target application from the server; send a screen projection instruction including service data to the first terminal device to perform screen projection on the display screen of the first terminal device.
[0132] Fig. 10A is a schematic block diagram of a terminal device according to another embodiment of the present invention; Fig. 10A The terminal equipment includes:
[0133] Determining module 1010, determining a network connection under the same heterogeneous network node as the second terminal device, a virtual operating system container is installed in the host operating system of the second terminal device, and a target application is installed in the virtual operating system container;
[0134] The operation module 1020 operates the target application program through a proxy based on a network connection of the virtual operating system container.
[0135] Since the first terminal device and the second terminal device have a network connection under the same heterogeneous network, when the first terminal device operates the target application through a proxy based on the network connection through the virtual operating system container, the device capabilities of the second terminal device are fully utilized to achieve decentralized proxy.
[0136] Fig. 10B is a schematic block diagram of a terminal device according to another embodiment of the present invention; Fig. 10B The terminal equipment includes:
[0137] A determination module 1030 determines a network connection with multiple second terminal devices under the same heterogeneous network node, wherein each of the multiple second terminal devices has a virtual operating system container installed in its host operating system, and each of the virtual operating system containers has a respective application installed in it;
[0138] The operation module 1040 operates respective application programs through respective virtual operating system containers based on network connection agents.
[0139] The method of this embodiment can be executed by any appropriate electronic device with data processing capability, including but not limited to: a server, a mobile terminal (such as a mobile phone, a PAD, etc.) and a PC, etc.
[0140] The device of this embodiment is used to implement the corresponding methods in the aforementioned multiple method embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here. In addition, the functional implementation of each module in the device of this embodiment can refer to the description of the corresponding parts in the aforementioned method embodiments, which will not be repeated here.
[0141] In another implementation of the present invention, the operation module is specifically used to: generate a first application operation instruction based on a first input instruction on the local human-computer interaction interface, wherein the first application operation instruction instructs the virtual operating system container to start a target application; and send the first application operation instruction to a second terminal device based on a network connection.
[0142] In another implementation of the present invention, the operation module is further used to: receive a first application display instruction sent by the second terminal device, the first application display instruction instructing to display a display interface of the target application on the local human-computer interaction interface.
[0143] In another implementation of the present invention, the operation module is specifically used to: generate a second application operation instruction based on a second input instruction for the interface control of the target application on the local human-computer interaction interface, wherein the second application operation instruction instructs the virtual operating system container to execute the interface control; and send the second application operation instruction to the second terminal device based on the network connection.
[0144] In another implementation of the present invention, the operation module is further used to: receive a second application display instruction sent by the second terminal device, wherein the second application display instruction indicates an operation response of displaying an interface control on the local human-computer interaction interface.
[0145] In another implementation of the present invention, the operation module is specifically used to: generate a third application operation instruction based on a third input instruction on the local human-computer interaction interface, wherein the third application operation instruction instructs the virtual operating system container to end the operation of the target application; and send the third application operation instruction to the second terminal device based on the network connection.
[0146] In another implementation of the present invention, the operation module is also used to: receive a third application display instruction sent by the second terminal device, and the third application display instruction instructs to switch from the display interface of the target application to the display desktop of the virtual operating system container on the local human-computer interaction interface.
[0147] In another implementation of the present invention, the terminal device also includes: a receiving module, which obtains application information of the target application from the second terminal device based on a network connection, wherein the operation module is specifically used to: send a fifth application operation instruction to the second terminal device based on the network connection, the fifth application operation instruction includes application information, and the fifth application operation instruction instructs the virtual operating system container to operate the target application.
[0148] Fig.11A is a schematic block diagram of a terminal device according to another embodiment of the present invention; Fig.11A The terminal equipment includes:
[0149] Determining module 1110, determining a network connection under the same heterogeneous network node as the first terminal device, a virtual operating system container is installed in the host operating system of the second terminal device, and a target application is installed in the virtual operating system container;
[0150] The proxy module 1120 provides a proxy for the first terminal through the virtual operating system container based on the network connection to operate the target application.
[0151] Fig. 11B is a schematic block diagram of a terminal device according to another embodiment of the present invention; Fig. 11B The terminal equipment includes:
[0152] A determination module 1130 determines a network connection with multiple first terminal devices under the same heterogeneous network node, a virtual operating system container is installed in the host operating system of the second terminal device, and an application is installed in the virtual operating system container;
[0153] The proxy module 1140 provides a proxy for the plurality of first terminals through a virtual operating system container based on a network connection to operate an application program.
[0154] Since the first terminal device and the second terminal device have a network connection under the same heterogeneous network, when the first terminal device operates the target application through a proxy based on the network connection through the virtual operating system container, the device capabilities of the second terminal device are fully utilized to achieve decentralized proxy.
[0155] In another implementation of the present invention, the proxy module is specifically used to: receive application operation instructions sent by the first terminal device, the application operation instructions are generated based on input instructions obtained on the human-computer interaction interface of the first device; respond to the application operation instructions, simulate the server access instructions of the target application in the virtual operating system container; and send the server access instructions to the server.
[0156] In another implementation of the present invention, the proxy module is also used to: receive service data sent from the server in response to the server access instruction; generate an application display instruction, and send the application display instruction to the first terminal device, the application display instruction instructing to display the service data on the human-computer interaction interface of the first terminal device.
[0157] The method of this embodiment can be executed by any appropriate electronic device with data processing capability, including but not limited to: a server, a mobile terminal (such as a mobile phone, a PAD, etc.) and a PC, etc.
[0158] The device of this embodiment is used to implement the corresponding methods in the aforementioned multiple method embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here. In addition, the functional implementation of each module in the device of this embodiment can refer to the description of the corresponding parts in the aforementioned method embodiments, which will not be repeated here.
[0159] Fig.12 This is a schematic diagram of the structure of an electronic device according to another embodiment of the present invention; the electronic device may include:
[0160] One or more processors 1201;
[0161] The computer readable medium 1202 may be configured to store one or more programs,
[0162] When the one or more programs are executed by the one or more processors, the one or more processors implement the methods described in the above embodiments.
[0163] Fig.13 The hardware structure of the electronic device of another embodiment of the present invention is as follows; Fig.13 As shown, the hardware structure of the electronic device may include: a processor 1301, a communication interface 1302, a computer readable medium 1303 and a communication bus 1304;
[0164] The processor 1301, the communication interface 1302, and the computer readable medium 1303 communicate with each other via a communication bus 1304;
[0165] Optionally, the communication interface 1302 may be an interface of a communication module;
[0166] The processor 1301 may be specifically configured as follows: the first terminal device determines a network connection with the second terminal device under the same heterogeneous network node, a virtual operating system container is installed in the host operating system of the second terminal device, and a target application is installed in the virtual operating system container; the first terminal device operates the target application through an agent of the virtual operating system container based on the network connection, or,
[0167] The second terminal device determines a network connection under the same heterogeneous network node as the first terminal device, a virtual operating system container is installed in the host operating system of the second terminal device, and a target application is installed in the virtual operating system container; the second terminal device provides an agent for the first terminal through the virtual operating system container based on the network connection to operate the target application, or,
[0168] The first terminal device determines a network connection with the second terminal device under the same heterogeneous network node, and the target application is installed in the operating system of the second terminal device; the first terminal device operates the target application on the local display screen through screen projection transmission based on the network connection, or,
[0169] The second terminal device determines a network connection under the same heterogeneous network node as the first terminal device, and the target application is installed in the operating system of the second terminal device; the second terminal device executes screen projection of the target application on the display screen of the first terminal device through screen projection transmission based on the network connection.
[0170] The processor 1301 may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. It may implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present invention. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0171] The computer readable medium 1303 can be, but is not limited to, a random access memory medium (RAM), a read-only memory medium (ROM), a programmable read-only memory medium (PROM), an erasable programmable read-only memory medium (EPROM), an electrically erasable read-only memory medium (Electric Erasable Programmable Read-Only Memory, EEPROM), etc.
[0172] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code configured to execute the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through a communication part, and / or installed from a removable medium. When the computer program is executed by a central processing unit (CPU), the above functions defined in the method of the present invention are executed. It should be noted that the computer-readable medium of the present invention can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable medium can be, for example, but not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection with one or more conductors, a portable computer disk, a hard disk, a random access storage medium (RAM), a read-only storage medium (ROM), an erasable programmable read-only storage medium (EPROM or flash memory), an optical fiber, a portable compact disk read-only storage medium (CD-ROM), an optical storage medium, a magnetic storage medium, or any suitable combination of the above. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, an apparatus or a device. In the present invention, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program configured to be used by or in combination with an instruction execution system, an apparatus or a device. The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0173] Computer program code configured to perform the operations of the present invention may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0174] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment, or a part of a code, and the module, program segment, or a part of the code contains one or more executable instructions configured to implement the specified logical function. There are specific sequential relationships in the above-mentioned specific embodiments, but these sequential relationships are only exemplary. When the specific implementation is implemented, these steps may be less, more or the execution order may be adjusted. That is, in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0175] The modules involved in the embodiments of the present invention may be implemented by software or hardware. The names of these modules do not limit the modules themselves in some cases.
[0176] As another aspect, the present invention further provides a computer-readable medium having a computer program stored thereon, which implements the method described in the above embodiment when the program is executed by a processor.
[0177] As another aspect, the present invention further provides a computer-readable medium, which may be included in the device described in the above embodiment; or it may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by the device, the device: a first terminal device determines a network connection with a second terminal device under the same heterogeneous network node, a virtual operating system container is installed in the host operating system of the second terminal device, and a target application is installed in the virtual operating system container; the first terminal device operates the target application through the agent of the virtual operating system container based on the network connection, or,
[0178] The second terminal device determines a network connection under the same heterogeneous network node as the first terminal device, a virtual operating system container is installed in the host operating system of the second terminal device, and a target application is installed in the virtual operating system container; the second terminal device provides an agent for the first terminal through the virtual operating system container based on the network connection to operate the target application, or,
[0179] The first terminal device determines a network connection with the second terminal device under the same heterogeneous network node, and the target application is installed in the operating system of the second terminal device; the first terminal device operates the target application on the local display screen through screen projection transmission based on the network connection, or,
[0180] The second terminal device determines a network connection under the same heterogeneous network node as the first terminal device, and the target application is installed in the operating system of the second terminal device; the second terminal device executes screen projection of the target application on the display screen of the first terminal device through screen projection transmission based on the network connection.
[0181] The expressions "first", "second", "the first" or "the second" used in various embodiments of the present disclosure may modify various components regardless of order and / or importance, but these expressions do not limit the corresponding components. The above expressions are only configured for the purpose of distinguishing an element from other elements. For example, a first user device and a second user device represent different user devices, although both are user devices. For example, a first element may be referred to as a second element, and similarly, a second element may be referred to as a first element without departing from the scope of the present disclosure.
[0182] When one element (e.g., a first element) is referred to as being "(operably or communicatively) coupled" or "(operably or communicatively) coupled to" or "connected to" another element (e.g., a second element), it is understood that the one element is directly connected to the other element or the one element is indirectly connected to the other element via yet another element (e.g., a third element). Conversely, it is understood that when an element (e.g., a first element) is referred to as being "directly connected" or "directly coupled" to another element (the second element), no element (e.g., a third element) is interposed between the two.
[0183] The above description is only a preferred embodiment of the present invention and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present invention is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above inventive concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present invention (but not limited to) to form a technical solution.
Claims
1. An agent service method, comprising: The first terminal device determines a network connection with a second terminal device under the same heterogeneous network node, a virtual operating system container is installed in a host operating system of the second terminal device, and a target application is installed in the virtual operating system container; The first terminal device operates the target application through the agent of the virtual operating system container based on the network connection, wherein operating the target application also includes: the first terminal device receives a first application display instruction sent by the second terminal device, the first application display instruction instructs to display a display interface of the target application on a local human-computer interaction interface, the virtual operating system container is used to implement a first virtualization of the first terminal device, and a second virtualization is performed via the network connection through the instructions generated by the first virtualization to obtain instructions of the virtual operating system container, the combination of the first virtualization and the second virtualization is used to virtualize the hardware of the first terminal device, the hardware signal information of the hardware abstraction layer of the first terminal device is sent to the virtual operating system container via the interface of the host operating system, the virtual operating system container is used to simulate the received hardware signal information into hardware signals and data on the second terminal device, and the operation input to the hardware abstraction layer is converted into container operation instructions of the virtual operating system container.
2. The method according to claim 1, wherein: The first terminal device operates the target application through the proxy of the virtual operating system container based on the network connection, including: The first terminal device generates a first application operation instruction according to a first input instruction on the local human-computer interaction interface, wherein the first application operation instruction instructs the virtual operating system container to start the target application; The first terminal device sends the first application operation instruction to the second terminal device based on the network connection.
3. The method according to claim 2, wherein: The first terminal device generates a first application operation instruction according to a first input instruction on the local human-computer interaction interface, including: The first terminal device obtains the first input instruction for the target application on the local human-computer interaction interface; The first terminal device generates the first application operating instruction in response to the first input instruction, wherein the first application operating instruction is used by the second terminal device to simulate a startup instruction of the target application in the virtual operating system container.
4. The method according to claim 3, wherein: The first input instruction includes the input device hardware information corresponding to the local human-computer interaction interface. The first terminal device generates the first application operation instruction in response to the first input instruction, including: The first terminal device responds to the first input instruction and generates the first application operation instruction according to the input device hardware information.
5. The method according to claim 4, wherein: The first terminal device operates the target application through the proxy of the virtual operating system container based on the network connection, and further includes: The first terminal device receives a first application display instruction sent by the second terminal device, wherein the first application display instruction includes output device hardware information generated based on the input device hardware information; The first terminal device responds to the first application display instruction and displays the display interface of the target application on the local human-computer interaction interface based on the output device hardware information.
6. The method according to claim 1, wherein: The first terminal device operates the target application through the proxy of the virtual operating system container based on the network connection, including: The first terminal device generates a second application operation instruction according to a second input instruction for the interface control of the target application on the local human-computer interaction interface, wherein the second application operation instruction instructs the virtual operating system container to execute the interface control; The first terminal device sends the second application operation instruction to the second terminal device based on the network connection.
7. The method according to claim 6, wherein: The first terminal device generates a second application operation instruction according to a second input instruction for the interface control of the target application on the local human-computer interaction interface, including: The first terminal device obtains the second input instruction for the target application on the local human-computer interaction interface; The first terminal device generates the second application operation instruction in response to the second input instruction, wherein the second application operation instruction is used by the second terminal device to simulate the interface control operation instruction of the target application in the virtual operating system container.
8. The method according to claim 7, wherein: The second input instruction includes the input device hardware information corresponding to the local human-computer interaction interface. The first terminal device generates the second application program operation instruction in response to the second input instruction, including: The first terminal device responds to the second input instruction and generates the second application operation instruction according to the input device hardware information.
9. The method according to claim 8, wherein: The first terminal device operates the target application through the proxy of the virtual operating system container based on the network connection, and further includes: The first terminal device receives a second application display instruction sent by the second terminal device, wherein the second application display instruction includes output device hardware information generated based on the input device hardware information; The first terminal device responds to the second application display instruction and displays the operation response of the interface control on the local human-computer interaction interface based on the output device hardware information.
10. The method according to claim 1, wherein: The first terminal device operates the target application through the proxy of the virtual operating system container based on the network connection, including: The first terminal device generates a third application operation instruction according to a third input instruction on the local human-computer interaction interface, wherein the third application operation instruction instructs the virtual operating system container to end the operation of the target application; The first terminal device sends the third application operation instruction to the second terminal device based on the network connection.
11. The method according to claim 10, wherein: The first terminal device generates a third application operation instruction according to the third input instruction on the local human-computer interaction interface, including: The first terminal device obtains the third input instruction for the target application on the local human-computer interaction interface; The first terminal device generates the third application operation instruction in response to the third input instruction, wherein the third application operation instruction is used by the second terminal device to simulate an end instruction of the target application in the virtual operating system container.
12. The method according to claim 11, wherein: The third input instruction includes the input device hardware information corresponding to the local human-computer interaction interface. The first terminal device generates the third application operation instruction in response to the third input instruction, including: The first terminal device responds to the third input instruction and generates the third application operation instruction according to the input device hardware information.
13. The method according to claim 12, wherein: The first terminal device operates the target application through the proxy of the virtual operating system container based on the network connection, and further includes: The first terminal device receives a third application display instruction sent by the second terminal device, wherein the third application display instruction includes output device hardware information generated based on the input device hardware information; In response to the third application display instruction, based on searching the output device hardware information, on the local human-computer interaction interface, the display interface of the target application is controlled to switch to the display desktop of the virtual operating system container.
14. The method according to claim 1, wherein: The first terminal device operates the target application through the proxy of the virtual operating system container based on the network connection, including: The first terminal device obtains a fourth input instruction for the target application on the local human-computer interaction interface; The first terminal device generates a fourth application operating instruction in response to the fourth input instruction, wherein the fourth application operating instruction is used by the second terminal device to simulate a server access instruction of the target application in the virtual operating system container; The first terminal device sends the fourth application operation instruction to the second terminal device based on the network connection.
15. The method according to claim 1, wherein: The first terminal device operates the target application through the proxy of the virtual operating system container based on the network connection, and further includes: The first terminal device receives a fourth application display instruction sent by the second terminal device, wherein the fourth application display instruction is generated based on service data obtained from the server by the server access instruction; The first terminal device displays the service data on the local human-computer interaction interface in response to the fourth application display instruction.
16. An agent service method, comprising: The second terminal device determines a network connection under the same heterogeneous network node as the first terminal device, a virtual operating system container is installed in the host operating system of the second terminal device, and a target application is installed in the virtual operating system container; The second terminal device provides an agent for the first terminal through the virtual operating system container based on the network connection to operate the target application, wherein operating the target application also includes: the first terminal device receives a first application display instruction sent by the second terminal device, the first application display instruction instructs to display a display interface of the target application on a local human-computer interaction interface, the virtual operating system container is used to implement a first virtualization of the first terminal device, and a second virtualization is performed via the network connection through the instructions generated by the first virtualization to obtain instructions of the virtual operating system container, the combination of the first virtualization and the second virtualization is used to virtualize the hardware of the first terminal device, the hardware signal information of the hardware abstraction layer of the first terminal device is sent to the virtual operating system container via the interface of the host operating system, the virtual operating system container is used to simulate the received hardware signal information into hardware signals and data on the second terminal device, and the operation input to the hardware abstraction layer is converted into container operation instructions of the virtual operating system container.
17. The method according to claim 16, wherein: The second terminal device provides an agent for the first terminal through the virtual operating system container based on the network connection to operate the target application, including: The second terminal device receives the application operation instruction sent by the first terminal device, where the application operation instruction is generated based on the input instruction obtained on the human-computer interaction interface of the first device; The second terminal device responds to the application operation instruction and simulates the server access instruction of the target application in the virtual operating system container; The second terminal device sends the server access instruction to the server.
18. The method according to claim 17, wherein: The second terminal device provides an agent for the first terminal through the virtual operating system container based on the network connection to operate the target application, and further includes: The second terminal device receives service data sent from the server in response to the server access instruction; The second terminal device generates an application display instruction, and sends the application display instruction to the first terminal device, wherein the application display instruction instructs displaying the service data on a human-computer interaction interface of the first terminal device.
19. An agent service method, comprising: The first terminal device determines a network connection with multiple second terminal devices under the same heterogeneous network node, wherein a virtual operating system container is installed in each host operating system of the multiple second terminal devices, and each application is installed in the virtual operating system container; The first terminal device operates the respective applications through the respective virtual operating system containers based on the agent of the network connection, wherein operating the application also includes: the first terminal device receives a first application display instruction sent by the second terminal device, the first application display instruction instructs to display the display interface of the application on the local human-computer interaction interface, the virtual operating system container is used to implement the first virtualization of the first terminal device, and the second virtualization is performed via the network connection through the instructions generated by the first virtualization to obtain the instructions of the virtual operating system container. The combination of the first virtualization and the second virtualization is used to virtualize the hardware of the first terminal device, and the hardware signal information of the hardware abstraction layer of the first terminal device is sent to the virtual operating system container via the interface of the host operating system. The virtual operating system container is used to simulate the received hardware signal information into hardware signals and data on the second terminal device, and the operation input to the hardware abstraction layer is converted into container operation instructions of the virtual operating system container.
20. An agent service method, comprising: The second terminal device determines a network connection with the plurality of first terminal devices under the same heterogeneous network node, wherein a virtual operating system container is installed in a host operating system of the second terminal device, and an application is installed in the virtual operating system container; The second terminal device provides an agent for the multiple first terminals through the virtual operating system container based on the network connection to operate the application, wherein operating the application also includes: the first terminal device receives a first application display instruction sent by the second terminal device, the first application display instruction instructs to display a display interface of the application on a local human-computer interaction interface, the virtual operating system container is used to implement a first virtualization of the first terminal device, and a second virtualization is performed via the network connection through the instructions generated by the first virtualization to obtain instructions of the virtual operating system container. The combination of the first virtualization and the second virtualization is used to virtualize the hardware of the first terminal device, and the hardware signal information of the hardware abstraction layer of the first terminal device is sent to the virtual operating system container via the interface of the host operating system. The virtual operating system container is used to simulate the received hardware signal information into hardware signals and data on the second terminal device, and the operation input to the hardware abstraction layer is converted into container operation instructions of the virtual operating system container.
21. A terminal device, the terminal device being a first terminal device, comprising: A determination module determines a network connection with a second terminal device under the same heterogeneous network node, a host operating system of the second terminal device having a virtual operating system container installed therein, and a target application being installed therein; An operation module is provided for operating the target application through an agent of the virtual operating system container based on the network connection, wherein operating the target application further comprises: the first terminal device receives a first application display instruction sent by the second terminal device, the first application display instruction instructs to display a display interface of the target application on a local human-computer interaction interface, the virtual operating system container is used to implement a first virtualization of the first terminal device, a second virtualization is performed via the network connection through instructions generated by the first virtualization, and instructions of the virtual operating system container are obtained, the combination of the first virtualization and the second virtualization is used to virtualize the hardware of the first terminal device, hardware signal information of the hardware abstraction layer of the first terminal device is sent to the virtual operating system container via the interface of the host operating system, the virtual operating system container is used to simulate the received hardware signal information into hardware signals and data on the second terminal device, and operations input to the hardware abstraction layer are converted into container operation instructions of the virtual operating system container.
22. A terminal device, the terminal device being a second terminal device, comprising: A determination module determines a network connection under the same heterogeneous network node as the first terminal device, a virtual operating system container is installed in the host operating system of the second terminal device, and a target application is installed in the virtual operating system container; The proxy module provides a proxy for the first terminal through the virtual operating system container based on the network connection to operate the target application, wherein operating the target application also includes: the first terminal device receives a first application display instruction sent by the second terminal device, the first application display instruction indicates to display the display interface of the target application on the local human-computer interaction interface, the virtual operating system container is used to implement the first virtualization of the first terminal device, the second virtualization is performed via the network connection through the instructions generated by the first virtualization, and the instructions of the virtual operating system container are obtained, the combination of the first virtualization and the second virtualization is used to virtualize the hardware of the first terminal device, the hardware signal information of the hardware abstraction layer of the first terminal device is sent to the virtual operating system container via the interface of the host operating system, the virtual operating system container is used to simulate the received hardware signal information into hardware signals and data on the second terminal device, and the operation input to the hardware abstraction layer is converted into container operation instructions of the virtual operating system container.
23. A terminal device, the terminal device being a first terminal device, comprising: A determination module determines a network connection with a plurality of second terminal devices under the same heterogeneous network node, wherein a virtual operating system container is installed in each host operating system of each of the plurality of second terminal devices, and each application is installed in the virtual operating system container; An operation module is provided for operating the respective applications through the respective virtual operating system containers as agents based on the network connection, wherein operating the application further comprises: the first terminal device receives a first application display instruction sent by the second terminal device, the first application display instruction instructing to display a display interface of the application on a local human-computer interaction interface, the virtual operating system container is used to implement a first virtualization of the first terminal device, a second virtualization is performed via the network connection through instructions generated by the first virtualization, and instructions of the virtual operating system container are obtained, the combination of the first virtualization and the second virtualization is used to virtualize the hardware of the first terminal device, hardware signal information of the hardware abstraction layer of the first terminal device is sent to the virtual operating system container via the interface of the host operating system, the virtual operating system container is used to simulate the received hardware signal information into hardware signals and data on the second terminal device, and operations input to the hardware abstraction layer are converted into container operation instructions of the virtual operating system container.
24. A terminal device, the terminal device being a second terminal device, comprising: A determination module determines a network connection with a plurality of first terminal devices under the same heterogeneous network node, wherein a virtual operating system container is installed in a host operating system of the second terminal device, and an application is installed in the virtual operating system container; The proxy module provides a proxy for the multiple first terminals through the virtual operating system container based on the network connection to operate the application, wherein operating the application also includes: the first terminal device receives a first application display instruction sent by the second terminal device, the first application display instruction indicates to display the display interface of the application on the local human-computer interaction interface, the virtual operating system container is used to implement the first virtualization of the first terminal device, the second virtualization is performed via the network connection through the instructions generated by the first virtualization, and the instructions of the virtual operating system container are obtained, the combination of the first virtualization and the second virtualization is used to virtualize the hardware of the first terminal device, the hardware signal information of the hardware abstraction layer of the first terminal device is sent to the virtual operating system container via the interface of the host operating system, the virtual operating system container is used to simulate the received hardware signal information into hardware signals and data on the second terminal device, and the operation input to the hardware abstraction layer is converted into container operation instructions of the virtual operating system container.
25. An electronic device, comprising: one or more processors; A computer readable medium configured to store one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 20.
26. A storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the method according to any one of claims 1 to 20 is implemented.
Citation Information
Patent Citations
Method, device and system for controlling virtual input by mobile terminal
CN105550045A
Computer terminal screen projection control method
CN106445436A
Real-time screen projection method, equipment and system
CN106792055A
Object control method, device and system, storage medium, and electronic device
CN109005424A
Screen projection method, device and system and storage medium
CN109982322A