CN115914343A - PAAS platform-based unified management automatic adaptation method, device, medium and equipment - Google Patents

PAAS platform-based unified management automatic adaptation method, device, medium and equipment Download PDF

Info

Publication number
CN115914343A
CN115914343A CN202211490208.7A CN202211490208A CN115914343A CN 115914343 A CN115914343 A CN 115914343A CN 202211490208 A CN202211490208 A CN 202211490208A CN 115914343 A CN115914343 A CN 115914343A
Authority
CN
China
Prior art keywords
target
adaptation
server
game
parameter set
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211490208.7A
Other languages
Chinese (zh)
Inventor
李路成
贾宏伟
郭建君
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Weiling Times Technology Co Ltd
Original Assignee
Beijing Weiling Times Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Weiling Times Technology Co Ltd filed Critical Beijing Weiling Times Technology Co Ltd
Priority to CN202211490208.7A priority Critical patent/CN115914343A/en
Publication of CN115914343A publication Critical patent/CN115914343A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application relates to a PAAS platform-based unified management automatic adaptation method, a device, a medium and equipment, wherein the method comprises the following steps: selecting a target game from a plurality of preset games, and uploading the target game to a cloud storage platform; selecting a server of a target machine type from a preset server machine type list, wherein the server machine type list comprises servers of a plurality of machine types; and determining a target adaptation parameter set corresponding to the target model, and sending the target adaptation parameter set to a server of the target model so as to enable the server of the target model to download the target game from the cloud storage platform, so that the server of the target model combines and runs a preset automatic adaptation script to adapt the target game based on the target adaptation parameter set. The method and the device have the effects of saving labor and time cost and improving the efficiency of game adaptation.

Description

