CN113242309A - Cloud computing method, system, device and medium - Google Patents

Cloud computing method, system, device and medium Download PDF

Info

Publication number
CN113242309A
CN113242309A CN202110564733.8A CN202110564733A CN113242309A CN 113242309 A CN113242309 A CN 113242309A CN 202110564733 A CN202110564733 A CN 202110564733A CN 113242309 A CN113242309 A CN 113242309A
Authority
CN
China
Prior art keywords
client
image instance
instance
mirror image
scene
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
CN202110564733.8A
Other languages
Chinese (zh)
Inventor
顾军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Lilisi Computer Technology Co ltd
Original Assignee
Shanghai Lilisi Computer Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Lilisi Computer Technology Co ltd filed Critical Shanghai Lilisi Computer Technology Co ltd
Priority to CN202110564733.8A priority Critical patent/CN113242309A/en
Publication of CN113242309A publication Critical patent/CN113242309A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The present invention relates to the field of cloud computing technologies, and in particular, to a cloud computing method, system, device, and medium. The method comprises the following steps: in response to a request from a client to start an image instance, starting a base image as the image instance; loading an operation scene for the mirror image instance under the condition that scene data associated with the client is stored, and then deleting the stored scene data; sending the image data of the mirror image instance to the client; receiving a user operation from the client, and executing the user operation in the mirror image instance; and when the mirror image instance is closed, storing the real-time scene data of the mirror image instance, and releasing the resources occupied by the mirror image instance. The storage and calculation processes of the client are transferred to the server for processing, the hardware capability of the client only needs to realize basic functions, the performance requirement of the client is weakened, and meanwhile, the calculation and storage resources of the server are saved.

Description

