CN115766618A - Resource allocation system of multiple servers - Google Patents

Resource allocation system of multiple servers Download PDF

Info

Publication number
CN115766618A
CN115766618A CN202211183283.9A CN202211183283A CN115766618A CN 115766618 A CN115766618 A CN 115766618A CN 202211183283 A CN202211183283 A CN 202211183283A CN 115766618 A CN115766618 A CN 115766618A
Authority
CN
China
Prior art keywords
configuration
server
servers
access
identity
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
CN202211183283.9A
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.)
Jiangsu Yincheng Network Technology Co Ltd
Original Assignee
Jiangsu Yincheng Network 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 Jiangsu Yincheng Network Technology Co Ltd filed Critical Jiangsu Yincheng Network Technology Co Ltd
Priority to CN202211183283.9A priority Critical patent/CN115766618A/en
Publication of CN115766618A publication Critical patent/CN115766618A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a resource allocation system of multiple servers, comprising: the information input module is used for creating the identity of the person and the right for deploying the identity right; the file configuration module is used for establishing access modes of a plurality of servers based on the created person identities; and the configuration authority operation module is used for executing creation, modification and configuration processing on the Apollo interface based on the deployment right given by the identity right. The multi-server resource configuration system provided by the invention realizes the coordination configuration of a plurality of servers, can uniformly manage the configuration of different environments and different clusters, takes the configuration modification into effect in real time, can realize the data updating work without restarting the servers, divides the account roles, ensures the data safety, and avoids the risks of loss and stealing.

Description

