CN117155992A - Service processing method and processing system - Google Patents

Service processing method and processing system Download PDF

Info

Publication number
CN117155992A
CN117155992A CN202311423991.XA CN202311423991A CN117155992A CN 117155992 A CN117155992 A CN 117155992A CN 202311423991 A CN202311423991 A CN 202311423991A CN 117155992 A CN117155992 A CN 117155992A
Authority
CN
China
Prior art keywords
information
target
service
equipment
cluster
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.)
Granted
Application number
CN202311423991.XA
Other languages
Chinese (zh)
Other versions
CN117155992B (en
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.)
Tianjin Tianhe Computer Technology Co ltd
Original Assignee
Tianjin Tianhe Computer Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tianjin Tianhe Computer Technology Co ltd filed Critical Tianjin Tianhe Computer Technology Co ltd
Priority to CN202311423991.XA priority Critical patent/CN117155992B/en
Publication of CN117155992A publication Critical patent/CN117155992A/en
Application granted granted Critical
Publication of CN117155992B publication Critical patent/CN117155992B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery or management thereof, e.g. service location protocol [SLP] or web services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The application relates to the field of data processing, and discloses a service processing method and a service processing system. The method comprises the following steps: receiving first device information; obtaining target equipment information and processing instructions based on the first equipment information according to user instructions; acquiring associated information according to the processing instruction and the target equipment information, wherein the associated information at least comprises cluster information of the target equipment attribution included in the target equipment information; sending the processing instruction to a target cluster matched with the cluster information according to the association information; and unloading the service on the target equipment or performing service deployment operation on the target equipment according to the association information and the processing instruction through the service installed on the target cluster. The service deployment of multiple clusters and cross-platform is realized, and the deployment efficiency and effect are improved.

Description

Service processing method and processing system
Technical Field
The present application relates to the field of data processing, and in particular, to a service processing method and a service processing system.
Background
The expansion of computing power inevitably leads to the expansion of cluster scale, and in the present large-scale data center and super computing center, a plurality of clusters are often operated and managed at the same time, the number of devices in each cluster can reach thousands of devices, and the problem of cross-platform exists among clusters and even among devices in the clusters.
Therefore, the monitoring management of the cluster is more complex, monitoring services are required to be deployed on all nodes, a monitoring platform is accessed, and the health condition of equipment in the cluster is checked at any time. If the monitoring services on the devices are frequently updated or deployed and managed by manual or script-based automatic deployment modes every day, a great deal of time is wasted, and some omission caused by negligence is unavoidable due to manual operation, the deployment management modes with long time consumption, low efficiency and poor reliability cannot meet the application requirements. Therefore, a monitoring service processing system needs to be designed, the monitoring service deployment operation is simplified, the deployment flow is standardized, the multi-cluster, cross-platform and one-key automatic batch deployment can be realized, and the high-availability requirement is met.
In view of this, the present application has been made.
Disclosure of Invention
In order to solve the technical problems, the application provides a service processing method and a service processing system, which realize multi-cluster and cross-platform service processing and improve the processing efficiency and effect.
In a first aspect, an embodiment of the present application provides a method for processing a service, including:
receiving first device information;
obtaining target equipment information and processing instructions based on the first equipment information according to user instructions;
acquiring associated information according to the processing instruction and the target equipment information, wherein the associated information at least comprises cluster information of the target equipment attribution included in the target equipment information;
sending the processing instruction to a target cluster matched with the cluster information according to the association information;
and unloading the service on the target equipment or performing service deployment operation on the target equipment according to the association information and the processing instruction through the service installed on the target cluster.
In a second aspect, an embodiment of the present application provides a service processing system, including:
the system comprises a cluster equipment management module, a service management module, a deployment management module, a data buffer module, a scheduling module and an execution module;
the cluster equipment management module is used for storing the associated information of equipment, wherein the associated information at least comprises the identification information of the corresponding equipment and the attributive cluster information;
the service management module is used for managing the installation packages of all the services uploaded by the user;
the deployment management module is used for receiving first equipment information, obtaining target equipment information and a processing instruction based on the first equipment information according to a user instruction, and obtaining matched associated information according to the processing instruction and the target equipment information, wherein the matched associated information at least comprises cluster information of the target equipment included in the target equipment information;
the data buffer module is in communication connection with the deployment management module and is used for sending the matched association information and the processing instruction to the scheduling module;
the scheduling module is used for sending the processing instruction to the matched target cluster according to the matched association information;
the execution module is arranged in the target cluster and is used for processing the service on the target equipment according to the matched association information and the processing instruction through the service installed in the target cluster.
The service processing method provided by the embodiment of the application is characterized by receiving the first equipment information;
obtaining target equipment information and processing instructions based on the first equipment information according to user instructions; acquiring associated information according to the processing instruction and the target equipment information, wherein the associated information at least comprises cluster information of the target equipment attribution included in the target equipment information; sending the processing instruction to a target cluster matched with the cluster information according to the association information; by the technical means that the service installed on the target cluster unloads the service on the target device or performs service deployment operation on the target device according to the association information and the processing instruction, multi-cluster and cross-platform service deployment is realized, and deployment efficiency and effect are improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present application, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for processing services according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a service processing system according to an embodiment of the present application;
FIG. 3 is a schematic structural diagram of a scheduling module and an execution module according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be clearly and completely described below. It will be apparent that the described embodiments are only some, but not all, embodiments of the application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the application, are within the scope of the application.
Fig. 1 is a flow chart of a service processing method according to an embodiment of the present application, where the service processing method may be executed by a service processing system, and the service processing system may be implemented in software and/or hardware. As shown in fig. 1, the service processing method includes the following steps:
s110, receiving first device information.
The first device information may specifically refer to identity information of the device.
Optionally, the receiving the first device information includes:
and receiving the first device information in response to a device selection operation triggered by a user based on the visual graphical operation interface. For example, the user selects an operation of a certain device icon from the visualized graphical operation interface, and then the background can be triggered to receive the first device information corresponding to the device.
Through visual graphical operation interface, can greatly make things convenient for the interactive operation between user and the machine, be favorable to promoting user's use experience and operating efficiency, and the requirement to the user is lower, and the user need not possess higher specialty quality and can operate to can use manpower sparingly cost.
Further, the receiving, in response to a device selection operation triggered by a user based on a visual graphical operation interface, the first device information includes:
the first device information is received in response to a user moving a device in the device list of the undeployed target service to a device list of the deployed target service, or in response to a user moving a device in the device list of the deployed target service to a device list of the undeployed target service. That is, as a user, only one or more devices need to be moved from one device list (for example, an interaction mode of direct dragging or an interaction mode of first selecting and then implementing through an "add" button) to another device list, so that an operation of selecting one or more devices can be implemented. If the user wants to unload the target service on a certain device, the user only needs to move the device from the device list of the deployed target service to the device list of the undeployed target service; if the user wants to deploy the target service to a certain device, the user only needs to move the device from the device list of undeployed target service to the device list of deployed target service, so that the operation is convenient and simple, the path is obvious, the operation is easy to operate, the understanding cost is low, the overall efficiency is improved, and the error rate is low.
And S120, obtaining target equipment information and processing instructions based on the first equipment information according to the user instructions.
Specifically, if the user instruction is a full-scale processing instruction, the first device information is determined to be the target device information, and the processing instruction is determined to be a deployment instruction.
If the user instruction is an increment processing instruction, determining a first device and a target service included in the first device information, comparing the first device with a second device deployed with the target service, if the number of the first devices is larger than that of the second devices, determining the processing instruction as a deployment instruction, and determining identification information of a device different from the second device in the first device as the target device information; for example, the first device is a device a and the second device is a device b, if the number of first devices (2) is greater than the number of second devices (1), the processing instruction is determined to be a deployment instruction, that is, the target service is already deployed on the device a at the present time, but the user hopes that both the device a and the device b deploy the target service, that is, the device b which does not deploy the target service is determined to be the target device information when the device a and the device b are in an incremental deployment scene, that is, the device b which is different from the second device in the first device is determined to be the target device information, so that the subsequent deployment operation of the target service is performed on the device b.
Conversely, if the number of the first devices is smaller than the number of the second devices, the processing instruction is determined to be an uninstall instruction, and identification information of a device different from the first device in the second devices is determined to be the target device information. For example, the first device is a device a, the second devices are a device a and a device b, the number (1) of the first devices is smaller than the number (2) of the second devices, the processing instruction is determined to be an unloading instruction, that is, the target service is already deployed on both the device a and the device b by the current time, but the user wants to deploy the target service only by the device a, that is, the incremental unloading scene at this time, the identification information of the device b (that is, the device different from the second device in the first device) which has deployed the target service is determined to be the target device information, so that the unloading operation of the target service on the device b can be conveniently executed later.
The target device may be a server, for example. The target service may be a specific monitoring service. The user instruction may be triggered based on a preset interactive button, for example, if the user triggers the preset interactive button, the corresponding user instruction is an incremental processing instruction, and if the user does not trigger the preset interactive button, the corresponding user instruction is a full processing instruction.
S130, acquiring associated information according to the processing instruction and the target equipment information, wherein the associated information at least comprises cluster information of the target equipment included in the target equipment information.
Furthermore, the associated information can also comprise a cabinet to which the target equipment belongs, the IP of the target equipment and the like, so that the user can know the target equipment in an omnibearing way by enriching the content of the associated information, and the development of various services is facilitated.
Illustratively, the obtaining the association information according to the processing instruction and the target device information includes:
if the processing instruction is a deployment instruction, the associated information further comprises an installation package of the target service, cluster information of the target device is acquired from a cluster device management module according to the target device information, and the installation package of the target service is acquired from a service management module;
and if the processing instruction is an unloading instruction, acquiring cluster information to which the target equipment belongs from a cluster equipment management module according to the target equipment information.
In the cluster device management module, association information of a plurality of devices (the target device is one of the plurality of devices) is stored, and the devices are usually devices needing to deploy related services, and if a certain device is updated or no longer needs to deploy related services, the association information of the device can be deleted from the cluster device management module. Furthermore, the associated information of the plurality of devices stored in the cluster device management module can be modified at any time to adapt to the adjustment of the service system. The cluster equipment management module is used for maintaining and managing the associated information of each equipment, so that the associated information of each equipment can be conveniently added, deleted or modified, adjustment of each cluster service system is facilitated, and the practicability of the embodiment is enhanced.
In the service management module, there is stored an installation package of various services (the target service is one of the various services), which are functional services that need to be deployed into the devices in the cluster, such as a monitoring service. Because the difference between the devices in the cluster (which can be represented as the difference in hardware or the difference between the components installed in the cluster) is different in service to be deployed by each device, in order to improve the wide applicability, in the scheme of the embodiment of the application, the service management module is used for maintaining and managing the installation packages of various services, a user can upload the installation packages of the corresponding services to the service management module according to the needs of a specific service system, and when the corresponding services are required to be deployed to the corresponding devices, only the installation packages of the corresponding services are required to be selected from the service management module, so that the operation is convenient and the efficiency is higher. Meanwhile, when a certain service is upgraded, the installation package of the corresponding service in the service management module can be updated. For example, when service a is up-staged, the installation package of service a in the service management module may be updated. If service A prior to the upgrade has been deployed to multiple devices, the user may implement a "redeploy" button in order for service A on multiple devices to be upgraded synchronously. Specifically, the user can select all the devices in the device list of the deployed service a and trigger a redeployment button, so that the system automatically upgrades the service a on a plurality of devices, i.e. the installation package of the upgraded service a is deployed on the corresponding device to cover the service a before upgrading. And S140, sending the processing instruction to a target cluster matched with the cluster information according to the association information.
S150, unloading the service on the target equipment or performing service deployment operation on the target equipment according to the association information and the processing instruction through the service installed on the target cluster.
It can be understood that when the target service needs to be deployed by the devices under different clusters, the deployment operation is performed by the corresponding clusters respectively, so that higher deployment efficiency can be obtained. Unloading the service on the target device or performing a service deployment operation on the target device (for example, deploying a target service or unloading a deployed target service) by the service installed on the target cluster according to the association information and the processing instruction.
The installation package of the target service comprises a client file, a configuration file and a deployment script file of the target service, the service installed in the target cluster locates target equipment according to the association information, analyzes the installation package to obtain the client file, the configuration file and the deployment script file, and then controls the deployment script file to execute, so that the installation package of the target service is deployed on the target equipment.
The service installed on the target cluster deploys the installation package of the target service on the target equipment according to the association information, so that higher deployment efficiency can be realized, multi-cluster and cross-platform service deployment is realized, and deployment efficiency and effect are improved.
According to the technical scheme provided by the embodiment of the application, an operation and maintenance personnel can upload the installation package of the service to be deployed to the service management module based on the visual graphical operation interface through the HTTP file uploading protocol, and add the associated information of the equipment to be deployed to the cluster equipment management module; when service deployment is needed, operation and maintenance personnel select equipment in batches from the cluster equipment management module and select services in batches from the service management module, so that multi-cluster and cross-platform service batch deployment is realized, and deployment efficiency and effect are improved. Likewise, batch offloading may also be implemented when offloading services is required.
Further, after unloading the service on the target device or performing a service deployment operation on the target device according to the association information and the processing instruction by the service installed in the target cluster, the method further includes:
counting a first equipment list of an installation package of the target service and a second equipment list of an installation package of the target service which is not deployed, and displaying the first equipment list and the second equipment list respectively;
the first device list includes information (such as identification information of devices, IP, home cabinets, home clusters, etc.) of devices of an installation package where the target service has been deployed, and running state information of the target service on the corresponding devices.
Specifically, after the service installed in the target cluster deploys the installation package of the target service on the target device according to the association information, relevant information is fed back to an associated list interface, the list interface counts a first device list where the installation package of the target service is deployed and a second device list where the installation package of the target service is not deployed based on the fed back information, and indicates a front end to display the first device list and the second device list respectively, so that the user can conveniently view the first device list and the second device list, the whole deployment process is transparent to the user, and the use experience of the user is improved. The running state information of the target service on the corresponding equipment comprises normal and abnormal, for example, when the corresponding equipment is down, the running state information of the target service displays abnormal, and when the corresponding equipment and the target service run normally, the running state information of the target service displays normal. The running state information of the target service on the corresponding equipment can be specifically 'downtime offline' and 'health online'.
Further, the method further comprises the following steps:
controlling the target service deployed on the corresponding device to restart in response to a restart operation triggered by a user based on the first device list;
and in response to the device updating operation triggered by the user based on the visual graphical operation interface corresponding to the cluster device management module, updating the association information of the device and redeploying the service deployed on the device before updating to the device after updating. The method and the device facilitate the user to update the associated information of the equipment, and improve the applicability, expandability and flexibility of the scheme. Fig. 2 is a schematic structural diagram of a service processing system according to an embodiment of the present application, where the processing system is configured to execute the service processing method according to the foregoing embodiment, and specifically includes a cluster device management module 210, a service management module 220, a deployment management module 230, a data buffer module 240, a scheduling module 250, and an execution module 260;
the cluster device management module 210 is configured to store association information of devices, where the association information at least includes identification information of corresponding devices and home cluster information; specifically, the operation and maintenance personnel can upload the associated information of the equipment needing to be deployed with the related service to the cluster equipment management module 210 for storage according to the service requirement, and when a certain equipment does not need to be deployed with the related service, the equipment can be deleted from the cluster equipment management module 210, and the associated information of each equipment can be modified at any time. The device may be, for example, a server in particular. The service may be a specific monitoring service.
The associated information can also comprise a cabinet to which the equipment belongs, the IP of the equipment and the like, and the user can know any equipment in an omnibearing way by enriching the content of the associated information, so that the development of various services is facilitated.
The service management module 220 is configured to manage installation packages of services uploaded by a user.
The deployment management module 230 is configured to receive first device information, obtain target device information and a processing instruction according to a user instruction based on the first device information, and obtain matched association information according to the processing instruction and the target device information, where the matched association information at least includes cluster information of the target device included in the target device information; specifically, the first device information is received in response to a device selection operation triggered by a user based on a visual graphical operation interface. Further, the first device information is received in response to a user moving a device in the device list of the undeployed target service to the device list of the deployed target service, or in response to a user moving a device in the device list of the deployed target service to the device list of the undeployed target service. If the user instruction is a full processing instruction, determining the first device information as the target device information, and determining the processing instruction as a deployment instruction;
if the user instruction is an increment processing instruction, determining a first device and a target service included in the first device information, comparing the first device with a second device deployed with the target service, if the number of the first devices is larger than that of the second devices, determining the processing instruction as a deployment instruction, and determining identification information of a device different from the second device in the first device as the target device information; and if the number of the first devices is smaller than the number of the second devices, determining that the processing instruction is an unloading instruction, and determining the identification information of the devices which are different from the first devices in the second devices as the target device information.
If the processing instruction is a deployment instruction, the associated information further comprises an installation package of the target service, cluster information of the target device is acquired from a cluster device management module according to the target device information, and the installation package of the target service is acquired from a service management module;
and if the processing instruction is an unloading instruction, acquiring cluster information to which the target equipment belongs from a cluster equipment management module according to the target equipment information.
The data buffering module 240 is communicatively connected to the deployment management module 230, and is configured to send the matched association information and the processing instruction to the scheduling module 250.
The scheduling module 250 is configured to send the processing instruction to the matched target cluster according to the matched association information; the execution module 260 is configured to process, by a service installed in the target cluster, a service on the target device according to the matched association information and the processing instruction. Wherein, a plurality of parallel services, such as service 1, service 2, service 3, service 4, service 5 and service 6 shown in fig. 3, are disposed in the scheduling module 250, and the 6 services are parallel and have the same function, so that the purpose of setting a plurality of services with the same function is to be able to respond to a plurality of requests at the same time, thereby improving the processing efficiency, and when one service fails, other services can still work normally, thereby improving the stability of the system and eliminating the single point failure risk.
Similarly, the plurality of services installed in the target cluster are arranged in parallel, so that the purpose is to respond to a plurality of requests at the same time, thereby improving the processing efficiency, and when one service fails, other services can still work normally, the stability of the system can be improved, and the single-point failure risk is eliminated.
The data buffering module 240 is further configured to receive the processing result fed back by the executing module 260, count the device list of the deployed target service and the device list of the undeployed target service, and instruct the visualization graphic module 270 to display. The device list includes association information of devices, which may be directly obtained from the cluster device management module 210, so that the data buffer module 240 is further communicatively connected to the cluster device management module 210. In some embodiments, the data buffering module 240 may also obtain the installation package of the service directly from the service management module 220, and thus, the data buffering module 240 may also be communicatively connected with the service management module 220.
Further, the system further includes a visual graphic module 270, configured to provide a visual graphic interface for a user, so that the user selects a target device from the cluster device management module based on the visual graphic operation interface corresponding to the cluster device management module, and selects an installation package of the target service from the service management module based on the visual graphic operation interface corresponding to the service management module.
The visual graphical interface comprises a first display area of a first device list of an installation package of the deployed target service and a second display area of a second device list of an installation package of the undeployed target service;
when the user moves a part of the devices in the second device list in the second display area to the first device list in the first display area, or moves a part of the devices in the first device list in the first display area to the second device list in the second display area, the relevant information of the part of the devices and the corresponding processing instruction are sent to the deployment management module 230. Specifically, when the user moves a part of devices in the second device list in the second display area to the first device list in the first display area, the corresponding processing instruction is a deployment instruction, and at this time, the association information of the part of devices and the deployment instruction are sent to the deployment management module 230, the deployment management module 230 further obtains an installation package of the corresponding service from the service management module 220 according to the association information of the part of devices, and sends the deployment instruction, the association information and the installation package to the data buffer module 240, the data buffer module 240 is in communication connection with the deployment management module 230, and sends the matched association information, the processing instruction and the installation package to the scheduling module 250. The scheduling module 250 sends the processing instruction and the installation package to the matched target cluster according to the matched association information; the execution module 260 is disposed in the target cluster, and is configured to locate a target device according to the matched association information through a service installed in the target cluster, and deploy the installation package to the target device, and when the deployment is completed, feed back a processing result to the data buffering module 240, so that the data buffering module 240 counts which devices have deployed the target service and which devices have not deployed the target service.
When the user moves a part of devices in the first device list in the first display area to the second device list in the second display area, the corresponding processing instruction is an uninstall instruction, and at this time, the relevant information and the uninstall instruction of the part of devices are sent to the deployment management module 230, the deployment management module 230 sends the uninstall instruction and the relevant information to the data buffer module 240, the data buffer module 240 is in communication connection with the deployment management module 230, and the matched relevant information and the uninstall instruction are sent to the scheduling module 250. The scheduling module 250 sends the unloading instruction to the matched target cluster according to the matched association information; the execution module 260 is disposed in the target cluster, and is configured to locate a target device according to the matched association information through a service installed in the target cluster, and uninstall a target service deployed on the target device, and when uninstalling is completed, feed back a processing result to the data buffer module 240, so that the data buffer module 240 counts which devices have deployed the target service and which devices have not deployed the target service.
Further, the first display area comprises a restarting button, and the restarting of the target service deployed on the corresponding device is controlled in response to the user triggering of the restarting button.
According to the scheme provided by the embodiment of the application, a clear graphical operation interface is provided, the cluster equipment management module 210, the service management module 220 and the deployment management module 230 are provided with independent list interfaces for operation and maintenance personnel to view and operate, wherein the deployment management module 230 displays a certain monitoring service to which equipment in a list mode; the display form of the shuttle frame is given in the deployment operation, wherein the device list of undeployed services is displayed in the left side frame of the shuttle frame, the device list of deployed services is displayed in the right side frame, an operation and maintenance person can select a rear key of the device to add the left side device into the right side frame, and then the rear end executes a deployment service task; and when the right side equipment is added into the left side frame, the rear end executes the service unloading task, so that the operation is convenient and efficient. The back end deployment operation is completely transparent to operation and maintenance personnel, so that the operation efficiency is improved well, the technical threshold is reduced, and the fault hidden danger caused by manual operation is reduced.
The scheme of the embodiment of the application standardizes the management and deployment flow of the service installation package, supports the operations of incremental deployment, redeployment, unloading and the like of the monitoring service, provides a one-key automatic monitoring service deployment and unloading use mode, provides a graphical front end, provides a multi-cluster and cross-platform monitoring service automatic deployment function, improves the operation and maintenance efficiency, provides a distributed deployment architecture and eliminates single-point fault risks.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application. As shown in fig. 4, electronic device 400 includes one or more processors 401 and memory 402.
The processor 401 may be a Central Processing Unit (CPU) or other form of processing unit having data processing capabilities and/or instruction execution capabilities and may control other components in the electronic device 400 to perform desired functions.
Memory 402 may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, random Access Memory (RAM) and/or cache memory (cache), and the like. The non-volatile memory may include, for example, read Only Memory (ROM), hard disk, flash memory, and the like. One or more computer program instructions may be stored on the computer readable storage medium that may be executed by the processor 401 to implement the processing methods and/or other desired functions of the services of any of the embodiments of the present application described above. Various content such as initial arguments, thresholds, etc. may also be stored in the computer readable storage medium.
In one example, the electronic device 400 may further include: an input device 403 and an output device 404, which are interconnected by a bus system and/or other forms of connection mechanisms (not shown). The input device 403 may include, for example, a keyboard, a mouse, and the like. The output device 404 may output various information to the outside, including early warning prompt information, braking force, etc. The output device 404 may include, for example, a display, speakers, a printer, and a communication network and remote output devices connected thereto, etc.
Of course, only some of the components of the electronic device 400 that are relevant to the present application are shown in fig. 4 for simplicity, components such as buses, input/output interfaces, etc. are omitted. In addition, electronic device 400 may include any other suitable components depending on the particular application.
In addition to the methods and apparatus described above, embodiments of the application may also be a computer program product comprising computer program instructions which, when executed by a processor, cause the processor to perform the steps of the method of processing services provided by any of the embodiments of the application.
The computer program product may write program code for performing operations of embodiments of the present application in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server.
Furthermore, embodiments of the present application may also be a computer-readable storage medium, on which computer program instructions are stored, which, when being executed by a processor, cause the processor to perform the steps of the method of processing services provided by any of the embodiments of the present application.
The computer readable storage medium may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may include, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to limit the scope of the present application. As used in this specification, the terms "a," "an," "the," and/or "the" are not intended to be limiting, but rather are to be construed as covering the singular and the plural, unless the context clearly dictates otherwise. The terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, 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, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method or apparatus comprising such elements.
It should also be noted that the positional or positional relationship indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. are based on the positional or positional relationship shown in the drawings, are merely for convenience of describing the present application and simplifying the description, and do not indicate or imply that the apparatus or element in question must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as limiting the present application. Unless specifically stated or limited otherwise, the terms "mounted," "connected," and the like are to be construed broadly and may be, for example, fixedly connected, detachably connected, or integrally connected; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present application will be understood in specific cases by those of ordinary skill in the art.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the essence of the corresponding technical solutions from the technical solutions of the embodiments of the present application.

Claims (10)

1. A method for processing a service, comprising:
receiving first device information;
obtaining target equipment information and processing instructions based on the first equipment information according to user instructions;
acquiring associated information according to the processing instruction and the target equipment information, wherein the associated information at least comprises cluster information of the target equipment attribution included in the target equipment information;
sending the processing instruction to a target cluster matched with the cluster information according to the association information;
and unloading the service on the target equipment or performing service deployment operation on the target equipment according to the association information and the processing instruction through the service installed on the target cluster.
2. The method of claim 1, wherein the receiving the first device information comprises:
and receiving the first device information in response to a device selection operation triggered by a user based on the visual graphical operation interface.
3. The method of claim 2, wherein the receiving the first device information in response to a device selection operation triggered by a user based on a visual graphical operation interface comprises:
the first device information is received in response to a user moving a device in the device list of the undeployed target service to a device list of the deployed target service, or in response to a user moving a device in the device list of the deployed target service to a device list of the undeployed target service.
4. The method of claim 1, wherein the obtaining target device information based on the first device information and processing instructions according to user instructions comprises:
if the user instruction is a full processing instruction, determining the first device information as the target device information, and determining the processing instruction as a deployment instruction;
if the user instruction is an increment processing instruction, determining a first device and a target service included in the first device information, comparing the first device with a second device deployed with the target service, if the number of the first devices is larger than that of the second devices, determining the processing instruction as a deployment instruction, and determining identification information of a device different from the second device in the first device as the target device information; and if the number of the first devices is smaller than the number of the second devices, determining that the processing instruction is an unloading instruction, and determining the identification information of the devices which are different from the first devices in the second devices as the target device information.
5. The method of claim 1, wherein the obtaining association information according to the processing instructions and the target device information comprises:
if the processing instruction is a deployment instruction, the associated information further comprises an installation package of a target service, cluster information of the target device is acquired from a cluster device management module according to the target device information, and the installation package of the target service is acquired from a service management module;
and if the processing instruction is an unloading instruction, acquiring cluster information to which the target equipment belongs from a cluster equipment management module according to the target equipment information.
6. The method of claim 1, wherein the offloading of the service on the target device or the service deployment operation on the target device by the service installed on the target cluster according to the association information and the processing instructions further comprises:
counting a first equipment list of an installation package of a deployed target service and a second equipment list of an installation package of the undeployed target service, and displaying the first equipment list and the second equipment list respectively;
the first equipment list comprises information of equipment of an installation package of the target service and running state information of the target service on corresponding equipment.
7. The method as recited in claim 6, further comprising:
controlling the target service deployed on the corresponding device to restart in response to a restart operation triggered by a user based on the first device list;
and in response to the device updating operation triggered by the user based on the visual graphical operation interface corresponding to the cluster device management module, updating the association information of the device and redeploying the service deployed on the device before updating to the device after updating.
8. A system for processing a service, comprising:
the system comprises a cluster equipment management module, a service management module, a deployment management module, a data buffer module, a scheduling module and an execution module;
the cluster equipment management module is used for storing the associated information of equipment, wherein the associated information at least comprises the identification information of the corresponding equipment and the attributive cluster information;
the service management module is used for managing the installation packages of all the services uploaded by the user;
the deployment management module is used for receiving first equipment information, obtaining target equipment information and a processing instruction based on the first equipment information according to a user instruction, and obtaining matched associated information according to the processing instruction and the target equipment information, wherein the matched associated information at least comprises cluster information of the target equipment included in the target equipment information;
the data buffer module is in communication connection with the deployment management module and is used for sending the matched association information and the processing instruction to the scheduling module;
the scheduling module is used for sending the processing instruction to the matched target cluster according to the matched association information;
the execution module is arranged in the target cluster and is used for processing the service on the target equipment according to the matched association information and the processing instruction through the service installed in the target cluster.
9. The system of claim 8, further comprising: and the visual graphic module is used for providing a visual graphic interface for a user so that the user can select equipment from the cluster equipment management module based on the visual graphic operation interface corresponding to the cluster equipment management module and select an installation package of the service from the service management module based on the visual graphic operation interface corresponding to the service management module.
10. The system of claim 9, wherein the visual graphical interface comprises a first presentation area of a first list of devices of an installation package in which the target service has been deployed and a second presentation area of a second list of devices in which the installation package of the target service has not been deployed;
when a user moves part of equipment in a second equipment list in a second display area to a first equipment list in the first display area, or moves part of equipment in the first equipment list in the first display area to the second equipment list in the second display area, the association information of the part of equipment and a corresponding processing instruction are sent to the deployment management module.
CN202311423991.XA 2023-10-31 2023-10-31 Service processing method and processing system Active CN117155992B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311423991.XA CN117155992B (en) 2023-10-31 2023-10-31 Service processing method and processing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311423991.XA CN117155992B (en) 2023-10-31 2023-10-31 Service processing method and processing system

Publications (2)

Publication Number Publication Date
CN117155992A true CN117155992A (en) 2023-12-01
CN117155992B CN117155992B (en) 2024-01-09

Family

ID=88901160

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311423991.XA Active CN117155992B (en) 2023-10-31 2023-10-31 Service processing method and processing system

Country Status (1)

Country Link
CN (1) CN117155992B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110519365A (en) * 2019-08-26 2019-11-29 网宿科技股份有限公司 A kind of method and business change system changing appliance services
CN111176697A (en) * 2020-01-02 2020-05-19 广州虎牙科技有限公司 Service instance deployment method, data processing method and cluster federation
US20200192651A1 (en) * 2018-12-13 2020-06-18 Salesforce.Com, Inc. Deployment of software applications on server clusters
CN115174551A (en) * 2022-05-31 2022-10-11 青岛海尔科技有限公司 Program deployment method and device, storage medium and electronic device
CN115495195A (en) * 2022-09-21 2022-12-20 中国建设银行股份有限公司 Data processing method and device and related equipment
US20230094948A1 (en) * 2021-10-27 2023-03-30 Apollo Intelligent Connectivity (Beijing) Technology Co., Ltd. Method of processing service data, electronic device and storage medium
CN116225703A (en) * 2023-02-16 2023-06-06 中移动信息技术有限公司 Cluster processing method, device, equipment and computer readable storage medium
WO2023185166A1 (en) * 2022-03-30 2023-10-05 Oppo广东移动通信有限公司 Service call method and apparatus, device and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200192651A1 (en) * 2018-12-13 2020-06-18 Salesforce.Com, Inc. Deployment of software applications on server clusters
CN110519365A (en) * 2019-08-26 2019-11-29 网宿科技股份有限公司 A kind of method and business change system changing appliance services
WO2021036229A1 (en) * 2019-08-26 2021-03-04 网宿科技股份有限公司 Method for changing service on device and service changing system
CN111176697A (en) * 2020-01-02 2020-05-19 广州虎牙科技有限公司 Service instance deployment method, data processing method and cluster federation
US20230094948A1 (en) * 2021-10-27 2023-03-30 Apollo Intelligent Connectivity (Beijing) Technology Co., Ltd. Method of processing service data, electronic device and storage medium
WO2023185166A1 (en) * 2022-03-30 2023-10-05 Oppo广东移动通信有限公司 Service call method and apparatus, device and storage medium
CN115174551A (en) * 2022-05-31 2022-10-11 青岛海尔科技有限公司 Program deployment method and device, storage medium and electronic device
CN115495195A (en) * 2022-09-21 2022-12-20 中国建设银行股份有限公司 Data processing method and device and related equipment
CN116225703A (en) * 2023-02-16 2023-06-06 中移动信息技术有限公司 Cluster processing method, device, equipment and computer readable storage medium

Also Published As

Publication number Publication date
CN117155992B (en) 2024-01-09

Similar Documents

Publication Publication Date Title
JP6491299B2 (en) Automatic provisioning of server device firmware and custom settings
US9594640B1 (en) Backup/recovery system and method for a computing environment
US10331458B2 (en) Techniques for computer system recovery
EP0471635B1 (en) Automated enrolment of a computer system into a service network of computer systems
EP2251790A1 (en) Server device, method of detecting failure of server device, and program of detecting failure of server device
US20150195179A1 (en) Method and system for customizing toolbar buttons based on usage
US8935373B2 (en) Management system and computer system management method
CN112817656B (en) Applet running method and device
SG173590A1 (en) Method and apparatus for playing online video on multi-page browser
CN108920103B (en) Server management method and device, computer equipment and storage medium
US8806360B2 (en) Computing resource management in information technology systems
CN111885145A (en) Switching method, device, equipment and computer storage medium
CN117155992B (en) Service processing method and processing system
CN113176996A (en) Fault processing method, engine, plug-in probe, device and readable storage medium
US10096138B2 (en) Control map providing method and apparatus
US8326882B1 (en) Environment management interface for management of a heterogeneous storage environment
CN112379963B (en) Remote application window control method and device and computer equipment
CN112394675B (en) Monitoring system, method and server for rail transit
CN113608982A (en) Function execution performance monitoring method and device, computer equipment and storage medium
KR102137891B1 (en) Server managing Method, Server, and Recording medium using User Specialized Operating Mechanism on BMC environment
US20210112118A1 (en) Cluster formation offload using remote access controller group manager
KR101022186B1 (en) Intergration system for Monitoring and controlling and Method thereof
CN113330380A (en) Method, device and system for managing alarms
CN106254104B (en) Method and device for acquiring installation state
EP3055759A1 (en) Remote support of a device

Legal Events

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