PAAS platform-based unified management automatic adaptation method, device, medium and equipment
Technical Field
The application relates to the technical field of game adaptation, in particular to a PAAS platform-based unified management automated adaptation method, device, medium and equipment.
Background
With the rapid development of cloud game technology, more and more games are selected to be clouded, namely, the game development adopts a traditional mode, and the cloud game is realized only in the aspects of deployment, distribution, service and the like. At present, in order to realize game clouding, games are operated on a server in advance, then, according to different resources consumed by the games, adaptation parameters of the games on the server are manually adjusted in a manual mode, and adaptation is performed on the server for one game, so that the games are optimized, and the game clouding is realized.
However, the adaptation parameters are manually adjusted on the server for the game in a manual mode, the adjustment process is complicated, a large amount of labor and time cost are consumed, and the efficiency of game adaptation is low.
Disclosure of Invention
In order to improve the efficiency of game adaptation, the application provides a PAAS platform-based unified management automated adaptation method, device, medium and equipment.
In a first aspect of the present application, an automated adaptation method based on unified management of PAAS platform is provided, which specifically includes:
selecting a target game from a plurality of preset games, and uploading the target game to a cloud storage platform;
selecting a server of a target machine type from a preset server machine type list, wherein the server machine type list comprises a plurality of machine type servers;
and determining a target adaptation parameter set corresponding to the target model, and sending the target adaptation parameter set to a server of the target model so as to enable the server of the target model to download the target game from the cloud storage platform, so that the server of the target model combines and runs a preset automatic adaptation script to adapt the target game based on the target adaptation parameter set.
By adopting the technical scheme, the target game needing to be adapted currently is determined from a plurality of games needing to be adapted and recorded into the PAAS platform in advance, the target game is uploaded to the cloud storage platform for temporary storage, then the server of the target model of the adapted target game is determined from the server model list in the PAAS platform, the corresponding target adaptation parameter set is called from the adaptation file in the PAAS platform according to the determined target model, and finally the PAAS platform sends the target adaptation set to the server of the target model, so that the server of the target model can automatically adapt the target game downloaded from the cloud storage platform by using a plurality of adaptation parameters in the target adaptation parameter set, the server of the target model is provided with the automatic adaptation script in advance, the adaptation parameters are continuously matched and adjusted for the target game under the action of the automatic adaptation script, the labor cost and the time cost can be saved, and the efficiency of game adaptation is improved.
Optionally, the selecting a target game from a plurality of preset games, and uploading the target game to a cloud storage platform includes:
selecting a name of a target game from a preset game list, and calling a corresponding game bag body according to the name of the target game, wherein the game list comprises names of a plurality of games and the corresponding game bag body;
and uploading the game bag body to a cloud storage platform for storage.
By adopting the technical scheme, when the target game needing to be adapted currently is determined, the name of the target game is selected from the game list containing the names of the plurality of games, then the game inclusion body matched with the name of the target game is called from the PAAS platform, and the target inclusion body of the target game is uploaded to the cloud storage platform, so that the subsequent server needs to adapt the game, the corresponding game inclusion body can be directly downloaded from the cloud storage platform, and the efficiency of the server for acquiring the target game is further improved.
Optionally, after the game bag body is uploaded to a cloud storage platform for storage, the method further includes:
receiving a storage address corresponding to the game bag body returned by the cloud storage platform;
the determining a target adaptation parameter set corresponding to the target model, and sending the target adaptation parameter set and the storage address to the server of the target model to enable the server of the target model to download the target game from the cloud storage platform, so that the server of the target model merges and runs a preset automatic adaptation script to adapt the target game based on the target adaptation parameter set, includes:
determining a target adaptation parameter set corresponding to the target machine type;
and sending the target adaptation parameter set and the storage address to a server of the target machine type so that the server of the target machine type downloads the target game from the cloud storage platform according to the storage address of the game bag body, and enabling the server of the target machine type to merge and run a preset automatic adaptation script to adapt the target game based on the target adaptation parameter set.
By adopting the technical scheme, the game bag body of the target game generates a corresponding storage address after being uploaded to the cloud storage platform, the PAAS platform acquires the storage address to store the storage address, the target model adapted to the target game is selected, the target adaptation parameter set used for adaptation of the target game is determined according to the target model, and then the target adaptation parameter set and the storage address of the game bag body are sent to the server of the target model, so that the server can download the correct target game from the cloud storage platform according to the storage address. And finally, carrying out automatic adaptation on the target game by using the target adaptation parameter set.
Optionally, the sending the target adaptation parameter set and the storage address to a server of the target machine type to enable the server of the target machine type to download the target game from the cloud storage platform according to the storage address of the game package body, so that the server of the target machine type combines and runs a preset automatic adaptation script based on the target adaptation parameter set to adapt the target game includes:
and sending the target adaptation parameter set and the storage address to a server of the target machine type, and sending an adaptation command to the server of the target machine type so that the server of the target machine type receives the adaptation command and downloads the target game from the cloud storage platform according to the storage address of the game packet body, so that the server of the target machine type combines and runs a preset automatic adaptation script to adapt the target game based on the target adaptation parameter set.
By adopting the technical scheme, when the target game is formally adapted, the PAAS platform initiates automatic adaptation at one end, the adaptation command is sent to the target adaptation parameter set and the storage address and is sent to the server of the target machine type at the same time, the server of the target machine type receives the adaptation command, immediately downloads the target game from the cloud storage platform according to the storage address, and continuously adjusts and adapts the target game by using the target adaptation parameter set, so that the game adaptation automation is realized, and the adaptation efficiency is improved.
Optionally, the determining a target adaptation parameter set corresponding to the target model includes:
acquiring an adaptation file, wherein the adaptation file comprises the machine types of all servers and corresponding adaptation parameter sets;
and matching a target adaptation parameter set corresponding to the target model from the adaptation file.
By adopting the technical scheme, the adaptation file preset in the PAAS platform in advance is obtained, the adaptation file is called after the target machine type of the adaptation target game is determined, the target adaptation parameter set required by the target machine type is matched from the adaptation file according to the target machine type, and the target adaptation parameter set is sent to the server of the target machine type, so that the target adaptation parameter set matched with the server of the target machine type can be conveniently determined, further, the follow-up server can continuously match and adjust the adaptation parameters by using an automatic adaptation script, and the optimal adaptation parameters are determined.
Optionally, after determining a target adaptation parameter set corresponding to the target model and sending the target adaptation parameter set to the server of the target model to enable the server of the target model to download the target game from the cloud storage platform, so that the server of the target model combines and runs a preset automatic adaptation script to adapt the target game based on the target adaptation parameter set, the method further includes:
receiving an adaptation result sent by the server of the target model, wherein the adaptation result is an optimal adaptation parameter in the target adaptation parameter set obtained by the server of the target model according to the target adaptation parameter set and the target model;
sending a remote debugging command and the adaptation result to the server of the target machine type, and acquiring adaptation effect information of the target game running on the server of the target machine type according to the adaptation result based on the remote debugging command;
and adjusting the adaptation result according to the adaptation effect information and preset service demand information.
By adopting the technical scheme, after the target game adaptation is completed, the PAAS platform receives the optimal adaptation parameters, namely the adaptation results, obtained by the server of the target model according to the target adaptation parameter set and the continuous adaptation of the target model, stores the adaptation results, and can better perform unified management on the adaptation results of the servers of all models. And then sending a remote debugging command and the adaptation result to a server of the target machine type, observing the effect of the target game on the operation of the adaptation result on the server, and if the effect is not better than the operation effect of the target game on a local client, which shows that the adaptation result is not optimal, modifying the adaptation result stored in the PAAS platform according to the service demand information, so that the adaptation result stored in the PAAS platform is optimal.
Optionally, the adjusting the adaptation information according to the post-adaptation effect information and preset service demand information includes:
comparing the adaptation effect information with normal adaptation information;
and if the adaptation effect information and the normal adaptation information are inconsistent, adjusting the adaptation result to the service requirement information.
By adopting the technical scheme, after the server of the target machine type is remotely debugged to obtain the adaptation result information, the adaptation effect information is compared with the normal adaptation, namely the operation effect of the target game on the server of the target machine type is compared with the operation effect of the target game on the local client, if the operation effect on the service of the target machine type is not better than the operation effect on the local client, the adaptation result is not the optimal adaptation parameter, the adaptation parameter needs to be adjusted again, the adaptation parameter of the adaptation result stored in the PAAS platform is adjusted to the adaptation parameter contained in the preset service demand information, so that the adaptation result uniformly managed in the PAAS platform is the optimal adaptation parameter as much as possible, and the server of different subsequent machine types can conveniently have the directly available optimal adaptation parameter.
In a second aspect of the present application, an automated adapting device based on PAAS platform unified management is provided, which specifically includes:
the target game selection module (11) is used for selecting a target game from a plurality of preset games and uploading the target game to the cloud storage platform;
the system comprises a target model selection module (12) for selecting a server of a target model from a preset server model list, wherein the server model list comprises a plurality of models of servers;
and the automatic adaptation parameter module (13) is used for determining a target adaptation parameter set corresponding to the target model, and sending the target adaptation parameter set to the server of the target model so as to enable the server of the target model to download the target game from the cloud storage platform, so that the server of the target model combines and runs a preset automatic adaptation script to adapt the target game based on the target adaptation parameter set.
By adopting the technical scheme, the target game selection module selects the target game needing adaptation currently from a plurality of games recorded in advance, then the target model selection module selects the server of the target model adapting to the target game from a preset server model list, and finally the automatic adaptation parameter module determines the target adaptation parameter set according to the target model and sends the target adaptation parameter set to the server of the target model, so that the server can adapt the target game through the automatic adaptation script based on the target adaptation set and continuously match and adjust the adaptation parameters.
In summary, the present application includes at least one of the following beneficial technical effects:
the target game needing to be adapted currently is determined from a plurality of games needing to be adapted and recorded into the PAAS platform in advance, the target game is uploaded to the cloud storage platform for temporary storage, then a server of a target model of the adapted target game is determined from a server model list in the PAAS platform, a corresponding target adaptation parameter set is called from an adaptation file in the PAAS platform according to the determined target model, and finally the PAAS platform sends the target adaptation set to the server of the target model, so that the server of the target model can automatically adapt the target game downloaded from the cloud storage platform by using a plurality of adaptation parameters in the target adaptation parameter set, labor and time cost can be saved, and the efficiency of game adaptation is improved.
Drawings
Fig. 1 is a schematic architecture diagram of a unified management automation adaptation system based on a PAAS platform according to an embodiment of the present application;
fig. 2 is a schematic flowchart of an automated adaptation method based on unified management of PAAS platform according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a server model list provided in an embodiment of the present application;
fig. 4 is a schematic flowchart of another PAAS platform based unified management automated adaptation method according to an embodiment of the present application;
fig. 5 is a schematic flowchart of another unified management automated adaptation method based on PAAS platform according to an embodiment of the present application;
FIG. 6 is a schematic diagram illustrating interaction between a PAAS platform and a server after the adaptation of a target game is completed according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an automatic adapting device based on unified management of a PAAS platform according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of another unified management automation adaptation apparatus based on a PAAS platform according to an embodiment of the present application.
Description of reference numerals: 11. a target game selection module; 12. a target machine type selection module; 13. and the parameter automatic adaptation module.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments.
In the description of the embodiments of the present application, the words "exemplary," "for example," or "for instance" are used to indicate instances, or illustrations. Any embodiment or design described herein as "exemplary," "e.g.," or "e.g.," is not to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the words "illustrative," "such as," or "for example" are intended to present relevant concepts in a concrete fashion.
Referring to fig. 1, the embodiment of the present application discloses an architecture diagram of a unified management automation adaptation system based on a PAAS platform, which specifically includes: PAAS platform, server and cloud storage platform.
Specifically, a target game needing to be adapted is input in advance by the PAAS platform, the PAAS platform uploads a game bag body of the target game to the cloud storage platform for temporary storage, the cloud storage platform generates a corresponding storage address after storing the game bag body, the storage address is sent to the PAAS platform, the PAAS platform receives the storage address, then an adaptation command is launched to a server of the adapted target game, the storage address and a target adaptation parameter set matched according to the type of the server are sent to the server together, the server receives the adaptation command, the game bag body of the target game is downloaded from the cloud storage platform through the storage address, then an automatic adaptation script in the server automatically adapts the target game through the target adaptation parameter set, and adaptation parameters are adjusted continuously. It should be noted that there may be a plurality of target games, a plurality of servers, and a plurality of target games may be automatically adapted at different servers at the same time.
Referring to fig. 2, an embodiment of the present application discloses a flow diagram of an automated adaptation method based on unified PAAS platform management, which can be implemented by relying on a computer program and can also be run on an automated adaptation apparatus based on unified PAAS platform management based on von neumann architecture. The computer program can be integrated in an application, and can also be operated as an independent tool application, and specifically comprises the following steps:
s101: and selecting a target game from a plurality of preset games, and uploading the target game to the cloud storage platform.
Specifically, the Platform (PAAS) is a business model that provides a Service with an environment for running and developing application services. A Service provided by a program through a network is referred to as Software as a Service (SaaS), and a server platform or a development environment corresponding to the cloud computing era is provided as a Service, which becomes PAAS and can provide a development and operation environment for an application program.
The preset multiple games refer to multiple games which are entered into the PAAS platform in advance and need to be adapted on the server. The reasons for the game needing to be adapted on the server are as follows: because a large amount of games need to be clouded, in order to enable the cloud games, namely the cloud games, to have a good running effect on the server, the games need to be adapted on the server, and adaptation parameters are continuously adjusted.
Cloud storage is a mode of online storage on the internet, namely, data is stored on a plurality of virtual servers hosted by a third party, but not on exclusive servers. In the embodiment of the application, the cloud Storage platform is an (Object Storage Service, OSS) cloud Storage platform, and is a massive, safe, low-cost, and highly reliable cloud Storage Service provided by the arri cloud. In other embodiments, the Cloud Storage platform may also be a Tencent Cloud (COS) Cloud Storage platform. The PAAS platform receives an external selection instruction, selects a target game which needs to be adapted currently from a plurality of preset games, and uploads the target game to the cloud storage platform for temporary storage. It should be noted that the target game may be a single game, and the target game may be adapted to the single game. In other embodiments, the target game may be a plurality of games, which may be adapted simultaneously.
S102: and selecting a server of a target model from a preset server model list, wherein the server model list comprises servers of a plurality of models.
Specifically, as shown in fig. 3, a schematic diagram of a server model list provided in the embodiment of the present application is provided, where a preset server model list refers to servers of various models that are entered into a PAAS platform in advance. Various types of servers can be managed well through the server type list, and physical servers under each type of server can be managed. The mode of selecting the server of the target machine type from the server machine type list is as follows: and receiving a selection instruction (instruction for selecting a specific model) input from the outside, and selecting a server of a target model for target game adaptation from the server list by the PAAS platform according to the selection instruction. Note that the target model is determined in advance by a person. In addition, the server of the target model is single in the embodiment of the application, and in other embodiments, the server of the target model may be multiple, that is, multiple servers are adapted to play the game simultaneously.
For example, the server model list includes: the model 2060 corresponds to the server a in the computer room, the model 2050 corresponds to the server B in the computer room, and the like, wherein the models 2060 and 2050 specifically refer to the display card types of the servers. When the selected model is 2060, the corresponding server is the a server. The target game is finally adapted at the a-server.
S103: and determining a target adaptation parameter set corresponding to the target machine type, and sending the target adaptation parameter set to a server of the target machine type to enable the server of the target machine type to download the target game from the cloud storage platform, so that the server of the target machine type combines and runs a preset automatic adaptation script to adapt the target game based on the target adaptation parameter set.
Specifically, the adaptation parameter types include a game start mode, whether archiving is supported, audio buffering, encoding and decoding, resolution, frame rate, code rate, game operation mode, and the like. In the embodiments of the present application, the frame rate is mainly used as an example for discussion. Frame rate (Frame rate) is the rate at which a bitmap image, called a unit of Frame, appears continuously on the display. The higher the frame rate, the smoother the picture. The target adaptation parameter set represents a plurality of adaptation parameters, and may also represent adaptation parameters in a certain range interval. After the target machine type is determined, determining a target adaptation parameter set corresponding to the target machine type according to an adaptation file preset in the PAAS platform, wherein the adaptation file has the functions of: and aiming at various different models, providing the functions of corresponding target adaptation parameter sets. And then the PAAS platform initiates adaptation to a server of the target machine type, and simultaneously sends the target adaptation parameter set to the server of the target machine type, so that the server of the target machine type downloads a target game stored in advance to the local from the cloud storage platform, and the server of the target machine type adopts an automatic adaptation script deployed in advance and adapts to the target machine type one by using a plurality of adaptation parameters in the target adaptation parameter set.
Referring to fig. 4, the embodiment of the present application discloses a flowchart of another automatic adaptation method based on unified PAAS platform management, which can be implemented by relying on a computer program and can also be run on an automated adaptation apparatus based on unified PAAS platform management based on von neumann architecture. The computer program can be integrated in an application, and can also be operated as an independent tool application, and specifically comprises the following steps:
s201: the method comprises the steps of selecting the name of a target game from a preset game list, calling a corresponding game bag body according to the name of the target game, wherein the game list comprises the names of a plurality of games and the corresponding game bag body.
S202: and uploading the game bag body to a cloud storage platform for storage.
Specifically, the preset game list is set by the PAAS platform for uniformly managing a plurality of adapted games. The game list comprises the names of a plurality of games and corresponding game inclusion bodies. The game bag body is the installation bag of the game, the names of a plurality of games in the game list are input in advance according to the uploaded game bag body, and the game bag body of the game needing to be adapted needs to be uploaded to the PAAS platform in advance. After receiving the selection instruction of the name of the target game, the PAAS platform calls a game bag body corresponding to the name of the target game from the game list, and directly uploads the game bag body to the cloud storage platform.
For example, the game list includes a game a, a game B, and a game C … …, and also a game body of com.a.x.apk, a game body of com.b.y.apk, and a game body of com.c.z.apk … …, respectively. And if the name of the target game selected from the games A, B and C is the game B, calling the game inclusion com.b.y.apk corresponding to the game B and uploading the game inclusion com.b.y.apk to a cloud storage platform for temporary storage.
S203: and receiving a storage address corresponding to the game bag body returned by the cloud storage platform.
Specifically, after the PAAS platform uploads a game bag body of a target game to the cloud storage platform, the cloud storage platform stores the game bag body, generates a corresponding storage address and sends the corresponding storage address to the PAAS platform, wherein the storage address is a Uniform Resource Locator (URL) address and is used for designating an information location. And the PAAS platform receives a storage address corresponding to the game bag body of the target game sent by the cloud storage platform.
S204: and selecting a server of a target model from a preset server model list, wherein the server model list comprises servers of a plurality of models.
Specifically, refer to step S102, which is not described herein again.
S205: and determining a target adaptation parameter set corresponding to the target model.
In an implementation mode, acquiring an adaptation file, wherein the adaptation file comprises the model of each server and a corresponding adaptation parameter set;
and matching a target adaptation parameter set corresponding to the target model from the adaptation file.
Specifically, after the server of the target model is determined, an adaptation file preset in the PAAS platform is called, which can be understood as an adaptation parameter and model comparison table, the adaptation file includes each model and a corresponding adaptation parameter set, and the corresponding target adaptation parameter set can be matched from the adaptation file according to the determined target model. For example, the adaptation file comprises a model 2060, a model 2040, a model 2030 and adaptation parameter sets of 30-40 frame rate, 10-20 frame rate and 0-10 frame rate which correspond to each other in sequence. If the determined target machine type is 2060, the determined target adaptation parameter set for adapting the target game is 30-40 frame rate.
S206: and sending the target adaptation parameter set and the storage address to a server of the target machine type, and sending an adaptation command to the server of the target machine type so that the server of the target machine type receives the adaptation command and downloads the target game from the cloud storage platform according to the storage address of the game package body, so that the server of the target machine type combines and runs a preset automatic adaptation script to adapt the target game based on the target adaptation parameter set.
In an implementation mode, the target adaptation parameter set and the storage address are sent to a server of a target machine type so that the server of the target machine type downloads a target game from a cloud storage platform according to the storage address of the game bag body, and the server of the target machine type is enabled to run a preset automatic adaptation script to adapt the target game based on the target adaptation parameter set.
Specifically, after the target adaptation parameter set is determined, the PAAS platform sends an adaptation command to the server of the target model, and simultaneously sends the target adaptation parameter set and the stored storage address of the target game to the server of the target model. After receiving the adaptation command, the server of the target machine type firstly accesses the cloud storage platform, then searches the game bag body of the corresponding target game from the cloud storage platform according to the storage address simultaneously received by the server of the target machine type, and downloads the game bag body to the local server. And finally, the server starts a target game and an automatic adaptation script which is deployed in advance, the target game is operated one by one according to each adaptation parameter in the target adaptation parameter set, and the adaptation parameters are continuously adjusted to ensure the operation effect of the target game on the server, namely the target game has better game image quality, better fluency, better audio and video transmission and the like. It should be noted that, after the adaptation parameters are adjusted each time, the server of the target model restarts the target game, and then the target game is executed on the server of the target model according to the adjusted adaptation parameters.
For example, the target model is 2060, the server of the target model corresponds to the server a in the machine room, the target adaptation parameter set matched with the target model is set to be 30-40 frame rate, then the PAAS platform sends the adaptation command to the server a, and simultaneously sends the target adaptation parameter set with the 30-40 frame rate and the storage address of the target game, after receiving the adaptation command, the server a downloads the target game from the cloud storage platform by using the storage address, starts the target game, and runs the target game at the 30 frame rate first. After the operation is finished, the game is restarted, the target game is operated at the frame rate of 31, and after the operation is finished, the game is restarted again. And sequentially taking the numerical values within the range of 30-40 frame rate intervals as adaptive parameters to operate the target games one by one.
Referring to fig. 5, an embodiment of the present application discloses a flowchart of another automatic adaptation method based on unified PAAS platform management, which can be implemented by relying on a computer program and can also be run on an automated adaptation apparatus based on unified PAAS platform management based on von neumann architecture. The computer program can be integrated in an application, and can also be operated as an independent tool application, and specifically comprises the following steps:
s301: and selecting a target game from a plurality of preset games, and uploading the target game to the cloud storage platform.
S302: and selecting a server of a target model from a preset server model list, wherein the server model list comprises servers of a plurality of models.
S303: and determining a target adaptation parameter set corresponding to the target machine type, and sending the target adaptation parameter set to a server of the target machine type to enable the server of the target machine type to download the target game from the cloud storage platform, so that the server of the target machine type combines and runs a preset automatic adaptation script to adapt the target game based on the target adaptation parameter set.
Specifically, refer to steps S101-S103, which are not described herein again.
S304: and receiving an adaptation result sent by the server of the target model, wherein the adaptation result is the optimal adaptation parameter in the target adaptation parameter set obtained by the server of the target model according to the target adaptation parameter set and the target model.
Specifically, as shown in fig. 6, a schematic view of interaction between a server and a PAAS platform after the adaptation of a target game is completed is provided in the embodiment of the present application. After the target game runs on the server of the target model respectively according to the plurality of adaptation parameters in the target adaptation parameter set, the PAAS platform receives the final adaptation result sent by the server of the target model and stores the adaptation result, so that the adaptation result of each target game and the adapted model can be inquired through the PAAS platform. Wherein the adaptation result is derived as follows: and the server of the target machine type determines the optimal adaptation parameters with the best operation effect of the target game on the server of the target machine type, namely the adaptation result, according to the operation effect of the target game on each adaptation parameter in the target adaptation parameter set.
For example, the target adaptation parameter set includes frame rates of 1 to 10, the target game is run on the server of the target model with ten adaptation parameters of 1,2,3 … …, respectively, and if the target game is run at a frame rate of 2, the image quality of the game is the best, the image is the most smooth, and the like, the server of the target model generates an adaptation result as a fixed adaptation parameter according to the target game and the target model after adaptation, that is, the frame rate of 2.
S305: and sending a remote debugging command and an adaptation result to a server of the target machine type, and acquiring adaptation effect information of the target game running on the server of the target machine type with the adaptation result based on the remote debugging command.
Specifically, as shown in fig. 6, after receiving and storing the adaptation result sent by the server of the target machine type, the PAAS platform may also receive an external input instruction, and send a remote debugging command and the stored adaptation result to the server of the target machine type. Because the adaptation result obtained by the server of the target model through automatic adaptation may not be optimal, for example, the adaptation result of frame rate automatic adaptation is 30 frames, but the person feels that there may be a pause frame drop when the game is running with this frame number, and needs to perform adjustment and optimization on the basis of the adaptation result of 30 frames to ensure the optimal effect of the game running, an instruction is input to the PAAS platform to readjust the optimal adaptation result. It should be noted that the remote debugging command is a command for the PAAS platform to observe the effect of the target game after the target game is adaptively run on the server of the target model in real time.
After the remote debugging command and the adaptation result are sent to the server of the target machine type, the server of the target machine type starts the internal target game again and runs with the adaptation result according to the remote debugging command, and when the server of the target machine type runs on the server of the target machine type, the server of the target machine type can synchronously send the adaptation effect information of the target game to the PAAS platform in real time. Based on the remote debugging command, the PAAS platform receives the adaptation effect information sent by the server of the target machine type, so that the adaptation effect of the target game on the server of the target machine type, such as the game image quality condition, the game fluency, the audio and video transmission condition and the like, can be monitored in real time.
S306: and adjusting the adaptation result according to the adaptation effect information and the preset service requirement information.
In one implementable manner, the fitting effect information is compared with the normal fitting information;
and if the adaptation effect information is normal and the adaptation information is not consistent, adjusting the adaptation result into service requirement information.
Specifically, the service requirement information is an adaptation parameter with the best running effect of the target game on the server of the target machine type, and mainly includes resolution and frame rate in the embodiment of the application. The normal adaptation information is that the target game is normally started on the server, and the same effect as that of running the game at the local client is achieved. After the PAAS platform acquires the adaptation effect information, the adaptation effect information is compared with the normal adaptation information, if the adaptation effect information is inconsistent with the normal adaptation information, the PAAS platform shows that the adaptation effect (the operation effect of the adaptation result on a server of a target machine type) of the target game observed by the PAAS platform is not better than the operation effect of the target game on a local client, and the adaptation parameter in the adaptation result stored in the PAAS platform is not the optimal adaptation parameter, so that the stored adaptation result is modified into service demand information. Therefore, the PAAS platform can uniformly manage the adaptation result of the target game on the server of the adapted model, so that the subsequent target game can be conveniently clouded and directly call the corresponding adaptation result, and the target game can better run on the server.
For example, the target model server is a 2060 model B server, the frame rate adaptation result obtained by the automatic adaptation of the B server is 30 frames, a person worrys that a game running with the frame number may be stuck and dropped, an operation instruction is input, the PAAS platform initiates remote debugging to the B server, the B server starts a target game, the target game is run with the frame rate of 30 frames, the PAAS platform can observe the adaptation effect of the target game on the B server in real time, if the target game runs, a picture is indeed stuck and dropped, the effect of adjusting the evaluation of the person to 45 frames is improved, service requirement information is input to the PAAS platform, namely the service requirement information preset by the PAAS platform is 45 frames, the stored adaptation result of 30 frames is modified into 45 frames, and finally the 45 frames are taken as the final adaptation result of the target game on the B server for unified management.
The implementation principle of the PAAS platform-based unified management automatic adaptation method in the embodiment of the application is as follows: the PAAS platform selects a target game from a plurality of games preset in the PAAS platform, selects a server of a target model from a preset server model list, and uploads a game bag body of the target game to the cloud storage platform according to a corresponding target adaptation parameter set matched by the target model to obtain a storage address of the game bag body. And then, an adaptation command is sent to a server of the target machine type, and meanwhile, a target adaptation parameter set and a storage address are sent together, so that the server of the target machine type downloads a game bag body of the target game from the cloud storage platform according to the adaptation command and the storage address, and adapts the target game by using the target adaptation parameter set, thereby saving labor and time cost of game adaptation and improving efficiency of game adaptation.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Please refer to fig. 7, which is a schematic structural diagram of an automatic adapting device based on unified PAAS platform management according to an embodiment of the present disclosure. The PAAS platform-based unified management automation adaptation device can be realized by software, hardware or a combination of the software and the hardware to form all or part of the device. The device 1 comprises a target game selection module 11, a target machine type selection module 12 and an automatic adaptation parameter module 13.
The target game selection module 11 is configured to select a target game from a plurality of preset games, and upload the target game to the cloud storage platform;
the target machine type selection module 12 is used for selecting a server of a target machine type from a preset server machine type list, wherein the server machine type list comprises a plurality of machine type servers;
and the automatic adaptation parameter module 13 is configured to determine a target adaptation parameter set corresponding to the target model, and send the target adaptation parameter set to the server of the target model so that the server of the target model downloads the target game from the cloud storage platform, so that the server of the target model combines and runs a preset automatic adaptation script to adapt the target game based on the target adaptation parameter set.
Optionally, the target game selecting module 11 is specifically configured to:
selecting a name of a target game from a preset game list, and calling a corresponding game bag body according to the name of the target game, wherein the game list comprises the names of a plurality of games and the corresponding game bag body;
and uploading the game bag body to a cloud storage platform for storage.
Optionally, as shown in fig. 8, the apparatus 1 further includes a storage address obtaining module 14, specifically configured to:
and receiving a storage address corresponding to the game bag body returned by the cloud storage platform.
Optionally, the automatic adaptation parameter module 13 is specifically configured to:
determining a target adaptation parameter set corresponding to a target machine type;
and sending the target adaptation parameter set and the storage address to a server of the target machine type so that the server of the target machine type downloads the target game from the cloud storage platform according to the storage address of the game packet body, and enabling the server of the target machine type to operate a preset automatic adaptation script to adapt the target game based on the target adaptation parameter set.
Optionally, the automatic parameter adaptation module 13 is further specifically configured to:
and sending the target adaptation parameter set and the storage address to a server of the target machine type, and sending an adaptation command to the server of the target machine type so that the server of the target machine type receives the adaptation command and downloads the target game from the cloud storage platform according to the storage address of the game package body, so that the server of the target machine type combines and runs a preset automatic adaptation script to adapt the target game based on the target adaptation parameter set.
Optionally, the automatic adaptation parameter module 13 is further specifically configured to:
acquiring an adaptation file, wherein the adaptation file comprises the machine types of the servers and corresponding adaptation parameter sets;
and matching a target adaptation parameter set corresponding to the target model from the adaptation file.
Optionally, the apparatus 1 further includes a remote debugging module 15, specifically configured to:
receiving an adaptation result sent by a server of a target machine type, wherein the adaptation result is an optimal adaptation parameter in a target adaptation parameter set obtained by the server of the target machine type according to the target adaptation parameter set and the target machine type;
sending a remote debugging command and an adaptation result to a server of a target machine type, and acquiring adaptation effect information of a target game running on the server of the target machine type with the adaptation result based on the remote debugging command;
and adjusting the adaptation result according to the adaptation effect information and the preset service demand information.
Optionally, the remote debugging module 15 is specifically further configured to:
comparing the adaptation effect information with the normal adaptation information;
and if the adaptation effect information is normal and the adaptation information is not consistent, adjusting the adaptation result into service requirement information.
It should be noted that, when the unified management automatic adaptation device based on PAAS platform provided in the foregoing embodiment executes the unified management automatic adaptation method based on PAAS platform, only the division of the above function modules is used for illustration, and in practical applications, the function distribution may be completed by different function modules according to needs, that is, the internal structure of the device is divided into different function modules, so as to complete all or part of the above described functions. In addition, the embodiment of the unified management automatic adaptation device based on the PAAS platform and the embodiment of the unified management automatic adaptation method based on the PAAS platform provided by the above embodiments belong to the same concept, and the detailed implementation process is referred to as the method embodiment, which is not described herein again.
The embodiment of the application also discloses a computer readable storage medium, and the computer readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the PAAS platform-based unified management automation adaptation method of the embodiment is adopted.
The computer program may be stored in a computer readable medium, the computer program includes computer program code, the computer program code may be in a source code form, an object code form, an executable file or some intermediate form, and the like, the computer readable medium includes any entity or device capable of carrying the computer program code, a recording medium, a usb disk, a removable hard disk, a magnetic disk, an optical disk, a computer memory, a Read Only Memory (ROM), a Random Access Memory (RAM), an electrical carrier signal, a telecommunication signal, a software distribution medium, and the like, and the computer readable medium includes but is not limited to the above components.
The PAAS platform-based unified management automation adaptation method of the embodiment is stored in a computer-readable storage medium through the computer-readable storage medium, and is loaded and executed on a processor, so as to facilitate the storage and application of the method.
The embodiment of the application also discloses an electronic device, wherein a computer program is stored in a computer readable storage medium, and when the computer program is loaded and executed by a processor, the PAAS platform-based unified management automatic adaptation method is adopted.
The electronic device may be an electronic device such as a desktop computer, a notebook computer, or a cloud server, and the electronic device includes but is not limited to a processor and a memory, for example, the electronic device may further include an input/output device, a network access device, a bus, and the like.
The processor may be a Central Processing Unit (CPU), and of course, according to an actual use situation, other general processors, digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, and the like may also be used, and the general processor may be a microprocessor or any conventional processor, and the present application does not limit the present invention.
The memory may be an internal storage unit of the electronic device, for example, a hard disk or a memory of the electronic device, or an external storage device of the electronic device, for example, a plug-in hard disk, a smart card (SMC), a secure digital card (SD) or a flash memory card (FC) provided on the electronic device, and the memory may also be a combination of the internal storage unit of the electronic device and the external storage device, and the memory is used for storing a computer program and other programs and data required by the electronic device, and may also be used for temporarily storing data that has been output or will be output, which is not limited in this application.
The PAAS platform-based unified management automation adaptation method of the embodiment is stored in a memory of the electronic equipment through the electronic equipment, and is loaded and executed on a processor of the electronic equipment, so that the electronic equipment is convenient to use.
The above description is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure should not be limited thereby. That is, all equivalent changes and modifications made in accordance with the teachings of the present disclosure are intended to be included within the scope of the present disclosure. Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (10)

