WO2024099274A1 - Data processing method, device, and storage medium - Google Patents

Data processing method, device, and storage medium Download PDF

Info

Publication number
WO2024099274A1
WO2024099274A1 PCT/CN2023/129974 CN2023129974W WO2024099274A1 WO 2024099274 A1 WO2024099274 A1 WO 2024099274A1 CN 2023129974 W CN2023129974 W CN 2023129974W WO 2024099274 A1 WO2024099274 A1 WO 2024099274A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
directory
operating system
server node
cloud operating
Prior art date
Application number
PCT/CN2023/129974
Other languages
French (fr)
Chinese (zh)
Inventor
杜志红
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2024099274A1 publication Critical patent/WO2024099274A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/176Support for shared access to files; File sharing support
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/61Installation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • 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

Definitions

  • the embodiments of the present application relate to the field of communications, and in particular, to a data processing method, device, and storage medium.
  • cloud operating systems have been deployed on a large scale. Compared with traditional physical devices (such as mobile phones, tablets, etc.), cloud operating systems have better physical performance.
  • the cloud operating system stores the installation data of all online applications. After receiving the user's startup instruction for a certain application, the application can be run directly.
  • each cloud operating system needs to store a copy of the application's installation data. Therefore, multiple copies of the installation data need to be stored for the same application on the same server, resulting in a waste of storage space. Therefore, a solution to improve the storage space utilization of the cloud operating system is needed.
  • the embodiments of the present application provide a data processing method, a device, and a storage medium to provide a solution for improving storage space utilization of a cloud operating system.
  • a data processing method which is applied to a cloud operating system, and the method includes: receiving a startup instruction for the cloud operating system; in response to the startup instruction, mounting an installation directory of the cloud operating system, wherein a mapping relationship exists between the installation directory and a mother disk directory of a server node corresponding to the cloud operating system; and based on the installation information of the application in the mother disk directory, installing the application corresponding to the installation information in the cloud operating system.
  • a data processing method which is applied to a server node, and the method includes: obtaining installation information of an application to be launched, and storing the installation information of the application to be launched in a master disk directory of the server node, the master disk directory of the server node being constructed based on the installation information of the application; mounting the master disk directory of the server node to an installation directory in a cloud operating system corresponding to the server node, and there being a mapping relationship between the master disk directory of the server node and the installation directory, so that the cloud operating system corresponding to the server node mounts the installation directory, and based on the installation information of the application in the master disk directory of the server node, installing the application to be launched in the cloud operating system corresponding to the server node.
  • a data processing method which is applied to a data management platform, and the method includes: obtaining installation information of an application to be launched; when it is determined that the application to be launched is running normally, sending the installation information of the application to be launched to a preset server node, so that the preset server node stores the installation information of the application to be launched in a mother disk directory, and there is a mapping relationship between the mother disk directory and the installation directory of the cloud operating system corresponding to the preset server node, so that the cloud operating system mounts the installation directory, and based on the installation information of the application in the mother disk directory, installs the application to be launched in the cloud operating system. program.
  • a data processing device which terminal includes a processor and a memory, the memory storing a program or instruction that can be executed on the processor, and the program or instruction, when executed by the processor, implements the steps of the data processing method as described in the first aspect, or implements the steps of the data processing method as described in or the second aspect, or implements the steps of the data processing method as described in or the third aspect.
  • a readable storage medium on which a program or instruction is stored.
  • the program or instruction is executed by a processor, the steps of the data processing method as described in the first aspect, or the steps of the data processing method as described in the second aspect, or the steps of the data processing method as described in the third aspect are implemented.
  • FIG1 is a schematic flow chart of a data processing method according to an embodiment of the present application.
  • FIG2 is a schematic flow chart of another data processing method according to an embodiment of the present application.
  • FIG3 is a schematic flow chart of another data processing method according to an embodiment of the present application.
  • FIG4 is a schematic flow chart of another data processing method according to an embodiment of the present application.
  • FIG5 is a schematic diagram of a data processing method according to an embodiment of the present application.
  • FIG6 is a schematic flow chart of another data processing method according to an embodiment of the present application.
  • FIG7 is a schematic flow chart of another data processing method according to an embodiment of the present application.
  • FIG8 is a schematic diagram of another data processing method according to an embodiment of the present application.
  • FIG9 is a schematic diagram of the structure of a data processing device according to an embodiment of the present application.
  • FIG10 is a schematic diagram of the structure of another data processing device according to an embodiment of the present application.
  • FIG11 is a schematic diagram of the structure of another data processing device according to an embodiment of the present application.
  • FIG12 is a schematic diagram of the structure of another data processing device according to an embodiment of the present application.
  • FIG. 13 is a schematic diagram of the structure of a data processing device according to an embodiment of the present application.
  • the embodiments of this specification provide a data processing method, device and storage medium.
  • the inventive concept of the present application is as follows: With the rapid development of computer technology, cloud operating systems have been deployed on a large scale. Compared with traditional physical devices (such as mobile phones, tablet computers, etc.), cloud operating systems have better physical properties.
  • the cloud operating system stores the installation data of all online applications. After receiving the user's startup instruction for a certain application, the application can be run directly. However, since multiple cloud operating systems can be created under the same server, each cloud operating system needs to store a copy of the installation data of the application. Then, multiple copies of the installation data need to be stored for the same application in the same server, resulting in a waste of storage space. Therefore, a solution to improve the storage space utilization of the cloud operating system is needed. To this end, the embodiments of this specification provide a technical solution that can solve the above-mentioned problems. For details, please refer to the following content.
  • an embodiment of the present specification provides a data processing method
  • the execution subject of the method may be a server
  • the server may be a server corresponding to a cloud operating system
  • the server may be an independent server
  • the method may specifically include the following steps:
  • the server node can create multiple cloud operating systems, and the cloud operating system can be any one or more operating systems in the server node.
  • the cloud operating system can create kernels and central processing units (CPUs) with different configurations according to the operating environment required by the application. Compared with physical devices such as mobile phones and tablets, the cloud operating system can make the operation of the application not affected by physical performance. In addition, on physical devices, users need to manually go to the application market to download and install an application to install an application. In the cloud operating system, there is no need for users to manually operate. The cloud operating system can automatically launch different applications to bring users more audio-visual content. Installing applications on the cloud operating system can not only save the storage space of the user's physical device, but also bring users more rich content and audio-visual experience without requiring too much operation from the user. Among them, the application is actually installed in the cloud operating system and runs in the cloud operating system.
  • CPUs central processing units
  • the server node can install one or more online applications in the cloud operating system, and the server node can send startup instructions to multiple cloud operating systems, that is, the cloud operating system can receive startup instructions sent by the server node.
  • the mother disk directory of the server node corresponding to the cloud operating system can store the installation information of one or more applications to be launched online.
  • the server node can mount the mother disk directory to one or more cloud operating systems corresponding to the server node. In this way, after receiving the startup instruction, the cloud operating system can obtain the installation information of the application stored in the mother disk directory through the installation directory that has been statically mounted in advance.
  • the application corresponding to the installation information is installed in the cloud operating system.
  • multiple cloud operating systems created under the server node can install applications locally by sharing the master disk directory of the server node, without the need to store a copy of the application installation information in each cloud operating system, reducing the waste of storage space and improving space utilization.
  • the embodiment of the present specification provides a data processing method, which is applied to a cloud operating system, by receiving a startup instruction for the cloud operating system, responding to the startup instruction, mounting the installation directory of the cloud operating system, and having a mapping relationship between the installation directory and the mother disk directory of the server node corresponding to the cloud operating system, and installing the application corresponding to the installation information in the mother disk directory in the cloud operating system.
  • multiple cloud operating systems corresponding to the same server node can obtain installation information by sharing the mother disk directory of the service node, without the need to store a copy of the installation information in each cloud operating system, thereby reducing the waste of storage space, and the more applications there are, the higher the utilization rate of the storage space.
  • the application when receiving a trigger instruction for an application, since the application has been installed in advance in the cloud operating system, the application can be directly started, and there is no need to temporarily install the application in the cloud operating system, thereby improving data processing efficiency.
  • the execution subject of the method may be a server.
  • the server may be a server of a cloud operating system.
  • the server may be an independent server or a server composed of multiple servers.
  • the method may specifically include the following steps:
  • the application corresponding to the installation information is installed in the cloud operating system.
  • the target application may be an application that has been installed by the cloud operating system based on the installation information.
  • the user can trigger the start of the target application in the terminal device, and the server node can determine the cloud operating system for processing the target application based on the running status of the cloud operating system, that is, the cloud operating system can receive the start-up instruction of the target application from the target user.
  • the personalized directory can have a mapping relationship with the shared directory
  • the shared directory can be used to store the operation data generated by the application during the operation process
  • the shared directory can be stored in a preset storage device, which can be a server.
  • the server can be an independent server or a server cluster composed of multiple servers.
  • an application when running, it may generate operation data (including user operation data, response data, personalized data, etc.).
  • operation data including user operation data, response data, personalized data, etc.
  • the cloud operating system After receiving the startup instruction from the target user for the target application, the cloud operating system can provide relevant services to the target user based on the previous operation data.
  • each cloud operating system of the server node stores a copy of the operating data for each user and each application, it will cause a waste of storage space.
  • the cloud operating system can read the operating data stored in the shared directory by statically mounting it in a good personalized directory in advance, without the need for additional processing of the operating data locally.
  • the operation data corresponding to the target user and the target application is read, and based on the operation data corresponding to the target user and the target application, the target application is run.
  • the process of the target application exits, the cloud operating system and the target user's terminal device are disconnected, and the operating data (such as the user's login account, subscription information, etc.) can be stored in a shared directory based on the user ID of the target user.
  • the cloud operating system does not need to perform additional processing on the operating data generated by the target application during its operation.
  • the shared directory is a personalized directory statically mounted to the cloud operating system, that is, the data stored in the shared directory is shared for each cloud operating system under the server node
  • the personalized directory of the cloud operating system can be mounted, and based on the user ID of the target user and the shared directory, the operation data corresponding to the target user and the target application can be read, and the target application can be run based on the operation data corresponding to the target user and the target application.
  • the cloud operating system does not need to store a copy of the operation data for each user and application, saving storage space and improving space utilization.
  • the embodiment of the present specification provides a data processing method, which is applied to a cloud operating system, by receiving a startup instruction for the cloud operating system, responding to the startup instruction, mounting the installation directory of the cloud operating system, and having a mapping relationship between the installation directory and the mother disk directory of the server node corresponding to the cloud operating system, and installing the application corresponding to the installation information in the mother disk directory in the cloud operating system.
  • multiple cloud operating systems corresponding to the same server node can obtain installation information by sharing the mother disk directory of the service node, without the need to store a copy of the installation information in each cloud operating system, thereby reducing the waste of storage space, and the more applications there are, the higher the utilization rate of the storage space.
  • the application when receiving a trigger instruction for an application, since the application has been installed in advance in the cloud operating system, the application can be directly started, and there is no need to temporarily install the application in the cloud operating system, thereby improving data processing efficiency.
  • an embodiment of the present specification provides a data processing method
  • the execution subject of the method may be a server node
  • the server node may be an independent server or a server cluster composed of multiple servers.
  • the method may specifically include the following steps:
  • the installation information of the application to be launched is obtained, and the installation information of the application to be launched is stored in the master disk directory of the server node.
  • the application to be launched may be any one or more applications that can be run by the cloud operating system, and the master disk directory of the server node may be constructed based on the installation information of the application.
  • the server node may obtain the installation information of one or more applications to be launched sent by the data management platform, and store the installation information of the applications to be launched in the master disk directory.
  • the master disk directory of the server node is mounted to the installation directory in the cloud operating system corresponding to the server node.
  • mapping relationship between the mother disk directory and the installation directory of the server node, so that the cloud operating system corresponding to the server node mounts the installation directory, and based on the installation information of the application in the mother disk directory, the application to be launched is installed in the cloud operating system corresponding to the server node.
  • multiple cloud operating systems can be created under a server node.
  • the server node stores the installation information of the application to be launched in the master disk directory.
  • multiple cloud operating systems corresponding to the server node can obtain the installation information of the application in the master disk directory of the server node through the statically mounted installation directory, without the need to store a copy of the installation information in each cloud operating system, thereby reducing the waste of storage space.
  • the embodiment of the specification provides a data processing method, which is applied to a server node, by obtaining the installation information of the application to be launched, and storing the installation information of the application to be launched in the master disk directory of the server node, the master disk directory of the server node is constructed based on the installation information of the application, the master disk directory of the server node is mounted to the installation directory in the cloud operating system corresponding to the server node, and there is a mapping relationship between the master disk directory of the server node and the installation directory, so that the cloud operating system corresponding to the server node mounts the installation directory, and based on the installation information of the application in the master disk directory of the server node, the application to be launched is installed in the cloud operating system corresponding to the server node.
  • multiple cloud operating systems corresponding to the same server node can obtain the installation information by sharing the master disk directory of the service node, without having to store a copy of the installation information in each cloud operating system, thereby reducing the waste of storage space, and the more the number of applications, the higher the utilization rate of the storage space, and in addition, when receiving a trigger instruction for the application, since the application has been installed in the cloud operating system in advance, the application can be directly started, and there is no need to temporarily install the application in the cloud operating system, thereby improving the data processing efficiency.
  • an embodiment of the present specification provides a data processing method
  • the execution subject of the method may be a server node
  • the server node may be an independent server
  • the method may specifically include the following steps:
  • the installation information of the application to be launched is obtained, and the installation information of the application to be launched is stored in the master disk directory of the server node.
  • the master disk directory of the server node is mounted to the installation directory in the cloud operating system corresponding to the server node.
  • mapping relationship between the mother disk directory and the installation directory of the server node, so that the cloud operating system corresponding to the server node mounts the installation directory, and based on the installation information of the application in the mother disk directory, the application to be launched is installed in the cloud operating system corresponding to the server node.
  • the master disk directory of the server node is mounted to the master disk directory of the target server node corresponding to the server node.
  • the mother disk directory of the server node has a mapping relationship with the mother disk directory of the target server node, so that the cloud operating system corresponding to the target server node mounts the target installation directory having a mapping relationship with the mother disk directory of the target server node, and based on the installation information of the application in the mother disk directory of the server node, mounts the target installation directory on the target server node. Install the application to be launched in the corresponding cloud operating system.
  • the target server node can be a server node with a preset corresponding relationship.
  • the target server node is the same as the application provided by the server node.
  • the mother disk directory of the server node is mounted to the mother disk directory of the target server node corresponding to the server node.
  • the cloud operating system corresponding to the target server node can mount the local target installation directory and obtain the installation information of the application in the mother disk directory of the server node.
  • server node 1 corresponds to cloud operating system 1 and cloud operating system 2
  • server node 1 corresponds to cloud operating system 3 and cloud operating system 4.
  • the installation information of the application can be obtained, so as to install the application to be launched based on the obtained installation information, wherein the target installation directory of the cloud operating system corresponding to the target server node has a mapping relationship with the mother disk directory of the target server node.
  • server node 2 can also serve as the target server node corresponding to server node 1, that is, the mother disk directory of server node 1 can be mounted to the mother disk directory of server node 2.
  • cloud operating system 3 and cloud operating system 4 corresponding to server node 2 can obtain the installation information in the mother disk directory of server node 1.
  • the installation information can be stored in one or more server nodes, so that the corresponding target server nodes can obtain the installation information by static mounting, thereby improving the utilization rate of storage space.
  • the embodiment of the specification provides a data processing method, which is applied to a server node, obtains the installation information of an application to be launched, and stores the installation information of the application to be launched in the master disk directory of the server node, the master disk directory of the server node is constructed based on the installation information of the application, and the master disk directory of the server node is mounted to the installation directory in the cloud operating system corresponding to the server node, and there is a mapping relationship between the master disk directory of the server node and the installation directory, so that the cloud operating system corresponding to the server node mounts the installation directory, and based on the installation information of the application in the master disk directory of the server node, the application to be launched is installed in the cloud operating system corresponding to the server node.
  • multiple cloud operating systems corresponding to the same server node can obtain the installation information by sharing the master disk directory of the service node, without having to store a copy of the installation information in each cloud operating system, thereby reducing the waste of storage space, and the more applications there are, the higher the utilization rate of the storage space.
  • the application when receiving a trigger instruction for an application, since the application has been installed in advance in the cloud operating system, the application can be directly started, and there is no need to temporarily install the application in the cloud operating system, thereby improving data processing efficiency.
  • an embodiment of the present specification provides a data processing method
  • the execution subject of the method may be a server
  • the server may be a server of a data management platform
  • the server may be an independent server
  • a server cluster composed of multiple servers.
  • the method may specifically include the following steps:
  • mapping relationship between the master disk directory and the installation directory of the cloud operating system corresponding to the preset server node so that the cloud operating system mounts the installation directory and installs the application to be launched in the cloud operating system based on the installation information of the application in the master disk directory.
  • the data management platform may send the installation information of the application to be launched to one or more corresponding preset server nodes based on the type of the application to be launched and when it is determined that the application to be launched is running normally.
  • the data management platform can also send the installation information of the application to be launched to the corresponding server node according to the mounting relationship between the server nodes. For example, as shown in FIG5 , assuming that the master disk directory of server node 3 is mounted on the master disk directories of server node 1 and server node 2 respectively, in this way, the data management platform can send the installation information of the application to be launched to the corresponding server node.
  • the application of the line is sent to server node 3, so that the cloud operating systems of server node 1 and server node 2 can share the installation information stored in the mother disk directory of server node 3 by static mounting, wherein there is a mapping relationship between the installation directory of the cloud operating system of server node 1 and the mother disk directory of server node 1.
  • the embodiment of the specification provides a data processing method, which is applied to a data management platform.
  • the installation information of an application to be launched is sent to a preset server node, so that the preset server node stores the installation information of the application to be launched in a master disk directory, and there is a mapping relationship between the master disk directory and the installation directory of the cloud operating system corresponding to the preset server node, so that the cloud operating system mounts the installation directory, and based on the installation information of the application in the master disk directory, the application to be launched is installed in the cloud operating system.
  • multiple cloud operating systems corresponding to the same server node can obtain the installation information by sharing the master disk directory of the service node, without the need to store a copy of the installation information in each cloud operating system, thereby reducing the waste of storage space, and the more applications there are, the higher the utilization rate of the storage space.
  • the application when a trigger instruction for an application is received, since the application has been installed in advance in the cloud operating system, the application can be directly started, and there is no need to temporarily install the application in the cloud operating system, thereby improving data processing efficiency.
  • an embodiment of the present specification provides a data processing method
  • the execution subject of the method may be a server
  • the server may be a server of a data management platform
  • the server may be an independent server
  • a server cluster composed of multiple servers.
  • the method may specifically include the following steps:
  • the installation information of the application to be launched is sent to the test cloud operating system, so as to determine whether the application to be launched is running normally through the test cloud operating system and the installation information.
  • the data management platform can send the installation information to one or more corresponding test cloud operating systems for testing according to the type of the application.
  • the test cloud operating system can be a cloud operating system created under a server node, or it can be an independent cloud operating system used to test the application.
  • mapping relationship between the master disk directory and the installation directory of the cloud operating system corresponding to the preset server node so that the cloud operating system mounts the installation directory and installs the application to be launched in the cloud operating system based on the installation information of the application in the master disk directory.
  • test cloud operating system is an operating system created under a preset server node
  • the test cloud operating system can delete the installation information of the application stored locally, and the data management platform can send the installation information of the application to be launched to the preset server node.
  • multiple cloud operating systems created under the preset server node can scan the application to be launched into the cloud operating system through the mother disk directory.
  • an application list is generated based on the installation information of the application to be launched and the mother disk directory of the preset server node, so that the cloud operating system corresponding to the preset server node installs the application to be launched corresponding to the application list in the cloud operating system based on the application list and the installation information of the application in the mother disk directory.
  • the application list may also include information such as version numbers of the application programs.
  • the data management platform can generate an application list based on the installation information of the application in the master disk directory of the preset server node, as well as the version number of the application and other information.
  • the cloud operating system corresponding to the preset server node After the cloud operating system corresponding to the preset server node is started, it can cyclically scan all applications according to the information in the application list. In this way, after the cloud operating system scan is completed, the cloud operating system can be allocated to the terminal device for the user to use. That is, when the user clicks to log in to an application, since the cloud operating system has pre-made the application in advance, the user can directly open the application. There is no need to install the application temporarily.
  • a sharing target is created and stored in a preset storage device.
  • the shared directory can be used to store the running data generated by the application during its running.
  • the shared directory established on the preset storage device can be accessed through the Network Fil System (NFS).
  • NFS Network Fil System
  • the shared directory is mounted to a personalized directory of the cloud operating system corresponding to the preset server node.
  • the personalized directory can have a mapping relationship with the shared directory, so that the cloud operating system corresponding to the preset server node mounts the personalized directory and reads the operation data generated by the application during the operation based on the shared directory.
  • the shared directory stored in the preset storage device can be mounted to the personalized directories of the cloud operating systems corresponding to multiple preset server nodes, wherein the applications installed in the multiple cloud operating systems are the same. In this way, when multiple cloud operating systems run a certain application, they can mount the local personalized directory and obtain the operating data in the shared directory.
  • the running data generated during the running of the application corresponding to the target user is stored in the shared directory.
  • server node 1 can distribute the startup instruction to cloud operating system 1, and the data management platform can trigger cloud operating system 1 to store the operation data generated during the application operation process in a shared directory based on the user ID of user 1.
  • server node 2 receives a startup instruction from user 1 for application 1
  • server node 2 distributes the startup instruction to cloud operating system 3
  • the data management platform can trigger cloud operating system 3 to mount a personalized directory based on the user ID of user 1, obtain the operation data corresponding to user 1 in the shared directory, and run the application based on the operation data.
  • the operation data stored in the preset storage device can generate a shared directory according to the user identification, user equipment identification, etc.
  • operation and maintenance personnel can operate on the portal to take an application offline so that users cannot access the application. That is, the data management platform can receive offline instructions for the target application, where there can be one or more target applications.
  • the target application in response to the offline instruction, is offline processed, and the target running data corresponding to the target application in the shared directory is determined.
  • the target running data corresponding to the target application in the shared directory stored in the preset storage device may be determined based on the identifier of the target application.
  • the target operation data is updated based on the preset data update rule.
  • processing methods of the above S716 can be various.
  • the following provides an optional implementation method, which can be specifically referred to in the following steps 1 to 2:
  • Step 1 Obtain the generation time of the target running data.
  • the generation time may be the time when the user triggers the running of the target application through the user equipment to generate the target running data.
  • Step 2 If the generation time is greater than the preset update time, the target running data is deleted in the shared directory.
  • the user's operating data can be temporarily retained, that is, if the generation time of the target operating data of the target application is not greater than the preset update time, the target operating data in the shared directory can be retained, where the update time can be 1 month, 3 months, half a year, etc.
  • aging data can also be deleted, that is, if the generation time of the target operating data of the target application is greater than the preset update time, the target operating data can be deleted in the shared directory. That is, the data stored in the shared directory can be aged and deleted through the target data.
  • the embodiment of the specification provides a data processing method, which is applied to a data management platform.
  • the installation information of an application to be launched is sent to a preset server node, so that the preset server node stores the installation information of the application to be launched in a master disk directory, and there is a mapping relationship between the master disk directory and the installation directory of the cloud operating system corresponding to the preset server node, so that the cloud operating system mounts the installation directory, and based on the installation information of the application in the master disk directory, the application to be launched is installed in the cloud operating system.
  • multiple cloud operating systems corresponding to the same server node can obtain the installation information by sharing the master disk directory of the service node, without the need to store a copy of the installation information in each cloud operating system, thereby reducing the waste of storage space, and the more applications there are, the higher the utilization rate of the storage space.
  • the application when a trigger instruction for an application is received, since the application has been installed in advance in the cloud operating system, the application can be directly started, and there is no need to temporarily install the application in the cloud operating system, thereby improving data processing efficiency.
  • An embodiment of the present specification provides a data processing system, which includes a cloud operating system, a server node and a data management platform, wherein the data management platform is used to obtain installation information of an application to be launched, and when it is determined that the application to be launched is running normally, the installation information of the application to be launched is sent to a preset server node.
  • the server node is used to store the installation information of the application to be launched in the master disk directory of the server node, and mount the master disk directory of the server node to the installation directory in the cloud operating system corresponding to the server node.
  • the master disk directory of the server node is constructed based on the installation information of the application.
  • the cloud operating system is used to receive a startup instruction for the cloud operating system, and in response to the startup instruction, mount the installation directory of the cloud operating system.
  • the production of cloud-side application templates can install applications in advance in the cloud operating system to avoid manual installation by users.
  • the production process of application templates is the installation juice of applications.
  • applications can be installed in the /data/app directory of the cloud operating system.
  • the purpose of the production of cloud-side application templates is to install applications in the /oem/app directory of the cloud operating system, and to dial the installation information of the application to be launched to the master disk directory /workdir/app of the preset server node through the data management platform. In this way, all cloud operating systems deployed on the preset server node can use the same application template (i.e., installation information) by mounting the master disk directory.
  • the preparation of a cloud-side application template may include the following steps:
  • the operation and maintenance personnel upload the installation information of the application to be launched on the portal.
  • the data management platform sends the installation information to the test cloud operating system for testing, and the application can be installed in the installation directory (i.e., the /oem/app directory) in the cloud operating system.
  • the installation directory i.e., the /oem/app directory
  • the operation and maintenance personnel enter the test cloud operating system through the dial-up test terminal device, open the installed application, and test whether the application can run normally.
  • the application does not crash or have any abnormal usage, you can enter the online process, that is, you can write the application in the /oem/app directory into the cloud operating system. At this time, the application to be launched is installed in the cloud operating system, and users can use the application through terminal devices.
  • the /workdir/app/ directory of the server node is a mapping of the /oem/app/ directory mounted inside the cloud operating system to the server node.
  • all cloud operating systems under the server nodes that have been statically mounted in advance can see the application's master disk directory and scan the application's installation information under the /oem/app directory into the cloud operating system.
  • the cloud operating system can pre-fabricate many applications, and the data management platform can maintain the application list determined by the master disk directory, etc., except for a single application.
  • the online scenario of the application will involve the cloud operating system scanning the mother disk directory. After the cloud operating system is started, it can cyclically scan all online applications according to the application list. In this way, when the user clicks to log in to an application, since the application has been pre-made in the cloud operating system, the user can directly open the application without temporary installation.
  • the cloud operating system is also used to receive a startup instruction from a target user for a target application, mount a personalized directory of the cloud operating system in response to the startup instruction, read operating data corresponding to the target user and the target application based on the user ID and shared directory of the target user, and run the target application based on the operating data corresponding to the target user, wherein the target application is an application installed by the cloud operating system based on the installation information, and there is a mapping relationship between the personalized directory and the shared directory, and the shared directory is used to store operating data generated by the application during its operation.
  • the cloud operating system can create a personalized directory (i.e., the /appdata/ directory) to store the running data generated by the application during its operation.
  • a personalized directory i.e., the /appdata/ directory
  • the cloud operating system can create a personalized directory (i.e., the /appdata/ directory) to store the running data generated by the application during its operation.
  • the terminal device When a user clicks on a page on a terminal device, the terminal device will allocate an idle cloud operating system.
  • the terminal device can establish a connection with the cloud operating system.
  • the cloud operating system can receive a unique user identifier (such as userid) generated on the terminal device.
  • the cloud operating system Before running the application, the cloud operating system can create a personalized directory corresponding to the user based on the userid.
  • the personalized data of all applications i.e., the running data generated during the running of the application
  • the directory of the running data corresponding to the user under the personalized directory can be /appdata/userid/data/user/0/.
  • a summary corresponding to the running data corresponding to the user can be generated based on a preset summary generation algorithm, and a personalized directory is generated based on the summary.
  • the personalized directory can be created when the user logs in for the first time.
  • the application can directly read the running data under the personalized directory when it is running, so that different users can obtain their own independent running data when accessing different cloud operating systems, avoiding the problem of long access time caused by the dynamic mounting method and improving data processing efficiency.
  • the embodiment of the present specification provides a data processing system, which includes a cloud operating system, a server node and a data management platform, wherein the data management platform can be used to obtain the installation information of the application to be launched, and when it is determined that the application to be launched is running normally, the installation information of the application to be launched is sent to the preset server node.
  • the server node can be used to store the installation information of the application to be launched in the master disk directory of the server node, and mount the master disk directory of the server node to the installation directory in the cloud operating system corresponding to the server node.
  • the cloud operating system can be used to receive a startup instruction for the cloud operating system, and in response to the startup instruction, mount the installation directory of the cloud operating system, and there is a mapping relationship between the installation directory and the master disk directory of the server node corresponding to the cloud operating system. Based on the installation information of the application in the master disk directory, the application corresponding to the installation information is installed in the cloud operating system. Multiple cloud operating systems corresponding to the same server node can obtain installation information by sharing the mother disk directory of the service node, without storing a copy of the installation information in each cloud operating system, thereby reducing the waste of storage space. The more applications there are, the higher the utilization rate of the storage space. In addition, when a trigger instruction for an application is received, since the application has been installed in the cloud operating system in advance, the application can be started directly without the need to temporarily install the application in the cloud operating system, thereby improving data processing efficiency.
  • the embodiment of this specification also provides a data processing device, as shown in FIG10 .
  • the data processing device includes: a first receiving module 1001, a first mounting module 1002 and a program installation module 1003, wherein: the first receiving module 1001 is used to receive a startup instruction for the cloud operating system; the first mounting module 1002 is used to mount the installation directory of the cloud operating system in response to the startup instruction, and there is a mapping relationship between the installation directory and the mother disk directory of the server node corresponding to the cloud operating system; the program installation module 1003 is used to install the application corresponding to the installation information in the cloud operating system based on the installation information of the application in the mother disk directory.
  • the device further includes: a second receiving module, configured to receive a target user's request for a target application.
  • the target application is an application that is installed by the cloud operating system based on the installation information;
  • a second mounting module is used to mount a personalized directory of the cloud operating system in response to the startup instruction, and there is a mapping relationship between the personalized directory and the shared directory, and the shared directory is used to store running data generated by the application during its running;
  • an running module is used to read the running data corresponding to the target user and the target application based on the user identifier of the target user and the shared directory, and run the target application based on the running data corresponding to the target user and the target application.
  • the embodiment of this specification also provides a data processing device, as shown in FIG11 .
  • the data processing device includes: an information acquisition module 1101 and a first mounting module 1102, wherein: the information acquisition module 1101 is used to obtain the installation information of the application to be launched, and store the installation information of the application to be launched in the master disk directory of the server node, the master disk directory of the server node is constructed based on the installation information of the application; the first mounting module 1102 is used to mount the master disk directory of the server node to the installation directory in the cloud operating system corresponding to the server node, and there is a mapping relationship between the master disk directory of the server node and the installation directory, so that the cloud operating system corresponding to the server node mounts the installation directory, and based on the installation information of the application in the master disk directory of the server node, the application to be launched is installed in the cloud operating system corresponding to the server node.
  • the device also includes: a second mounting module, used to mount the mother disk directory of the server node to the mother disk directory of the target server node corresponding to the server node, and there is a mapping relationship between the mother disk directory of the server node and the mother disk directory of the target server node, so that the cloud operating system corresponding to the target server node mounts the target installation directory that has a mapping relationship with the mother disk directory of the target server node, and based on the installation information of the application in the mother disk directory of the server node, installs the application to be launched in the cloud operating system corresponding to the target server node.
  • a second mounting module used to mount the mother disk directory of the server node to the mother disk directory of the target server node corresponding to the server node, and there is a mapping relationship between the mother disk directory of the server node and the mother disk directory of the target server node, so that the cloud operating system corresponding to the target server node mounts the target installation directory that has a mapping relationship with the mother disk directory of the target server no
  • the embodiment of this specification also provides a data processing device, as shown in FIG12 .
  • the data processing device includes: an information acquisition module 1201 and a first sending module 1202, wherein:
  • the information acquisition module 1201 is used to obtain the installation information of the application to be launched.
  • the first sending module 1202 is used to send the installation information of the application to be launched to the preset server node when it is determined that the application to be launched is running normally, so that the preset server node stores the installation information of the application to be launched in the mother disk directory, and there is a mapping relationship between the mother disk directory and the installation directory of the cloud operating system corresponding to the preset server node, so that the cloud operating system mounts the installation directory, and installs the application to be launched in the cloud operating system based on the installation information of the application in the mother disk directory.
  • the device further includes: a second sending module, used to send the installation information of the application to be launched to the test cloud operating system, so as to determine whether the application to be launched is running normally through the test cloud operating system and the installation information.
  • a second sending module used to send the installation information of the application to be launched to the test cloud operating system, so as to determine whether the application to be launched is running normally through the test cloud operating system and the installation information.
  • the device also includes: a generation module, which is used to generate an application list based on the installation information of the application to be launched and the mother disk directory of the preset server node, so that the cloud operating system corresponding to the preset server node installs the application to be launched corresponding to the application list in the cloud operating system based on the application list and the installation information of the application in the mother disk directory.
  • a generation module which is used to generate an application list based on the installation information of the application to be launched and the mother disk directory of the preset server node, so that the cloud operating system corresponding to the preset server node installs the application to be launched corresponding to the application list in the cloud operating system based on the application list and the installation information of the application in the mother disk directory.
  • the device also includes: an establishment module, used to establish a shared directory and store it in a preset storage device, wherein the shared directory is used to store operating data generated by the application during its operation; a mounting module, used to mount the shared directory to a personalized directory of the cloud operating system corresponding to the preset server node, and there is a mapping relationship between the personalized directory and the shared directory, so that the cloud operating system corresponding to the preset server node mounts the personalized directory and reads the operating data generated by the application during its operation based on the shared directory.
  • an establishment module used to establish a shared directory and store it in a preset storage device, wherein the shared directory is used to store operating data generated by the application during its operation
  • a mounting module used to mount the shared directory to a personalized directory of the cloud operating system corresponding to the preset server node, and there is a mapping relationship between the personalized directory and the shared directory, so that the cloud operating system corresponding to the preset server node mounts the personalized directory and reads the operating data generated by the application during its
  • the device further includes: a storage module, which is used to store the operation data generated during the operation of the application corresponding to the target user in the shared directory based on the user identification of the user.
  • the device further includes: a receiving module for receiving an offline instruction for a target application; a processing module for performing offline processing on the target application in response to the offline instruction, and determining The target operation data corresponding to the target application in the shared directory; an update module, used to update the target operation data based on a preset data update rule.
  • the update module is used to: obtain the generation time of the target operation data; if the generation time is greater than the preset update duration, delete the target operation data in the shared directory.
  • the embodiments of the present specification provide a data processing device, and multiple cloud operating systems corresponding to the same server node can obtain installation information by sharing the mother disk directory of the service node, without storing a copy of the installation information in each cloud operating system, thereby reducing the waste of storage space.
  • the application can be directly started without the need to temporarily install the application in the cloud operating system, thereby improving data processing efficiency.
  • the embodiment of this specification also provides a data processing device, as shown in FIG13 .
  • the data processing device may have relatively large differences due to different configurations or performances, and may include one or more processors 1301 and memory 1302, and the memory 1302 may store one or more storage applications or data.
  • the memory 1302 may be a temporary storage or a permanent storage.
  • the application stored in the memory 1302 may include one or more modules (not shown in the figure), and each module may include a series of computer executable instructions in the data processing device.
  • the processor 1301 may be configured to communicate with the memory 1302 to execute a series of computer executable instructions in the memory 1302 on the data processing device.
  • the data processing device may also include one or more power supplies 1303, one or more wired or wireless network interfaces 1304, one or more input and output interfaces 1305, and one or more keyboards 1306.
  • the data processing device includes a memory, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer executable instructions for the data processing device, and the one or more programs are configured to be executed by one or more processors, including computer executable instructions for performing the following: receiving a startup instruction for the data processing device; in response to the startup instruction, mounting an installation directory of the data processing device, wherein the installation directory has a mapping relationship with the master disk directory of the server node corresponding to the data processing device; based on the installation information of the application in the master disk directory, installing the application corresponding to the installation information in the data processing device.
  • the method also includes: receiving a startup instruction from a target user for a target application, the target application being an application installed by the data processing device based on the installation information; in response to the startup instruction, mounting a personalized directory of the data processing device, the personalized directory having a mapping relationship with a shared directory, the shared directory being used to store running data generated by the application during its running; based on the user identifier of the target user and the shared directory, reading the running data corresponding to the target user and the target application, and running the target application based on the running data corresponding to the target user and the target application.
  • the one or more programs configured to be executed by one or more processors also include the following computer executable instructions: obtaining installation information of the application to be launched, and storing the installation information of the application to be launched in the master disk directory of the server node, the master disk directory of the server node being constructed based on the installation information of the application; mounting the master disk directory of the server node to the installation directory in the cloud operating system corresponding to the server node, the master disk directory of the server node and the installation directory having a mapping relationship so that the cloud operating system corresponding to the server node mounts the installation directory, and based on the installation information of the application in the master disk directory of the server node, installs the application to be launched in the cloud operating system corresponding to the server node.
  • the method further comprises: mounting the master disk directory of the server node to the master disk directory of the target server node corresponding to the server node, wherein the master disk directory of the server node and the master disk directory of the target server node have a mapping relationship, so that the cloud operating system corresponding to the target server node mounts the master disk directory corresponding to the target server node.
  • the target installation directory has a mapping relationship between the master disk directories of the server nodes, and based on the installation information of the application in the master disk directory of the server node, the application to be launched is installed in the cloud operating system corresponding to the target server node.
  • the one or more programs are configured to be executed by one or more processors and also include computer executable instructions for performing the following: obtaining installation information of the application to be launched; when it is determined that the application to be launched is running normally, sending the installation information of the application to be launched to a preset server node, so that the preset server node stores the installation information of the application to be launched in a mother disk directory, and there is a mapping relationship between the mother disk directory and the installation directory of the cloud operating system corresponding to the preset server node, so that the cloud operating system mounts the installation directory, and based on the installation information of the application in the mother disk directory, installs the application to be launched in the cloud operating system.
  • the application to be launched when it is determined that the application to be launched is running normally, before sending the installation information of the application to be launched to the preset server node, it also includes: sending the installation information of the application to be launched to the test cloud operating system, so as to determine whether the application to be launched is running normally through the test cloud operating system and the installation information.
  • the method also includes: generating an application list based on the installation information of the application to be launched and the mother disk directory of the preset server node, so that the cloud operating system corresponding to the preset server node installs the application to be launched corresponding to the application list in the cloud operating system based on the application list and the installation information of the application in the mother disk directory.
  • the method also includes: establishing a shared directory and storing it in a preset storage device, wherein the shared directory is used to store running data generated by the application during its operation; mounting the shared directory to a personalized directory of the cloud operating system corresponding to the preset server node, and there is a mapping relationship between the personalized directory and the shared directory, so that the cloud operating system corresponding to the preset server node mounts the personalized directory and reads the running data generated by the application during its operation based on the shared directory of the storage device.
  • the method further includes: based on a user identifier of the user, storing operation data generated during the operation of the application corresponding to the target user in the shared directory.
  • the method further includes: receiving an offline instruction for a target application; in response to the offline instruction, performing offline processing on the target application, and determining target operating data corresponding to the target application in the shared directory; and updating the target operating data based on preset data update rules.
  • the updating process of the target operation data based on preset data updating rules includes: obtaining the generation time of the target operation data; if the generation time is greater than a preset update duration, deleting the target operation data in the shared directory.
  • the embodiments of the present specification provide a data processing device, and multiple cloud operating systems corresponding to the same server node can obtain installation information by sharing the mother disk directory of the service node, without storing a copy of the installation information in each cloud operating system, thereby reducing the waste of storage space.
  • the application can be directly started without the need to temporarily install the application in the cloud operating system, thereby improving data processing efficiency.
  • the embodiments of this specification also provide a computer-readable storage medium, on which a computer program is stored.
  • a computer program is stored.
  • the computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
  • the embodiment of the present specification provides a computer-readable storage medium, and multiple cloud operating systems corresponding to the same server node can obtain installation information by sharing the mother disk directory of the service node, without having to install the installation information in each cloud operating system.
  • a copy of the installation information is stored in the cloud operating system, which reduces the waste of storage space. The more applications there are, the higher the utilization rate of the storage space.
  • the application can be started directly without the need to temporarily install the application in the cloud operating system, thereby improving data processing efficiency.
  • a programmable logic device such as a field programmable gate array (FPGA)
  • FPGA field programmable gate array
  • HDL Hardware Description Language
  • HDL Very-High-Speed Integrated Circuit Hardware Description Language
  • ABEL Advanced Boolean Expression Language
  • AHDL Altera Hardware Description Language
  • HDCal Joint CHDL
  • JHDL Java Hardware Description Language
  • Lava Lava
  • Lola MyHDL
  • PALASM RHDL
  • VHDL Very-High-Speed Integrated Circuit Hardware Description Language
  • Verilog Verilog
  • the controller may be implemented in any suitable manner, for example, the controller may take the form of a microprocessor or processor and a computer readable medium storing a computer readable program code (e.g., software or firmware) executable by the (micro)processor, a logic gate, a switch, an application specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, and the memory controller may also be implemented as part of the control logic of the memory.
  • a computer readable program code e.g., software or firmware
  • the controller may be implemented in the form of a logic gate, a switch, an application specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, such a controller may be considered as a hardware component, and the means for implementing various functions included therein may also be considered as a structure within the hardware component. Or even, the means for implementing various functions may be considered as both a software module for implementing the method and a structure within the hardware component.
  • a typical implementation device is a computer.
  • the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
  • each unit may be implemented in one or more software and/or hardware.
  • one or more embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, one or more embodiments of this specification may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, one or more embodiments of this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one process or multiple processes in the flowchart and/or one box or multiple boxes in the block diagram.
  • These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
  • These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
  • a computing device includes one or more processors (CPU), input/output interfaces, network interfaces, and memory.
  • processors CPU
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • Memory may include non-permanent storage in a computer-readable medium, in the form of random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
  • RAM random access memory
  • ROM read-only memory
  • flash RAM flash memory
  • Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information.
  • Information can be computer readable instructions, data structures, program modules or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
  • computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
  • one or more embodiments of this specification may be provided as methods, systems or computer program products. Therefore, one or more embodiments of this specification may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, one or more embodiments of this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • One or more embodiments of the present specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules.
  • program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types.
  • One or more embodiments of the present specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network.
  • program modules may be located in local and remote computer storage media, including storage devices.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Stored Programmes (AREA)