Cloud computing method, system, device and medium
Technical Field
The present invention relates to the field of cloud computing technologies, and in particular, to a cloud computing method, system, device, and medium.
Background
The existing various client operating systems can be divided into a desktop end and a mobile end according to an equipment platform, wherein the desktop end is represented by Linux, Windows and a MacOS system, and the mobile end is represented by Android and Apple iOS systems. These operating systems all require an operating system platform to be installed on the client side, and application software corresponding to each required system to be installed on the client side system. Its drawbacks and limitations are:
a physical computer device that needs to provide local services is called a client computer, and the client device needs to install the client operating system required by this client central processor instruction set architecture (x86, x 64).
A physical computer device is required to provide interaction with a client and provide related resources, called a server computer, and a server operating system required by the server central processor instruction set architecture (x86, x64) is installed in the server device.
The operating system is run on the computer to provide a computer operating system program platform for computer hardware and software resources. The operating system is a basic program running on a computer, only provides basic interactive functions, and needs to be richer in operation and needs to be provided with various types of application software.
Various application software installed on the client operating system needs to be selectively installed according to the central processing unit instruction set architecture and the operating system. If the application software different from the operating system and the central processing unit instruction set architecture is installed, the application software cannot be normally installed and cannot be normally operated.
When the user needs to perform multi-user interaction and multi-machine interaction, the client and the server are obviously distinguished in the computer equipment. The client side initiates a request with a standard format of a related network protocol to the server side, the server side responds to the request service, and response data required by the client side is replied to the client side after the request is received and related request operation is executed. Different software has its own internal logic and image effects displayed on the screen.
A problem that exists today is that the same client software application needs to execute different software applications of corresponding operating systems and architectures on different operating system platforms. The client hardware also has a very large number of configurations, and needs to be compatible with a central processing unit, a memory, a flash memory, a motherboard architecture design, a screen size, a screen pixel ratio, and the like of different architecture layers.
When the application is developed, different software used by different operating system platforms needs to be developed, and meanwhile, the display requirements of various screens are compatible. If one application is developed and used on multiple platforms, the application needs to be developed on the multiple platforms, the display effects of different screens need to be compatible, the low-performance hardware equipment needs to be compatible and matched, multiple different versions need to be developed simultaneously when one application is developed, and various research and development costs are greatly wasted.
When the client software application performs data communication with the server software application, a unified network communication protocol, an application service rule, an interface rule, a data format, and the like need to be specified in advance. The client application software and the server application software communicate through the series of rules, and the data is displayed on a screen in a certain form after the client acquires the data responded by the server.
In order to overcome the defects of the above schemes, the prior art provides a cloud computing scheme, in which software such as a desktop system and an application program is run at a cloud end, and a client only performs display and upload user operations. However, the existing cloud computing scheme still has the following drawbacks:
1) still, more performance requirements for the client are retained, and software running in the cloud needs to be interacted with through a special application program or through a web browser.
2) Software running in the cloud still occupies more computing and storage resources of the server, and particularly, if the client needs to continue the running scene during last offline after being online, the cloud still needs to reserve the computing and storage resources occupied by the software for the client during the offline of the client.
Disclosure of Invention
In order to solve the technical problems, the invention aims to provide a cloud computing method, a cloud computing system, cloud computing equipment and a cloud computing medium, wherein the storage and computing processes of a client are transferred to a server for processing, the hardware capability of the client only needs to realize basic functions, and the performance requirement of the client is weakened. While saving the computing and storage resources of the server.
The embodiment of the invention discloses a cloud computing method, which comprises the following steps:
in response to a request from a client to start an image instance, starting a base image as the image instance;
loading an operation scene for the mirror image instance under the condition that scene data associated with the client is stored, and then deleting the stored scene data;
sending the image data of the mirror image instance to the client; and
receiving a user operation from the client, and executing the user operation in the mirror image instance;
and when the mirror image instance is closed, storing the real-time scene data of the mirror image instance, and releasing the resources occupied by the mirror image instance.
Optionally, the method further comprises:
and sending the connection address and the key of the image instance to the client, wherein all data and connection state exchanged with the client are encrypted and decrypted through the key.
Optionally, starting the base image as an example of the image includes:
judging the equipment type of the client according to the identifier of the client; a base image adapted to the device type is started.
Optionally, the method further comprises:
and storing real-time scene data of the mirror image instance at a preset time, wherein the preset time comprises the time when a client requests to store the scene data, the time when the client is powered off and the time when the client is disconnected from the client, and the scene data comprises information of the client, data stored due to instructions of the client and data of the running state of the mirror image instance.
The embodiment of the invention discloses a cloud computing system, which comprises a mirror image instance module and a scene storage module, wherein the mirror image instance module comprises a first mirror image instance module and a second mirror image instance module;
in response to a request from a client to start an image instance, the image instance module starts a base image as an image instance;
under the condition that the scene storage module stores scene data associated with the client, the mirror image instance module loads an operation scene for the mirror image instance according to the stored scene data, and then the scene storage module deletes the stored scene data;
the mirror instance module sends the image data of the mirror instance to the client, an
Receiving a user operation from the client, and executing the user operation in the mirror image instance;
and when the mirror image instance is closed, storing the real-time scene data of the mirror image instance into a scene storage module, and releasing the resources occupied by the mirror image instance.
Optionally, the image instance module includes one or more image instance servers, and the system further includes an assignment module that selects an available image instance server for the client in response to a request from the client to start the image instance.
Optionally, the distribution module sends the connection address and the key of the image instance server to the client, wherein all data and connection status exchanged between the client and the image instance server are encrypted and decrypted by the key.
Embodiments of the present invention disclose a cloud computing device comprising a memory storing computer executable instructions and a processor, which instructions, when executed by the processor, cause the device to implement a cloud computing method.
Embodiments of the present invention disclose a computer storage medium having instructions stored thereon that, when executed on a computer, cause the computer to perform a cloud computing method.
Compared with the prior art, the implementation mode of the invention has the main differences and the effects that:
in the invention, in response to a request for starting a mirror image instance from a client, starting a basic mirror image as the mirror image instance; sending the image data of the mirror image instance to the client; and receiving a user operation from the client, and executing the user operation in the mirror image instance. Most of the calculation processes are operated on the server side, most of the processes executed by the client side can be summarized into 'sending user operation behaviors' and 'displaying images', the capacity of hardware equipment of the client side which is increased endlessly is greatly weakened, and the cost and the difference of various types of hardware of the client side are reduced. The client differentiation caused by hardware equipment such as a client central processing unit and a memory is avoided, the client differentiation is unified, and the production cost of the client hardware equipment is reduced. The client can even execute a set of uniform and fixed flow on the basic client system without installing a general operating system and an application program, and the compatibility problem of the client is almost reduced to zero. The mirror image examples running on the server side tend to the same architecture, so that the mirror image examples can run in all the mirror image examples and be used on the client side only by developing the application once on one architecture, the process that the software application needs to be developed on different operating systems and different central processing unit architectures for many times is avoided, and the overall development efficiency is improved. The computing performance is concentrated on the cloud by the computing power dispersed on the client, and the cloud is quickly deployed in the cluster host, so that the service configuration and the service scale scalability are flexibly adjusted. Particularly in the 5G network communication technology, by means of the characteristics of rapidness, high stability and low delay of 5G network communication, the scheme can improve the image refresh rate to 80 Hz in the aspects of communication of the mirror image instance and the client side to realize human eye consistency.
In the invention, under the condition that the scene data associated with the client is stored, the running scene is loaded for the mirror image instance, and then the stored scene data is deleted; and when the mirror image instance is closed, storing the real-time scene data of the mirror image instance, and releasing the resources occupied by the mirror image instance. The configuration is flexible, a new basic mirror image (the basic mirror image can be a server template containing an operating system, necessary software application and configuration) can be started on any mirror image instance server during starting, and scene data is loaded from the scene storage server to recover the running scene, so that a user can continue to interact with the instance during last-time mirror image instance closing through the client.
In the invention, the connection address and the key of the image instance are sent to the client, wherein all data and connection state exchanged with the client are encrypted and decrypted by the key. And ensuring the communication safety between the client and the corresponding server.
In the invention, the device type of the client is judged according to the identifier of the client; a base image adapted to the device type is started. According to the difference of the screen size of the client, the operation mode of the client and other characteristics related to display and interaction, the started basic mirror image has difference in the display mode and the interaction mode, but the difference of the system platform of the client, the instruction set architecture of the central processing unit and the like does not influence the basic mirror image. The method has strong adaptability, avoids client differentiation caused by hardware equipment such as a client central processing unit and a memory, unifies the client differentiation and the client hardware equipment, and reduces the production cost of the client hardware equipment. The client can even execute a set of uniform and fixed flow on the basic client system without installing a general operating system and an application program, and the compatibility problem of the client is almost reduced to zero. The mirror image examples running on the server side tend to the same architecture, so that the mirror image examples can run in all the mirror image examples and be used on the client side only by developing the application once on one architecture, the process that the software application needs to be developed on different operating systems and different central processing unit architectures for many times is avoided, and the overall development efficiency is improved.
In the invention, real-time scene data of the mirror image instance is stored at a preset time, wherein the preset time comprises the information of a client, the data stored due to the instruction of the client and the data of the running state of the mirror image instance when the client requests to store the scene data, the client is powered off and the client is disconnected. The method can save the scene data in time under various required conditions, and after the client is shut down, disconnected from the server, and closed mirror image instance and other client stops interacting with the mirror image instance, the client can continue the last running scene at any time and re-access the mirror image instance. The experience of the user is improved, and data and progress are prevented from being lost.
Drawings
Fig. 1 is a schematic diagram illustrating a cloud computing method implementation scenario according to an embodiment of the present invention.
Fig. 2 shows a flow diagram of a cloud computing method according to an embodiment of the invention.
FIG. 3 illustrates a block diagram of a cloud computing system, according to an embodiment of the invention.
Detailed Description
The present application is further described with reference to the following detailed description and the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and are not limiting of the application. In addition, for convenience of description, only a part of structures or processes related to the present application, not all of them, is illustrated in the drawings. It should be noted that in this specification, like reference numerals and letters refer to like items in the following drawings.
It will be understood that, although the terms "first", "second", etc. may be used herein to describe various features, these features should not be limited by these terms. These terms are used merely for distinguishing and are not intended to indicate or imply relative importance. For example, a first feature may be termed a second feature, and, similarly, a second feature may be termed a first feature, without departing from the scope of example embodiments.
In the description of the present application, it is also to be noted that, unless otherwise explicitly specified or limited, the terms "disposed," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present embodiment can be understood in specific cases by those of ordinary skill in the art.
Illustrative embodiments of the present application include, but are not limited to, cloud computing methods, systems, devices, and media.
Various aspects of the illustrative embodiments will be described using terms commonly employed by those skilled in the art to convey the substance of their work to others skilled in the art. It will be apparent, however, to one skilled in the art that some alternative embodiments may be practiced using the features described in part. For purposes of explanation, specific numbers and configurations are set forth in order to provide a more thorough understanding of the illustrative embodiments. It will be apparent, however, to one skilled in the art that alternative embodiments may be practiced without the specific details. In some other instances, well-known features are omitted or simplified in order not to obscure the illustrative embodiments of the present application.
Moreover, various operations will be described as multiple operations separate from one another in a manner that is most helpful in understanding the illustrative embodiments; however, the order of description should not be construed as to imply that these operations are necessarily order dependent, and that many of the operations can be performed in parallel, concurrently, or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when the described operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like.
References in the specification to "one embodiment," "an illustrative embodiment," etc., indicate that the embodiment described may include a particular feature, structure, or characteristic, but every embodiment may or may not necessarily include the particular feature, structure, or characteristic. Moreover, such phrases are not necessarily referring to the same embodiment. Furthermore, when a particular feature is described in connection with a particular embodiment, the knowledge of one skilled in the art can affect such feature in combination with other embodiments, whether or not such embodiments are explicitly described.
The terms "comprising," "having," and "including" are synonymous, unless the context dictates otherwise. The phrase "A and/or B" means "(A), (B) or (A and B)".
As used herein, the term "module" may refer to, be a part of, or include: memory (shared, dedicated, or group) for executing one or more software or firmware programs, an Application Specific Integrated Circuit (ASIC), an electronic circuit and/or processor (shared, dedicated, or group), a combinational logic circuit, and/or other suitable components that provide the described functionality.
In the drawings, some features of the structures or methods may be shown in a particular arrangement and/or order. However, it should be understood that such specific arrangement and/or ordering is not required. Rather, in some embodiments, these features may be described in a manner and/or order different from that shown in the illustrative figures. Additionally, the inclusion of structural or methodical features in a particular figure does not imply that all embodiments need to include such features, and in some embodiments, may not include such features or may be combined with other features.
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Fig. 1 is a schematic diagram illustrating a cloud computing method implementation scenario according to an embodiment of the present invention.
As shown in fig. 1, the system comprises a client 102, a distribution server 104, a mirror instance server cluster 106, and a scene storage server cluster 108; wherein the image instance server cluster 106 includes image instance servers 106a, 106b … …; the scene store server cluster 108 includes scene store servers 108a, 108b … …; the image instance server 106a stores the image instances 110, 112 … …; the scene storage server 108a stores scene data 114, 116 … ….
Fig. 2 shows a flow diagram of a cloud computing method according to an embodiment of the invention.
As shown in fig. 2, the method 200 includes:
step 202, receiving a request for starting an image instance from a client;
step 204, starting a basic mirror image as a mirror image example;
step 206, judging whether scene data associated with the client is stored; if so, then
In step 208, loading a running scene for the mirror image instance, and then deleting the stored scene data, otherwise, directly entering step 210;
step 210, sending the image data of the mirror image instance to the client; receiving a user operation from the client, and executing the user operation in the mirror image instance;
step 212, when the mirror image instance is closed, the real-time scene data of the mirror image instance is stored, and the resources occupied by the mirror image instance are released.
In connection with FIG. 1, for example, a client 102 (e.g., a mobile device with a touch panel attached to the screen, a desktop device with a touch panel attached to the screen, and a desktop computer device with a screen and input device (mouse, keyboard) separated, etc.) requests a startup image instance from a distribution server 104, in response to which the distribution server 104 finds an image instance server 106a in an image instance server cluster 106 available, the image instance server 106a is selected to provide an image instance runtime environment for the client 102, and the image instance server 106a starts a base image (e.g., a server template containing software and necessary configuration, the server template containing an operating system and necessary application software) for the client 102 as an image instance 110. The distribution server 104 then sends the client 102 the connection address and key of the mirror instance server 106a (the key is a credential for the connection of the client and the server, and all data and the maintenance of the connection state need to encrypt and decrypt the data by the key, the key exists only between the client and the server in data communication, no third party can know the key, and the key is a unique credential for both-end communication), the client 102 connects to the mirror instance 110 by the connection address and key, and the mirror instance 110 sends the image data of the mirror instance 110 to the client 102 (real-time network uplink and downlink data, real-time image data formed by interactive calculation of the user behavior data of the client and the mirror instance server, for example, an interactive interface which can be displayed on a client screen). The client 102 displays an image (e.g., the interactive interface of the mirror instance 110) on the screen in real-time according to the received image data. When the user has an operation behavior on the client 102, the client 102 sends the operation behavior data to the mirror image instance 110, the mirror image instance 110 updates the image data after processing according to the operation behavior of the user, and sends the updated image data to the client 102, and the client 102 displays the image on the screen in real time according to the received image data, and the process is repeated. The image instance 110 and the client 102 maintain data communication in real time, and the image instance 110 responds quickly to all operational behavior of the user. When the mirror instance 110 needs to be closed (in the case of a request from the client 102, shutdown of the client 102, and the like), real-time scene data (client system platform type, data stored by the client, and application software and state of the application software opened by the client at that time) of the mirror instance 110 is stored in one scene storage server in the scene storage server cluster 108 (for example, the scene data 114 is stored in the scene storage server 108a, and the scene data 114 is associated with the client 102), and the mirror instance 110 is removed from the mirror instance server 106a, and occupied resources are released. Next time the client 102 requests to start the mirror image instance 110 again, the mirror image instance server obtains the scene data 114 from the scene storage server 108a after starting the basic mirror image for the client 102, loads the operating scene to the basic mirror image according to the scene data 114 to recover the operating scene when the mirror image instance 110 was last closed, the basic mirror image loaded with the operating scene becomes the mirror image instance 110, and then deletes the scene data 114 from the scene storage server 108 a. The remaining steps remain the same as before, but it is understood that other mirror instance servers and scene store servers can provide services depending on the availability of the servers.
The client can run a basic client system, the basic client system is basic system software running on the client, and a set of uniform and fixed flow is arranged in the whole running period. 1) The initialization system firstly requires the allocation server to allocate a mirror image instance server and open a system instance for the mirror image instance server, the mirror image instance server address and the connection key are returned to the client system after the system instance is started, and the client system initiates a continuous connection request to the server of the connection address by taking the key as a request connection certificate after receiving the instance connection address and the key. 2) After the client establishes connection with the instance server, a user can execute required operation on a screen of the client equipment, the basic client system sends operation behavior data performed by the user to the system instance in real time, the system instance simulates the operation behavior of the user and returns image data required to be updated after execution to the client, and the client displays the received image data on the screen in real time. 3) All services provided by the basic client system in the life cycle process are actively operated, a fixed flow is provided, and the user is not required to execute the operation to complete.
The user operation behavior sent by the client may include: the behavior of the operation triggered by the user on the touch panel and the corresponding coordinates of the screen; and the user behavior of the user operating on the input device and the corresponding coordinates of the screen.
In the invention, in response to a request for starting a mirror image instance from a client, starting a basic mirror image as the mirror image instance; sending the image data of the mirror image instance to the client; and receiving a user operation from the client, and executing the user operation in the mirror image instance. Most of the calculation processes are operated on the server side, most of the processes executed by the client side can be summarized into 'sending user operation behaviors' and 'displaying images', the capacity of hardware equipment of the client side which is increased endlessly is greatly weakened, and the cost and the difference of various types of hardware of the client side are reduced. The client differentiation caused by hardware equipment such as a client central processing unit and a memory is avoided, the client differentiation is unified, and the production cost of the client hardware equipment is reduced. The client can even execute a set of uniform and fixed flow on the basic client system without installing a general operating system and an application program, and the compatibility problem of the client is almost reduced to zero. The mirror image examples running on the server side tend to the same architecture, so that the mirror image examples can run in all the mirror image examples and be used on the client side only by developing the application once on one architecture, the process that the software application needs to be developed on different operating systems and different central processing unit architectures for many times is avoided, and the overall development efficiency is improved. The computing performance is concentrated on the cloud by the computing power dispersed on the client, and the cloud is quickly deployed in the cluster host, so that the service configuration and the service scale scalability are flexibly adjusted. Particularly in the 5G network communication technology, by means of the characteristics of rapidness, high stability and low delay of 5G network communication, the scheme can improve the image refresh rate to 80 Hz in the aspects of communication of the mirror image instance and the client side to realize human eye consistency.
In the invention, under the condition that a scene storage server stores scene data associated with the client, loading an operation scene for the mirror image instance according to the stored scene data, and then deleting the stored scene data; and when the mirror image instance is closed, storing the real-time scene data of the mirror image instance to a scene storage server, and releasing the resources occupied by the mirror image instance. The configuration is flexible, a new basic mirror image (the basic mirror image can be a server template containing an operating system, necessary software application and configuration) can be started on any mirror image instance server during starting, and scene data is loaded from the scene storage server to recover the running scene, so that a user can continue to interact with the instance during last-time mirror image instance closing through the client.
According to some embodiments of the present application, booting a base image as an image instance includes:
an available mirror instance server is selected for the client.
For example, the distribution server has state information for all mirror instance servers. And if the required mirror image instance server fails to execute during the creation of the mirror image instance and the recovery of the scene, reselecting one mirror image instance server to execute the process of creating the mirror image instance.
In the invention, the mirror image instance server can run on a group of cluster hosts, and the hardware resources required by each mirror image instance can be flexibly distributed, thereby improving the availability.
According to some embodiments of the application, the method further comprises:
and sending the connection address and the key of the image instance server to the client, wherein all data and connection states exchanged between the client and the image instance server are encrypted and decrypted through the key.
In the invention, the communication safety between the client and the corresponding server is ensured.
According to some embodiments of the present application, booting a base image as an image instance includes:
judging the equipment type of the client according to the identifier of the client; a base image adapted to the device type is started.
For example, the client has a unique device ID number, and the client needs to carry the unique device ID number when communicating with the mirror image instance server and the scene storage server. The device ID number of the client is the unique identifier of the client and the server for communication, the identifier can acquire a corresponding configuration file, and the mirror image instance server can be used for judging whether the client is mobile equipment or desktop equipment and implementing a corresponding mirror image instance. The mirror image instance has small difference according to the type of the client device, including the difference of adapting to the screen size of the client device and the operation mode of the client. However, the mirror instances do not differ according to the client device system platform, central processor instruction set architecture.
In the invention, the started basic mirror image has difference in display mode and interaction mode according to the difference of the screen size of the client, the client operation mode and other characteristics related to display and interaction, but the difference of the system platform of the client, the central processing unit instruction set architecture and the like does not influence the basic mirror image. The method has strong adaptability, avoids client differentiation caused by hardware equipment such as a client central processing unit and a memory, unifies the client differentiation and the client hardware equipment, and reduces the production cost of the client hardware equipment. The client can even execute a set of uniform and fixed flow on the basic client system without installing a general operating system and an application program, and the compatibility problem of the client is almost reduced to zero. The mirror image examples running on the server side tend to the same architecture, so that the mirror image examples can run in all the mirror image examples and be used on the client side only by developing the application once on one architecture, the process that the software application needs to be developed on different operating systems and different central processing unit architectures for many times is avoided, and the overall development efficiency is improved.
According to some embodiments of the application, the method further comprises:
and storing the real-time scene data of the mirror image instance to a scene storage server at a preset time, wherein the preset time comprises the scene data including the information of the client, the data stored due to the instruction of the client and the data of the running state of the mirror image instance when the client requests to store the scene data, the client is powered off and the client is disconnected.
For example, the scene data includes a client system platform class, data stored according to an instruction of the client, and application software opened according to the instruction of the client and a state of the application software.
In the invention, the scene data can be stored in time under various required conditions, and after the client is powered off, disconnected from the server, and closed mirror image instance and other conditions that the client stops interacting with the mirror image instance, the client can continue the last operation scene at any time and re-access the mirror image instance. The experience of the user is improved, and data and progress are prevented from being lost.
FIG. 3 illustrates a block diagram of a cloud computing system, according to an embodiment of the invention.
As shown in FIG. 3, the system 300 includes, a mirror instance module 302 and a scene storage module 304;
in response to a request from a client to start an image instance, the image instance module 302 starts a base image as an image instance;
under the condition that the scene storage module 304 stores the scene data associated with the client, the mirror image instance module 302 loads an operation scene for the mirror image instance according to the stored scene data, and then the scene storage module 304 deletes the stored scene data;
the mirror instance module 302 sends the image data of the mirror instance to the client, an
Receiving a user operation from the client, and executing the user operation in the mirror image instance;
when the mirror image instance is closed, the real-time scene data of the mirror image instance is stored in the scene storage module 304, and the resources occupied by the mirror image instance are released.
According to some embodiments of the present application, the image instance module 302 includes one or more image instance servers, and the system further includes an assignment module 306, responsive to a request from a client to initiate an image instance, the assignment module 306 selecting an available image instance server for the client.
According to some embodiments of the present application, the assignment module 306 sends the connection address and the key of the image instance server to the client, where all data and connection state exchanged between the client and the image instance server are encrypted and decrypted by the key.
The first embodiment is a method embodiment corresponding to the present embodiment, and the present embodiment can be implemented in cooperation with the first embodiment. The related technical details mentioned in the first embodiment are still valid in this embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the first embodiment.
According to some embodiments of the present application, a cloud computing device is disclosed, the device comprising a memory storing computer-executable instructions and a processor, the instructions, when executed by the processor, causing the device to implement a cloud computing method.
The first embodiment is a method embodiment corresponding to the present embodiment, and the present embodiment can be implemented in cooperation with the first embodiment. The related technical details mentioned in the first embodiment are still valid in this embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the first embodiment.
According to some embodiments of the present application, a computer storage medium having instructions stored thereon, which when executed on a computer, cause the computer to perform a cloud computing method is disclosed.
The first embodiment is a method embodiment corresponding to the present embodiment, and the present embodiment can be implemented in cooperation with the first embodiment. The related technical details mentioned in the first embodiment are still valid in this embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the first embodiment.
In some cases, the disclosed embodiments may be implemented in hardware, firmware, software, or any combination thereof. The disclosed embodiments may also be implemented in the form of instructions or programs carried on or stored on one or more transitory or non-transitory machine-readable (e.g., computer-readable) storage media, which may be read and executed by one or more processors or the like. When the instructions or program are executed by a machine, the machine may perform the various methods described previously. For example, the instructions may be distributed via a network or other computer readable medium. Thus, a machine-readable medium may include, but is not limited to, any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computer), such as floppy diskettes, optical disks, compact disc read-only memories (CD-ROMs), magneto-optical disks, read-only memories (ROMs), Random Access Memories (RAMs), erasable programmable read-only memories (EPROMs), electrically erasable programmable read-only memories (EEPROMs), magnetic or optical cards, or flash memory or tangible machine-readable memory for transmitting network information via electrical, optical, acoustical or other forms of signals (e.g., carrier waves, infrared signals, digital signals, etc.). Thus, a machine-readable medium includes any form of machine-readable medium suitable for storing or transmitting electronic instructions or machine (e.g., a computer) readable information.
While the embodiments of the present application have been described in detail with reference to the accompanying drawings, the application of the present application is not limited to the various applications mentioned in the embodiments of the present application, and various structures and modifications can be easily implemented with reference to the present application to achieve various advantageous effects mentioned herein. Variations that do not depart from the gist of the disclosure are intended to be within the scope of the disclosure.