1. A unified management automation adaptation method based on a PAAS platform is characterized by being applied to the PAAS platform and comprising the following steps:
selecting a target game from a plurality of preset games, and uploading the target game to a cloud storage platform;
selecting a server of a target machine type from a preset server machine type list, wherein the server machine type list comprises a plurality of machine type servers;
and determining a target adaptation parameter set corresponding to the target model, and sending the target adaptation parameter set to a server of the target model so as to enable the server of the target model to download the target game from the cloud storage platform, so that the server of the target model combines and runs a preset automatic adaptation script to adapt the target game based on the target adaptation parameter set.
2. The PAAS platform-based unified management automation adaptation method of claim 1, wherein the selecting a target game from a plurality of preset games and uploading the target game to a cloud storage platform comprises:
selecting a name of a target game from a preset game list, and calling a corresponding game bag body according to the name of the target game, wherein the game list comprises the names of a plurality of games and the corresponding game bag body;
and uploading the game bag body to a cloud storage platform for storage.
3. The PAAS platform-based unified management automation adaptation method of claim 2, wherein after uploading the game inclusion to a cloud storage platform for storage, further comprising:
receiving a storage address corresponding to the game bag body returned by the cloud storage platform;
the determining a target adaptation parameter set corresponding to the target model, and sending the target adaptation parameter set and the storage address to the server of the target model to enable the server of the target model to download the target game from the cloud storage platform, so that the server of the target model merges and runs a preset automatic adaptation script to adapt the target game based on the target adaptation parameter set, includes:
determining a target adaptation parameter set corresponding to the target machine type;
and sending the target adaptation parameter set and the storage address to a server of the target machine type so that the server of the target machine type downloads the target game from the cloud storage platform according to the storage address of the game packet body, and enabling the server of the target machine type to merge and run a preset automatic adaptation script to adapt the target game based on the target adaptation parameter set.
4. The PAAS platform-based unified management automation adaptation method as claimed in claim 3, wherein the sending the target adaptation parameter set and the storage address to the server of the target model to make the server of the target model download the target game from the cloud storage platform according to the storage address of the game packet body, so that the server of the target model merges and runs a preset automation adaptation script based on the target adaptation parameter set to adapt the target game comprises:
and sending the target adaptation parameter set and the storage address to a server of the target machine type, and sending an adaptation command to the server of the target machine type so that the server of the target machine type receives the adaptation command and downloads the target game from the cloud storage platform according to the storage address of the game package body, so that the server of the target machine type combines and runs a preset automatic adaptation script to adapt the target game based on the target adaptation parameter set.
5. The PAAS platform-based unified management automation adaptation method of claim 1, wherein the determining a target adaptation parameter set corresponding to the target model comprises:
acquiring an adaptation file, wherein the adaptation file comprises the machine types of all servers and corresponding adaptation parameter sets;
and matching a target adaptation parameter set corresponding to the target model from the adaptation file.
6. The PAAS platform-based unified management automation adaptation method of claim 1, wherein after determining a target adaptation parameter set corresponding to the target model and sending the target adaptation parameter set to the server of the target model to enable the server of the target model to download the target game from the cloud storage platform, so that the server of the target model merges and runs a preset automation adaptation script based on the target adaptation parameter set to adapt the target game, the method further comprises:
receiving an adaptation result sent by the server of the target model, wherein the adaptation result is an optimal adaptation parameter in the target adaptation parameter set obtained by the server of the target model according to the target adaptation parameter set and the target model;
sending a remote debugging command and the adaptation result to the server of the target machine type, and acquiring adaptation effect information of the target game running on the server of the target machine type according to the adaptation result based on the remote debugging command;
and adjusting the adaptation result according to the adaptation effect information and preset service demand information.
7. The PAAS platform-based unified management automation adaptation method of claim 1, wherein the adjusting the adaptation information according to the post-adaptation effect information and the preset service requirement information comprises:
comparing the adaptation effect information with normal adaptation information;
and if the adaptation effect information and the normal adaptation information are inconsistent, adjusting the adaptation result to the service requirement information.
8. The utility model provides a unified management automation adaptation device based on PAAS platform which characterized in that includes:
the target game selection module (11) is used for selecting a target game from a plurality of preset games and uploading the target game to the cloud storage platform;
the system comprises a target model selection module (12) for selecting a server of a target model from a preset server model list, wherein the server model list comprises a plurality of models of servers;
and the automatic adaptation parameter module (13) is used for determining a target adaptation parameter set corresponding to the target model, and sending the target adaptation parameter set to the server of the target model so as to enable the server of the target model to download the target game from the cloud storage platform, so that the server of the target model combines and runs a preset automatic adaptation script to adapt the target game based on the target adaptation parameter set.
9. A computer-readable storage medium, in which a computer program is stored, which, when loaded and executed by a processor, carries out the method of any one of claims 1 to 7.
10. An electronic device comprising a memory, a processor and a computer program stored in the memory and capable of running on the processor, wherein the method of any one of claims 1-7 is employed when the computer program is loaded into and executed by the processor.
CN202211490208.7A 2022-11-25 2022-11-25 PAAS platform-based unified management automatic adaptation method, device, medium and equipment Pending CN115914343A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211490208.7A CN115914343A (en) 2022-11-25 2022-11-25 PAAS platform-based unified management automatic adaptation method, device, medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211490208.7A CN115914343A (en) 2022-11-25 2022-11-25 PAAS platform-based unified management automatic adaptation method, device, medium and equipment