Abstract

The present application relates to the field of communications, and discloses a data processing method, a device, and a storage medium. The data processing method in embodiments of the present application comprises: receiving a starting instruction for a cloud operating system; in response to the starting instruction, mounting an installation directory of the cloud operating system, wherein there is a mapping relationship between the installation directory and a base disk directory of a server node corresponding to the cloud operating system; and on the basis of installation information of an application program in the base disk directory, installing in the cloud operating system the application program corresponding to the installation information.

Description

数据处理方法、设备和存储介质Data processing method, device and storage medium
交叉引用cross reference
本发明要求在2022年11月07日提交中国专利局、申请号为202211385626.X、发明名称为“数据处理方法、设备和存储介质”的中国专利申请的优先权,该申请的全部内容通过引用结合在本发明中。The present invention claims the priority of the Chinese patent application filed with the China Patent Office on November 7, 2022, with application number 202211385626.X and invention name “Data processing method, device and storage medium”. The entire contents of the application are incorporated into the present invention by reference.
技术领域Technical Field
本申请实施例涉及通信领域,尤其涉及一种数据处理方法、设备和存储介质。The embodiments of the present application relate to the field of communications, and in particular, to a data processing method, device, and storage medium.
背景技术Background technique
随着计算机技术的迅速发展,云操作系统得到大规模部署,相较于传统的物理设备(如手机、平板电脑等),云操作系统具备较好的物理性能。云操作系统中存储有已上线的所有应用程序的安装数据,在接收到用户针对某一应用程序的启动指令后,可以直接运行该应用程序。With the rapid development of computer technology, cloud operating systems have been deployed on a large scale. Compared with traditional physical devices (such as mobile phones, tablets, etc.), cloud operating systems have better physical performance. The cloud operating system stores the installation data of all online applications. After receiving the user's startup instruction for a certain application, the application can be run directly.
但是,由于同一服务器下可以创建多个云操作系统,每个云操作系统都需要存储一份应用程序的安装数据,那么,同一服务器内针对同一个应用程序就需要存储多份安装数据,造成存储空间的浪费,因此,需要一种提高云操作系统的存储空间利用率的解决方案。However, since multiple cloud operating systems can be created under the same server, each cloud operating system needs to store a copy of the application's installation data. Therefore, multiple copies of the installation data need to be stored for the same application on the same server, resulting in a waste of storage space. Therefore, a solution to improve the storage space utilization of the cloud operating system is needed.
发明内容Summary of the invention
本申请实施例提供一种数据处理方法、设备和存储介质,以提供一种提高云操作系统的存储空间利用率的解决方案。The embodiments of the present application provide a data processing method, a device, and a storage medium to provide a solution for improving storage space utilization of a cloud operating system.
第一方面,提供了一种数据处理方法,所述方法应用于云操作系统,所述方法包括:接收针对所述云操作系统的启动指令;响应于所述启动指令,挂载所述云操作系统的安装目录,所述安装目录与所述云操作系统对应的服务器节点的母盘目录之间具备映射关系;基于所述母盘目录中应用程序的安装信息,在所述云操作系统中安装与所述安装信息对应的应用程序。In a first aspect, a data processing method is provided, which is applied to a cloud operating system, and the method includes: receiving a startup instruction for the cloud operating system; in response to the startup instruction, mounting an installation directory of the cloud operating system, wherein a mapping relationship exists between the installation directory and a mother disk directory of a server node corresponding to the cloud operating system; and based on the installation information of the application in the mother disk directory, installing the application corresponding to the installation information in the cloud operating system.
第二方面,提供了一种数据处理方法,所述方法应用于服务器节点,所述方法包括:获取待上线的应用程序的安装信息,并将所述待上线的应用程序的安装信息存储在所述服务器节点的母盘目录中,所述服务器节点的母盘目录基于应用程序的安装信息构建得到;将所述服务器节点的母盘目录挂载到与所述服务器节点对应的云操作系统中的安装目录,所述服务器节点的母盘目录与所述安装目录之间具备映射关系,以使所述服务器节点对应的云操作系统挂载所述安装目录,基于所述服务器节点的母盘目录中的应用程序的安装信息,在所述服务器节点对应的云操作系统中安装所述待上线的应用程序。In a second aspect, a data processing method is provided, which is applied to a server node, and the method includes: obtaining installation information of an application to be launched, and storing the installation information of the application to be launched in a master disk directory of the server node, the master disk directory of the server node being constructed based on the installation information of the application; mounting the master disk directory of the server node to an installation directory in a cloud operating system corresponding to the server node, and there being a mapping relationship between the master disk directory of the server node and the installation directory, so that the cloud operating system corresponding to the server node mounts the installation directory, and based on the installation information of the application in the master disk directory of the server node, installing the application to be launched in the cloud operating system corresponding to the server node.
第三方面,提供了一种数据处理方法,所述方法应用于数据管理平台,所述方法包括:获取待上线的应用程序的安装信息;在确定所述待上线的应用程序正常运行的情况下,将所述待上线的应用程序的安装信息发送给预设服务器节点,以使所述预设服务器节点将所述待上线的应用程序的安装信息存储在母盘目录中,所述母盘目录与所述预设服务器节点对应的云操作系统的安装目录之间具备映射关系,以使所述云操作系统挂载所述安装目录,基于所述母盘目录中应用程序的安装信息,在所述云操作系统中安装与所述待上线的应用 程序。In a third aspect, a data processing method is provided, which is applied to a data management platform, and the method includes: obtaining installation information of an application to be launched; when it is determined that the application to be launched is running normally, sending the installation information of the application to be launched to a preset server node, so that the preset server node stores the installation information of the application to be launched in a mother disk directory, and there is a mapping relationship between the mother disk directory and the installation directory of the cloud operating system corresponding to the preset server node, so that the cloud operating system mounts the installation directory, and based on the installation information of the application in the mother disk directory, installs the application to be launched in the cloud operating system. program.
第四方面,提供了一种数据处理设备,该终端包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的数据处理方法的步骤,或者实现如或第二方面所述的数据处理方法的步骤,或者实现如或第三方面所述的数据处理方法的步骤。In a fourth aspect, a data processing device is provided, which terminal includes a processor and a memory, the memory storing a program or instruction that can be executed on the processor, and the program or instruction, when executed by the processor, implements the steps of the data processing method as described in the first aspect, or implements the steps of the data processing method as described in or the second aspect, or implements the steps of the data processing method as described in or the third aspect.
第五方面,提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的数据处理方法的步骤,或者实现如或第二方面所述的数据处理方法的步骤,或者实现如或第三方面所述的数据处理方法的步骤。In a fifth aspect, a readable storage medium is provided, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the data processing method as described in the first aspect, or the steps of the data processing method as described in the second aspect, or the steps of the data processing method as described in the third aspect are implemented.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是根据本申请的一个实施例的数据处理方法的示意性流程图;FIG1 is a schematic flow chart of a data processing method according to an embodiment of the present application;
图2是根据本申请的一个实施例的另一种数据处理方法的示意性流程图;FIG2 is a schematic flow chart of another data processing method according to an embodiment of the present application;
图3是根据本申请的一个实施例的另一种数据处理方法的示意性流程图;FIG3 is a schematic flow chart of another data processing method according to an embodiment of the present application;
图4是根据本申请的一个实施例的另一种数据处理方法的示意性流程图;FIG4 is a schematic flow chart of another data processing method according to an embodiment of the present application;
图5是根据本申请的一个实施例的数据处理方法的示意图;FIG5 is a schematic diagram of a data processing method according to an embodiment of the present application;
图6是根据本申请的一个实施例的另一种数据处理方法的示意性流程图;FIG6 is a schematic flow chart of another data processing method according to an embodiment of the present application;
图7是根据本申请的一个实施例的另一种数据处理方法的示意性流程图;FIG7 is a schematic flow chart of another data processing method according to an embodiment of the present application;
图8是根据本申请的一个实施例的另一种数据处理方法的示意图;FIG8 is a schematic diagram of another data processing method according to an embodiment of the present application;
图9是根据本申请的一个实施例的一种数据处理装置的结构示意图;FIG9 is a schematic diagram of the structure of a data processing device according to an embodiment of the present application;
图10是根据本申请的一个实施例的另一种数据处理装置的结构示意图;FIG10 is a schematic diagram of the structure of another data processing device according to an embodiment of the present application;
图11是根据本申请的一个实施例的另一种数据处理装置的结构示意图;FIG11 is a schematic diagram of the structure of another data processing device according to an embodiment of the present application;
图12是根据本申请的一个实施例的另一种数据处理装置的结构示意图;FIG12 is a schematic diagram of the structure of another data processing device according to an embodiment of the present application;
图13是根据本申请的一个实施例的数据处理设备的结构示意图。FIG. 13 is a schematic diagram of the structure of a data processing device according to an embodiment of the present application.
具体实施方式Detailed ways
本说明书实施例提供一种数据处理方法、设备和存储介质。The embodiments of this specification provide a data processing method, device and storage medium.
为了使本技术领域的人员更好地理解本说明书中的技术方案,下面将结合本说明书实施例中的附图,对本说明书实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本说明书一部分实施例,而不是全部的实施例。基于本说明书中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本说明书保护的范围。In order to enable those skilled in the art to better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below in conjunction with the drawings in the embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this specification.
本申请的发明构思如下:随着计算机技术的迅速发展,云操作系统得到大规模部署,相较于传统的物理设备(如手机、平板电脑等),云操作系统具备较好的物理性能。云操作系统中存储有已上线的所有应用程序的安装数据,在接收到用户针对某一应用程序的启动指令后,可以直接运行该应用程序。但是,由于同一服务器下可以创建多个云操作系统,每个云操作系统都需要存储一份应用程序的安装数据,那么,同一服务器内针对同一个应用程序就需要存储多份安装数据,造成存储空间的浪费,因此,需要一种提高云操作系统的存储空间利用率的解决方案。为此,本说明书实施例提供一种可以解决上述问题的技术方案,具体可以参见下述内容。The inventive concept of the present application is as follows: With the rapid development of computer technology, cloud operating systems have been deployed on a large scale. Compared with traditional physical devices (such as mobile phones, tablet computers, etc.), cloud operating systems have better physical properties. The cloud operating system stores the installation data of all online applications. After receiving the user's startup instruction for a certain application, the application can be run directly. However, since multiple cloud operating systems can be created under the same server, each cloud operating system needs to store a copy of the installation data of the application. Then, multiple copies of the installation data need to be stored for the same application in the same server, resulting in a waste of storage space. Therefore, a solution to improve the storage space utilization of the cloud operating system is needed. To this end, the embodiments of this specification provide a technical solution that can solve the above-mentioned problems. For details, please refer to the following content.
实施例一Embodiment 1
如图1所示,本说明书实施例提供一种数据处理方法,该方法的执行主体可以为服务器,该服务器可以是云操作系统对应的服务器,该服务器可以是独立的服务器,也可以是由多个服务器组成的服务器集群。该方法具体可以包括以下步骤: As shown in FIG1 , an embodiment of the present specification provides a data processing method, the execution subject of the method may be a server, the server may be a server corresponding to a cloud operating system, the server may be an independent server, or a server cluster composed of multiple servers. The method may specifically include the following steps:
在S102中,接收针对云操作系统的启动指令。In S102, a startup instruction for a cloud operating system is received.
其中,服务器节点可以创建多个云操作系统,云操作系统可以是该服务器节点中的任意一个或多个操作系统。Among them, the server node can create multiple cloud operating systems, and the cloud operating system can be any one or more operating systems in the server node.
在实施中,云操作系统可以根据应用程序所需的运行环境,创建不同配置的内核及中央处理器(Central Processing Unit,CPU),相较于手机、平板电脑等物理设备,云操作系统可以使应用程序的运行不受物理性能的影响。另外,在物理设备上,用户安装某个应用程序,需要手动去应用市场下载安装该应用程序,而在云操作系统中,不需要用户手动操作,云操作系统可以自动上线不同的应用程序,给用户带来更多的视听内容。云操作系统安装应用程序不仅能节约用户的物理设备的存储空间,同时,还可以在不需要用户过多操作下,给用户带来更多丰富的内容和视听体验。其中,应用程序实际安装在云操作系统中,运行也在云操作系统中,不同的用户登录应用程序有可能先后被分配到同一个云操作系统上,同一个用户登录应用程序也可能被分配在不同的云操作上。因此,为保证用户的使用体验,服务器节点可以在云操作系统中安装已上线的一个或多个应用程序,服务器节点可以向多个云操作系统发送启动指令,即云操作系统可以接收服务器节点发送的启动指令。In implementation, the cloud operating system can create kernels and central processing units (CPUs) with different configurations according to the operating environment required by the application. Compared with physical devices such as mobile phones and tablets, the cloud operating system can make the operation of the application not affected by physical performance. In addition, on physical devices, users need to manually go to the application market to download and install an application to install an application. In the cloud operating system, there is no need for users to manually operate. The cloud operating system can automatically launch different applications to bring users more audio-visual content. Installing applications on the cloud operating system can not only save the storage space of the user's physical device, but also bring users more rich content and audio-visual experience without requiring too much operation from the user. Among them, the application is actually installed in the cloud operating system and runs in the cloud operating system. Different users may log in to the same cloud operating system one after another, and the same user may log in to different cloud operations. Therefore, in order to ensure the user experience, the server node can install one or more online applications in the cloud operating system, and the server node can send startup instructions to multiple cloud operating systems, that is, the cloud operating system can receive startup instructions sent by the server node.
在S104中,响应于启动指令,挂载云操作系统的安装目录。In S104, in response to the start instruction, the installation directory of the cloud operating system is mounted.
其中,安装目录与云操作系统对应的服务器节点的母盘目录之间具备映射关系。There is a mapping relationship between the installation directory and the master disk directory of the server node corresponding to the cloud operating system.
在实施中,与云操作系统对应的服务器节点的母盘目录中可以存储有一个或多个待上线的应用程序的安装信息,服务器节点可以将母盘目录挂载到与服务器节点对应的一个或多个云操作系统,这样,云操作系统在接收到启动指令后,可以通过事先静态挂载好的安装目录,获取母盘目录中存储的应用程序的安装信息。During implementation, the mother disk directory of the server node corresponding to the cloud operating system can store the installation information of one or more applications to be launched online. The server node can mount the mother disk directory to one or more cloud operating systems corresponding to the server node. In this way, after receiving the startup instruction, the cloud operating system can obtain the installation information of the application stored in the mother disk directory through the installation directory that has been statically mounted in advance.
在S106中,基于母盘目录中应用程序的安装信息,在云操作系统中安装与安装信息对应的应用程序。In S106 , based on the installation information of the application in the directory of the mother disk, the application corresponding to the installation information is installed in the cloud operating system.
在实施中,由于云操作系统中应用的安装目录和运行目录不同,每个云操作系统由于系统之间存在独立性,若为同一个应用程序分配不同的应用标识(如uid),由于存在权限问题,就会导致同一个用户进入某应用程序在某一个云操作系统产生的运行数据时,导致由于无法读取该用户上次在进入该应用程序产生的运行数据而产生应用程序运行异常等问题,因此,云操作系统在扫描应用程序(即注册安装应用程序)时,分配相同的应用标识,以实现同一个用户在接入不同的云操作系统时,能够读取应用程序之前运行时产生的运行数据。During implementation, since the installation directory and running directory of applications in the cloud operating system are different, and each cloud operating system is independent of each other, if different application identifiers (such as uid) are assigned to the same application, due to permission issues, when the same user enters the running data generated by a certain application in a certain cloud operating system, it will cause the application to run abnormally because the running data generated by the user's last entry into the application cannot be read. Therefore, when scanning the application (i.e. registering and installing the application), the cloud operating system assigns the same application identifier to enable the same user to read the running data generated when the application was previously running when accessing different cloud operating systems.
这样,服务器节点下创建的多个云操作系统,可以通过共享服务器节点的母盘目录的方式,将应用程序安装到本地,而不需要在每个云操作系统中存储一份应用程序的安装信息,减少了存储空间的浪费,提高了空间利用率。In this way, multiple cloud operating systems created under the server node can install applications locally by sharing the master disk directory of the server node, without the need to store a copy of the application installation information in each cloud operating system, reducing the waste of storage space and improving space utilization.
本说明书实施例提供一种数据处理方法,应用于云操作系统,通过接收针对云操作系统的启动指令,响应于启动指令,挂载云操作系统的安装目录,安装目录与云操作系统对应的服务器节点的母盘目录之间具备映射关系,基于母盘目录中应用程序的安装信息,在云操作系统中安装与安装信息对应的应用程序。这样,同一服务器节点对应的多个云操作系统就可以通过共享服务节点的母盘目录的方式获取安装信息,而不需要在每个云操作系统中存储一份安装信息,减少了存储空间的浪费,且应用程序的数量越多,存储空间的利用率越高,另外,在接收到针对应用程序的触发指令时,由于云操作系统中已经提前安装了该应用程序,因此,可以直接启动该应用程序,不需要在云操作系统中临时安装该应用程序,提高了数据处理效率。The embodiment of the present specification provides a data processing method, which is applied to a cloud operating system, by receiving a startup instruction for the cloud operating system, responding to the startup instruction, mounting the installation directory of the cloud operating system, and having a mapping relationship between the installation directory and the mother disk directory of the server node corresponding to the cloud operating system, and installing the application corresponding to the installation information in the mother disk directory in the cloud operating system. In this way, multiple cloud operating systems corresponding to the same server node can obtain installation information by sharing the mother disk directory of the service node, without the need to store a copy of the installation information in each cloud operating system, thereby reducing the waste of storage space, and the more applications there are, the higher the utilization rate of the storage space. In addition, when receiving a trigger instruction for an application, since the application has been installed in advance in the cloud operating system, the application can be directly started, and there is no need to temporarily install the application in the cloud operating system, thereby improving data processing efficiency.
实施例二Embodiment 2
如图2所示,本说明书实施例提供一种数据处理方法,该方法的执行主体可以为服务器,该服务器可以是云操作系统的服务器,该服务器可以是独立的服务器,也可以是由多 个服务器组成的服务器集群。该方法具体可以包括以下步骤:As shown in FIG2 , the embodiment of the present specification provides a data processing method. The execution subject of the method may be a server. The server may be a server of a cloud operating system. The server may be an independent server or a server composed of multiple servers. The method may specifically include the following steps:
在S102中,接收针对云操作系统的启动指令。In S102, a startup instruction for a cloud operating system is received.
在S104中,响应于启动指令,挂载云操作系统的安装目录。In S104, in response to the start instruction, the installation directory of the cloud operating system is mounted.
其中,安装目录与云操作系统对应的服务器节点的母盘目录之间具备映射关系。There is a mapping relationship between the installation directory and the master disk directory of the server node corresponding to the cloud operating system.
在S106中,基于母盘目录中应用程序的安装信息,在云操作系统中安装与安装信息对应的应用程序。In S106 , based on the installation information of the application in the directory of the mother disk, the application corresponding to the installation information is installed in the cloud operating system.
在S202中,接收目标用户针对目标应用程序的启动指令。In S202, a start instruction for a target application from a target user is received.
其中,目标应用程序可以为云操作系统基于安装信息安装完成的应用程序。The target application may be an application that has been installed by the cloud operating system based on the installation information.
在实施中,用户可以在终端设备中触发启动目标应用程序,服务器节点可以根据云操作系统的运行状态,确定用于处理目标应用程序的云操作系统,即云操作系统可以接收目标用户针对目标应用程序的启动指令。In implementation, the user can trigger the start of the target application in the terminal device, and the server node can determine the cloud operating system for processing the target application based on the running status of the cloud operating system, that is, the cloud operating system can receive the start-up instruction of the target application from the target user.
在S204中,响应于启动指令,挂载云操作系统的个性化目录。In S204 , in response to the start instruction, the personalized directory of the cloud operating system is mounted.
其中,个性化目录可以与共享目录之间具备映射关系,共享目录可以用于存储应用程序在运行过程中产生的运行数据,共享目录可以存储在预设存储装置中,该存储装置可以是服务器,该服务器可以是独立的服务器,也可以是由多个服务器组成的服务器集群。Among them, the personalized directory can have a mapping relationship with the shared directory, the shared directory can be used to store the operation data generated by the application during the operation process, and the shared directory can be stored in a preset storage device, which can be a server. The server can be an independent server or a server cluster composed of multiple servers.
在实施中,应用程序在运行时,可能产生运行数据(包括用户的操作数据、响应数据、个性化数据等),云操作系统在接收到目标用户针对目标应用程序的启动指令后,可以根据之前的运行数据,为目标用户提供相关服务。During implementation, when an application is running, it may generate operation data (including user operation data, response data, personalized data, etc.). After receiving the startup instruction from the target user for the target application, the cloud operating system can provide relevant services to the target user based on the previous operation data.
若服务器节点的每个云操作系统针对每个用户及每个应用程序存储一份运行数据,就会造成存储空间的浪费,而通过将预设存储装置存储的共享目录挂载到云操作系统的个性化目录,云操作系统就可以通过事先静态挂在好的个性化目录,读取共享目录中存储的运行数据,而不需要在本地对运行数据进行额外的处理。If each cloud operating system of the server node stores a copy of the operating data for each user and each application, it will cause a waste of storage space. By mounting the shared directory stored in the preset storage device to the personalized directory of the cloud operating system, the cloud operating system can read the operating data stored in the shared directory by statically mounting it in a good personalized directory in advance, without the need for additional processing of the operating data locally.
在S206中,基于目标用户的用户标识和共享目录,读取与目标用户以及目标应用程序对应的运行数据,并基于与目标用户以及目标应用程序对应的运行数据,运行目标应用程序。In S206 , based on the user identification and the shared directory of the target user, the operation data corresponding to the target user and the target application is read, and based on the operation data corresponding to the target user and the target application, the target application is run.
在实施中,当接收目标用户针对目标应用程序的关闭指令时,目标应用程序的进程退出,云操作系统和目标用户的终端设备断开,运行数据(如用户的登录账号、订购信息等)可以基于目标用户的用户标识,存储至共享目录中,云操作系统对目标应用程序在运行过程中产生的运行数据无需做额外处理。During implementation, when the target user receives a shutdown instruction for the target application, the process of the target application exits, the cloud operating system and the target user's terminal device are disconnected, and the operating data (such as the user's login account, subscription information, etc.) can be stored in a shared directory based on the user ID of the target user. The cloud operating system does not need to perform additional processing on the operating data generated by the target application during its operation.
由于共享目录是静态挂载到云操作系统的个性化目录,即共享目录中存储的数据针对服务器节点下的每一个云操作系统是共享的,待再次接收到该目标用户针对目标应用程序的启动指令,可以挂载云操作系统的个性化目录,基于目标用户的用户标识和共享目录,读取与目标用户以及目标应用程序对应的运行数据,并基于与目标用户以及目标应用程序对应的运行数据,运行目标应用程序。这样,云操作系统就不需要针对每个用户及应用程序存储一份运行数据,节约了存储空间,提高了空间利用率。Since the shared directory is a personalized directory statically mounted to the cloud operating system, that is, the data stored in the shared directory is shared for each cloud operating system under the server node, when the target user receives the startup instruction for the target application again, the personalized directory of the cloud operating system can be mounted, and based on the user ID of the target user and the shared directory, the operation data corresponding to the target user and the target application can be read, and the target application can be run based on the operation data corresponding to the target user and the target application. In this way, the cloud operating system does not need to store a copy of the operation data for each user and application, saving storage space and improving space utilization.
本说明书实施例提供一种数据处理方法,应用于云操作系统,通过接收针对云操作系统的启动指令,响应于启动指令,挂载云操作系统的安装目录,安装目录与云操作系统对应的服务器节点的母盘目录之间具备映射关系,基于母盘目录中应用程序的安装信息,在云操作系统中安装与安装信息对应的应用程序。这样,同一服务器节点对应的多个云操作系统就可以通过共享服务节点的母盘目录的方式获取安装信息,而不需要在每个云操作系统中存储一份安装信息,减少了存储空间的浪费,且应用程序的数量越多,存储空间的利用率越高,另外,在接收到针对应用程序的触发指令时,由于云操作系统中已经提前安装了该应用程序,因此,可以直接启动该应用程序,不需要在云操作系统中临时安装该应用程序,提高了数据处理效率。The embodiment of the present specification provides a data processing method, which is applied to a cloud operating system, by receiving a startup instruction for the cloud operating system, responding to the startup instruction, mounting the installation directory of the cloud operating system, and having a mapping relationship between the installation directory and the mother disk directory of the server node corresponding to the cloud operating system, and installing the application corresponding to the installation information in the mother disk directory in the cloud operating system. In this way, multiple cloud operating systems corresponding to the same server node can obtain installation information by sharing the mother disk directory of the service node, without the need to store a copy of the installation information in each cloud operating system, thereby reducing the waste of storage space, and the more applications there are, the higher the utilization rate of the storage space. In addition, when receiving a trigger instruction for an application, since the application has been installed in advance in the cloud operating system, the application can be directly started, and there is no need to temporarily install the application in the cloud operating system, thereby improving data processing efficiency.
实施例三 Embodiment 3
如图3所示,本说明书实施例提供一种数据处理方法,该方法的执行主体可以为服务器节点,该服务器节点可以是独立的服务器,也可以是由多个服务器组成的服务器集群。该方法具体可以包括以下步骤:As shown in FIG3 , an embodiment of the present specification provides a data processing method, the execution subject of the method may be a server node, and the server node may be an independent server or a server cluster composed of multiple servers. The method may specifically include the following steps:
在S302中,获取待上线的应用程序的安装信息,并将待上线的应用程序的安装信息存储在服务器节点的母盘目录中。In S302, the installation information of the application to be launched is obtained, and the installation information of the application to be launched is stored in the master disk directory of the server node.
其中,待上线的应用程序可以是云操作系统可以运行的任意一个或多个应用程序,服务器节点的母盘目录可以基于应用程序的安装信息构建得到。The application to be launched may be any one or more applications that can be run by the cloud operating system, and the master disk directory of the server node may be constructed based on the installation information of the application.
在实施中,服务器节点可以获取数据管理平台发送的待上线的一个或多个应用程序的安装信息,并将待上线的应用程序的安装信息存储在母盘目录中。In implementation, the server node may obtain the installation information of one or more applications to be launched sent by the data management platform, and store the installation information of the applications to be launched in the master disk directory.
在S304中,将服务器节点的母盘目录挂载到与服务器节点对应的云操作系统中的安装目录。In S304, the master disk directory of the server node is mounted to the installation directory in the cloud operating system corresponding to the server node.
其中,服务器节点的母盘目录与安装目录之间具备映射关系,以使服务器节点对应的云操作系统挂载安装目录,基于母盘目录中的应用程序的安装信息,在服务器节点对应的云操作系统中安装待上线的应用程序。Among them, there is a mapping relationship between the mother disk directory and the installation directory of the server node, so that the cloud operating system corresponding to the server node mounts the installation directory, and based on the installation information of the application in the mother disk directory, the application to be launched is installed in the cloud operating system corresponding to the server node.
在实施中,服务器节点下可以创建多个云操作系统,服务器节点将待上线的应用程序的安装信息存储在母盘目录中,这样,与服务器节点对应的多个云操作系统就可以通过静态挂载的安装目录,获取服务器节点的母盘目录中的应用程序的安装信息,而不需要在每个云操作系统中存储一份安装信息,减少了存储空间的浪费。During implementation, multiple cloud operating systems can be created under a server node. The server node stores the installation information of the application to be launched in the master disk directory. In this way, multiple cloud operating systems corresponding to the server node can obtain the installation information of the application in the master disk directory of the server node through the statically mounted installation directory, without the need to store a copy of the installation information in each cloud operating system, thereby reducing the waste of storage space.
本说明书实施例提供一种数据处理方法,应用于服务器节点,通过获取待上线的应用程序的安装信息,并将待上线的应用程序的安装信息存储在服务器节点的母盘目录中,服务器节点的母盘目录基于应用程序的安装信息构建得到,将服务器节点的母盘目录挂载到与服务器节点对应的云操作系统中的安装目录,服务器节点的母盘目录与安装目录之间具备映射关系,以使服务器节点对应的云操作系统挂载安装目录,基于服务器节点的母盘目录中的应用程序的安装信息,在服务器节点对应的云操作系统中安装待上线的应用程序。这样,同一服务器节点对应的多个云操作系统就可以通过共享服务节点的母盘目录的方式获取安装信息,而不需要在每个云操作系统中存储一份安装信息,减少了存储空间的浪费,且应用程序的数量越多,存储空间的利用率越高,另外,在接收到针对应用程序的触发指令时,由于云操作系统中已经提前安装了该应用程序,因此,可以直接启动该应用程序,不需要在云操作系统中临时安装该应用程序,提高了数据处理效率。The embodiment of the specification provides a data processing method, which is applied to a server node, by obtaining the installation information of the application to be launched, and storing the installation information of the application to be launched in the master disk directory of the server node, the master disk directory of the server node is constructed based on the installation information of the application, the master disk directory of the server node is mounted to the installation directory in the cloud operating system corresponding to the server node, and there is a mapping relationship between the master disk directory of the server node and the installation directory, so that the cloud operating system corresponding to the server node mounts the installation directory, and based on the installation information of the application in the master disk directory of the server node, the application to be launched is installed in the cloud operating system corresponding to the server node. In this way, multiple cloud operating systems corresponding to the same server node can obtain the installation information by sharing the master disk directory of the service node, without having to store a copy of the installation information in each cloud operating system, thereby reducing the waste of storage space, and the more the number of applications, the higher the utilization rate of the storage space, and in addition, when receiving a trigger instruction for the application, since the application has been installed in the cloud operating system in advance, the application can be directly started, and there is no need to temporarily install the application in the cloud operating system, thereby improving the data processing efficiency.
实施例四Embodiment 4
如图4所示,本说明书实施例提供一种数据处理方法,该方法的执行主体可以为服务器节点,该服务器节点可以是独立的服务器,也可以是由多个服务器组成的服务器集群。该方法具体可以包括以下步骤:As shown in FIG4 , an embodiment of the present specification provides a data processing method, the execution subject of the method may be a server node, the server node may be an independent server, or a server cluster composed of multiple servers. The method may specifically include the following steps:
在S302中,获取待上线的应用程序的安装信息,并将待上线的应用程序的安装信息存储在服务器节点的母盘目录中。In S302, the installation information of the application to be launched is obtained, and the installation information of the application to be launched is stored in the master disk directory of the server node.
在S304中,将服务器节点的母盘目录挂载到与服务器节点对应的云操作系统中的安装目录。In S304, the master disk directory of the server node is mounted to the installation directory in the cloud operating system corresponding to the server node.
其中,服务器节点的母盘目录与安装目录之间具备映射关系,以使服务器节点对应的云操作系统挂载安装目录,基于母盘目录中的应用程序的安装信息,在服务器节点对应的云操作系统中安装待上线的应用程序。Among them, there is a mapping relationship between the mother disk directory and the installation directory of the server node, so that the cloud operating system corresponding to the server node mounts the installation directory, and based on the installation information of the application in the mother disk directory, the application to be launched is installed in the cloud operating system corresponding to the server node.
在S402中,将服务器节点的母盘目录挂载到与服务器节点对应的目标服务器节点的母盘目录。In S402, the master disk directory of the server node is mounted to the master disk directory of the target server node corresponding to the server node.
其中,服务器节点的母盘目录与目标服务器节点的母盘目录之间具备映射关系,以使目标服务器节点对应的云操作系统,挂载与目标服务器节点的母盘目录之间具备映射关系的目标安装目录,基于服务器节点的母盘目录中应用程序的安装信息,在目标服务器节点 对应的云操作系统中安装待上线的应用程序。The mother disk directory of the server node has a mapping relationship with the mother disk directory of the target server node, so that the cloud operating system corresponding to the target server node mounts the target installation directory having a mapping relationship with the mother disk directory of the target server node, and based on the installation information of the application in the mother disk directory of the server node, mounts the target installation directory on the target server node. Install the application to be launched in the corresponding cloud operating system.
在实施中,目标服务器节点可以是服务器节点具有预设对应关系的服务器节点,例如,目标服务器节点与服务器节点提供的应用程序相同,将服务器节点的母盘目录挂载到与服务器节点对应的目标服务器节点的母盘目录中,这样,目标服务器节点对应的云操作系统就可以挂载本地的目标安装目录,获取服务器节点的母盘目录中的应用程序的安装信息。In implementation, the target server node can be a server node with a preset corresponding relationship. For example, the target server node is the same as the application provided by the server node. The mother disk directory of the server node is mounted to the mother disk directory of the target server node corresponding to the server node. In this way, the cloud operating system corresponding to the target server node can mount the local target installation directory and obtain the installation information of the application in the mother disk directory of the server node.
例如,如图5所示,服务器节点1、服务器节点2以及服务器节点3之间具备预设对应关系,假设服务器节点1和服务器节点2为目标服务器节点,可以将服务器节点3的母盘目录分别挂载到服务器节点1和服务器节点2的母盘目录,这样,服务器节点1对应云操作系统1和云操作系统2,以及服务器节点1对应云操作系统3和云操作系统4就可以基于服务器节点3的母盘目录,获取应用程序的安装信息,以基于获取的安装信息,安装待上线的应用程序,其中,目标服务器节点对应的云操作系统的目标安装目录与目标服务器节点的母盘目录具备映射关系。For example, as shown in Figure 5, there is a preset corresponding relationship between server node 1, server node 2 and server node 3. Assuming that server node 1 and server node 2 are target server nodes, the mother disk directory of server node 3 can be mounted to the mother disk directory of server node 1 and server node 2 respectively. In this way, server node 1 corresponds to cloud operating system 1 and cloud operating system 2, and server node 1 corresponds to cloud operating system 3 and cloud operating system 4. Based on the mother disk directory of server node 3, the installation information of the application can be obtained, so as to install the application to be launched based on the obtained installation information, wherein the target installation directory of the cloud operating system corresponding to the target server node has a mapping relationship with the mother disk directory of the target server node.
同时,服务器节点2也可以作为与服务器节点1对应的目标服务器节点,即可以将服务器节点1的母盘目录挂载到服务器节点2的母盘目录,这样,服务器节点2对应的云操作系统3和云操作系统4,就可以获取服务器节点1的母盘目录中的安装信息。At the same time, server node 2 can also serve as the target server node corresponding to server node 1, that is, the mother disk directory of server node 1 can be mounted to the mother disk directory of server node 2. In this way, cloud operating system 3 and cloud operating system 4 corresponding to server node 2 can obtain the installation information in the mother disk directory of server node 1.
在实际应用场景中,可以将安装信息存储至某一个或多个服务器节点中,以使对应的目标服务器节点通过静态挂载的方式获取安装信息,达到提高存储空间利用率的效果。In actual application scenarios, the installation information can be stored in one or more server nodes, so that the corresponding target server nodes can obtain the installation information by static mounting, thereby improving the utilization rate of storage space.
本说明书实施例提供一种数据处理方法,应用于服务器节点,获取待上线的应用程序的安装信息,并将待上线的应用程序的安装信息存储在服务器节点的母盘目录中,服务器节点的母盘目录基于应用程序的安装信息构建得到,将服务器节点的母盘目录挂载到与服务器节点对应的云操作系统中的安装目录,服务器节点的母盘目录与安装目录之间具备映射关系,以使服务器节点对应的云操作系统挂载安装目录,基于服务器节点的母盘目录中的应用程序的安装信息,在服务器节点对应的云操作系统中安装待上线的应用程序。这样,同一服务器节点对应的多个云操作系统就可以通过共享服务节点的母盘目录的方式获取安装信息,而不需要在每个云操作系统中存储一份安装信息,减少了存储空间的浪费,且应用程序的数量越多,存储空间的利用率越高,另外,在接收到针对应用程序的触发指令时,由于云操作系统中已经提前安装了该应用程序,因此,可以直接启动该应用程序,不需要在云操作系统中临时安装该应用程序,提高了数据处理效率。The embodiment of the specification provides a data processing method, which is applied to a server node, obtains the installation information of an application to be launched, and stores the installation information of the application to be launched in the master disk directory of the server node, the master disk directory of the server node is constructed based on the installation information of the application, and the master disk directory of the server node is mounted to the installation directory in the cloud operating system corresponding to the server node, and there is a mapping relationship between the master disk directory of the server node and the installation directory, so that the cloud operating system corresponding to the server node mounts the installation directory, and based on the installation information of the application in the master disk directory of the server node, the application to be launched is installed in the cloud operating system corresponding to the server node. In this way, multiple cloud operating systems corresponding to the same server node can obtain the installation information by sharing the master disk directory of the service node, without having to store a copy of the installation information in each cloud operating system, thereby reducing the waste of storage space, and the more applications there are, the higher the utilization rate of the storage space. In addition, when receiving a trigger instruction for an application, since the application has been installed in advance in the cloud operating system, the application can be directly started, and there is no need to temporarily install the application in the cloud operating system, thereby improving data processing efficiency.
实施例五Embodiment 5
如图6所示,本说明书实施例提供一种数据处理方法,该方法的执行主体可以为服务器,该服务器可以是数据管理平台的服务器,该服务器可以是独立的服务器,也可以是由多个服务器组成的服务器集群。该方法具体可以包括以下步骤:As shown in FIG6 , an embodiment of the present specification provides a data processing method, the execution subject of the method may be a server, the server may be a server of a data management platform, the server may be an independent server, or a server cluster composed of multiple servers. The method may specifically include the following steps:
在S602中,获取待上线的应用程序的安装信息。In S602, the installation information of the application to be launched is obtained.
在S604中,在确定待上线的应用程序正常运行的情况下,将待上线的应用程序的安装信息发送给预设服务器节点,以使预设服务器节点将待上线的应用程序的安装信息存储在母盘目录中。In S604, when it is determined that the application to be launched is running normally, the installation information of the application to be launched is sent to the preset server node, so that the preset server node stores the installation information of the application to be launched in the master disk directory.
其中,母盘目录与预设服务器节点对应的云操作系统的安装目录之间具备映射关系,以使云操作系统挂载安装目录,基于母盘目录中应用程序的安装信息,在云操作系统中安装与待上线的应用程序。Among them, there is a mapping relationship between the master disk directory and the installation directory of the cloud operating system corresponding to the preset server node, so that the cloud operating system mounts the installation directory and installs the application to be launched in the cloud operating system based on the installation information of the application in the master disk directory.
在实施中,数据管理平台可以根据待上线的应用程序的类型,在确定待上线的应用程序正常运行的情况下,将待上线的应用程序的安装信息发送给对应的一个或多个预设服务器节点。In implementation, the data management platform may send the installation information of the application to be launched to one or more corresponding preset server nodes based on the type of the application to be launched and when it is determined that the application to be launched is running normally.
此外,数据管理平台还可以根据服务器节点之间的挂载关系,将待上线的应用程序的安装信息发送给对应的服务器节点,例如,如图5所示,假设服务器节点3的母盘目录分别挂载在服务器节点1和服务器节点2的母盘目录上,这样,数据管理平台就可以将待上 线的应用程序发送给服务器节点3,这样,服务器节点1和服务器节点2的云操作系统就可以通过静态挂载的方式,共享服务器节点3的母盘目录中存储的安装信息,其中,服务器节点1的云操作系统的安装目录与服务器节点1的母盘目录存在映射关系。In addition, the data management platform can also send the installation information of the application to be launched to the corresponding server node according to the mounting relationship between the server nodes. For example, as shown in FIG5 , assuming that the master disk directory of server node 3 is mounted on the master disk directories of server node 1 and server node 2 respectively, in this way, the data management platform can send the installation information of the application to be launched to the corresponding server node. The application of the line is sent to server node 3, so that the cloud operating systems of server node 1 and server node 2 can share the installation information stored in the mother disk directory of server node 3 by static mounting, wherein there is a mapping relationship between the installation directory of the cloud operating system of server node 1 and the mother disk directory of server node 1.
本说明书实施例提供一种数据处理方法,应用于数据管理平台,通过获取待上线的应用程序的安装信息,在确定待上线的应用程序正常运行的情况下,将待上线的应用程序的安装信息发送给预设服务器节点,以使预设服务器节点将待上线的应用程序的安装信息存储在母盘目录中,母盘目录与预设服务器节点对应的云操作系统的安装目录之间具备映射关系,以使云操作系统挂载所述安装目录,基于母盘目录中应用程序的安装信息,在云操作系统中安装与所述待上线的应用程序。这样,同一服务器节点对应的多个云操作系统就可以通过共享服务节点的母盘目录的方式获取安装信息,而不需要在每个云操作系统中存储一份安装信息,减少了存储空间的浪费,且应用程序的数量越多,存储空间的利用率越高,另外,在接收到针对应用程序的触发指令时,由于云操作系统中已经提前安装了该应用程序,因此,可以直接启动该应用程序,不需要在云操作系统中临时安装该应用程序,提高了数据处理效率。The embodiment of the specification provides a data processing method, which is applied to a data management platform. By obtaining the installation information of an application to be launched, when it is determined that the application to be launched is running normally, the installation information of the application to be launched is sent to a preset server node, so that the preset server node stores the installation information of the application to be launched in a master disk directory, and there is a mapping relationship between the master disk directory and the installation directory of the cloud operating system corresponding to the preset server node, so that the cloud operating system mounts the installation directory, and based on the installation information of the application in the master disk directory, the application to be launched is installed in the cloud operating system. In this way, multiple cloud operating systems corresponding to the same server node can obtain the installation information by sharing the master disk directory of the service node, without the need to store a copy of the installation information in each cloud operating system, thereby reducing the waste of storage space, and the more applications there are, the higher the utilization rate of the storage space. In addition, when a trigger instruction for an application is received, since the application has been installed in advance in the cloud operating system, the application can be directly started, and there is no need to temporarily install the application in the cloud operating system, thereby improving data processing efficiency.
实施例六Embodiment 6
如图7所示,本说明书实施例提供一种数据处理方法,该方法的执行主体可以为服务器,该服务器可以是数据管理平台的服务器,该服务器可以是独立的服务器,也可以是由多个服务器组成的服务器集群。该方法具体可以包括以下步骤:As shown in FIG7 , an embodiment of the present specification provides a data processing method, the execution subject of the method may be a server, the server may be a server of a data management platform, the server may be an independent server, or a server cluster composed of multiple servers. The method may specifically include the following steps:
在S602中,获取待上线的应用程序的安装信息。In S602, the installation information of the application to be launched is obtained.
在S702中,将待上线的应用程序的安装信息发送至测试云操作系统,以通过测试云操作系统和安装信息,确定待上线的应用程序是否正常运行。In S702, the installation information of the application to be launched is sent to the test cloud operating system, so as to determine whether the application to be launched is running normally through the test cloud operating system and the installation information.
在实施中,数据管理平台在接收到运维人员上传的待上线的应用程序的安装信息后,可以根据该应用程序的类型,将安装信息发送至对应的一个或多个测试云操作系统进行测试,其中,测试云操作系统可以是与某服务器节点下创建的云操作系统,也可以是独立用于测试应用程序的云操作系统。During implementation, after receiving the installation information of the application to be launched uploaded by the operation and maintenance personnel, the data management platform can send the installation information to one or more corresponding test cloud operating systems for testing according to the type of the application. The test cloud operating system can be a cloud operating system created under a server node, or it can be an independent cloud operating system used to test the application.
在S604中,在确定待上线的应用程序正常运行的情况下,将待上线的应用程序的安装信息发送给预设服务器节点,以使预设服务器节点将待上线的应用程序的安装信息存储在母盘目录中。In S604, when it is determined that the application to be launched is running normally, the installation information of the application to be launched is sent to the preset server node, so that the preset server node stores the installation information of the application to be launched in the master disk directory.
其中,母盘目录与预设服务器节点对应的云操作系统的安装目录之间具备映射关系,以使云操作系统挂载安装目录,基于母盘目录中应用程序的安装信息,在云操作系统中安装与待上线的应用程序。Among them, there is a mapping relationship between the master disk directory and the installation directory of the cloud operating system corresponding to the preset server node, so that the cloud operating system mounts the installation directory and installs the application to be launched in the cloud operating system based on the installation information of the application in the master disk directory.
在实施中,若测试云操作系统为预设服务器节点下创建的操作系统,则在确定待上线的应用程序正常运行的情况下,测试云操作系统可以删除本地存储的该应用程序的安装信息,数据管理平台可以将待上线的应用程序的安装信息发送给预设服务器节点,这样,预设服务器节点下创建的多个云操作系统可以通过母盘目录,将待上线的应用程序扫描到云操作系统内。During implementation, if the test cloud operating system is an operating system created under a preset server node, then when it is determined that the application to be launched is running normally, the test cloud operating system can delete the installation information of the application stored locally, and the data management platform can send the installation information of the application to be launched to the preset server node. In this way, multiple cloud operating systems created under the preset server node can scan the application to be launched into the cloud operating system through the mother disk directory.
在S704中,基于待上线的应用程序的安装信息,以及预设服务器节点的母盘目录,生成应用列表,以使预设服务器节点对应的云操作系统基于应用列表和母盘目录中应用程序的安装信息,在云操作系统中安装与应用列表对应的待上线的应用程序。In S704, an application list is generated based on the installation information of the application to be launched and the mother disk directory of the preset server node, so that the cloud operating system corresponding to the preset server node installs the application to be launched corresponding to the application list in the cloud operating system based on the application list and the installation information of the application in the mother disk directory.
其中,应用列表还可以包括应用程序的版本号等信息。The application list may also include information such as version numbers of the application programs.
在实施中,数据管理平台可以根据预设服务器节点的母盘目录中的应用程序的安装信息,以及应用程序的版本号等信息,生成应用列表,预设服务器节点对应的云操作系统在启动后,就可以根据应用列表中的信息循环扫描所有应用程序,这样,在云操作系统扫描完成后,就可以将云操作系统分配给终端设备供用户使用了,即当用户点击登录某个应用程序时,由于云操作系统已经提前预制了应用程序,因此,用户就能直接打开该应用程序, 不需要在临时安装该应用程序。In implementation, the data management platform can generate an application list based on the installation information of the application in the master disk directory of the preset server node, as well as the version number of the application and other information. After the cloud operating system corresponding to the preset server node is started, it can cyclically scan all applications according to the information in the application list. In this way, after the cloud operating system scan is completed, the cloud operating system can be allocated to the terminal device for the user to use. That is, when the user clicks to log in to an application, since the cloud operating system has pre-made the application in advance, the user can directly open the application. There is no need to install the application temporarily.
在S706中,建立共享目标并存储至预设存储装置。In S706 , a sharing target is created and stored in a preset storage device.
其中,共享目录可以用于存储应用程序在运行过程中产生的运行数据。The shared directory can be used to store the running data generated by the application during its running.
在实施中,可以通过网络文件系统(Network Fil System,NFS)访问预设存储装置上建立的共享目录。During implementation, the shared directory established on the preset storage device can be accessed through the Network Fil System (NFS).
在S708中,将共享目录挂载到预设服务器节点对应的云操作系统的个性化目录。In S708, the shared directory is mounted to a personalized directory of the cloud operating system corresponding to the preset server node.
其中,个性化目录可以与共享目录之间具备映射关系,以使预设服务器节点对应的云操作系统挂载个性化目录,基于共享目录读取应用程序在运行过程中产生的运行数据。Among them, the personalized directory can have a mapping relationship with the shared directory, so that the cloud operating system corresponding to the preset server node mounts the personalized directory and reads the operation data generated by the application during the operation based on the shared directory.
在实施中,如图5所示,预设存储装置存储的共享目录可以挂载到多个预设服务器节点对应的云操作系统的个性化目录,其中,多个云操作系统中安装的应用程序相同,这样,多个云操作系统在运行某应用程序时,就可以挂载本地的个性化目录,获取共享目录中的运行数据。In implementation, as shown in FIG. 5 , the shared directory stored in the preset storage device can be mounted to the personalized directories of the cloud operating systems corresponding to multiple preset server nodes, wherein the applications installed in the multiple cloud operating systems are the same. In this way, when multiple cloud operating systems run a certain application, they can mount the local personalized directory and obtain the operating data in the shared directory.
在S710中,基于用户的用户标识,将与目标用户对应的应用程序在运行过程中产生的运行数据存储在共享目录内。In S710, based on the user identification of the user, the running data generated during the running of the application corresponding to the target user is stored in the shared directory.
在实施中,如图5所示,假设服务器节点1接收到用户1针对应用程序1的启动指令,服务器节点1可以将该启动指令分配到云操作系统1,数据管理平台可以触发云操作系统1将应用程序运行过程产生的运行数据,基于用户1的用户标识,存储在共享目录内。这样,当服务器节点2接收到用户1针对应用程序1的启动指令时,若服务器节点2将该启动指令分配到云操作系统3,那么,数据管理平台可以触发云操作系统3基于用户1的用户标识,挂载个性化目录,获取共享目录内与用户1对应的运行数据,以基于该运行数据运行应用程序。In implementation, as shown in FIG5 , assuming that server node 1 receives a startup instruction from user 1 for application 1, server node 1 can distribute the startup instruction to cloud operating system 1, and the data management platform can trigger cloud operating system 1 to store the operation data generated during the application operation process in a shared directory based on the user ID of user 1. Thus, when server node 2 receives a startup instruction from user 1 for application 1, if server node 2 distributes the startup instruction to cloud operating system 3, then the data management platform can trigger cloud operating system 3 to mount a personalized directory based on the user ID of user 1, obtain the operation data corresponding to user 1 in the shared directory, and run the application based on the operation data.
另外,预设存储装置中存储的运行数据可以根据用户标识、用户设备标识等生成共享目录。In addition, the operation data stored in the preset storage device can generate a shared directory according to the user identification, user equipment identification, etc.
在S712中,接收针对目标应用程序的下线指令。In S712, an offline instruction for the target application is received.
在实施中,运维人员可以在门户上操作,使得某个应用程序下线,这样用户就无法访问该应用程序,即数据管理平台可以接收针对目标应用程序的下线指令,其中,目标应用程序可以有一个或多个。During implementation, operation and maintenance personnel can operate on the portal to take an application offline so that users cannot access the application. That is, the data management platform can receive offline instructions for the target application, where there can be one or more target applications.
在S714中,响应于下线指令,对目标应用程序进行下线处理,并确定共享目录中与目标应用程序对应的目标运行数据。In S714, in response to the offline instruction, the target application is offline processed, and the target running data corresponding to the target application in the shared directory is determined.
在实施中,可以基于目标应用程序的标识,确定预设存储装置存储的共享目录中与目标应用程序对应的目标运行数据。In implementation, the target running data corresponding to the target application in the shared directory stored in the preset storage device may be determined based on the identifier of the target application.
在S716中,基于预设数据更新规则,对目标运行数据进行更新处理。In S716, the target operation data is updated based on the preset data update rule.
在实施中,在实际应用中,上述S716的处理方式可以多种多样,以下提供一种可选的实现方式,具体可以参见下述步骤一~步骤二处理:In implementation, in actual applications, the processing methods of the above S716 can be various. The following provides an optional implementation method, which can be specifically referred to in the following steps 1 to 2:
步骤一,获取目标运行数据的产生时间。Step 1: Obtain the generation time of the target running data.
其中,产生时间可以是用户通过用户设备触发运行目标应用程序产生目标运行数据的时间。The generation time may be the time when the user triggers the running of the target application through the user equipment to generate the target running data.
步骤二,若产生时间大于预设更新时长,则在共享目录中删除目标运行数据。Step 2: If the generation time is greater than the preset update time, the target running data is deleted in the shared directory.
在实施中,若下线后的应用程序再重新上线,用户的所有操作都需要重新开始,如登录造作等,因此,为防止下线应用程序再次上线后,用户需要重新操作,可以暂时保留用户的运行数据,即若目标应用程序的目标运行数据的产生时间不大于预设更新时长,则可以保留共享目录中的目标运行数据,其中,更新时长可以为1个月、3个月、半年等。另外,为避免存储空间的浪费,也可以删除老化数据,即若目标应用程序的目标运行数据的产生时间大于预设更新时长,则可以在共享目录中删除目标运行数据。即可以通过目标数据,对共享目录中存储的数据进行老化删除处理。 In practice, if an application that has been offline is put back online, all user operations need to be restarted, such as logging in. Therefore, in order to prevent the user from having to re-operate after the offline application is put online again, the user's operating data can be temporarily retained, that is, if the generation time of the target operating data of the target application is not greater than the preset update time, the target operating data in the shared directory can be retained, where the update time can be 1 month, 3 months, half a year, etc. In addition, in order to avoid wasting storage space, aging data can also be deleted, that is, if the generation time of the target operating data of the target application is greater than the preset update time, the target operating data can be deleted in the shared directory. That is, the data stored in the shared directory can be aged and deleted through the target data.
本说明书实施例提供一种数据处理方法,应用于数据管理平台,通过获取待上线的应用程序的安装信息,在确定待上线的应用程序正常运行的情况下,将待上线的应用程序的安装信息发送给预设服务器节点,以使预设服务器节点将待上线的应用程序的安装信息存储在母盘目录中,母盘目录与预设服务器节点对应的云操作系统的安装目录之间具备映射关系,以使云操作系统挂载所述安装目录,基于母盘目录中应用程序的安装信息,在云操作系统中安装与所述待上线的应用程序。这样,同一服务器节点对应的多个云操作系统就可以通过共享服务节点的母盘目录的方式获取安装信息,而不需要在每个云操作系统中存储一份安装信息,减少了存储空间的浪费,且应用程序的数量越多,存储空间的利用率越高,另外,在接收到针对应用程序的触发指令时,由于云操作系统中已经提前安装了该应用程序,因此,可以直接启动该应用程序,不需要在云操作系统中临时安装该应用程序,提高了数据处理效率。The embodiment of the specification provides a data processing method, which is applied to a data management platform. By obtaining the installation information of an application to be launched, when it is determined that the application to be launched is running normally, the installation information of the application to be launched is sent to a preset server node, so that the preset server node stores the installation information of the application to be launched in a master disk directory, and there is a mapping relationship between the master disk directory and the installation directory of the cloud operating system corresponding to the preset server node, so that the cloud operating system mounts the installation directory, and based on the installation information of the application in the master disk directory, the application to be launched is installed in the cloud operating system. In this way, multiple cloud operating systems corresponding to the same server node can obtain the installation information by sharing the master disk directory of the service node, without the need to store a copy of the installation information in each cloud operating system, thereby reducing the waste of storage space, and the more applications there are, the higher the utilization rate of the storage space. In addition, when a trigger instruction for an application is received, since the application has been installed in advance in the cloud operating system, the application can be directly started, and there is no need to temporarily install the application in the cloud operating system, thereby improving data processing efficiency.
实施例七Embodiment 7
本说明书实施例提供一种数据处理系统,该数据处理系统包括云操作系统、服务器节点和数据管理平台,其中,数据管理平台,用于获取待上线的应用程序的安装信息,并在在确定待上线的应用程序正常运行的情况下,将待上线的应用程序的安装信息发送给预设服务器节点。An embodiment of the present specification provides a data processing system, which includes a cloud operating system, a server node and a data management platform, wherein the data management platform is used to obtain installation information of an application to be launched, and when it is determined that the application to be launched is running normally, the installation information of the application to be launched is sent to a preset server node.
服务器节点,用于将待上线的应用程序的安装信息存储在服务器节点的母盘目录中,并将服务器节点的母盘目录挂载到与服务器节点对应的云操作系统中的安装目录,服务器节点的母盘目录基于应用程序的安装信息构建得到。The server node is used to store the installation information of the application to be launched in the master disk directory of the server node, and mount the master disk directory of the server node to the installation directory in the cloud operating system corresponding to the server node. The master disk directory of the server node is constructed based on the installation information of the application.
云操作系统,用于接收针对云操作系统的启动指令,响应于启动指令,挂载云操作系统的安装目录,安装目录与云操作系统对应的服务器节点的母盘目录之间具备映射关系,基于母盘目录中应用程序的安装信息,在云操作系统中安装与安装信息对应的应用程序。The cloud operating system is used to receive a startup instruction for the cloud operating system, and in response to the startup instruction, mount the installation directory of the cloud operating system. There is a mapping relationship between the installation directory and the mother disk directory of the server node corresponding to the cloud operating system. Based on the installation information of the application in the mother disk directory, the application corresponding to the installation information is installed in the cloud operating system.
云侧应用模板的制作,可以至云操作系统提前安装好应用程序,避免用户的手动安装,应用模板的制作过程即为应用程序的安装果汁,通常,应用程序可以安装在云操作系统的/data/app目录中。如图8所示,云侧应用模板的制作的目的是将应用程序安装在云操作系统的/oem/app目录下,并通过数据管理平台将待上线的应用程序的安装信息拨测到预设服务器节点的母盘目录/workdir/app,这样,所有部署在该预设服务器节点上的云操作系统都可以通过挂载母盘目录的方式使用同一份应用模板(即安装信息)。The production of cloud-side application templates can install applications in advance in the cloud operating system to avoid manual installation by users. The production process of application templates is the installation juice of applications. Usually, applications can be installed in the /data/app directory of the cloud operating system. As shown in Figure 8, the purpose of the production of cloud-side application templates is to install applications in the /oem/app directory of the cloud operating system, and to dial the installation information of the application to be launched to the master disk directory /workdir/app of the preset server node through the data management platform. In this way, all cloud operating systems deployed on the preset server node can use the same application template (i.e., installation information) by mounting the master disk directory.
如图9所示,云侧应用模板的制作可以包括以下步骤:As shown in FIG9 , the preparation of a cloud-side application template may include the following steps:
1、运维人员在门户上传待上线的应用程序的安装信息。1. The operation and maintenance personnel upload the installation information of the application to be launched on the portal.
2、如图8所示,数据管理平台将安装信息发送至测试云操作系统进行测试,可以在云操作系统中的安装目录(即/oem/app目录)安装该应用程序。2. As shown in FIG8 , the data management platform sends the installation information to the test cloud operating system for testing, and the application can be installed in the installation directory (i.e., the /oem/app directory) in the cloud operating system.
3、运维人员通过拨测终端设备进入该测试云操作系统,打开安装完成的应用程序,测试该应用程序是否可以正常运行。3. The operation and maintenance personnel enter the test cloud operating system through the dial-up test terminal device, open the installed application, and test whether the application can run normally.
4、如果该应用程序能够正常运行,就可以通过数据管理平台器将测试云操作系统的/oem/app目录下的应用程序拨测到对应的服务器节点的母盘目录(即/workdir/app目录)。如果应用程序出现闪退等异常使用情况,表示该应用程序应用还未达到上线标准,需要进行删除处理。4. If the application can run normally, you can use the data management platform to dial the application in the /oem/app directory of the test cloud operating system to the master disk directory of the corresponding server node (i.e. /workdir/app directory). If the application crashes or other abnormal usage occurs, it means that the application has not met the online standards and needs to be deleted.
5、若应用程序未出现闪退等异常使用情况,即可以进入上线流程,即可以将/oem/app目录下的应用程序写入进云操作系统内,这时待上线的应用程序就在云操作系统内安装完成,用户可以通过终端设备使用该应用程序。5. If the application does not crash or have any abnormal usage, you can enter the online process, that is, you can write the application in the /oem/app directory into the cloud operating system. At this time, the application to be launched is installed in the cloud operating system, and users can use the application through terminal devices.
服务器节点的/workdir/app/目录,是云操作系统内部挂载的/oem/app/目录在服务器节点的映射。这样,事先静态挂载好的服务器节点下的所有云操作系统就能看到应用程序的母盘目录,并将/oem/app目录下的应用程序的安装信息扫描进云操作系统内。云操作系统可以预制很多应用程序,数据管理平台可以维护由母盘目录等确定的应用列表,除单个应 用程序的上线场景会涉及云操作系统扫描母盘目录,云操作系统在启动后,可以根据应用列表循环扫描所有上线的应用程序,这样,当用户点击登录某个应用程序时,由于云操作系统内已经提前预制了应用程序,用户就可以直接打开某个应用程序,而不用再临时安装。The /workdir/app/ directory of the server node is a mapping of the /oem/app/ directory mounted inside the cloud operating system to the server node. In this way, all cloud operating systems under the server nodes that have been statically mounted in advance can see the application's master disk directory and scan the application's installation information under the /oem/app directory into the cloud operating system. The cloud operating system can pre-fabricate many applications, and the data management platform can maintain the application list determined by the master disk directory, etc., except for a single application. The online scenario of the application will involve the cloud operating system scanning the mother disk directory. After the cloud operating system is started, it can cyclically scan all online applications according to the application list. In this way, when the user clicks to log in to an application, since the application has been pre-made in the cloud operating system, the user can directly open the application without temporary installation.
此外,云操作系统还用于接收目标用户针对目标应用程序的启动指令,响应于启动指令,挂载云操作系统的个性化目录,基于目标用户的用户标识和共享目录,读取与目标用户以及目标应用程序对应的运行数据,并基于与目标用户对应的运行数据,运行目标应用程序,其中,目标应用程序为云操作系统基于安装信息安装完成的应用程序,个性化目录与共享目录之间具备映射关系,共享目录用于存储应用程序在运行过程中产生的运行数据。In addition, the cloud operating system is also used to receive a startup instruction from a target user for a target application, mount a personalized directory of the cloud operating system in response to the startup instruction, read operating data corresponding to the target user and the target application based on the user ID and shared directory of the target user, and run the target application based on the operating data corresponding to the target user, wherein the target application is an application installed by the cloud operating system based on the installation information, and there is a mapping relationship between the personalized directory and the shared directory, and the shared directory is used to store operating data generated by the application during its operation.
如图9所示,在应用程序启动时,云操作系统可以创建个性化目录(即/appdata/目录),用于存储应用程序在运行过程中产生的运行数据,可以通过预制个性化目录到网络文件系统,使得同一服务器节点下的所有云操作都能共享共享目录中的运行数据。As shown in Figure 9, when the application is started, the cloud operating system can create a personalized directory (i.e., the /appdata/ directory) to store the running data generated by the application during its operation. By prefabricating the personalized directory to the network file system, all cloud operations under the same server node can share the running data in the shared directory.
当用户在终端设备上点击某个页面,终端设备会分配一台空闲的云操作系统,终端设备可以与该云操作系统建立连接,云操作系统可以接收终端设备上产的唯一用户标识(如userid),云操作系统在运行应用程序之前,可以根据userid,创建与该用户对应的个性化目录,所有应用程序的个性化数据(即应用程序运行过程中产生的运行数据)可以存放在/appdata/下,为了区分不同的userid,保存不同用户登录应用的个性化数据,最终,与用户对应的运行数据在个性化目录下的目录可以在/appdata/userid/data/user/0/下,其中,如图9所示,可以基于预设摘要生成算法,生成与用户对应的运行数据对应的摘要,并基于该摘要生成个性化目录,这样,当用户首次登录时可以创建该个性化目录,非首次登录时,应用程序在运行时可以直接读取该个性化目录下的运行数据,以实现不同的用户接入不同的云操作系统时,可以获取各自独立的运行数据,避免了动态挂载方式导致的接入时间较长的问题,提高了数据处理效率。When a user clicks on a page on a terminal device, the terminal device will allocate an idle cloud operating system. The terminal device can establish a connection with the cloud operating system. The cloud operating system can receive a unique user identifier (such as userid) generated on the terminal device. Before running the application, the cloud operating system can create a personalized directory corresponding to the user based on the userid. The personalized data of all applications (i.e., the running data generated during the running of the application) can be stored in /appdata/. In order to distinguish different userids and save the personalized data of different users logging into the application, finally, the directory of the running data corresponding to the user under the personalized directory can be /appdata/userid/data/user/0/. As shown in FIG9 , a summary corresponding to the running data corresponding to the user can be generated based on a preset summary generation algorithm, and a personalized directory is generated based on the summary. In this way, the personalized directory can be created when the user logs in for the first time. When it is not the first time to log in, the application can directly read the running data under the personalized directory when it is running, so that different users can obtain their own independent running data when accessing different cloud operating systems, avoiding the problem of long access time caused by the dynamic mounting method and improving data processing efficiency.
本说明书实施例提供一种数据处理系统,该数据处理系统包括云操作系统、服务器节点和数据管理平台,其中,数据管理平台,可以用于获取待上线的应用程序的安装信息,并在在确定待上线的应用程序正常运行的情况下,将待上线的应用程序的安装信息发送给预设服务器节点。服务器节点,可以用于将待上线的应用程序的安装信息存储在服务器节点的母盘目录中,并将服务器节点的母盘目录挂载到与服务器节点对应的云操作系统中的安装目录。云操作系统,可以用于接收针对云操作系统的启动指令,响应于启动指令,挂载云操作系统的安装目录,安装目录与云操作系统对应的服务器节点的母盘目录之间具备映射关系,基于母盘目录中应用程序的安装信息,在云操作系统中安装与安装信息对应的应用程序。同一服务器节点对应的多个云操作系统就可以通过共享服务节点的母盘目录的方式获取安装信息,而不需要在每个云操作系统中存储一份安装信息,减少了存储空间的浪费,且应用程序的数量越多,存储空间的利用率越高,另外,在接收到针对应用程序的触发指令时,由于云操作系统中已经提前安装了该应用程序,因此,可以直接启动该应用程序,不需要在云操作系统中临时安装该应用程序,提高了数据处理效率。The embodiment of the present specification provides a data processing system, which includes a cloud operating system, a server node and a data management platform, wherein the data management platform can be used to obtain the installation information of the application to be launched, and when it is determined that the application to be launched is running normally, the installation information of the application to be launched is sent to the preset server node. The server node can be used to store the installation information of the application to be launched in the master disk directory of the server node, and mount the master disk directory of the server node to the installation directory in the cloud operating system corresponding to the server node. The cloud operating system can be used to receive a startup instruction for the cloud operating system, and in response to the startup instruction, mount the installation directory of the cloud operating system, and there is a mapping relationship between the installation directory and the master disk directory of the server node corresponding to the cloud operating system. Based on the installation information of the application in the master disk directory, the application corresponding to the installation information is installed in the cloud operating system. Multiple cloud operating systems corresponding to the same server node can obtain installation information by sharing the mother disk directory of the service node, without storing a copy of the installation information in each cloud operating system, thereby reducing the waste of storage space. The more applications there are, the higher the utilization rate of the storage space. In addition, when a trigger instruction for an application is received, since the application has been installed in the cloud operating system in advance, the application can be started directly without the need to temporarily install the application in the cloud operating system, thereby improving data processing efficiency.
实施例八Embodiment 8
以上为本说明书实施例提供的数据处理方法,基于同样的思路,本说明书实施例还提供一种数据处理装置,如图10所示。The above is the data processing method provided in the embodiment of this specification. Based on the same idea, the embodiment of this specification also provides a data processing device, as shown in FIG10 .
该数据处理装置包括:第一接收模块1001、第一挂载模块1002和程序安装模块1003,其中:第一接收模块1001,用于接收针对所述云操作系统的启动指令;第一挂载模块1002,用于响应于所述启动指令,挂载所述云操作系统的安装目录,所述安装目录与所述云操作系统对应的服务器节点的母盘目录之间具备映射关系;程序安装模块1003,用于基于所述母盘目录中应用程序的安装信息,在所述云操作系统中安装与所述安装信息对应的应用程序。The data processing device includes: a first receiving module 1001, a first mounting module 1002 and a program installation module 1003, wherein: the first receiving module 1001 is used to receive a startup instruction for the cloud operating system; the first mounting module 1002 is used to mount the installation directory of the cloud operating system in response to the startup instruction, and there is a mapping relationship between the installation directory and the mother disk directory of the server node corresponding to the cloud operating system; the program installation module 1003 is used to install the application corresponding to the installation information in the cloud operating system based on the installation information of the application in the mother disk directory.
本说明书实施例中,所述装置还包括:第二接收模块,用于接收目标用户针对目标应 用程序的启动指令,所述目标应用程序为所述云操作系统基于所述安装信息安装完成的应用程序;第二挂载模块,用于响应于所述启动指令,挂载所述云操作系统的个性化目录,所述个性化目录与共享目录之间具备映射关系,所述共享目录用于存储应用程序在运行过程中产生的运行数据;运行模块,用于基于所述目标用户的用户标识和所述共享目录,读取与所述目标用户以及所述目标应用程序对应的运行数据,并基于所述与所述目标用户以及所述目标应用程序对应的运行数据,运行所述目标应用程序。In the embodiment of this specification, the device further includes: a second receiving module, configured to receive a target user's request for a target application. The target application is an application that is installed by the cloud operating system based on the installation information; a second mounting module is used to mount a personalized directory of the cloud operating system in response to the startup instruction, and there is a mapping relationship between the personalized directory and the shared directory, and the shared directory is used to store running data generated by the application during its running; an running module is used to read the running data corresponding to the target user and the target application based on the user identifier of the target user and the shared directory, and run the target application based on the running data corresponding to the target user and the target application.
基于同样的思路,本说明书实施例还提供一种数据处理装置,如图11所示。Based on the same idea, the embodiment of this specification also provides a data processing device, as shown in FIG11 .
该数据处理装置包括:信息获取模块1101和第一挂载模块1102,其中:信息获取模块1101,用于获取待上线的应用程序的安装信息,并将所述待上线的应用程序的安装信息存储在所述服务器节点的母盘目录中,所述服务器节点的母盘目录基于应用程序的安装信息构建得到;第一挂载模块1102,用于将所述服务器节点的母盘目录挂载到与所述服务器节点对应的云操作系统中的安装目录,所述服务器节点的母盘目录与所述安装目录之间具备映射关系,以使所述服务器节点对应的云操作系统挂载所述安装目录,基于所述服务器节点的母盘目录中的应用程序的安装信息,在所述服务器节点对应的云操作系统中安装所述待上线的应用程序。The data processing device includes: an information acquisition module 1101 and a first mounting module 1102, wherein: the information acquisition module 1101 is used to obtain the installation information of the application to be launched, and store the installation information of the application to be launched in the master disk directory of the server node, the master disk directory of the server node is constructed based on the installation information of the application; the first mounting module 1102 is used to mount the master disk directory of the server node to the installation directory in the cloud operating system corresponding to the server node, and there is a mapping relationship between the master disk directory of the server node and the installation directory, so that the cloud operating system corresponding to the server node mounts the installation directory, and based on the installation information of the application in the master disk directory of the server node, the application to be launched is installed in the cloud operating system corresponding to the server node.
本说明书实施例中,所述装置还包括:第二挂载模块,用于将所述服务器节点的母盘目录挂载到与所述服务器节点对应的目标服务器节点的母盘目录,所述服务器节点的母盘目录与所述目标服务器节点的母盘目录之间具备映射关系,以使所述目标服务器节点对应的云操作系统,挂载与所述目标服务器节点的母盘目录之间具备映射关系的目标安装目录,基于所述服务器节点的母盘目录中应用程序的安装信息,在所述目标服务器节点对应的云操作系统中安装所述待上线的应用程序。In an embodiment of the present specification, the device also includes: a second mounting module, used to mount the mother disk directory of the server node to the mother disk directory of the target server node corresponding to the server node, and there is a mapping relationship between the mother disk directory of the server node and the mother disk directory of the target server node, so that the cloud operating system corresponding to the target server node mounts the target installation directory that has a mapping relationship with the mother disk directory of the target server node, and based on the installation information of the application in the mother disk directory of the server node, installs the application to be launched in the cloud operating system corresponding to the target server node.
基于同样的思路,本说明书实施例还提供一种数据处理装置,如图12所示。Based on the same idea, the embodiment of this specification also provides a data processing device, as shown in FIG12 .
该数据处理装置包括:信息获取模块1201和第一发送模块1202,其中:The data processing device includes: an information acquisition module 1201 and a first sending module 1202, wherein:
信息获取模块1201,用于获取待上线的应用程序的安装信息;第一发送模块1202,用于在确定所述待上线的应用程序正常运行的情况下,将所述待上线的应用程序的安装信息发送给预设服务器节点,以使所述预设服务器节点将所述待上线的应用程序的安装信息存储在母盘目录中,所述母盘目录与所述预设服务器节点对应的云操作系统的安装目录之间具备映射关系,以使所述云操作系统挂载所述安装目录,基于所述母盘目录中应用程序的安装信息,在所述云操作系统中安装与所述待上线的应用程序。The information acquisition module 1201 is used to obtain the installation information of the application to be launched. The first sending module 1202 is used to send the installation information of the application to be launched to the preset server node when it is determined that the application to be launched is running normally, so that the preset server node stores the installation information of the application to be launched in the mother disk directory, and there is a mapping relationship between the mother disk directory and the installation directory of the cloud operating system corresponding to the preset server node, so that the cloud operating system mounts the installation directory, and installs the application to be launched in the cloud operating system based on the installation information of the application in the mother disk directory.
本说明书实施例中,所述装置还包括:第二发送模块,用于将所述待上线的应用程序的安装信息发送至测试云操作系统,以通过所述测试云操作系统和所述安装信息,确定所述待上线的应用程序是否正常运行。In an embodiment of the present specification, the device further includes: a second sending module, used to send the installation information of the application to be launched to the test cloud operating system, so as to determine whether the application to be launched is running normally through the test cloud operating system and the installation information.
本说明书实施例中,所述装置还包括:生成模块,用于基于所述待上线的应用程序的安装信息,以及所述预设服务器节点的母盘目录,生成应用列表,以使所述预设服务器节点对应的云操作系统基于所述应用列表和所述母盘目录中应用程序的安装信息,在所述云操作系统中安装与所述应用列表对应的待上线的应用程序。In an embodiment of the present specification, the device also includes: a generation module, which is used to generate an application list based on the installation information of the application to be launched and the mother disk directory of the preset server node, so that the cloud operating system corresponding to the preset server node installs the application to be launched corresponding to the application list in the cloud operating system based on the application list and the installation information of the application in the mother disk directory.
本说明书实施例中,所述装置还包括:建立模块,用于建立共享目录并存储至预设存储装置,所述共享目录用于存储应用程序在运行过程中产生的运行数据;挂载模块,用于将所述的共享目录挂载到所述预设服务器节点对应的云操作系统的个性化目录,所述个性化目录与所述共享目录之间具备映射关系,以使所述预设服务器节点对应的云操作系统挂载所述个性化目录,基于所述享目录读取应用程序在运行过程中产生的运行数据。In an embodiment of the present specification, the device also includes: an establishment module, used to establish a shared directory and store it in a preset storage device, wherein the shared directory is used to store operating data generated by the application during its operation; a mounting module, used to mount the shared directory to a personalized directory of the cloud operating system corresponding to the preset server node, and there is a mapping relationship between the personalized directory and the shared directory, so that the cloud operating system corresponding to the preset server node mounts the personalized directory and reads the operating data generated by the application during its operation based on the shared directory.
本说明书实施例中,所述装置还包括:存储模块,用于基于用户的用户标识,将与所述目标用户对应的应用程序在运行过程中产生的运行数据存储在所述共享目录内。In the embodiment of the present specification, the device further includes: a storage module, which is used to store the operation data generated during the operation of the application corresponding to the target user in the shared directory based on the user identification of the user.
本说明书实施例中,所述装置还包括:接收模块,用于接收针对目标应用程序的下线指令;处理模块,用于响应于所述下线指令,对所述目标应用程序进行下线处理,并确定 所述共享目录中与所述目标应用程序对应的目标运行数据;更新模块,用于基于预设数据更新规则,对所述目标运行数据进行更新处理。In the embodiment of the present specification, the device further includes: a receiving module for receiving an offline instruction for a target application; a processing module for performing offline processing on the target application in response to the offline instruction, and determining The target operation data corresponding to the target application in the shared directory; an update module, used to update the target operation data based on a preset data update rule.
本说明书实施例中,所述更新模块,用于:获取所述目标运行数据的产生时间;若所述产生时间大于预设更新时长,则在所述共享目录中删除所述目标运行数据。In the embodiment of the present specification, the update module is used to: obtain the generation time of the target operation data; if the generation time is greater than the preset update duration, delete the target operation data in the shared directory.
本说明书实施例提供一种数据处理装置,同一服务器节点对应的多个云操作系统就可以通过共享服务节点的母盘目录的方式获取安装信息,而不需要在每个云操作系统中存储一份安装信息,减少了存储空间的浪费,且应用程序的数量越多,存储空间的利用率越高,另外,在接收到针对应用程序的触发指令时,由于云操作系统中已经提前安装了该应用程序,因此,可以直接启动该应用程序,不需要在云操作系统中临时安装该应用程序,提高了数据处理效率。The embodiments of the present specification provide a data processing device, and multiple cloud operating systems corresponding to the same server node can obtain installation information by sharing the mother disk directory of the service node, without storing a copy of the installation information in each cloud operating system, thereby reducing the waste of storage space. The more applications there are, the higher the utilization rate of the storage space. In addition, when a trigger instruction for an application is received, since the application has been installed in advance in the cloud operating system, the application can be directly started without the need to temporarily install the application in the cloud operating system, thereby improving data processing efficiency.
实施例九Embodiment 9
基于同样的思路,本说明书实施例还提供一种数据处理设备,如图13所示。Based on the same idea, the embodiment of this specification also provides a data processing device, as shown in FIG13 .
数据处理设备可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上的处理器1301和存储器1302,存储器1302中可以存储有一个或一个以上存储应用程序或数据。其中,存储器1302可以是短暂存储或持久存储。存储在存储器1302的应用程序可以包括一个或一个以上模块(图示未示出),每个模块可以包括对数据处理设备中的一系列计算机可执行指令。更进一步地,处理器1301可以设置为与存储器1302通信,在数据处理设备上执行存储器1302中的一系列计算机可执行指令。数据处理设备还可以包括一个或一个以上电源1303,一个或一个以上有线或无线网络接口1304,一个或一个以上输入输出接口1305,一个或一个以上键盘1306。The data processing device may have relatively large differences due to different configurations or performances, and may include one or more processors 1301 and memory 1302, and the memory 1302 may store one or more storage applications or data. Among them, the memory 1302 may be a temporary storage or a permanent storage. The application stored in the memory 1302 may include one or more modules (not shown in the figure), and each module may include a series of computer executable instructions in the data processing device. Furthermore, the processor 1301 may be configured to communicate with the memory 1302 to execute a series of computer executable instructions in the memory 1302 on the data processing device. The data processing device may also include one or more power supplies 1303, one or more wired or wireless network interfaces 1304, one or more input and output interfaces 1305, and one or more keyboards 1306.
具体在本实施例中,数据处理设备包括有存储器,以及一个或一个以上的程序,其中一个或者一个以上程序存储于存储器中,且一个或者一个以上程序可以包括一个或一个以上模块,且每个模块可以包括对数据处理设备中的一系列计算机可执行指令,且经配置以由一个或者一个以上处理器执行该一个或者一个以上程序包含用于进行以下计算机可执行指令:接收针对所述数据处理设备的启动指令;响应于所述启动指令,挂载所述数据处理设备的安装目录,所述安装目录与所述数据处理设备对应的服务器节点的母盘目录之间具备映射关系;基于所述母盘目录中应用程序的安装信息,在所述数据处理设备中安装与所述安装信息对应的应用程序。Specifically in this embodiment, the data processing device includes a memory, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer executable instructions for the data processing device, and the one or more programs are configured to be executed by one or more processors, including computer executable instructions for performing the following: receiving a startup instruction for the data processing device; in response to the startup instruction, mounting an installation directory of the data processing device, wherein the installation directory has a mapping relationship with the master disk directory of the server node corresponding to the data processing device; based on the installation information of the application in the master disk directory, installing the application corresponding to the installation information in the data processing device.
可选地,所述方法还包括:接收目标用户针对目标应用程序的启动指令,所述目标应用程序为所述数据处理设备基于所述安装信息安装完成的应用程序;响应于所述启动指令,挂载所述数据处理设备的个性化目录,所述个性化目录与共享目录之间具备映射关系,所述共享目录用于存储应用程序在运行过程中产生的运行数据;基于所述目标用户的用户标识和所述共享目录,读取与所述目标用户以及所述目标应用程序对应的运行数据,并基于所述与所述目标用户以及所述目标应用程序对应的运行数据,运行所述目标应用程序。Optionally, the method also includes: receiving a startup instruction from a target user for a target application, the target application being an application installed by the data processing device based on the installation information; in response to the startup instruction, mounting a personalized directory of the data processing device, the personalized directory having a mapping relationship with a shared directory, the shared directory being used to store running data generated by the application during its running; based on the user identifier of the target user and the shared directory, reading the running data corresponding to the target user and the target application, and running the target application based on the running data corresponding to the target user and the target application.
此外,经配置以由一个或者一个以上处理器执行该一个或者一个以上程序还包含用于进行以下计算机可执行指令:获取待上线的应用程序的安装信息,并将所述待上线的应用程序的安装信息存储在所述服务器节点的母盘目录中,所述服务器节点的母盘目录基于应用程序的安装信息构建得到;将所述服务器节点的母盘目录挂载到与所述服务器节点对应的云操作系统中的安装目录,所述服务器节点的母盘目录与所述安装目录之间具备映射关系,以使所述服务器节点对应的云操作系统挂载所述安装目录,基于所述服务器节点的母盘目录中的应用程序的安装信息,在所述服务器节点对应的云操作系统中安装所述待上线的应用程序。In addition, the one or more programs configured to be executed by one or more processors also include the following computer executable instructions: obtaining installation information of the application to be launched, and storing the installation information of the application to be launched in the master disk directory of the server node, the master disk directory of the server node being constructed based on the installation information of the application; mounting the master disk directory of the server node to the installation directory in the cloud operating system corresponding to the server node, the master disk directory of the server node and the installation directory having a mapping relationship so that the cloud operating system corresponding to the server node mounts the installation directory, and based on the installation information of the application in the master disk directory of the server node, installs the application to be launched in the cloud operating system corresponding to the server node.
可选地,所述方法还包括:将所述服务器节点的母盘目录挂载到与所述服务器节点对应的目标服务器节点的母盘目录,所述服务器节点的母盘目录与所述目标服务器节点的母盘目录之间具备映射关系,以使所述目标服务器节点对应的云操作系统,挂载与所述目标 服务器节点的母盘目录之间具备映射关系的目标安装目录,基于所述服务器节点的母盘目录中应用程序的安装信息,在所述目标服务器节点对应的云操作系统中安装所述待上线的应用程序。Optionally, the method further comprises: mounting the master disk directory of the server node to the master disk directory of the target server node corresponding to the server node, wherein the master disk directory of the server node and the master disk directory of the target server node have a mapping relationship, so that the cloud operating system corresponding to the target server node mounts the master disk directory corresponding to the target server node. The target installation directory has a mapping relationship between the master disk directories of the server nodes, and based on the installation information of the application in the master disk directory of the server node, the application to be launched is installed in the cloud operating system corresponding to the target server node.
此外,经配置以由一个或者一个以上处理器执行该一个或者一个以上程序还包含用于进行以下计算机可执行指令:获取待上线的应用程序的安装信息;在确定所述待上线的应用程序正常运行的情况下,将所述待上线的应用程序的安装信息发送给预设服务器节点,以使所述预设服务器节点将所述待上线的应用程序的安装信息存储在母盘目录中,所述母盘目录与所述预设服务器节点对应的云操作系统的安装目录之间具备映射关系,以使所述云操作系统挂载所述安装目录,基于所述母盘目录中应用程序的安装信息,在所述云操作系统中安装与所述待上线的应用程序。In addition, the one or more programs are configured to be executed by one or more processors and also include computer executable instructions for performing the following: obtaining installation information of the application to be launched; when it is determined that the application to be launched is running normally, sending the installation information of the application to be launched to a preset server node, so that the preset server node stores the installation information of the application to be launched in a mother disk directory, and there is a mapping relationship between the mother disk directory and the installation directory of the cloud operating system corresponding to the preset server node, so that the cloud operating system mounts the installation directory, and based on the installation information of the application in the mother disk directory, installs the application to be launched in the cloud operating system.
可选地,在所述在确定所述待上线的应用程序正常运行的情况下,将所述待上线的应用程序的安装信息发送给预设服务器节点之前,还包括:将所述待上线的应用程序的安装信息发送至测试云操作系统,以通过所述测试云操作系统和所述安装信息,确定所述待上线的应用程序是否正常运行。Optionally, when it is determined that the application to be launched is running normally, before sending the installation information of the application to be launched to the preset server node, it also includes: sending the installation information of the application to be launched to the test cloud operating system, so as to determine whether the application to be launched is running normally through the test cloud operating system and the installation information.
可选地,所述方法还包括:基于所述待上线的应用程序的安装信息,以及所述预设服务器节点的母盘目录,生成应用列表,以使所述预设服务器节点对应的云操作系统基于所述应用列表和所述母盘目录中应用程序的安装信息,在所述云操作系统中安装与所述应用列表对应的待上线的应用程序。Optionally, the method also includes: generating an application list based on the installation information of the application to be launched and the mother disk directory of the preset server node, so that the cloud operating system corresponding to the preset server node installs the application to be launched corresponding to the application list in the cloud operating system based on the application list and the installation information of the application in the mother disk directory.
可选地,所述方法还包括:建立共享目录并存储至预设存储装置,所述共享目录用于存储应用程序在运行过程中产生的运行数据;将所述共享目录挂载到所述预设服务器节点对应的云操作系统的个性化目录,所述个性化目录与所述共享目录之间具备映射关系,以使所述预设服务器节点对应的云操作系统挂载所述个性化目录,基于所述存储装置的共享目录读取应用程序在运行过程中产生的运行数据。Optionally, the method also includes: establishing a shared directory and storing it in a preset storage device, wherein the shared directory is used to store running data generated by the application during its operation; mounting the shared directory to a personalized directory of the cloud operating system corresponding to the preset server node, and there is a mapping relationship between the personalized directory and the shared directory, so that the cloud operating system corresponding to the preset server node mounts the personalized directory and reads the running data generated by the application during its operation based on the shared directory of the storage device.
可选地,所述方法还包括:基于用户的用户标识,将与所述目标用户对应的应用程序在运行过程中产生的运行数据存储在所述共享目录内。Optionally, the method further includes: based on a user identifier of the user, storing operation data generated during the operation of the application corresponding to the target user in the shared directory.
可选地,所述方法还包括:接收针对目标应用程序的下线指令;响应于所述下线指令,对所述目标应用程序进行下线处理,并确定所述共享目录中与所述目标应用程序对应的目标运行数据;基于预设数据更新规则,对所述目标运行数据进行更新处理。Optionally, the method further includes: receiving an offline instruction for a target application; in response to the offline instruction, performing offline processing on the target application, and determining target operating data corresponding to the target application in the shared directory; and updating the target operating data based on preset data update rules.
可选地,所述基于预设数据更新规则,对所述目标运行数据进行更新处理,包括:获取所述目标运行数据的产生时间;若所述产生时间大于预设更新时长,则在所述共享目录中删除所述目标运行数据。Optionally, the updating process of the target operation data based on preset data updating rules includes: obtaining the generation time of the target operation data; if the generation time is greater than a preset update duration, deleting the target operation data in the shared directory.
本说明书实施例提供一种数据处理设备,同一服务器节点对应的多个云操作系统就可以通过共享服务节点的母盘目录的方式获取安装信息,而不需要在每个云操作系统中存储一份安装信息,减少了存储空间的浪费,且应用程序的数量越多,存储空间的利用率越高,另外,在接收到针对应用程序的触发指令时,由于云操作系统中已经提前安装了该应用程序,因此,可以直接启动该应用程序,不需要在云操作系统中临时安装该应用程序,提高了数据处理效率。The embodiments of the present specification provide a data processing device, and multiple cloud operating systems corresponding to the same server node can obtain installation information by sharing the mother disk directory of the service node, without storing a copy of the installation information in each cloud operating system, thereby reducing the waste of storage space. The more applications there are, the higher the utilization rate of the storage space. In addition, when a trigger instruction for an application is received, since the application has been installed in advance in the cloud operating system, the application can be directly started without the need to temporarily install the application in the cloud operating system, thereby improving data processing efficiency.
实施例十Embodiment 10
本说明书实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述数据处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiments of this specification also provide a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, each process of the above-mentioned data processing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
本说明书实施例提供一种计算机可读存储介质,同一服务器节点对应的多个云操作系统就可以通过共享服务节点的母盘目录的方式获取安装信息,而不需要在每个云操作系统 中存储一份安装信息,减少了存储空间的浪费,且应用程序的数量越多,存储空间的利用率越高,另外,在接收到针对应用程序的触发指令时,由于云操作系统中已经提前安装了该应用程序,因此,可以直接启动该应用程序,不需要在云操作系统中临时安装该应用程序,提高了数据处理效率。The embodiment of the present specification provides a computer-readable storage medium, and multiple cloud operating systems corresponding to the same server node can obtain installation information by sharing the mother disk directory of the service node, without having to install the installation information in each cloud operating system. A copy of the installation information is stored in the cloud operating system, which reduces the waste of storage space. The more applications there are, the higher the utilization rate of the storage space. In addition, when a trigger instruction for an application is received, since the application has been installed in the cloud operating system in advance, the application can be started directly without the need to temporarily install the application in the cloud operating system, thereby improving data processing efficiency.
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The above is a description of a specific embodiment of the present specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
在20世纪90年代,对于一个技术的改进可以很明显地区分是硬件上的改进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对于方法流程的改进)。然而,随着技术的发展,当今的很多方法流程的改进已经可以视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。例如,可编程逻辑器件(Programmable Logic Device,PLD)(例如现场可编程门阵列(Field Programmable Gate Array,FPGA))就是这样一种集成电路,其逻辑功能由用户对器件编程来确定。由设计人员自行编程来把一个数字系统“集成”在一片PLD上,而不需要请芯片制造厂商来设计和制作专用的集成电路芯片。而且,如今,取代手工地制作集成电路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用特定的编程语言来撰写,此称之为硬件描述语言(Hardware Description Language,HDL),而HDL也并非仅有一种,而是有许多种,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby Hardware Description Language)等,目前最普遍使用的是VHDL(Very-High-Speed Integrated Circuit Hardware Description Language)与Verilog。本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言稍作逻辑编程并编程到集成电路中,就可以很容易得到实现该逻辑方法流程的硬件电路。In the 1990s, it was very clear whether the improvement of a technology was hardware improvement (for example, improvement of the circuit structure of diodes, transistors, switches, etc.) or software improvement (improvement of the method flow). However, with the development of technology, many improvements of the method flow today can be regarded as direct improvements of the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be implemented with a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming themselves, without having to ask chip manufacturers to design and make dedicated integrated circuit chips. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing programs. The original code before compilation must also be written in a specific programming language, which is called Hardware Description Language (HDL). There is not only one kind of HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc., and the most commonly used ones are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that realizes the logic method flow.
控制器可以按任何适当的方式实现,例如,控制器可以采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式,控制器的例子包括但不限于以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20以及Silicone Labs C8051F320,存储器控制器还可以被实现为存储器的控制逻辑的一部分。本领域技术人员也知道,除了以纯计算机可读程序代码方式实现控制器以外,完全可以通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可以被认为是一种硬件部件,而对其内包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以将用于实现各种功能的装置视为既可以是实现方法的软件模块又可以是硬件部件内的结构。The controller may be implemented in any suitable manner, for example, the controller may take the form of a microprocessor or processor and a computer readable medium storing a computer readable program code (e.g., software or firmware) executable by the (micro)processor, a logic gate, a switch, an application specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, and the memory controller may also be implemented as part of the control logic of the memory. It is also known to those skilled in the art that in addition to implementing the controller in a purely computer readable program code manner, the controller may be implemented in the form of a logic gate, a switch, an application specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, such a controller may be considered as a hardware component, and the means for implementing various functions included therein may also be considered as a structure within the hardware component. Or even, the means for implementing various functions may be considered as both a software module for implementing the method and a structure within the hardware component.
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本说 明书一个或多个实施例时可以把各单元的功能在同一个或多个软件和/或硬件中实现。For the convenience of description, the above device is described in various units according to their functions. When describing one or more embodiments, the functions of each unit may be implemented in one or more software and/or hardware.
本领域内的技术人员应明白,本说明书的实施例可提供为方法、系统、或计算机程序产品。因此,本说明书一个或多个实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本说明书一个或多个实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that the embodiments of this specification may be provided as methods, systems, or computer program products. Therefore, one or more embodiments of this specification may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, one or more embodiments of this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
本说明书的实施例是参照根据本说明书实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The embodiments of this specification are described with reference to the flowcharts and/or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and/or box in the flowchart and/or block diagram, as well as the combination of the processes and/or boxes in the flowchart and/or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for implementing the functions specified in one process or multiple processes in the flowchart and/or one box or multiple boxes in the block diagram.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device that implements the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, whereby the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and/or one or more boxes in the block diagram.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPU), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。Memory may include non-permanent storage in a computer-readable medium, in the form of random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined in this article, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
本领域技术人员应明白,本说明书的实施例可提供为方法、系统或计算机程序产品。因此,本说明书一个或多个实施例可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本说明书一个或多个实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。 It should be understood by those skilled in the art that the embodiments of this specification may be provided as methods, systems or computer program products. Therefore, one or more embodiments of this specification may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, one or more embodiments of this specification may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
本说明书一个或多个实施例可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本说明书一个或多个实施例,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。One or more embodiments of the present specification may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. One or more embodiments of the present specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
以上所述仅为本说明书的实施例而已,并不用于限制本说明书。对于本领域技术人员来说,本说明书可以有各种更改和变化。凡在本说明书的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本说明书的权利要求范围之内。 The above description is only an embodiment of the present specification and is not intended to limit the present specification. For those skilled in the art, the present specification may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present specification shall be included in the scope of the claims of the present specification.