Claims (9)

1. A cloud computing method, comprising:
in response to a request from a client to start an image instance, starting a base image as the image instance;
under the condition that scene data associated with the client side are stored, loading an operation scene for the mirror image instance, and then deleting the stored scene data;
sending the image data of the mirror image instance to the client; and
receiving a user operation from the client, and executing the user operation in the mirror image instance;
and when the mirror image instance is closed, storing the real-time scene data of the mirror image instance, and releasing the resources occupied by the mirror image instance.
2. The method of claim 1, further comprising:
and sending the connection address and the key of the image instance to the client, wherein all data and connection state exchanged with the client are encrypted and decrypted through the key.
3. The method of claim 1, wherein starting a base image as the image instance comprises:
judging the equipment type of the client according to the identifier of the client; and starting the basic image corresponding to the equipment type.
4. The method of claim 1, further comprising:
and storing the real-time scene data of the mirror image instance at a preset time, wherein the preset time comprises the scene data including the information of the client, the data stored due to the instruction of the client and the data of the running state of the mirror image instance when the client requests to store the scene data, the client is powered off and the client is disconnected.
5. A cloud computing system is characterized by comprising a mirror image instance module and a scene storage module;
in response to a request from a client to start an image instance, the image instance module starts a base image as the image instance;
under the condition that the scene storage module stores scene data associated with the client, the mirror image instance module loads an operation scene for the mirror image instance according to the stored scene data, and then the scene storage module deletes the stored scene data;
the mirror instance module sends the image data of the mirror instance to the client, an
Receiving a user operation from the client, and executing the user operation in the mirror image instance;
when the mirror image instance is closed, the real-time scene data of the mirror image instance is stored in the scene storage module, and the resources occupied by the mirror image instance are released.
6. The system of claim 5, wherein the image instance module comprises one or more image instance servers, and wherein the system further comprises an assignment module that selects the image instance server available for a client in response to a request from the client to start an image instance.
7. The system of claim 6, wherein the assignment module sends a connection address and a key of the image instance server to the client, wherein all data and connection state exchanged between the client and the image instance server is encrypted and decrypted by the key.
8. A cloud computing device, characterized in that the device comprises a memory storing computer executable instructions and a processor, which instructions, when executed by the processor, cause the device to carry out the cloud computing method according to any of claims 1-4.
9. A computer storage medium having stored thereon instructions that, when executed on a computer, cause the computer to perform the cloud computing method of any of claims 1-4.
CN202110564733.8A 2021-05-24 2021-05-24 Cloud computing method, system, device and medium Withdrawn CN113242309A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110564733.8A CN113242309A (en) 2021-05-24 2021-05-24 Cloud computing method, system, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110564733.8A CN113242309A (en) 2021-05-24 2021-05-24 Cloud computing method, system, device and medium