Resource allocation system of multiple servers
Technical Field
The invention relates to rock experiment equipment, in particular to a resource allocation system of multiple servers.
Background
All configurations are basically configured through local files, such as ip addresses, ports, message middleware and various parameters of database connection, and the configurations must be manually modified when the environment needs to be switched or the parameters need to be adjusted. If only one configuration file is good, but if there are many such configuration files and distributed across multiple machines, this is clearly very inefficient and error prone.
Configuration files of different environments need to be placed in the project, and the configuration of which environment is used can be specified through starting parameters during deployment. The scheme has the following two problems in the actual operation engineering:
1. developers of projects can see various addresses, account numbers, passwords and the like of production environments, so that leakage of servers and information is caused, and the information is difficult to keep secret;
2. configuration updating can be effective only by restarting the project, the waiting time is long, and the working efficiency is influenced.
Disclosure of Invention
It is an object of the present invention to provide a resource allocation system for multiple servers,
in order to achieve the above purpose, the invention provides the following technical scheme:
a multi-server resource configuration system, comprising:
the information input module is used for creating the identity of the person and the right for deploying the identity right;
the file configuration module is used for establishing access modes of a plurality of servers based on the created character identities;
and the configuration authority operation module is used for executing creation, modification and configuration processing on the Apollo interface based on the deployment right given by the identity right.
Preferably, the person identities include an administrator, a user, and a publisher, wherein:
the administrator has project authority management, cluster creation and Namespace creation and management qualification;
the publisher maintains the created project, registers the operation record of the project, and registers the retention time, the location and the operation content;
the user, experiential of the created project, is specifically qualified for use and status feedback.
Preferably, the file configuration module includes a server access conversion unit, and performs data conversion automatically according to a logged-in server after verifying access information verified based on the access modes one by one, so as to form an access mode matched with the logged-in current server.
Preferably, the access mode includes an access address, a login account, an authentication code and a login password.
A method for resource allocation of multiple servers is applied to a resource allocation system of multiple servers in the technical scheme, and comprises the following steps:
s001, registering an account number, setting an access password, and automatically creating a corresponding oracle database shared by multi-server data to form automatic configuration of a plurality of servers;
s002, creating a person identity according to the interface selection, obtaining corresponding authority, and loading configuration file resources into the oracle database for storage;
s003, determining configuration, increasing configuration and issuing the completed configuration.
Preferably, the step 1 establishes an oracle database according to the server creating the identity to form a shared database, performs agreement of a temporary channel thereof, mirrors channel agreements of a plurality of other servers based on the agreement of the temporary channel, and performs mirroring of the login password to duplicate the access agreement key.
Preferably, in the data interaction process in step 3, the server is used to determine whether the incremental update data actively pushed by the source server is received, and if not, the server is requested for the software configuration content corresponding to the node server until the software configuration content corresponding to the node server is received from the server, where the server includes the source server or other node services in the same network as the node server.
In the above technical solution, the resource allocation system of multiple servers provided by the present invention has the following beneficial effects: the method and the system realize the coordinated configuration of a plurality of servers, can uniformly manage the configuration of different environments and different clusters, take effect in real time for configuration modification, can realize the data updating work without restarting the servers, divide account roles, ensure the data safety and avoid the risk of loss and theft.
Drawings
In order to more clearly illustrate the embodiments of the present application or technical solutions in the prior art, the drawings required in the embodiments will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present invention, and other drawings can be obtained by those skilled in the art according to these drawings.
FIG. 1 is a diagram of a project information input interface provided by an embodiment of the present invention;
FIG. 2 is a diagram of a configuration permission interface according to an embodiment of the present invention;
FIG. 3 is a diagram of an add-on configuration interface provided by an embodiment of the present invention;
fig. 4 is a diagram of a publishing configuration interface provided by an embodiment of the present invention;
FIG. 5 is a block diagram of an embodiment of the present invention;
fig. 6 is a schematic view of a flow structure provided in the embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1
As shown in fig. 5, a resource allocation system of multiple servers includes:
the information input module is used for creating the identity of the person and the right for deploying the identity right;
the file configuration module is used for establishing access modes of a plurality of servers based on the created person identities;
and the configuration authority operation module is used for giving deployment authority based on the identity right and executing creation, modification and configuration processing on the Apollo interface.
Further, the character identity includes an administrator, a user, and a publisher, wherein:
the administrator has project authority management, cluster creation and Namespace creation and management qualification;
the publisher maintains the created phase project, registers the operation record of the phase project, and registers the retention time, the location and the operation content;
the user, experiential of the created project, is specifically qualified for use and status feedback.
Further, the file configuration module comprises a server access conversion unit, and after access information verified based on the access modes is verified one by one, data conversion is automatically carried out according to the logged-in server so as to form an access mode matched with the logged-in current server.
The access mode in the above embodiment includes an access address, a login account, an authentication code, and a login password.
According to the technical scheme, the coordination configuration of the plurality of servers is realized, the configurations of different environments and different clusters can be uniformly managed, the configuration modification takes effect in real time, the update work of data can be realized without restarting the servers, the account roles are divided, the safety of the data is ensured, and the risks of loss and stealing are avoided.
Example 2
As shown in fig. 6, a method for resource allocation of multiple servers is applied to a resource allocation system of multiple servers in embodiment 1, and includes the following steps:
s001, registering an account number, setting an access password, and automatically creating a corresponding oracle database shared by multi-server data to form automatic configuration of a plurality of servers;
s002, creating a character identity according to the interface selection, obtaining corresponding authority, and loading configuration file resources into an oracle database for storage;
s003, determining the configuration, adding the configuration and publishing the completed configuration.
Step 1, establishing an oracle database according to a server for creating identity to form a shared database, performing an agreement of a temporary channel of the shared database, mirroring the channel agreements of a plurality of other servers based on the agreement of the temporary channel, and mirroring a login password to copy an access agreement key.
And in the data interaction process in the step 3, the server is used for judging whether incremental updating data actively pushed by the source server is received or not, if not, the server is requested for software configuration content corresponding to the node server until the software configuration content corresponding to the node server is received from the server, and the server comprises the source server or other node services in the same network with the node server.
According to the technical scheme, the coordination configuration of the plurality of servers is realized, the configurations of different environments and different clusters can be uniformly managed, the configuration modification takes effect in real time, the update work of data can be realized without restarting the servers, the account roles are divided, the safety of the data is ensured, and the risks of loss and stealing are avoided.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The principle and the implementation mode of the invention are explained by applying specific embodiments in the invention, and the description of the embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.
An embodiment of the present application further provides a specific implementation manner of an electronic device, which is capable of implementing all steps in the method in the foregoing embodiment, where the electronic device specifically includes the following contents:
a processor (processor), a memory (memory), a communication Interface (Communications Interface), and a bus;
the processor, the memory and the communication interface complete mutual communication through the bus;
the processor is configured to invoke the computer program in the memory, and when executing the computer program, the processor implements all the steps in the method in the foregoing embodiments, for example, when executing the computer program, the processor implements the following steps:
a project information input interface;
configuring an authority interface;
adding a configuration interface;
and releasing the configuration interface diagram.
Embodiments of the present application also provide a computer-readable storage medium capable of implementing all the steps of the method in the above embodiments, where the computer-readable storage medium stores thereon a computer program, and the computer program when executed by a processor implements all the steps of the method in the above embodiments, for example, the processor implements the following steps when executing the computer program:
a project information input interface;
configuring an authority interface;
adding a configuration interface;
and releasing the configuration interface diagram.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the hardware + program class embodiment, since it is substantially similar to the method embodiment, the description is simple, and the relevant points can be referred to the partial description of the method embodiment. Although embodiments of the present description provide method steps as described in embodiments or flowcharts, more or fewer steps may be included based on conventional or non-inventive means. The order of steps recited in the embodiments is merely one manner of performing the steps in a multitude of sequences, and does not represent a unique order of performance. When an actual apparatus or end product executes, it may execute sequentially or in parallel (e.g., parallel processors or multi-threaded environments, or even distributed data processing environments) according to the method shown in the embodiment or the figures. The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, the presence of additional identical or equivalent elements in a process, method, article, or apparatus that comprises the recited elements is not excluded. For convenience of description, the above devices are described as being divided into various modules by functions, and are described separately. Of course, in implementing the embodiments of the present description, the functions of each module may be implemented in one or more software and/or hardware, or a module implementing the same function may be implemented by a combination of multiple sub-modules or sub-units, and the like. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of logical functional division, and other divisions may be realized in practice, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form. The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein. All the embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment. In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of an embodiment of the specification.
In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction. The above description is only an example of the embodiments of the present disclosure, and is not intended to limit the embodiments of the present disclosure. Various modifications and alterations to the embodiments described herein will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the embodiments of the present specification should be included in the scope of the claims of the embodiments of the present specification.

Claims (9)

1. A multi-server resource allocation system, comprising:
the information input module is used for creating the identity of the person and the right for deploying the identity right;
the file configuration module is used for establishing access modes of a plurality of servers based on the created person identities;
and the configuration authority operation module is used for executing creation, modification and configuration processing on the Apollo interface based on the deployment right given by the identity right.
2. The resource allocation system of claim 1, wherein the identities comprise an administrator, a user, and a publisher, and wherein:
the administrator has project authority management, cluster creation and Namespace creation and management qualification;
the publisher maintains the created project, registers the operation record of the project, and registers the retention time, the location and the operation content;
the user, experiential of the created project, is specifically qualified for use and status feedback.
3. The system according to claim 1, wherein the file configuration module includes a server access conversion unit, and after verifying the access information verified based on the access modes one by one, the file configuration module automatically performs data conversion according to the logged-in server to form an access mode matched with the logged-in current server.
4. The system according to claim 1, wherein the access means includes an access address, a login account, an authentication code, and a login password.
5. A method for resource allocation of multiple servers, which is applied to the resource allocation system of multiple servers as claimed in any one of claims 1-4, and comprises the following steps:
s001, registering an account number, setting an access password, and automatically creating a corresponding oracle database shared by multi-server data to form automatic configuration of a plurality of servers;
s002, creating a person identity according to the interface selection, obtaining corresponding authority, and loading configuration file resources into the oracle database for storage;
s003, determining the configuration, adding the configuration and publishing the completed configuration.
6. The method of claim 5, wherein step 1 establishes an oracle database according to the identity-creating server to form a shared database, performs agreement of its temporary channel, mirrors channel agreement of a plurality of other servers based on the agreement of the temporary channel, and performs mirroring of the login password to duplicate the access agreement key.
7. The method as claimed in claim 5, wherein in the step 3, the server determines whether the incremental update data actively pushed by the source server is received, and if not, requests the server for the software configuration content corresponding to the node server until the server receives the software configuration content corresponding to the node server, where the server includes the source server or another node service in the same network as the node server.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program performs the steps of the method for resource allocation of a multiserver according to any of the claims 1 to 6.
9. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method for resource allocation of a multiserver according to any of the claims 1 to 6.
CN202211183283.9A 2022-09-27 2022-09-27 Resource allocation system of multiple servers Pending CN115766618A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211183283.9A CN115766618A (en) 2022-09-27 2022-09-27 Resource allocation system of multiple servers

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211183283.9A CN115766618A (en) 2022-09-27 2022-09-27 Resource allocation system of multiple servers

Publications (1)

Publication Number Publication Date
CN115766618A true CN115766618A (en) 2023-03-07

Family

ID=85350299

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211183283.9A Pending CN115766618A (en) 2022-09-27 2022-09-27 Resource allocation system of multiple servers

Country Status (1)

Country Link
CN (1) CN115766618A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117150534A (en) * 2023-10-30 2023-12-01 西安热工研究院有限公司 Trusted DCS upper computer application access control method and system based on authority management

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117150534A (en) * 2023-10-30 2023-12-01 西安热工研究院有限公司 Trusted DCS upper computer application access control method and system based on authority management
CN117150534B (en) * 2023-10-30 2024-01-30 西安热工研究院有限公司 Trusted DCS upper computer application access control method and system based on authority management

Similar Documents

Publication Publication Date Title
US20240089264A1 (en) Managing security groups for data instances
US10664302B2 (en) Automated orchestration of a virtualized computing environment
CN108305072B (en) Method, apparatus, and computer storage medium for deploying a blockchain network
CN107637042B (en) Custom communication channel for application deployment
US9658871B2 (en) Providing configurable bootstrapping of software execution
US11438421B2 (en) Accessing resources in a remote access or cloud-based network environment
EP2675127B1 (en) Method and device for automatically migrating system configuration item
US10148657B2 (en) Techniques for workload spawning
CN107925877B (en) System and method for centralized configuration and authentication
EP3274821B1 (en) Wrapping an application with field-programmable business logic
US10318747B1 (en) Block chain based authentication
US20220156164A1 (en) Method and system for managing cloud resources
US10846463B2 (en) Document object model (DOM) element location platform
US11770454B2 (en) Native application integration for enhanced remote desktop experiences
US20230148158A1 (en) Method and system for managing cloud resources
CN115766618A (en) Resource allocation system of multiple servers
CN116263818A (en) Authorization of service requests in a multi-cluster system
US11636068B2 (en) Distributed file locking for a network file share
CN116614323B (en) Cloud storage enterprise network management method and system based on Rclone
US20240080306A1 (en) Automated sharing of remote devices by multiple users using a file system
US11953972B2 (en) Selective privileged container augmentation
US11736525B1 (en) Generating access control policies using static analysis
US8788681B1 (en) Method and apparatus for autonomously managing a computer resource using a security certificate
Marinescu Cloud infrastructure
CN111324371A (en) Method for supporting custom environment and task by production line SAAS service plug-in

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