Claims (13)

  1. 一种数据处理方法,所述方法应用于云操作系统,所述方法包括:A data processing method, the method being applied to a cloud operating system, the method comprising:
    接收针对所述云操作系统的启动指令;Receiving a startup instruction for the cloud operating system;
    响应于所述启动指令,挂载所述云操作系统的安装目录,所述安装目录与所述云操作系统对应的服务器节点的母盘目录之间具备映射关系;In response to the startup instruction, the installation directory of the cloud operating system is mounted, and a mapping relationship is formed between the installation directory and the mother disk directory of the server node corresponding to the cloud operating system;
    基于所述母盘目录中应用程序的安装信息,在所述云操作系统中安装与所述安装信息对应的应用程序。Based on the installation information of the application in the master disk directory, the application corresponding to the installation information is installed in the cloud operating system.
  2. 根据权利要求1所述的方法,所述方法还包括:The method according to claim 1, further comprising:
    接收目标用户针对目标应用程序的启动指令,所述目标应用程序为所述云操作系统基于所述安装信息安装完成的应用程序;receiving a start instruction from a target user for a target application, wherein the target application is an application that has been installed by the cloud operating system based on the installation information;
    响应于所述启动指令,挂载所述云操作系统的个性化目录,所述个性化目录与共享目录之间具备映射关系,所述共享目录用于存储应用程序在运行过程中产生的运行数据;In response to the startup instruction, a personalized directory of the cloud operating system is mounted, wherein a mapping relationship exists between the personalized directory and a shared directory, and the shared directory is used to store operation data generated during the operation of the application program;
    基于所述目标用户的用户标识和所述共享目录,读取与所述目标用户以及所述目标应用程序对应的运行数据,并基于所述与所述目标用户以及所述目标应用程序对应的运行数据,运行所述目标应用程序。Based on the user identification of the target user and the shared directory, the operating data corresponding to the target user and the target application is read, and based on the operating data corresponding to the target user and the target application, the target application is run.
  3. 一种数据处理方法,所述方法应用于服务器节点,所述方法包括:A data processing method, the method being applied to a server node, the method comprising:
    获取待上线的应用程序的安装信息,并将所述待上线的应用程序的安装信息存储在所述服务器节点的母盘目录中,所述服务器节点的母盘目录基于应用程序的安装信息构建得到;Acquire installation information of the application to be launched, and store the installation information of the application to be launched in a master disk directory of the server node, where the master disk directory of the server node is constructed based on the installation information of the application;
    将所述服务器节点的母盘目录挂载到与所述服务器节点对应的云操作系统中的安装目录,所述服务器节点的母盘目录与所述安装目录之间具备映射关系,以使所述服务器节点对应的云操作系统挂载所述安装目录,基于所述服务器节点的母盘目录中的应用程序的安装信息,在所述服务器节点对应的云操作系统中安装所述待上线的应用程序。The mother disk directory of the server node is mounted to the installation directory in the cloud operating system corresponding to the server node. There is a mapping relationship between the mother disk directory of the server node and the installation directory, so that the cloud operating system corresponding to the server node mounts the installation directory, and based on the installation information of the application in the mother disk directory of the server node, the application to be launched is installed in the cloud operating system corresponding to the server node.
  4. 根据权利要求3所述的方法,所述方法还包括:The method according to claim 3, further comprising:
    将所述服务器节点的母盘目录挂载到与所述服务器节点对应的目标服务器节点的母盘目录,所述服务器节点的母盘目录与所述目标服务器节点的母盘目录之间具备映射关系,以使所述目标服务器节点对应的云操作系统,挂载与所述目标服务器节点的母盘目录之间具备映射关系的目标安装目录,基于所述服务器节点的母盘目录中应用程序的安装信息,在所述目标服务器节点对应的云操作系统中安装所述待上线的应用程序。The mother disk directory of the server node is mounted to the mother disk directory of the target server node corresponding to the server node, and a mapping relationship exists between the mother disk directory of the server node and the mother disk directory of the target server node, so that the cloud operating system corresponding to the target server node mounts the target installation directory having a mapping relationship with the mother disk directory of the target server node, and based on the installation information of the application in the mother disk directory of the server node, the application to be launched is installed in the cloud operating system corresponding to the target server node.
  5. 一种数据处理方法,所述方法应用于数据管理平台,所述方法包括:A data processing method, the method being applied to a data management platform, the method comprising:
    获取待上线的应用程序的安装信息;Get the installation information of the application to be launched;
    在确定所述待上线的应用程序正常运行的情况下,将所述待上线的应用程序的安装信息发送给预设服务器节点,以使所述预设服务器节点将所述待上线的应用程序的安装信息存储在母盘目录中,所述母盘目录与所述预设服务器节点对应的云操作系统的安装目录之间具备映射关系,以使所述云操作系统挂载所述安装目录,基于所述母盘目录中应用程序的安装信息,在所述云操作系统中安装所述待上线的应用程序。When it is determined that the application to be launched is running normally, the installation information of the application to be launched is sent to the preset server node, so that the preset server node stores the installation information of the application to be launched in the master disk directory, and there is a mapping relationship between the master disk directory and the installation directory of the cloud operating system corresponding to the preset server node, so that the cloud operating system mounts the installation directory, and installs the application to be launched in the cloud operating system based on the installation information of the application in the master disk directory.
  6. 根据权利要求5所述的方法,在所述在确定所述待上线的应用程序正常运行的情况下,将所述待上线的应用程序的安装信息发送给预设服务器节点之前,还包括:The method according to claim 5, before sending the installation information of the application to be launched to a preset server node when it is determined that the application to be launched is running normally, further comprises:
    将所述待上线的应用程序的安装信息发送至测试云操作系统,以通过所述测试云操作系统和所述安装信息,确定所述待上线的应用程序是否正常运行。The installation information of the application to be launched is sent to the test cloud operating system, so as to determine whether the application to be launched is running normally through the test cloud operating system and the installation information.
  7. 根据权利要求6所述的方法,所述方法还包括:The method according to claim 6, further comprising:
    基于所述待上线的应用程序的安装信息,以及所述预设服务器节点的母盘目录,生成应用列表,以使所述预设服务器节点对应的云操作系统基于所述应用列表和所述母盘目录中应用程序的安装信息,在所述云操作系统中安装与所述应用列表对应的待上线的应用程 序。Based on the installation information of the application to be launched and the master disk directory of the preset server node, an application list is generated, so that the cloud operating system corresponding to the preset server node installs the application to be launched corresponding to the application list in the cloud operating system based on the application list and the installation information of the application in the master disk directory. sequence.
  8. 根据权利要求5所述的方法,所述方法还包括:The method according to claim 5, further comprising:
    建立共享目录并存储至预设存储装置,所述共享目录用于存储应用程序在运行过程中产生的运行数据;Establishing a shared directory and storing it in a preset storage device, wherein the shared directory is used to store operation data generated during the operation of the application;
    将所述共享目录挂载到所述预设服务器节点对应的云操作系统的个性化目录,所述个性化目录与所述共享目录之间具备映射关系,以使所述预设服务器节点对应的云操作系统挂载所述个性化目录,基于所述共享目录读取应用程序在运行过程中产生的运行数据。The shared directory is mounted to the personalized directory of the cloud operating system corresponding to the preset server node, and there is a mapping relationship between the personalized directory and the shared directory, so that the cloud operating system corresponding to the preset server node mounts the personalized directory and reads the operation data generated by the application during the operation process based on the shared directory.
  9. 根据权利要求8所述的方法,所述方法还包括:The method according to claim 8, further comprising:
    基于用户的用户标识,将与所述目标用户对应的应用程序在运行过程中产生的运行数据存储在所述共享目录内。Based on the user identification of the user, the running data generated during the running of the application corresponding to the target user is stored in the shared directory.
  10. 根据权利要求9所述的方法,所述方法还包括:The method according to claim 9, further comprising:
    接收针对目标应用程序的下线指令;Receiving offline instructions for the target application;
    响应于所述下线指令,对所述目标应用程序进行下线处理,并确定所述预设共享目录中与所述目标应用程序对应的目标运行数据;In response to the offline instruction, offline processing is performed on the target application, and target running data corresponding to the target application in the preset shared directory is determined;
    基于预设数据更新规则,对所述目标运行数据进行更新处理。Based on preset data update rules, the target operation data is updated.
  11. 根据权利要求10所述的方法,所述基于预设数据更新规则,对所述目标运行数据进行更新处理,包括:According to the method of claim 10, the updating of the target operation data based on a preset data update rule comprises:
    获取所述目标运行数据的产生时间;Obtaining the generation time of the target operation data;
    若所述产生时间大于预设更新时长,则在所述共享目录中删除所述目标运行数据。If the generation time is greater than the preset update time, the target operation data is deleted in the shared directory.
  12. 一种数据处理设备,其中,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至11任一项所述的数据处理方法的步骤。A data processing device, comprising a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the data processing method according to any one of claims 1 to 11 are implemented.
  13. 一种可读存储介质,其中,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-11中任一项所述的数据处理方法的步骤。 A readable storage medium, wherein the readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the data processing method according to any one of claims 1 to 11 are implemented.
PCT/CN2023/129974 2022-11-07 2023-11-06 Data processing method, device, and storage medium WO2024099274A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211385626.X 2022-11-07
CN202211385626.XA CN117992074A (en) 2022-11-07 2022-11-07 Data processing method, apparatus and storage medium

Publications (1)

Publication Number Publication Date
WO2024099274A1 true WO2024099274A1 (en) 2024-05-16

Family

ID=90885947

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/129974 WO2024099274A1 (en) 2022-11-07 2023-11-06 Data processing method, device, and storage medium

Country Status (2)

Country Link
CN (1) CN117992074A (en)
WO (1) WO2024099274A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR3041790A1 (en) * 2015-09-25 2017-03-31 Rizze AUTOMATIC METHOD OF SAFEGUARDING AND MAINTENANCE OF DATA OBTAINED BY STATE-BASED SERVICES WHEN LAUNCHING STATE-FREE SERVICE IN A CLOUD OPERATING SYSTEM
WO2021238639A1 (en) * 2020-05-27 2021-12-02 中兴通讯股份有限公司 Method and apparatus for sharing operating system, and system and computer-readable storage medium
CN114064594A (en) * 2021-11-22 2022-02-18 马上消费金融股份有限公司 Data processing method and device
CN114115912A (en) * 2020-08-11 2022-03-01 华为云计算技术有限公司 Application installation method based on cloud mobile phone, cloud platform and related equipment
CN114579511A (en) * 2022-02-28 2022-06-03 北京百度网讯科技有限公司 Operation method and device of cloud mobile phone system catalog, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR3041790A1 (en) * 2015-09-25 2017-03-31 Rizze AUTOMATIC METHOD OF SAFEGUARDING AND MAINTENANCE OF DATA OBTAINED BY STATE-BASED SERVICES WHEN LAUNCHING STATE-FREE SERVICE IN A CLOUD OPERATING SYSTEM
WO2021238639A1 (en) * 2020-05-27 2021-12-02 中兴通讯股份有限公司 Method and apparatus for sharing operating system, and system and computer-readable storage medium
CN114115912A (en) * 2020-08-11 2022-03-01 华为云计算技术有限公司 Application installation method based on cloud mobile phone, cloud platform and related equipment
CN114064594A (en) * 2021-11-22 2022-02-18 马上消费金融股份有限公司 Data processing method and device
CN114579511A (en) * 2022-02-28 2022-06-03 北京百度网讯科技有限公司 Operation method and device of cloud mobile phone system catalog, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN117992074A (en) 2024-05-07

Similar Documents

Publication Publication Date Title
KR102208186B1 (en) Blockchain consensus method and device
CN109669709B (en) Data migration method and data migration system for block chain upgrading
CN107896162B (en) Deployment method and device of monitoring system, computer equipment and storage medium
CN111930396B (en) Upgrading method of communication module in 4G router based on notify mechanism
CN110968331B (en) Method and device for running application program
CN111786984B (en) Pod communication connection method and device, electronic equipment and storage medium
CN112965761B (en) Data processing method, system, electronic equipment and storage medium
CN112346818A (en) Container application deployment method and device, electronic equipment and storage medium
CN117075930B (en) Computing framework management system
CN115390991A (en) Virtual machine import and export method, device, equipment and storage medium
CN111290871A (en) Method and device for acquiring crash information of application program
CN111355672A (en) Message forwarding method and device
CN110955624B (en) Hot plug method, device and system of PCIE equipment
CN112764830B (en) Data migration method and system applied to localization substitution
CN106709056B (en) Nfs mount directory export method and device
WO2024099274A1 (en) Data processing method, device, and storage medium
CN111767126A (en) System and method for distributed batch processing
CN113127430A (en) Mirror image information processing method and device, computer readable medium and electronic equipment
CN113779122B (en) Method and device for exporting data
CN112631609B (en) Compiling method, compiling device, compiling terminal and storage medium
CN114625410A (en) Request message processing method, device and equipment
CN115033551A (en) Database migration method and device, electronic equipment and storage medium
CN112631608A (en) Compiling method, device, terminal and storage medium
CN112650710A (en) Data migration sending method and device, storage medium and electronic device
CN111797070A (en) Ticket data processing method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 23887964

Country of ref document: EP

Kind code of ref document: A1