Publications (1)

Publication Number Publication Date
CN113242309A true CN113242309A (en) 2021-08-10

Family

ID=77138525

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110564733.8A Withdrawn CN113242309A (en) 2021-05-24 2021-05-24 Cloud computing method, system, device and medium

Country Status (1)

Country Link
CN (1) CN113242309A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114090183A (en) * 2021-11-25 2022-02-25 北京字节跳动网络技术有限公司 Application starting method and device, computer equipment and storage medium
US11689420B1 (en) * 2022-04-28 2023-06-27 Cisco Technology, Inc. Template based edge cloud core deployment

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114090183A (en) * 2021-11-25 2022-02-25 北京字节跳动网络技术有限公司 Application starting method and device, computer equipment and storage medium
CN114090183B (en) * 2021-11-25 2023-07-21 抖音视界有限公司 Application starting method and device, computer equipment and storage medium
US11689420B1 (en) * 2022-04-28 2023-06-27 Cisco Technology, Inc. Template based edge cloud core deployment
US20230353453A1 (en) * 2022-04-28 2023-11-02 Cisco Technology, Inc. Template based edge cloud core deployment
US12034596B2 (en) * 2022-04-28 2024-07-09 Cisco Technology, Inc. Template based edge cloud core deployment

Similar Documents

Publication Publication Date Title
CN106471791B (en) Method and apparatus for a mobile device based cluster computing architecture
US9910765B2 (en) Providing testing environments for software applications using virtualization and a native hardware layer
CN101739285B (en) System and method of graphics hardware resource usage in a fully virtualized computing environment
WO2016037479A1 (en) Method, device and system for optimizing virtualized network function (vnf)
CN103595801B (en) Cloud computing system and real-time monitoring method for virtual machine in cloud computing system
US11210132B2 (en) Virtual machine migration in virtualization environment having different virtualization systems
CN111212116A (en) High-performance computing cluster creating method and system based on container cloud
KR101369428B1 (en) Application management apparatus and method for mobile terminal for supporting different type guest operating system
EP2500818A1 (en) Method and device for displaying application image
CN110032413A (en) A kind of desktop virtualization method, relevant device and computer storage medium
CN113242309A (en) Cloud computing method, system, device and medium
CN115965517B (en) Graphics processor resource management method and device, electronic equipment and storage medium
CN111796838A (en) MPP database automatic deployment method and device
CN108073423A (en) A kind of accelerator loading method, system and accelerator loading device
US10318343B2 (en) Migration methods and apparatuses for migrating virtual machine including locally stored and shared data
CN116257320B (en) DPU-based virtualization configuration management method, device, equipment and medium
CN112491980A (en) Cloud host service management method, system, terminal and storage medium
CN114968477A (en) Container heat transfer method and container heat transfer device
US11086652B2 (en) Fault-tolerant application virtualization using computer vision
CN108255547B (en) Application program control method and device
CN107688479B (en) Android system network cluster, construction method thereof, and Android system network cluster data processing method and system
CN110365839B (en) Shutdown method, shutdown device, shutdown medium and electronic equipment
US20140195590A1 (en) Managing a logical client for a virtual machine
CN109308288A (en) Data processing method and device
US9668082B2 (en) Virtual machine based on a mobile device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20210810

WW01 Invention patent application withdrawn after publication