Publications (1)

Publication Number Publication Date
CN115914343A true CN115914343A (en) 2023-04-04

Family

ID=86482846

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211490208.7A Pending CN115914343A (en) 2022-11-25 2022-11-25 PAAS platform-based unified management automatic adaptation method, device, medium and equipment

Country Status (1)

Country Link
CN (1) CN115914343A (en)

Similar Documents

Publication Publication Date Title
US11467816B1 (en) Method and system of running an application
CN108282529B (en) System, method and device for publishing and subscribing data
CN111629240B (en) Multi-screen interactive display method and device
CN111309279B (en) Multi-screen interactive display method and device
CN109542468B (en) Application program release method and device and electronic equipment
CN108900627B (en) Network request method, terminal device and storage medium
CN110968331A (en) Method and device for running application program
CN112121411A (en) Vibration control method, device, electronic equipment and computer readable storage medium
CN110764805A (en) Method, device, terminal and storage medium for noninductive upgrade of client
CN113687858A (en) Configuration file checking method and device, electronic equipment and storage medium
US11095957B2 (en) Method and apparatus for publishing information, and method and apparatus for processing information
CN114924851A (en) Training task scheduling method and device, electronic equipment and storage medium
CN111698281B (en) Resource downloading method and device, electronic equipment and storage medium
CN109873731B (en) Test method, device and system
CN111767558A (en) Data access monitoring method, device and system
CN112217880A (en) Attribution method, attribution device, attribution medium and electronic equipment for application program activation
WO2017185632A1 (en) Data transmission method and electronic device
CN114610446B (en) Method, device and system for automatically injecting probe
CN115914343A (en) PAAS platform-based unified management automatic adaptation method, device, medium and equipment
CN113204425B (en) Method, device, electronic equipment and storage medium for process management internal thread
CN111294377A (en) Network request sending method of dependency relationship, terminal device and storage medium
US20220035591A1 (en) Method and apparatus for displaying message box, terminal device and non-transitory computer-readable storage medium
CN113230661A (en) Data synchronization method and device, computer readable medium and electronic equipment
CN113434384A (en) Pressure testing method and device
CN112083945A (en) NPM installation package update prompting method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination